diff options
author | Oleksandr Byelkin <sanja@mariadb.com> | 2017-10-13 18:41:38 +0200 |
---|---|---|
committer | Oleksandr Byelkin <sanja@mariadb.com> | 2017-10-13 19:32:38 +0200 |
commit | 3b7aa3017b65dcf11d33617e954e1cb471703582 (patch) | |
tree | 13fcd88300c744478713fc9d975a2fbce50723a8 | |
parent | 235b68299bc112f9cb7be97af8d01bf904919a6b (diff) | |
download | mariadb-git-3b7aa3017b65dcf11d33617e954e1cb471703582.tar.gz |
Cleanup usage of DBUG_ASSERTS.
-rw-r--r-- | sql/item.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sql/item.cc b/sql/item.cc index 3100a4e3408..a8913e97fe9 100644 --- a/sql/item.cc +++ b/sql/item.cc @@ -8075,7 +8075,6 @@ bool Item_direct_view_ref::send(Protocol *protocol, String *buffer) bool Item_direct_view_ref::fix_fields(THD *thd, Item **reference) { - DBUG_ASSERT(1); /* view fild reference must be defined */ DBUG_ASSERT(*ref); /* (*ref)->check_cols() will be made in Item_direct_ref::fix_fields */ @@ -9959,7 +9958,7 @@ void Item_direct_view_ref::update_used_tables() table_map Item_direct_view_ref::used_tables() const { - DBUG_ASSERT(null_ref_table); + DBUG_ASSERT(fixed); if (get_depended_from()) return OUTER_REF_TABLE_BIT; |