User: rt Date: 2008-06-06 13:23:36+0000 Modified: dba/connectivity/source/drivers/mysql/YTables.cxx
Log: INTEGRATION: CWS dba30c (1.12.10); FILE MERGED 2008/05/08 12:55:51 oj 1.12.10.2: #i64472# use of create pattern 2008/05/06 11:43:10 oj 1.12.10.1: #i64472# change command can also change the name of a column File Changes: Directory: /dba/connectivity/source/drivers/mysql/ ================================================== File [changed]: YTables.cxx Url: http://dba.openoffice.org/source/browse/dba/connectivity/source/drivers/mysql/YTables.cxx?r1=1.12&r2=1.13 Delta lines: +3 -2 ------------------- --- YTables.cxx 2008-04-10 10:23:47+0000 1.12 +++ YTables.cxx 2008-06-06 13:23:34+0000 1.13 @@ -189,8 +189,9 @@ // ------------------------------------------------------------------------- void OTables::createTable( const Reference< XPropertySet >& descriptor ) { - Reference< XConnection > xConnection = static_cast<OMySQLCatalog&>(m_rParent).getConnection(); - ::rtl::OUString aSql = ::dbtools::createSqlCreateTableStatement(descriptor,xConnection); + const Reference< XConnection > xConnection = static_cast<OMySQLCatalog&>(m_rParent).getConnection(); + static const ::rtl::OUString s_sCreatePattern(RTL_CONSTASCII_USTRINGPARAM("(M,D)")); + const ::rtl::OUString aSql = ::dbtools::createSqlCreateTableStatement(descriptor,xConnection,s_sCreatePattern); Reference< XStatement > xStmt = xConnection->createStatement( ); if ( xStmt.is() ) --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
