mirror of
https://github.com/MariaDB/server.git
synced 2025-01-19 13:32:33 +01:00
1f409baf4c
Fixed that @VAR shows all decimals Fixed problem with FLUSH TABLES and LOCK TABLE CREATE ... SELECT now creates keys later Reset AUTO_INCREMENT order if droping AUTO_INCREMENT key
16 lines
770 B
Text
16 lines
770 B
Text
#
|
|
# test variables
|
|
#
|
|
set @`test`=1,@TEST=3,@select=2,@t5=1.23456;
|
|
select @test,@`select`,@TEST,@not_used;
|
|
set @test_int=10,@test_double=1e-10,@test_string="abcdeghi",@test_string2="abcdefghij",@select=NULL;
|
|
select @test_int,@test_double,@test_string,@test_string2,@select;
|
|
set @test_int="hello",@test_double="hello",@test_string="hello",@test_string2="hello";
|
|
select @test_int,@test_double,@test_string,@test_string2;
|
|
set @test_int="hellohello",@test_double="hellohello",@test_string="hellohello",@test_string2="hellohello";
|
|
select @test_int,@test_double,@test_string,@test_string2;
|
|
set @test_int=null,@test_double=null,@test_string=null,@test_string2=null;
|
|
select @test_int,@test_double,@test_string,@test_string2;
|
|
select @t1:=(@t2:=1)+@t3:=4,@t1,@t2,@t3;
|
|
select @t5;
|
|
|