--- sql/pgsql/parser3pgsql.C 2003/03/26 14:09:06 1.12.6.1 +++ sql/pgsql/parser3pgsql.C 2003/09/26 15:37:21 1.14 @@ -7,7 +7,7 @@ 2001.07.30 using PgSQL 7.1.2 */ -static const char *RCSId="$Id: parser3pgsql.C,v 1.12.6.1 2003/03/26 14:09:06 paf Exp $"; +static const char *RCSId="$Id: parser3pgsql.C,v 1.14 2003/09/26 15:37:21 paf Exp $"; #include "config_includes.h" @@ -183,10 +183,10 @@ public: while(length--) { switch(*from) { case '\'': // "'" -> "''" - *to++='\''; result++; + *to++='\''; break; case '\\': // "\" -> "\\" - *to++='\\'; result++; + *to++='\\'; break; } *to++=*from++; @@ -239,9 +239,9 @@ public: for(int i=0; i