mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 04:53:01 +01:00
50da5c1858
man/perror.1: Auto merged scripts/mysqld_safe.sh: Auto merged sql/gen_lex_hash.cc: Auto merged sql/ha_myisam.cc: Auto merged sql/item.cc: Auto merged sql/sql_select.cc: Auto merged strings/ctype-tis620.c: Auto merged mysql-test/r/analyse.result: ul mysql-test/r/group_by.result: ul mysql-test/r/select.result: ul
13 lines
436 B
Text
13 lines
436 B
Text
#
|
|
# Test of procedure analyse
|
|
#
|
|
|
|
drop table if exists t1,t2;
|
|
create table t1 (i int, j int, empty_string char(10), bool char(1), d date);
|
|
insert into t1 values (1,2,"","Y","2002-03-03"), (3,4,"","N","2002-03-04"), (5,6,"","Y","2002-03-04"), (7,8,"","N","2002-03-05");
|
|
select * from t1 procedure analyse();
|
|
select * from t1 procedure analyse(2);
|
|
create table t2 select * from t1 procedure analyse();
|
|
select * from t2;
|
|
drop table t1,t2;
|
|
|