mirror of
https://github.com/tursodatabase/limbo.git
synced 2025-08-04 18:18:03 +00:00
Merge 'Small VDBE insn tweaks' from Jussi Saurio
1. allow calling op_null with Insn::BeginSubrtn - BeginSubrtn is identical to Null, but named differently so that its use in context is clearer 2. Insn::Return: add possibility to fallthrough on non-integer values as per sqlite spec Closes #1588
This commit is contained in:
commit
ad0f2bb399
4 changed files with 33 additions and 14 deletions
|
@ -625,11 +625,14 @@ pub fn insn_to_str(
|
|||
0,
|
||||
"".to_string(),
|
||||
),
|
||||
Insn::Return { return_reg } => (
|
||||
Insn::Return {
|
||||
return_reg,
|
||||
can_fallthrough,
|
||||
} => (
|
||||
"Return",
|
||||
*return_reg as i32,
|
||||
0,
|
||||
0,
|
||||
*can_fallthrough as i32,
|
||||
Value::build_text(""),
|
||||
0,
|
||||
"".to_string(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue