Optimise imports in tx.rs (#3568)
This commit is contained in:
parent
d386871515
commit
73a90ac4e1
1 changed files with 31 additions and 27 deletions
|
@ -1,7 +1,29 @@
|
||||||
use super::kv::Add;
|
use std::borrow::Cow;
|
||||||
use super::kv::Convert;
|
use std::fmt;
|
||||||
use super::Key;
|
use std::fmt::Debug;
|
||||||
use super::Val;
|
use std::ops::Range;
|
||||||
|
use std::sync::Arc;
|
||||||
|
|
||||||
|
use channel::{Receiver, Sender};
|
||||||
|
use futures::lock::Mutex;
|
||||||
|
use uuid::Uuid;
|
||||||
|
|
||||||
|
use sql::permission::Permissions;
|
||||||
|
use sql::statements::DefineAnalyzerStatement;
|
||||||
|
use sql::statements::DefineDatabaseStatement;
|
||||||
|
use sql::statements::DefineEventStatement;
|
||||||
|
use sql::statements::DefineFieldStatement;
|
||||||
|
use sql::statements::DefineFunctionStatement;
|
||||||
|
use sql::statements::DefineIndexStatement;
|
||||||
|
use sql::statements::DefineModelStatement;
|
||||||
|
use sql::statements::DefineNamespaceStatement;
|
||||||
|
use sql::statements::DefineParamStatement;
|
||||||
|
use sql::statements::DefineScopeStatement;
|
||||||
|
use sql::statements::DefineTableStatement;
|
||||||
|
use sql::statements::DefineTokenStatement;
|
||||||
|
use sql::statements::DefineUserStatement;
|
||||||
|
use sql::statements::LiveStatement;
|
||||||
|
|
||||||
use crate::cf;
|
use crate::cf;
|
||||||
use crate::dbs::node::ClusterMembership;
|
use crate::dbs::node::ClusterMembership;
|
||||||
use crate::dbs::node::Timestamp;
|
use crate::dbs::node::Timestamp;
|
||||||
|
@ -23,29 +45,11 @@ use crate::sql::Strand;
|
||||||
use crate::sql::Value;
|
use crate::sql::Value;
|
||||||
use crate::vs::Oracle;
|
use crate::vs::Oracle;
|
||||||
use crate::vs::Versionstamp;
|
use crate::vs::Versionstamp;
|
||||||
use channel::{Receiver, Sender};
|
|
||||||
use futures::lock::Mutex;
|
use super::kv::Add;
|
||||||
use sql::permission::Permissions;
|
use super::kv::Convert;
|
||||||
use sql::statements::DefineAnalyzerStatement;
|
use super::Key;
|
||||||
use sql::statements::DefineDatabaseStatement;
|
use super::Val;
|
||||||
use sql::statements::DefineEventStatement;
|
|
||||||
use sql::statements::DefineFieldStatement;
|
|
||||||
use sql::statements::DefineFunctionStatement;
|
|
||||||
use sql::statements::DefineIndexStatement;
|
|
||||||
use sql::statements::DefineModelStatement;
|
|
||||||
use sql::statements::DefineNamespaceStatement;
|
|
||||||
use sql::statements::DefineParamStatement;
|
|
||||||
use sql::statements::DefineScopeStatement;
|
|
||||||
use sql::statements::DefineTableStatement;
|
|
||||||
use sql::statements::DefineTokenStatement;
|
|
||||||
use sql::statements::DefineUserStatement;
|
|
||||||
use sql::statements::LiveStatement;
|
|
||||||
use std::borrow::Cow;
|
|
||||||
use std::fmt;
|
|
||||||
use std::fmt::Debug;
|
|
||||||
use std::ops::Range;
|
|
||||||
use std::sync::Arc;
|
|
||||||
use uuid::Uuid;
|
|
||||||
|
|
||||||
const LQ_CAPACITY: usize = 100;
|
const LQ_CAPACITY: usize = 100;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue