Debian Codegraph @

mysql-test/suite/binlog/r/binlog_mysqlbinlog_source_gipk_info.result

raw
1
2 ##################################################
3 # 1. Check the output of mysqlbinlog when the input file is a log
4 # from an old version server where GIPKs are not supported
5 # No info about GIPK should be present
6 include/assert_grep.inc [Check the output contains no information GIPK]
7 include/assert_grep.inc [Check the output contains no information GIPK]
8
9 ##################################################
10 # 2. Check the output of mysqlbinlog when the input files are logs
11 # created in a server version that supports GIPKs
12 # Info about GIPKs should be present
13 include/assert_grep.inc [Check the output contains information about t1 not containing a GIPK]
14 include/assert_grep.inc [Check the output contains information about t2 containing a GIPK]
15
16 ##################################################
17 # 3. Check a binlog file containing the 2 tables above, but now with --print-table-metadata
18 # Even with binlog_row_metadata = minimal, data about the GIPK columns should be present
19 include/assert_grep.inc [Check the output contains complete info about the GIPK column on t2]
20 include/assert_grep.inc [Check the output contains info about the GIPK being a PK on t2]
21 include/assert_grep.inc [Info about the column really_unique_column_name on t2 is only mentioned once on CREATE]
22 include/assert_grep.inc [Check the output contains no info about c1 being a PK on t1]
23
24 ##################################################
25 # 4. Check an equivalent binlog file but generated with binlog_row_metadata = full
26 # With --print-table-metadata the info should still be the same for GIPKs
27 include/assert_grep.inc [Check the output contains complete info about the GIPK column on t2]
28 include/assert_grep.inc [Check the output contains info about the GIPK being a PK on t2]
29 include/assert_grep.inc [Info about the column really_unique_column_name on t2 is mentioned on CREATE and in the table map]
30 include/assert_grep.inc [Check the output contains info about c1 being a PK on t1]
31
32 ##################################################
33 # 5. Cleanup