diff options
author | Sergei Golubchik <serg@mariadb.org> | 2018-04-24 13:19:44 +0200 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2018-05-12 10:16:45 +0200 |
commit | b1a6d2826a08452e6ae77d25f56384d1472631e4 (patch) | |
tree | 491ec4d09c1c6e47419b381b568d25dd029c4f20 /sql/sql_delete.cc | |
parent | 531acda4847996fea058f0bd4bf86c2e59f33a5f (diff) | |
download | mariadb-git-b1a6d2826a08452e6ae77d25f56384d1472631e4.tar.gz |
cleanup: versioning style fixes
rename LString/XString classes, remove unused ones
Diffstat (limited to 'sql/sql_delete.cc')
-rw-r--r-- | sql/sql_delete.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/sql_delete.cc b/sql/sql_delete.cc index af0e167e42d..d4a2f779544 100644 --- a/sql/sql_delete.cc +++ b/sql/sql_delete.cc @@ -305,7 +305,7 @@ bool mysql_delete(THD *thd, TABLE_LIST *table_list, COND *conds, THD_STAGE_INFO(thd, stage_init_update); - bool truncate_history= table_list->vers_conditions; + bool truncate_history= table_list->vers_conditions.is_set(); if (truncate_history) { if (table_list->is_view_or_derived()) @@ -941,7 +941,7 @@ int mysql_prepare_delete(THD *thd, TABLE_LIST *table_list, select_lex->leaf_tables, FALSE, DELETE_ACL, SELECT_ACL, TRUE)) DBUG_RETURN(TRUE); - if (table_list->vers_conditions) + if (table_list->vers_conditions.is_set()) { if (table_list->is_view()) { |