From 0910483522fb43c6a5d0bd193a4776df1015c6be Mon Sep 17 00:00:00 2001 From: Nikita Sivukhin Date: Mon, 29 Sep 2025 16:30:07 +0400 Subject: [PATCH] fix clippy --- core/translate/compound_select.rs | 2 +- core/translate/emitter.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/translate/compound_select.rs b/core/translate/compound_select.rs index 82a9fca8f..4ffbc62a9 100644 --- a/core/translate/compound_select.rs +++ b/core/translate/compound_select.rs @@ -1,5 +1,5 @@ use crate::schema::{Index, IndexColumn, Schema}; -use crate::translate::emitter::{emit_query, init_limit, LimitCtx, Resolver, TranslateCtx}; +use crate::translate::emitter::{emit_query, LimitCtx, Resolver, TranslateCtx}; use crate::translate::expr::translate_expr; use crate::translate::plan::{Plan, QueryDestination, SelectPlan}; use crate::translate::result_row::try_fold_expr_to_i64; diff --git a/core/translate/emitter.rs b/core/translate/emitter.rs index 6222c9222..4b6163784 100644 --- a/core/translate/emitter.rs +++ b/core/translate/emitter.rs @@ -1726,7 +1726,7 @@ pub fn emit_cdc_insns( /// Initialize the limit/offset counters and registers. /// In case of compound SELECTs, the limit counter is initialized only once, /// hence [LimitCtx::initialize_counter] being false in those cases. -pub fn init_limit( +fn init_limit( program: &mut ProgramBuilder, t_ctx: &mut TranslateCtx, limit: &Option>,