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

mysqld --help --verbose prints random values for "debug"

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.5.40, 10.0.15, 10.1.2
    • Fix Version/s: 10.1.3
    • Component/s: OTHER
    • Labels:
      None

      Description

      E.g.:

      $ sql/mysqld --no-defaults --verbose --help| grep "^debug "
      debug                                                      
      
      sql/mysqld --no-defaults --lc-messages-dir=./sql/share  --verbose --help|grep "^debug "
      debug                                                      elib.count
      

      On PPC64:

      sql/mysqld --no-defaults --lc-messages-dir=./sql/share  --verbose --help|grep "^debug "
      debug                                                       '%s' failed '%s'
      

      This causes mtr to abort early on Power8:

      Logging: mysql-test-run.pl  --verbose-restart --force --parallel=4
      vardir: /var/lib/buildbot/maria-slave/power8-vlp04-bintar-debug/build/mysql-test/var
      Removing old var directory...
      Creating var directory '/var/lib/buildbot/maria-slave/power8-vlp04-bintar-debug/build/mysql-test/var'...
      Checking supported features...
      MariaDB Version 10.1.3-MariaDB-wsrep-debug
       - skipping SSL, mysqld not compiled with SSL
      Using suites: main-,archive-,binlog-,csv-,federated-,funcs_1-,funcs_2-,handler-,heap-,innodb-,innodb_fts-,innodb_zip-,maria-,multi_source-,optimizer_unfixed_bugs-,parts-,percona-,perfschema-,plugins-,roles-,rpl-,sys_vars-,unit-,vcol-,wsrep-,connect,oqgraph,sequence,spider,spider/bg,sql_discovery,metadata_lock_info,query_response_time
      Collecting tests...
      unknown value max-binlog-stmt-cache-size= at /var/lib/buildbot/maria-slave/power8-vlp04-bintar-debug/build/mysql-test/suite.pm line 33.
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

              Hide
              svoj Sergey Vojtovich added a comment -

              Sergei Golubchik please review fix for this bug.

              Show
              svoj Sergey Vojtovich added a comment - Sergei Golubchik please review fix for this bug.
              Hide
              serg Sergei Golubchik added a comment -

              ok to push

              Show
              serg Sergei Golubchik added a comment - ok to push

                People

                • Assignee:
                  svoj Sergey Vojtovich
                  Reporter:
                  svoj Sergey Vojtovich
                • 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 - 10 minutes
                    10m