mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Merge
This commit is contained in:
@ -5624,6 +5624,12 @@ TABLE *create_schema_table(THD *thd, TABLE_LIST *table_list)
|
||||
{
|
||||
DBUG_RETURN(0);
|
||||
}
|
||||
/*
|
||||
Create a type holder, as we want the type of the item to defined
|
||||
the type of the object, not the value
|
||||
*/
|
||||
if (!(item= new Item_type_holder(thd, item)))
|
||||
DBUG_RETURN(0);
|
||||
item->unsigned_flag= (fields_info->field_flags & MY_I_S_UNSIGNED);
|
||||
item->decimals= fields_info->field_length%10;
|
||||
item->max_length= (fields_info->field_length/100)%100;
|
||||
@ -7111,8 +7117,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