Files
Rodrigo ZhouandGitHub 54bde75b51 Fix SQLite FTS query expression with dashes (#4755)
<!-- Describe what has changed in this PR -->
**What changed?**
Fix SQLite FTS query expression builder when token contain dashes.

<!-- Tell your future self why have you made these changes -->
**Why?**
Dash (-) is a special char in the FTS expression, so the token need to
be quoted to be escaped.
https://github.com/temporalio/temporal/issues/4729

<!-- How have you verified this change? Tested locally? Added a unit
test? Checked in staging env? -->
**How did you test it?**
Followed the repro instructions in the issue above, and it doesn't repro
anymore, ie., no errors are thrown.

<!-- Assuming the worst case, what can be broken when deploying this
change to production? -->
**Potential risks**
No.

<!-- Is this PR a hotfix candidate or require that a notification be
sent to the broader community? (Yes/No) -->
**Is hotfix candidate?**
No.
2023-08-10 16:04:18 -05:00
..