core: Move expr.rs to translate/

This commit is contained in:
Pekka Enberg
2024-07-21 19:02:47 +03:00
parent 25228f44dc
commit fee1530ea6
4 changed files with 4 additions and 3 deletions

View File

@@ -1,6 +1,5 @@
mod btree;
mod buffer_pool;
mod expr;
mod function;
mod io;
mod pager;

View File

@@ -1,7 +1,9 @@
pub(crate) mod expr;
use std::cell::RefCell;
use std::rc::Rc;
use crate::expr::{build_select, maybe_apply_affinity, translate_expr};
use expr::{build_select, maybe_apply_affinity, translate_expr};
use crate::function::{AggFunc, Func};
use crate::pager::Pager;
use crate::schema::{Column, PseudoTable, Schema, Table};

View File

@@ -2,7 +2,7 @@ use anyhow::Result;
use sqlite3_parser::ast::{self, JoinOperator};
use crate::{
expr::{resolve_ident_qualified, resolve_ident_table, translate_expr},
translate::expr::{resolve_ident_qualified, resolve_ident_table, translate_expr},
function::SingleRowFunc,
select::Select,
vdbe::{BranchOffset, Insn, ProgramBuilder},