```
"DELETE FROM Search\Entity\SearchResultEntity s WHERE s.sesid = '$sessionId' OR DATE_ADD(s.found, 1, 'DAY') < CURRENT_TIMESTAMP()"
```

Gives an "end of string" error.