mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-08 08:18:08 +00:00
Tweaked the report format, which now includes the number of INSERTs
This commit is contained in:
@@ -657,10 +657,11 @@ like(
|
||||
|
||||
like(
|
||||
$output,
|
||||
qr/\#\Q Error Code Count Type\E\s*
|
||||
\#\Q ========== ===== =========\E\s*
|
||||
\#\Q 1592 1 Ignorable\E\s*
|
||||
\#\Q 1265 1 Warning\E\s*/x,
|
||||
qr/\#\Q Event Count\E\s*
|
||||
\#\Q ========== =====\E\s*
|
||||
\#\Q INSERTS 1\E\s*
|
||||
\#\Q Error 1592 1\E\s*
|
||||
\#\Q Error 1265 1\E\s*/x,
|
||||
"--statistics works as expected with 1 ignore & 1 warning"
|
||||
);
|
||||
|
||||
|
10
t/pt-online-schema-change/samples/bug_1045317.sql
Normal file
10
t/pt-online-schema-change/samples/bug_1045317.sql
Normal file
@@ -0,0 +1,10 @@
|
||||
DROP DATABASE IF EXISTS bug_1045317;
|
||||
CREATE DATABASE bug_1045317;
|
||||
USE bug_1045317;
|
||||
CREATE TABLE `bits` (
|
||||
`id` int,
|
||||
`val` ENUM('M','E','H') NOT NULL,
|
||||
PRIMARY KEY (`id`)
|
||||
);
|
||||
|
||||
INSERT INTO `bits` VALUES (1, 'M'), (2, 'E'), (3, 'H');
|
Reference in New Issue
Block a user