mariadb/mysql-test/t/analyse.test

13 lines
327 B
Text
Raw Normal View History

#
# Test of procedure analyse
#
drop table if exists t1,t2;
create table t1 (i int, j int);
insert into t1 values (1,2), (3,4), (5,6), (7,8);
select * from t1 procedure analyse();
create table t2 select * from t1 procedure analyse();
select * from t2;
drop table t1,t2;
2002-12-05 20:51:22 +01:00
EXPLAIN SELECT 1 FROM (SELECT 1) a PROCEDURE ANALYSE();