summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2021-08-27 20:17:30 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2021-08-27 20:17:30 +0100
commitdcc4f20e032a28db8312517df2b11286437134c2 (patch)
tree22646c038830b710eab4d6fce86eb05839ae056e
parentExtract datetime2From40bit (diff)
downloadmygrate-dcc4f20e032a28db8312517df2b11286437134c2.tar.bz2
mygrate-dcc4f20e032a28db8312517df2b11286437134c2.tar.xz
mygrate-dcc4f20e032a28db8312517df2b11286437134c2.zip
Fix undef of INTEGER_TYPE macro
-rw-r--r--lib/mysql_types.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mysql_types.cpp b/lib/mysql_types.cpp
index ae1ee62..a220931 100644
--- a/lib/mysql_types.cpp
+++ b/lib/mysql_types.cpp
@@ -69,7 +69,7 @@ namespace MyGrate::MySQL {
INTEGER_TYPE(MYSQL_TYPE_INT24, false, 3);
INTEGER_TYPE(MYSQL_TYPE_INT24, true, 3);
INTEGER_TYPE(MYSQL_TYPE_YEAR, false, 2);
-#undef INTEGER24_TYPE
+#undef INTEGER_TYPE
static Blob
readBlob(RawDataReader & md, RawDataReader & data)