summaryrefslogtreecommitdiff
path: root/connectivity
diff options
context:
space:
mode:
authorAndrzej J.R. Hunt <andrzej@ahunt.org>2013-08-28 16:30:40 +0100
committerAndrzej J.R. Hunt <andrzej@ahunt.org>2013-08-28 17:56:19 +0100
commitfe8e3be835cce5fc3e22f550567dd2d650766657 (patch)
tree8da9effe46049b28675edab7dce0936e2bfb18a6 /connectivity
parentc338f1cf704ac5061d6eb290beb69d7503c95eee (diff)
Remove unused code (firebird-sdbc)
Change-Id: I88f47ee442ade499c7f4018ce8b1ffe54b362067
Diffstat (limited to 'connectivity')
-rw-r--r--connectivity/source/drivers/firebird/PreparedStatement.cxx17
1 files changed, 1 insertions, 16 deletions
diff --git a/connectivity/source/drivers/firebird/PreparedStatement.cxx b/connectivity/source/drivers/firebird/PreparedStatement.cxx
index ffa3124d3add..3078c7d35a20 100644
--- a/connectivity/source/drivers/firebird/PreparedStatement.cxx
+++ b/connectivity/source/drivers/firebird/PreparedStatement.cxx
@@ -106,22 +106,7 @@ void OPreparedStatement::ensurePrepared()
1,
m_pInSqlda);
}
-// char aItems[] = {
-// isc_info_sql_num_variables
-// };
-// char aResultBuffer[8];
-// isc_dsql_sql_info(m_statusVector,
-// &m_aStatementHandle,
-// sizeof(aItems),
-// aItems,
-// sizeof(aResultBuffer),
-// aResultBuffer);
-// if (aResultBuffer[0] == isc_info_sql_num_variables)
-// {
-// short aVarLength = (short) isc_vax_integer(aResultBuffer+1, 2);
-// m_nNumParams = isc_vax_integer(aResultBuffer+3, aVarLength);
-// }
-// }
+
if (!aErr)
mallocSQLVAR(m_pInSqlda);
else