mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
Comment and indentation improvements
This commit is contained in:
@@ -5713,7 +5713,7 @@ bool mysql_create_like_table(THD* thd, TABLE_LIST* table,
|
||||
#endif
|
||||
|
||||
/*
|
||||
We the open source table to get its description in HA_CREATE_INFO
|
||||
We open source table to get its description in HA_CREATE_INFO
|
||||
and Alter_info objects. This also acquires a shared metadata lock
|
||||
on this table which ensures that no concurrent DDL operation will
|
||||
mess with it.
|
||||
@@ -5722,6 +5722,7 @@ bool mysql_create_like_table(THD* thd, TABLE_LIST* table,
|
||||
that we can safely perform table creation.
|
||||
Thus by holding both these locks we ensure that our statement is
|
||||
properly isolated from all concurrent operations which matter.
|
||||
If the target table exists, it will also be opened.
|
||||
*/
|
||||
|
||||
res= open_tables(thd, *create_info, &thd->lex->query_tables, ¬_used, 0);
|
||||
|
Reference in New Issue
Block a user