[Libreoffice-commits] core.git: Branch 'libreoffice-6-4' - connectivity/source

Julien Nabet (via logerrit) logerrit at kemper.freedesktop.org
Mon Mar 30 19:09:41 UTC 2020


 connectivity/source/drivers/mysqlc/mysqlc_prepared_resultset.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 9e72262b420bad1e54287e35463be55769063608
Author:     Julien Nabet <serval2412 at yahoo.fr>
AuthorDate: Mon Mar 30 19:38:55 2020 +0200
Commit:     Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Mon Mar 30 21:09:11 2020 +0200

    tdf#131712: fix crash on table with non null float field (mysql native)
    
    See bt with infinite loop here:
    http://bugs.documentfoundation.org/attachment.cgi?id=159161
    
    Change-Id: Iaa4e998c640c414dec60a72d5977f8d6a6a8433f
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91379
    Tested-by: Jenkins
    (cherry picked from commit 192ee96db3bc3544c388034b19fa7a9cd6e7537d)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91386
    Reviewed-by: Lionel Elie Mamane <lionel at mamane.lu>

diff --git a/connectivity/source/drivers/mysqlc/mysqlc_prepared_resultset.cxx b/connectivity/source/drivers/mysqlc/mysqlc_prepared_resultset.cxx
index ddaba5fc9e45..984914016a13 100644
--- a/connectivity/source/drivers/mysqlc/mysqlc_prepared_resultset.cxx
+++ b/connectivity/source/drivers/mysqlc/mysqlc_prepared_resultset.cxx
@@ -330,6 +330,7 @@ ORowSetValue OPreparedResultSet::getRowSetValue(sal_Int32 nColumnIndex)
         case MYSQL_TYPE_LONGLONG:
             return getLong(nColumnIndex);
         case MYSQL_TYPE_FLOAT:
+            return getFloat(nColumnIndex);
         case MYSQL_TYPE_DOUBLE:
             return getDouble(nColumnIndex);
         case MYSQL_TYPE_TIMESTAMP:


More information about the Libreoffice-commits mailing list