summaryrefslogtreecommitdiff
path: root/mysql-test/suite/encryption/r
diff options
context:
space:
mode:
authorThirunarayanan Balathandayuthapani <thiru@mariadb.com>2019-06-28 18:49:43 +0530
committerThirunarayanan Balathandayuthapani <thiru@mariadb.com>2019-06-28 18:58:52 +0530
commite4a0dbfb4aa77a9d41039f5cd7144d98a6b9baed (patch)
treed2c2344720e5b47345b0aecf642165ec17954f76 /mysql-test/suite/encryption/r
parentf7a4a8719bd59eca27e3e5e467c138853aa63dd5 (diff)
downloadmariadb-git-e4a0dbfb4aa77a9d41039f5cd7144d98a6b9baed.tar.gz
MDEV-19781 Add page id matching check in innochecksum tool
Added the condition in innochecksum tool to check page id mismatch. This could catch the write corruption caused by InnoDB. Added the debug insert inside fil_io() to check whether it writes the page to wrong offset.
Diffstat (limited to 'mysql-test/suite/encryption/r')
-rw-r--r--mysql-test/suite/encryption/r/innochecksum.result2
1 files changed, 1 insertions, 1 deletions
diff --git a/mysql-test/suite/encryption/r/innochecksum.result b/mysql-test/suite/encryption/r/innochecksum.result
index 6ea54f3d053..2c1279cd232 100644
--- a/mysql-test/suite/encryption/r/innochecksum.result
+++ b/mysql-test/suite/encryption/r/innochecksum.result
@@ -33,7 +33,7 @@ CREATE TABLE t6 (a INT AUTO_INCREMENT PRIMARY KEY, b TEXT) ENGINE=InnoDB;
# Run innochecksum on t2
# Run innochecksum on t3
# Run innochecksum on t6
-# no encryption corrupting the field should not have effect
+# Space ID mismatch
# Restore the original tables
# Corrupt FIL_DATA+10 (data)
# Run innochecksum on t2