-
Notifications
You must be signed in to change notification settings - Fork 81
Closed
Description
Attempting to call SQLite.load!(db; analyze=true)
give an error that nm
is undefined; which it is. The below patch fixes it:
diff --git a/src/tables.jl b/src/tables.jl
diff --git a/src/tables.jl b/src/tables.jl
index 163ea37..9f1b6c0 100644
--- a/src/tables.jl
+++ b/src/tables.jl
@@ -262,7 +262,7 @@ function load!(sch::Tables.Schema, rows, db::DB, name::AbstractString, db_tablei
end
end
_close!(stmt)
- analyze && execute(db, "ANALYZE $nm")
+ analyze && execute(db, "ANALYZE $name")
return name
end
Metadata
Metadata
Assignees
Labels
No labels