mirror of
https://github.com/MariaDB/server.git
synced 2026-04-28 03:05:33 +02:00
SQL: vers_setup_select() misc refactoring
Renamed to SELECT_LEX::vers_setup_conds(). Moved optimized fields check to JOIN::vers_check_items().
This commit is contained in:
parent
37adb4c066
commit
947aa0bab9
10 changed files with 75 additions and 78 deletions
|
|
@ -314,7 +314,7 @@ bool mysql_delete(THD *thd, TABLE_LIST *table_list, COND *conds,
|
|||
DBUG_ASSERT(table);
|
||||
|
||||
DBUG_ASSERT(!conds);
|
||||
if (vers_setup_select(thd, table_list, &conds, select_lex))
|
||||
if (select_lex->vers_setup_conds(thd, table_list, &conds))
|
||||
DBUG_RETURN(TRUE);
|
||||
|
||||
// trx_sees() in InnoDB reads sys_trx_start
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue