MDEV-5820 MySQL Bug #54805 definitions in regex/my_regex.h conflict with /usr/include/regex.h
This commit is contained in:
parent
7b1b744f53
commit
dee0fd4233
@ -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
|
||||
|
@ -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:]]';
|
||||
|
Loading…
x
Reference in New Issue
Block a user