Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upLoading a sqlite3 extension? #1867
Comments
This comment has been minimized.
|
What's wrong with |
This comment has been minimized.
tyrylu
commented
Sep 27, 2018
|
This is unfortunately not enough, because at least for the windows builds it is necessary to call the enable_load_extension c function which has no sql function counterpart, without it you end up with an unauthorized error (tried a few hours ago with the bundled 3.24 version in sqlite3-sys). |
added a commit
that referenced
this issue
Oct 7, 2018
This comment has been minimized.
alamminsalo
commented
Nov 3, 2018
|
This would be great feature, currently I have to use a separate sqlite lib to load and query with extensions. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
tyrylu commentedSep 27, 2018
Hello.
Did i miss something or is it really not possible (diesel 1.3) to load a sqlite3 extension? I discovered this when trying to make a spatialite initialization sequence work, but without the extension it obviously can not work. Doing a pull request exposing the APIs on SqliteConnection would probably not be as hard, but how would you go about allowing extension loading in migrations (e. g. how of a bad idea would it be to allow extension loading by default)?