diff options
author | Xisco Fauli <xiscofauli@libreoffice.org> | 2019-07-10 19:06:13 +0200 |
---|---|---|
committer | Xisco Faulí <xiscofauli@libreoffice.org> | 2019-07-11 15:23:17 +0200 |
commit | 2e26ef34bf1a2e5d1293e45cf3b1415d9514b056 (patch) | |
tree | 105bbaaaa82e6c0641b09bafed19034b3d7e0ddb /dbaccess/Module_dbaccess.mk | |
parent | 721cef392f301321a632a1d9286d57cd45335649 (diff) |
tdf#126268: first byte is not used for the sign symbol
This code is just broken, negative numbers and positive
numbers above 25 are incorrectly migrated if using decimal.
E.g:
-1 -> 24,6
26 -> -6527'6
thus, delete it and pass the 8 bytes as they are to
lcl_double_dabble.
Note: this only fixes the positive numbers,
-1 still returns 24,6
Code introduced in 6039d2463b4cc503b963811b3b1471de3291ee09
Change-Id: Id0e249e47a91b274a247fb7e8b71353114149650
Reviewed-on: https://gerrit.libreoffice.org/75375
Tested-by: Jenkins
Reviewed-by: Lionel Elie Mamane <lionel@mamane.lu>
Reviewed-by: Xisco Faulí <xiscofauli@libreoffice.org>
Diffstat (limited to 'dbaccess/Module_dbaccess.mk')
-rw-r--r-- | dbaccess/Module_dbaccess.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/dbaccess/Module_dbaccess.mk b/dbaccess/Module_dbaccess.mk index a45acd3af2f4..0a66d5fe7586 100644 --- a/dbaccess/Module_dbaccess.mk +++ b/dbaccess/Module_dbaccess.mk @@ -37,6 +37,7 @@ ifeq ($(ENABLE_FIREBIRD_SDBC),TRUE) $(eval $(call gb_Module_add_check_targets,dbaccess,\ $(if $(ENABLE_JAVA),CppunitTest_dbaccess_hsqlbinary_import) \ $(if $(ENABLE_JAVA),CppunitTest_dbaccess_tdf119625) \ + $(if $(ENABLE_JAVA),CppunitTest_dbaccess_tdf126268) \ )) # remove if we have a be file for this |