1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-07-29 08:01:23 +03:00

wasm opfs: error handling fix for an impossible-to-reach error case. Minor cosmetic tweaks in the wasm JSON enum.

FossilOrigin-Name: 683a3b937e608a5ecaf7f63f054e8a63179d67c8b2348bf843e5e68f27a369f5
This commit is contained in:
stephan
2022-08-10 13:22:44 +00:00
parent 3961b26363
commit 2315e83463
4 changed files with 23 additions and 25 deletions

View File

@ -213,8 +213,7 @@ const char * sqlite3_wasm_enum_json(void){
DefGroup(blobFinalizers) {
/* SQLITE_STATIC/TRANSIENT need to be handled explicitly as
** integers to avoid casting-related warnings. */
out("\"SQLITE_STATIC\":0, "
"\"SQLITE_TRANSIENT\":-1");
out("\"SQLITE_STATIC\":0, \"SQLITE_TRANSIENT\":-1");
} _DefGroup;
DefGroup(udfFlags) {
@ -312,8 +311,8 @@ const char * sqlite3_wasm_enum_json(void){
** }
** }
**
** Detailed documentation for those bits are in an external
** file (StackBinder.md, as of this writing).
** Detailed documentation for those bits are in the docs for the
** Jaccwabyt JS-side component.
*/
/** Macros for emitting StructBinder description. */