From 4f384e3a0272524bbd9ceb8ba2c22646f2610f9c Mon Sep 17 00:00:00 2001 From: Jussi Saurio Date: Sun, 16 Feb 2025 08:59:55 +0200 Subject: [PATCH] expr.rs: Rowid: call translate_expr() from translate_condition_expr() --- core/translate/expr.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/translate/expr.rs b/core/translate/expr.rs index 3b3650761..84b57b34e 100644 --- a/core/translate/expr.rs +++ b/core/translate/expr.rs @@ -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);