aboutsummaryrefslogtreecommitdiff
path: root/ext/wasm/api/sqlite3-vfs-opfs.c-pp.js
diff options
context:
space:
mode:
authorstephan <stephan@noemail.net>2023-01-26 20:08:59 +0000
committerstephan <stephan@noemail.net>2023-01-26 20:08:59 +0000
commit0945197a39896ec49ecfffd8f7b10ecc844020ac (patch)
treef87471755d4bb38dfc57b38bf2bf4cce911ee9f6 /ext/wasm/api/sqlite3-vfs-opfs.c-pp.js
parent3db12cd7c48acc5acfdbe29cf22ff47e46a935a9 (diff)
downloadsqlite-0945197a39896ec49ecfffd8f7b10ecc844020ac.tar.gz
sqlite-0945197a39896ec49ecfffd8f7b10ecc844020ac.zip
End-of-line whitespace cleanups and doc typo fixes. No code changes.
FossilOrigin-Name: bdfd72a083fadd724030c4c89adae71426e1ddd402c6bc5abf40801ecf3253cf
Diffstat (limited to 'ext/wasm/api/sqlite3-vfs-opfs.c-pp.js')
-rw-r--r--ext/wasm/api/sqlite3-vfs-opfs.c-pp.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/wasm/api/sqlite3-vfs-opfs.c-pp.js b/ext/wasm/api/sqlite3-vfs-opfs.c-pp.js
index 50be31a2b..2ded905ad 100644
--- a/ext/wasm/api/sqlite3-vfs-opfs.c-pp.js
+++ b/ext/wasm/api/sqlite3-vfs-opfs.c-pp.js
@@ -190,7 +190,7 @@ const installOpfsVfs = function callee(options){
s = metrics.s11n.deserialize = Object.create(null);
s.count = s.time = 0;
}
- }/*metrics*/;
+ }/*metrics*/;
const opfsVfs = new sqlite3_vfs();
const opfsIoMethods = new sqlite3_io_methods();
const promiseReject = function(err){
@@ -743,7 +743,7 @@ const installOpfsVfs = function callee(options){
let rc;
try {
rc = opRun('xRead',pFile, n, Number(offset64));
- if(0===rc || capi.SQLITE_IOERR_SHORT_READ===rc){
+ if(0===rc || capi.SQLITE_IOERR_SHORT_READ===rc){
/**
Results get written to the SharedArrayBuffer f.sabView.
Because the heap is _not_ a SharedArrayBuffer, we have
@@ -1291,7 +1291,7 @@ const installOpfsVfs = function callee(options){
}).catch(promiseReject);
}else{
promiseResolve(sqlite3);
- }
+ }
}catch(e){
error(e);
promiseReject(e);