summaryrefslogtreecommitdiff
path: root/connectivity/source/drivers/firebird/FDatabaseMetaData.cxx
diff options
context:
space:
mode:
authorJavier Fernandez <jfernandez@igalia.com>2013-06-03 23:25:45 +0000
committerJavier Fernandez <jfernandez@igalia.com>2013-06-06 09:37:43 +0000
commit173a00cb55838f424364c1d6913ba53ed77022ce (patch)
tree293811b73c5dc7e185ed68db77462299bd408032 /connectivity/source/drivers/firebird/FDatabaseMetaData.cxx
parent86f8511cca92edf35f2b0fe6851e272856eef49a (diff)
Dealing with parameters in Prepared Statement.
Change-Id: I1f94b7b4795c4a72ef8bf78bb032097094cda589
Diffstat (limited to 'connectivity/source/drivers/firebird/FDatabaseMetaData.cxx')
-rw-r--r--connectivity/source/drivers/firebird/FDatabaseMetaData.cxx7
1 files changed, 0 insertions, 7 deletions
diff --git a/connectivity/source/drivers/firebird/FDatabaseMetaData.cxx b/connectivity/source/drivers/firebird/FDatabaseMetaData.cxx
index 367a4cde7e9e..b20ec5463ab4 100644
--- a/connectivity/source/drivers/firebird/FDatabaseMetaData.cxx
+++ b/connectivity/source/drivers/firebird/FDatabaseMetaData.cxx
@@ -865,7 +865,6 @@ Reference< XResultSet > SAL_CALL ODatabaseMetaData::getTables(
ODatabaseMetaDataResultSet* pResultSet = new ODatabaseMetaDataResultSet(ODatabaseMetaDataResultSet::eTables);
Reference< XResultSet > xResultSet = pResultSet;
- /*
Reference< XPreparedStatement > statement = m_pConnection->prepareStatement(
"SELECT "
"'schema' as schema, RDB$RELATION_NAME, RDB$SYSTEM_FLAG, RDB$RELATION_TYPE, 'description' as description " // avoid duplicates
@@ -873,12 +872,6 @@ Reference< XResultSet > SAL_CALL ODatabaseMetaData::getTables(
"WHERE (RDB$RELATION_TYPE = 0 OR RDB$RELATION_TYPE = 1) "
"AND 'schema' LIKE ? "
"AND RDB$RELATION_NAME LIKE ? ");
- */
- Reference< XPreparedStatement > statement = m_pConnection->prepareStatement(
- "SELECT "
- "'schema' as schema, RDB$RELATION_NAME, RDB$SYSTEM_FLAG, RDB$RELATION_TYPE, 'description' as description " // avoid duplicates
- "FROM RDB$RELATIONS "
- "WHERE (RDB$RELATION_TYPE = 0 OR RDB$RELATION_TYPE = 1) ");
printf("DEBUG !!! connectivity.firebird => ODatabaseMetaData::getTables() Setting query parameters. \n");