mirror of
https://github.com/MariaDB/server.git
synced 2025-12-24 11:21:21 +03:00
SHOW VARIABLES LIKE ... are now case insensitive
Fixed stack overflow checking with crash-me with gcc 3.0.4 Using @@unknown_variable doesn't hang client anymore Added @@VERSION variable
This commit is contained in:
@@ -27,3 +27,14 @@ SELECT * FROM t1 WHERE c_id=@min_cid OR c_id=@max_cid OR c_id=666;
|
||||
ALTER TABLE t1 DROP PRIMARY KEY;
|
||||
select * from t1 where c_id=@min_cid OR c_id=@max_cid;
|
||||
drop table t1;
|
||||
|
||||
#
|
||||
# Test system variables
|
||||
#
|
||||
|
||||
select @@VERSION=version();
|
||||
select last_insert_id(345);
|
||||
select @@IDENTITY,last_insert_id();
|
||||
select @@identity;
|
||||
--error 1193
|
||||
select @@unknown_variable;
|
||||
|
||||
Reference in New Issue
Block a user