mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Revert patch for bug #19764, which did not work with prepared statements.
BitKeeper/deleted/.del-show_check-master.opt: Delete: mysql-test/t/show_check-master.opt
This commit is contained in:
@ -630,19 +630,4 @@ SHOW TABLES FROM no_such_database;
|
||||
ERROR 42000: Unknown database 'no_such_database'
|
||||
SHOW COLUMNS FROM no_such_table;
|
||||
ERROR 42S02: Table 'test.no_such_table' doesn't exist
|
||||
flush status;
|
||||
show status like 'slow_queries';
|
||||
Variable_name Value
|
||||
Slow_queries 0
|
||||
show tables;
|
||||
Tables_in_test
|
||||
show status like 'slow_queries';
|
||||
Variable_name Value
|
||||
Slow_queries 0
|
||||
select 1 from information_schema.tables limit 1;
|
||||
1
|
||||
1
|
||||
show status like 'slow_queries';
|
||||
Variable_name Value
|
||||
Slow_queries 1
|
||||
End of 5.0 tests.
|
||||
End of 5.0 tests
|
||||
|
@ -1 +0,0 @@
|
||||
--log-slow-queries --log-long-format --log-queries-not-using-indexes
|
@ -507,16 +507,4 @@ SHOW TABLES FROM no_such_database;
|
||||
SHOW COLUMNS FROM no_such_table;
|
||||
|
||||
|
||||
#
|
||||
# Bug #19764: SHOW commands end up in the slow log as table scans
|
||||
#
|
||||
flush status;
|
||||
show status like 'slow_queries';
|
||||
show tables;
|
||||
show status like 'slow_queries';
|
||||
# Table scan query, to ensure that slow_queries does still get incremented
|
||||
# (mysqld is started with --log-queries-not-using-indexes)
|
||||
select 1 from information_schema.tables limit 1;
|
||||
show status like 'slow_queries';
|
||||
|
||||
--echo End of 5.0 tests.
|
||||
--echo End of 5.0 tests
|
||||
|
Reference in New Issue
Block a user