1
0
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:
Monty
2025-01-05 17:33:10 +02:00
parent 4992aaf9a2
commit d9c3b775b8
7 changed files with 28 additions and 16 deletions

View File

@@ -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, &not_used, 0);