Bug #105575 Stackless CreateIteratorFromAccessPath()
Submitted: 15 Nov 2021 13:05 Modified: 18 Nov 2021 12:54
Reporter: Steinar Gunderson Email Updates:
Status: Closed Impact on me:
Category:MySQL Server: Optimizer Severity:S3 (Non-critical)
Version:8.0.29 OS:Any
Assigned to: CPU Architecture:Any

[15 Nov 2021 13:05] Steinar Gunderson
Rewrite CreateIteratorFromAccessPath() so that it is non-recursive, and thus needs a bounded amount of stack no matter the system.

How to repeat:

Suggested fix:
[18 Nov 2021 12:54] Jon Stephens
Documented fix as follows in the MySQL 8.0.29 changelog:

    Rewrote the internal CreateIteratorFromAccessPath() function so
    that it is no longer recursive; this is expected to reduce stack
    usage significantly when executing queries.