mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
post-merge: gcc 8 warnings
note: Inherit String from Sql_alloc, to get operators new and new[] in sync in rocksdb gcc was complaining that non-lvalue was cast to const.
This commit is contained in:
@ -2046,9 +2046,9 @@ public:
|
||||
static void *operator new(size_t size, THD *thd) throw();
|
||||
static void operator delete(void *ptr, size_t size) {TRASH_FREE(ptr, size);}
|
||||
|
||||
Virtual_tmp_table(THD *thd)
|
||||
Virtual_tmp_table(THD *thd) : m_alloced_field_count(0)
|
||||
{
|
||||
bzero(this, sizeof(*this));
|
||||
reset();
|
||||
temp_pool_slot= MY_BIT_NONE;
|
||||
in_use= thd;
|
||||
}
|
||||
|
Reference in New Issue
Block a user