Commit bad14403 authored by Monty's avatar Monty

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

parent 93f5d406
...@@ -7,10 +7,14 @@ insert into t1 values (i, Point(i, i)); ...@@ -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| ...@@ -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));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment