Commit graph

5 commits

Author SHA1 Message Date
Sergei Golubchik
fc5a6a28f7 compatibility with pcre2 < 10.30
* It uses stack a lot, limit the recursion depth like
  we used to do for pcre.
* But don't do that for newer pcre2 that uses stack very little
  (and doesn't support limiting recursion depth anyway).
* Fix tests to verify only that deep recursion doesn't crash, but
  ignore results and warnings (which depend on pcre2 version)
* Also different pcre2 versions report different offset in error messages,
  take that into account.
2020-01-16 18:13:55 +01:00
Sergei Golubchik
1b1bf430b8 tolerate old pcre versions without PCRE2_EXTENDED_MORE flag 2020-01-16 18:13:55 +01:00
Sergei Golubchik
67f928d8c2 remove pcre, add support for bundled pcre2 2019-12-21 10:35:07 +01:00
Alexey Botchkov
9dadfdcde5 MDEV-14024 PCRE2.
Related changes in the server code.
2019-12-21 10:34:02 +01:00
Michael Widenius
a7abddeffa Create 'main' test directory and move 't' and 'r' there 2018-03-29 13:59:44 +03:00
Renamed from mysql-test/t/func_regexp_pcre.test (Browse further)