Skip to content

Commit

Permalink
Fixing Windows compilation failure in MDEV-17203 (C4291 no matching o…
Browse files Browse the repository at this point in the history
…perator delete found)
  • Loading branch information
abarkov committed Sep 16, 2018
1 parent d933997 commit 4437b5b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sql/sql_type.h
Original file line number Diff line number Diff line change
Expand Up @@ -476,6 +476,7 @@ class Temporal: protected MYSQL_TIME
DBUG_ASSERT(size == sizeof(MYSQL_TIME));
return ltime;
}
static void operator delete(void *ptr, MYSQL_TIME *ltime) { }

long fraction_remainder(uint dec) const
{
Expand Down

0 comments on commit 4437b5b

Please sign in to comment.