MCPcopy
hub / github.com/sql-js/sql.js / _sqlite3ErrorFinish

Function _sqlite3ErrorFinish

js/sql-debug.js:46903–46949  ·  view source on GitHub ↗
($0,$1)

Source from the content-addressed store, hash-verified

46901 STACKTOP = sp;return;
46902}
46903function _sqlite3ErrorFinish($0,$1) {
46904 $0 = $0|0;
46905 $1 = $1|0;
46906 var $10 = 0, $11 = 0, $12 = 0, $13 = 0, $14 = 0, $15 = 0, $16 = 0, $17 = 0, $18 = 0, $19 = 0, $2 = 0, $3 = 0, $4 = 0, $5 = 0, $6 = 0, $7 = 0, $8 = 0, $9 = 0, label = 0, sp = 0;
46907 sp = STACKTOP;
46908 $2 = ((($0)) + 248|0);
46909 $3 = HEAP32[$2>>2]|0;
46910 $4 = ($3|0)==(0|0);
46911 do {
46912 if (!($4)) {
46913 $5 = ((($3)) + 8|0);
46914 $6 = HEAP16[$5>>1]|0;
46915 $7 = $6 & 9312;
46916 $8 = ($7<<16>>16)==(0);
46917 if ($8) {
46918 HEAP16[$5>>1] = 1;
46919 break;
46920 } else {
46921 _vdbeMemClearExternAndSetNull($3);
46922 break;
46923 }
46924 }
46925 } while(0);
46926 $9 = ($1|0)==(3082);
46927 if ($9) {
46928 return;
46929 }
46930 $10 = $1 & 251;
46931 $11 = $10 | 4;
46932 $12 = ($11|0)==(14);
46933 if (!($12)) {
46934 return;
46935 }
46936 $13 = HEAP32[$0>>2]|0;
46937 $14 = ((($13)) + 68|0);
46938 $15 = HEAP32[$14>>2]|0;
46939 $16 = ($15|0)==(0|0);
46940 if ($16) {
46941 $19 = 0;
46942 } else {
46943 $17 = (FUNCTION_TABLE_iiii[$15 & 255]($13,0,0)|0);
46944 $19 = $17;
46945 }
46946 $18 = ((($0)) + 64|0);
46947 HEAP32[$18>>2] = $19;
46948 return;
46949}
46950function _sqlite3FindDbName($0,$1) {
46951 $0 = $0|0;
46952 $1 = $1|0;

Callers 15

_sqlite3ErrorWithMsgFunction · 0.85
_sqlite3_backup_finishFunction · 0.85
_apiOomErrorFunction · 0.85
_sqlite3PrepareFunction · 0.85
_sqlite3_execFunction · 0.85
_sqlite3_column_textFunction · 0.85
_pragmaVtabColumnFunction · 0.85
_sqlite3_declare_vtabFunction · 0.85
_sqlite3_column_blobFunction · 0.85
_sqlite3_column_bytesFunction · 0.85

Calls 1

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…