mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 03:52:35 +01:00
21 lines
279 B
Text
21 lines
279 B
Text
INSERT INTO init_file.startup VALUES ( NOW() );
|
|
SELECT * INTO @X FROM init_file.startup limit 0,1;
|
|
SELECT * INTO @Y FROM init_file.startup limit 1,1;
|
|
SELECT YEAR(@X)-YEAR(@Y);
|
|
YEAR(@X)-YEAR(@Y)
|
|
0
|
|
ok
|
|
end of 4.1 tests
|
|
select * from t1;
|
|
x
|
|
3
|
|
5
|
|
7
|
|
11
|
|
13
|
|
select * from t2;
|
|
y
|
|
30
|
|
3
|
|
11
|
|
13
|