Uploaded image for project: 'MariaDB Connector/C'
  1. MariaDB Connector/C
  2. CONC-90

Incorrect output for mariadb_config

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 2.0.0
    • None
    • None
    • None
    • Gentoo Linux

    Description

      mariadb_config is providing bad output.

      Expected results:

      grknight@tetsusaiga ~ $ /var/tmp/portage/dev-db/mariadb-native-client-2.0.0/image/usr/bin/mariadb_config 
      Copyright 2011 Monty Program AB
      Get compiler flags for using the MariaDB client library.
      Usage: /var/tmp/portage/dev-db/mariadb-native-client-2.0.0/image/usr/bin/mariadb_config [OPTIONS]
        --cflags        [-I/usr/include/mariadb -O2 -pipe -march=native  -Wunused -Wno-uninitialized]
        --include       [-I/usr/include/mariadb]
        --libs          [-L/usr/lib/mariadb -lmariadb -lpthread -lssl -ldl -lm -lz]
        --libs_r        [-L/usr/lib/mariadb -lmariadb -lpthread -lssl -ldl -lm -lz]
        --version       [5.5.0]
        --socket        [/var/run/mysqld/mysqld.sock]
        --port          [3306]

      Actual Results:

      grknight@tetsusaiga ~ $ /var/tmp/portage/dev-db/mariadb-native-client-2.0.0/image/usr/bin/mariadb_config 
      Copyright 2011 Monty Program AB
      Get compiler flags for using the MariaDB client library.
      Usage: /var/tmp/portage/dev-db/mariadb-native-client-2.0.0/image/usr/bin/mariadb_config [OPTIONS]
        --cflags        [-I/usr/include/mariadb-O2 -pipe -march=native  -Wunused -Wno-uninitialized]
        --include       [-I/usr/include/mariadb]
        --libs          [-L/usr/lib/mariadb -lmariadb -lpthread -lssl -ldl -lm -l-lz]
        --libs_r        [-L/usr/lib/mariadb -lmariadb -lpthread -lssl -ldl -lm -l-lz]
        --version       [5.5.0]
        --socket        [/var/run/mysqld/mysqld.sock]
        --port          [3306]

      The attached patch will solve the issue

      Attachments

        Activity

          People

            georg Georg Richter
            grknight Brian Evans
            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.