[Libreoffice-commits] core.git: Branch 'libreoffice-6-4' - connectivity/source
Julien Nabet (via logerrit)
logerrit at kemper.freedesktop.org
Mon Dec 2 08:15:25 UTC 2019
connectivity/source/drivers/mysqlc/mysqlc_preparedstatement.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit c7832ada6cf7264602064da9a957c03f89732f34
Author: Julien Nabet <serval2412 at yahoo.fr>
AuthorDate: Tue Nov 26 23:37:23 2019 +0100
Commit: Xisco Faulà <xiscofauli at libreoffice.org>
CommitDate: Mon Dec 2 09:14:43 2019 +0100
In the same way as 97ad402d58b52a1f2636905137c21298531c2935
OPreparedStatement::setDate works but let's use good habits.
Change-Id: Ic410910ea138cc23d7f33bccd96812efd041732c
Reviewed-on: https://gerrit.libreoffice.org/83842
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>
(cherry picked from commit 4895e01dee323d97d5573a6a2ff4696c3e7bcd25)
Reviewed-on: https://gerrit.libreoffice.org/84134
Reviewed-by: Xisco Faulà <xiscofauli at libreoffice.org>
diff --git a/connectivity/source/drivers/mysqlc/mysqlc_preparedstatement.cxx b/connectivity/source/drivers/mysqlc/mysqlc_preparedstatement.cxx
index 7cdd19667f30..68911564e1ec 100644
--- a/connectivity/source/drivers/mysqlc/mysqlc_preparedstatement.cxx
+++ b/connectivity/source/drivers/mysqlc/mysqlc_preparedstatement.cxx
@@ -249,7 +249,7 @@ void SAL_CALL OPreparedStatement::setDate(sal_Int32 parameter, const Date& aData
checkDisposed(OPreparedStatement::rBHelper.bDisposed);
checkParameterIndex(parameter);
- MYSQL_TIME my_time;
+ MYSQL_TIME my_time = {};
my_time.year = aData.Year;
my_time.month = aData.Month;
More information about the Libreoffice-commits
mailing list