mirror of
https://github.com/aljazceru/turso.git
synced 2026-01-06 09:44:21 +01:00
core: fix resolve table name from join
Signed-off-by: Pere Diaz Bou <pere-altea@hotmail.com>
This commit is contained in:
@@ -619,7 +619,7 @@ fn resolve_ident_table<'a>(
|
||||
let cursor_id = context
|
||||
.loops
|
||||
.iter()
|
||||
.find(|l| l.table == *table)
|
||||
.find(|l| l.table == join.table)
|
||||
.unwrap()
|
||||
.open_cursor;
|
||||
return Ok((idx, col, cursor_id));
|
||||
|
||||
Reference in New Issue
Block a user