support using a INSERT SELECT that references the same table in both statements

This commit is contained in:
pedrocarlo 2025-05-25 00:02:12 -03:00
parent 90e3c8483d
commit e3fd1e589e
3 changed files with 251 additions and 57 deletions

View file

@ -370,7 +370,11 @@ pub fn insn_to_str(
0,
Value::build_text(""),
0,
"".to_string(),
program.cursor_ref[*cursor_id]
.0
.as_ref()
.unwrap()
.to_string(),
),
Insn::VCreate {
table_name,