mirror of
https://github.com/MariaDB/server.git
synced 2025-01-29 10:14:19 +01:00
Test MDL with a more generic ALTER TABLE statement
This commit is contained in:
parent
ab63290c35
commit
447cd7b1af
1 changed files with 2 additions and 2 deletions
|
@ -1656,8 +1656,8 @@ static void check_mdl_lock_works(const char *table_name)
|
|||
MYSQL *test_con= xb_mysql_connect();
|
||||
char *query;
|
||||
xb_a(asprintf(&query,
|
||||
"SET STATEMENT max_statement_time=1 FOR ALTER TABLE %s"
|
||||
" ADD COLUMN mdl_lock_column int", table_name));
|
||||
"SET STATEMENT max_statement_time=1 FOR ALTER TABLE %s FORCE",
|
||||
table_name));
|
||||
int err = mysql_query(test_con, query);
|
||||
DBUG_ASSERT(err);
|
||||
int err_no = mysql_errno(test_con);
|
||||
|
|
Loading…
Add table
Reference in a new issue