mirror of
https://github.com/MariaDB/server.git
synced 2025-01-19 13:32:33 +01:00
65600db56d
Changed mysql-test to use --language Cleaned up parameters to filesort()
24 lines
611 B
Text
24 lines
611 B
Text
#
|
|
# Test of refering to old values
|
|
#
|
|
|
|
drop table if exists t1;
|
|
create table t1 (a int not null);
|
|
insert into t1 values (1);
|
|
insert into t1 values (a+2);
|
|
insert into t1 values (a+3);
|
|
insert into t1 values (4),(a+5);
|
|
select * from t1;
|
|
drop table t1;
|
|
|
|
#
|
|
# Test of duplicate key values with packed keys
|
|
#
|
|
|
|
create table t1 (id int not null auto_increment primary key, username varchar(32) not null, unique (username));
|
|
insert into t1 values (0,"mysql");
|
|
insert into t1 values (0,"mysql ab");
|
|
insert into t1 values (0,"mysql a");
|
|
insert into t1 values (0,"r1manic");
|
|
insert into t1 values (0,"r1man");
|
|
drop table t1;
|