mirror of
https://github.com/fleetdm/fleet
synced 2026-05-14 20:48:35 +00:00
<!-- Add the related story/sub-task/bug number, like Resolves #123, or remove if NA --> **Related issue:** Resolves #34628 # Details This fixes an issue where valid bitwise operators are reject as invalid syntax in our SQL editor. This fix uses a forked version of the node-sql-parser library. I've [put a PR up to the upstream library](https://github.com/taozhi8833998/node-sql-parser/pull/2611), but there's also another PR that's waiting to be merged (and [another ticket we need to fix](https://github.com/fleetdm/fleet/issues/34635)) before we can revert to the upstream. # Checklist for submitter If some of the following don't apply, delete the relevant line. - [X] Changes file added for user-visible changes in `changes/`, `orbit/changes/` or `ee/fleetd-chrome/changes`. See [Changes files](https://github.com/fleetdm/fleet/blob/main/docs/Contributing/guides/committing-changes.md#changes-files) for more information. ## Testing - [X] Added/updated automated tests - [X] QA'd all new/changed functionality manually Tested w/ query from original ticket: <img width="540" height="448" alt="image" src="https://github.com/user-attachments/assets/0285cdd7-60af-4adb-b562-f33b98937cae" />
1 line
99 B
Text
1 line
99 B
Text
- Fixed an issue where using bitwise operators in a query incorrectly marked the query as invalid.
|