mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 20:42:30 +01:00
Speed up of innodb_gis.update_root test 10x by adding BEGIN/COMMIT
This commit is contained in:
parent
93f5d40656
commit
bad1440325
2 changed files with 8 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -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));
|
||||
|
||||
|
|
Loading…
Reference in a new issue