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

wait_timeout and interactive_timeout are sometimes 64-bit

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Minor
    • Resolution: Unresolved
    • 10.6, 10.11, 11.4, 11.8
    • None
    • Server
    • None

    Description

      The session parameters wait_timeout and interactive_timeout are measured in seconds. They are defined as ulong, which means that they are 64-bit on LP64 targets, but 32-bit on LLP64, such as Microsoft Windows, and LP32, such as IA-32 or anything up to ARMv7.

      It seems that a 32-bit data type would suffice for these parameters. 2³² seconds corresponds to more than 136 years. It is very unlikely that a database server would run even 1 year without any maintenance breaks, such as security upgrades.

      Attachments

        Issue Links

          Activity

            People

              sanja Oleksandr Byelkin
              marko Marko Mäkelä
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.