1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-07-27 20:41:58 +03:00

Expose sqlite3_txn_state() to wasm.

FossilOrigin-Name: f6f3397a4667b15a96bdf4189c54789d622fd90351405e963d7f56ac93a9344c
This commit is contained in:
stephan
2022-12-12 07:31:37 +00:00
parent 9bda4c53c1
commit fda3c30b7d
6 changed files with 19 additions and 11 deletions

View File

@ -1032,6 +1032,7 @@ self.sqlite3ApiBootstrap = function sqlite3ApiBootstrap(
"**", "**", "*", "*", "*"],
["sqlite3_total_changes", "int", "sqlite3*"],
["sqlite3_trace_v2", "int", "sqlite3*", "int", "*", "*"],
["sqlite3_txn_state", "int", ["sqlite3*","string"]],
/* Note that sqlite3_uri_...() have very specific requirements for
their first C-string arguments, so we cannot perform any value
conversion on those. */