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

Remove unused FTS debug directives and dead code

    XMLWordPrintable

Details

    • Not for Release Notes
    • Q1/2026 Server Maintenance

    Description

      Remove unused debugging preprocessor directives and associated dead code from the FTS module.
      These debug directives were never effectively used for debugging purposes and represent
      dead code that should be cleaned up.

      DEBUG_FTS_SORT_PRINT - Used for FTS sorting debug output
      FTS_DEBUG_PRINT - General FTS debugging output
      FTS_INTERNAL_DIAG_PRINT - Internal FTS diagnostic printing
      FTS_OPTIMIZE_DEBUG - FTS optimization debugging functions

      The above debugging preprocessor directives that are either:

      • Never defined/enabled in the build system
      • Contain code that is never executed
      • Create maintenance overhead without providing value

      Attachments

        Issue Links

          Activity

            People

              thiru Thirunarayanan Balathandayuthapani
              thiru Thirunarayanan Balathandayuthapani
              Thirunarayanan Balathandayuthapani Thirunarayanan Balathandayuthapani
              Marko Mäkelä Marko Mäkelä
              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.