mariadb/mysql-test/t/analyse.test
unknown 9112cdf58a Fixex for some crashing bug
mysql-test/r/analyse.result:
  A fix for some crashing bug
mysql-test/r/handler.result:
  A fix for some crashing bug
mysql-test/t/analyse.test:
  A fix for some crashing bug
mysql-test/t/handler.test:
  A fix for some crashing bug
sql/sql_select.cc:
  A fix for some crashing bug
2003-01-10 17:36:59 +02:00

16 lines
410 B
Text

#
# Test of procedure analyse
#
--disable_warnings
drop table if exists t1,t2;
--enable_warnings
create table t1 (i int, j int);
insert into t1 values (1,2), (3,4), (5,6), (7,8);
select count(*) from t1 procedure analyse();
select * from t1 procedure analyse();
create table t2 select * from t1 procedure analyse();
select * from t2;
drop table t1,t2;
EXPLAIN SELECT 1 FROM (SELECT 1) a PROCEDURE ANALYSE();