From: Jakob E. <jab...@gm...> - 2011-01-25 01:29:01
|
There is a serious bug in libmdb, where the first two digits after the comma are deleted in numeric fields. The problem is in the file "src/libmdb/data.c" in function "mdb_num_to_string" around line 718: The line is supposed to be: memmove(text+prec-scale+1, text+prec-scale, scale+1); //RIGHT And not: memmove(text+prec-scale, text+prec-scale+1, scale+1); //WRONG WORKAROUND: use DOUBLE rather than NUMERIC fields best regards, Jakob Egger |