1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-01 03:47:19 +03:00

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)
This commit is contained in:
Monty
2015-05-16 18:00:32 +03:00
committed by Sergei Golubchik
parent b2b07b33cf
commit 7e31279666
7 changed files with 25 additions and 2 deletions

View File

@ -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 */