1
0
mirror of https://github.com/MariaDB/server.git synced 2025-12-24 11:21:21 +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

@@ -94,3 +94,15 @@ connection reader;
reap;
connection locker;
drop table t1;
#
# BUG#9998 - MySQL client hangs on USE "database"
create table t1(a int);
lock tables t1 write;
connection reader;
show columns from t1;
connection locker;
unlock tables;
drop table t1;