mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Speed up of innodb_gis.update_root test 10x by adding BEGIN/COMMIT
This commit is contained in:
@ -7,10 +7,14 @@ insert into t1 values (i, Point(i, i));
|
|||||||
set i = i + 1;
|
set i = i + 1;
|
||||||
end while;
|
end while;
|
||||||
end|
|
end|
|
||||||
|
BEGIN;
|
||||||
CALL insert_t1(70000);
|
CALL insert_t1(70000);
|
||||||
|
COMMIT;
|
||||||
|
BEGIN;
|
||||||
CALL insert_t1(90);
|
CALL insert_t1(90);
|
||||||
CALL insert_t1(90);
|
CALL insert_t1(90);
|
||||||
CALL insert_t1(83);
|
CALL insert_t1(83);
|
||||||
|
COMMIT;
|
||||||
insert into t1 values (0, Point(0.9, 0.9));
|
insert into t1 values (0, Point(0.9, 0.9));
|
||||||
check table t1;
|
check table t1;
|
||||||
Table Op Msg_type Msg_text
|
Table Op Msg_type Msg_text
|
||||||
|
@ -26,11 +26,15 @@ end|
|
|||||||
delimiter ;|
|
delimiter ;|
|
||||||
|
|
||||||
# Test level 3 rtree.
|
# Test level 3 rtree.
|
||||||
|
BEGIN;
|
||||||
CALL insert_t1(70000);
|
CALL insert_t1(70000);
|
||||||
|
COMMIT;
|
||||||
|
|
||||||
|
BEGIN;
|
||||||
CALL insert_t1(90);
|
CALL insert_t1(90);
|
||||||
CALL insert_t1(90);
|
CALL insert_t1(90);
|
||||||
CALL insert_t1(83);
|
CALL insert_t1(83);
|
||||||
|
COMMIT;
|
||||||
|
|
||||||
insert into t1 values (0, Point(0.9, 0.9));
|
insert into t1 values (0, Point(0.9, 0.9));
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user