mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Write information about restart in .result
Idea comes from MySQL which does something similar
This commit is contained in:
@ -19,4 +19,5 @@ COMMIT;
|
||||
disconnect purge_control;
|
||||
connection default;
|
||||
set global innodb_fast_shutdown = 0;
|
||||
# restart
|
||||
drop table t1;
|
||||
|
@ -1,3 +1,4 @@
|
||||
# restart
|
||||
create table t1 (c1 int, c2 geometry not null, spatial index (c2))engine=innodb;
|
||||
create procedure insert_t1(IN total int)
|
||||
begin
|
||||
@ -17,6 +18,7 @@ end while;
|
||||
end|
|
||||
CALL insert_t1(367);
|
||||
COMMIT;
|
||||
# restart
|
||||
check table t1;
|
||||
Table Op Msg_type Msg_text
|
||||
test.t1 check status OK
|
||||
@ -27,6 +29,7 @@ CALL update_t1(367);
|
||||
SET @poly1 = ST_GeomFromText('POLYGON((10000 10000, 10000 10350, 10350 10350, 10350 10000, 10000 10000))');
|
||||
delete from t1 where ST_Contains(@poly1, c2);
|
||||
COMMIT;
|
||||
# restart
|
||||
check table t1;
|
||||
Table Op Msg_type Msg_text
|
||||
test.t1 check status OK
|
||||
|
@ -51,6 +51,7 @@ FLUSH TABLES;
|
||||
INSERT INTO t_wl6455 VALUES(11, POINT(11,11));
|
||||
BEGIN;
|
||||
INSERT INTO t_wl6455 VALUES(1, POINT(1,1));
|
||||
# restart
|
||||
CHECK TABLE t_wl6455;
|
||||
Table Op Msg_type Msg_text
|
||||
test.t_wl6455 check status OK
|
||||
|
Reference in New Issue
Block a user