]> granicus.if.org Git - postgresql/commitdiff
From: Michael Meskes <meskes@topsystem.de>
authorMarc G. Fournier <scrappy@hub.org>
Fri, 20 Feb 1998 13:02:14 +0000 (13:02 +0000)
committerMarc G. Fournier <scrappy@hub.org>
Fri, 20 Feb 1998 13:02:14 +0000 (13:02 +0000)
Subject: [PATCHES] one small fix for ecpg

src/interfaces/ecpg/test/test2.pgc

index 9c25e63f948ebc01e1a2155083aec2b6e52fcf74..a6f90979438715cce4a9c599b322efe1ccaaaa76 100644 (file)
@@ -5,7 +5,7 @@ exec sql include sqlca;
 extern void ECPGdebug(int n, FILE *dbgs);
 
 exec sql whenever not found sqlprint;
-exec sql whenever sqlerror db_error(msg);
+exec sql whenever sqlerror do db_error(msg);
 
 void
 db_error (char *msg)