42 lines
1.3 KiB
Plaintext
42 lines
1.3 KiB
Plaintext
|
|
--source include/force_myisam_default.inc
|
|
--source include/have_myisam.inc
|
|
|
|
# Result differences depending on FS case sensitivity.
|
|
if (!$require_case_insensitive_file_system)
|
|
{
|
|
--source include/have_case_sensitive_file_system.inc
|
|
}
|
|
|
|
--source include/no_valgrind_without_big.inc
|
|
|
|
#Don't run this test when thread_pool active
|
|
--source include/not_threadpool.inc
|
|
|
|
# Save the initial number of concurrent sessions
|
|
--source include/count_sessions.inc
|
|
|
|
set @orig_sql_mode= @@sql_mode;
|
|
|
|
|
|
--echo #
|
|
--echo # Bug#19307777 ASSERTION `QEP_TAB->CONDITION() == QEP_TAB->CONDITION_OPTIM()' FAILED
|
|
--echo #
|
|
# After ACL tables were migrated to InnoDB storage engine the
|
|
# "Impossible HAVING" optimization isn't possible with mysql.procs_priv
|
|
# table. To keep the test runnable the copy of this table using MyISAM
|
|
# engine is created and used in the test.
|
|
CREATE TABLE mysql.procs_priv_copy ENGINE=MyISAM AS SELECT * FROM mysql.procs_priv;
|
|
|
|
let $query=
|
|
select * from
|
|
information_schema . innodb_cmp as table1
|
|
left outer join mysql . procs_priv_copy as table2
|
|
on ( table2 . routine_name = table1 . compress_time )
|
|
where not table1 . compress_time <> '2006-09-03 10:11:37.046313'
|
|
having table2 . grantor <> '2008-02-28 22:17:05.025739' limit 9;
|
|
|
|
eval EXPLAIN $query;
|
|
eval $query;
|
|
DROP TABLE mysql.procs_priv_copy;
|