diff options
Diffstat (limited to 'sql/sql_select.h')
-rw-r--r-- | sql/sql_select.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/sql_select.h b/sql/sql_select.h index 09e8f5a3e10..5eea5937ea6 100644 --- a/sql/sql_select.h +++ b/sql/sql_select.h @@ -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; } |