mirror of
https://github.com/aljazceru/turso.git
synced 2026-02-06 16:54:23 +01:00
Remove unused function in core/util.rs
This commit is contained in:
@@ -578,6 +578,7 @@ pub fn can_pushdown_predicate(expr: &Expr) -> bool {
|
||||
&name.0,
|
||||
args.as_ref().map_or(0, |a| a.len()),
|
||||
);
|
||||
// is deterministic
|
||||
matches!(function, Ok(Func::Scalar(_)))
|
||||
}
|
||||
Expr::Like { lhs, rhs, .. } => can_pushdown_predicate(lhs) && can_pushdown_predicate(rhs),
|
||||
@@ -597,10 +598,6 @@ pub fn can_pushdown_predicate(expr: &Expr) -> bool {
|
||||
}
|
||||
}
|
||||
|
||||
fn is_deterministic(func: &Func) -> bool {
|
||||
matches!(func, Func::Scalar(_))
|
||||
}
|
||||
|
||||
#[derive(Debug, Default, PartialEq)]
|
||||
pub struct OpenOptions<'a> {
|
||||
/// The authority component of the URI. may be 'localhost' or empty
|
||||
|
||||
Reference in New Issue
Block a user