mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +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:
@ -130,6 +130,7 @@ public:
|
||||
size_t get_field_count() const { return m_column_count; }
|
||||
|
||||
static void operator delete(void *ptr, size_t size) throw ();
|
||||
static void operator delete(void *, MEM_ROOT *){}
|
||||
private:
|
||||
Ed_result_set(const Ed_result_set &); /* not implemented */
|
||||
Ed_result_set &operator=(Ed_result_set &); /* not implemented */
|
||||
|
Reference in New Issue
Block a user