Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
af8d4a97
Commit
af8d4a97
authored
May 18, 2021
by
Sujatha
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MDEV-22530: Aborting OPTIMIZE TABLE still logs in binary log and replicates to the Slave server.
Post push fix to address test issue.
parent
acede480
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
mysql-test/suite/binlog/r/binlog_admin_cmd_kill.result
mysql-test/suite/binlog/r/binlog_admin_cmd_kill.result
+1
-1
mysql-test/suite/binlog/t/binlog_admin_cmd_kill.test
mysql-test/suite/binlog/t/binlog_admin_cmd_kill.test
+4
-1
No files found.
mysql-test/suite/binlog/r/binlog_admin_cmd_kill.result
View file @
af8d4a97
...
...
@@ -20,7 +20,7 @@ master-bin.000001 # Query # # use `test`; CREATE TABLE t1 (f INT) ENGINE=INNODB
master-bin.000001 # Gtid # # GTID #-#-#
master-bin.000001 # Query # # use `test`; CREATE TABLE t2 (f INT) ENGINE=INNODB
DROP TABLE t1,t2;
FLUSH LOGS
;
RESET MASTER
;
#
# Kill OPTIMIZE command after table modification
#
...
...
mysql-test/suite/binlog/t/binlog_admin_cmd_kill.test
View file @
af8d4a97
...
...
@@ -56,7 +56,7 @@ SET debug_sync = 'reset';
--
source
include
/
show_binlog_events
.
inc
DROP
TABLE
t1
,
t2
;
FLUSH
LOGS
;
RESET
MASTER
;
--
echo
#
--
echo
# Kill OPTIMIZE command after table modification
...
...
@@ -81,6 +81,9 @@ eval KILL $thd_id;
SET
debug_sync
=
'reset'
;
--
disconnect
con1
--
let
$wait_binlog_event
=
OPTIMIZE
--
source
include
/
wait_for_binlog_event
.
inc
DROP
TABLE
t1
,
t2
;
let
$binlog_file
=
query_get_value
(
SHOW
MASTER
STATUS
,
File
,
1
);
FLUSH
LOGS
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment