diff options
author | stephan <stephan@noemail.net> | 2022-08-25 13:27:52 +0000 |
---|---|---|
committer | stephan <stephan@noemail.net> | 2022-08-25 13:27:52 +0000 |
commit | 335ad5264f497a680a5529884de419b54809089f (patch) | |
tree | 655f3c7b86a2f83734c77cbd8bf2f6e402033bb6 /ext/wasm/api/sqlite3-api-worker1.js | |
parent | 9afff9f3c539516c29ce0752b5b84adf8f6ebc19 (diff) | |
download | sqlite-335ad5264f497a680a5529884de419b54809089f.tar.gz sqlite-335ad5264f497a680a5529884de419b54809089f.zip |
Consolidate oo1.DB.exec() and oo1.DB.execMulti() into oo1.DB.exec(). This is a bit less efficient but certainly easier for a client to deal with and lightens the maintenance burden.
FossilOrigin-Name: 7eff7213dff553b76d7ce45063e3c4a19544716611a0b609593d704076b38d0b
Diffstat (limited to 'ext/wasm/api/sqlite3-api-worker1.js')
-rw-r--r-- | ext/wasm/api/sqlite3-api-worker1.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/wasm/api/sqlite3-api-worker1.js b/ext/wasm/api/sqlite3-api-worker1.js index f882f6d76..6ca337df1 100644 --- a/ext/wasm/api/sqlite3-api-worker1.js +++ b/ext/wasm/api/sqlite3-api-worker1.js @@ -589,7 +589,7 @@ sqlite3.initWorker1API = function(){ }; if(err.stack){ result.stack = ('string'===typeof err.stack) - ? err.stack.split('\n') : err.stack; + ? err.stack.split(/\n\s*/) : err.stack; } if(0) console.warn("Worker is propagating an exception to main thread.", "Reporting it _here_ for the stack trace:",err,result); |