From 1f50aee94df71bcd4c99cee44af0464ce46193a3 Mon Sep 17 00:00:00 2001 From: "Andrzej J.R. Hunt" Date: Fri, 23 Aug 2013 12:16:11 +0100 Subject: Improve comment. (firebird-sdbc) Change-Id: Iec5c5a434a371d73bba0345362f991a948d28c6a --- connectivity/source/drivers/firebird/PreparedStatement.cxx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/connectivity/source/drivers/firebird/PreparedStatement.cxx b/connectivity/source/drivers/firebird/PreparedStatement.cxx index ddb10e05eb60..506e14528365 100644 --- a/connectivity/source/drivers/firebird/PreparedStatement.cxx +++ b/connectivity/source/drivers/firebird/PreparedStatement.cxx @@ -269,6 +269,9 @@ sal_Bool SAL_CALL OPreparedStatement::execute() { disposeResultSet(); // Closes the cursor from the last run. + // This doesn't actually free the statement -- using DSQL_close closes + // the cursor and keeps the statement, using DSQL_drop frees the statement + // (and associated cursors). aErr = isc_dsql_free_statement(m_statusVector, &m_aStatementHandle, DSQL_close); -- cgit