From 84a1d295869fbca120cc972b544626001bc08e2a Mon Sep 17 00:00:00 2001 From: Ajaya Agrawal Date: Tue, 3 Sep 2024 12:20:38 +0530 Subject: [PATCH] fix --- core/schema.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/schema.rs b/core/schema.rs index 0539c6b33..fc3bf6603 100644 --- a/core/schema.rs +++ b/core/schema.rs @@ -1,8 +1,8 @@ -use crate::{util::normalize_ident, LimboError, Result}; +use crate::{util::normalize_ident, Result}; use core::fmt; use fallible_iterator::FallibleIterator; use log::trace; -use sqlite3_parser::ast::{Expr, IndexedColumn, Literal, TableOptions}; +use sqlite3_parser::ast::{Expr, Literal, TableOptions}; use sqlite3_parser::{ ast::{Cmd, CreateTableBody, QualifiedName, ResultColumn, Stmt}, lexer::sql::Parser, @@ -19,7 +19,7 @@ pub struct Schema { impl Schema { pub fn new() -> Self { let mut tables: HashMap> = HashMap::new(); - let mut indexes: HashMap>> = HashMap::new(); + let indexes: HashMap>> = HashMap::new(); tables.insert("sqlite_schema".to_string(), Rc::new(sqlite_schema_table())); Self { tables, indexes } }