Details
-
Bug
-
Status: Closed (View Workflow)
-
Critical
-
Resolution: Fixed
-
10.0.10
-
None
-
None
-
Windows 8, Windows Server 2012 R2, maybe others
Description
In 5.5.36, RLIKE and REGEXP work as they always have:
SELECT |
'cat and
|
dog' |
RLIKE 'cat.*dog'; |
=> 1
|
|
In 10.0.10, |
SELECT |
'cat and
|
dog' |
RLIKE 'cat.*dog'; |
=> 0
|
I consider this to be a critical issue that would cause queries to not function as expected.
Attachments
Activity
Field | Original Value | New Value |
---|---|---|
Comment |
[ Works for me on Wheezy: {code:sql} MariaDB [test]> select 'cat and dog' rlike 'cat.*dog'; +--------------------------------+ | 'cat and dog' rlike 'cat.*dog' | +--------------------------------+ | 1 | +--------------------------------+ 1 row in set (0.03 sec) MariaDB [test]> select @@version; +-----------------+ | @@version | +-----------------+ | 10.0.10-MariaDB | +-----------------+ 1 row in set (0.00 sec) {code} I'll try Windows too. Meanwhile, could you please attach your cnf file? ] |
Description |
In 5.5.36, RLIKE and REGEXP work as they always have: SELECT 'cat and dog' RLIKE 'cat.*dog'; => 1 In 10.0.10, SELECT 'cat and dog' RLIKE 'cat.*dog'; => 0 I consider this to be a critical issue that would cause queries to not function as expected. |
In 5.5.36, RLIKE and REGEXP work as they always have: {code:sql} SELECT 'cat and dog' RLIKE 'cat.*dog'; => 1 In 10.0.10, SELECT 'cat and dog' RLIKE 'cat.*dog'; => 0 {code} I consider this to be a critical issue that would cause queries to not function as expected. |
Fix Version/s | 10.0.11 [ 15200 ] |
Assignee | Alexander Barkov [ bar ] |
Status | Open [ 1 ] | In Progress [ 3 ] |
Status | In Progress [ 3 ] | Stalled [ 10000 ] |
Resolution | Fixed [ 1 ] | |
Status | Stalled [ 10000 ] | Closed [ 6 ] |
Workflow | defaullt [ 38200 ] | MariaDB v2 [ 42921 ] |
Workflow | MariaDB v2 [ 42921 ] | MariaDB v3 [ 61952 ] |
Workflow | MariaDB v3 [ 61952 ] | MariaDB v4 [ 147748 ] |
Apparently the difference was caused by switching to PCRE.