mirror of
https://github.com/tursodatabase/limbo.git
synced 2025-08-04 10:08:20 +00:00
Remove clone in vtab from_args
This commit is contained in:
parent
e63436dc47
commit
9b742e1a76
4 changed files with 9 additions and 6 deletions
|
@ -532,7 +532,7 @@ impl VirtualTable {
|
|||
args: Vec<limbo_ext::Value>,
|
||||
syms: &SymbolTable,
|
||||
kind: VTabKind,
|
||||
exprs: &Option<Vec<ast::Expr>>,
|
||||
exprs: Option<Vec<ast::Expr>>,
|
||||
) -> Result<Rc<Self>> {
|
||||
let module = syms
|
||||
.vtab_modules
|
||||
|
@ -559,7 +559,7 @@ impl VirtualTable {
|
|||
name: tbl_name.unwrap_or(module_name).to_owned(),
|
||||
implementation: module.implementation.clone(),
|
||||
columns,
|
||||
args: exprs.clone(),
|
||||
args: exprs,
|
||||
});
|
||||
return Ok(vtab);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue