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

Not sure a bug. that about 'max_sp_recursion_depth'

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Cannot Reproduce
    • 10.11.15
    • N/A
    • None
    • Windows 11 64bit AMD
    • Not for Release Notes

    Description

      It is few days ago's issue from now.

      1. There is a SP which contain long(several hundreds lines)
      2. set max_sp_recursion_depth = 1 by config.ini.
      3. Call recursively(mannually or event automatically. seem doesn't matter).
      4. You can see max_sp_recursion_depth limit error message.
      4. DB freak out.
      > freak out means... seem some internal thread stack broken(that memory overrun).
      > DB system totally freak out.

      Have no idea it reproducible with just a simple SP by your side,
      but from my side it easily happens. The SP fully use memory temp table by hint SQL_SMALL_RESULT' and multiple CTEs.

      Attachments

        Activity

          People

            danblack Daniel Black
            npdmailing@gmail.com Mitchell Lee
            Votes:
            0 Vote for this issue
            Watchers:
            3 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.