Speed up of innodb_gis.update_root test 10x by adding BEGIN/COMMIT

This commit is contained in:
Monty 2021-06-18 13:16:51 +03:00
parent 93f5d40656
commit bad1440325
2 changed files with 8 additions and 0 deletions

View file

@ -7,10 +7,14 @@ insert into t1 values (i, Point(i, i));
set i = i + 1;
end while;
end|
BEGIN;
CALL insert_t1(70000);
COMMIT;
BEGIN;
CALL insert_t1(90);
CALL insert_t1(90);
CALL insert_t1(83);
COMMIT;
insert into t1 values (0, Point(0.9, 0.9));
check table t1;
Table Op Msg_type Msg_text

View file

@ -26,11 +26,15 @@ end|
delimiter ;|
# Test level 3 rtree.
BEGIN;
CALL insert_t1(70000);
COMMIT;
BEGIN;
CALL insert_t1(90);
CALL insert_t1(90);
CALL insert_t1(83);
COMMIT;
insert into t1 values (0, Point(0.9, 0.9));