Tag: cws_src680_dba20blocker User: fs Date: 05/06/23 05:28:49 Modified: /dba/connectivity/source/drivers/hsqldb/ HColumns.cxx, HTable.cxx
Log: copying fix for #i48480# into this CWS File Changes: Directory: /dba/connectivity/source/drivers/hsqldb/ =================================================== File [changed]: HColumns.cxx Url: http://dba.openoffice.org/source/browse/dba/connectivity/source/drivers/hsqldb/HColumns.cxx?r1=1.2&r2=1.2.34.1 Delta lines: +3 -3 ------------------- --- HColumns.cxx 6 Apr 2005 10:34:58 -0000 1.2 +++ HColumns.cxx 23 Jun 2005 12:28:46 -0000 1.2.34.1 @@ -2,9 +2,9 @@ * * $RCSfile: HColumns.cxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.2.34.1 $ * - * last change: $Author: hr $ $Date: 2005/04/06 10:34:58 $ + * last change: $Author: fs $ $Date: 2005/06/23 12:28:46 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -99,7 +99,7 @@ // ------------------------------------------------------------------------- void OHSQLColumn::construct() { - m_sAutoIncrement = ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("auto_increment")); + m_sAutoIncrement = ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("IDENTITY")); registerProperty(OMetaConnection::getPropMap().getNameByIndex(PROPERTY_ID_AUTOINCREMENTCREATION),PROPERTY_ID_AUTOINCREMENTCREATION,0,&m_sAutoIncrement, ::getCppuType(&m_sAutoIncrement)); } // ----------------------------------------------------------------------------- File [changed]: HTable.cxx Url: http://dba.openoffice.org/source/browse/dba/connectivity/source/drivers/hsqldb/HTable.cxx?r1=1.2&r2=1.2.34.1 Delta lines: +3 -3 ------------------- --- HTable.cxx 6 Apr 2005 10:35:40 -0000 1.2 +++ HTable.cxx 23 Jun 2005 12:28:47 -0000 1.2.34.1 @@ -2,9 +2,9 @@ * * $RCSfile: HTable.cxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.2.34.1 $ * - * last change: $Author: hr $ $Date: 2005/04/06 10:35:40 $ + * last change: $Author: fs $ $Date: 2005/06/23 12:28:47 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -348,7 +348,7 @@ sSql += ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(" ALTER COLUMN ")); const ::rtl::OUString sQuote = getMetaData()->getIdentifierQuoteString( ); - OColumn* pColumn = new OColumn(sal_True); + OHSQLColumn* pColumn = new OHSQLColumn(sal_True); Reference<XPropertySet> xProp = pColumn; ::comphelper::copyProperties(_xDescriptor,xProp); xProp->setPropertyValue(OMetaConnection::getPropMap().getNameByIndex(PROPERTY_ID_TYPE),makeAny(nNewType)); --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
