-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
By default, SQL's Full-Text Search seems to handle some special characters within the AGAINST string as code, even though they're within quotes and bound.
For example:
$query = $myTable
->find('matches', [
[
'match' => 'textcol1',
'against' => '*'
]
]);will cause
Error: SQLSTATE[42000]: Syntax error or access violation: 1064 syntax error, unexpected $end, expecting FTS_TERM or FTS_NUMB or '*'
This behaviour has been observed in closely described here: https://stackoverflow.com/questions/25088183/mysql-fulltext-search-with-symbol-produces-error-syntax-error-unexpected/25972465#25972465
Metadata
Metadata
Assignees
Labels
No labels