rdmenezes / qtfirebirdibppsqldriver

Automatically exported from code.google.com/p/qtfirebirdibppsqldriver
0 stars 0 forks source link

Проблема с NUMERIC #7

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
У меня с Qt SQL driver for Firebird with IBPP library косяк.
В базе есть поле NUMERIC(6, 3).
QFIREBIRD возвращает его, как QVariant(int), а вот QIBASE 
возвращает, как
положено, QVariant(double).
Т.е., если в БД хранится число 3,14, то QFIREBIRD 
возвращает QVariant(int,
3140), QIBASE, как положено, вернёт QVariant(double, 3.14).

Original issue reported on code.google.com by arial79@gmail.com on 26 Feb 2010 at 5:17

GoogleCodeExporter commented 9 years ago

Original comment by alex.wen...@gmail.com on 26 Feb 2010 at 10:50

GoogleCodeExporter commented 9 years ago
NUMERIC and DECIMAL fields with small length return wrong value

Original comment by alex.wen...@gmail.com on 26 Feb 2010 at 10:56

GoogleCodeExporter commented 9 years ago
fixed

Original comment by alex.wen...@gmail.com on 26 Feb 2010 at 11:34