Skip to content

fix: panic on no references in values part of query

Alexander Kurdakov requested to merge kusancho/618 into main

Summarize the changes

Fix of panic on no references in values part of query. Example:

values("no reference")

to sql console will crash instance.

Instead of panic return SbroadError.

Ensure that

  • New code is covered by unit and integration tests.
  • Related issues would be automatically closed with gitlab's closing pattern (Closes #618).
  • Public modules are documented (check the rendered version with cargo doc --open).
  • (if PEST grammar is changed) EBNF grammar reflects these changes (check the result with railroad diagram generator.

Next steps

Edited by Alexander Kurdakov

Merge request reports