Skip to content

Commit 3d04054

Browse files
committed
chore: codefmt
1 parent 8c00bfd commit 3d04054

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

src/execution/dql/show_view.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@ pub struct ShowViews;
1111
impl<'a, T: Transaction + 'a> ReadExecutor<'a, T> for ShowViews {
1212
fn execute(
1313
self,
14-
(TableCache, _, _): (&'a TableCache, &'a ViewCache, &'a StatisticsMetaCache),
14+
(table_cache, _, _): (&'a TableCache, &'a ViewCache, &'a StatisticsMetaCache),
1515
transaction: *mut T,
1616
) -> Executor<'a> {
1717
Box::new(
1818
#[coroutine]
1919
move || {
20-
let metas = throw!(unsafe { &mut (*transaction) }.views(TableCache));
20+
let metas = throw!(unsafe { &mut (*transaction) }.views(table_cache));
2121

2222
for View { name, .. } in metas {
2323
let values = vec![DataValue::Utf8 {

src/storage/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ use crate::types::{ColumnId, LogicalType};
1515
use crate::utils::lru::SharedLruCache;
1616
use itertools::Itertools;
1717
use std::collections::{BTreeMap, Bound};
18-
use sqlparser::keywords::NULL;
1918
use std::io::Cursor;
2019
use std::mem;
2120
use std::ops::SubAssign;

0 commit comments

Comments
 (0)