summaryrefslogtreecommitdiff
path: root/connectivity/source/drivers/mysqlc/mysqlc_prepared_resultset.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'connectivity/source/drivers/mysqlc/mysqlc_prepared_resultset.cxx')
-rw-r--r--connectivity/source/drivers/mysqlc/mysqlc_prepared_resultset.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/connectivity/source/drivers/mysqlc/mysqlc_prepared_resultset.cxx b/connectivity/source/drivers/mysqlc/mysqlc_prepared_resultset.cxx
index dee5d091a353..cc8d3bbdfad5 100644
--- a/connectivity/source/drivers/mysqlc/mysqlc_prepared_resultset.cxx
+++ b/connectivity/source/drivers/mysqlc/mysqlc_prepared_resultset.cxx
@@ -649,7 +649,7 @@ sal_Bool SAL_CALL OPreparedResultSet::next()
mysqlc_sdbc_driver::allocateSqlVar(&m_aData[i].buffer, m_aData[i].buffer_type,
m_aFields[i].length);
}
- mysql_stmt_bind_result(m_pStmt, m_aData);
+ mysql_stmt_bind_result(m_pStmt, m_aData.get());
if (bFirstRun)
mysql_stmt_store_result(m_pStmt);
int failure = mysql_stmt_fetch(m_pStmt);