Multi-source replication (MDEV-253)

[MDEV-549] Multi-source: sync_with_master doesn't accept a space after the comma Created: 2012-09-26  Updated: 2012-09-27  Resolved: 2012-09-27

Status: Closed
Project: MariaDB Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Technical task Priority: Minor
Reporter: Elena Stepanova Assignee: Michael Widenius
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Relates

 Description   

--sync_with_master 0,'master1' <= works
--sync_with_master 0 ,'master1' <= works
--sync_with_master 0, 'master1' <= doesn't work

Other mysqltest commands work with a space in the argument list, e.g. 'connect'

Here is a modification for suite/multi_source/syntax.test to extend it to cover this variation:

=== modified file 'mysql-test/suite/multi_source/syntax.test'
--- mysql-test/suite/multi_source/syntax.test   2012-09-25 16:27:56 +0000
+++ mysql-test/suite/multi_source/syntax.test   2012-09-26 00:54:24 +0000
@@ -40,6 +40,7 @@
 connection slave;
 sync_with_master 0,'';
 sync_with_master 0 ,'';
+sync_with_master 0, '';
 
 --echo #
 --echo # checking usage of default_master_connection;
 

bzr version-info

revision-id: monty@askmonty.org-20120925162756-ad39vfvitte0fulf
date: 2012-09-25 19:27:56 +0300
build-date: 2012-09-26 04:56:34 +0400
revno: 3436



 Comments   
Comment by Michael Widenius [ 2012-09-27 ]

Fixed. Test case added.

Generated at Thu Feb 08 06:29:34 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.