summaryrefslogtreecommitdiffstats
path: root/mysqlc/source/mysqlc_preparedstatement.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'mysqlc/source/mysqlc_preparedstatement.cxx')
-rw-r--r--mysqlc/source/mysqlc_preparedstatement.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/mysqlc/source/mysqlc_preparedstatement.cxx b/mysqlc/source/mysqlc_preparedstatement.cxx
index 004acf9a3f40..31c0f8240ab3 100644
--- a/mysqlc/source/mysqlc_preparedstatement.cxx
+++ b/mysqlc/source/mysqlc_preparedstatement.cxx
@@ -207,7 +207,7 @@ sal_Int32 SAL_CALL OPreparedStatement::executeUpdate()
MutexGuard aGuard(m_aMutex);
checkDisposed(OPreparedStatement::rBHelper.bDisposed);
- sal_Int32 affectedRows = sal_False;
+ sal_Int32 affectedRows = 0;
try {
affectedRows = ((sql::PreparedStatement *)cppStatement)->executeUpdate();
} catch (const sql::SQLException &e) {