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

New commits:
commit 192ee96db3bc3544c388034b19fa7a9cd6e7537d
Author:     Julien Nabet <serval2...@yahoo.fr>
AuthorDate: Mon Mar 30 19:38:55 2020 +0200
Commit:     Julien Nabet <serval2...@yahoo.fr>
CommitDate: Mon Mar 30 20:22:24 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
    Reviewed-by: Lionel Elie Mamane <lio...@mamane.lu>
    Tested-by: Jenkins

diff --git a/connectivity/source/drivers/mysqlc/mysqlc_prepared_resultset.cxx 
b/connectivity/source/drivers/mysqlc/mysqlc_prepared_resultset.cxx
index c26a84145a0c..93b31eb99604 100644
--- a/connectivity/source/drivers/mysqlc/mysqlc_prepared_resultset.cxx
+++ b/connectivity/source/drivers/mysqlc/mysqlc_prepared_resultset.cxx
@@ -325,6 +325,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:
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to