mirror of
https://github.com/tursodatabase/limbo.git
synced 2025-08-04 01:58:16 +00:00
Fix SELECT ABS(-9223372036854775808)
causes limbo to panic. now returns RuntimeError. Fixes https://github.com/tursodatabase/limbo/issues/815
This commit is contained in:
parent
e47240705c
commit
84d47eb582
2 changed files with 18 additions and 8 deletions
|
@ -45,6 +45,8 @@ pub enum LimboError {
|
|||
ExtensionError(String),
|
||||
#[error("Unbound parameter at index {0}")]
|
||||
Unbound(NonZero<usize>),
|
||||
#[error("Runtime error: {0}")]
|
||||
RuntimeError(String),
|
||||
}
|
||||
|
||||
#[macro_export]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue