mirror of
https://github.com/MariaDB/server.git
synced 2025-11-28 17:36:30 +03:00
Sync with rev. 114
This commit is contained in:
@@ -1770,7 +1770,6 @@ row_create_table_for_mysql(
|
||||
const char* table_name;
|
||||
ulint table_name_len;
|
||||
ulint err;
|
||||
ulint i;
|
||||
|
||||
ut_ad(trx->mysql_thread_id == os_thread_get_curr_id());
|
||||
#ifdef UNIV_SYNC_DEBUG
|
||||
@@ -1805,15 +1804,6 @@ err_exit:
|
||||
goto err_exit;
|
||||
}
|
||||
|
||||
/* Check that no reserved column names are used. */
|
||||
for (i = 0; i < dict_table_get_n_user_cols(table); i++) {
|
||||
if (dict_col_name_is_reserved(
|
||||
dict_table_get_col_name(table, i))) {
|
||||
|
||||
goto err_exit;
|
||||
}
|
||||
}
|
||||
|
||||
trx_start_if_not_started(trx);
|
||||
|
||||
/* The table name is prefixed with the database name and a '/'.
|
||||
|
||||
Reference in New Issue
Block a user