summaryrefslogtreecommitdiff
path: root/sql/sql_list.h
diff options
context:
space:
mode:
authorunknown <monty@mysql.com/narttu.mysql.fi>2007-02-24 04:22:34 +0200
committerunknown <monty@mysql.com/narttu.mysql.fi>2007-02-24 04:22:34 +0200
commit3c9904123b6e2a07dff025f5e92c82d18afdad58 (patch)
tree19221b394db54a73f75d403d03edca4ea37ff5b3 /sql/sql_list.h
parent338cb6a83644debcb4fae9a8bdd8880294b30383 (diff)
downloadmariadb-git-3c9904123b6e2a07dff025f5e92c82d18afdad58.tar.gz
Fixed windows compilation problems
extra/yassl/taocrypt/mySTL/algorithm.hpp: max is defined on windows sql/sql_list.h: Fixed compiler warning on windows
Diffstat (limited to 'sql/sql_list.h')
-rw-r--r--sql/sql_list.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/sql_list.h b/sql/sql_list.h
index d16fbaf2e50..af30cbe0d6a 100644
--- a/sql/sql_list.h
+++ b/sql/sql_list.h
@@ -38,6 +38,8 @@ public:
static void operator delete(void *ptr, size_t size) { TRASH(ptr, size); }
static void operator delete(void *ptr, MEM_ROOT *mem_root)
{ /* never called */ }
+ static void operator delete[](void *ptr, MEM_ROOT *mem_root)
+ { /* never called */ }
static void operator delete[](void *ptr, size_t size) { TRASH(ptr, size); }
#ifdef HAVE_purify
bool dummy;