PT-2313 - pt-diskstat fails with new kernels again

- Ported fix for PT-1887
- Added test case
This commit is contained in:
Sveta Smirnova
2024-03-15 19:15:51 +03:00
parent d813b4fbcf
commit 2df691d913
6 changed files with 136 additions and 3 deletions

View File

@@ -0,0 +1,11 @@
#!/bin/bash
TEST=1
cat <<EOF > $TMPDIR/expected
binlog_do_db | foo
binlog_ignore_db | mysql,test
EOF
format_binlog_filters samples/mysql-show-master-status-001.txt > $TMPDIR/got
no_diff $TMPDIR/got $TMPDIR/expected