summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2021-08-27 20:29:22 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2021-08-27 20:29:22 +0100
commit78f1da756eefb86f0e4fbf9182497893da64fb6f (patch)
tree79b7adb771f27ff3fcbf745bd8aedf066c234cd2 /test
parentFix parsing of date type (diff)
downloadmygrate-78f1da756eefb86f0e4fbf9182497893da64fb6f.tar.bz2
mygrate-78f1da756eefb86f0e4fbf9182497893da64fb6f.tar.xz
mygrate-78f1da756eefb86f0e4fbf9182497893da64fb6f.zip
Fix type mapping of real/double
Diffstat (limited to 'test')
-rw-r--r--test/test-mapping.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/test-mapping.cpp b/test/test-mapping.cpp
index 0ecc62f..9453638 100644
--- a/test/test-mapping.cpp
+++ b/test/test-mapping.cpp
@@ -80,12 +80,12 @@ BOOST_DATA_TEST_CASE(default_type_mapping,
{"numeric(1)", "numeric(1)"},
{"float", "float"},
{"float(1,2)", "float"},
- {"real", "double"},
- {"real(1,2)", "double"},
- {"double", "double"},
- {"double(1,2)", "double"},
- {"double precision", "double"},
- {"double precision(1,2)", "double"},
+ {"real", "real"},
+ {"real(1,2)", "real"},
+ {"double", "real"},
+ {"double(1,2)", "real"},
+ {"double precision", "real"},
+ {"double precision(1,2)", "real"},
// https://dev.mysql.com/doc/refman/8.0/en/date-and-time-types.html
{"date", "date"},
{"datetime", "timestamp without time zone"},