1
0
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:
msvensson@neptunus.(none)
2005-06-03 15:29:05 +02:00
parent 329d974df7
commit 8c0f0c7b2b
5 changed files with 39 additions and 6 deletions

View File

@ -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;