diff options
author | Michael Meskes <meskes@postgresql.org> | 2003-08-25 13:44:00 +0000 |
---|---|---|
committer | Michael Meskes <meskes@postgresql.org> | 2003-08-25 13:44:00 +0000 |
commit | 4b02f3c4eb447f02eb02d6549403a86b96c9b237 (patch) | |
tree | 4361a3d9e282441a1e8befb2489988a46fac5e9d /src/interfaces/ecpg/ecpglib/error.c | |
parent | 048cb1ce6b9465842bd526a056d86d3c4b92f327 (diff) | |
download | postgresql-4b02f3c4eb447f02eb02d6549403a86b96c9b237.tar.gz |
Synced parser and fixed a bug in error output to log file.
Diffstat (limited to 'src/interfaces/ecpg/ecpglib/error.c')
-rw-r--r-- | src/interfaces/ecpg/ecpglib/error.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/interfaces/ecpg/ecpglib/error.c b/src/interfaces/ecpg/ecpglib/error.c index 48b879d546..2f900a9e04 100644 --- a/src/interfaces/ecpg/ecpglib/error.c +++ b/src/interfaces/ecpg/ecpglib/error.c @@ -1,4 +1,4 @@ -/* $Header: /cvsroot/pgsql/src/interfaces/ecpg/ecpglib/error.c,v 1.8 2003/08/24 18:36:38 petere Exp $ */ +/* $Header: /cvsroot/pgsql/src/interfaces/ecpg/ecpglib/error.c,v 1.9 2003/08/25 13:43:58 meskes Exp $ */ #define POSTGRES_ECPG_INTERNAL #include "postgres_fe.h" @@ -192,7 +192,7 @@ ECPGraise_backend(int line, PGresult *result, PGconn *conn, int compat) sqlca->sqlcode = ECPG_PGSQL; ECPGlog("raising sqlstate %.*s in line %d, '%s'.\n", - sqlca->sqlstate, sizeof(sqlca->sqlstate), line, sqlca->sqlerrm.sqlerrmc); + sizeof(sqlca->sqlstate), sqlca->sqlstate, line, sqlca->sqlerrm.sqlerrmc); /* free all memory we have allocated for the user */ ECPGfree_auto_mem(); |