Tag: oo_pqsdbc_01
User: jbu     
Date: 2006/07/17 14:17:46

Modified:
   dba/connectivity/source/drivers/postgresql/pq_statement.cxx

Log:
 #i67106# statement for retrieving autovalues after insert now quotes correctly

File Changes:

Directory: /dba/connectivity/source/drivers/postgresql/
=======================================================

File [changed]: pq_statement.cxx
Url: 
http://dba.openoffice.org/source/browse/dba/connectivity/source/drivers/postgresql/pq_statement.cxx?r1=1.1.2.3&r2=1.1.2.4
Delta lines:  +3 -3
-------------------
--- pq_statement.cxx    22 Jan 2006 15:14:33 -0000      1.1.2.3
+++ pq_statement.cxx    17 Jul 2006 21:17:43 -0000      1.1.2.4
@@ -2,9 +2,9 @@
  *
  *  $RCSfile: pq_statement.cxx,v $
  *
- *  $Revision: 1.1.2.3 $
+ *  $Revision: 1.1.2.4 $
  *
- *  last change: $Author: jbu $ $Date: 2006/01/22 15:14:33 $
+ *  last change: $Author: jbu $ $Date: 2006/07/17 21:17:43 $
  *
  *  The Contents of this file are made available subject to the terms of
  *  either of the following licenses
@@ -870,7 +870,7 @@
                 
                 if( additionalCondition )
                     buf.appendAscii( RTL_CONSTASCII_STRINGPARAM( " AND " ) );
-                buf.append( keyColumnNames[i] );
+                bufferQuoteIdentifier( buf, keyColumnNames[i] );
                 buf.appendAscii( RTL_CONSTASCII_STRINGPARAM( " = " ) );
                 buf.append( value );
                 additionalCondition = true;




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to