Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-6203

Mysqldump output comments to .sql files without respect to --compact option

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Not a Bug
    • 5.1.67, 5.2.14, 5.3.12, 5.5.37, 10.0.10
    • None
    • None
    • mysqldump.EXE Ver 10.15 Distrib 10.0.10-MariaDB, for Win64 (x86)

    Description

      Create sample db and some table, then use mysqldump:

      mysqldump --compact --user=root --password= --tab=./csv db1 --fields-enclosed-by=\" --fields-terminated-by=,

      Sample from csv/table.sql:

      /*!40101 SET @saved_cs_client     = @@character_set_client */;
      /*!40101 SET character_set_client = utf8 */;
      <<CREATE TABLE HERE>>
      /*!40101 SET character_set_client = @saved_cs_client */;

      Attachments

        Activity

          People

            Unassigned Unassigned
            Foobar Nick L
            Votes:
            0 Vote for this issue
            Watchers:
            3 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.