summaryrefslogtreecommitdiff
path: root/connectivity
diff options
context:
space:
mode:
authorAndrzej J.R. Hunt <andrzej@ahunt.org>2013-08-16 12:12:53 +0100
committerAndrzej J.R. Hunt <andrzej@ahunt.org>2013-08-16 21:13:14 +0100
commit23cb9490087776c0d594465d86576853550872f9 (patch)
tree16589932999d33a3e40302e5e6fdafd39687a080 /connectivity
parent4365e13a0cde6934c07b64c4e9dc1b91e3614958 (diff)
Add some debug output. (firebird-sdbc)
Change-Id: I72a9992005b42a7a9ef86946bbd3301a7100001d
Diffstat (limited to 'connectivity')
-rw-r--r--connectivity/source/drivers/firebird/Statement.cxx4
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();