mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
Write information about restart in .result
Idea comes from MySQL which does something similar
This commit is contained in:
@@ -47,6 +47,7 @@ FOUND 1 /Error while setting value \'no\' to \'strict-check\'/ in my_restart.err
|
||||
[14b]: when server default checksum=crc32 rewrite new checksum=innodb with innochecksum
|
||||
# Also check the long form of write option.
|
||||
# start the server with innodb_checksum_algorithm=InnoDB
|
||||
# restart: --innodb_checksum_algorithm=innodb
|
||||
INSERT INTO tab1 VALUES(2, 'Innochecksum CRC32');
|
||||
SELECT c1,c2 FROM tab1 order by c1,c2;
|
||||
c1 c2
|
||||
@@ -56,6 +57,7 @@ c1 c2
|
||||
[15]: when server default checksum=crc32 rewrite new checksum=none with innochecksum
|
||||
# Also check the short form of write option.
|
||||
# Start the server with checksum algorithm=none
|
||||
# restart: --innodb_checksum_algorithm=none
|
||||
INSERT INTO tab1 VALUES(3, 'Innochecksum None');
|
||||
SELECT c1,c2 FROM tab1 order by c1,c2;
|
||||
c1 c2
|
||||
@@ -66,6 +68,7 @@ DROP TABLE t1;
|
||||
# Stop the server
|
||||
[16]: rewrite into new checksum=crc32 with innochecksum
|
||||
# Restart the DB server with innodb_checksum_algorithm=crc32
|
||||
# restart: --innodb_checksum_algorithm=crc32
|
||||
SELECT * FROM tab1;
|
||||
c1 c2
|
||||
1 Innochecksum InnoDB1
|
||||
@@ -79,6 +82,7 @@ c1 c2
|
||||
# Stop server
|
||||
[17]: rewrite into new checksum=InnoDB
|
||||
# Restart the DB server with innodb_checksum_algorithm=InnoDB
|
||||
# restart: --innodb_checksum_algorithm=innodb
|
||||
DELETE FROM tab1 where c1=2;
|
||||
SELECT * FROM tab1;
|
||||
c1 c2
|
||||
@@ -88,4 +92,5 @@ c1 c2
|
||||
FOUND 1 /Error while setting value \'strict_crc32\' to \'write\'/ in my_restart.err
|
||||
FOUND 1 /Error while setting value \'strict_innodb\' to \'write\'/ in my_restart.err
|
||||
FOUND 1 /Error while setting value \'crc23\' to \'write\'/ in my_restart.err
|
||||
# restart
|
||||
DROP TABLE tab1;
|
||||
|
Reference in New Issue
Block a user