mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 04:18:52 +00:00
[ticket/11174] negation queries do not return false
negation queries are split into words too and returns false in mysql search backend PHPBB3-11174
This commit is contained in:
parent
9d597dc2ee
commit
db2297827d
1 changed files with 3 additions and 3 deletions
|
@ -121,14 +121,14 @@ class phpbb_search_mysql_test extends phpbb_database_test_case
|
||||||
array(
|
array(
|
||||||
'-fooo',
|
'-fooo',
|
||||||
'all',
|
'all',
|
||||||
false,
|
true,
|
||||||
null,
|
array('-fooo'),
|
||||||
array(),
|
array(),
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
'-fooo -baar',
|
'-fooo -baar',
|
||||||
'all',
|
'all',
|
||||||
false,
|
true,
|
||||||
array('-fooo', '-baar'),
|
array('-fooo', '-baar'),
|
||||||
array(),
|
array(),
|
||||||
),
|
),
|
||||||
|
|
Loading…
Add table
Reference in a new issue