diff options
author | Andrzej J.R. Hunt <andrzej@ahunt.org> | 2013-08-16 12:12:53 +0100 |
---|---|---|
committer | Andrzej J.R. Hunt <andrzej@ahunt.org> | 2013-08-16 21:13:14 +0100 |
commit | 23cb9490087776c0d594465d86576853550872f9 (patch) | |
tree | 16589932999d33a3e40302e5e6fdafd39687a080 /connectivity | |
parent | 4365e13a0cde6934c07b64c4e9dc1b91e3614958 (diff) |
Add some debug output. (firebird-sdbc)
Change-Id: I72a9992005b42a7a9ef86946bbd3301a7100001d
Diffstat (limited to 'connectivity')
-rw-r--r-- | connectivity/source/drivers/firebird/Statement.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/connectivity/source/drivers/firebird/Statement.cxx b/connectivity/source/drivers/firebird/Statement.cxx index 5a6d85fd8930..32b6243f6bc9 100644 --- a/connectivity/source/drivers/firebird/Statement.cxx +++ b/connectivity/source/drivers/firebird/Statement.cxx @@ -100,6 +100,8 @@ sal_Int32 SAL_CALL OStatement::executeUpdate(const OUString& sql) MutexGuard aGuard(m_pConnection->getMutex()); checkDisposed(OStatementCommonBase_Base::rBHelper.bDisposed); + SAL_INFO("connectivity.firebird", "executeUpdate(" << sql << ")"); + int aErr = isc_dsql_execute_immediate(m_statusVector, &m_pConnection->getDBHandle(), &m_pConnection->getTransaction(), @@ -124,6 +126,8 @@ uno::Reference< XResultSet > SAL_CALL OStatement::executeQuery(const OUString& s MutexGuard aGuard(m_pConnection->getMutex()); checkDisposed(OStatementCommonBase_Base::rBHelper.bDisposed); + SAL_INFO("connectivity.firebird", "executeQuery(" << sql << ")"); + ISC_STATUS aErr = 0; disposeResultSet(); |