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

    XMLWordPrintable

Details

    • Technical task
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Fixed
    • None
    • None
    • None
    • 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

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.