mirror of
https://github.com/aljazceru/turso.git
synced 2026-01-06 17:54:20 +01:00
expr.rs: Rowid: call translate_expr() from translate_condition_expr()
This commit is contained in:
@@ -275,7 +275,8 @@ pub fn translate_condition_expr(
|
||||
ast::Expr::Literal(_)
|
||||
| ast::Expr::Cast { .. }
|
||||
| ast::Expr::FunctionCall { .. }
|
||||
| ast::Expr::Column { .. } => {
|
||||
| ast::Expr::Column { .. }
|
||||
| ast::Expr::RowId { .. } => {
|
||||
let reg = program.alloc_register();
|
||||
translate_expr(program, Some(referenced_tables), expr, reg, resolver)?;
|
||||
emit_cond_jump(program, condition_metadata, reg);
|
||||
|
||||
Reference in New Issue
Block a user