Diff for /sql/pgsql/parser3pgsql.C between versions 1.12.6.2 and 1.14

version 1.12.6.2, 2003/07/23 13:21:12 version 1.14, 2003/09/26 15:37:21
Line 183  public: Line 183  public:
                 while(length--) {                  while(length--) {
                         switch(*from) {                          switch(*from) {
                         case '\'': // "'" -> "''"                          case '\'': // "'" -> "''"
                                 *to++='\''; result++;                                  *to++='\'';
                                 break;                                  break;
                         case '\\': // "\" -> "\\"                          case '\\': // "\" -> "\\"
                                 *to++='\\'; result++;                                  *to++='\\';
                                 break;                                  break;
                         }                          }
                         *to++=*from++;                          *to++=*from++;
Line 276  public: Line 276  public:
                                                                 str=(char*)services.malloc(size+1);                                                                  str=(char*)services.malloc(size+1);
                                                                 if(!lo_read_ex(conn, fd, str, size_tell))                                                                  if(!lo_read_ex(conn, fd, str, size_tell))
                                                                         PQclear_throw("lo_read can not read all bytes of object");                                                                          PQclear_throw("lo_read can not read all bytes of object");
                                                                   str[size]=0;
                                                         } else                                                          } else
                                                                 str=0;                                                                  str=0;
                                                         if(lo_close(conn, fd)<0)                                                          if(lo_close(conn, fd)<0)

Removed from v.1.12.6.2  
changed lines
  Added in v.1.14


E-mail: