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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
dee0fd42
Commit
dee0fd42
authored
Mar 20, 2014
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MDEV-5820 MySQL Bug #54805 definitions in regex/my_regex.h conflict with /usr/include/regex.h
parent
7b1b744f
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
0 deletions
+24
-0
mysql-test/r/func_regexp.result
mysql-test/r/func_regexp.result
+12
-0
mysql-test/t/func_regexp.test
mysql-test/t/func_regexp.test
+12
-0
No files found.
mysql-test/r/func_regexp.result
View file @
dee0fd42
...
...
@@ -145,3 +145,15 @@ a
DEALLOCATE PREPARE stmt1;
DROP TABLE t1;
End of 5.1 tests
SELECT ' ' REGEXP '[[:blank:]]';
' ' REGEXP '[[:blank:]]'
1
SELECT '\t' REGEXP '[[:blank:]]';
'\t' REGEXP '[[:blank:]]'
1
SELECT ' ' REGEXP '[[:space:]]';
' ' REGEXP '[[:space:]]'
1
SELECT '\t' REGEXP '[[:space:]]';
'\t' REGEXP '[[:space:]]'
1
mysql-test/t/func_regexp.test
View file @
dee0fd42
...
...
@@ -92,3 +92,15 @@ DROP TABLE t1;
--
echo
End
of
5.1
tests
#
# MDEV-5820 MySQL Bug #54805 definitions in regex/my_regex.h conflict with /usr/include/regex.h
# Bug #55427 REGEXP does not recognize '\t' as [:blank:]
#
# Test that \t is indeed recognized as [[:blank:]]
#
SELECT
' '
REGEXP
'[[:blank:]]'
;
SELECT
'\t'
REGEXP
'[[:blank:]]'
;
SELECT
' '
REGEXP
'[[:space:]]'
;
SELECT
'\t'
REGEXP
'[[:space:]]'
;
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