diff options
author | Aleksey Midenkov <midenok@gmail.com> | 2019-11-25 15:44:46 +0300 |
---|---|---|
committer | Aleksey Midenkov <midenok@gmail.com> | 2019-11-25 15:44:46 +0300 |
commit | bf58ec77a1adaa653a0b044b950cf420f8c19de9 (patch) | |
tree | fb46d7fdcaa1d33d01ad503e8e43c39a1b28320f /sql/sql_delete.cc | |
parent | 1d5f6a007339ce78471c125a9a5d5a73a5c664ff (diff) | |
download | mariadb-git-bf58ec77a1adaa653a0b044b950cf420f8c19de9.tar.gz |
MDEV-18727 cleanup
Diffstat (limited to 'sql/sql_delete.cc')
-rw-r--r-- | sql/sql_delete.cc | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/sql/sql_delete.cc b/sql/sql_delete.cc index 4245c843968..78bccd7a506 100644 --- a/sql/sql_delete.cc +++ b/sql/sql_delete.cc @@ -917,20 +917,6 @@ int mysql_prepare_delete(THD *thd, TABLE_LIST *table_list, DBUG_RETURN(true); } -/* 10.4: - if (table_list->has_period()) - { - if (table_list->is_view_or_derived()) - { - my_error(ER_IT_IS_A_VIEW, MYF(0), table_list->table_name.str); - DBUG_RETURN(true); - } - - if (select_lex->period_setup_conds(thd, table_list)) - DBUG_RETURN(true); - } -*/ - DBUG_ASSERT(table_list->table); // conds could be cached from previous SP call DBUG_ASSERT(!table_list->vers_conditions.is_set() || |