Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
2db5e4d1
Commit
2db5e4d1
authored
Oct 10, 2017
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
smaller stack size on quantal-x86 and wheezy-x86
fixes failures of func_regexp_pcre
parent
1cfcb585
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
13 deletions
+13
-13
mysql-test/r/func_regexp_pcre.result
mysql-test/r/func_regexp_pcre.result
+9
-9
mysql-test/t/func_regexp_pcre.test
mysql-test/t/func_regexp_pcre.test
+4
-4
No files found.
mysql-test/r/func_regexp_pcre.result
View file @
2db5e4d1
...
@@ -879,32 +879,32 @@ SELECT 1 FROM dual WHERE ('Alpha,Bravo,Charlie,Delta,Echo,Foxtrot,StrataCentral,
...
@@ -879,32 +879,32 @@ SELECT 1 FROM dual WHERE ('Alpha,Bravo,Charlie,Delta,Echo,Foxtrot,StrataCentral,
1
1
Warnings:
Warnings:
Warning 1139 Got error 'pcre_exec: recursion limit of NUM exceeded' from regexp
Warning 1139 Got error 'pcre_exec: recursion limit of NUM exceeded' from regexp
SELECT CONCAT(REPEAT('100,',
25
0),'101') RLIKE '^(([1-9][0-9]*),)*[1-9][0-9]*$';
SELECT CONCAT(REPEAT('100,',
19
0),'101') RLIKE '^(([1-9][0-9]*),)*[1-9][0-9]*$';
CONCAT(REPEAT('100,',
25
0),'101') RLIKE '^(([1-9][0-9]*),)*[1-9][0-9]*$'
CONCAT(REPEAT('100,',
19
0),'101') RLIKE '^(([1-9][0-9]*),)*[1-9][0-9]*$'
1
1
SELECT CONCAT(REPEAT('100,',600),'101') RLIKE '^(([1-9][0-9]*),)*[1-9][0-9]*$';
SELECT CONCAT(REPEAT('100,',600),'101') RLIKE '^(([1-9][0-9]*),)*[1-9][0-9]*$';
CONCAT(REPEAT('100,',600),'101') RLIKE '^(([1-9][0-9]*),)*[1-9][0-9]*$'
CONCAT(REPEAT('100,',600),'101') RLIKE '^(([1-9][0-9]*),)*[1-9][0-9]*$'
0
0
Warnings:
Warnings:
Warning 1139 Got error 'pcre_exec: recursion limit of NUM exceeded' from regexp
Warning 1139 Got error 'pcre_exec: recursion limit of NUM exceeded' from regexp
SELECT REGEXP_INSTR(CONCAT(REPEAT('100,',
25
0),'101'), '^(([1-9][0-9]*),)*[1-9][0-9]*$');
SELECT REGEXP_INSTR(CONCAT(REPEAT('100,',
19
0),'101'), '^(([1-9][0-9]*),)*[1-9][0-9]*$');
REGEXP_INSTR(CONCAT(REPEAT('100,',
25
0),'101'), '^(([1-9][0-9]*),)*[1-9][0-9]*$')
REGEXP_INSTR(CONCAT(REPEAT('100,',
19
0),'101'), '^(([1-9][0-9]*),)*[1-9][0-9]*$')
1
1
SELECT REGEXP_INSTR(CONCAT(REPEAT('100,',600),'101'), '^(([1-9][0-9]*),)*[1-9][0-9]*$');
SELECT REGEXP_INSTR(CONCAT(REPEAT('100,',600),'101'), '^(([1-9][0-9]*),)*[1-9][0-9]*$');
REGEXP_INSTR(CONCAT(REPEAT('100,',600),'101'), '^(([1-9][0-9]*),)*[1-9][0-9]*$')
REGEXP_INSTR(CONCAT(REPEAT('100,',600),'101'), '^(([1-9][0-9]*),)*[1-9][0-9]*$')
0
0
Warnings:
Warnings:
Warning 1139 Got error 'pcre_exec: recursion limit of NUM exceeded' from regexp
Warning 1139 Got error 'pcre_exec: recursion limit of NUM exceeded' from regexp
SELECT LENGTH(REGEXP_SUBSTR(CONCAT(REPEAT('100,',
25
0/3),'101'), '^(([1-9][0-9]*),)*[1-9][0-9]*$'));
SELECT LENGTH(REGEXP_SUBSTR(CONCAT(REPEAT('100,',
19
0/3),'101'), '^(([1-9][0-9]*),)*[1-9][0-9]*$'));
LENGTH(REGEXP_SUBSTR(CONCAT(REPEAT('100,',
25
0/3),'101'), '^(([1-9][0-9]*),)*[1-9][0-9]*$'))
LENGTH(REGEXP_SUBSTR(CONCAT(REPEAT('100,',
19
0/3),'101'), '^(([1-9][0-9]*),)*[1-9][0-9]*$'))
33
5
25
5
SELECT LENGTH(REGEXP_SUBSTR(CONCAT(REPEAT('100,',600/3),'101'), '^(([1-9][0-9]*),)*[1-9][0-9]*$'));
SELECT LENGTH(REGEXP_SUBSTR(CONCAT(REPEAT('100,',600/3),'101'), '^(([1-9][0-9]*),)*[1-9][0-9]*$'));
LENGTH(REGEXP_SUBSTR(CONCAT(REPEAT('100,',600/3),'101'), '^(([1-9][0-9]*),)*[1-9][0-9]*$'))
LENGTH(REGEXP_SUBSTR(CONCAT(REPEAT('100,',600/3),'101'), '^(([1-9][0-9]*),)*[1-9][0-9]*$'))
0
0
Warnings:
Warnings:
Warning 1139 Got error 'pcre_exec: recursion limit of NUM exceeded' from regexp
Warning 1139 Got error 'pcre_exec: recursion limit of NUM exceeded' from regexp
SELECT LENGTH(REGEXP_REPLACE(CONCAT(REPEAT('100,',
25
0/3),'101'), '^(([1-9][0-9]*),)*[1-9][0-9]*$', ''));
SELECT LENGTH(REGEXP_REPLACE(CONCAT(REPEAT('100,',
19
0/3),'101'), '^(([1-9][0-9]*),)*[1-9][0-9]*$', ''));
LENGTH(REGEXP_REPLACE(CONCAT(REPEAT('100,',
25
0/3),'101'), '^(([1-9][0-9]*),)*[1-9][0-9]*$', ''))
LENGTH(REGEXP_REPLACE(CONCAT(REPEAT('100,',
19
0/3),'101'), '^(([1-9][0-9]*),)*[1-9][0-9]*$', ''))
0
0
SELECT LENGTH(REGEXP_REPLACE(CONCAT(REPEAT('100,',600/3),'101'), '^(([1-9][0-9]*),)*[1-9][0-9]*$', ''));
SELECT LENGTH(REGEXP_REPLACE(CONCAT(REPEAT('100,',600/3),'101'), '^(([1-9][0-9]*),)*[1-9][0-9]*$', ''));
LENGTH(REGEXP_REPLACE(CONCAT(REPEAT('100,',600/3),'101'), '^(([1-9][0-9]*),)*[1-9][0-9]*$', ''))
LENGTH(REGEXP_REPLACE(CONCAT(REPEAT('100,',600/3),'101'), '^(([1-9][0-9]*),)*[1-9][0-9]*$', ''))
...
...
mysql-test/t/func_regexp_pcre.test
View file @
2db5e4d1
...
@@ -434,18 +434,18 @@ SELECT 1 FROM dual WHERE ('Alpha,Bravo,Charlie,Delta,Echo,Foxtrot,StrataCentral,
...
@@ -434,18 +434,18 @@ SELECT 1 FROM dual WHERE ('Alpha,Bravo,Charlie,Delta,Echo,Foxtrot,StrataCentral,
#
#
# MDEV-13173 An RLIKE that previously worked on 10.0 now returns "Got error 'pcre_exec: recursion limit of 100 exceeded' from regexp"
# MDEV-13173 An RLIKE that previously worked on 10.0 now returns "Got error 'pcre_exec: recursion limit of 100 exceeded' from regexp"
#
#
SELECT
CONCAT
(
REPEAT
(
'100,'
,
25
0
),
'101'
)
RLIKE
'^(([1-9][0-9]*),)*[1-9][0-9]*$'
;
SELECT
CONCAT
(
REPEAT
(
'100,'
,
19
0
),
'101'
)
RLIKE
'^(([1-9][0-9]*),)*[1-9][0-9]*$'
;
--
replace_regex
/
[
0
-
9
]
+
exceeded
/
NUM
exceeded
/
--
replace_regex
/
[
0
-
9
]
+
exceeded
/
NUM
exceeded
/
SELECT
CONCAT
(
REPEAT
(
'100,'
,
600
),
'101'
)
RLIKE
'^(([1-9][0-9]*),)*[1-9][0-9]*$'
;
SELECT
CONCAT
(
REPEAT
(
'100,'
,
600
),
'101'
)
RLIKE
'^(([1-9][0-9]*),)*[1-9][0-9]*$'
;
SELECT
REGEXP_INSTR
(
CONCAT
(
REPEAT
(
'100,'
,
25
0
),
'101'
),
'^(([1-9][0-9]*),)*[1-9][0-9]*$'
);
SELECT
REGEXP_INSTR
(
CONCAT
(
REPEAT
(
'100,'
,
19
0
),
'101'
),
'^(([1-9][0-9]*),)*[1-9][0-9]*$'
);
--
replace_regex
/
[
0
-
9
]
+
exceeded
/
NUM
exceeded
/
--
replace_regex
/
[
0
-
9
]
+
exceeded
/
NUM
exceeded
/
SELECT
REGEXP_INSTR
(
CONCAT
(
REPEAT
(
'100,'
,
600
),
'101'
),
'^(([1-9][0-9]*),)*[1-9][0-9]*$'
);
SELECT
REGEXP_INSTR
(
CONCAT
(
REPEAT
(
'100,'
,
600
),
'101'
),
'^(([1-9][0-9]*),)*[1-9][0-9]*$'
);
SELECT
LENGTH
(
REGEXP_SUBSTR
(
CONCAT
(
REPEAT
(
'100,'
,
25
0
/
3
),
'101'
),
'^(([1-9][0-9]*),)*[1-9][0-9]*$'
));
SELECT
LENGTH
(
REGEXP_SUBSTR
(
CONCAT
(
REPEAT
(
'100,'
,
19
0
/
3
),
'101'
),
'^(([1-9][0-9]*),)*[1-9][0-9]*$'
));
--
replace_regex
/
[
0
-
9
]
+
exceeded
/
NUM
exceeded
/
--
replace_regex
/
[
0
-
9
]
+
exceeded
/
NUM
exceeded
/
SELECT
LENGTH
(
REGEXP_SUBSTR
(
CONCAT
(
REPEAT
(
'100,'
,
600
/
3
),
'101'
),
'^(([1-9][0-9]*),)*[1-9][0-9]*$'
));
SELECT
LENGTH
(
REGEXP_SUBSTR
(
CONCAT
(
REPEAT
(
'100,'
,
600
/
3
),
'101'
),
'^(([1-9][0-9]*),)*[1-9][0-9]*$'
));
SELECT
LENGTH
(
REGEXP_REPLACE
(
CONCAT
(
REPEAT
(
'100,'
,
25
0
/
3
),
'101'
),
'^(([1-9][0-9]*),)*[1-9][0-9]*$'
,
''
));
SELECT
LENGTH
(
REGEXP_REPLACE
(
CONCAT
(
REPEAT
(
'100,'
,
19
0
/
3
),
'101'
),
'^(([1-9][0-9]*),)*[1-9][0-9]*$'
,
''
));
--
replace_regex
/
[
0
-
9
]
+
exceeded
/
NUM
exceeded
/
--
replace_regex
/
[
0
-
9
]
+
exceeded
/
NUM
exceeded
/
SELECT
LENGTH
(
REGEXP_REPLACE
(
CONCAT
(
REPEAT
(
'100,'
,
600
/
3
),
'101'
),
'^(([1-9][0-9]*),)*[1-9][0-9]*$'
,
''
));
SELECT
LENGTH
(
REGEXP_REPLACE
(
CONCAT
(
REPEAT
(
'100,'
,
600
/
3
),
'101'
),
'^(([1-9][0-9]*),)*[1-9][0-9]*$'
,
''
));
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment