Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-21978 make my_vsnprintf to use gcc-compatible format extensions
  3. MDEV-35434

my_snprintf fixes for 11.5+: missing LEX_STRING::str calls in my_snprintf uses

    XMLWordPrintable

Details

    • Technical task
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 11.5.2
    • 11.7.2
    • Compiling
    • None

    Description

      MDEV-21978 found many erroneous my_snprintf formattings when it reenabled GCC printf checks.
      Patches to these errors should apply to the oldest applicable version in maintenance and up.

      In MariaDB 11.5, the following strings did not fetch .str on their LEX_STRING fields, and so may display them corrupted depending on the compiler and platform, such as Visual Studio:

      Missed by fd247cc21f (MDEV-31340)

      • (DBUG) Wrong max day name(or month name) length for locale: <name>
      • Can't process error message file for locale '<name>'

      other

      • Warning: Enabling keys got errno <error code> on <file name>, retrying (from d2304554ac (MDEV-33751))

      Attachments

        Issue Links

          Activity

            People

              danblack Daniel Black
              ParadoxV5 Jimmy Hú
              Votes:
              0 Vote for this issue
              Watchers:
              1 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.