-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Expose sqlite3_db_status #701
Comments
Do you want |
Both would be really great. I would be fine with a ConnectHook. |
As of Go 1.13, you can actually access the |
I have a similar requirement to get at sqlite3_db_config() to lock down the use of SQLite3 when processing untrusted database files as per point 9 in section 1.2 here: https://www.sqlite.org/security.html
I'm guessing the "multiple *sqlite3.SQLiteConn instances" would be an issue here too? |
@carwyn For that you would want to use the Lines 294 to 297 in baaf8a9
sqlite3_db_config is not currently exposed, and so a new method on *SQLiteConn would have to be added.
|
Following up #701 (comment) I came across this issue when looking into support for See rqlite#30 |
For expvar I need the status of sqlite.
sqlite delivers stats per sqlite3_db_status
I would try to implement it myself, but I have no experience in C and calling C from Go
Is there an workaround?
The text was updated successfully, but these errors were encountered: