mirror of
https://github.com/MariaDB/server.git
synced 2026-05-03 13:45:34 +02:00
Cleanup usage of DBUG_ASSERTS.
This commit is contained in:
parent
235b68299b
commit
3b7aa3017b
1 changed files with 1 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue