aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/ecpg/lib/execute.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/interfaces/ecpg/lib/execute.c')
-rw-r--r--src/interfaces/ecpg/lib/execute.c7
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;
}