diff options
author | Aleksey Midenkov <midenok@gmail.com> | 2019-11-25 16:01:43 +0300 |
---|---|---|
committer | Aleksey Midenkov <midenok@gmail.com> | 2019-11-25 16:01:43 +0300 |
commit | 33f55789d354b0fccf5234027dc0bd66cbd0c539 (patch) | |
tree | c223a494f81a6adb384a2e7e3e0323b8992fcef5 /sql/sql_lex.h | |
parent | 4111a53079da9850c630ce30eec7f8a38744eacd (diff) | |
download | mariadb-git-33f55789d354b0fccf5234027dc0bd66cbd0c539.tar.gz |
MDEV-18727 improve DML operation of System Versioning (10.4)
UPDATE, DELETE: replace linear search of current/historical records
with vers_setup_conds().
Additional DML cases in view.test
Diffstat (limited to 'sql/sql_lex.h')
-rw-r--r-- | sql/sql_lex.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_lex.h b/sql/sql_lex.h index 159c05fb98f..9d22eb1a8cc 100644 --- a/sql/sql_lex.h +++ b/sql/sql_lex.h @@ -1291,7 +1291,7 @@ public: /* push new Item_field into item_list */ bool vers_push_field(THD *thd, TABLE_LIST *table, const LEX_CSTRING field_name); - Item* period_setup_conds(THD *thd, TABLE_LIST *table, Item *where); + int period_setup_conds(THD *thd, TABLE_LIST *table); void init_query(); void init_select(); st_select_lex_unit* master_unit() { return (st_select_lex_unit*) master; } |