diff options
author | Vicențiu Ciorbaru <cvicentiu@gmail.com> | 2015-02-26 23:06:18 +0200 |
---|---|---|
committer | Vicențiu Ciorbaru <cvicentiu@gmail.com> | 2015-02-26 23:09:54 +0200 |
commit | ec4ff9a2e75d7aa0ded002bde25d5f6ea148ab11 (patch) | |
tree | a78f4b37784e5a39fcfec2d90336b12b31da4d14 /sql/opt_subselect.cc | |
parent | 5c66abf0b0de6d632f85a57c841f80d28a7e0337 (diff) | |
download | mariadb-git-ec4ff9a2e75d7aa0ded002bde25d5f6ea148ab11.tar.gz |
MDEV-7586: Merged derived tables/VIEWs increment created_tmp_tables
Temporary table count fix. The number of temporary tables was increased
when the table is not actually created. (when do_not_open was passed
as TRUE to create_tmp_table).
Diffstat (limited to 'sql/opt_subselect.cc')
-rw-r--r-- | sql/opt_subselect.cc | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sql/opt_subselect.cc b/sql/opt_subselect.cc index d5e3334d961..2122349f324 100644 --- a/sql/opt_subselect.cc +++ b/sql/opt_subselect.cc @@ -3890,7 +3890,6 @@ SJ_TMP_TABLE::create_sj_weedout_tmp_table(THD *thd) /* STEP 1: Get temporary table name */ - thd->inc_status_created_tmp_tables(); if (use_temp_pool && !(test_flags & TEST_KEEP_TMP_TABLES)) temp_pool_slot = bitmap_lock_set_next(&temp_pool); |