diff options
author | Monty <monty@mariadb.org> | 2015-05-16 18:00:32 +0300 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2015-10-05 17:14:13 +0200 |
commit | 7e3127966646bca50ae6b8ba44c9aed0a261c482 (patch) | |
tree | ce0a0484e18263ff6e9efe34e491391531439704 /sql/sql_view.cc | |
parent | b2b07b33cf55b39db87a00789936113cc290f678 (diff) | |
download | mariadb-git-7e3127966646bca50ae6b8ba44c9aed0a261c482.tar.gz |
Speed up some innodb tests
Fixed compiler warnings
sql/sql_view.cc:
Ensure that merged_for_insert is properly reset
(Left of an old patch)
Diffstat (limited to 'sql/sql_view.cc')
-rw-r--r-- | sql/sql_view.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sql/sql_view.cc b/sql/sql_view.cc index e1b8bf0bb79..c439bb7a696 100644 --- a/sql/sql_view.cc +++ b/sql/sql_view.cc @@ -1283,6 +1283,11 @@ bool mysql_make_view(THD *thd, TABLE_SHARE *share, TABLE_LIST *table, */ table->open_type= OT_BASE_ONLY; + /* + Clear old variables in the TABLE_LIST that could be left from an old view + */ + table->merged_for_insert= FALSE; + /*TODO: md5 test here and warning if it is differ */ |