mirror of
https://github.com/postgres/postgres.git
synced 2025-06-26 12:21:12 +03:00
From: Michael Meskes <meskes@topsystem.de>
Here's my next patch. this one should fix some more bugs. ecpg now fully understands the whenever statement.
This commit is contained in:
@ -232,7 +232,7 @@ ECPGdo(int lineno, char *query,...)
|
||||
return false;
|
||||
}
|
||||
|
||||
/* Now then request is built. */
|
||||
/* Now the request is built. */
|
||||
|
||||
if (committed)
|
||||
{
|
||||
@ -646,3 +646,10 @@ ECPGlog(const char *format,...)
|
||||
free(f);
|
||||
}
|
||||
}
|
||||
|
||||
/* print out an error message */
|
||||
void sqlprint(void)
|
||||
{
|
||||
sqlca.sqlerrm.sqlerrmc[sqlca.sqlerrm.sqlerrml] = '\0';
|
||||
printf ("sql error %s\n", sqlca.sqlerrm.sqlerrmc);
|
||||
}
|
||||
|
Reference in New Issue
Block a user