1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

MDEV-5820 MySQL Bug #54805 definitions in regex/my_regex.h conflict with /usr/include/regex.h

This commit is contained in:
Sergei Golubchik
2014-03-20 23:26:50 +01:00
parent 7b1b744f53
commit dee0fd4233
2 changed files with 24 additions and 0 deletions

View File

@ -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:]]';