From 4437b5bffbfcb71c7e39795709f02bcc20ad01cd Mon Sep 17 00:00:00 2001 From: Alexander Barkov Date: Sun, 16 Sep 2018 19:24:08 +0400 Subject: [PATCH] Fixing Windows compilation failure in MDEV-17203 (C4291 no matching operator delete found) --- sql/sql_type.h | 1 + 1 file changed, 1 insertion(+) diff --git a/sql/sql_type.h b/sql/sql_type.h index c497e041ea0..adf0cb5c233 100644 --- a/sql/sql_type.h +++ b/sql/sql_type.h @@ -476,6 +476,7 @@ public: DBUG_ASSERT(size == sizeof(MYSQL_TIME)); return ltime; } + static void operator delete(void *ptr, MYSQL_TIME *ltime) { } long fraction_remainder(uint dec) const {