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

refactor: Derive command_lengths from command_array at compile time

    XMLWordPrintable

Details

    Description

      Replace the manually-maintained command_lengths array with a constexpr
      lambda that computes string lengths from command_array using
      std::char_traits::length(). This eliminates the error-prone need
      to keep the two arrays in sync manually.

      Attachments

        Activity

          People

            sanja Oleksandr Byelkin
            gkodinov Georgi Kodinov
            Votes:
            0 Vote for this issue
            Watchers:
            2 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.