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

Fix Overuse of big stackvariables results inside InnoDB & Mariabackup

Details

    Description

      Remove PRAGMA_DISABLE_CHECK_STACK_FRAME inside InnoDB and also add
      thread_local for big stack variable or make use of heap memory. Kindly note this
      patch addresses only inside INNODB

      How to test:
      cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_FLAGS=-Wstack-usage=8192 -DMYSQL_MAINTAINER_MODE && make -j4

      Above compilation shows what function exceeds the stage usage of 8192.

      Attachments

        Issue Links

          Activity

            thiru Thirunarayanan Balathandayuthapani created issue -
            thiru Thirunarayanan Balathandayuthapani made changes -
            Field Original Value New Value
            thiru Thirunarayanan Balathandayuthapani made changes -
            Summary Fix Overuse of big stackvariables results inside InnoDB Fix Overuse of big stackvariables results inside InnoDB, Mariabackup
            thiru Thirunarayanan Balathandayuthapani made changes -
            Summary Fix Overuse of big stackvariables results inside InnoDB, Mariabackup Fix Overuse of big stackvariables results inside InnoDB & Mariabackup
            julien.fritsch Julien Fritsch made changes -
            Fix Version/s 11.6(EOL) [ 29515 ]
            julien.fritsch Julien Fritsch made changes -
            Fix Version/s 11.2(EOL) [ 28603 ]

            People

              thiru Thirunarayanan Balathandayuthapani
              thiru Thirunarayanan Balathandayuthapani
              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.