[Libreoffice-commits] core.git: 2 commits - mysqlc/source sw/inc
Takeshi Abe
tabe at fixedpoint.jp
Wed Oct 22 04:03:06 PDT 2014
mysqlc/source/mysqlc_connection.cxx | 60 -----
mysqlc/source/mysqlc_databasemetadata.cxx | 318 -----------------------------
mysqlc/source/mysqlc_driver.cxx | 27 --
mysqlc/source/mysqlc_preparedstatement.cxx | 82 -------
mysqlc/source/mysqlc_propertyids.cxx | 6
mysqlc/source/mysqlc_resultset.cxx | 181 ----------------
mysqlc/source/mysqlc_resultsetmetadata.cxx | 45 ----
mysqlc/source/mysqlc_services.cxx | 4
mysqlc/source/mysqlc_statement.cxx | 47 ----
sw/inc/docary.hxx | 2
sw/inc/node.hxx | 2
11 files changed, 2 insertions(+), 772 deletions(-)
New commits:
commit 294c80f1cd8279f9ef239b8251b8d4c51284e63d
Author: Takeshi Abe <tabe at fixedpoint.jp>
Date: Sat Oct 18 19:26:00 2014 +0900
fdo#75757: remove inheritance to std::vector
from SwOLENodes, by typedef'ing it instead.
Change-Id: Idafdc69a4cf7629c8c82fab5f3472be3049dfeab
Reviewed-on: https://gerrit.libreoffice.org/12019
Reviewed-by: David Tardon <dtardon at redhat.com>
Tested-by: David Tardon <dtardon at redhat.com>
diff --git a/sw/inc/docary.hxx b/sw/inc/docary.hxx
index 333c91d..097a1b2 100644
--- a/sw/inc/docary.hxx
+++ b/sw/inc/docary.hxx
@@ -238,7 +238,7 @@ public:
~SwUnoCrsrTbl();
};
-class SwOLENodes : public std::vector<SwOLENode*> {};
+typedef std::vector<SwOLENode*> SwOLENodes;
#endif // INCLUDED_SW_INC_DOCARY_HXX
diff --git a/sw/inc/node.hxx b/sw/inc/node.hxx
index 6a2a49e..f3ec9f0 100644
--- a/sw/inc/node.hxx
+++ b/sw/inc/node.hxx
@@ -33,6 +33,7 @@
#include <ndtyp.hxx>
#include <index.hxx>
#include <fmtcol.hxx>
+#include "docary.hxx"
// forward declarations
@@ -71,7 +72,6 @@ class IDocumentLinksAdministration;
class IDocumentFieldsAccess;
class IDocumentContentOperations;
class IDocumentListItems;
-class SwOLENodes;
class Point;
//UUUU
commit f73112e2290bbbf7e86dcf72158cffc3f2d80a6a
Author: Vinicius Vendramini <vinivendra at gmail.com>
Date: Wed Oct 22 12:01:34 2014 +0100
fdo#83991 - remove redundant function folding comments.
Change-Id: I630aeedc31099e11d4bd0e91a05943e926efd61e
diff --git a/mysqlc/source/mysqlc_connection.cxx b/mysqlc/source/mysqlc_connection.cxx
index 588fb6e..a60e3f2 100644
--- a/mysqlc/source/mysqlc_connection.cxx
+++ b/mysqlc/source/mysqlc_connection.cxx
@@ -60,7 +60,6 @@ using ::osl::MutexGuard;
#define MYSQLC_URI_PREFIX "sdbc:mysqlc:"
-/* {{{ OConnection::OConnection() -I- */
OConnection::OConnection(MysqlCDriver& _rDriver, sql::Driver * _cppDriver)
:OMetaConnection_BASE(m_aMutex)
,OSubComponent<OConnection, OConnection_BASE>((::cppu::OWeakObject*)&_rDriver, this)
@@ -74,10 +73,8 @@ OConnection::OConnection(MysqlCDriver& _rDriver, sql::Driver * _cppDriver)
OSL_TRACE("OConnection::OConnection");
m_rDriver.acquire();
}
-/* }}} */
-/* {{{ OConnection::OConnection() -I- */
OConnection::~OConnection()
{
OSL_TRACE("OConnection::~OConnection");
@@ -86,19 +83,15 @@ OConnection::~OConnection()
}
m_rDriver.release();
}
-/* }}} */
-/* {{{ OConnection::release() -I- */
void SAL_CALL OConnection::release()
throw()
{
OSL_TRACE("OConnection::release");
relase_ChildImpl();
}
-/* }}} */
-/* {{{ OConnection::construct() -I- */
void OConnection::construct(const OUString& url, const Sequence< PropertyValue >& info)
throw(SQLException)
{
@@ -219,7 +212,6 @@ void OConnection::construct(const OUString& url, const Sequence< PropertyValue >
stmt->executeUpdate("SET session sql_mode='ANSI_QUOTES'");
stmt->executeUpdate("SET NAMES utf8");
}
-/* }}} */
OUString OConnection::getImplementationName() throw (css::uno::RuntimeException, std::exception)
{
@@ -240,7 +232,6 @@ sal_Bool OConnection::supportsService(OUString const & ServiceName)
return cppu::supportsService(this, ServiceName);
}
-/* {{{ OConnection::createStatement() -I- */
Reference< XStatement > SAL_CALL OConnection::createStatement()
throw(SQLException, RuntimeException, std::exception)
{
@@ -260,10 +251,8 @@ Reference< XStatement > SAL_CALL OConnection::createStatement()
}
return xReturn;
}
-/* }}} */
-/* {{{ OConnection::createStatement() -I- */
Reference< XPreparedStatement > SAL_CALL OConnection::prepareStatement(const OUString& _sSql)
throw(SQLException, RuntimeException, std::exception)
{
@@ -284,10 +273,8 @@ Reference< XPreparedStatement > SAL_CALL OConnection::prepareStatement(const OUS
}
return xStatement;
}
-/* }}} */
-/* {{{ OConnection::prepareCall() -U- */
Reference< XPreparedStatement > SAL_CALL OConnection::prepareCall(const OUString& /*_sSql*/ )
throw(SQLException, RuntimeException, std::exception)
{
@@ -298,10 +285,8 @@ Reference< XPreparedStatement > SAL_CALL OConnection::prepareCall(const OUString
mysqlc_sdbc_driver::throwFeatureNotImplementedException("OConnection::prepareCall", *this);
return Reference< XPreparedStatement >();
}
-/* }}} */
-/* {{{ OConnection::nativeSQL() -I- */
OUString SAL_CALL OConnection::nativeSQL(const OUString& _sSql)
throw(SQLException, RuntimeException, std::exception)
{
@@ -318,10 +303,8 @@ OUString SAL_CALL OConnection::nativeSQL(const OUString& _sSql)
}
return sNativeSQL;
}
-/* }}} */
-/* {{{ OConnection::setAutoCommit() -I- */
void SAL_CALL OConnection::setAutoCommit(sal_Bool autoCommit)
throw(SQLException, RuntimeException, std::exception)
{
@@ -334,10 +317,8 @@ void SAL_CALL OConnection::setAutoCommit(sal_Bool autoCommit)
mysqlc_sdbc_driver::translateAndThrow(e, *this, getConnectionEncoding());
}
}
-/* }}} */
-/* {{{ OConnection::getAutoCommit() -I- */
sal_Bool SAL_CALL OConnection::getAutoCommit()
throw(SQLException, RuntimeException, std::exception)
{
@@ -356,10 +337,8 @@ sal_Bool SAL_CALL OConnection::getAutoCommit()
}
return autoCommit;
}
-/* }}} */
-/* {{{ OConnection::commit() -I- */
void SAL_CALL OConnection::commit()
throw(SQLException, RuntimeException, std::exception)
{
@@ -372,10 +351,8 @@ void SAL_CALL OConnection::commit()
mysqlc_sdbc_driver::translateAndThrow(e, *this, getConnectionEncoding());
}
}
-/* }}} */
-/* {{{ OConnection::rollback() -I- */
void SAL_CALL OConnection::rollback()
throw(SQLException, RuntimeException, std::exception)
{
@@ -388,10 +365,8 @@ void SAL_CALL OConnection::rollback()
mysqlc_sdbc_driver::translateAndThrow(e, *this, getConnectionEncoding());
}
}
-/* }}} */
-/* {{{ OConnection::isClosed() -I- */
sal_Bool SAL_CALL OConnection::isClosed()
throw(SQLException, RuntimeException, std::exception)
{
@@ -401,10 +376,8 @@ sal_Bool SAL_CALL OConnection::isClosed()
// just simple -> we are close when we are disposed that means someone called dispose(); (XComponent)
return (OConnection_BASE::rBHelper.bDisposed);
}
-/* }}} */
-/* {{{ OConnection::createStatement() -I- */
Reference< XDatabaseMetaData > SAL_CALL OConnection::getMetaData()
throw(SQLException, RuntimeException, std::exception)
{
@@ -424,10 +397,8 @@ Reference< XDatabaseMetaData > SAL_CALL OConnection::getMetaData()
return xMetaData;
}
-/* }}} */
-/* {{{ OConnection::createStatement() -I- */
void SAL_CALL OConnection::setReadOnly(sal_Bool readOnly)
throw(SQLException, RuntimeException, std::exception)
{
@@ -437,10 +408,8 @@ void SAL_CALL OConnection::setReadOnly(sal_Bool readOnly)
m_settings.readOnly = readOnly;
}
-/* }}} */
-/* {{{ OConnection::createStatement() -I- */
sal_Bool SAL_CALL OConnection::isReadOnly()
throw(SQLException, RuntimeException, std::exception)
{
@@ -451,10 +420,8 @@ sal_Bool SAL_CALL OConnection::isReadOnly()
// return if your connection to readonly
return (m_settings.readOnly);
}
-/* }}} */
-/* {{{ OConnection::createStatement() -I- */
void SAL_CALL OConnection::setCatalog(const OUString& catalog)
throw(SQLException, RuntimeException, std::exception)
{
@@ -469,10 +436,8 @@ void SAL_CALL OConnection::setCatalog(const OUString& catalog)
mysqlc_sdbc_driver::translateAndThrow(e, *this, getConnectionEncoding());
}
}
-/* }}} */
-/* {{{ OConnection::createStatement() -I- */
OUString SAL_CALL OConnection::getCatalog()
throw(SQLException, RuntimeException, std::exception)
{
@@ -488,10 +453,8 @@ OUString SAL_CALL OConnection::getCatalog()
}
return catalog;
}
-/* }}} */
-/* {{{ OConnection::createStatement() -I- */
void SAL_CALL OConnection::setTransactionIsolation(sal_Int32 level)
throw(SQLException, RuntimeException, std::exception)
{
@@ -526,10 +489,8 @@ void SAL_CALL OConnection::setTransactionIsolation(sal_Int32 level)
mysqlc_sdbc_driver::translateAndThrow(e, *this, getConnectionEncoding());
}
}
-/* }}} */
-/* {{{ OConnection::createStatement() -I- */
sal_Int32 SAL_CALL OConnection::getTransactionIsolation()
throw(SQLException, RuntimeException, std::exception)
{
@@ -551,10 +512,8 @@ sal_Int32 SAL_CALL OConnection::getTransactionIsolation()
}
return TransactionIsolation::NONE;
}
-/* }}} */
-/* {{{ OConnection::getTypeMap() -I- */
Reference<XNameAccess> SAL_CALL OConnection::getTypeMap()
throw(SQLException, RuntimeException, std::exception)
{
@@ -568,10 +527,8 @@ Reference<XNameAccess> SAL_CALL OConnection::getTypeMap()
}
return (t);
}
-/* }}} */
-/* {{{ OConnection::setTypeMap() -I- */
void SAL_CALL OConnection::setTypeMap(const Reference<XNameAccess >& typeMap)
throw(SQLException, RuntimeException, std::exception)
{
@@ -581,11 +538,9 @@ void SAL_CALL OConnection::setTypeMap(const Reference<XNameAccess >& typeMap)
m_typeMap = typeMap;
}
-/* }}} */
// XCloseable
-/* {{{ OConnection::close() -I- */
void SAL_CALL OConnection::close()
throw(SQLException, RuntimeException, std::exception)
{
@@ -601,11 +556,9 @@ void SAL_CALL OConnection::close()
}
dispose();
}
-/* }}} */
// XWarningsSupplier
-/* {{{ OConnection::getWarnings() -I- */
Any SAL_CALL OConnection::getWarnings()
throw(SQLException, RuntimeException, std::exception)
{
@@ -614,29 +567,23 @@ Any SAL_CALL OConnection::getWarnings()
// when you collected some warnings -> return it
return x;
}
-/* }}} */
-/* {{{ OConnection::clearWarnings() -I- */
void SAL_CALL OConnection::clearWarnings()
throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OConnection::clearWarnings");
// you should clear your collected warnings here#
}
-/* }}} */
-/* {{{ OConnection::buildTypeInfo() -I- */
void OConnection::buildTypeInfo()
throw(SQLException)
{
OSL_TRACE("OConnection::buildTypeInfo");
}
-/* }}} */
-/* {{{ OConnection::disposing() -I- */
void OConnection::disposing()
{
OSL_TRACE("OConnection::disposing");
@@ -657,12 +604,10 @@ void OConnection::disposing()
dispose_ChildImpl();
OConnection_BASE::disposing();
}
-/* }}} */
/* ToDo - upcast the connection to MySQL_Connection and use ::getSessionVariable() */
-/* {{{ OConnection::getMysqlVariable() -I- */
OUString OConnection::getMysqlVariable(const char *varname)
throw(SQLException, RuntimeException)
{
@@ -689,10 +634,8 @@ OUString OConnection::getMysqlVariable(const char *varname)
return ret;
}
-/* }}} */
-/* {{{ OConnection::getMysqlVersion() -I- */
sal_Int32 OConnection::getMysqlVersion()
throw(SQLException, RuntimeException)
{
@@ -710,10 +653,8 @@ sal_Int32 OConnection::getMysqlVersion()
}
return version;
}
-/* }}} */
-/* {{{ OConnection::sdbcColumnType() -I- */
// TODO: Not used
//sal_Int32 OConnection::sdbcColumnType(OUString typeName)
//{
@@ -750,7 +691,6 @@ OUString OConnection::transFormPreparedStatement(const OUString& _sSQL)
return sSqlStatement;
}
-/* }}} */
/*
* Local variables:
diff --git a/mysqlc/source/mysqlc_databasemetadata.cxx b/mysqlc/source/mysqlc_databasemetadata.cxx
index 46a4d87..408deda 100644
--- a/mysqlc/source/mysqlc_databasemetadata.cxx
+++ b/mysqlc/source/mysqlc_databasemetadata.cxx
@@ -78,7 +78,6 @@ void lcl_setRows_throw(const Reference< XResultSet >& _xResultSet,sal_Int32 _nTy
}
-/* {{{ ODatabaseMetaData::ODatabaseMetaData() -I- */
ODatabaseMetaData::ODatabaseMetaData(OConnection& _rCon)
:m_rConnection(_rCon)
,m_bUseCatalog(true)
@@ -93,18 +92,14 @@ ODatabaseMetaData::ODatabaseMetaData(OConnection& _rCon)
osl_atomic_decrement(&m_refCount);
}
}
-/* }}} */
-/* {{{ ODatabaseMetaData::~ODatabaseMetaData() -I- */
ODatabaseMetaData::~ODatabaseMetaData()
{
OSL_TRACE("ODatabaseMetaData::~ODatabaseMetaData");
}
-/* }}} */
-/* {{{ ODatabaseMetaData::impl_getStringMetaData() -I- */
OUString ODatabaseMetaData::impl_getStringMetaData(const sal_Char* _methodName, const std::string& (sql::DatabaseMetaData::*_Method)() )
{
OSL_TRACE( "mysqlc::ODatabaseMetaData::%s", _methodName);
@@ -120,10 +115,8 @@ OUString ODatabaseMetaData::impl_getStringMetaData(const sal_Char* _methodName,
}
return stringMetaData;
}
-/* }}} */
-/* {{{ ODatabaseMetaData::impl_getStringMetaData() -I- */
OUString ODatabaseMetaData::impl_getStringMetaData(const sal_Char* _methodName, std::string (sql::DatabaseMetaData::*_Method)() )
{
OSL_TRACE( "mysqlc::ODatabaseMetaData::%s", _methodName);
@@ -139,10 +132,8 @@ OUString ODatabaseMetaData::impl_getStringMetaData(const sal_Char* _methodName,
}
return stringMetaData;
}
-/* }}} */
-/* {{{ ODatabaseMetaData::impl_getStringMetaData() -I- */
OUString ODatabaseMetaData::impl_getStringMetaData(const sal_Char* _methodName, const sql::SQLString& (sql::DatabaseMetaData::*_Method)() )
{
OSL_TRACE( "mysqlc::ODatabaseMetaData::%s", _methodName);
@@ -158,10 +149,8 @@ OUString ODatabaseMetaData::impl_getStringMetaData(const sal_Char* _methodName,
}
return stringMetaData;
}
-/* }}} */
-/* {{{ ODatabaseMetaData::impl_getStringMetaData() -I- */
OUString ODatabaseMetaData::impl_getStringMetaData(const sal_Char* _methodName, sql::SQLString (sql::DatabaseMetaData::*_Method)() )
{
OSL_TRACE( "mysqlc::ODatabaseMetaData::%s", _methodName);
@@ -177,10 +166,8 @@ OUString ODatabaseMetaData::impl_getStringMetaData(const sal_Char* _methodName,
}
return stringMetaData;
}
-/* }}} */
-/* {{{ ODatabaseMetaData::impl_getInt32MetaData() -I- */
sal_Int32 ODatabaseMetaData::impl_getInt32MetaData(const sal_Char* _methodName, unsigned int (sql::DatabaseMetaData::*_Method)() )
{
OSL_TRACE( "mysqlc::ODatabaseMetaData::%s", _methodName);
@@ -196,10 +183,8 @@ sal_Int32 ODatabaseMetaData::impl_getInt32MetaData(const sal_Char* _methodName,
}
return int32MetaData;
}
-/* }}} */
-/* {{{ ODatabaseMetaData::impl_getBoolMetaData() -I- */
bool ODatabaseMetaData::impl_getBoolMetaData(const sal_Char* _methodName, bool (sql::DatabaseMetaData::*_Method)() )
{
OSL_TRACE( "mysqlc::ODatabaseMetaData::%s", _methodName);
@@ -215,10 +200,8 @@ bool ODatabaseMetaData::impl_getBoolMetaData(const sal_Char* _methodName, bool (
}
return boolMetaData;
}
-/* }}} */
-/* {{{ ODatabaseMetaData::impl_getBoolMetaData() -I- */
bool ODatabaseMetaData::impl_getBoolMetaData(const sal_Char* _methodName, bool (sql::DatabaseMetaData::*_Method)(int), sal_Int32 _arg )
{
OSL_TRACE( "mysqlc::ODatabaseMetaData::%s", _methodName);
@@ -234,10 +217,8 @@ bool ODatabaseMetaData::impl_getBoolMetaData(const sal_Char* _methodName, bool (
}
return boolMetaData;
}
-/* }}} */
-/* {{{ ODatabaseMetaData::impl_getRSTypeMetaData() -I- */
bool ODatabaseMetaData::impl_getRSTypeMetaData(const sal_Char* _methodName, bool (sql::DatabaseMetaData::*_Method)(int), sal_Int32 _resultSetType )
{
int resultSetType(sql::ResultSet::TYPE_FORWARD_ONLY);
@@ -248,234 +229,182 @@ bool ODatabaseMetaData::impl_getRSTypeMetaData(const sal_Char* _methodName, bool
return impl_getBoolMetaData(_methodName, _Method, resultSetType);
}
-/* }}} */
-/* {{{ ODatabaseMetaData::getCatalogSeparator() -I- */
OUString SAL_CALL ODatabaseMetaData::getCatalogSeparator()
throw(SQLException, RuntimeException, std::exception)
{
return impl_getStringMetaData("getCatalogSeparator", &sql::DatabaseMetaData::getCatalogSeparator);
}
-/* }}} */
-/* {{{ ODatabaseMetaData::getMaxBinaryLiteralLength() -I- */
sal_Int32 SAL_CALL ODatabaseMetaData::getMaxBinaryLiteralLength()
throw(SQLException, RuntimeException, std::exception)
{
return impl_getInt32MetaData("getMaxBinaryLiteralLength", &sql::DatabaseMetaData::getMaxBinaryLiteralLength);
}
-/* }}} */
-/* {{{ ODatabaseMetaData::getMaxRowSize() -I- */
sal_Int32 SAL_CALL ODatabaseMetaData::getMaxRowSize()
throw(SQLException, RuntimeException, std::exception)
{
return impl_getInt32MetaData("getMaxRowSize", &sql::DatabaseMetaData::getMaxRowSize);
}
-/* }}} */
-/* {{{ ODatabaseMetaData::getMaxCatalogNameLength() -I- */
sal_Int32 SAL_CALL ODatabaseMetaData::getMaxCatalogNameLength()
throw(SQLException, RuntimeException, std::exception)
{
return impl_getInt32MetaData("getMaxCatalogNameLength", &sql::DatabaseMetaData::getMaxCatalogNameLength);
}
-/* }}} */
-/* {{{ ODatabaseMetaData::getMaxCharLiteralLength() -I- */
sal_Int32 SAL_CALL ODatabaseMetaData::getMaxCharLiteralLength()
throw(SQLException, RuntimeException, std::exception)
{
return impl_getInt32MetaData("getMaxCharLiteralLength", &sql::DatabaseMetaData::getMaxCharLiteralLength);
}
-/* }}} */
-/* {{{ ODatabaseMetaData::getMaxColumnNameLength() -I- */
sal_Int32 SAL_CALL ODatabaseMetaData::getMaxColumnNameLength()
throw(SQLException, RuntimeException, std::exception)
{
return impl_getInt32MetaData("getMaxColumnNameLength", &sql::DatabaseMetaData::getMaxColumnNameLength);
}
-/* }}} */
-/* {{{ ODatabaseMetaData::getMaxColumnsInIndex() -I- */
sal_Int32 SAL_CALL ODatabaseMetaData::getMaxColumnsInIndex()
throw(SQLException, RuntimeException, std::exception)
{
return impl_getInt32MetaData("getMaxColumnsInIndex", &sql::DatabaseMetaData::getMaxColumnsInIndex);
}
-/* }}} */
-/* {{{ ODatabaseMetaData::getMaxCursorNameLength() -I- */
sal_Int32 SAL_CALL ODatabaseMetaData::getMaxCursorNameLength()
throw(SQLException, RuntimeException, std::exception)
{
return impl_getInt32MetaData("getMaxCursorNameLength", &sql::DatabaseMetaData::getMaxCursorNameLength);
}
-/* }}} */
-/* {{{ ODatabaseMetaData::getMaxConnections() -I- */
sal_Int32 SAL_CALL ODatabaseMetaData::getMaxConnections()
throw(SQLException, RuntimeException, std::exception)
{
return impl_getInt32MetaData("getMaxConnections", &sql::DatabaseMetaData::getMaxConnections);
}
-/* }}} */
-/* {{{ ODatabaseMetaData::getMaxColumnsInTable() -I- */
sal_Int32 SAL_CALL ODatabaseMetaData::getMaxColumnsInTable()
throw(SQLException, RuntimeException, std::exception)
{
return impl_getInt32MetaData("getMaxColumnsInTable", &sql::DatabaseMetaData::getMaxColumnsInTable);
}
-/* }}} */
-/* {{{ ODatabaseMetaData::getMaxStatementLength() -I- */
sal_Int32 SAL_CALL ODatabaseMetaData::getMaxStatementLength()
throw(SQLException, RuntimeException, std::exception)
{
return impl_getInt32MetaData("getMaxStatementLength", &sql::DatabaseMetaData::getMaxStatementLength);
}
-/* }}} */
-/* {{{ ODatabaseMetaData::getMaxTableNameLength() -I- */
sal_Int32 SAL_CALL ODatabaseMetaData::getMaxTableNameLength()
throw(SQLException, RuntimeException, std::exception)
{
return impl_getInt32MetaData("getMaxTableNameLength", &sql::DatabaseMetaData::getMaxTableNameLength);
}
-/* }}} */
-/* {{{ ODatabaseMetaData::getMaxTablesInSelect() -I- */
sal_Int32 SAL_CALL ODatabaseMetaData::getMaxTablesInSelect()
throw(SQLException, RuntimeException, std::exception)
{
return impl_getInt32MetaData("getMaxTablesInSelect", &sql::DatabaseMetaData::getMaxTablesInSelect);
}
-/* }}} */
-/* {{{ ODatabaseMetaData::doesMaxRowSizeIncludeBlobs() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::doesMaxRowSizeIncludeBlobs()
throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("doesMaxRowSizeIncludeBlobs", &sql::DatabaseMetaData::doesMaxRowSizeIncludeBlobs);
}
-/* }}} */
-/* {{{ ODatabaseMetaData::storesLowerCaseQuotedIdentifiers() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::storesLowerCaseQuotedIdentifiers()
throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("storesLowerCaseQuotedIdentifiers", &sql::DatabaseMetaData::storesLowerCaseQuotedIdentifiers);
}
-/* }}} */
-/* {{{ ODatabaseMetaData::storesLowerCaseIdentifiers() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::storesLowerCaseIdentifiers()
throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("storesLowerCaseIdentifiers", &sql::DatabaseMetaData::storesLowerCaseIdentifiers);
}
-/* }}} */
-/* {{{ ODatabaseMetaData::storesMixedCaseQuotedIdentifiers() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::storesMixedCaseQuotedIdentifiers()
throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("storesMixedCaseQuotedIdentifiers", &sql::DatabaseMetaData::storesMixedCaseQuotedIdentifiers);
}
-/* }}} */
-/* {{{ ODatabaseMetaData::storesMixedCaseIdentifiers() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::storesMixedCaseIdentifiers()
throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("storesMixedCaseIdentifiers", &sql::DatabaseMetaData::storesMixedCaseIdentifiers);
}
-/* }}} */
-/* {{{ ODatabaseMetaData::storesUpperCaseQuotedIdentifiers() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::storesUpperCaseQuotedIdentifiers()
throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("storesUpperCaseQuotedIdentifiers", &sql::DatabaseMetaData::storesUpperCaseQuotedIdentifiers);
}
-/* }}} */
-/* {{{ ODatabaseMetaData::storesUpperCaseIdentifiers() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::storesUpperCaseIdentifiers()
throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("storesUpperCaseIdentifiers", &sql::DatabaseMetaData::storesUpperCaseIdentifiers);
}
-/* }}} */
-/* {{{ ODatabaseMetaData::supportsAlterTableWithAddColumn() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::supportsAlterTableWithAddColumn()
throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsAlterTableWithAddColumn", &sql::DatabaseMetaData::supportsAlterTableWithAddColumn);
}
-/* }}} */
-/* {{{ ODatabaseMetaData::supportsAlterTableWithDropColumn() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::supportsAlterTableWithDropColumn()
throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsAlterTableWithDropColumn", &sql::DatabaseMetaData::supportsAlterTableWithDropColumn);
}
-/* }}} */
-/* {{{ ODatabaseMetaData::getMaxIndexLength() -I- */
sal_Int32 SAL_CALL ODatabaseMetaData::getMaxIndexLength()
throw(SQLException, RuntimeException, std::exception)
{
return impl_getInt32MetaData("getMaxIndexLength", &sql::DatabaseMetaData::getMaxIndexLength);
}
-/* }}} */
-/* {{{ ODatabaseMetaData::supportsNonNullableColumns() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::supportsNonNullableColumns()
throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsNonNullableColumns", &sql::DatabaseMetaData::supportsNonNullableColumns);
}
-/* }}} */
-/* {{{ ODatabaseMetaData::getCatalogTerm() -I- */
OUString SAL_CALL ODatabaseMetaData::getCatalogTerm()
throw(SQLException, RuntimeException, std::exception)
{
return impl_getStringMetaData("getCatalogTerm", &sql::DatabaseMetaData::getCatalogTerm);
}
-/* }}} */
-/* {{{ ODatabaseMetaData::getIdentifierQuoteString() -I- */
OUString SAL_CALL ODatabaseMetaData::getIdentifierQuoteString()
throw(SQLException, RuntimeException, std::exception)
{
@@ -485,361 +414,281 @@ OUString SAL_CALL ODatabaseMetaData::getIdentifierQuoteString()
}
return identifier_quote_string;
}
-/* }}} */
-/* {{{ ODatabaseMetaData::getExtraNameCharacters() -I- */
OUString SAL_CALL ODatabaseMetaData::getExtraNameCharacters()
throw(SQLException, RuntimeException, std::exception)
{
return impl_getStringMetaData("getExtraNameCharacters", &sql::DatabaseMetaData::getExtraNameCharacters);
}
-/* }}} */
-/* {{{ ODatabaseMetaData::supportsDifferentTableCorrelationNames() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::supportsDifferentTableCorrelationNames()
throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsDifferentTableCorrelationNames", &sql::DatabaseMetaData::supportsDifferentTableCorrelationNames);
}
-/* }}} */
-/* {{{ ODatabaseMetaData::isCatalogAtStart() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::isCatalogAtStart()
throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("isCatalogAtStart", &sql::DatabaseMetaData::isCatalogAtStart);
}
-/* }}} */
-/* {{{ ODatabaseMetaData::dataDefinitionIgnoredInTransactions() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::dataDefinitionIgnoredInTransactions()
throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("dataDefinitionIgnoredInTransactions", &sql::DatabaseMetaData::dataDefinitionIgnoredInTransactions);
}
-/* }}} */
-/* {{{ ODatabaseMetaData::dataDefinitionCausesTransactionCommit() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::dataDefinitionCausesTransactionCommit()
throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("dataDefinitionCausesTransactionCommit", &sql::DatabaseMetaData::dataDefinitionCausesTransactionCommit);
}
-/* }}} */
-/* {{{ ODatabaseMetaData::supportsDataManipulationTransactionsOnly() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::supportsDataManipulationTransactionsOnly()
throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsDataManipulationTransactionsOnly", &sql::DatabaseMetaData::supportsDataManipulationTransactionsOnly);
}
-/* }}} */
-/* {{{ ODatabaseMetaData::supportsDataDefinitionAndDataManipulationTransactions() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::supportsDataDefinitionAndDataManipulationTransactions()
throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsDataDefinitionAndDataManipulationTransactions", &sql::DatabaseMetaData::supportsDataDefinitionAndDataManipulationTransactions);
}
-/* }}} */
-/* {{{ ODatabaseMetaData::supportsPositionedDelete() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::supportsPositionedDelete()
throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsPositionedDelete", &sql::DatabaseMetaData::supportsPositionedDelete);
}
-/* }}} */
-/* {{{ ODatabaseMetaData::supportsPositionedUpdate() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::supportsPositionedUpdate()
throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsPositionedUpdate", &sql::DatabaseMetaData::supportsPositionedUpdate);
}
-/* }}} */
-/* {{{ ODatabaseMetaData::supportsOpenStatementsAcrossRollback() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::supportsOpenStatementsAcrossRollback()
throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsOpenStatementsAcrossRollback", &sql::DatabaseMetaData::supportsOpenStatementsAcrossRollback);
}
-/* }}} */
-/* {{{ ODatabaseMetaData::supportsOpenStatementsAcrossCommit() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::supportsOpenStatementsAcrossCommit()
throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsOpenStatementsAcrossCommit", &sql::DatabaseMetaData::supportsOpenStatementsAcrossCommit);
}
-/* }}} */
-/* {{{ ODatabaseMetaData::supportsOpenCursorsAcrossCommit() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::supportsOpenCursorsAcrossCommit()
throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsOpenCursorsAcrossCommit", &sql::DatabaseMetaData::supportsOpenCursorsAcrossCommit);
}
-/* }}} */
-/* {{{ ODatabaseMetaData::supportsOpenCursorsAcrossRollback() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::supportsOpenCursorsAcrossRollback()
throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsOpenCursorsAcrossRollback", &sql::DatabaseMetaData::supportsOpenCursorsAcrossRollback);
}
-/* }}} */
-/* {{{ ODatabaseMetaData::supportsTransactionIsolationLevel() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::supportsTransactionIsolationLevel(sal_Int32 level)
throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsTransactionIsolationLevel", &sql::DatabaseMetaData::supportsTransactionIsolationLevel, level);
}
-/* }}} */
-/* {{{ ODatabaseMetaData::supportsSchemasInDataManipulation() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::supportsSchemasInDataManipulation()
throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsSchemasInDataManipulation", &sql::DatabaseMetaData::supportsSchemasInDataManipulation);
}
-/* }}} */
-/* {{{ ODatabaseMetaData::supportsANSI92FullSQL() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::supportsANSI92FullSQL()
throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsANSI92FullSQL", &sql::DatabaseMetaData::supportsANSI92FullSQL);
}
-/* }}} */
-/* {{{ ODatabaseMetaData::supportsANSI92EntryLevelSQL() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::supportsANSI92EntryLevelSQL()
throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsANSI92EntryLevelSQL", &sql::DatabaseMetaData::supportsANSI92EntryLevelSQL);
}
-/* }}} */
-/* {{{ ODatabaseMetaData::supportsIntegrityEnhancementFacility() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::supportsIntegrityEnhancementFacility()
throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsIntegrityEnhancementFacility", &sql::DatabaseMetaData::supportsIntegrityEnhancementFacility);
}
-/* }}} */
-/* {{{ ODatabaseMetaData::supportsSchemasInIndexDefinitions() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::supportsSchemasInIndexDefinitions()
throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsSchemasInIndexDefinitions", &sql::DatabaseMetaData::supportsSchemasInIndexDefinitions);
}
-/* }}} */
-/* {{{ ODatabaseMetaData::supportsSchemasInTableDefinitions() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::supportsSchemasInTableDefinitions()
throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsSchemasInTableDefinitions", &sql::DatabaseMetaData::supportsSchemasInTableDefinitions);
}
-/* }}} */
-/* {{{ ODatabaseMetaData::supportsCatalogsInTableDefinitions() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::supportsCatalogsInTableDefinitions()
throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsCatalogsInTableDefinitions", &sql::DatabaseMetaData::supportsCatalogsInTableDefinitions);
}
-/* }}} */
-/* {{{ ODatabaseMetaData::supportsCatalogsInIndexDefinitions() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::supportsCatalogsInIndexDefinitions()
throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsCatalogsInIndexDefinitions", &sql::DatabaseMetaData::supportsCatalogsInIndexDefinitions);
}
-/* }}} */
-/* {{{ ODatabaseMetaData::supportsCatalogsInDataManipulation() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::supportsCatalogsInDataManipulation()
throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsCatalogsInDataManipulation", &sql::DatabaseMetaData::supportsCatalogsInDataManipulation);
}
-/* }}} */
-/* {{{ ODatabaseMetaData::supportsOuterJoins() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::supportsOuterJoins()
throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsOuterJoins", &sql::DatabaseMetaData::supportsOuterJoins);
}
-/* }}} */
-/* {{{ ODatabaseMetaData::getMaxStatements() -I- */
sal_Int32 SAL_CALL ODatabaseMetaData::getMaxStatements()
throw(SQLException, RuntimeException, std::exception)
{
return impl_getInt32MetaData("getMaxStatements", &sql::DatabaseMetaData::getMaxStatements);
}
-/* }}} */
-/* {{{ ODatabaseMetaData::getMaxProcedureNameLength() -I- */
sal_Int32 SAL_CALL ODatabaseMetaData::getMaxProcedureNameLength()
throw(SQLException, RuntimeException, std::exception)
{
return impl_getInt32MetaData("getMaxProcedureNameLength", &sql::DatabaseMetaData::getMaxProcedureNameLength);
}
-/* }}} */
-/* {{{ ODatabaseMetaData::getMaxSchemaNameLength() -I- */
sal_Int32 SAL_CALL ODatabaseMetaData::getMaxSchemaNameLength()
throw(SQLException, RuntimeException, std::exception)
{
return impl_getInt32MetaData("getMaxSchemaNameLength", &sql::DatabaseMetaData::getMaxSchemaNameLength);
}
-/* }}} */
-/* {{{ ODatabaseMetaData::supportsTransactions() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::supportsTransactions()
throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsTransactions", &sql::DatabaseMetaData::supportsTransactions);
}
-/* }}} */
-/* {{{ ODatabaseMetaData::allProceduresAreCallable() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::allProceduresAreCallable()
throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("allProceduresAreCallable", &sql::DatabaseMetaData::allProceduresAreCallable);
}
-/* }}} */
-/* {{{ ODatabaseMetaData::supportsStoredProcedures() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::supportsStoredProcedures()
throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsStoredProcedures", &sql::DatabaseMetaData::supportsStoredProcedures);
}
-/* }}} */
-/* {{{ ODatabaseMetaData::supportsSelectForUpdate() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::supportsSelectForUpdate()
throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsSelectForUpdate", &sql::DatabaseMetaData::supportsSelectForUpdate);
}
-/* }}} */
-/* {{{ ODatabaseMetaData::allTablesAreSelectable() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::allTablesAreSelectable()
throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("allTablesAreSelectable", &sql::DatabaseMetaData::allTablesAreSelectable);
}
-/* }}} */
-/* {{{ ODatabaseMetaData::isReadOnly() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::isReadOnly()
throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("isReadOnly", &sql::DatabaseMetaData::isReadOnly);
}
-/* }}} */
-/* {{{ ODatabaseMetaData::usesLocalFiles() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::usesLocalFiles()
throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("usesLocalFiles", &sql::DatabaseMetaData::usesLocalFiles);
}
-/* }}} */
-/* {{{ ODatabaseMetaData::usesLocalFilePerTable() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::usesLocalFilePerTable()
throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("usesLocalFilePerTable", &sql::DatabaseMetaData::usesLocalFilePerTable);
}
-/* }}} */
-/* {{{ ODatabaseMetaData::supportsTypeConversion() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::supportsTypeConversion()
throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsTypeConversion", &sql::DatabaseMetaData::supportsTypeConversion);
}
-/* }}} */
-/* {{{ ODatabaseMetaData::nullPlusNonNullIsNull() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::nullPlusNonNullIsNull()
throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("nullPlusNonNullIsNull", &sql::DatabaseMetaData::nullPlusNonNullIsNull);
}
-/* }}} */
-/* {{{ ODatabaseMetaData::supportsColumnAliasing() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::supportsColumnAliasing()
throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsColumnAliasing", &sql::DatabaseMetaData::supportsColumnAliasing);
}
-/* }}} */
-/* {{{ ODatabaseMetaData::supportsTableCorrelationNames() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::supportsTableCorrelationNames()
throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsTableCorrelationNames", &sql::DatabaseMetaData::supportsTableCorrelationNames);
}
-/* }}} */
-/* {{{ ODatabaseMetaData::supportsConvert() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::supportsConvert(sal_Int32 /* fromType */, sal_Int32 /* toType */)
throw(SQLException, RuntimeException, std::exception)
{
@@ -856,263 +705,205 @@ sal_Bool SAL_CALL ODatabaseMetaData::supportsConvert(sal_Int32 /* fromType */, s
}
return sal_False;
}
-/* }}} */
-/* {{{ ODatabaseMetaData::supportsExpressionsInOrderBy() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::supportsExpressionsInOrderBy()
throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsExpressionsInOrderBy", &sql::DatabaseMetaData::supportsExpressionsInOrderBy);
}
-/* }}} */
-/* {{{ ODatabaseMetaData::supportsGroupBy() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::supportsGroupBy()
throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsGroupBy", &sql::DatabaseMetaData::supportsGroupBy);
}
-/* }}} */
-/* {{{ ODatabaseMetaData::supportsGroupByBeyondSelect() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::supportsGroupByBeyondSelect()
throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsGroupByBeyondSelect", &sql::DatabaseMetaData::supportsGroupByBeyondSelect);
}
-/* }}} */
-/* {{{ ODatabaseMetaData::supportsGroupByUnrelated() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::supportsGroupByUnrelated()
throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsGroupByUnrelated", &sql::DatabaseMetaData::supportsGroupByUnrelated);
}
-/* }}} */
-/* {{{ ODatabaseMetaData::supportsMultipleTransactions() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::supportsMultipleTransactions()
throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsMultipleTransactions", &sql::DatabaseMetaData::supportsMultipleTransactions);
}
-/* }}} */
-/* {{{ ODatabaseMetaData::supportsMultipleResultSets() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::supportsMultipleResultSets()
throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsMultipleResultSets", &sql::DatabaseMetaData::supportsMultipleResultSets);
}
-/* }}} */
-/* {{{ ODatabaseMetaData::supportsLikeEscapeClause() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::supportsLikeEscapeClause()
throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsLikeEscapeClause", &sql::DatabaseMetaData::supportsLikeEscapeClause);
}
-/* }}} */
-/* {{{ ODatabaseMetaData::supportsOrderByUnrelated() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::supportsOrderByUnrelated()
throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsOrderByUnrelated", &sql::DatabaseMetaData::supportsOrderByUnrelated);
}
-/* }}} */
-/* {{{ ODatabaseMetaData::supportsUnion() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::supportsUnion()
throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsUnion", &sql::DatabaseMetaData::supportsUnion);
}
-/* }}} */
-/* {{{ ODatabaseMetaData::supportsUnionAll() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::supportsUnionAll()
throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsUnionAll", &sql::DatabaseMetaData::supportsUnionAll);
}
-/* }}} */
-/* {{{ ODatabaseMetaData::supportsMixedCaseIdentifiers() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::supportsMixedCaseIdentifiers()
throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsMixedCaseIdentifiers", &sql::DatabaseMetaData::supportsMixedCaseIdentifiers);
}
-/* }}} */
-/* {{{ ODatabaseMetaData::supportsMixedCaseQuotedIdentifiers() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::supportsMixedCaseQuotedIdentifiers()
throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsMixedCaseQuotedIdentifiers", &sql::DatabaseMetaData::supportsMixedCaseQuotedIdentifiers);
}
-/* }}} */
-/* {{{ ODatabaseMetaData::nullsAreSortedAtEnd() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::nullsAreSortedAtEnd()
throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("nullsAreSortedAtEnd", &sql::DatabaseMetaData::nullsAreSortedAtEnd);
}
-/* }}} */
-/* {{{ ODatabaseMetaData::nullsAreSortedAtStart() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::nullsAreSortedAtStart()
throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("nullsAreSortedAtStart", &sql::DatabaseMetaData::nullsAreSortedAtStart);
}
-/* }}} */
-/* {{{ ODatabaseMetaData::nullsAreSortedHigh() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::nullsAreSortedHigh()
throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("nullsAreSortedHigh", &sql::DatabaseMetaData::nullsAreSortedHigh);
}
-/* }}} */
-/* {{{ ODatabaseMetaData::nullsAreSortedLow() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::nullsAreSortedLow()
throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("nullsAreSortedLow", &sql::DatabaseMetaData::nullsAreSortedLow);
}
-/* }}} */
-/* {{{ ODatabaseMetaData::supportsSchemasInProcedureCalls() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::supportsSchemasInProcedureCalls()
throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsSchemasInProcedureCalls", &sql::DatabaseMetaData::supportsSchemasInProcedureCalls);
}
-/* }}} */
-/* {{{ ODatabaseMetaData::supportsSchemasInPrivilegeDefinitions() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::supportsSchemasInPrivilegeDefinitions()
throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsSchemasInPrivilegeDefinitions", &sql::DatabaseMetaData::supportsSchemasInPrivilegeDefinitions);
}
-/* }}} */
-/* {{{ ODatabaseMetaData::supportsCatalogsInProcedureCalls() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::supportsCatalogsInProcedureCalls()
throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsCatalogsInProcedureCalls", &sql::DatabaseMetaData::supportsCatalogsInProcedureCalls);
}
-/* }}} */
-/* {{{ ODatabaseMetaData::supportsCatalogsInPrivilegeDefinitions() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::supportsCatalogsInPrivilegeDefinitions()
throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsCatalogsInPrivilegeDefinitions", &sql::DatabaseMetaData::supportsCatalogsInPrivilegeDefinitions);
}
-/* }}} */
-/* {{{ ODatabaseMetaData::supportsCorrelatedSubqueries() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::supportsCorrelatedSubqueries()
throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsCorrelatedSubqueries", &sql::DatabaseMetaData::supportsCorrelatedSubqueries);
}
-/* }}} */
-/* {{{ ODatabaseMetaData::supportsSubqueriesInComparisons() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::supportsSubqueriesInComparisons()
throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsSubqueriesInComparisons", &sql::DatabaseMetaData::supportsSubqueriesInComparisons);
}
-/* }}} */
-/* {{{ ODatabaseMetaData::supportsSubqueriesInExists() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::supportsSubqueriesInExists()
throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsSubqueriesInExists", &sql::DatabaseMetaData::supportsSubqueriesInExists);
}
-/* }}} */
-/* {{{ ODatabaseMetaData::supportsSubqueriesInIns() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::supportsSubqueriesInIns()
throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsSubqueriesInIns", &sql::DatabaseMetaData::supportsSubqueriesInIns);
}
-/* }}} */
-/* {{{ ODatabaseMetaData::supportsSubqueriesInQuantifieds() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::supportsSubqueriesInQuantifieds()
throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsSubqueriesInQuantifieds", &sql::DatabaseMetaData::supportsSubqueriesInQuantifieds);
}
-/* }}} */
-/* {{{ ODatabaseMetaData::supportsANSI92IntermediateSQL() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::supportsANSI92IntermediateSQL()
throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsANSI92IntermediateSQL", &sql::DatabaseMetaData::supportsANSI92IntermediateSQL);
}
-/* }}} */
-/* {{{ ODatabaseMetaData::getURL() -I- */
OUString SAL_CALL ODatabaseMetaData::getURL()
throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("ODatabaseMetaData::getURL");
return m_rConnection.getConnectionSettings().connectionURL;
}
-/* }}} */
-/* {{{ ODatabaseMetaData::getUserName() -I- */
OUString SAL_CALL ODatabaseMetaData::getUserName()
throw(SQLException, RuntimeException, std::exception)
{
return impl_getStringMetaData("getUserName", &sql::DatabaseMetaData::getUserName);
}
-/* }}} */
-/* {{{ ODatabaseMetaData::getDriverName() -I- */
OUString SAL_CALL ODatabaseMetaData::getDriverName()
throw(SQLException, RuntimeException, std::exception)
{
@@ -1120,10 +911,8 @@ OUString SAL_CALL ODatabaseMetaData::getDriverName()
OUString aValue( "MySQL Connector/OO.org" );
return aValue;
}
-/* }}} */
-/* {{{ ODatabaseMetaData::getDriverVersion() -I- */
OUString SAL_CALL ODatabaseMetaData::getDriverVersion()
throw(SQLException, RuntimeException, std::exception)
{
@@ -1131,56 +920,44 @@ OUString SAL_CALL ODatabaseMetaData::getDriverVersion()
static const OUString sVersion( "0.9.2" );
return sVersion;
}
-/* }}} */
-/* {{{ ODatabaseMetaData::getDatabaseProductVersion() -I- */
OUString SAL_CALL ODatabaseMetaData::getDatabaseProductVersion()
throw(SQLException, RuntimeException, std::exception)
{
return impl_getStringMetaData("getDatabaseProductVersion", &sql::DatabaseMetaData::getDatabaseProductVersion);
}
-/* }}} */
-/* {{{ ODatabaseMetaData::getDatabaseProductName() -I- */
OUString SAL_CALL ODatabaseMetaData::getDatabaseProductName()
throw(SQLException, RuntimeException, std::exception)
{
return impl_getStringMetaData("getDatabaseProductName", &sql::DatabaseMetaData::getDatabaseProductName);
}
-/* }}} */
-/* {{{ ODatabaseMetaData::getProcedureTerm() -I- */
OUString SAL_CALL ODatabaseMetaData::getProcedureTerm()
throw(SQLException, RuntimeException, std::exception)
{
return impl_getStringMetaData("getProcedureTerm", &sql::DatabaseMetaData::getProcedureTerm);
}
-/* }}} */
-/* {{{ ODatabaseMetaData::getSchemaTerm() -I- */
OUString SAL_CALL ODatabaseMetaData::getSchemaTerm()
throw(SQLException, RuntimeException, std::exception)
{
return impl_getStringMetaData("getSchemaTerm", &sql::DatabaseMetaData::getSchemaTerm);
}
-/* }}} */
-/* {{{ ODatabaseMetaData::getDriverMajorVersion() -I- */
sal_Int32 SAL_CALL ODatabaseMetaData::getDriverMajorVersion()
throw(RuntimeException, std::exception)
{
OSL_TRACE("ODatabaseMetaData::getDriverMajorVersion");
return MARIADBC_VERSION_MAJOR;
}
-/* }}} */
-/* {{{ ODatabaseMetaData::getDefaultTransactionIsolation() -I- */
sal_Int32 SAL_CALL ODatabaseMetaData::getDefaultTransactionIsolation()
throw(SQLException, RuntimeException, std::exception)
{
@@ -1201,164 +978,128 @@ sal_Int32 SAL_CALL ODatabaseMetaData::getDefaultTransactionIsolation()
}
return TransactionIsolation::NONE;
}
-/* }}} */
-/* {{{ ODatabaseMetaData::getDriverMinorVersion() -I- */
sal_Int32 SAL_CALL ODatabaseMetaData::getDriverMinorVersion()
throw(RuntimeException, std::exception)
{
OSL_TRACE("ODatabaseMetaData::getDriverMinorVersion");
return MARIADBC_VERSION_MINOR;
}
-/* }}} */
-/* {{{ ODatabaseMetaData::getSQLKeywords() -I- */
OUString SAL_CALL ODatabaseMetaData::getSQLKeywords()
throw(SQLException, RuntimeException, std::exception)
{
return impl_getStringMetaData("getSQLKeywords", &sql::DatabaseMetaData::getSQLKeywords);
}
-/* }}} */
-/* {{{ ODatabaseMetaData::getSearchStringEscape() -I- */
OUString SAL_CALL ODatabaseMetaData::getSearchStringEscape()
throw(SQLException, RuntimeException, std::exception)
{
return impl_getStringMetaData("getSearchStringEscape", &sql::DatabaseMetaData::getSearchStringEscape);
}
-/* }}} */
-/* {{{ ODatabaseMetaData::getStringFunctions() -I- */
OUString SAL_CALL ODatabaseMetaData::getStringFunctions()
throw(SQLException, RuntimeException, std::exception)
{
return impl_getStringMetaData("getStringFunctions", &sql::DatabaseMetaData::getStringFunctions);
}
-/* }}} */
-/* {{{ ODatabaseMetaData::getTimeDateFunctions() -I- */
OUString SAL_CALL ODatabaseMetaData::getTimeDateFunctions()
throw(SQLException, RuntimeException, std::exception)
{
return impl_getStringMetaData("getTimeDateFunctions", &sql::DatabaseMetaData::getTimeDateFunctions);
}
-/* }}} */
-/* {{{ ODatabaseMetaData::getSystemFunctions() -I- */
OUString SAL_CALL ODatabaseMetaData::getSystemFunctions()
throw(SQLException, RuntimeException, std::exception)
{
return impl_getStringMetaData("getSystemFunctions", &sql::DatabaseMetaData::getSystemFunctions);
}
-/* }}} */
-/* {{{ ODatabaseMetaData::getNumericFunctions() -I- */
OUString SAL_CALL ODatabaseMetaData::getNumericFunctions()
throw(SQLException, RuntimeException, std::exception)
{
return impl_getStringMetaData("getNumericFunctions", &sql::DatabaseMetaData::getNumericFunctions);
}
-/* }}} */
-/* {{{ ODatabaseMetaData::supportsExtendedSQLGrammar() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::supportsExtendedSQLGrammar()
throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsExtendedSQLGrammar", &sql::DatabaseMetaData::supportsExtendedSQLGrammar);
}
-/* }}} */
-/* {{{ ODatabaseMetaData::supportsCoreSQLGrammar() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::supportsCoreSQLGrammar()
throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsCoreSQLGrammar", &sql::DatabaseMetaData::supportsCoreSQLGrammar);
}
-/* }}} */
-/* {{{ ODatabaseMetaData::supportsMinimumSQLGrammar() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::supportsMinimumSQLGrammar()
throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsMinimumSQLGrammar", &sql::DatabaseMetaData::supportsMinimumSQLGrammar);
}
-/* }}} */
-/* {{{ ODatabaseMetaData::supportsFullOuterJoins() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::supportsFullOuterJoins()
throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsFullOuterJoins", &sql::DatabaseMetaData::supportsFullOuterJoins);
}
-/* }}} */
-/* {{{ ODatabaseMetaData::supportsLimitedOuterJoins() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::supportsLimitedOuterJoins()
throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsLimitedOuterJoins", &sql::DatabaseMetaData::supportsLimitedOuterJoins);
}
-/* }}} */
-/* {{{ ODatabaseMetaData::getMaxColumnsInGroupBy() -I- */
sal_Int32 SAL_CALL ODatabaseMetaData::getMaxColumnsInGroupBy()
throw(SQLException, RuntimeException, std::exception)
{
return impl_getInt32MetaData("getMaxColumnsInGroupBy", &sql::DatabaseMetaData::getMaxColumnsInGroupBy);
}
-/* }}} */
-/* {{{ ODatabaseMetaData::getMaxColumnsInOrderBy() -I- */
sal_Int32 SAL_CALL ODatabaseMetaData::getMaxColumnsInOrderBy()
throw(SQLException, RuntimeException, std::exception)
{
return impl_getInt32MetaData("getMaxColumnsInOrderBy", &sql::DatabaseMetaData::getMaxColumnsInOrderBy);
}
-/* }}} */
-/* {{{ ODatabaseMetaData::getMaxColumnsInSelect() -I- */
sal_Int32 SAL_CALL ODatabaseMetaData::getMaxColumnsInSelect()
throw(SQLException, RuntimeException, std::exception)
{
return impl_getInt32MetaData("getMaxColumnsInSelect", &sql::DatabaseMetaData::getMaxColumnsInSelect);
}
-/* }}} */
-/* {{{ ODatabaseMetaData::getMaxUserNameLength() -I- */
sal_Int32 SAL_CALL ODatabaseMetaData::getMaxUserNameLength()
throw(SQLException, RuntimeException, std::exception)
{
return impl_getInt32MetaData("getMaxUserNameLength", &sql::DatabaseMetaData::getMaxUserNameLength);
}
-/* }}} */
-/* {{{ ODatabaseMetaData::supportsResultSetType() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::supportsResultSetType(sal_Int32 setType)
throw(SQLException, RuntimeException, std::exception)
{
return impl_getRSTypeMetaData("supportsResultSetType", &sql::DatabaseMetaData::supportsResultSetType, setType);
}
-/* }}} */
-/* {{{ ODatabaseMetaData::supportsResultSetConcurrency() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::supportsResultSetConcurrency(sal_Int32 setType, sal_Int32 concurrency)
throw(SQLException, RuntimeException, std::exception)
{
@@ -1378,107 +1119,84 @@ sal_Bool SAL_CALL ODatabaseMetaData::supportsResultSetConcurrency(sal_Int32 setT
}
return sal_False;
}
-/* }}} */
-/* {{{ ODatabaseMetaData::ownUpdatesAreVisible() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::ownUpdatesAreVisible(sal_Int32 setType)
throw(SQLException, RuntimeException, std::exception)
{
return impl_getRSTypeMetaData("ownUpdatesAreVisible", &sql::DatabaseMetaData::ownUpdatesAreVisible, setType);
}
-/* }}} */
-/* {{{ ODatabaseMetaData::ownDeletesAreVisible() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::ownDeletesAreVisible(sal_Int32 setType)
throw(SQLException, RuntimeException, std::exception)
{
return impl_getRSTypeMetaData("ownDeletesAreVisible", &sql::DatabaseMetaData::ownDeletesAreVisible, setType);
}
-/* }}} */
-/* {{{ ODatabaseMetaData::ownInsertsAreVisible() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::ownInsertsAreVisible(sal_Int32 setType)
throw(SQLException, RuntimeException, std::exception)
{
return impl_getRSTypeMetaData("ownInsertsAreVisible", &sql::DatabaseMetaData::ownInsertsAreVisible, setType);
}
-/* }}} */
-/* {{{ ODatabaseMetaData::othersUpdatesAreVisible() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::othersUpdatesAreVisible(sal_Int32 setType)
throw(SQLException, RuntimeException, std::exception)
{
return impl_getRSTypeMetaData("othersUpdatesAreVisible", &sql::DatabaseMetaData::othersUpdatesAreVisible, setType);
}
-/* }}} */
-/* {{{ ODatabaseMetaData::othersDeletesAreVisible() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::othersDeletesAreVisible(sal_Int32 setType)
throw(SQLException, RuntimeException, std::exception)
{
return impl_getRSTypeMetaData("othersDeletesAreVisible", &sql::DatabaseMetaData::othersDeletesAreVisible, setType);
}
-/* }}} */
-/* {{{ ODatabaseMetaData::othersInsertsAreVisible() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::othersInsertsAreVisible(sal_Int32 setType)
throw(SQLException, RuntimeException, std::exception)
{
return impl_getRSTypeMetaData("othersInsertsAreVisible", &sql::DatabaseMetaData::othersInsertsAreVisible, setType);
}
-/* }}} */
-/* {{{ ODatabaseMetaData::updatesAreDetected() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::updatesAreDetected(sal_Int32 setType)
throw(SQLException, RuntimeException, std::exception)
{
return impl_getRSTypeMetaData("updatesAreDetected", &sql::DatabaseMetaData::updatesAreDetected, setType);
}
-/* }}} */
-/* {{{ ODatabaseMetaData::deletesAreDetected() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::deletesAreDetected(sal_Int32 setType)
throw(SQLException, RuntimeException, std::exception)
{
return impl_getRSTypeMetaData("deletesAreDetected", &sql::DatabaseMetaData::deletesAreDetected, setType);
}
-/* }}} */
-/* {{{ ODatabaseMetaData::insertsAreDetected() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::insertsAreDetected(sal_Int32 setType)
throw(SQLException, RuntimeException, std::exception)
{
return impl_getRSTypeMetaData("insertsAreDetected", &sql::DatabaseMetaData::insertsAreDetected, setType);
}
-/* }}} */
-/* {{{ ODatabaseMetaData::supportsBatchUpdates() -I- */
sal_Bool SAL_CALL ODatabaseMetaData::supportsBatchUpdates()
throw(SQLException, RuntimeException, std::exception)
{
return impl_getBoolMetaData("supportsBatchUpdates", &sql::DatabaseMetaData::supportsBatchUpdates);
}
-/* }}} */
-/* {{{ ODatabaseMetaData::getConnection() -I- */
Reference< XConnection > SAL_CALL ODatabaseMetaData::getConnection()
throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("ODatabaseMetaData::getConnection");
return (Reference< XConnection >)&m_rConnection;
}
-/* }}} */
/*
@@ -1488,7 +1206,6 @@ Reference< XConnection > SAL_CALL ODatabaseMetaData::getConnection()
the general way is more memory expensive
*/
-/* {{{ ODatabaseMetaData::getTableTypes() -I- */
Reference< XResultSet > SAL_CALL ODatabaseMetaData::getTableTypes()
throw(SQLException, RuntimeException, std::exception)
{
@@ -1510,10 +1227,8 @@ Reference< XResultSet > SAL_CALL ODatabaseMetaData::getTableTypes()
lcl_setRows_throw(xResultSet, 5 ,rRows);
return xResultSet;
}
-/* }}} */
-/* {{{ ODatabaseMetaData::getTypeInfo() -I- */
Reference< XResultSet > SAL_CALL ODatabaseMetaData::getTypeInfo()
throw(SQLException, RuntimeException, std::exception)
{
@@ -1553,10 +1268,8 @@ Reference< XResultSet > SAL_CALL ODatabaseMetaData::getTypeInfo()
lcl_setRows_throw(xResultSet, 14, rRows);
return xResultSet;
}
-/* }}} */
-/* {{{ ODatabaseMetaData::getCatalogs() -I- */
Reference< XResultSet > SAL_CALL ODatabaseMetaData::getCatalogs()
throw(SQLException, RuntimeException, std::exception)
{
@@ -1588,10 +1301,8 @@ Reference< XResultSet > SAL_CALL ODatabaseMetaData::getCatalogs()
lcl_setRows_throw(xResultSet, 0, rRows);
return xResultSet;
}
-/* }}} */
-/* {{{ ODatabaseMetaData::getSchemas() -I- */
Reference< XResultSet > SAL_CALL ODatabaseMetaData::getSchemas()
throw(SQLException, RuntimeException, std::exception)
{
@@ -1630,10 +1341,8 @@ Reference< XResultSet > SAL_CALL ODatabaseMetaData::getSchemas()
lcl_setRows_throw(xResultSet, 1, rRows);
return xResultSet;
}
-/* }}} */
-/* {{{ ODatabaseMetaData::getColumnPrivileges() -I- */
Reference< XResultSet > SAL_CALL ODatabaseMetaData::getColumnPrivileges(
const Any& catalog,
const OUString& schema,
@@ -1673,10 +1382,8 @@ Reference< XResultSet > SAL_CALL ODatabaseMetaData::getColumnPrivileges(
lcl_setRows_throw(xResultSet, 2, rRows);
return xResultSet;
}
-/* }}} */
-/* {{{ ODatabaseMetaData::getColumns() -I- */
Reference< XResultSet > SAL_CALL ODatabaseMetaData::getColumns(
const Any& catalog,
const OUString& schemaPattern,
@@ -1722,10 +1429,8 @@ Reference< XResultSet > SAL_CALL ODatabaseMetaData::getColumns(
lcl_setRows_throw(xResultSet, 3, rRows);
return xResultSet;
}
-/* }}} */
-/* {{{ ODatabaseMetaData::getTables() -I- */
Reference< XResultSet > SAL_CALL ODatabaseMetaData::getTables(
const Any& catalog,
const OUString& schemaPattern,
@@ -1784,10 +1489,8 @@ Reference< XResultSet > SAL_CALL ODatabaseMetaData::getTables(
lcl_setRows_throw(xResultSet, 4, rRows);
return xResultSet;
}
-/* }}} */
-/* {{{ ODatabaseMetaData::getProcedureColumns() -I- */
Reference< XResultSet > SAL_CALL ODatabaseMetaData::getProcedureColumns(
const Any& /* catalog */,
const OUString& /* schemaPattern */,
@@ -1799,10 +1502,8 @@ Reference< XResultSet > SAL_CALL ODatabaseMetaData::getProcedureColumns(
// Currently there is no information available
return NULL;
}
-/* }}} */
-/* {{{ ODatabaseMetaData::getProcedures() -I- */
Reference< XResultSet > SAL_CALL ODatabaseMetaData::getProcedures(
const Any& catalog,
const OUString& schemaPattern,
@@ -1844,10 +1545,8 @@ Reference< XResultSet > SAL_CALL ODatabaseMetaData::getProcedures(
lcl_setRows_throw(xResultSet, 7,rRows);
return xResultSet;
}
-/* }}} */
-/* {{{ ODatabaseMetaData::getVersionColumns() -I- */
Reference< XResultSet > SAL_CALL ODatabaseMetaData::getVersionColumns(
const Any& /* catalog */,
const OUString& /* schema */,
@@ -1860,10 +1559,8 @@ Reference< XResultSet > SAL_CALL ODatabaseMetaData::getVersionColumns(
lcl_setRows_throw(xResultSet, 16,rRows);
return xResultSet;
}
-/* }}} */
-/* {{{ ODatabaseMetaData::getExportedKeys() -I- */
Reference< XResultSet > SAL_CALL ODatabaseMetaData::getExportedKeys(
const Any& catalog ,
const OUString& schema ,
@@ -1900,10 +1597,8 @@ Reference< XResultSet > SAL_CALL ODatabaseMetaData::getExportedKeys(
lcl_setRows_throw(xResultSet, 8, rRows);
return xResultSet;
}
-/* }}} */
-/* {{{ ODatabaseMetaData::getImportedKeys() -I- */
Reference< XResultSet > SAL_CALL ODatabaseMetaData::getImportedKeys(
const Any& catalog,
const OUString& schema,
@@ -1942,10 +1637,8 @@ Reference< XResultSet > SAL_CALL ODatabaseMetaData::getImportedKeys(
lcl_setRows_throw(xResultSet,9,rRows);
return xResultSet;
}
-/* }}} */
-/* {{{ ODatabaseMetaData::getPrimaryKeys() -I- */
Reference< XResultSet > SAL_CALL ODatabaseMetaData::getPrimaryKeys(
const Any& catalog,
const OUString& schema,
@@ -1983,10 +1676,8 @@ Reference< XResultSet > SAL_CALL ODatabaseMetaData::getPrimaryKeys(
lcl_setRows_throw(xResultSet, 10, rRows);
return xResultSet;
}
-/* }}} */
-/* {{{ ODatabaseMetaData::getIndexInfo() -I- */
Reference< XResultSet > SAL_CALL ODatabaseMetaData::getIndexInfo(
const Any& catalog,
const OUString& schema,
@@ -2026,10 +1717,8 @@ Reference< XResultSet > SAL_CALL ODatabaseMetaData::getIndexInfo(
lcl_setRows_throw(xResultSet, 11, rRows);
return xResultSet;
}
-/* }}} */
-/* {{{ ODatabaseMetaData::getBestRowIdentifier() -I- */
Reference< XResultSet > SAL_CALL ODatabaseMetaData::getBestRowIdentifier(
const Any& catalog,
const OUString& schema,
@@ -2069,10 +1758,8 @@ Reference< XResultSet > SAL_CALL ODatabaseMetaData::getBestRowIdentifier(
lcl_setRows_throw(xResultSet, 15, rRows);
return xResultSet;
}
-/* }}} */
-/* {{{ ODatabaseMetaData::getTablePrivileges() -I- */
Reference< XResultSet > SAL_CALL ODatabaseMetaData::getTablePrivileges(
const Any& catalog,
const OUString& schemaPattern,
@@ -2131,10 +1818,8 @@ Reference< XResultSet > SAL_CALL ODatabaseMetaData::getTablePrivileges(
lcl_setRows_throw(xResultSet,12,rRows);
return xResultSet;
}
-/* }}} */
-/* {{{ ODatabaseMetaData::getCrossReference() -I- */
Reference< XResultSet > SAL_CALL ODatabaseMetaData::getCrossReference(
const Any& primaryCatalog,
const OUString& primarySchema,
@@ -2178,10 +1863,8 @@ Reference< XResultSet > SAL_CALL ODatabaseMetaData::getCrossReference(
lcl_setRows_throw(xResultSet,13,rRows);
return xResultSet;
}
-/* }}} */
-/* {{{ ODatabaseMetaData::getUDTs() -I- */
Reference< XResultSet > SAL_CALL ODatabaseMetaData::getUDTs(
const Any& /* catalog */,
const OUString& /* schemaPattern */,
@@ -2193,7 +1876,6 @@ Reference< XResultSet > SAL_CALL ODatabaseMetaData::getUDTs(
mysqlc_sdbc_driver::throwFeatureNotImplementedException("ODatabaseMetaData::getUDTs", *this);
return NULL;
}
-/* }}} */
/*
* Local variables:
diff --git a/mysqlc/source/mysqlc_driver.cxx b/mysqlc/source/mysqlc_driver.cxx
index 70ab582..1c39fc2 100644
--- a/mysqlc/source/mysqlc_driver.cxx
+++ b/mysqlc/source/mysqlc_driver.cxx
@@ -41,7 +41,6 @@ using namespace connectivity::mysqlc;
#include <mysql_driver.h>
#endif
-/* {{{ MysqlCDriver::MysqlCDriver() -I- */
MysqlCDriver::MysqlCDriver(const Reference< XMultiServiceFactory >& _rxFactory)
: ODriver_BASE(m_aMutex)
,m_xFactory(_rxFactory)
@@ -53,9 +52,7 @@ MysqlCDriver::MysqlCDriver(const Reference< XMultiServiceFactory >& _rxFactory)
OSL_TRACE("MysqlCDriver::MysqlCDriver");
cppDriver = NULL;
}
-/* }}} */
-/* {{{ MysqlCDriver::disposing() -I- */
void MysqlCDriver::disposing()
{
OSL_TRACE("MysqlCDriver::disposing");
@@ -73,19 +70,15 @@ void MysqlCDriver::disposing()
ODriver_BASE::disposing();
}
-/* }}} */
// static ServiceInfo
-/* {{{ MysqlCDriver::getImplementationName_Static() -I- */
OUString MysqlCDriver::getImplementationName_Static()
throw(RuntimeException)
{
OSL_TRACE("MysqlCDriver::getImplementationName_Static");
return OUString( "com.sun.star.comp.sdbc.mysqlc.MysqlCDriver" );
}
-/* }}} */
-/* {{{ MysqlCDriver::getSupportedServiceNames_Static() -I- */
Sequence< OUString > MysqlCDriver::getSupportedServiceNames_Static()
throw(RuntimeException)
{
@@ -96,33 +89,27 @@ Sequence< OUString > MysqlCDriver::getSupportedServiceNames_Static()
aSNS[0] = "com.sun.star.sdbc.Driver";
return aSNS;
}
-/* }}} */
-/* {{{ MysqlCDriver::getImplementationName() -I- */
OUString SAL_CALL MysqlCDriver::getImplementationName()
throw(RuntimeException, std::exception)
{
OSL_TRACE("MysqlCDriver::getImplementationName");
return getImplementationName_Static();
}
-/* }}} */
sal_Bool SAL_CALL MysqlCDriver::supportsService(const OUString& _rServiceName)
throw(RuntimeException, std::exception)
{
return cppu::supportsService(this, _rServiceName);
}
-/* }}} */
-/* {{{ MysqlCDriver::getSupportedServiceNames() -I- */
Sequence< OUString > SAL_CALL MysqlCDriver::getSupportedServiceNames()
throw(RuntimeException, std::exception)
{
OSL_TRACE("MysqlCDriver::getSupportedServiceNames");
return getSupportedServiceNames_Static();
}
-/* }}} */
extern "C" { static void SAL_CALL thisModule() {} }
@@ -203,7 +190,6 @@ void MysqlCDriver::impl_initCppConn_lck_throw()
}
}
-/* {{{ MysqlCDriver::connect() -I- */
Reference< XConnection > SAL_CALL MysqlCDriver::connect(const OUString& url, const Sequence< PropertyValue >& info)
throw(SQLException, RuntimeException, std::exception)
{
@@ -236,18 +222,14 @@ Reference< XConnection > SAL_CALL MysqlCDriver::connect(const OUString& url, con
}
return xConn;
}
-/* }}} */
-/* {{{ MysqlCDriver::acceptsURL() -I- */
sal_Bool SAL_CALL MysqlCDriver::acceptsURL(const OUString& url)
throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("MysqlCDriver::acceptsURL");
return url.startsWith("sdbc:mysqlc:");
}
-/* }}} */
-/* {{{ MysqlCDriver::getPropertyInfo() -I- */
Sequence< DriverPropertyInfo > SAL_CALL MysqlCDriver::getPropertyInfo(const OUString& url, const Sequence< PropertyValue >& /* info */)
throw(SQLException, RuntimeException, std::exception)
{
@@ -274,25 +256,20 @@ Sequence< DriverPropertyInfo > SAL_CALL MysqlCDriver::getPropertyInfo(const OUSt
return Sequence< DriverPropertyInfo >();
}
-/* }}} */
-/* {{{ MysqlCDriver::getMajorVersion() -I- */
sal_Int32 SAL_CALL MysqlCDriver::getMajorVersion()
throw(RuntimeException, std::exception)
{
OSL_TRACE("MysqlCDriver::getMajorVersion");
return MARIADBC_VERSION_MAJOR;
}
-/* }}} */
-/* {{{ MysqlCDriver::getMinorVersion() -I- */
sal_Int32 SAL_CALL MysqlCDriver::getMinorVersion()
throw(RuntimeException, std::exception)
{
OSL_TRACE("MysqlCDriver::getMinorVersion");
return MARIADBC_VERSION_MINOR;
}
-/* }}} */
namespace connectivity
{
@@ -305,7 +282,6 @@ Reference< XInterface > SAL_CALL MysqlCDriver_CreateInstance(const Reference< X
return(*(new MysqlCDriver(_rxFactory)));
}
-/* {{{ connectivity::mysqlc::release() -I- */
void release(oslInterlockedCount& _refCount,
::cppu::OBroadcastHelper& rBHelper,
Reference< XInterface >& _xInterface,
@@ -339,9 +315,7 @@ void release(oslInterlockedCount& _refCount,
osl_atomic_increment(&_refCount);
}
}
-/* }}} */
-/* {{{ connectivity::mysqlc::checkDisposed() -I- */
void checkDisposed(bool _bThrow)
throw (DisposedException)
{
@@ -349,7 +323,6 @@ void checkDisposed(bool _bThrow)
throw DisposedException();
}
}
-/* }}} */
} /* mysqlc */
} /* connectivity */
diff --git a/mysqlc/source/mysqlc_preparedstatement.cxx b/mysqlc/source/mysqlc_preparedstatement.cxx
index 6ec219d..1d9b94c 100644
--- a/mysqlc/source/mysqlc_preparedstatement.cxx
+++ b/mysqlc/source/mysqlc_preparedstatement.cxx
@@ -51,13 +51,11 @@ using ::osl::MutexGuard;
using mysqlc_sdbc_driver::getStringFromAny;
-/* {{{ my_i_to_a() -I- */
static inline char * my_i_to_a(char * buf, size_t buf_size, int a)
{
snprintf(buf, buf_size, "%d", a);
return buf;
}
-/* }}} */
OUString OPreparedStatement::getImplementationName()
throw (css::uno::RuntimeException, std::exception)
@@ -79,7 +77,6 @@ sal_Bool OPreparedStatement::supportsService(OUString const & ServiceName)
return cppu::supportsService(this, ServiceName);
}
-/* {{{ OPreparedStatement::OPreparedStatement() -I- */
OPreparedStatement::OPreparedStatement(OConnection* _pConnection, sql::PreparedStatement * _cppPrepStmt)
:OCommonStatement(_pConnection, _cppPrepStmt)
{
@@ -93,38 +90,30 @@ OPreparedStatement::OPreparedStatement(OConnection* _pConnection, sql::PreparedS
mysqlc_sdbc_driver::translateAndThrow(e, *this, m_pConnection->getConnectionEncoding());
}
}
-/* }}} */
-/* {{{ OPreparedStatement::~OPreparedStatement() -I- */
OPreparedStatement::~OPreparedStatement()
{
OSL_TRACE("OPreparedStatement::~OPreparedStatement");
}
-/* }}} */
-/* {{{ OPreparedStatement::acquire() -I- */
void SAL_CALL OPreparedStatement::acquire()
throw()
{
OSL_TRACE("OPreparedStatement::acquire");
OCommonStatement::acquire();
}
-/* }}} */
-/* {{{ OPreparedStatement::release() -I- */
void SAL_CALL OPreparedStatement::release()
throw()
{
OSL_TRACE("OPreparedStatement::release");
OCommonStatement::release();
}
-/* }}} */
-/* {{{ OPreparedStatement::queryInterface() -I- */
Any SAL_CALL OPreparedStatement::queryInterface(const Type & rType)
throw(RuntimeException, std::exception)
{
@@ -135,20 +124,16 @@ Any SAL_CALL OPreparedStatement::queryInterface(const Type & rType)
}
return (aRet);
}
-/* }}} */
-/* {{{ OPreparedStatement::getPropertySetInfo() -I- */
Sequence< Type > SAL_CALL OPreparedStatement::getTypes()
throw(RuntimeException, std::exception)
{
OSL_TRACE("OPreparedStatement::getTypes");
return concatSequences(OPreparedStatement_BASE::getTypes(), OCommonStatement::getTypes());
}
-/* }}} */
-/* {{{ OPreparedStatement::getMetaData() -I- */
Reference< XResultSetMetaData > SAL_CALL OPreparedStatement::getMetaData()
throw(SQLException, RuntimeException, std::exception)
{
@@ -170,10 +155,8 @@ Reference< XResultSetMetaData > SAL_CALL OPreparedStatement::getMetaData()
}
return m_xMetaData;
}
-/* }}} */
-/* {{{ OPreparedStatement::close() -I- */
void SAL_CALL OPreparedStatement::close()
throw(SQLException, RuntimeException, std::exception)
{
@@ -193,10 +176,8 @@ void SAL_CALL OPreparedStatement::close()
// Remove this Statement object from the Connection object's
// list
}
-/* }}} */
-/* {{{ OPreparedStatement::execute() -I- */
sal_Bool SAL_CALL OPreparedStatement::execute()
throw(SQLException, RuntimeException, std::exception)
{
@@ -212,10 +193,8 @@ sal_Bool SAL_CALL OPreparedStatement::execute()
}
return success;
}
-/* }}} */
-/* {{{ OPreparedStatement::executeUpdate() -I- */
sal_Int32 SAL_CALL OPreparedStatement::executeUpdate()
throw(SQLException, RuntimeException, std::exception)
{
@@ -231,10 +210,8 @@ sal_Int32 SAL_CALL OPreparedStatement::executeUpdate()
}
return affectedRows;
}
-/* }}} */
-/* {{{ OPreparedStatement::getPropertySetInfo() -I- */
void SAL_CALL OPreparedStatement::setString(sal_Int32 parameter, const OUString& x)
throw(SQLException, RuntimeException, std::exception)
{
@@ -252,10 +229,8 @@ void SAL_CALL OPreparedStatement::setString(sal_Int32 parameter, const OUString&
mysqlc_sdbc_driver::translateAndThrow(e, *this, m_pConnection->getConnectionEncoding());
}
}
-/* }}} */
-/* {{{ OPreparedStatement::getConnection() -I- */
Reference< XConnection > SAL_CALL OPreparedStatement::getConnection()
throw(SQLException, RuntimeException, std::exception)
{
@@ -265,7 +240,6 @@ Reference< XConnection > SAL_CALL OPreparedStatement::getConnection()
return (Reference< XConnection >)m_pConnection;
}
-/* }}} */
Reference< XResultSet > SAL_CALL OPreparedStatement::executeQuery(const OUString& sql)
throw(SQLException, RuntimeException, std::exception)
@@ -285,7 +259,6 @@ sal_Bool SAL_CALL OPreparedStatement::execute( const OUString& sql )
return OCommonStatement::execute( sql );
}
-/* {{{ OPreparedStatement::executeQuery() -I- */
Reference< XResultSet > SAL_CALL OPreparedStatement::executeQuery()
throw(SQLException, RuntimeException, std::exception)
{
@@ -302,10 +275,8 @@ Reference< XResultSet > SAL_CALL OPreparedStatement::executeQuery()
}
return xResultSet;
}
-/* }}} */
-/* {{{ OPreparedStatement::setBoolean() -I- */
void SAL_CALL OPreparedStatement::setBoolean(sal_Int32 parameter, sal_Bool x)
throw(SQLException, RuntimeException, std::exception)
{
@@ -322,10 +293,8 @@ void SAL_CALL OPreparedStatement::setBoolean(sal_Int32 parameter, sal_Bool x)
mysqlc_sdbc_driver::translateAndThrow(e, *this, m_pConnection->getConnectionEncoding());
}
}
-/* }}} */
-/* {{{ OPreparedStatement::setByte() -I- */
void SAL_CALL OPreparedStatement::setByte(sal_Int32 parameter, sal_Int8 x)
throw(SQLException, RuntimeException, std::exception)
{
@@ -342,10 +311,8 @@ void SAL_CALL OPreparedStatement::setByte(sal_Int32 parameter, sal_Int8 x)
mysqlc_sdbc_driver::translateAndThrow(e, *this, m_pConnection->getConnectionEncoding());
}
}
-/* }}} */
-/* {{{ OPreparedStatement::setDate() -I- */
void SAL_CALL OPreparedStatement::setDate(sal_Int32 parameter, const Date& aData)
throw(SQLException, RuntimeException, std::exception)
{
@@ -370,10 +337,8 @@ void SAL_CALL OPreparedStatement::setDate(sal_Int32 parameter, const Date& aData
mysqlc_sdbc_driver::translateAndThrow(e, *this, m_pConnection->getConnectionEncoding());
}
}
-/* }}} */
-/* {{{ OPreparedStatement::setTime() -I- */
void SAL_CALL OPreparedStatement::setTime(sal_Int32 parameter, const Time& aVal)
throw(SQLException, RuntimeException, std::exception)
{
@@ -398,10 +363,8 @@ void SAL_CALL OPreparedStatement::setTime(sal_Int32 parameter, const Time& aVal)
mysqlc_sdbc_driver::translateAndThrow(e, *this, m_pConnection->getConnectionEncoding());
}
}
-/* }}} */
-/* {{{ OPreparedStatement::setTimestamp() -I- */
void SAL_CALL OPreparedStatement::setTimestamp(sal_Int32 parameter, const DateTime& aVal)
throw(SQLException, RuntimeException, std::exception)
{
@@ -434,10 +397,8 @@ void SAL_CALL OPreparedStatement::setTimestamp(sal_Int32 parameter, const DateTi
mysqlc_sdbc_driver::translateAndThrow(e, *this, m_pConnection->getConnectionEncoding());
}
}
-/* }}} */
-/* {{{ OPreparedStatement::setDouble() -I- */
void SAL_CALL OPreparedStatement::setDouble(sal_Int32 parameter, double x)
throw(SQLException, RuntimeException, std::exception)
{
@@ -454,10 +415,8 @@ void SAL_CALL OPreparedStatement::setDouble(sal_Int32 parameter, double x)
mysqlc_sdbc_driver::translateAndThrow(e, *this, m_pConnection->getConnectionEncoding());
}
}
-/* }}} */
-/* {{{ OPreparedStatement::setFloat() -I- */
void SAL_CALL OPreparedStatement::setFloat(sal_Int32 parameter, float x)
throw(SQLException, RuntimeException, std::exception)
{
@@ -474,10 +433,8 @@ void SAL_CALL OPreparedStatement::setFloat(sal_Int32 parameter, float x)
mysqlc_sdbc_driver::translateAndThrow(e, *this, m_pConnection->getConnectionEncoding());
}
}
-/* }}} */
-/* {{{ OPreparedStatement::setInt() -I- */
void SAL_CALL OPreparedStatement::setInt(sal_Int32 parameter, sal_Int32 x)
throw(SQLException, RuntimeException, std::exception)
{
@@ -494,10 +451,8 @@ void SAL_CALL OPreparedStatement::setInt(sal_Int32 parameter, sal_Int32 x)
mysqlc_sdbc_driver::translateAndThrow(e, *this, m_pConnection->getConnectionEncoding());
}
}
-/* }}} */
-/* {{{ OPreparedStatement::setLong() -I- */
void SAL_CALL OPreparedStatement::setLong(sal_Int32 parameter, sal_Int64 aVal)
throw(SQLException, RuntimeException, std::exception)
{
@@ -514,10 +469,8 @@ void SAL_CALL OPreparedStatement::setLong(sal_Int32 parameter, sal_Int64 aVal)
mysqlc_sdbc_driver::translateAndThrow(e, *this, m_pConnection->getConnectionEncoding());
}
}
-/* }}} */
-/* {{{ OPreparedStatement::setNull() -I- */
void SAL_CALL OPreparedStatement::setNull(sal_Int32 parameter, sal_Int32 sqlType)
throw(SQLException, RuntimeException, std::exception)
{
@@ -534,10 +487,8 @@ void SAL_CALL OPreparedStatement::setNull(sal_Int32 parameter, sal_Int32 sqlType
mysqlc_sdbc_driver::translateAndThrow(e, *this, m_pConnection->getConnectionEncoding());
}
}
-/* }}} */
-/* {{{ OPreparedStatement::setClob() -U- */
void SAL_CALL OPreparedStatement::setClob(sal_Int32 parameter, const Reference< XClob >& /* x */)
throw(SQLException, RuntimeException, std::exception)
{
@@ -548,10 +499,8 @@ void SAL_CALL OPreparedStatement::setClob(sal_Int32 parameter, const Reference<
mysqlc_sdbc_driver::throwFeatureNotImplementedException("OPreparedStatement::setClob", *this);
}
-/* }}} */
-/* {{{ OPreparedStatement::setBlob() -U- */
void SAL_CALL OPreparedStatement::setBlob(sal_Int32 parameter, const Reference< XBlob >& /* x */)
throw(SQLException, RuntimeException, std::exception)
{
@@ -562,10 +511,8 @@ void SAL_CALL OPreparedStatement::setBlob(sal_Int32 parameter, const Reference<
mysqlc_sdbc_driver::throwFeatureNotImplementedException("OPreparedStatement::setBlob", *this);
}
-/* }}} */
-/* {{{ OPreparedStatement::setArray() -U- */
void SAL_CALL OPreparedStatement::setArray(sal_Int32 parameter, const Reference< XArray >& /* x */)
throw(SQLException, RuntimeException, std::exception)
{
@@ -576,10 +523,8 @@ void SAL_CALL OPreparedStatement::setArray(sal_Int32 parameter, const Reference<
mysqlc_sdbc_driver::throwFeatureNotImplementedException("OPreparedStatement::setArray", *this);
}
-/* }}} */
-/* {{{ OPreparedStatement::setRef() -U- */
void SAL_CALL OPreparedStatement::setRef(sal_Int32 parameter, const Reference< XRef >& /* x */)
throw(SQLException, RuntimeException, std::exception)
{
@@ -590,7 +535,6 @@ void SAL_CALL OPreparedStatement::setRef(sal_Int32 parameter, const Reference< X
mysqlc_sdbc_driver::throwFeatureNotImplementedException("OPreparedStatement::setRef", *this);
}
-/* }}} */
namespace
{
@@ -621,7 +565,6 @@ namespace
}
}
-/* {{{ OPreparedStatement::setObjectWithInfo() -U- */
void SAL_CALL OPreparedStatement::setObjectWithInfo(sal_Int32 _parameterIndex, const Any& _value, sal_Int32 _targetSqlType, sal_Int32 /* scale */)
throw(SQLException, RuntimeException, std::exception)
{
@@ -755,10 +698,8 @@ void SAL_CALL OPreparedStatement::setObjectWithInfo(sal_Int32 _parameterIndex, c
break;
}
}
-/* }}} */
-/* {{{ OPreparedStatement::setObjectNull() -U- */
void SAL_CALL OPreparedStatement::setObjectNull(sal_Int32 parameter, sal_Int32 /* sqlType */, const OUString& /* typeName */)
throw(SQLException, RuntimeException, std::exception)
{
@@ -769,10 +710,8 @@ void SAL_CALL OPreparedStatement::setObjectNull(sal_Int32 parameter, sal_Int32 /
mysqlc_sdbc_driver::throwFeatureNotImplementedException("OPreparedStatement::setObjectNull", *this);
}
-/* }}} */
-/* {{{ OPreparedStatement::setObject() -U- */
void SAL_CALL OPreparedStatement::setObject(sal_Int32 parameter, const Any& /* x */)
throw(SQLException, RuntimeException, std::exception)
{
@@ -783,10 +722,8 @@ void SAL_CALL OPreparedStatement::setObject(sal_Int32 parameter, const Any& /* x
mysqlc_sdbc_driver::throwFeatureNotImplementedException("OPreparedStatement::setObject", *this);
}
-/* }}} */
-/* {{{ OPreparedStatement::setShort() -I- */
void SAL_CALL OPreparedStatement::setShort(sal_Int32 parameter, sal_Int16 x)
throw(SQLException, RuntimeException, std::exception)
{
@@ -803,10 +740,8 @@ void SAL_CALL OPreparedStatement::setShort(sal_Int32 parameter, sal_Int16 x)
mysqlc_sdbc_driver::translateAndThrow(e, *this, m_pConnection->getConnectionEncoding());
}
}
-/* }}} */
-/* {{{ OPreparedStatement::setBytes() -I- */
void SAL_CALL OPreparedStatement::setBytes(sal_Int32 parameter, const Sequence< sal_Int8 >& x)
throw(SQLException, RuntimeException, std::exception)
{
@@ -824,10 +759,8 @@ void SAL_CALL OPreparedStatement::setBytes(sal_Int32 parameter, const Sequence<
mysqlc_sdbc_driver::translateAndThrow(e, *this, m_pConnection->getConnectionEncoding());
}
}
-/* }}} */
-/* {{{ OPreparedStatement::setCharacterStream() -U- */
void SAL_CALL OPreparedStatement::setCharacterStream(sal_Int32 parameter,
const Reference< XInputStream >& /* x */,
sal_Int32 /* length */)
@@ -840,10 +773,8 @@ void SAL_CALL OPreparedStatement::setCharacterStream(sal_Int32 parameter,
mysqlc_sdbc_driver::throwFeatureNotImplementedException("OPreparedStatement::setCharacterStream", *this);
}
-/* }}} */
-/* {{{ OPreparedStatement::setBinaryStream() -U- */
void SAL_CALL OPreparedStatement::setBinaryStream(sal_Int32 parameter,
const Reference< XInputStream >& /* x */,
sal_Int32 /* length */)
@@ -856,10 +787,8 @@ void SAL_CALL OPreparedStatement::setBinaryStream(sal_Int32 parameter,
mysqlc_sdbc_driver::throwFeatureNotImplementedException("OPreparedStatement::setBinaryStream", *this);
}
-/* }}} */
-/* {{{ OPreparedStatement::clearParameters() -I- */
void SAL_CALL OPreparedStatement::clearParameters()
throw(SQLException, RuntimeException, std::exception)
{
@@ -875,30 +804,24 @@ void SAL_CALL OPreparedStatement::clearParameters()
mysqlc_sdbc_driver::translateAndThrow(e, *this, m_pConnection->getConnectionEncoding());
}
}
-/* }}} */
-/* {{{ OPreparedStatement::clearBatch() -U- */
void SAL_CALL OPreparedStatement::clearBatch()
throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OPreparedStatement::clearBatch");
mysqlc_sdbc_driver::throwFeatureNotImplementedException("OPreparedStatement::clearBatch", *this);
}
-/* }}} */
-/* {{{ OPreparedStatement::addBatch() -U- */
void SAL_CALL OPreparedStatement::addBatch()
throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OPreparedStatement::addBatch");
mysqlc_sdbc_driver::throwFeatureNotImplementedException("OPreparedStatement::addBatch", *this);
}
-/* }}} */
-/* {{{ OPreparedStatement::executeBatch() -I- */
Sequence< sal_Int32 > SAL_CALL OPreparedStatement::executeBatch()
throw(SQLException, RuntimeException, std::exception)
{
@@ -906,10 +829,8 @@ Sequence< sal_Int32 > SAL_CALL OPreparedStatement::executeBatch()
Sequence< sal_Int32 > aRet= Sequence< sal_Int32 > ();
return aRet;
}
-/* }}} */
-/* {{{ OPreparedStatement::setFastPropertyValue_NoBroadcast() -I- */
void OPreparedStatement::setFastPropertyValue_NoBroadcast(sal_Int32 nHandle,const Any& rValue)
throw(Exception, std::exception)
{
@@ -929,10 +850,8 @@ void OPreparedStatement::setFastPropertyValue_NoBroadcast(sal_Int32 nHandle,cons
OPreparedStatement::setFastPropertyValue_NoBroadcast(nHandle,rValue);
}
}
-/* }}} */
-/* {{{ OPreparedStatement::checkParameterIndex() -I- */
void OPreparedStatement::checkParameterIndex(sal_Int32 column)
{
OSL_TRACE("OPreparedStatement::checkColumnIndex");
@@ -941,7 +860,6 @@ void OPreparedStatement::checkParameterIndex(sal_Int32 column)
throw SQLException(buf, *this, OUString(), 1, Any ());
}
}
-/* }}} */
/*
diff --git a/mysqlc/source/mysqlc_propertyids.cxx b/mysqlc/source/mysqlc_propertyids.cxx
index ee59375..084be3b 100644
--- a/mysqlc/source/mysqlc_propertyids.cxx
+++ b/mysqlc/source/mysqlc_propertyids.cxx
@@ -86,7 +86,6 @@ const sal_Char* getSTR_DELIMITER() { return "/"; }
-/* {{{ OPropertyMap::~OPropertyMap() -I- */
OPropertyMap::~OPropertyMap()
{
::std::map<sal_Int32 , rtl_uString*>::iterator aIter = m_aPropertyMap.begin();
@@ -96,10 +95,8 @@ OPropertyMap::~OPropertyMap()
}
}
}
-/* }}} */
-/* {{{ OPropertyMap::getNameByIndex() -I- */
OUString OPropertyMap::getNameByIndex(sal_Int32 idx) const
{
OUString sRet;
@@ -111,7 +108,6 @@ OUString OPropertyMap::getNameByIndex(sal_Int32 idx) const
}
return sRet;
}
-/* }}} */
typedef const sal_Char * (*property_callback)();
@@ -174,7 +170,6 @@ static const property_callback property_callbacks[PROPERTY_ID_LAST] =
};
-/* {{{ OPropertyMap::fillValue() -I- */
OUString OPropertyMap::fillValue(sal_Int32 idx)
{
rtl_uString* pStr = NULL;
@@ -182,7 +177,6 @@ OUString OPropertyMap::fillValue(sal_Int32 idx)
m_aPropertyMap[idx] = pStr;
return pStr;
}
-/* }}} */
} /* mysqlc */
} /* connectivity */
diff --git a/mysqlc/source/mysqlc_resultset.cxx b/mysqlc/source/mysqlc_resultset.cxx
index 3541ec2..8f08097 100644
--- a/mysqlc/source/mysqlc_resultset.cxx
+++ b/mysqlc/source/mysqlc_resultset.cxx
@@ -49,16 +49,13 @@ using ::osl::MutexGuard;
#include <stdio.h>
-/* {{{ OResultSet::getImplementationName() -I- */
OUString SAL_CALL OResultSet::getImplementationName()
throw (RuntimeException, std::exception)
{
OSL_TRACE("OResultSet::getImplementationName");
return OUString( "com.sun.star.sdbcx.mysqlc.ResultSet" );
}
-/* }}} */
-/* {{{ OResultSet::getSupportedServiceNames() -I- */
Sequence< OUString > SAL_CALL OResultSet::getSupportedServiceNames()
throw(RuntimeException, std::exception)
{
@@ -68,16 +65,13 @@ Sequence< OUString > SAL_CALL OResultSet::getSupportedServiceNames()
aSupported[1] = "com.sun.star.sdbcx.ResultSet";
return (aSupported);
}
-/* }}} */
sal_Bool SAL_CALL OResultSet::supportsService(const OUString& _rServiceName)
throw(RuntimeException, std::exception)
{
return cppu::supportsService(this, _rServiceName);
}
-/* }}} */
-/* {{{ OResultSet::OResultSet() -I- */
OResultSet::OResultSet(OCommonStatement * pStmt, sql::ResultSet * result, rtl_TextEncoding _encoding )
: OResultSet_BASE(m_aMutex)
,OPropertySetHelper(OResultSet_BASE::rBHelper)
@@ -95,16 +89,12 @@ OResultSet::OResultSet(OCommonStatement * pStmt, sql::ResultSet * result, rtl_Te
mysqlc_sdbc_driver::translateAndThrow(e, *this, m_encoding);
}
}
-/* }}} */
-/* {{{ OResultSet::~OResultSet() -I- */
OResultSet::~OResultSet()
{
OSL_TRACE("OResultSet::~OResultSet");
}
-/* }}} */
-/* {{{ OResultSet::disposing() -I- */
void OResultSet::disposing()
{
OSL_TRACE("OResultSet::disposing");
@@ -115,9 +105,7 @@ void OResultSet::disposing()
m_aStatement = NULL;
m_xMetaData = NULL;
}
-/* }}} */
-/* {{{ OResultSet::queryInterface() -I- */
Any SAL_CALL OResultSet::queryInterface(const Type & rType)
throw(RuntimeException, std::exception)
{
@@ -128,9 +116,7 @@ Any SAL_CALL OResultSet::queryInterface(const Type & rType)
}
return aRet;
}
-/* }}} */
-/* {{{ OResultSet::getTypes() -I- */
Sequence< Type > SAL_CALL OResultSet::getTypes()
throw(RuntimeException, std::exception)
{
@@ -141,9 +127,7 @@ Sequence< Type > SAL_CALL OResultSet::getTypes()
return concatSequences(aTypes.getTypes(), OResultSet_BASE::getTypes());
}
-/* }}} */
-/* {{{ OResultSet::findColumn() -I- */
sal_Int32 SAL_CALL OResultSet::findColumn(const OUString& columnName)
throw(SQLException, RuntimeException, std::exception)
{
@@ -171,9 +155,7 @@ sal_Int32 SAL_CALL OResultSet::findColumn(const OUString& columnName)
Any()
);
}
-/* }}} */
-/* {{{ OResultSet::getBinaryStream() -U- */
Reference< XInputStream > SAL_CALL OResultSet::getBinaryStream(sal_Int32 column)
throw(SQLException, RuntimeException, std::exception)
{
@@ -185,9 +167,7 @@ Reference< XInputStream > SAL_CALL OResultSet::getBinaryStream(sal_Int32 column)
mysqlc_sdbc_driver::throwFeatureNotImplementedException("OResultSet::getBinaryStream", *this);
return NULL;
}
-/* }}} */
-/* {{{ OResultSet::getCharacterStream() -U- */
Reference< XInputStream > SAL_CALL OResultSet::getCharacterStream(sal_Int32 column)
throw(SQLException, RuntimeException, std::exception)
{
@@ -199,9 +179,7 @@ Reference< XInputStream > SAL_CALL OResultSet::getCharacterStream(sal_Int32 colu
mysqlc_sdbc_driver::throwFeatureNotImplementedException("OResultSet::getCharacterStream", *this);
return NULL;
}
-/* }}} */
-/* {{{ OResultSet::getBoolean() -I- */
sal_Bool SAL_CALL OResultSet::getBoolean(sal_Int32 column)
throw(SQLException, RuntimeException, std::exception)
{
@@ -217,9 +195,7 @@ sal_Bool SAL_CALL OResultSet::getBoolean(sal_Int32 column)
}
return sal_False;
}
-/* }}} */
-/* {{{ OResultSet::getByte() -I- */
sal_Int8 SAL_CALL OResultSet::getByte(sal_Int32 column)
throw(SQLException, RuntimeException, std::exception)
{
@@ -235,9 +211,7 @@ sal_Int8 SAL_CALL OResultSet::getByte(sal_Int32 column)
}
return 0; // fool compiler
}
-/* }}} */
-/* {{{ OResultSet::getBytes() -I- */
Sequence< sal_Int8 > SAL_CALL OResultSet::getBytes(sal_Int32 column)
throw(SQLException, RuntimeException, std::exception)
{
@@ -253,9 +227,7 @@ Sequence< sal_Int8 > SAL_CALL OResultSet::getBytes(sal_Int32 column)
return Sequence< sal_Int8 > ((sal_Int8*)val.c_str(), val.length());
}
}
-/* }}} */
-/* {{{ OResultSet::getDate() -I- */
Date SAL_CALL OResultSet::getDate(sal_Int32 column)
throw(SQLException, RuntimeException, std::exception)
{
@@ -291,9 +263,7 @@ Date SAL_CALL OResultSet::getDate(sal_Int32 column)
}
return d;
}
-/* }}} */
-/* {{{ OResultSet::getDouble() -I- */
double SAL_CALL OResultSet::getDouble(sal_Int32 column)
throw(SQLException, RuntimeException, std::exception)
{
@@ -309,9 +279,7 @@ double SAL_CALL OResultSet::getDouble(sal_Int32 column)
}
return 0.0; // fool compiler
}
-/* }}} */
-/* {{{ OResultSet::getFloat() -I- */
float SAL_CALL OResultSet::getFloat(sal_Int32 column)
throw(SQLException, RuntimeException, std::exception)
{
@@ -327,9 +295,7 @@ float SAL_CALL OResultSet::getFloat(sal_Int32 column)
}
return 0.0; // fool compiler
}
-/* }}} */
-/* {{{ OResultSet::getInt() -I- */
sal_Int32 SAL_CALL OResultSet::getInt(sal_Int32 column)
throw(SQLException, RuntimeException, std::exception)
{
@@ -345,9 +311,7 @@ sal_Int32 SAL_CALL OResultSet::getInt(sal_Int32 column)
}
return 0; // fool compiler
}
-/* }}} */
-/* {{{ OResultSet::getRow() -I- */
sal_Int32 SAL_CALL OResultSet::getRow()
throw(SQLException, RuntimeException, std::exception)
{
@@ -362,9 +326,7 @@ sal_Int32 SAL_CALL OResultSet::getRow()
}
return 0; // fool compiler
}
-/* }}} */
-/* {{{ OResultSet::getLong() -I- */
sal_Int64 SAL_CALL OResultSet::getLong(sal_Int32 column)
throw(SQLException, RuntimeException, std::exception)
{
@@ -380,9 +342,7 @@ sal_Int64 SAL_CALL OResultSet::getLong(sal_Int32 column)
}
return 0; // fool compiler
}
-/* }}} */
-/* {{{ OResultSet::getMetaData() -I- */
Reference< XResultSetMetaData > SAL_CALL OResultSet::getMetaData()
throw(SQLException, RuntimeException, std::exception)
{
@@ -400,9 +360,7 @@ Reference< XResultSetMetaData > SAL_CALL OResultSet::getMetaData()
}
return m_xMetaData;
}
-/* }}} */
-/* {{{ OResultSet::getArray() -U- */
Reference< XArray > SAL_CALL OResultSet::getArray(sal_Int32 column)
throw(SQLException, RuntimeException, std::exception)
{
@@ -414,9 +372,7 @@ Reference< XArray > SAL_CALL OResultSet::getArray(sal_Int32 column)
mysqlc_sdbc_driver::throwFeatureNotImplementedException("OResultSet::getArray", *this);
return NULL;
}
-/* }}} */
-/* {{{ OResultSet::getClob() -U- */
Reference< XClob > SAL_CALL OResultSet::getClob(sal_Int32 column)
throw(SQLException, RuntimeException, std::exception)
{
@@ -428,9 +384,7 @@ Reference< XClob > SAL_CALL OResultSet::getClob(sal_Int32 column)
mysqlc_sdbc_driver::throwFeatureNotImplementedException("OResultSet::getClob", *this);
return NULL;
}
-/* }}} */
-/* {{{ OResultSet::getBlob() -U- */
Reference< XBlob > SAL_CALL OResultSet::getBlob(sal_Int32 column)
throw(SQLException, RuntimeException, std::exception)
{
@@ -442,9 +396,7 @@ Reference< XBlob > SAL_CALL OResultSet::getBlob(sal_Int32 column)
mysqlc_sdbc_driver::throwFeatureNotImplementedException("OResultSet::getBlob", *this);
return NULL;
}
-/* }}} */
-/* {{{ OResultSet::getRef() -U- */
Reference< XRef > SAL_CALL OResultSet::getRef(sal_Int32 column)
throw(SQLException, RuntimeException, std::exception)
{
@@ -456,9 +408,7 @@ Reference< XRef > SAL_CALL OResultSet::getRef(sal_Int32 column)
mysqlc_sdbc_driver::throwFeatureNotImplementedException("OResultSet::getRef", *this);
return NULL;
}
-/* }}} */
-/* {{{ OResultSet::getObject() -U- */
Any SAL_CALL OResultSet::getObject(sal_Int32 column, const Reference< XNameAccess >& /* typeMap */)
throw(SQLException, RuntimeException, std::exception)
{
@@ -472,9 +422,7 @@ Any SAL_CALL OResultSet::getObject(sal_Int32 column, const Reference< XNameAcces
mysqlc_sdbc_driver::throwFeatureNotImplementedException("OResultSet::getObject", *this);
return aRet;
}
-/* }}} */
-/* {{{ OResultSet::getShort() -I- */
sal_Int16 SAL_CALL OResultSet::getShort(sal_Int32 column)
throw(SQLException, RuntimeException, std::exception)
{
@@ -489,9 +437,7 @@ sal_Int16 SAL_CALL OResultSet::getShort(sal_Int32 column)
}
return 0; // fool compiler
}
-/* }}} */
-/* {{{ OResultSet::getString() -I- */
OUString SAL_CALL OResultSet::getString(sal_Int32 column)
throw(SQLException, RuntimeException, std::exception)
{
@@ -513,9 +459,7 @@ OUString SAL_CALL OResultSet::getString(sal_Int32 column)
}
return OUString(); // fool compiler
}
-/* }}} */
-/* {{{ OResultSet::getTime() -I- */
Time SAL_CALL OResultSet::getTime(sal_Int32 column)
throw(SQLException, RuntimeException, std::exception)
{
@@ -549,9 +493,7 @@ Time SAL_CALL OResultSet::getTime(sal_Int32 column)
return t;
}
-/* }}} */
-/* {{{ OResultSet::getTimestamp() -I- */
DateTime SAL_CALL OResultSet::getTimestamp(sal_Int32 column)
throw(SQLException, RuntimeException, std::exception)
{
@@ -572,9 +514,7 @@ DateTime SAL_CALL OResultSet::getTimestamp(sal_Int32 column)
dt.Seconds = t.Seconds;
return dt;
}
-/* }}} */
-/* {{{ OResultSet::isBeforeFirst() -I- */
sal_Bool SAL_CALL OResultSet::isBeforeFirst()
throw(SQLException, RuntimeException, std::exception)
{
@@ -589,9 +529,7 @@ sal_Bool SAL_CALL OResultSet::isBeforeFirst()
}
return sal_False; //fool
}
-/* }}} */
-/* {{{ OResultSet::isAfterLast() -I- */
sal_Bool SAL_CALL OResultSet::isAfterLast()
throw(SQLException, RuntimeException, std::exception)
{
@@ -606,9 +544,7 @@ sal_Bool SAL_CALL OResultSet::isAfterLast()
}
return sal_False; //fool
}
-/* }}} */
-/* {{{ OResultSet::isFirst() -I- */
sal_Bool SAL_CALL OResultSet::isFirst()
throw(SQLException, RuntimeException, std::exception)
{
@@ -623,9 +559,7 @@ sal_Bool SAL_CALL OResultSet::isFirst()
}
return sal_False; //fool
}
-/* }}} */
-/* {{{ OResultSet::isLast() -I- */
sal_Bool SAL_CALL OResultSet::isLast()
throw(SQLException, RuntimeException, std::exception)
{
@@ -640,9 +574,7 @@ sal_Bool SAL_CALL OResultSet::isLast()
}
return sal_False; //fool
}
-/* }}} */
-/* {{{ OResultSet::beforeFirst() -I- */
void SAL_CALL OResultSet::beforeFirst()
throw(SQLException, RuntimeException, std::exception)
{
@@ -656,9 +588,7 @@ void SAL_CALL OResultSet::beforeFirst()
mysqlc_sdbc_driver::translateAndThrow(e, *this, m_encoding);
}
}
-/* }}} */
-/* {{{ OResultSet::afterLast() -I- */
void SAL_CALL OResultSet::afterLast()
throw(SQLException, RuntimeException, std::exception)
{
@@ -672,9 +602,7 @@ void SAL_CALL OResultSet::afterLast()
mysqlc_sdbc_driver::translateAndThrow(e, *this, m_encoding);
}
}
-/* }}} */
-/* {{{ OResultSet::close() -I- */
void SAL_CALL OResultSet::close() throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OResultSet::close");
@@ -689,9 +617,7 @@ void SAL_CALL OResultSet::close() throw(SQLException, RuntimeException, std::exc
dispose();
}
-/* }}} */
-/* {{{ OResultSet::first() -I- */
sal_Bool SAL_CALL OResultSet::first() throw(SQLException, RuntimeException, std::exception)
{
OSL_TRACE("OResultSet::first");
@@ -705,9 +631,7 @@ sal_Bool SAL_CALL OResultSet::first() throw(SQLException, RuntimeException, std:
}
return sal_False; //fool
}
-/* }}} */
-/* {{{ OResultSet::last() -I- */
sal_Bool SAL_CALL OResultSet::last()
throw(SQLException, RuntimeException, std::exception)
{
@@ -722,9 +646,7 @@ sal_Bool SAL_CALL OResultSet::last()
}
return sal_False; //fool
}
-/* }}} */
-/* {{{ OResultSet::absolute() -I- */
sal_Bool SAL_CALL OResultSet::absolute(sal_Int32 row)
throw(SQLException, RuntimeException, std::exception)
{
@@ -739,9 +661,7 @@ sal_Bool SAL_CALL OResultSet::absolute(sal_Int32 row)
}
return sal_False; //fool
}
-/* }}} */
-/* {{{ OResultSet::relative() -I- */
sal_Bool SAL_CALL OResultSet::relative(sal_Int32 row)
throw(SQLException, RuntimeException, std::exception)
{
@@ -756,9 +676,7 @@ sal_Bool SAL_CALL OResultSet::relative(sal_Int32 row)
}
return sal_False; //fool
}
-/* }}} */
-/* {{{ OResultSet::previous() -I- */
sal_Bool SAL_CALL OResultSet::previous()
throw(SQLException, RuntimeException, std::exception)
{
@@ -773,9 +691,7 @@ sal_Bool SAL_CALL OResultSet::previous()
}
return sal_False; //fool
}
-/* }}} */
-/* {{{ OResultSet::getStatement() -I- */
Reference< XInterface > SAL_CALL OResultSet::getStatement()
throw(SQLException, RuntimeException, std::exception)
{
@@ -785,9 +701,7 @@ Reference< XInterface > SAL_CALL OResultSet::getStatement()
return m_aStatement.get();
}
-/* }}} */
... etc. - the rest is truncated
More information about the Libreoffice-commits
mailing list