diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2011-06-30 11:57:53 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2011-06-30 11:57:53 +0200 |
commit | ec1213138d592489175f2246201c5e65c90af0a5 (patch) | |
tree | eddde64172d02a5853cef6ae5c54f4cb1c16bc5f /mysql/types/driver.cxx | |
parent | 06e43da76a6173a72b0450e2dadcfa73f6c04964 (diff) |
Take into account precision in MySQL FLOAT type parsing
Diffstat (limited to 'mysql/types/driver.cxx')
-rw-r--r-- | mysql/types/driver.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mysql/types/driver.cxx b/mysql/types/driver.cxx index 8a51dea..31ccde1 100644 --- a/mysql/types/driver.cxx +++ b/mysql/types/driver.cxx @@ -43,6 +43,7 @@ main (int argc, char* argv[]) o.ulong_long_ = 123456; o.float_ = 1.123F; + o.float8_ = 1.123; o.double_ = 1.123; o.decimal_ = "123.456"; |