mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 20:42:30 +01:00
13 lines
248 B
Text
13 lines
248 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;
|