mirror of
https://github.com/tursodatabase/limbo.git
synced 2025-08-04 18:18:03 +00:00
Remove unneeded clone in add_table
Signed-off-by: Piotr Jastrzebski <haaawk@gmail.com>
This commit is contained in:
parent
e9032aaeaf
commit
7b6c6ef9f1
2 changed files with 3 additions and 3 deletions
|
@ -71,7 +71,7 @@ impl Database {
|
|||
let root_page: i64 = row.get::<i64>(3)?;
|
||||
let sql: String = row.get::<String>(4)?;
|
||||
let table = schema::Table::from_sql(&sql, root_page as usize)?;
|
||||
schema.add_table(&table.name.to_owned(), table);
|
||||
schema.add_table(table);
|
||||
}
|
||||
RowResult::IO => {
|
||||
// TODO: How do we ensure that the I/O we submitted to
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue