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

Test from win.test fails with statement memory protection

Details

    Description

      The following test case from win.test fails if the server is built with -DWITH_PROTECT_STATEMENT_MEMROOT:BOOL=ON

      prepare stmt from
      "select row_number() over (partition by 4 order by 1+2)";
      execute stmt;
      execute stmt;
      deallocate prepare stmt;
      

      The test case fails with the assertion abort that points to the allocation of list elements for each unnamed window spec at each execution of PS. The allocation is done on the statement memory in the function setup_windows().

      Attachments

        Activity

          igor Igor Babaev (Inactive) created issue -
          igor Igor Babaev (Inactive) made changes -
          Field Original Value New Value
          Status Open [ 1 ] In Progress [ 3 ]

          @sanja, please review (see also bb-10.4-igor)

          igor Igor Babaev (Inactive) added a comment - @sanja, please review (see also bb-10.4-igor)
          igor Igor Babaev (Inactive) made changes -
          Assignee Igor Babaev [ igor ] Oleksandr Byelkin [ sanja ]
          Status In Progress [ 3 ] In Review [ 10002 ]

          OK to push

          sanja Oleksandr Byelkin added a comment - OK to push
          sanja Oleksandr Byelkin made changes -
          Assignee Oleksandr Byelkin [ sanja ] Igor Babaev [ igor ]
          Status In Review [ 10002 ] Stalled [ 10000 ]
          julien.fritsch Julien Fritsch made changes -
          Labels affects-tests

          A fix for this bug was pushed into 10.4

          igor Igor Babaev (Inactive) added a comment - A fix for this bug was pushed into 10.4
          igor Igor Babaev (Inactive) made changes -
          Fix Version/s 11.3.1 [ 29416 ]
          Fix Version/s 11.1.3 [ 29023 ]
          Fix Version/s 11.0.4 [ 29021 ]
          Fix Version/s 10.11.6 [ 29020 ]
          Fix Version/s 10.10.7 [ 29018 ]
          Fix Version/s 10.6.16 [ 29014 ]
          Fix Version/s 10.5.23 [ 29012 ]
          Fix Version/s 10.4.32 [ 29300 ]
          Fix Version/s 10.4 [ 22408 ]
          Resolution Fixed [ 1 ]
          Status Stalled [ 10000 ] Closed [ 6 ]
          igor Igor Babaev (Inactive) made changes -
          Fix Version/s 11.2.2 [ 29035 ]

          People

            igor Igor Babaev (Inactive)
            igor Igor Babaev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 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.