mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 12:32:27 +01:00
4d5dcac35e
Changed mysql-test to use --language Cleaned up parameters to filesort() configure.in: Fixed typo mysql-test/install_test_db.sh: Changed test case to use --language mysql-test/mysql-test-run.sh: Changed test case to use --language Fixed that test names are not 'cut'-ed. mysql-test/r/select_found.result: Fixed test case to make it repeatable mysql-test/t/insert.test: Added test of unique key handling mysql-test/t/order_fill_sortbuf.test: Cleaned up test mysql-test/t/select_found.test: Fixed test case to make it repeatable sql/filesort.cc: Fixed bug when sorting big files (introduced with multi-table-delete) cleaned up parameters. sql/mysql_priv.h: Cleaned up parameters to filesort() sql/mysqld.cc: Fixed typo on enum sql/sql_delete.cc: Cleanup sql/sql_select.cc: Cleanup sql/sql_table.cc: Cleanup sql/sql_test.cc: Cleanup sql/sql_update.cc: Cleanup
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;
|