mirror of
https://github.com/MariaDB/server.git
synced 2025-01-31 02:51:44 +01:00
b2865a437f
1. Special mode to search in error logs: if SEARCH_RANGE is not set, the file is considered an error log and the search is performed since the last CURRENT_TEST: line 2. Number of matches is printed too. "FOUND 5 /foo/ in bar". Use greedy .* at the end of the pattern if number of matches isn't stable. If nothing is found it's still "NOT FOUND", not "FOUND 0". 3. SEARCH_ABORT specifies the prefix of the output. Can be "NOT FOUND" or "FOUND" as before, but also "FOUND 5 " if needed.
18 lines
586 B
Text
18 lines
586 B
Text
#
|
|
# Bug#21801423 INNODB REDO LOG DOES NOT INDICATE WHEN
|
|
# FILES ARE CREATED
|
|
#
|
|
# Bug#21796691 INNODB REDO LOG DOES NOT INDICATE WHEN
|
|
# REDO LOGGING IS SKIPPED
|
|
#
|
|
CREATE TABLE t1 (a INT NOT NULL, b INT UNIQUE) ENGINE=InnoDB;
|
|
INSERT INTO t1 VALUES (1,2);
|
|
ALTER TABLE t1 ADD PRIMARY KEY(a), ALGORITHM=INPLACE;
|
|
ALTER TABLE t1 DROP INDEX b, ADD INDEX (b);
|
|
# Kill the server
|
|
FOUND 1 /scan .*: multi-log rec MLOG_FILE_CREATE2.*page .*:0/ in mysqld.1.err
|
|
FOUND 1 /scan .*: log rec MLOG_INDEX_LOAD/ in mysqld.1.err
|
|
CHECK TABLE t1;
|
|
Table Op Msg_type Msg_text
|
|
test.t1 check status OK
|
|
DROP TABLE t1;
|