• Sergei Golubchik's avatar
    MDEV-13173 An RLIKE that previously worked on 10.0 now returns "Got error... · 2fcd8c12
    Sergei Golubchik authored
    MDEV-13173 An RLIKE that previously worked on 10.0 now returns "Got error 'pcre_exec: recursion limit of 100 exceeded' from regexp"
    
    1. use Regexp_processor_pcre::set_recursion_limit() to set the
       recursion limit depending on the current available stack size
    2. make pcre stack frame to be estimated no less than 500 bytes.
       sometimes pcre estimates it too low, even though the manual
       says 500+16 bytes (it was estimated only 188 for me, actual
       frame size was 512).
    3. do it for embedded too
    2fcd8c12
mysqld.cc 331 KB