expr.rs: Rowid: call translate_expr() from translate_condition_expr()

This commit is contained in:
Jussi Saurio
2025-02-16 08:59:55 +02:00
parent d91ba9573b
commit 4f384e3a02

View File

@@ -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);