summaryrefslogtreecommitdiff
path: root/sql/sql_select.h
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2019-03-17 13:06:41 +0100
committerSergei Golubchik <serg@mariadb.org>2019-03-17 13:06:41 +0100
commitb64fde8f38515dc39e019de26db7624cc0ea7046 (patch)
tree0478ea4c3ddeee290f6d381a47efa4f9aded9c0b /sql/sql_select.h
parenta89ee3cd154a67df2231f034fd8339f9225dbe64 (diff)
parent1f020299f816263e347c852eb2a494b5ef1cbf0d (diff)
downloadmariadb-git-b64fde8f38515dc39e019de26db7624cc0ea7046.tar.gz
Merge branch '10.2' into 10.3
Diffstat (limited to 'sql/sql_select.h')
-rw-r--r--sql/sql_select.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/sql/sql_select.h b/sql/sql_select.h
index 57d8dab8258..88959f84fdb 100644
--- a/sql/sql_select.h
+++ b/sql/sql_select.h
@@ -241,7 +241,6 @@ struct SplM_plan_info;
class SplM_opt_info;
typedef struct st_join_table {
- st_join_table() {}
TABLE *table;
TABLE_LIST *tab_list;
KEYUSE *keyuse; /**< pointer to first used key */
@@ -2134,9 +2133,9 @@ public:
static void operator delete(void *ptr, size_t size) { TRASH_FREE(ptr, size); }
static void operator delete(void *, THD *) throw(){}
- 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;
copy_blobs= true;