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

Default value for connect timeout is rejected by the kernel on OpenBSD

    XMLWordPrintable

Details

    Description

      We have this patch currently in our tree. I am not sure about submitting it upstream as is but I thought I would file a bug report.

      Default value for connect timeout is rejected by the kernel.
       
      Index: client/mysqladmin.cc
      --- client/mysqladmin.cc.orig
      +++ client/mysqladmin.cc
      @@ -215,7 +215,7 @@ static struct my_option my_long_options[] =
         {"wait", 'w', "Wait and retry if connection is down.", 0, 0, 0, GET_UINT,
          OPT_ARG, 0, 0, 0, 0, 0, 0},
         {"connect_timeout", OPT_CONNECT_TIMEOUT, "", &opt_connect_timeout,
      -   &opt_connect_timeout, 0, GET_ULONG, REQUIRED_ARG, 3600*12, 0,
      +   &opt_connect_timeout, 0, GET_ULONG, REQUIRED_ARG, 0, 0,
          3600*12, 0, 1, 0},
         {"shutdown_timeout", OPT_SHUTDOWN_TIMEOUT, "", &opt_shutdown_timeout,
          &opt_shutdown_timeout, 0, GET_ULONG, REQUIRED_ARG,
      

      Attachments

        Activity

          People

            danblack Daniel Black
            brad0 Brad Smith
            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.