@@ -22,15 +22,15 @@ show variables like 'rocksdb_%checksum%';
22
22
create table t1 (pk int primary key, a int, b int, key(a), key(b)) engine=rocksdb;
23
23
insert into t1 values (1,1,1),(2,2,2),(3,3,3);
24
24
check table t1;
25
- --exec grep "^[0-9-]* [0-9:]* [0-9]* \[Note\] CHECKTABLE t1" $MYSQLTEST_VARDIR/log/mysqld.1.err | cut -d] -f2
25
+ --exec grep "^[0-9-]* \? [0-9:]* [0-9]* \[Note\] CHECKTABLE t1" $MYSQLTEST_VARDIR/log/mysqld.1.err | cut -d] -f2
26
26
27
27
drop table t1;
28
28
29
29
set session rocksdb_store_checksums=on;
30
30
create table t2 (pk int primary key, a int, b int, key(a), key(b)) engine=rocksdb;
31
31
insert into t2 values (1,1,1),(2,2,2),(3,3,3);
32
32
check table t2;
33
- --exec grep "^[0-9-]* [0-9:]* [0-9]* \[Note\] CHECKTABLE t2" $MYSQLTEST_VARDIR/log/mysqld.1.err | cut -d] -f2
33
+ --exec grep "^[0-9-]* \? [0-9:]* [0-9]* \[Note\] CHECKTABLE t2" $MYSQLTEST_VARDIR/log/mysqld.1.err | cut -d] -f2
34
34
35
35
--echo # Now, make a table that has both rows with checksums and without
36
36
create table t3 (pk int primary key, a int, b int, key(a), key(b)) engine=rocksdb;
@@ -39,7 +39,7 @@ set session rocksdb_store_checksums=off;
39
39
update t3 set b=3 where a=2;
40
40
set session rocksdb_store_checksums=on;
41
41
check table t3;
42
- --exec grep "^[0-9-]* [0-9:]* [0-9]* \[Note\] CHECKTABLE t3" $MYSQLTEST_VARDIR/log/mysqld.1.err | cut -d] -f2
42
+ --exec grep "^[0-9-]* \? [0-9:]* [0-9]* \[Note\] CHECKTABLE t3" $MYSQLTEST_VARDIR/log/mysqld.1.err | cut -d] -f2
43
43
44
44
set session rocksdb_store_checksums=on;
45
45
set session rocksdb_checksums_pct=5;
@@ -56,7 +56,7 @@ while ($i<10000)
56
56
}
57
57
--enable_query_log
58
58
check table t4;
59
- --exec grep "^[0-9-]* [0-9:]* [0-9]* \[Note\] CHECKTABLE t4" $MYSQLTEST_VARDIR/log/mysqld.1.err | cut -d] -f2 > $MYSQL_TMP_DIR/rocksdb_checksums.log
59
+ --exec grep "^[0-9-]* \? [0-9:]* [0-9]* \[Note\] CHECKTABLE t4" $MYSQLTEST_VARDIR/log/mysqld.1.err | cut -d] -f2 > $MYSQL_TMP_DIR/rocksdb_checksums.log
60
60
--exec perl ../storage/rocksdb/mysql-test/rocksdb/t/rocksdb_checksums.pl $MYSQL_TMP_DIR/rocksdb_checksums.log 10000 5
61
61
--remove_file $MYSQL_TMP_DIR/rocksdb_checksums.log
62
62
set session rocksdb_checksums_pct=100;
0 commit comments