mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 04:53:01 +01:00
a6a4c25bf7
Some test are still disabled as they provide different results, fail on different error or crash. Fixes also MDEV-14060 InnoDB: Foreign key constraint to geometry type does not work where test intentionally tried incorrect cases.
24 lines
597 B
Text
24 lines
597 B
Text
create table t (
|
|
a point not null,b point not null,c point,
|
|
d point not null,e point,f point,
|
|
spatial key (d),spatial key (b)
|
|
) engine=innodb;
|
|
create procedure p(i int)
|
|
begin
|
|
declare n int default 0;
|
|
declare continue handler for sqlexception begin end;
|
|
delete from t;
|
|
repeat
|
|
set @p=point(1,1);
|
|
insert into t values(@p,@p,@p,@p,@p,@p);
|
|
insert into t values(@p,@p,@p,@p,@p,@p);
|
|
insert into t select @p,@p,@p,@p,@p,@p
|
|
from t a,t b,t c,t d,t e,t f,t g,t h,t i,t j;
|
|
delete from t;
|
|
set n:=n+1;
|
|
until n >= i end repeat;
|
|
end|
|
|
call p(200);
|
|
InnoDB 0 transactions not purged
|
|
drop procedure p;
|
|
drop table t;
|