connectivity/source/drivers/mysqlc/mysqlc_prepared_resultset.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 9581f62f33d6f912b38e3eb3b0513fcc7bc8bac0 Author: Andras Timar <andras.ti...@collabora.com> AuthorDate: Mon Sep 3 10:42:31 2018 +0200 Commit: Andras Timar <andras.ti...@collabora.com> CommitDate: Mon Sep 3 10:42:57 2018 +0200 fix for 'mysqlc: Use unique_ptr on C style arrays' Change-Id: I9460c6f8e52890ebb37ae59264ba9035b063f560 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); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits