mirror of
https://github.com/MariaDB/server.git
synced 2025-01-19 13:32:33 +01:00
6c3921eb9a
test comments correction
12 lines
434 B
Text
12 lines
434 B
Text
create table t1 (a int auto_increment, b int, PRIMARY KEY (a)) ENGINE=InnoDB;
|
|
create table t2 (a int auto_increment, b int, PRIMARY KEY (a)) ENGINE=MyISAM;
|
|
create table t3 (a int auto_increment, b int, PRIMARY KEY (a)) ENGINE=InnoDB;
|
|
select get_lock("a", 20);
|
|
get_lock("a", 20)
|
|
1
|
|
reset master;
|
|
insert into t2 values (null, null), (null, get_lock("a", 10));
|
|
select @result /* must be zero either way */;
|
|
@result
|
|
0
|
|
drop table t1,t2,t3;
|