diff options
author | Michael Meskes <meskes@postgresql.org> | 2002-07-20 08:24:18 +0000 |
---|---|---|
committer | Michael Meskes <meskes@postgresql.org> | 2002-07-20 08:24:18 +0000 |
commit | a58930bbd52c66f0de2194b40aef1a99ac9c95e2 (patch) | |
tree | a8675c396cc299900ce2288257d667faf4aabce5 /src/interfaces/ecpg/lib/execute.c | |
parent | d4803f551300ac67032dd0c5da8f2d4b77e05e69 (diff) | |
download | postgresql-a58930bbd52c66f0de2194b40aef1a99ac9c95e2.tar.gz postgresql-a58930bbd52c66f0de2194b40aef1a99ac9c95e2.zip |
Synced parser yet again.
Michael
Diffstat (limited to 'src/interfaces/ecpg/lib/execute.c')
-rw-r--r-- | src/interfaces/ecpg/lib/execute.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/interfaces/ecpg/lib/execute.c b/src/interfaces/ecpg/lib/execute.c index 4723d09a8bb..2a95319e2af 100644 --- a/src/interfaces/ecpg/lib/execute.c +++ b/src/interfaces/ecpg/lib/execute.c @@ -1,4 +1,4 @@ -/* $Header: /cvsroot/pgsql/src/interfaces/ecpg/lib/Attic/execute.c,v 1.37 2002/06/12 12:06:53 meskes Exp $ */ +/* $Header: /cvsroot/pgsql/src/interfaces/ecpg/lib/Attic/execute.c,v 1.38 2002/07/20 08:24:18 meskes Exp $ */ /* * The aim is to get a simpler inteface to the database routines. @@ -56,7 +56,7 @@ struct sqlca sqlca = }; /* This function returns a newly malloced string that has the \ - in the argument quoted with \ and the ' quote with ' as SQL92 says. + in the argument quoted with \ and the ' quoted with ' as SQL92 says. */ static char * @@ -84,13 +84,12 @@ quote_postgres(char *arg, int lineno) default: ; } - res[ri] = arg[i]; } res[ri++] = '\''; res[ri] = '\0'; - + return res; } |