[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:
Dhruv 2012-11-12 16:25:44 +01:00 committed by Oleg Pudeyev
parent 9d597dc2ee
commit db2297827d

View file

@ -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(),
), ),