mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Windows, compile : reenable previously disabled warning C4291
no matching operator delete found; memory will not be freed if initialization throws an exception Added a no-op delete() for MEM_ROOT based placement-new()
This commit is contained in:
@ -13355,6 +13355,8 @@ public:
|
||||
size_t size __attribute__((unused)))
|
||||
{ TRASH(ptr, size); }
|
||||
|
||||
static void operator delete(void *, MEM_ROOT*) {}
|
||||
|
||||
Item *and_level;
|
||||
Item_bool_func2 *cmp_func;
|
||||
COND_CMP(Item *a,Item_bool_func2 *b) :and_level(a),cmp_func(b) {}
|
||||
|
Reference in New Issue
Block a user