Merge pull request #381 from schaanie17/dev

Changed mapping of MDB_DOUBLE for MySQL from float to double
This commit is contained in:
Evan Miller 2022-03-08 12:14:46 -08:00 committed by GitHub
commit ab5beff0fa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -111,7 +111,7 @@ static const MdbBackendType mdb_mysql_types[] = {
[MDB_LONGINT] = { .name = "int" },
[MDB_MONEY] = { .name = "float" },
[MDB_FLOAT] = { .name = "float" },
[MDB_DOUBLE] = { .name = "float" },
[MDB_DOUBLE] = { .name = "double" },
[MDB_DATETIME] = { .name = "datetime" },
[MDB_BINARY] = { .name = "blob" },
[MDB_TEXT] = { .name = "varchar", .needs_char_length = 1 },