mirror of
https://github.com/MariaDB/server.git
synced 2026-01-06 05:22:24 +03:00
Fix for bug #46614: Assertion in show_create_trigger()
on SHOW CREATE TRIGGER + MERGE table Problem: SHOW CREATE TRIGGER erroneously relies on fact that we have the only underlying table for a trigger (wrong for merge tables). Fix: remove erroneous assert().
This commit is contained in:
@@ -7071,8 +7071,6 @@ bool show_create_trigger(THD *thd, const sp_name *trg_name)
|
||||
/* Perform closing actions and return error status. */
|
||||
}
|
||||
|
||||
DBUG_ASSERT(num_tables == 1);
|
||||
|
||||
Table_triggers_list *triggers= lst->table->triggers;
|
||||
|
||||
if (!triggers)
|
||||
|
||||
Reference in New Issue
Block a user