--- sql/pgsql/parser3pgsql.C 2002/12/09 12:36:19 1.9 +++ sql/pgsql/parser3pgsql.C 2003/01/21 15:51:30 1.12 @@ -1,13 +1,13 @@ /** @file Parser PgSQL driver. - Copyright(c) 2001, 2002 ArtLebedev Group (http://www.artlebedev.com) + Copyright(c) 2001, 2003 ArtLebedev Group (http://www.artlebedev.com) Author: Alexandr Petrosian (http://paf.design.ru) 2001.07.30 using PgSQL 7.1.2 */ -static const char *RCSId="$Id: parser3pgsql.C,v 1.9 2002/12/09 12:36:19 paf Exp $"; +static const char *RCSId="$Id: parser3pgsql.C,v 1.12 2003/01/21 15:51:30 paf Exp $"; #include "config_includes.h" @@ -186,7 +186,7 @@ public: *to++='\''; result++; break; case '\\': // "\" -> "\\" - *to++='\''; result++; + *to++='\\'; result++; break; } *to++=*from++; @@ -448,6 +448,8 @@ private: // conn client library funcs private: // conn client library funcs linking const char *dlink(const char *dlopen_file_spec) { + if(lt_dlinit()) + return lt_dlerror(); lt_dlhandle handle=lt_dlopen(dlopen_file_spec); if(!handle) return "can not open the dynamic link module";