mirror of
https://github.com/MariaDB/server.git
synced 2025-02-02 12:01:42 +01:00
d998a1635f
- Don't print a plan when the statement didn't produce it - Also, add first testcase. We can't check the EXPLAIN from the slow log itself, though.
11 lines
412 B
Text
11 lines
412 B
Text
drop table if exists t0,t1;
|
|
create table t0 (a int);
|
|
insert into t0 values (0),(1),(2),(3),(4),(5),(6),(7),(8),(9);
|
|
explain select * from t0 where a < 3;
|
|
id select_type table type possible_keys key key_len ref rows Extra
|
|
1 SIMPLE t0 ALL NULL NULL NULL NULL 10 Using where
|
|
#
|
|
# MDEV-5045: Server crashes in QPF_query::print_explain with log_slow_verbosity='query_plan,explain'
|
|
#
|
|
set autocommit=1;
|
|
drop table t0;
|