Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-253 Multi-source replication
  3. MDEV-549

Multi-source: sync_with_master doesn't accept a space after the comma

    Details

    • Type: Technical task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      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
      

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            monty Michael Widenius added a comment -

            Fixed. Test case added.

            Show
            monty Michael Widenius added a comment - Fixed. Test case added.

              People

              • Assignee:
                monty Michael Widenius
                Reporter:
                elenst Elena Stepanova
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 5 minutes
                  5m