41
41
# be time dependent (the Start events). Better than nothing.
44
--exec $MYSQL_BINLOG --short-form --base64-output=never $MYSQLTEST_VARDIR/log/master-bin.000001
44
--exec $DRIZZLE_BINLOG --short-form --base64-output=never $MYSQLTEST_VARDIR/log/master-bin.000001
46
46
--disable_query_log
47
47
select "--- offset --" as "";
49
--exec $MYSQL_BINLOG --short-form --offset=2 $MYSQLTEST_VARDIR/log/master-bin.000001
49
--exec $DRIZZLE_BINLOG --short-form --offset=2 $MYSQLTEST_VARDIR/log/master-bin.000001
50
50
--disable_query_log
51
51
select "--- start-position --" as "";
53
--exec $MYSQL_BINLOG --short-form --start-position=609 $MYSQLTEST_VARDIR/log/master-bin.000001
53
--exec $DRIZZLE_BINLOG --short-form --start-position=609 $MYSQLTEST_VARDIR/log/master-bin.000001
54
54
--disable_query_log
55
55
select "--- stop-position --" as "";
57
--exec $MYSQL_BINLOG --short-form --stop-position=609 $MYSQLTEST_VARDIR/log/master-bin.000001
57
--exec $DRIZZLE_BINLOG --short-form --stop-position=609 $MYSQLTEST_VARDIR/log/master-bin.000001
58
58
--disable_query_log
59
59
select "--- start and stop positions ---" as "";
61
--exec $MYSQL_BINLOG --short-form --start-position=609 --stop-position 726 $MYSQLTEST_VARDIR/log/master-bin.000001
61
--exec $DRIZZLE_BINLOG --short-form --start-position=609 --stop-position 726 $MYSQLTEST_VARDIR/log/master-bin.000001
62
62
--disable_query_log
63
63
select "--- start-datetime --" as "";
65
--exec $MYSQL_BINLOG --short-form "--start-datetime=2020-01-21 15:32:24" $MYSQLTEST_VARDIR/log/master-bin.000001
65
--exec $DRIZZLE_BINLOG --short-form "--start-datetime=2020-01-21 15:32:24" $MYSQLTEST_VARDIR/log/master-bin.000001
66
66
--disable_query_log
67
67
select "--- stop-datetime --" as "";
69
--exec $MYSQL_BINLOG --short-form "--stop-datetime=2020-01-21 15:32:24" $MYSQLTEST_VARDIR/log/master-bin.000001
69
--exec $DRIZZLE_BINLOG --short-form "--stop-datetime=2020-01-21 15:32:24" $MYSQLTEST_VARDIR/log/master-bin.000001
71
71
--disable_query_log
72
72
select "--- Local with 2 binlogs on command line --" as "";
75
75
# This is to verify that some options apply only to first, or last binlog
78
--exec $MYSQL_BINLOG --short-form $MYSQLTEST_VARDIR/log/master-bin.000001 $MYSQLTEST_VARDIR/log/master-bin.000002
78
--exec $DRIZZLE_BINLOG --short-form $MYSQLTEST_VARDIR/log/master-bin.000001 $MYSQLTEST_VARDIR/log/master-bin.000002
80
80
--disable_query_log
81
81
select "--- offset --" as "";
83
--exec $MYSQL_BINLOG --short-form --offset=2 $MYSQLTEST_VARDIR/log/master-bin.000001 $MYSQLTEST_VARDIR/log/master-bin.000002
83
--exec $DRIZZLE_BINLOG --short-form --offset=2 $MYSQLTEST_VARDIR/log/master-bin.000001 $MYSQLTEST_VARDIR/log/master-bin.000002
84
84
--disable_query_log
85
85
select "--- start-position --" as "";
87
--exec $MYSQL_BINLOG --short-form --start-position=609 $MYSQLTEST_VARDIR/log/master-bin.000001 $MYSQLTEST_VARDIR/log/master-bin.000002
87
--exec $DRIZZLE_BINLOG --short-form --start-position=609 $MYSQLTEST_VARDIR/log/master-bin.000001 $MYSQLTEST_VARDIR/log/master-bin.000002
88
88
--disable_query_log
89
89
select "--- stop-position --" as "";
91
--exec $MYSQL_BINLOG --short-form --stop-position=135 $MYSQLTEST_VARDIR/log/master-bin.000001 $MYSQLTEST_VARDIR/log/master-bin.000002
91
--exec $DRIZZLE_BINLOG --short-form --stop-position=135 $MYSQLTEST_VARDIR/log/master-bin.000001 $MYSQLTEST_VARDIR/log/master-bin.000002
92
92
--disable_query_log
93
93
select "--- start-datetime --" as "";
95
--exec $MYSQL_BINLOG --short-form "--start-datetime=2020-01-21 15:32:24" $MYSQLTEST_VARDIR/log/master-bin.000001 $MYSQLTEST_VARDIR/log/master-bin.000002
95
--exec $DRIZZLE_BINLOG --short-form "--start-datetime=2020-01-21 15:32:24" $MYSQLTEST_VARDIR/log/master-bin.000001 $MYSQLTEST_VARDIR/log/master-bin.000002
96
96
--disable_query_log
97
97
select "--- stop-datetime --" as "";
99
--exec $MYSQL_BINLOG --short-form "--stop-datetime=2020-01-21 15:32:24" $MYSQLTEST_VARDIR/log/master-bin.000001 $MYSQLTEST_VARDIR/log/master-bin.000002
99
--exec $DRIZZLE_BINLOG --short-form "--stop-datetime=2020-01-21 15:32:24" $MYSQLTEST_VARDIR/log/master-bin.000001 $MYSQLTEST_VARDIR/log/master-bin.000002
101
101
--disable_query_log
102
102
select "--- Remote --" as "";
103
103
--enable_query_log
105
--exec $MYSQL_BINLOG --short-form --read-from-remote-server --user=root --host=127.0.0.1 --port=$MASTER_MYPORT master-bin.000001
105
--exec $DRIZZLE_BINLOG --short-form --read-from-remote-server --user=root --host=127.0.0.1 --port=$MASTER_MYPORT master-bin.000001
107
107
--disable_query_log
108
108
select "--- offset --" as "";
109
109
--enable_query_log
110
--exec $MYSQL_BINLOG --short-form --offset=2 --read-from-remote-server --user=root --host=127.0.0.1 --port=$MASTER_MYPORT master-bin.000001
110
--exec $DRIZZLE_BINLOG --short-form --offset=2 --read-from-remote-server --user=root --host=127.0.0.1 --port=$MASTER_MYPORT master-bin.000001
111
111
--disable_query_log
112
112
select "--- start-position --" as "";
113
113
--enable_query_log
114
--exec $MYSQL_BINLOG --short-form --start-position=609 --read-from-remote-server --user=root --host=127.0.0.1 --port=$MASTER_MYPORT master-bin.000001
114
--exec $DRIZZLE_BINLOG --short-form --start-position=609 --read-from-remote-server --user=root --host=127.0.0.1 --port=$MASTER_MYPORT master-bin.000001
115
115
--disable_query_log
116
116
select "--- stop-position --" as "";
117
117
--enable_query_log
118
--exec $MYSQL_BINLOG --short-form --stop-position=609 --read-from-remote-server --user=root --host=127.0.0.1 --port=$MASTER_MYPORT master-bin.000001
118
--exec $DRIZZLE_BINLOG --short-form --stop-position=609 --read-from-remote-server --user=root --host=127.0.0.1 --port=$MASTER_MYPORT master-bin.000001
119
119
--disable_query_log
120
120
select "--- start and stop positions ---" as "";
121
121
--enable_query_log
122
--exec $MYSQL_BINLOG --short-form --start-position=609 --stop-position 726 --read-from-remote-server --user=root --host=127.0.0.1 --port=$MASTER_MYPORT master-bin.000001
122
--exec $DRIZZLE_BINLOG --short-form --start-position=609 --stop-position 726 --read-from-remote-server --user=root --host=127.0.0.1 --port=$MASTER_MYPORT master-bin.000001
123
123
--disable_query_log
124
124
select "--- start-datetime --" as "";
125
125
--enable_query_log
126
--exec $MYSQL_BINLOG --short-form "--start-datetime=2020-01-21 15:32:24" --read-from-remote-server --user=root --host=127.0.0.1 --port=$MASTER_MYPORT master-bin.000001
126
--exec $DRIZZLE_BINLOG --short-form "--start-datetime=2020-01-21 15:32:24" --read-from-remote-server --user=root --host=127.0.0.1 --port=$MASTER_MYPORT master-bin.000001
127
127
--disable_query_log
128
128
select "--- stop-datetime --" as "";
129
129
--enable_query_log
130
--exec $MYSQL_BINLOG --short-form "--stop-datetime=2020-01-21 15:32:24" --read-from-remote-server --user=root --host=127.0.0.1 --port=$MASTER_MYPORT master-bin.000001
130
--exec $DRIZZLE_BINLOG --short-form "--stop-datetime=2020-01-21 15:32:24" --read-from-remote-server --user=root --host=127.0.0.1 --port=$MASTER_MYPORT master-bin.000001
132
132
--disable_query_log
133
133
select "--- Remote with 2 binlogs on command line --" as "";
134
134
--enable_query_log
136
--exec $MYSQL_BINLOG --short-form --read-from-remote-server --user=root --host=127.0.0.1 --port=$MASTER_MYPORT master-bin.000001 master-bin.000002
136
--exec $DRIZZLE_BINLOG --short-form --read-from-remote-server --user=root --host=127.0.0.1 --port=$MASTER_MYPORT master-bin.000001 master-bin.000002
138
138
--disable_query_log
139
139
select "--- offset --" as "";
140
140
--enable_query_log
141
--exec $MYSQL_BINLOG --short-form --offset=2 --read-from-remote-server --user=root --host=127.0.0.1 --port=$MASTER_MYPORT master-bin.000001 master-bin.000002
141
--exec $DRIZZLE_BINLOG --short-form --offset=2 --read-from-remote-server --user=root --host=127.0.0.1 --port=$MASTER_MYPORT master-bin.000001 master-bin.000002
142
142
--disable_query_log
143
143
select "--- start-position --" as "";
144
144
--enable_query_log
145
--exec $MYSQL_BINLOG --short-form --start-position=609 --read-from-remote-server --user=root --host=127.0.0.1 --port=$MASTER_MYPORT master-bin.000001 master-bin.000002
145
--exec $DRIZZLE_BINLOG --short-form --start-position=609 --read-from-remote-server --user=root --host=127.0.0.1 --port=$MASTER_MYPORT master-bin.000001 master-bin.000002
146
146
--disable_query_log
147
147
select "--- stop-position --" as "";
148
148
--enable_query_log
149
--exec $MYSQL_BINLOG --short-form --stop-position=135 --read-from-remote-server --user=root --host=127.0.0.1 --port=$MASTER_MYPORT master-bin.000001 master-bin.000002
149
--exec $DRIZZLE_BINLOG --short-form --stop-position=135 --read-from-remote-server --user=root --host=127.0.0.1 --port=$MASTER_MYPORT master-bin.000001 master-bin.000002
150
150
--disable_query_log
151
151
select "--- start-datetime --" as "";
152
152
--enable_query_log
153
--exec $MYSQL_BINLOG --short-form "--start-datetime=20200121153224" --read-from-remote-server --user=root --host=127.0.0.1 --port=$MASTER_MYPORT master-bin.000001 master-bin.000002
153
--exec $DRIZZLE_BINLOG --short-form "--start-datetime=20200121153224" --read-from-remote-server --user=root --host=127.0.0.1 --port=$MASTER_MYPORT master-bin.000001 master-bin.000002
154
154
--disable_query_log
155
155
select "--- stop-datetime --" as "";
156
156
--enable_query_log
157
--exec $MYSQL_BINLOG --short-form "--stop-datetime=2020/01/21 15@32@24" --read-from-remote-server --user=root --host=127.0.0.1 --port=$MASTER_MYPORT master-bin.000001 master-bin.000002
157
--exec $DRIZZLE_BINLOG --short-form "--stop-datetime=2020/01/21 15@32@24" --read-from-remote-server --user=root --host=127.0.0.1 --port=$MASTER_MYPORT master-bin.000001 master-bin.000002
159
159
--disable_query_log
160
160
select "--- to-last-log --" as "";
161
161
--enable_query_log
163
--exec $MYSQL_BINLOG --short-form --read-from-remote-server --user=root --host=127.0.0.1 --port=$MASTER_MYPORT --to-last-log master-bin.000001
163
--exec $DRIZZLE_BINLOG --short-form --read-from-remote-server --user=root --host=127.0.0.1 --port=$MASTER_MYPORT --to-last-log master-bin.000001
166
166
--disable_query_log