mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
BUG#9998 MySQL client hangs on "USE database"
Use open_normal_and_derived_tables instead of open_and_lock_tables when reading metadata for a table. Add two test cases, one for "USE database" and one for "SHOW COLUMNS FROM table"
This commit is contained in:
@ -48,3 +48,9 @@ Test 'go' command g
|
||||
a
|
||||
1
|
||||
drop table t1;
|
||||
create table t1(a int);
|
||||
lock tables t1 write;
|
||||
database()
|
||||
test
|
||||
unlock tables;
|
||||
drop table t1;
|
||||
|
Reference in New Issue
Block a user