summaryrefslogtreecommitdiff
path: root/connectivity/source/drivers/firebird/FResultSet.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'connectivity/source/drivers/firebird/FResultSet.cxx')
-rw-r--r--connectivity/source/drivers/firebird/FResultSet.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/connectivity/source/drivers/firebird/FResultSet.cxx b/connectivity/source/drivers/firebird/FResultSet.cxx
index 535f5757045b..895af3fd67a1 100644
--- a/connectivity/source/drivers/firebird/FResultSet.cxx
+++ b/connectivity/source/drivers/firebird/FResultSet.cxx
@@ -141,6 +141,9 @@ OResultSet::OResultSet(OStatement_Base* pStmt)
if (pr_error(status, "fetch data"))
return;
}
+ if (isc_dsql_free_statement(status, &stmt, DSQL_drop))
+ if (pr_error(status, "fetch data"))
+ return;
}
// -------------------------------------------------------------------------
OResultSet::~OResultSet()