diff options
author | Vinicius Vendramini <vinivendra@gmail.com> | 2014-10-23 10:37:55 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2014-10-23 10:39:22 +0100 |
commit | 5c8ea6d943ef37d73069288f9ef7dbd374721a71 (patch) | |
tree | 4e436c2023348c668cb19329baf4ddc5cac66e3c /mysqlc | |
parent | ff6e489ed2af1096356772e105978b17993058c9 (diff) |
fdo#83991 - cleanup whitespace after folding comment removal.
Change-Id: I31149484d626013ddcd52356be7d416b435cebcc
Diffstat (limited to 'mysqlc')
-rw-r--r-- | mysqlc/source/mysqlc_connection.cxx | 27 | ||||
-rw-r--r-- | mysqlc/source/mysqlc_databasemetadata.cxx | 158 | ||||
-rw-r--r-- | mysqlc/source/mysqlc_driver.cxx | 1 | ||||
-rw-r--r-- | mysqlc/source/mysqlc_general.cxx | 4 | ||||
-rw-r--r-- | mysqlc/source/mysqlc_preparedstatement.cxx | 37 | ||||
-rw-r--r-- | mysqlc/source/mysqlc_propertyids.cxx | 2 | ||||
-rw-r--r-- | mysqlc/source/mysqlc_resultsetmetadata.cxx | 21 | ||||
-rw-r--r-- | mysqlc/source/mysqlc_services.cxx | 1 | ||||
-rw-r--r-- | mysqlc/source/mysqlc_statement.cxx | 22 |
9 files changed, 0 insertions, 273 deletions
diff --git a/mysqlc/source/mysqlc_connection.cxx b/mysqlc/source/mysqlc_connection.cxx index a60e3f258b5b..081b3549efcc 100644 --- a/mysqlc/source/mysqlc_connection.cxx +++ b/mysqlc/source/mysqlc_connection.cxx @@ -74,7 +74,6 @@ OConnection::OConnection(MysqlCDriver& _rDriver, sql::Driver * _cppDriver) m_rDriver.acquire(); } - OConnection::~OConnection() { OSL_TRACE("OConnection::~OConnection"); @@ -84,7 +83,6 @@ OConnection::~OConnection() m_rDriver.release(); } - void SAL_CALL OConnection::release() throw() { @@ -252,7 +250,6 @@ Reference< XStatement > SAL_CALL OConnection::createStatement() return xReturn; } - Reference< XPreparedStatement > SAL_CALL OConnection::prepareStatement(const OUString& _sSql) throw(SQLException, RuntimeException, std::exception) { @@ -274,7 +271,6 @@ Reference< XPreparedStatement > SAL_CALL OConnection::prepareStatement(const OUS return xStatement; } - Reference< XPreparedStatement > SAL_CALL OConnection::prepareCall(const OUString& /*_sSql*/ ) throw(SQLException, RuntimeException, std::exception) { @@ -286,7 +282,6 @@ Reference< XPreparedStatement > SAL_CALL OConnection::prepareCall(const OUString return Reference< XPreparedStatement >(); } - OUString SAL_CALL OConnection::nativeSQL(const OUString& _sSql) throw(SQLException, RuntimeException, std::exception) { @@ -304,7 +299,6 @@ OUString SAL_CALL OConnection::nativeSQL(const OUString& _sSql) return sNativeSQL; } - void SAL_CALL OConnection::setAutoCommit(sal_Bool autoCommit) throw(SQLException, RuntimeException, std::exception) { @@ -318,7 +312,6 @@ void SAL_CALL OConnection::setAutoCommit(sal_Bool autoCommit) } } - sal_Bool SAL_CALL OConnection::getAutoCommit() throw(SQLException, RuntimeException, std::exception) { @@ -338,7 +331,6 @@ sal_Bool SAL_CALL OConnection::getAutoCommit() return autoCommit; } - void SAL_CALL OConnection::commit() throw(SQLException, RuntimeException, std::exception) { @@ -352,7 +344,6 @@ void SAL_CALL OConnection::commit() } } - void SAL_CALL OConnection::rollback() throw(SQLException, RuntimeException, std::exception) { @@ -366,7 +357,6 @@ void SAL_CALL OConnection::rollback() } } - sal_Bool SAL_CALL OConnection::isClosed() throw(SQLException, RuntimeException, std::exception) { @@ -377,7 +367,6 @@ sal_Bool SAL_CALL OConnection::isClosed() return (OConnection_BASE::rBHelper.bDisposed); } - Reference< XDatabaseMetaData > SAL_CALL OConnection::getMetaData() throw(SQLException, RuntimeException, std::exception) { @@ -398,7 +387,6 @@ Reference< XDatabaseMetaData > SAL_CALL OConnection::getMetaData() return xMetaData; } - void SAL_CALL OConnection::setReadOnly(sal_Bool readOnly) throw(SQLException, RuntimeException, std::exception) { @@ -409,7 +397,6 @@ void SAL_CALL OConnection::setReadOnly(sal_Bool readOnly) m_settings.readOnly = readOnly; } - sal_Bool SAL_CALL OConnection::isReadOnly() throw(SQLException, RuntimeException, std::exception) { @@ -421,7 +408,6 @@ sal_Bool SAL_CALL OConnection::isReadOnly() return (m_settings.readOnly); } - void SAL_CALL OConnection::setCatalog(const OUString& catalog) throw(SQLException, RuntimeException, std::exception) { @@ -437,7 +423,6 @@ void SAL_CALL OConnection::setCatalog(const OUString& catalog) } } - OUString SAL_CALL OConnection::getCatalog() throw(SQLException, RuntimeException, std::exception) { @@ -454,7 +439,6 @@ OUString SAL_CALL OConnection::getCatalog() return catalog; } - void SAL_CALL OConnection::setTransactionIsolation(sal_Int32 level) throw(SQLException, RuntimeException, std::exception) { @@ -490,7 +474,6 @@ void SAL_CALL OConnection::setTransactionIsolation(sal_Int32 level) } } - sal_Int32 SAL_CALL OConnection::getTransactionIsolation() throw(SQLException, RuntimeException, std::exception) { @@ -513,7 +496,6 @@ sal_Int32 SAL_CALL OConnection::getTransactionIsolation() return TransactionIsolation::NONE; } - Reference<XNameAccess> SAL_CALL OConnection::getTypeMap() throw(SQLException, RuntimeException, std::exception) { @@ -528,7 +510,6 @@ Reference<XNameAccess> SAL_CALL OConnection::getTypeMap() return (t); } - void SAL_CALL OConnection::setTypeMap(const Reference<XNameAccess >& typeMap) throw(SQLException, RuntimeException, std::exception) { @@ -539,7 +520,6 @@ void SAL_CALL OConnection::setTypeMap(const Reference<XNameAccess >& typeMap) m_typeMap = typeMap; } - // XCloseable void SAL_CALL OConnection::close() throw(SQLException, RuntimeException, std::exception) @@ -557,7 +537,6 @@ void SAL_CALL OConnection::close() dispose(); } - // XWarningsSupplier Any SAL_CALL OConnection::getWarnings() throw(SQLException, RuntimeException, std::exception) @@ -568,7 +547,6 @@ Any SAL_CALL OConnection::getWarnings() return x; } - void SAL_CALL OConnection::clearWarnings() throw(SQLException, RuntimeException, std::exception) { @@ -576,14 +554,12 @@ void SAL_CALL OConnection::clearWarnings() // you should clear your collected warnings here# } - void OConnection::buildTypeInfo() throw(SQLException) { OSL_TRACE("OConnection::buildTypeInfo"); } - void OConnection::disposing() { OSL_TRACE("OConnection::disposing"); @@ -605,7 +581,6 @@ void OConnection::disposing() OConnection_BASE::disposing(); } - /* ToDo - upcast the connection to MySQL_Connection and use ::getSessionVariable() */ OUString OConnection::getMysqlVariable(const char *varname) @@ -635,7 +610,6 @@ OUString OConnection::getMysqlVariable(const char *varname) return ret; } - sal_Int32 OConnection::getMysqlVersion() throw(SQLException, RuntimeException) { @@ -654,7 +628,6 @@ sal_Int32 OConnection::getMysqlVersion() return version; } - // TODO: Not used //sal_Int32 OConnection::sdbcColumnType(OUString typeName) //{ diff --git a/mysqlc/source/mysqlc_databasemetadata.cxx b/mysqlc/source/mysqlc_databasemetadata.cxx index 408dedaae5f6..ffb5f641c5bf 100644 --- a/mysqlc/source/mysqlc_databasemetadata.cxx +++ b/mysqlc/source/mysqlc_databasemetadata.cxx @@ -77,7 +77,6 @@ void lcl_setRows_throw(const Reference< XResultSet >& _xResultSet,sal_Int32 _nTy xIni->initialize(aArgs); } - ODatabaseMetaData::ODatabaseMetaData(OConnection& _rCon) :m_rConnection(_rCon) ,m_bUseCatalog(true) @@ -93,13 +92,11 @@ ODatabaseMetaData::ODatabaseMetaData(OConnection& _rCon) } } - ODatabaseMetaData::~ODatabaseMetaData() { OSL_TRACE("ODatabaseMetaData::~ODatabaseMetaData"); } - OUString ODatabaseMetaData::impl_getStringMetaData(const sal_Char* _methodName, const std::string& (sql::DatabaseMetaData::*_Method)() ) { OSL_TRACE( "mysqlc::ODatabaseMetaData::%s", _methodName); @@ -116,7 +113,6 @@ OUString ODatabaseMetaData::impl_getStringMetaData(const sal_Char* _methodName, return stringMetaData; } - OUString ODatabaseMetaData::impl_getStringMetaData(const sal_Char* _methodName, std::string (sql::DatabaseMetaData::*_Method)() ) { OSL_TRACE( "mysqlc::ODatabaseMetaData::%s", _methodName); @@ -133,7 +129,6 @@ OUString ODatabaseMetaData::impl_getStringMetaData(const sal_Char* _methodName, return stringMetaData; } - OUString ODatabaseMetaData::impl_getStringMetaData(const sal_Char* _methodName, const sql::SQLString& (sql::DatabaseMetaData::*_Method)() ) { OSL_TRACE( "mysqlc::ODatabaseMetaData::%s", _methodName); @@ -150,7 +145,6 @@ OUString ODatabaseMetaData::impl_getStringMetaData(const sal_Char* _methodName, return stringMetaData; } - OUString ODatabaseMetaData::impl_getStringMetaData(const sal_Char* _methodName, sql::SQLString (sql::DatabaseMetaData::*_Method)() ) { OSL_TRACE( "mysqlc::ODatabaseMetaData::%s", _methodName); @@ -167,7 +161,6 @@ OUString ODatabaseMetaData::impl_getStringMetaData(const sal_Char* _methodName, return stringMetaData; } - sal_Int32 ODatabaseMetaData::impl_getInt32MetaData(const sal_Char* _methodName, unsigned int (sql::DatabaseMetaData::*_Method)() ) { OSL_TRACE( "mysqlc::ODatabaseMetaData::%s", _methodName); @@ -184,7 +177,6 @@ sal_Int32 ODatabaseMetaData::impl_getInt32MetaData(const sal_Char* _methodName, return int32MetaData; } - bool ODatabaseMetaData::impl_getBoolMetaData(const sal_Char* _methodName, bool (sql::DatabaseMetaData::*_Method)() ) { OSL_TRACE( "mysqlc::ODatabaseMetaData::%s", _methodName); @@ -201,7 +193,6 @@ bool ODatabaseMetaData::impl_getBoolMetaData(const sal_Char* _methodName, bool ( return boolMetaData; } - bool ODatabaseMetaData::impl_getBoolMetaData(const sal_Char* _methodName, bool (sql::DatabaseMetaData::*_Method)(int), sal_Int32 _arg ) { OSL_TRACE( "mysqlc::ODatabaseMetaData::%s", _methodName); @@ -218,7 +209,6 @@ bool ODatabaseMetaData::impl_getBoolMetaData(const sal_Char* _methodName, bool ( return boolMetaData; } - bool ODatabaseMetaData::impl_getRSTypeMetaData(const sal_Char* _methodName, bool (sql::DatabaseMetaData::*_Method)(int), sal_Int32 _resultSetType ) { int resultSetType(sql::ResultSet::TYPE_FORWARD_ONLY); @@ -230,84 +220,72 @@ bool ODatabaseMetaData::impl_getRSTypeMetaData(const sal_Char* _methodName, bool return impl_getBoolMetaData(_methodName, _Method, resultSetType); } - OUString SAL_CALL ODatabaseMetaData::getCatalogSeparator() throw(SQLException, RuntimeException, std::exception) { return impl_getStringMetaData("getCatalogSeparator", &sql::DatabaseMetaData::getCatalogSeparator); } - sal_Int32 SAL_CALL ODatabaseMetaData::getMaxBinaryLiteralLength() throw(SQLException, RuntimeException, std::exception) { return impl_getInt32MetaData("getMaxBinaryLiteralLength", &sql::DatabaseMetaData::getMaxBinaryLiteralLength); } - sal_Int32 SAL_CALL ODatabaseMetaData::getMaxRowSize() throw(SQLException, RuntimeException, std::exception) { return impl_getInt32MetaData("getMaxRowSize", &sql::DatabaseMetaData::getMaxRowSize); } - sal_Int32 SAL_CALL ODatabaseMetaData::getMaxCatalogNameLength() throw(SQLException, RuntimeException, std::exception) { return impl_getInt32MetaData("getMaxCatalogNameLength", &sql::DatabaseMetaData::getMaxCatalogNameLength); } - sal_Int32 SAL_CALL ODatabaseMetaData::getMaxCharLiteralLength() throw(SQLException, RuntimeException, std::exception) { return impl_getInt32MetaData("getMaxCharLiteralLength", &sql::DatabaseMetaData::getMaxCharLiteralLength); } - sal_Int32 SAL_CALL ODatabaseMetaData::getMaxColumnNameLength() throw(SQLException, RuntimeException, std::exception) { return impl_getInt32MetaData("getMaxColumnNameLength", &sql::DatabaseMetaData::getMaxColumnNameLength); } - sal_Int32 SAL_CALL ODatabaseMetaData::getMaxColumnsInIndex() throw(SQLException, RuntimeException, std::exception) { return impl_getInt32MetaData("getMaxColumnsInIndex", &sql::DatabaseMetaData::getMaxColumnsInIndex); } - sal_Int32 SAL_CALL ODatabaseMetaData::getMaxCursorNameLength() throw(SQLException, RuntimeException, std::exception) { return impl_getInt32MetaData("getMaxCursorNameLength", &sql::DatabaseMetaData::getMaxCursorNameLength); } - sal_Int32 SAL_CALL ODatabaseMetaData::getMaxConnections() throw(SQLException, RuntimeException, std::exception) { return impl_getInt32MetaData("getMaxConnections", &sql::DatabaseMetaData::getMaxConnections); } - sal_Int32 SAL_CALL ODatabaseMetaData::getMaxColumnsInTable() throw(SQLException, RuntimeException, std::exception) { return impl_getInt32MetaData("getMaxColumnsInTable", &sql::DatabaseMetaData::getMaxColumnsInTable); } - sal_Int32 SAL_CALL ODatabaseMetaData::getMaxStatementLength() throw(SQLException, RuntimeException, std::exception) { return impl_getInt32MetaData("getMaxStatementLength", &sql::DatabaseMetaData::getMaxStatementLength); } - sal_Int32 SAL_CALL ODatabaseMetaData::getMaxTableNameLength() throw(SQLException, RuntimeException, std::exception) { @@ -320,91 +298,78 @@ sal_Int32 SAL_CALL ODatabaseMetaData::getMaxTablesInSelect() return impl_getInt32MetaData("getMaxTablesInSelect", &sql::DatabaseMetaData::getMaxTablesInSelect); } - sal_Bool SAL_CALL ODatabaseMetaData::doesMaxRowSizeIncludeBlobs() throw(SQLException, RuntimeException, std::exception) { return impl_getBoolMetaData("doesMaxRowSizeIncludeBlobs", &sql::DatabaseMetaData::doesMaxRowSizeIncludeBlobs); } - sal_Bool SAL_CALL ODatabaseMetaData::storesLowerCaseQuotedIdentifiers() throw(SQLException, RuntimeException, std::exception) { return impl_getBoolMetaData("storesLowerCaseQuotedIdentifiers", &sql::DatabaseMetaData::storesLowerCaseQuotedIdentifiers); } - sal_Bool SAL_CALL ODatabaseMetaData::storesLowerCaseIdentifiers() throw(SQLException, RuntimeException, std::exception) { return impl_getBoolMetaData("storesLowerCaseIdentifiers", &sql::DatabaseMetaData::storesLowerCaseIdentifiers); } - sal_Bool SAL_CALL ODatabaseMetaData::storesMixedCaseQuotedIdentifiers() throw(SQLException, RuntimeException, std::exception) { return impl_getBoolMetaData("storesMixedCaseQuotedIdentifiers", &sql::DatabaseMetaData::storesMixedCaseQuotedIdentifiers); } - sal_Bool SAL_CALL ODatabaseMetaData::storesMixedCaseIdentifiers() throw(SQLException, RuntimeException, std::exception) { return impl_getBoolMetaData("storesMixedCaseIdentifiers", &sql::DatabaseMetaData::storesMixedCaseIdentifiers); } - sal_Bool SAL_CALL ODatabaseMetaData::storesUpperCaseQuotedIdentifiers() throw(SQLException, RuntimeException, std::exception) { return impl_getBoolMetaData("storesUpperCaseQuotedIdentifiers", &sql::DatabaseMetaData::storesUpperCaseQuotedIdentifiers); } - sal_Bool SAL_CALL ODatabaseMetaData::storesUpperCaseIdentifiers() throw(SQLException, RuntimeException, std::exception) { return impl_getBoolMetaData("storesUpperCaseIdentifiers", &sql::DatabaseMetaData::storesUpperCaseIdentifiers); } - sal_Bool SAL_CALL ODatabaseMetaData::supportsAlterTableWithAddColumn() throw(SQLException, RuntimeException, std::exception) { return impl_getBoolMetaData("supportsAlterTableWithAddColumn", &sql::DatabaseMetaData::supportsAlterTableWithAddColumn); } - sal_Bool SAL_CALL ODatabaseMetaData::supportsAlterTableWithDropColumn() throw(SQLException, RuntimeException, std::exception) { return impl_getBoolMetaData("supportsAlterTableWithDropColumn", &sql::DatabaseMetaData::supportsAlterTableWithDropColumn); } - sal_Int32 SAL_CALL ODatabaseMetaData::getMaxIndexLength() throw(SQLException, RuntimeException, std::exception) { return impl_getInt32MetaData("getMaxIndexLength", &sql::DatabaseMetaData::getMaxIndexLength); } - sal_Bool SAL_CALL ODatabaseMetaData::supportsNonNullableColumns() throw(SQLException, RuntimeException, std::exception) { return impl_getBoolMetaData("supportsNonNullableColumns", &sql::DatabaseMetaData::supportsNonNullableColumns); } - OUString SAL_CALL ODatabaseMetaData::getCatalogTerm() throw(SQLException, RuntimeException, std::exception) { return impl_getStringMetaData("getCatalogTerm", &sql::DatabaseMetaData::getCatalogTerm); } - OUString SAL_CALL ODatabaseMetaData::getIdentifierQuoteString() throw(SQLException, RuntimeException, std::exception) { @@ -415,280 +380,240 @@ OUString SAL_CALL ODatabaseMetaData::getIdentifierQuoteString() return identifier_quote_string; } - OUString SAL_CALL ODatabaseMetaData::getExtraNameCharacters() throw(SQLException, RuntimeException, std::exception) { return impl_getStringMetaData("getExtraNameCharacters", &sql::DatabaseMetaData::getExtraNameCharacters); } - sal_Bool SAL_CALL ODatabaseMetaData::supportsDifferentTableCorrelationNames() throw(SQLException, RuntimeException, std::exception) { return impl_getBoolMetaData("supportsDifferentTableCorrelationNames", &sql::DatabaseMetaData::supportsDifferentTableCorrelationNames); } - sal_Bool SAL_CALL ODatabaseMetaData::isCatalogAtStart() throw(SQLException, RuntimeException, std::exception) { return impl_getBoolMetaData("isCatalogAtStart", &sql::DatabaseMetaData::isCatalogAtStart); } - sal_Bool SAL_CALL ODatabaseMetaData::dataDefinitionIgnoredInTransactions() throw(SQLException, RuntimeException, std::exception) { return impl_getBoolMetaData("dataDefinitionIgnoredInTransactions", &sql::DatabaseMetaData::dataDefinitionIgnoredInTransactions); } - sal_Bool SAL_CALL ODatabaseMetaData::dataDefinitionCausesTransactionCommit() throw(SQLException, RuntimeException, std::exception) { return impl_getBoolMetaData("dataDefinitionCausesTransactionCommit", &sql::DatabaseMetaData::dataDefinitionCausesTransactionCommit); } - sal_Bool SAL_CALL ODatabaseMetaData::supportsDataManipulationTransactionsOnly() throw(SQLException, RuntimeException, std::exception) { return impl_getBoolMetaData("supportsDataManipulationTransactionsOnly", &sql::DatabaseMetaData::supportsDataManipulationTransactionsOnly); } - sal_Bool SAL_CALL ODatabaseMetaData::supportsDataDefinitionAndDataManipulationTransactions() throw(SQLException, RuntimeException, std::exception) { return impl_getBoolMetaData("supportsDataDefinitionAndDataManipulationTransactions", &sql::DatabaseMetaData::supportsDataDefinitionAndDataManipulationTransactions); } - sal_Bool SAL_CALL ODatabaseMetaData::supportsPositionedDelete() throw(SQLException, RuntimeException, std::exception) { return impl_getBoolMetaData("supportsPositionedDelete", &sql::DatabaseMetaData::supportsPositionedDelete); } - sal_Bool SAL_CALL ODatabaseMetaData::supportsPositionedUpdate() throw(SQLException, RuntimeException, std::exception) { return impl_getBoolMetaData("supportsPositionedUpdate", &sql::DatabaseMetaData::supportsPositionedUpdate); } - sal_Bool SAL_CALL ODatabaseMetaData::supportsOpenStatementsAcrossRollback() throw(SQLException, RuntimeException, std::exception) { return impl_getBoolMetaData("supportsOpenStatementsAcrossRollback", &sql::DatabaseMetaData::supportsOpenStatementsAcrossRollback); } - sal_Bool SAL_CALL ODatabaseMetaData::supportsOpenStatementsAcrossCommit() throw(SQLException, RuntimeException, std::exception) { return impl_getBoolMetaData("supportsOpenStatementsAcrossCommit", &sql::DatabaseMetaData::supportsOpenStatementsAcrossCommit); } - sal_Bool SAL_CALL ODatabaseMetaData::supportsOpenCursorsAcrossCommit() throw(SQLException, RuntimeException, std::exception) { return impl_getBoolMetaData("supportsOpenCursorsAcrossCommit", &sql::DatabaseMetaData::supportsOpenCursorsAcrossCommit); } - sal_Bool SAL_CALL ODatabaseMetaData::supportsOpenCursorsAcrossRollback() throw(SQLException, RuntimeException, std::exception) { return impl_getBoolMetaData("supportsOpenCursorsAcrossRollback", &sql::DatabaseMetaData::supportsOpenCursorsAcrossRollback); } - sal_Bool SAL_CALL ODatabaseMetaData::supportsTransactionIsolationLevel(sal_Int32 level) throw(SQLException, RuntimeException, std::exception) { return impl_getBoolMetaData("supportsTransactionIsolationLevel", &sql::DatabaseMetaData::supportsTransactionIsolationLevel, level); } - sal_Bool SAL_CALL ODatabaseMetaData::supportsSchemasInDataManipulation() throw(SQLException, RuntimeException, std::exception) { return impl_getBoolMetaData("supportsSchemasInDataManipulation", &sql::DatabaseMetaData::supportsSchemasInDataManipulation); } - sal_Bool SAL_CALL ODatabaseMetaData::supportsANSI92FullSQL() throw(SQLException, RuntimeException, std::exception) { return impl_getBoolMetaData("supportsANSI92FullSQL", &sql::DatabaseMetaData::supportsANSI92FullSQL); } - sal_Bool SAL_CALL ODatabaseMetaData::supportsANSI92EntryLevelSQL() throw(SQLException, RuntimeException, std::exception) { return impl_getBoolMetaData("supportsANSI92EntryLevelSQL", &sql::DatabaseMetaData::supportsANSI92EntryLevelSQL); } - sal_Bool SAL_CALL ODatabaseMetaData::supportsIntegrityEnhancementFacility() throw(SQLException, RuntimeException, std::exception) { return impl_getBoolMetaData("supportsIntegrityEnhancementFacility", &sql::DatabaseMetaData::supportsIntegrityEnhancementFacility); } - sal_Bool SAL_CALL ODatabaseMetaData::supportsSchemasInIndexDefinitions() throw(SQLException, RuntimeException, std::exception) { return impl_getBoolMetaData("supportsSchemasInIndexDefinitions", &sql::DatabaseMetaData::supportsSchemasInIndexDefinitions); } - sal_Bool SAL_CALL ODatabaseMetaData::supportsSchemasInTableDefinitions() throw(SQLException, RuntimeException, std::exception) { return impl_getBoolMetaData("supportsSchemasInTableDefinitions", &sql::DatabaseMetaData::supportsSchemasInTableDefinitions); } - sal_Bool SAL_CALL ODatabaseMetaData::supportsCatalogsInTableDefinitions() throw(SQLException, RuntimeException, std::exception) { return impl_getBoolMetaData("supportsCatalogsInTableDefinitions", &sql::DatabaseMetaData::supportsCatalogsInTableDefinitions); } - sal_Bool SAL_CALL ODatabaseMetaData::supportsCatalogsInIndexDefinitions() throw(SQLException, RuntimeException, std::exception) { return impl_getBoolMetaData("supportsCatalogsInIndexDefinitions", &sql::DatabaseMetaData::supportsCatalogsInIndexDefinitions); } - sal_Bool SAL_CALL ODatabaseMetaData::supportsCatalogsInDataManipulation() throw(SQLException, RuntimeException, std::exception) { return impl_getBoolMetaData("supportsCatalogsInDataManipulation", &sql::DatabaseMetaData::supportsCatalogsInDataManipulation); } - sal_Bool SAL_CALL ODatabaseMetaData::supportsOuterJoins() throw(SQLException, RuntimeException, std::exception) { return impl_getBoolMetaData("supportsOuterJoins", &sql::DatabaseMetaData::supportsOuterJoins); } - sal_Int32 SAL_CALL ODatabaseMetaData::getMaxStatements() throw(SQLException, RuntimeException, std::exception) { return impl_getInt32MetaData("getMaxStatements", &sql::DatabaseMetaData::getMaxStatements); } - sal_Int32 SAL_CALL ODatabaseMetaData::getMaxProcedureNameLength() throw(SQLException, RuntimeException, std::exception) { return impl_getInt32MetaData("getMaxProcedureNameLength", &sql::DatabaseMetaData::getMaxProcedureNameLength); } - sal_Int32 SAL_CALL ODatabaseMetaData::getMaxSchemaNameLength() throw(SQLException, RuntimeException, std::exception) { return impl_getInt32MetaData("getMaxSchemaNameLength", &sql::DatabaseMetaData::getMaxSchemaNameLength); } - sal_Bool SAL_CALL ODatabaseMetaData::supportsTransactions() throw(SQLException, RuntimeException, std::exception) { return impl_getBoolMetaData("supportsTransactions", &sql::DatabaseMetaData::supportsTransactions); } - sal_Bool SAL_CALL ODatabaseMetaData::allProceduresAreCallable() throw(SQLException, RuntimeException, std::exception) { return impl_getBoolMetaData("allProceduresAreCallable", &sql::DatabaseMetaData::allProceduresAreCallable); } - sal_Bool SAL_CALL ODatabaseMetaData::supportsStoredProcedures() throw(SQLException, RuntimeException, std::exception) { return impl_getBoolMetaData("supportsStoredProcedures", &sql::DatabaseMetaData::supportsStoredProcedures); } - sal_Bool SAL_CALL ODatabaseMetaData::supportsSelectForUpdate() throw(SQLException, RuntimeException, std::exception) { return impl_getBoolMetaData("supportsSelectForUpdate", &sql::DatabaseMetaData::supportsSelectForUpdate); } - sal_Bool SAL_CALL ODatabaseMetaData::allTablesAreSelectable() throw(SQLException, RuntimeException, std::exception) { return impl_getBoolMetaData("allTablesAreSelectable", &sql::DatabaseMetaData::allTablesAreSelectable); } - sal_Bool SAL_CALL ODatabaseMetaData::isReadOnly() throw(SQLException, RuntimeException, std::exception) { return impl_getBoolMetaData("isReadOnly", &sql::DatabaseMetaData::isReadOnly); } - sal_Bool SAL_CALL ODatabaseMetaData::usesLocalFiles() throw(SQLException, RuntimeException, std::exception) { return impl_getBoolMetaData("usesLocalFiles", &sql::DatabaseMetaData::usesLocalFiles); } - sal_Bool SAL_CALL ODatabaseMetaData::usesLocalFilePerTable() throw(SQLException, RuntimeException, std::exception) { return impl_getBoolMetaData("usesLocalFilePerTable", &sql::DatabaseMetaData::usesLocalFilePerTable); } - sal_Bool SAL_CALL ODatabaseMetaData::supportsTypeConversion() throw(SQLException, RuntimeException, std::exception) { return impl_getBoolMetaData("supportsTypeConversion", &sql::DatabaseMetaData::supportsTypeConversion); } - sal_Bool SAL_CALL ODatabaseMetaData::nullPlusNonNullIsNull() throw(SQLException, RuntimeException, std::exception) { return impl_getBoolMetaData("nullPlusNonNullIsNull", &sql::DatabaseMetaData::nullPlusNonNullIsNull); } - sal_Bool SAL_CALL ODatabaseMetaData::supportsColumnAliasing() throw(SQLException, RuntimeException, std::exception) { return impl_getBoolMetaData("supportsColumnAliasing", &sql::DatabaseMetaData::supportsColumnAliasing); } - sal_Bool SAL_CALL ODatabaseMetaData::supportsTableCorrelationNames() throw(SQLException, RuntimeException, std::exception) { return impl_getBoolMetaData("supportsTableCorrelationNames", &sql::DatabaseMetaData::supportsTableCorrelationNames); } - sal_Bool SAL_CALL ODatabaseMetaData::supportsConvert(sal_Int32 /* fromType */, sal_Int32 /* toType */) throw(SQLException, RuntimeException, std::exception) { @@ -706,189 +631,162 @@ sal_Bool SAL_CALL ODatabaseMetaData::supportsConvert(sal_Int32 /* fromType */, s return sal_False; } - sal_Bool SAL_CALL ODatabaseMetaData::supportsExpressionsInOrderBy() throw(SQLException, RuntimeException, std::exception) { return impl_getBoolMetaData("supportsExpressionsInOrderBy", &sql::DatabaseMetaData::supportsExpressionsInOrderBy); } - sal_Bool SAL_CALL ODatabaseMetaData::supportsGroupBy() throw(SQLException, RuntimeException, std::exception) { return impl_getBoolMetaData("supportsGroupBy", &sql::DatabaseMetaData::supportsGroupBy); } - sal_Bool SAL_CALL ODatabaseMetaData::supportsGroupByBeyondSelect() throw(SQLException, RuntimeException, std::exception) { return impl_getBoolMetaData("supportsGroupByBeyondSelect", &sql::DatabaseMetaData::supportsGroupByBeyondSelect); } - sal_Bool SAL_CALL ODatabaseMetaData::supportsGroupByUnrelated() throw(SQLException, RuntimeException, std::exception) { return impl_getBoolMetaData("supportsGroupByUnrelated", &sql::DatabaseMetaData::supportsGroupByUnrelated); } - sal_Bool SAL_CALL ODatabaseMetaData::supportsMultipleTransactions() throw(SQLException, RuntimeException, std::exception) { return impl_getBoolMetaData("supportsMultipleTransactions", &sql::DatabaseMetaData::supportsMultipleTransactions); } - sal_Bool SAL_CALL ODatabaseMetaData::supportsMultipleResultSets() throw(SQLException, RuntimeException, std::exception) { return impl_getBoolMetaData("supportsMultipleResultSets", &sql::DatabaseMetaData::supportsMultipleResultSets); } - sal_Bool SAL_CALL ODatabaseMetaData::supportsLikeEscapeClause() throw(SQLException, RuntimeException, std::exception) { return impl_getBoolMetaData("supportsLikeEscapeClause", &sql::DatabaseMetaData::supportsLikeEscapeClause); } - sal_Bool SAL_CALL ODatabaseMetaData::supportsOrderByUnrelated() throw(SQLException, RuntimeException, std::exception) { return impl_getBoolMetaData("supportsOrderByUnrelated", &sql::DatabaseMetaData::supportsOrderByUnrelated); } - sal_Bool SAL_CALL ODatabaseMetaData::supportsUnion() throw(SQLException, RuntimeException, std::exception) { return impl_getBoolMetaData("supportsUnion", &sql::DatabaseMetaData::supportsUnion); } - sal_Bool SAL_CALL ODatabaseMetaData::supportsUnionAll() throw(SQLException, RuntimeException, std::exception) { return impl_getBoolMetaData("supportsUnionAll", &sql::DatabaseMetaData::supportsUnionAll); } - sal_Bool SAL_CALL ODatabaseMetaData::supportsMixedCaseIdentifiers() throw(SQLException, RuntimeException, std::exception) { return impl_getBoolMetaData("supportsMixedCaseIdentifiers", &sql::DatabaseMetaData::supportsMixedCaseIdentifiers); } - sal_Bool SAL_CALL ODatabaseMetaData::supportsMixedCaseQuotedIdentifiers() throw(SQLException, RuntimeException, std::exception) { return impl_getBoolMetaData("supportsMixedCaseQuotedIdentifiers", &sql::DatabaseMetaData::supportsMixedCaseQuotedIdentifiers); } - sal_Bool SAL_CALL ODatabaseMetaData::nullsAreSortedAtEnd() throw(SQLException, RuntimeException, std::exception) { return impl_getBoolMetaData("nullsAreSortedAtEnd", &sql::DatabaseMetaData::nullsAreSortedAtEnd); } - sal_Bool SAL_CALL ODatabaseMetaData::nullsAreSortedAtStart() throw(SQLException, RuntimeException, std::exception) { return impl_getBoolMetaData("nullsAreSortedAtStart", &sql::DatabaseMetaData::nullsAreSortedAtStart); } - sal_Bool SAL_CALL ODatabaseMetaData::nullsAreSortedHigh() throw(SQLException, RuntimeException, std::exception) { return impl_getBoolMetaData("nullsAreSortedHigh", &sql::DatabaseMetaData::nullsAreSortedHigh); } - sal_Bool SAL_CALL ODatabaseMetaData::nullsAreSortedLow() throw(SQLException, RuntimeException, std::exception) { return impl_getBoolMetaData("nullsAreSortedLow", &sql::DatabaseMetaData::nullsAreSortedLow); } - sal_Bool SAL_CALL ODatabaseMetaData::supportsSchemasInProcedureCalls() throw(SQLException, RuntimeException, std::exception) { return impl_getBoolMetaData("supportsSchemasInProcedureCalls", &sql::DatabaseMetaData::supportsSchemasInProcedureCalls); } - sal_Bool SAL_CALL ODatabaseMetaData::supportsSchemasInPrivilegeDefinitions() throw(SQLException, RuntimeException, std::exception) { return impl_getBoolMetaData("supportsSchemasInPrivilegeDefinitions", &sql::DatabaseMetaData::supportsSchemasInPrivilegeDefinitions); } - sal_Bool SAL_CALL ODatabaseMetaData::supportsCatalogsInProcedureCalls() throw(SQLException, RuntimeException, std::exception) { return impl_getBoolMetaData("supportsCatalogsInProcedureCalls", &sql::DatabaseMetaData::supportsCatalogsInProcedureCalls); } - sal_Bool SAL_CALL ODatabaseMetaData::supportsCatalogsInPrivilegeDefinitions() throw(SQLException, RuntimeException, std::exception) { return impl_getBoolMetaData("supportsCatalogsInPrivilegeDefinitions", &sql::DatabaseMetaData::supportsCatalogsInPrivilegeDefinitions); } - sal_Bool SAL_CALL ODatabaseMetaData::supportsCorrelatedSubqueries() throw(SQLException, RuntimeException, std::exception) { return impl_getBoolMetaData("supportsCorrelatedSubqueries", &sql::DatabaseMetaData::supportsCorrelatedSubqueries); } - sal_Bool SAL_CALL ODatabaseMetaData::supportsSubqueriesInComparisons() throw(SQLException, RuntimeException, std::exception) { return impl_getBoolMetaData("supportsSubqueriesInComparisons", &sql::DatabaseMetaData::supportsSubqueriesInComparisons); } - sal_Bool SAL_CALL ODatabaseMetaData::supportsSubqueriesInExists() throw(SQLException, RuntimeException, std::exception) { return impl_getBoolMetaData("supportsSubqueriesInExists", &sql::DatabaseMetaData::supportsSubqueriesInExists); } - sal_Bool SAL_CALL ODatabaseMetaData::supportsSubqueriesInIns() throw(SQLException, RuntimeException, std::exception) { return impl_getBoolMetaData("supportsSubqueriesInIns", &sql::DatabaseMetaData::supportsSubqueriesInIns); } - sal_Bool SAL_CALL ODatabaseMetaData::supportsSubqueriesInQuantifieds() throw(SQLException, RuntimeException, std::exception) { return impl_getBoolMetaData("supportsSubqueriesInQuantifieds", &sql::DatabaseMetaData::supportsSubqueriesInQuantifieds); } - sal_Bool SAL_CALL ODatabaseMetaData::supportsANSI92IntermediateSQL() throw(SQLException, RuntimeException, std::exception) { return impl_getBoolMetaData("supportsANSI92IntermediateSQL", &sql::DatabaseMetaData::supportsANSI92IntermediateSQL); } - OUString SAL_CALL ODatabaseMetaData::getURL() throw(SQLException, RuntimeException, std::exception) { @@ -896,14 +794,12 @@ OUString SAL_CALL ODatabaseMetaData::getURL() return m_rConnection.getConnectionSettings().connectionURL; } - OUString SAL_CALL ODatabaseMetaData::getUserName() throw(SQLException, RuntimeException, std::exception) { return impl_getStringMetaData("getUserName", &sql::DatabaseMetaData::getUserName); } - OUString SAL_CALL ODatabaseMetaData::getDriverName() throw(SQLException, RuntimeException, std::exception) { @@ -912,7 +808,6 @@ OUString SAL_CALL ODatabaseMetaData::getDriverName() return aValue; } - OUString SAL_CALL ODatabaseMetaData::getDriverVersion() throw(SQLException, RuntimeException, std::exception) { @@ -921,35 +816,30 @@ OUString SAL_CALL ODatabaseMetaData::getDriverVersion() return sVersion; } - OUString SAL_CALL ODatabaseMetaData::getDatabaseProductVersion() throw(SQLException, RuntimeException, std::exception) { return impl_getStringMetaData("getDatabaseProductVersion", &sql::DatabaseMetaData::getDatabaseProductVersion); } - OUString SAL_CALL ODatabaseMetaData::getDatabaseProductName() throw(SQLException, RuntimeException, std::exception) { return impl_getStringMetaData("getDatabaseProductName", &sql::DatabaseMetaData::getDatabaseProductName); } - OUString SAL_CALL ODatabaseMetaData::getProcedureTerm() throw(SQLException, RuntimeException, std::exception) { return impl_getStringMetaData("getProcedureTerm", &sql::DatabaseMetaData::getProcedureTerm); } - OUString SAL_CALL ODatabaseMetaData::getSchemaTerm() throw(SQLException, RuntimeException, std::exception) { return impl_getStringMetaData("getSchemaTerm", &sql::DatabaseMetaData::getSchemaTerm); } - sal_Int32 SAL_CALL ODatabaseMetaData::getDriverMajorVersion() throw(RuntimeException, std::exception) { @@ -957,7 +847,6 @@ sal_Int32 SAL_CALL ODatabaseMetaData::getDriverMajorVersion() return MARIADBC_VERSION_MAJOR; } - sal_Int32 SAL_CALL ODatabaseMetaData::getDefaultTransactionIsolation() throw(SQLException, RuntimeException, std::exception) { @@ -979,7 +868,6 @@ sal_Int32 SAL_CALL ODatabaseMetaData::getDefaultTransactionIsolation() return TransactionIsolation::NONE; } - sal_Int32 SAL_CALL ODatabaseMetaData::getDriverMinorVersion() throw(RuntimeException, std::exception) { @@ -987,119 +875,102 @@ sal_Int32 SAL_CALL ODatabaseMetaData::getDriverMinorVersion() return MARIADBC_VERSION_MINOR; } - OUString SAL_CALL ODatabaseMetaData::getSQLKeywords() throw(SQLException, RuntimeException, std::exception) { return impl_getStringMetaData("getSQLKeywords", &sql::DatabaseMetaData::getSQLKeywords); } - OUString SAL_CALL ODatabaseMetaData::getSearchStringEscape() throw(SQLException, RuntimeException, std::exception) { return impl_getStringMetaData("getSearchStringEscape", &sql::DatabaseMetaData::getSearchStringEscape); } - OUString SAL_CALL ODatabaseMetaData::getStringFunctions() throw(SQLException, RuntimeException, std::exception) { return impl_getStringMetaData("getStringFunctions", &sql::DatabaseMetaData::getStringFunctions); } - OUString SAL_CALL ODatabaseMetaData::getTimeDateFunctions() throw(SQLException, RuntimeException, std::exception) { return impl_getStringMetaData("getTimeDateFunctions", &sql::DatabaseMetaData::getTimeDateFunctions); } - OUString SAL_CALL ODatabaseMetaData::getSystemFunctions() throw(SQLException, RuntimeException, std::exception) { return impl_getStringMetaData("getSystemFunctions", &sql::DatabaseMetaData::getSystemFunctions); } - OUString SAL_CALL ODatabaseMetaData::getNumericFunctions() throw(SQLException, RuntimeException, std::exception) { return impl_getStringMetaData("getNumericFunctions", &sql::DatabaseMetaData::getNumericFunctions); } - sal_Bool SAL_CALL ODatabaseMetaData::supportsExtendedSQLGrammar() throw(SQLException, RuntimeException, std::exception) { return impl_getBoolMetaData("supportsExtendedSQLGrammar", &sql::DatabaseMetaData::supportsExtendedSQLGrammar); } - sal_Bool SAL_CALL ODatabaseMetaData::supportsCoreSQLGrammar() throw(SQLException, RuntimeException, std::exception) { return impl_getBoolMetaData("supportsCoreSQLGrammar", &sql::DatabaseMetaData::supportsCoreSQLGrammar); } - sal_Bool SAL_CALL ODatabaseMetaData::supportsMinimumSQLGrammar() throw(SQLException, RuntimeException, std::exception) { return impl_getBoolMetaData("supportsMinimumSQLGrammar", &sql::DatabaseMetaData::supportsMinimumSQLGrammar); } - sal_Bool SAL_CALL ODatabaseMetaData::supportsFullOuterJoins() throw(SQLException, RuntimeException, std::exception) { return impl_getBoolMetaData("supportsFullOuterJoins", &sql::DatabaseMetaData::supportsFullOuterJoins); } - sal_Bool SAL_CALL ODatabaseMetaData::supportsLimitedOuterJoins() throw(SQLException, RuntimeException, std::exception) { return impl_getBoolMetaData("supportsLimitedOuterJoins", &sql::DatabaseMetaData::supportsLimitedOuterJoins); } - sal_Int32 SAL_CALL ODatabaseMetaData::getMaxColumnsInGroupBy() throw(SQLException, RuntimeException, std::exception) { return impl_getInt32MetaData("getMaxColumnsInGroupBy", &sql::DatabaseMetaData::getMaxColumnsInGroupBy); } - sal_Int32 SAL_CALL ODatabaseMetaData::getMaxColumnsInOrderBy() throw(SQLException, RuntimeException, std::exception) { return impl_getInt32MetaData("getMaxColumnsInOrderBy", &sql::DatabaseMetaData::getMaxColumnsInOrderBy); } - sal_Int32 SAL_CALL ODatabaseMetaData::getMaxColumnsInSelect() throw(SQLException, RuntimeException, std::exception) { return impl_getInt32MetaData("getMaxColumnsInSelect", &sql::DatabaseMetaData::getMaxColumnsInSelect); } - sal_Int32 SAL_CALL ODatabaseMetaData::getMaxUserNameLength() throw(SQLException, RuntimeException, std::exception) { return impl_getInt32MetaData("getMaxUserNameLength", &sql::DatabaseMetaData::getMaxUserNameLength); } - sal_Bool SAL_CALL ODatabaseMetaData::supportsResultSetType(sal_Int32 setType) throw(SQLException, RuntimeException, std::exception) { return impl_getRSTypeMetaData("supportsResultSetType", &sql::DatabaseMetaData::supportsResultSetType, setType); } - sal_Bool SAL_CALL ODatabaseMetaData::supportsResultSetConcurrency(sal_Int32 setType, sal_Int32 concurrency) throw(SQLException, RuntimeException, std::exception) { @@ -1120,77 +991,66 @@ sal_Bool SAL_CALL ODatabaseMetaData::supportsResultSetConcurrency(sal_Int32 setT return sal_False; } - sal_Bool SAL_CALL ODatabaseMetaData::ownUpdatesAreVisible(sal_Int32 setType) throw(SQLException, RuntimeException, std::exception) { return impl_getRSTypeMetaData("ownUpdatesAreVisible", &sql::DatabaseMetaData::ownUpdatesAreVisible, setType); } - sal_Bool SAL_CALL ODatabaseMetaData::ownDeletesAreVisible(sal_Int32 setType) throw(SQLException, RuntimeException, std::exception) { return impl_getRSTypeMetaData("ownDeletesAreVisible", &sql::DatabaseMetaData::ownDeletesAreVisible, setType); } - sal_Bool SAL_CALL ODatabaseMetaData::ownInsertsAreVisible(sal_Int32 setType) throw(SQLException, RuntimeException, std::exception) { return impl_getRSTypeMetaData("ownInsertsAreVisible", &sql::DatabaseMetaData::ownInsertsAreVisible, setType); } - sal_Bool SAL_CALL ODatabaseMetaData::othersUpdatesAreVisible(sal_Int32 setType) throw(SQLException, RuntimeException, std::exception) { return impl_getRSTypeMetaData("othersUpdatesAreVisible", &sql::DatabaseMetaData::othersUpdatesAreVisible, setType); } - sal_Bool SAL_CALL ODatabaseMetaData::othersDeletesAreVisible(sal_Int32 setType) throw(SQLException, RuntimeException, std::exception) { return impl_getRSTypeMetaData("othersDeletesAreVisible", &sql::DatabaseMetaData::othersDeletesAreVisible, setType); } - sal_Bool SAL_CALL ODatabaseMetaData::othersInsertsAreVisible(sal_Int32 setType) throw(SQLException, RuntimeException, std::exception) { return impl_getRSTypeMetaData("othersInsertsAreVisible", &sql::DatabaseMetaData::othersInsertsAreVisible, setType); } - sal_Bool SAL_CALL ODatabaseMetaData::updatesAreDetected(sal_Int32 setType) throw(SQLException, RuntimeException, std::exception) { return impl_getRSTypeMetaData("updatesAreDetected", &sql::DatabaseMetaData::updatesAreDetected, setType); } - sal_Bool SAL_CALL ODatabaseMetaData::deletesAreDetected(sal_Int32 setType) throw(SQLException, RuntimeException, std::exception) { return impl_getRSTypeMetaData("deletesAreDetected", &sql::DatabaseMetaData::deletesAreDetected, setType); } - sal_Bool SAL_CALL ODatabaseMetaData::insertsAreDetected(sal_Int32 setType) throw(SQLException, RuntimeException, std::exception) { return impl_getRSTypeMetaData("insertsAreDetected", &sql::DatabaseMetaData::insertsAreDetected, setType); } - sal_Bool SAL_CALL ODatabaseMetaData::supportsBatchUpdates() throw(SQLException, RuntimeException, std::exception) { return impl_getBoolMetaData("supportsBatchUpdates", &sql::DatabaseMetaData::supportsBatchUpdates); } - Reference< XConnection > SAL_CALL ODatabaseMetaData::getConnection() throw(SQLException, RuntimeException, std::exception) { @@ -1198,7 +1058,6 @@ Reference< XConnection > SAL_CALL ODatabaseMetaData::getConnection() return (Reference< XConnection >)&m_rConnection; } - /* Here follow all methods which return(a resultset the first methods is an example implementation how to use this resultset @@ -1228,7 +1087,6 @@ Reference< XResultSet > SAL_CALL ODatabaseMetaData::getTableTypes() return xResultSet; } - Reference< XResultSet > SAL_CALL ODatabaseMetaData::getTypeInfo() throw(SQLException, RuntimeException, std::exception) { @@ -1269,7 +1127,6 @@ Reference< XResultSet > SAL_CALL ODatabaseMetaData::getTypeInfo() return xResultSet; } - Reference< XResultSet > SAL_CALL ODatabaseMetaData::getCatalogs() throw(SQLException, RuntimeException, std::exception) { @@ -1302,7 +1159,6 @@ Reference< XResultSet > SAL_CALL ODatabaseMetaData::getCatalogs() return xResultSet; } - Reference< XResultSet > SAL_CALL ODatabaseMetaData::getSchemas() throw(SQLException, RuntimeException, std::exception) { @@ -1342,7 +1198,6 @@ Reference< XResultSet > SAL_CALL ODatabaseMetaData::getSchemas() return xResultSet; } - Reference< XResultSet > SAL_CALL ODatabaseMetaData::getColumnPrivileges( const Any& catalog, const OUString& schema, @@ -1383,7 +1238,6 @@ Reference< XResultSet > SAL_CALL ODatabaseMetaData::getColumnPrivileges( return xResultSet; } - Reference< XResultSet > SAL_CALL ODatabaseMetaData::getColumns( const Any& catalog, const OUString& schemaPattern, @@ -1430,7 +1284,6 @@ Reference< XResultSet > SAL_CALL ODatabaseMetaData::getColumns( return xResultSet; } - Reference< XResultSet > SAL_CALL ODatabaseMetaData::getTables( const Any& catalog, const OUString& schemaPattern, @@ -1490,7 +1343,6 @@ Reference< XResultSet > SAL_CALL ODatabaseMetaData::getTables( return xResultSet; } - Reference< XResultSet > SAL_CALL ODatabaseMetaData::getProcedureColumns( const Any& /* catalog */, const OUString& /* schemaPattern */, @@ -1503,7 +1355,6 @@ Reference< XResultSet > SAL_CALL ODatabaseMetaData::getProcedureColumns( return NULL; } - Reference< XResultSet > SAL_CALL ODatabaseMetaData::getProcedures( const Any& catalog, const OUString& schemaPattern, @@ -1546,7 +1397,6 @@ Reference< XResultSet > SAL_CALL ODatabaseMetaData::getProcedures( return xResultSet; } - Reference< XResultSet > SAL_CALL ODatabaseMetaData::getVersionColumns( const Any& /* catalog */, const OUString& /* schema */, @@ -1560,7 +1410,6 @@ Reference< XResultSet > SAL_CALL ODatabaseMetaData::getVersionColumns( return xResultSet; } - Reference< XResultSet > SAL_CALL ODatabaseMetaData::getExportedKeys( const Any& catalog , const OUString& schema , @@ -1598,7 +1447,6 @@ Reference< XResultSet > SAL_CALL ODatabaseMetaData::getExportedKeys( return xResultSet; } - Reference< XResultSet > SAL_CALL ODatabaseMetaData::getImportedKeys( const Any& catalog, const OUString& schema, @@ -1638,7 +1486,6 @@ Reference< XResultSet > SAL_CALL ODatabaseMetaData::getImportedKeys( return xResultSet; } - Reference< XResultSet > SAL_CALL ODatabaseMetaData::getPrimaryKeys( const Any& catalog, const OUString& schema, @@ -1677,7 +1524,6 @@ Reference< XResultSet > SAL_CALL ODatabaseMetaData::getPrimaryKeys( return xResultSet; } - Reference< XResultSet > SAL_CALL ODatabaseMetaData::getIndexInfo( const Any& catalog, const OUString& schema, @@ -1718,7 +1564,6 @@ Reference< XResultSet > SAL_CALL ODatabaseMetaData::getIndexInfo( return xResultSet; } - Reference< XResultSet > SAL_CALL ODatabaseMetaData::getBestRowIdentifier( const Any& catalog, const OUString& schema, @@ -1759,7 +1604,6 @@ Reference< XResultSet > SAL_CALL ODatabaseMetaData::getBestRowIdentifier( return xResultSet; } - Reference< XResultSet > SAL_CALL ODatabaseMetaData::getTablePrivileges( const Any& catalog, const OUString& schemaPattern, @@ -1819,7 +1663,6 @@ Reference< XResultSet > SAL_CALL ODatabaseMetaData::getTablePrivileges( return xResultSet; } - Reference< XResultSet > SAL_CALL ODatabaseMetaData::getCrossReference( const Any& primaryCatalog, const OUString& primarySchema, @@ -1864,7 +1707,6 @@ Reference< XResultSet > SAL_CALL ODatabaseMetaData::getCrossReference( return xResultSet; } - Reference< XResultSet > SAL_CALL ODatabaseMetaData::getUDTs( const Any& /* catalog */, const OUString& /* schemaPattern */, diff --git a/mysqlc/source/mysqlc_driver.cxx b/mysqlc/source/mysqlc_driver.cxx index 1c39fc2a73a5..5737bcef7783 100644 --- a/mysqlc/source/mysqlc_driver.cxx +++ b/mysqlc/source/mysqlc_driver.cxx @@ -90,7 +90,6 @@ Sequence< OUString > MysqlCDriver::getSupportedServiceNames_Static() return aSNS; } - OUString SAL_CALL MysqlCDriver::getImplementationName() throw(RuntimeException, std::exception) { diff --git a/mysqlc/source/mysqlc_general.cxx b/mysqlc/source/mysqlc_general.cxx index 4cf7e9842345..185087875fad 100644 --- a/mysqlc/source/mysqlc_general.cxx +++ b/mysqlc/source/mysqlc_general.cxx @@ -45,7 +45,6 @@ void throwFeatureNotImplementedException( const sal_Char* _pAsciiFeatureName, co ); } - void throwInvalidArgumentException( const sal_Char* _pAsciiFeatureName, const Reference< XInterface >& _rxContext, const Any* _pNextException ) throw (SQLException) { @@ -70,7 +69,6 @@ void translateAndThrow(const ::sql::SQLException& _error, const ::com::sun::star ); } - OUString getStringFromAny(const Any& _rAny) { OUString nReturn; @@ -78,7 +76,6 @@ OUString getStringFromAny(const Any& _rAny) return nReturn; } - int mysqlToOOOType(int cppConnType) throw () { @@ -150,7 +147,6 @@ int mysqlToOOOType(int cppConnType) return com::sun::star::sdbc::DataType::VARCHAR; } - OUString convert(const ::std::string& _string, const rtl_TextEncoding encoding) { return OUString( _string.c_str(), _string.size(), encoding ); diff --git a/mysqlc/source/mysqlc_preparedstatement.cxx b/mysqlc/source/mysqlc_preparedstatement.cxx index 1d9b94c761ee..5795f20be0b0 100644 --- a/mysqlc/source/mysqlc_preparedstatement.cxx +++ b/mysqlc/source/mysqlc_preparedstatement.cxx @@ -91,13 +91,11 @@ OPreparedStatement::OPreparedStatement(OConnection* _pConnection, sql::PreparedS } } - OPreparedStatement::~OPreparedStatement() { OSL_TRACE("OPreparedStatement::~OPreparedStatement"); } - void SAL_CALL OPreparedStatement::acquire() throw() { @@ -105,7 +103,6 @@ void SAL_CALL OPreparedStatement::acquire() OCommonStatement::acquire(); } - void SAL_CALL OPreparedStatement::release() throw() { @@ -113,7 +110,6 @@ void SAL_CALL OPreparedStatement::release() OCommonStatement::release(); } - Any SAL_CALL OPreparedStatement::queryInterface(const Type & rType) throw(RuntimeException, std::exception) { @@ -125,7 +121,6 @@ Any SAL_CALL OPreparedStatement::queryInterface(const Type & rType) return (aRet); } - Sequence< Type > SAL_CALL OPreparedStatement::getTypes() throw(RuntimeException, std::exception) { @@ -133,7 +128,6 @@ Sequence< Type > SAL_CALL OPreparedStatement::getTypes() return concatSequences(OPreparedStatement_BASE::getTypes(), OCommonStatement::getTypes()); } - Reference< XResultSetMetaData > SAL_CALL OPreparedStatement::getMetaData() throw(SQLException, RuntimeException, std::exception) { @@ -156,7 +150,6 @@ Reference< XResultSetMetaData > SAL_CALL OPreparedStatement::getMetaData() return m_xMetaData; } - void SAL_CALL OPreparedStatement::close() throw(SQLException, RuntimeException, std::exception) { @@ -177,7 +170,6 @@ void SAL_CALL OPreparedStatement::close() // list } - sal_Bool SAL_CALL OPreparedStatement::execute() throw(SQLException, RuntimeException, std::exception) { @@ -194,7 +186,6 @@ sal_Bool SAL_CALL OPreparedStatement::execute() return success; } - sal_Int32 SAL_CALL OPreparedStatement::executeUpdate() throw(SQLException, RuntimeException, std::exception) { @@ -211,7 +202,6 @@ sal_Int32 SAL_CALL OPreparedStatement::executeUpdate() return affectedRows; } - void SAL_CALL OPreparedStatement::setString(sal_Int32 parameter, const OUString& x) throw(SQLException, RuntimeException, std::exception) { @@ -230,7 +220,6 @@ void SAL_CALL OPreparedStatement::setString(sal_Int32 parameter, const OUString& } } - Reference< XConnection > SAL_CALL OPreparedStatement::getConnection() throw(SQLException, RuntimeException, std::exception) { @@ -276,7 +265,6 @@ Reference< XResultSet > SAL_CALL OPreparedStatement::executeQuery() return xResultSet; } - void SAL_CALL OPreparedStatement::setBoolean(sal_Int32 parameter, sal_Bool x) throw(SQLException, RuntimeException, std::exception) { @@ -294,7 +282,6 @@ void SAL_CALL OPreparedStatement::setBoolean(sal_Int32 parameter, sal_Bool x) } } - void SAL_CALL OPreparedStatement::setByte(sal_Int32 parameter, sal_Int8 x) throw(SQLException, RuntimeException, std::exception) { @@ -312,7 +299,6 @@ void SAL_CALL OPreparedStatement::setByte(sal_Int32 parameter, sal_Int8 x) } } - void SAL_CALL OPreparedStatement::setDate(sal_Int32 parameter, const Date& aData) throw(SQLException, RuntimeException, std::exception) { @@ -338,7 +324,6 @@ void SAL_CALL OPreparedStatement::setDate(sal_Int32 parameter, const Date& aData } } - void SAL_CALL OPreparedStatement::setTime(sal_Int32 parameter, const Time& aVal) throw(SQLException, RuntimeException, std::exception) { @@ -364,7 +349,6 @@ void SAL_CALL OPreparedStatement::setTime(sal_Int32 parameter, const Time& aVal) } } - void SAL_CALL OPreparedStatement::setTimestamp(sal_Int32 parameter, const DateTime& aVal) throw(SQLException, RuntimeException, std::exception) { @@ -398,7 +382,6 @@ void SAL_CALL OPreparedStatement::setTimestamp(sal_Int32 parameter, const DateTi } } - void SAL_CALL OPreparedStatement::setDouble(sal_Int32 parameter, double x) throw(SQLException, RuntimeException, std::exception) { @@ -416,7 +399,6 @@ void SAL_CALL OPreparedStatement::setDouble(sal_Int32 parameter, double x) } } - void SAL_CALL OPreparedStatement::setFloat(sal_Int32 parameter, float x) throw(SQLException, RuntimeException, std::exception) { @@ -434,7 +416,6 @@ void SAL_CALL OPreparedStatement::setFloat(sal_Int32 parameter, float x) } } - void SAL_CALL OPreparedStatement::setInt(sal_Int32 parameter, sal_Int32 x) throw(SQLException, RuntimeException, std::exception) { @@ -452,7 +433,6 @@ void SAL_CALL OPreparedStatement::setInt(sal_Int32 parameter, sal_Int32 x) } } - void SAL_CALL OPreparedStatement::setLong(sal_Int32 parameter, sal_Int64 aVal) throw(SQLException, RuntimeException, std::exception) { @@ -470,7 +450,6 @@ void SAL_CALL OPreparedStatement::setLong(sal_Int32 parameter, sal_Int64 aVal) } } - void SAL_CALL OPreparedStatement::setNull(sal_Int32 parameter, sal_Int32 sqlType) throw(SQLException, RuntimeException, std::exception) { @@ -488,7 +467,6 @@ void SAL_CALL OPreparedStatement::setNull(sal_Int32 parameter, sal_Int32 sqlType } } - void SAL_CALL OPreparedStatement::setClob(sal_Int32 parameter, const Reference< XClob >& /* x */) throw(SQLException, RuntimeException, std::exception) { @@ -500,7 +478,6 @@ void SAL_CALL OPreparedStatement::setClob(sal_Int32 parameter, const Reference< mysqlc_sdbc_driver::throwFeatureNotImplementedException("OPreparedStatement::setClob", *this); } - void SAL_CALL OPreparedStatement::setBlob(sal_Int32 parameter, const Reference< XBlob >& /* x */) throw(SQLException, RuntimeException, std::exception) { @@ -512,7 +489,6 @@ void SAL_CALL OPreparedStatement::setBlob(sal_Int32 parameter, const Reference< mysqlc_sdbc_driver::throwFeatureNotImplementedException("OPreparedStatement::setBlob", *this); } - void SAL_CALL OPreparedStatement::setArray(sal_Int32 parameter, const Reference< XArray >& /* x */) throw(SQLException, RuntimeException, std::exception) { @@ -524,7 +500,6 @@ void SAL_CALL OPreparedStatement::setArray(sal_Int32 parameter, const Reference< mysqlc_sdbc_driver::throwFeatureNotImplementedException("OPreparedStatement::setArray", *this); } - void SAL_CALL OPreparedStatement::setRef(sal_Int32 parameter, const Reference< XRef >& /* x */) throw(SQLException, RuntimeException, std::exception) { @@ -699,7 +674,6 @@ void SAL_CALL OPreparedStatement::setObjectWithInfo(sal_Int32 _parameterIndex, c } } - void SAL_CALL OPreparedStatement::setObjectNull(sal_Int32 parameter, sal_Int32 /* sqlType */, const OUString& /* typeName */) throw(SQLException, RuntimeException, std::exception) { @@ -711,7 +685,6 @@ void SAL_CALL OPreparedStatement::setObjectNull(sal_Int32 parameter, sal_Int32 / mysqlc_sdbc_driver::throwFeatureNotImplementedException("OPreparedStatement::setObjectNull", *this); } - void SAL_CALL OPreparedStatement::setObject(sal_Int32 parameter, const Any& /* x */) throw(SQLException, RuntimeException, std::exception) { @@ -723,7 +696,6 @@ void SAL_CALL OPreparedStatement::setObject(sal_Int32 parameter, const Any& /* x mysqlc_sdbc_driver::throwFeatureNotImplementedException("OPreparedStatement::setObject", *this); } - void SAL_CALL OPreparedStatement::setShort(sal_Int32 parameter, sal_Int16 x) throw(SQLException, RuntimeException, std::exception) { @@ -741,7 +713,6 @@ void SAL_CALL OPreparedStatement::setShort(sal_Int32 parameter, sal_Int16 x) } } - void SAL_CALL OPreparedStatement::setBytes(sal_Int32 parameter, const Sequence< sal_Int8 >& x) throw(SQLException, RuntimeException, std::exception) { @@ -760,7 +731,6 @@ void SAL_CALL OPreparedStatement::setBytes(sal_Int32 parameter, const Sequence< } } - void SAL_CALL OPreparedStatement::setCharacterStream(sal_Int32 parameter, const Reference< XInputStream >& /* x */, sal_Int32 /* length */) @@ -774,7 +744,6 @@ void SAL_CALL OPreparedStatement::setCharacterStream(sal_Int32 parameter, mysqlc_sdbc_driver::throwFeatureNotImplementedException("OPreparedStatement::setCharacterStream", *this); } - void SAL_CALL OPreparedStatement::setBinaryStream(sal_Int32 parameter, const Reference< XInputStream >& /* x */, sal_Int32 /* length */) @@ -788,7 +757,6 @@ void SAL_CALL OPreparedStatement::setBinaryStream(sal_Int32 parameter, mysqlc_sdbc_driver::throwFeatureNotImplementedException("OPreparedStatement::setBinaryStream", *this); } - void SAL_CALL OPreparedStatement::clearParameters() throw(SQLException, RuntimeException, std::exception) { @@ -805,7 +773,6 @@ void SAL_CALL OPreparedStatement::clearParameters() } } - void SAL_CALL OPreparedStatement::clearBatch() throw(SQLException, RuntimeException, std::exception) { @@ -813,7 +780,6 @@ void SAL_CALL OPreparedStatement::clearBatch() mysqlc_sdbc_driver::throwFeatureNotImplementedException("OPreparedStatement::clearBatch", *this); } - void SAL_CALL OPreparedStatement::addBatch() throw(SQLException, RuntimeException, std::exception) { @@ -821,7 +787,6 @@ void SAL_CALL OPreparedStatement::addBatch() mysqlc_sdbc_driver::throwFeatureNotImplementedException("OPreparedStatement::addBatch", *this); } - Sequence< sal_Int32 > SAL_CALL OPreparedStatement::executeBatch() throw(SQLException, RuntimeException, std::exception) { @@ -830,7 +795,6 @@ Sequence< sal_Int32 > SAL_CALL OPreparedStatement::executeBatch() return aRet; } - void OPreparedStatement::setFastPropertyValue_NoBroadcast(sal_Int32 nHandle,const Any& rValue) throw(Exception, std::exception) { @@ -851,7 +815,6 @@ void OPreparedStatement::setFastPropertyValue_NoBroadcast(sal_Int32 nHandle,cons } } - void OPreparedStatement::checkParameterIndex(sal_Int32 column) { OSL_TRACE("OPreparedStatement::checkColumnIndex"); diff --git a/mysqlc/source/mysqlc_propertyids.cxx b/mysqlc/source/mysqlc_propertyids.cxx index 084be3b559e7..4671ac4d8142 100644 --- a/mysqlc/source/mysqlc_propertyids.cxx +++ b/mysqlc/source/mysqlc_propertyids.cxx @@ -96,7 +96,6 @@ OPropertyMap::~OPropertyMap() } } - OUString OPropertyMap::getNameByIndex(sal_Int32 idx) const { OUString sRet; @@ -169,7 +168,6 @@ static const property_callback property_callbacks[PROPERTY_ID_LAST] = getPROPERTY_PRIVILEGES, }; - OUString OPropertyMap::fillValue(sal_Int32 idx) { rtl_uString* pStr = NULL; diff --git a/mysqlc/source/mysqlc_resultsetmetadata.cxx b/mysqlc/source/mysqlc_resultsetmetadata.cxx index 7e5e043c4be6..0cb91f735821 100644 --- a/mysqlc/source/mysqlc_resultsetmetadata.cxx +++ b/mysqlc/source/mysqlc_resultsetmetadata.cxx @@ -33,7 +33,6 @@ OResultSetMetaData::~OResultSetMetaData() { } - sal_Int32 SAL_CALL OResultSetMetaData::getColumnDisplaySize(sal_Int32 column) throw(SQLException, RuntimeException, std::exception) { @@ -49,7 +48,6 @@ sal_Int32 SAL_CALL OResultSetMetaData::getColumnDisplaySize(sal_Int32 column) return 0; // fool compiler } - sal_Int32 SAL_CALL OResultSetMetaData::getColumnType(sal_Int32 column) throw(SQLException, RuntimeException, std::exception) { @@ -85,7 +83,6 @@ sal_Int32 SAL_CALL OResultSetMetaData::getColumnCount() return 0; // fool compiler } - sal_Bool SAL_CALL OResultSetMetaData::isCaseSensitive(sal_Int32 column) throw(SQLException, RuntimeException, std::exception) { @@ -102,7 +99,6 @@ sal_Bool SAL_CALL OResultSetMetaData::isCaseSensitive(sal_Int32 column) return sal_False; // fool compiler } - OUString SAL_CALL OResultSetMetaData::getSchemaName(sal_Int32 column) throw(SQLException, RuntimeException, std::exception) { @@ -119,7 +115,6 @@ OUString SAL_CALL OResultSetMetaData::getSchemaName(sal_Int32 column) return OUString(); // fool compiler } - OUString SAL_CALL OResultSetMetaData::getColumnName(sal_Int32 column) throw(SQLException, RuntimeException, std::exception) { @@ -136,7 +131,6 @@ OUString SAL_CALL OResultSetMetaData::getColumnName(sal_Int32 column) return OUString(); // fool compiler } - OUString SAL_CALL OResultSetMetaData::getTableName(sal_Int32 column) throw(SQLException, RuntimeException, std::exception) { @@ -153,7 +147,6 @@ OUString SAL_CALL OResultSetMetaData::getTableName(sal_Int32 column) return OUString(); // fool compiler } - OUString SAL_CALL OResultSetMetaData::getCatalogName(sal_Int32 column) throw(SQLException, RuntimeException, std::exception) { @@ -170,7 +163,6 @@ OUString SAL_CALL OResultSetMetaData::getCatalogName(sal_Int32 column) return OUString(); // fool compiler } - OUString SAL_CALL OResultSetMetaData::getColumnTypeName(sal_Int32 column) throw(SQLException, RuntimeException, std::exception) { @@ -187,7 +179,6 @@ OUString SAL_CALL OResultSetMetaData::getColumnTypeName(sal_Int32 column) return OUString(); // fool compiler } - OUString SAL_CALL OResultSetMetaData::getColumnLabel(sal_Int32 column) throw(SQLException, RuntimeException, std::exception) { @@ -204,7 +195,6 @@ OUString SAL_CALL OResultSetMetaData::getColumnLabel(sal_Int32 column) return OUString(); // fool compiler } - OUString SAL_CALL OResultSetMetaData::getColumnServiceName(sal_Int32 column) throw(SQLException, RuntimeException, std::exception) { @@ -215,7 +205,6 @@ OUString SAL_CALL OResultSetMetaData::getColumnServiceName(sal_Int32 column) return aRet; } - sal_Bool SAL_CALL OResultSetMetaData::isCurrency(sal_Int32 column) throw(SQLException, RuntimeException, std::exception) { @@ -232,7 +221,6 @@ sal_Bool SAL_CALL OResultSetMetaData::isCurrency(sal_Int32 column) return sal_False; // fool compiler } - sal_Bool SAL_CALL OResultSetMetaData::isAutoIncrement(sal_Int32 column) throw(SQLException, RuntimeException, std::exception) { @@ -249,7 +237,6 @@ sal_Bool SAL_CALL OResultSetMetaData::isAutoIncrement(sal_Int32 column) return sal_False; // fool compiler } - sal_Bool SAL_CALL OResultSetMetaData::isSigned(sal_Int32 column) throw(SQLException, RuntimeException, std::exception) { @@ -266,7 +253,6 @@ sal_Bool SAL_CALL OResultSetMetaData::isSigned(sal_Int32 column) return sal_False; // fool compiler } - sal_Int32 SAL_CALL OResultSetMetaData::getPrecision(sal_Int32 column) throw(SQLException, RuntimeException, std::exception) { @@ -283,7 +269,6 @@ sal_Int32 SAL_CALL OResultSetMetaData::getPrecision(sal_Int32 column) return 0; // fool compiler } - sal_Int32 SAL_CALL OResultSetMetaData::getScale(sal_Int32 column) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException, std::exception) { @@ -299,7 +284,6 @@ sal_Int32 SAL_CALL OResultSetMetaData::getScale(sal_Int32 column) return 0; // fool compiler } - sal_Int32 SAL_CALL OResultSetMetaData::isNullable(sal_Int32 column) throw(SQLException, RuntimeException, std::exception) { @@ -316,7 +300,6 @@ sal_Int32 SAL_CALL OResultSetMetaData::isNullable(sal_Int32 column) return sal_False; // fool compiler } - sal_Bool SAL_CALL OResultSetMetaData::isSearchable(sal_Int32 column) throw(SQLException, RuntimeException, std::exception) { @@ -333,7 +316,6 @@ sal_Bool SAL_CALL OResultSetMetaData::isSearchable(sal_Int32 column) return sal_False; // fool compiler } - sal_Bool SAL_CALL OResultSetMetaData::isReadOnly(sal_Int32 column) throw(SQLException, RuntimeException, std::exception) { @@ -350,7 +332,6 @@ sal_Bool SAL_CALL OResultSetMetaData::isReadOnly(sal_Int32 column) return sal_False; // fool compiler } - sal_Bool SAL_CALL OResultSetMetaData::isDefinitelyWritable(sal_Int32 column) throw(SQLException, RuntimeException, std::exception) { @@ -367,7 +348,6 @@ sal_Bool SAL_CALL OResultSetMetaData::isDefinitelyWritable(sal_Int32 column) return sal_False; // fool compiler } - sal_Bool SAL_CALL OResultSetMetaData::isWritable(sal_Int32 column) throw(SQLException, RuntimeException, std::exception) { @@ -384,7 +364,6 @@ sal_Bool SAL_CALL OResultSetMetaData::isWritable(sal_Int32 column) return sal_False; // fool compiler } - void OResultSetMetaData::checkColumnIndex(sal_Int32 columnIndex) throw (SQLException, RuntimeException) { diff --git a/mysqlc/source/mysqlc_services.cxx b/mysqlc/source/mysqlc_services.cxx index 944b81213c71..e2dc48c889a2 100644 --- a/mysqlc/source/mysqlc_services.cxx +++ b/mysqlc/source/mysqlc_services.cxx @@ -73,7 +73,6 @@ struct ProviderRequest void* getProvider() const { return xRet.get(); } }; - extern "C" SAL_DLLPUBLIC_EXPORT void* SAL_CALL component_getFactory( const sal_Char * pImplementationName, void * pServiceManager, diff --git a/mysqlc/source/mysqlc_statement.cxx b/mysqlc/source/mysqlc_statement.cxx index dfb18846bc43..e3184b711b9d 100644 --- a/mysqlc/source/mysqlc_statement.cxx +++ b/mysqlc/source/mysqlc_statement.cxx @@ -140,7 +140,6 @@ void SAL_CALL OCommonStatement::close() dispose(); } - void SAL_CALL OStatement::clearBatch() throw(SQLException, RuntimeException, std::exception) { @@ -148,7 +147,6 @@ void SAL_CALL OStatement::clearBatch() // if you support batches clear it here } - sal_Bool SAL_CALL OCommonStatement::execute(const OUString& sql) throw(SQLException, RuntimeException, std::exception) { @@ -166,7 +164,6 @@ sal_Bool SAL_CALL OCommonStatement::execute(const OUString& sql) return success; } - Reference< XResultSet > SAL_CALL OCommonStatement::executeQuery(const OUString& sql) throw(SQLException, RuntimeException, std::exception) { @@ -187,7 +184,6 @@ Reference< XResultSet > SAL_CALL OCommonStatement::executeQuery(const OUString& return xResultSet; } - Reference< XConnection > SAL_CALL OCommonStatement::getConnection() throw(SQLException, RuntimeException, std::exception) { @@ -199,7 +195,6 @@ Reference< XConnection > SAL_CALL OCommonStatement::getConnection() return ((Reference< XConnection >)m_pConnection); } - sal_Int32 SAL_CALL OCommonStatement::getUpdateCount() throw(SQLException, RuntimeException, std::exception) { @@ -207,7 +202,6 @@ sal_Int32 SAL_CALL OCommonStatement::getUpdateCount() return 0; } - Any SAL_CALL OStatement::queryInterface(const Type & rType) throw(RuntimeException, std::exception) { @@ -219,7 +213,6 @@ Any SAL_CALL OStatement::queryInterface(const Type & rType) return (aRet); } - void SAL_CALL OStatement::addBatch(const OUString& sql) throw(SQLException, RuntimeException, std::exception) { @@ -230,7 +223,6 @@ void SAL_CALL OStatement::addBatch(const OUString& sql) m_aBatchList.push_back(sql); } - Sequence< sal_Int32 > SAL_CALL OStatement::executeBatch() throw(SQLException, RuntimeException, std::exception) { @@ -242,7 +234,6 @@ Sequence< sal_Int32 > SAL_CALL OStatement::executeBatch() return aRet; } - sal_Int32 SAL_CALL OCommonStatement::executeUpdate(const OUString& sql) throw(SQLException, RuntimeException, std::exception) { @@ -260,7 +251,6 @@ sal_Int32 SAL_CALL OCommonStatement::executeUpdate(const OUString& sql) return affectedRows; } - Reference< XResultSet > SAL_CALL OCommonStatement::getResultSet() throw(SQLException, RuntimeException, std::exception) { @@ -279,7 +269,6 @@ Reference< XResultSet > SAL_CALL OCommonStatement::getResultSet() return xResultSet; } - sal_Bool SAL_CALL OCommonStatement::getMoreResults() throw(SQLException, RuntimeException, std::exception) { @@ -292,7 +281,6 @@ sal_Bool SAL_CALL OCommonStatement::getMoreResults() return (sal_False); } - Any SAL_CALL OCommonStatement::getWarnings() throw(SQLException, RuntimeException, std::exception) { @@ -303,7 +291,6 @@ Any SAL_CALL OCommonStatement::getWarnings() return makeAny(m_aLastWarning); } - void SAL_CALL OCommonStatement::clearWarnings() throw(SQLException, RuntimeException, std::exception) { @@ -314,7 +301,6 @@ void SAL_CALL OCommonStatement::clearWarnings() m_aLastWarning = SQLWarning(); } - ::cppu::IPropertyArrayHelper* OCommonStatement::createArrayHelper( ) const { OSL_TRACE("OCommonStatement::createArrayHelper"); @@ -337,14 +323,12 @@ void SAL_CALL OCommonStatement::clearWarnings() return new ::cppu::OPropertyArrayHelper(aProps); } - ::cppu::IPropertyArrayHelper & OCommonStatement::getInfoHelper() { OSL_TRACE("OCommonStatement::getInfoHelper"); return(*const_cast<OCommonStatement*>(this)->getArrayHelper()); } - sal_Bool OCommonStatement::convertFastPropertyValue( Any & /* rConvertedValue */, Any & /* rOldValue */, sal_Int32 /* nHandle */, const Any& /* rValue */) @@ -356,7 +340,6 @@ sal_Bool OCommonStatement::convertFastPropertyValue( return bConverted; } - void OCommonStatement::setFastPropertyValue_NoBroadcast(sal_Int32 nHandle, const Any& /* rValue */) throw (Exception, std::exception) { @@ -378,7 +361,6 @@ void OCommonStatement::setFastPropertyValue_NoBroadcast(sal_Int32 nHandle, const } } - void OCommonStatement::getFastPropertyValue(Any& _rValue, sal_Int32 nHandle) const { OSL_TRACE("OCommonStatement::getFastPropertyValue"); @@ -427,7 +409,6 @@ void SAL_CALL OCommonStatement::acquire() OCommonStatement_IBase::acquire(); } - void SAL_CALL OCommonStatement::release() throw() { @@ -435,7 +416,6 @@ void SAL_CALL OCommonStatement::release() relase_ChildImpl(); } - void SAL_CALL OStatement::acquire() throw() { @@ -443,7 +423,6 @@ void SAL_CALL OStatement::acquire() OCommonStatement::acquire(); } - void SAL_CALL OStatement::release() throw() { @@ -451,7 +430,6 @@ void SAL_CALL OStatement::release() OCommonStatement::release(); } - Reference< ::com::sun::star::beans::XPropertySetInfo > SAL_CALL OCommonStatement::getPropertySetInfo() throw(RuntimeException, std::exception) { |