diff options
author | Andrzej J.R. Hunt <andrzej@ahunt.org> | 2013-08-23 12:16:11 +0100 |
---|---|---|
committer | Andrzej J.R. Hunt <andrzej@ahunt.org> | 2013-08-23 17:52:01 +0100 |
commit | 1f50aee94df71bcd4c99cee44af0464ce46193a3 (patch) | |
tree | 363558a36572bdc6c123b8608b39d624dbd2d3d6 | |
parent | 5300d637a39742c1d952d21651737c708ecc2f89 (diff) |
Improve comment. (firebird-sdbc)
Change-Id: Iec5c5a434a371d73bba0345362f991a948d28c6a
-rw-r--r-- | connectivity/source/drivers/firebird/PreparedStatement.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
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); |