mirror of
https://github.com/aljazceru/turso.git
synced 2026-02-23 08:55:40 +01:00
remove normalization of identifiers - this will be unnecessary
This commit is contained in:
@@ -3289,7 +3289,7 @@ pub enum BindingBehavior {
|
||||
|
||||
/// Rewrite ast::Expr in place, binding Column references/rewriting Expr::Id -> Expr::Column
|
||||
/// using the provided TableReferences, and replacing anonymous parameters with internal named
|
||||
/// ones, as well as normalizing any DoublyQualified/Qualified quoted identifiers.
|
||||
/// ones
|
||||
pub fn bind_and_rewrite_expr<'a>(
|
||||
top_level_expr: &mut ast::Expr,
|
||||
mut referenced_tables: Option<&'a mut TableReferences>,
|
||||
@@ -3319,13 +3319,6 @@ pub fn bind_and_rewrite_expr<'a>(
|
||||
));
|
||||
param_state.next_param_idx += 1;
|
||||
}
|
||||
ast::Expr::Qualified(ast::Name::Quoted(ns), ast::Name::Quoted(c))
|
||||
| ast::Expr::DoublyQualified(_, ast::Name::Quoted(ns), ast::Name::Quoted(c)) => {
|
||||
*expr = ast::Expr::Qualified(
|
||||
ast::Name::exact(normalize_ident(ns.as_str())),
|
||||
ast::Name::exact(normalize_ident(c.as_str())),
|
||||
);
|
||||
}
|
||||
ast::Expr::Between {
|
||||
lhs,
|
||||
not,
|
||||
|
||||
Reference in New Issue
Block a user