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

LP:956427 - SQL_ERROR_LOG plugin produces bogus warnings about sql-error-log-size-limit value

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      Description

      When SQL_ERROR_LOG plugin is installed, either at runtime or on server startup, it produces warnings:

      [Warning] option 'sql-error-log-size-limit': unsigned value 0 adjusted to 100
      [Warning] option 'plugin-sql-error-log-size-limit': unsigned value 0 adjusted to 100

      These warnings are wrong: the default value of sql_error_log_size_limit is in fact 10000, and moreover, the warnings appear even if sql-error-log-size-limit is set explicitly upon startup.

      bzr version-info
      revision-id: <email address hidden>
      date: 2012-03-15 00:37:37 +0100
      build-date: 2012-03-16 01:01:13 +0400
      revno: 3331

      To reproduce, start mysqld --plugin-load=sql_errlog.so and see the error log.

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            elenst Elena Stepanova added a comment -

            Re: SQL_ERROR_LOG plugin produces bogus warnings about sql-error-log-size-limit value
            Also filed in JIRA as MDEV-183

            Show
            elenst Elena Stepanova added a comment - Re: SQL_ERROR_LOG plugin produces bogus warnings about sql-error-log-size-limit value Also filed in JIRA as MDEV-183
            Hide
            holyfoot Alexey Botchkov added a comment -

            Re: SQL_ERROR_LOG plugin produces bogus warnings about sql-error-log-size-limit value
            Pushed to 5.5-hf tree.

            Show
            holyfoot Alexey Botchkov added a comment - Re: SQL_ERROR_LOG plugin produces bogus warnings about sql-error-log-size-limit value Pushed to 5.5-hf tree.
            Hide
            ratzpo Rasmus Johansson added a comment -

            Launchpad bug id: 956427

            Show
            ratzpo Rasmus Johansson added a comment - Launchpad bug id: 956427

              People

              • Assignee:
                holyfoot Alexey Botchkov
                Reporter:
                elenst Elena Stepanova
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: