diff options
-rw-r--r-- | Makefile | 4 | ||||
-rw-r--r-- | internal/testfixture/testfixture_linux_amd64.go | 8830 | ||||
-rw-r--r-- | lib/sqlite_linux_amd64.go | 7381 | ||||
-rw-r--r-- | speedtest1/main_linux_amd64.go | 64 | ||||
-rw-r--r-- | tcl_test.go | 2 | ||||
-rw-r--r-- | testdata/testlog-linux-amd64 | 1314 | ||||
-rw-r--r-- | testdata/testlog-linux-amd64-on-linux-amd64 | 1323 | ||||
-rw-r--r-- | testdata/testlog-linux-arm | 1313 | ||||
-rw-r--r-- | testdata/testlog-linux-arm64 | 1314 |
9 files changed, 13134 insertions, 8411 deletions
@@ -7,7 +7,7 @@ grep=--include=*.go --include=*.l --include=*.y --include=*.yy ngrep='TODOOK\|internal\/vfs\|internal\/bin\|internal\/mptest\|.*stringer.*\.go' host=$(shell go env GOOS)-$(shell go env GOARCH) -testlog=testdata/testlog-$(shell echo $$GOOS)-$(shell echo $$GOARCH)$(shell echo $$SQLITE_TEST_SUFFIX) +testlog=testdata/testlog-$(shell echo $$GOOS)-$(shell echo $$GOARCH)-on-$(shell go env GOOS)-$(shell go env GOARCH) all: editor date @@ -63,7 +63,7 @@ test_linux_386: GOOS=linux GOARCH=386 make test test_linux_386_hosted: - GOOS=linux GOARCH=386 SQLITE_TEST_SUFFIX=-hosted-$(host) make test + GOOS=linux GOARCH=386 make test test_linux_arm: GOOS=linux GOARCH=arm make test diff --git a/internal/testfixture/testfixture_linux_amd64.go b/internal/testfixture/testfixture_linux_amd64.go index 373bead..37585cd 100644 --- a/internal/testfixture/testfixture_linux_amd64.go +++ b/internal/testfixture/testfixture_linux_amd64.go @@ -2887,9 +2887,6 @@ const ( TESTVFS_WRITE_MASK = 0x00001000 ) -// If we are compiling with optimizing read this file. It contains -// several optimizing inline functions and macros. - // Copyright (C) 1991-2018 Free Software Foundation, Inc. // This file is part of the GNU C Library. // @@ -3534,9 +3531,15 @@ const ( /* resource.h:187:1: */ PRIO_USER = 2 ) -// Convenience macros for operations on timevals. -// NOTE: `timercmp' does not work for >= or <=. +// end block for C++ + +// Local Variables: +// mode: c +// c-basic-offset: 4 +// fill-column: 78 +// End: +// Needed for the setrlimit() system call on unix // Copyright (C) 1992-2018 Free Software Foundation, Inc. // This file is part of the GNU C Library. // @@ -7538,30 +7541,54 @@ func idxRegisterVtab(tls *libc.TLS, p uintptr) int32 { /* sqlite3expert.c:622:12 return sqlite3.Xsqlite3_create_module(tls, (*sqlite3expert)(unsafe.Pointer(p)).Fdbv, ts+56 /* "expert" */, uintptr(unsafe.Pointer(&expertModule)), p) } -var expertModule = sqlite3_module{FiVersion: 2, FxCreate: // iVersion -0, FxConnect:// xCreate - create a table -0, FxBestIndex:// xConnect - connect to an existing table -0, FxDisconnect:// xBestIndex - Determine search strategy -0, FxDestroy:// xDisconnect - Disconnect from a table -0, FxOpen:// xDestroy - Drop a table -0, FxClose:// xOpen - open a cursor -0, FxFilter:// xClose - close a cursor -0, FxNext:// xFilter - configure scan constraints -0, FxEof:// xNext - advance a cursor -0, FxColumn:// xEof -0, FxRowid:// xColumn - read data -0, FxUpdate:// xRowid - read data -0, FxBegin:// xUpdate - write data -uintptr(0), FxSync:// xBegin - begin transaction -uintptr(0), FxCommit:// xSync - sync transaction -uintptr(0), FxRollback:// xCommit - commit transaction -uintptr(0), FxFindFunction:// xRollback - rollback transaction -uintptr(0), FxRename:// xFindFunction - function overloading -uintptr(0), FxSavepoint:// xRename - rename the table -uintptr(0), FxRelease:// xSavepoint -uintptr(0), FxRollbackTo:// xRelease -uintptr(0), FxShadowName:// xRollbackTo -uintptr(0), // xShadowName +var expertModule = sqlite3_module{ + FiVersion: 2, + FxCreate:// iVersion + 0, + FxConnect:// xCreate - create a table + 0, + FxBestIndex:// xConnect - connect to an existing table + 0, + FxDisconnect:// xBestIndex - Determine search strategy + 0, + FxDestroy:// xDisconnect - Disconnect from a table + 0, + FxOpen:// xDestroy - Drop a table + 0, + FxClose:// xOpen - open a cursor + 0, + FxFilter:// xClose - close a cursor + 0, + FxNext:// xFilter - configure scan constraints + 0, + FxEof:// xNext - advance a cursor + 0, + FxColumn:// xEof + 0, + FxRowid:// xColumn - read data + 0, + FxUpdate:// xRowid - read data + 0, + FxBegin:// xUpdate - write data + uintptr(0), + FxSync:// xBegin - begin transaction + uintptr(0), + FxCommit:// xSync - sync transaction + uintptr(0), + FxRollback:// xCommit - commit transaction + uintptr(0), + FxFindFunction:// xRollback - rollback transaction + uintptr(0), + FxRename:// xFindFunction - function overloading + uintptr(0), + FxSavepoint:// xRename - rename the table + uintptr(0), + FxRelease:// xSavepoint + uintptr(0), + FxRollbackTo:// xRelease + uintptr(0), + FxShadowName:// xRollbackTo + uintptr(0), // xShadowName } /* sqlite3expert.c:623:25 */ // // End of virtual table implementation. @@ -11378,12 +11405,27 @@ func testExpertCmd(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32 var pExpert uintptr = clientData *(*[6]Subcmd)(unsafe.Pointer(bp /* aSub */)) = [6]Subcmd{ - {FzSub: ts + 1807 /* "sql" */, FnArg: 1, FzMsg: ts + 1811 /* "TABLE" */}, // 0 - {FzSub: ts + 1817 /* "analyze" */, FnArg: 0, FzMsg: ts + 488 /* "" */}, // 1 - {FzSub: ts + 1825 /* "count" */, FnArg: 0, FzMsg: ts + 488 /* "" */}, // 2 - {FzSub: ts + 1831 /* "report" */, FnArg: 2, FzMsg: ts + 1838 /* "STMT EREPORT" */}, // 3 - {FzSub: ts + 1851 /* "destroy" */, FnArg: 0, FzMsg: ts + 488 /* "" */}, // 4 - {FzSub: uintptr(0)}, + { + FzSub: ts + 1807, /* "sql" */ + FnArg: 1, + FzMsg: ts + 1811 /* "TABLE" */}, // 0 + { + FzSub: ts + 1817, /* "analyze" */ + FnArg: 0, + FzMsg: ts + 488 /* "" */}, // 1 + { + FzSub: ts + 1825, /* "count" */ + FnArg: 0, + FzMsg: ts + 488 /* "" */}, // 2 + { + FzSub: ts + 1831, /* "report" */ + FnArg: 2, + FzMsg: ts + 1838 /* "STMT EREPORT" */}, // 3 + { + FzSub: ts + 1851, /* "destroy" */ + FnArg: 0, + FzMsg: ts + 488 /* "" */}, // 4 + {}, } // var iSub int32 at bp+144, 4 @@ -11531,9 +11573,11 @@ func TestExpert_Init(tls *libc.TLS, interp uintptr) int32 { /* test_expert.c:202 FzCmd uintptr FxProc uintptr }{ - {FzCmd: ts + 1943 /* "sqlite3_expert_n..." */, FxProc: *(*uintptr)(unsafe.Pointer(&struct { - f func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32 - }{test_sqlite3_expert_new}))}, + { + FzCmd: ts + 1943, /* "sqlite3_expert_n..." */ + FxProc: *(*uintptr)(unsafe.Pointer(&struct { + f func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32 + }{test_sqlite3_expert_new}))}, } var i int32 @@ -11661,10 +11705,18 @@ func f5tResultToErrorCode(tls *libc.TLS, zRes uintptr) int32 { /* fts5_tcl.c:67: defer tls.Free(64) *(*[4]ErrorCode)(unsafe.Pointer(bp /* aErr */)) = [4]ErrorCode{ - {Frc: 101, FzError: ts + 1962 /* "SQLITE_DONE" */}, - {Frc: 1, FzError: ts + 1974 /* "SQLITE_ERROR" */}, - {Frc: 0, FzError: ts + 1987 /* "SQLITE_OK" */}, - {Frc: 0, FzError: ts + 488 /* "" */}, + { + Frc: 101, + FzError: ts + 1962 /* "SQLITE_DONE" */}, + { + Frc: 1, + FzError: ts + 1974 /* "SQLITE_ERROR" */}, + { + Frc: 0, + FzError: ts + 1987 /* "SQLITE_OK" */}, + { + Frc: 0, + FzError: ts + 488 /* "" */}, } var i int32 @@ -11827,25 +11879,79 @@ func xF5tApi(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv defer tls.Free(684) *(*[19]Sub)(unsafe.Pointer(bp + 32 /* aSub */)) = [19]Sub{ - {FzName: ts + 2045 /* "xColumnCount" */, FnArg: 0, FzMsg: ts + 488 /* "" */}, // 0 - {FzName: ts + 2058 /* "xRowCount" */, FnArg: 0, FzMsg: ts + 488 /* "" */}, // 1 - {FzName: ts + 2068 /* "xColumnTotalSize" */, FnArg: 1, FzMsg: ts + 2085 /* "COL" */}, // 2 - {FzName: ts + 2089 /* "xTokenize" */, FnArg: 2, FzMsg: ts + 2099 /* "TEXT SCRIPT" */}, // 3 - {FzName: ts + 2111 /* "xPhraseCount" */, FnArg: 0, FzMsg: ts + 488 /* "" */}, // 4 - {FzName: ts + 2124 /* "xPhraseSize" */, FnArg: 1, FzMsg: ts + 2136 /* "PHRASE" */}, // 5 - {FzName: ts + 2143 /* "xInstCount" */, FnArg: 0, FzMsg: ts + 488 /* "" */}, // 6 - {FzName: ts + 2154 /* "xInst" */, FnArg: 1, FzMsg: ts + 2160 /* "IDX" */}, // 7 - {FzName: ts + 2164 /* "xRowid" */, FnArg: 0, FzMsg: ts + 488 /* "" */}, // 8 - {FzName: ts + 2171 /* "xColumnText" */, FnArg: 1, FzMsg: ts + 2085 /* "COL" */}, // 9 - {FzName: ts + 2183 /* "xColumnSize" */, FnArg: 1, FzMsg: ts + 2085 /* "COL" */}, // 10 - {FzName: ts + 2195 /* "xQueryPhrase" */, FnArg: 2, FzMsg: ts + 2208 /* "PHRASE SCRIPT" */}, // 11 - {FzName: ts + 2222 /* "xSetAuxdata" */, FnArg: 1, FzMsg: ts + 2234 /* "VALUE" */}, // 12 - {FzName: ts + 2240 /* "xGetAuxdata" */, FnArg: 1, FzMsg: ts + 2252 /* "CLEAR" */}, // 13 - {FzName: ts + 2258 /* "xSetAuxdataInt" */, FnArg: 1, FzMsg: ts + 2273 /* "INTEGER" */}, // 14 - {FzName: ts + 2281 /* "xGetAuxdataInt" */, FnArg: 1, FzMsg: ts + 2252 /* "CLEAR" */}, // 15 - {FzName: ts + 2296 /* "xPhraseForeach" */, FnArg: 4, FzMsg: ts + 2311 /* "IPHRASE COLVAR O..." */}, // 16 - {FzName: ts + 2340 /* "xPhraseColumnFor..." */, FnArg: 3, FzMsg: ts + 2361 /* "IPHRASE COLVAR S..." */}, // 17 - {FzName: uintptr(0), FnArg: 0, FzMsg: uintptr(0)}, + { + FzName: ts + 2045, /* "xColumnCount" */ + FnArg: 0, + FzMsg: ts + 488 /* "" */}, // 0 + { + FzName: ts + 2058, /* "xRowCount" */ + FnArg: 0, + FzMsg: ts + 488 /* "" */}, // 1 + { + FzName: ts + 2068, /* "xColumnTotalSize" */ + FnArg: 1, + FzMsg: ts + 2085 /* "COL" */}, // 2 + { + FzName: ts + 2089, /* "xTokenize" */ + FnArg: 2, + FzMsg: ts + 2099 /* "TEXT SCRIPT" */}, // 3 + { + FzName: ts + 2111, /* "xPhraseCount" */ + FnArg: 0, + FzMsg: ts + 488 /* "" */}, // 4 + { + FzName: ts + 2124, /* "xPhraseSize" */ + FnArg: 1, + FzMsg: ts + 2136 /* "PHRASE" */}, // 5 + { + FzName: ts + 2143, /* "xInstCount" */ + FnArg: 0, + FzMsg: ts + 488 /* "" */}, // 6 + { + FzName: ts + 2154, /* "xInst" */ + FnArg: 1, + FzMsg: ts + 2160 /* "IDX" */}, // 7 + { + FzName: ts + 2164, /* "xRowid" */ + FnArg: 0, + FzMsg: ts + 488 /* "" */}, // 8 + { + FzName: ts + 2171, /* "xColumnText" */ + FnArg: 1, + FzMsg: ts + 2085 /* "COL" */}, // 9 + { + FzName: ts + 2183, /* "xColumnSize" */ + FnArg: 1, + FzMsg: ts + 2085 /* "COL" */}, // 10 + { + FzName: ts + 2195, /* "xQueryPhrase" */ + FnArg: 2, + FzMsg: ts + 2208 /* "PHRASE SCRIPT" */}, // 11 + { + FzName: ts + 2222, /* "xSetAuxdata" */ + FnArg: 1, + FzMsg: ts + 2234 /* "VALUE" */}, // 12 + { + FzName: ts + 2240, /* "xGetAuxdata" */ + FnArg: 1, + FzMsg: ts + 2252 /* "CLEAR" */}, // 13 + { + FzName: ts + 2258, /* "xSetAuxdataInt" */ + FnArg: 1, + FzMsg: ts + 2273 /* "INTEGER" */}, // 14 + { + FzName: ts + 2281, /* "xGetAuxdataInt" */ + FnArg: 1, + FzMsg: ts + 2252 /* "CLEAR" */}, // 15 + { + FzName: ts + 2296, /* "xPhraseForeach" */ + FnArg: 4, + FzMsg: ts + 2311 /* "IPHRASE COLVAR O..." */}, // 16 + { + FzName: ts + 2340, /* "xPhraseColumnFor..." */ + FnArg: 3, + FzMsg: ts + 2361 /* "IPHRASE COLVAR S..." */}, // 17 + {}, } var rc int32 *(*int32)(unsafe.Pointer(bp + 488 /* iSub */)) = 0 @@ -12885,14 +12991,38 @@ var aCmd = [8]struct { FbTokenizeCtx int32 _ [4]byte }{ - {FzName: ts + 2782 /* "sqlite3_fts5_cre..." */, FxProc: 0, FbTokenizeCtx: 1}, - {FzName: ts + 2812 /* "sqlite3_fts5_tok..." */, FxProc: 0, FbTokenizeCtx: 1}, - {FzName: ts + 2831 /* "sqlite3_fts5_tok..." */, FxProc: 0, FbTokenizeCtx: 0}, - {FzName: ts + 2853 /* "sqlite3_fts5_cre..." */, FxProc: 0, FbTokenizeCtx: 0}, - {FzName: ts + 2882 /* "sqlite3_fts5_may..." */, FxProc: 0, FbTokenizeCtx: 0}, - {FzName: ts + 2910 /* "sqlite3_fts5_tok..." */, FxProc: 0, FbTokenizeCtx: 0}, - {FzName: ts + 2934 /* "sqlite3_fts5_reg..." */, FxProc: 0, FbTokenizeCtx: 0}, - {FzName: ts + 2966 /* "sqlite3_fts5_reg..." */, FxProc: 0, FbTokenizeCtx: 0}, + { + FzName: ts + 2782, /* "sqlite3_fts5_cre..." */ + FxProc: 0, + FbTokenizeCtx: 1}, + { + FzName: ts + 2812, /* "sqlite3_fts5_tok..." */ + FxProc: 0, + FbTokenizeCtx: 1}, + { + FzName: ts + 2831, /* "sqlite3_fts5_tok..." */ + FxProc: 0, + FbTokenizeCtx: 0}, + { + FzName: ts + 2853, /* "sqlite3_fts5_cre..." */ + FxProc: 0, + FbTokenizeCtx: 0}, + { + FzName: ts + 2882, /* "sqlite3_fts5_may..." */ + FxProc: 0, + FbTokenizeCtx: 0}, + { + FzName: ts + 2910, /* "sqlite3_fts5_tok..." */ + FxProc: 0, + FbTokenizeCtx: 0}, + { + FzName: ts + 2934, /* "sqlite3_fts5_reg..." */ + FxProc: 0, + FbTokenizeCtx: 0}, + { + FzName: ts + 2966, /* "sqlite3_fts5_reg..." */ + FxProc: 0, + FbTokenizeCtx: 0}, } /* fts5_tcl.c:1124:5 */ type Fts5MatchinfoCtx1 = struct { @@ -13771,30 +13901,54 @@ func sqlite3Fts5TestRegisterTok(tls *libc.TLS, db uintptr, pApi uintptr) int32 { return rc } -var fts5tok_module = sqlite3_module{FiVersion: 0, FxCreate: // iVersion -0, FxConnect:// xCreate -0, FxBestIndex:// xConnect -0, FxDisconnect:// xBestIndex -0, FxDestroy:// xDisconnect -0, FxOpen:// xDestroy -0, FxClose:// xOpen -0, FxFilter:// xClose -0, FxNext:// xFilter -0, FxEof:// xNext -0, FxColumn:// xEof -0, FxRowid:// xColumn -0, FxUpdate:// xRowid -uintptr(0), FxBegin:// xUpdate -uintptr(0), FxSync:// xBegin -uintptr(0), FxCommit:// xSync -uintptr(0), FxRollback:// xCommit -uintptr(0), FxFindFunction:// xRollback -uintptr(0), FxRename:// xFindFunction -uintptr(0), FxSavepoint:// xRename -uintptr(0), FxRelease:// xSavepoint -uintptr(0), FxRollbackTo:// xRelease -uintptr(0), FxShadowName:// xRollbackTo -uintptr(0), // xShadowName +var fts5tok_module = sqlite3_module{ + FiVersion: 0, + FxCreate:// iVersion + 0, + FxConnect:// xCreate + 0, + FxBestIndex:// xConnect + 0, + FxDisconnect:// xBestIndex + 0, + FxDestroy:// xDisconnect + 0, + FxOpen:// xDestroy + 0, + FxClose:// xOpen + 0, + FxFilter:// xClose + 0, + FxNext:// xFilter + 0, + FxEof:// xNext + 0, + FxColumn:// xEof + 0, + FxRowid:// xColumn + 0, + FxUpdate:// xRowid + uintptr(0), + FxBegin:// xUpdate + uintptr(0), + FxSync:// xBegin + uintptr(0), + FxCommit:// xSync + uintptr(0), + FxRollback:// xCommit + uintptr(0), + FxFindFunction:// xRollback + uintptr(0), + FxRename:// xFindFunction + uintptr(0), + FxSavepoint:// xRename + uintptr(0), + FxRelease:// xSavepoint + uintptr(0), + FxRollbackTo:// xRelease + uintptr(0), + FxShadowName:// xRollbackTo + uintptr(0), // xShadowName } /* fts5_test_tok.c:451:31 */ // CAPI3REF: Loadable Extension Thunk @@ -15966,30 +16120,54 @@ func amatchUpdate(tls *libc.TLS, pVTab uintptr, argc int32, argv uintptr, pRowid } // A virtual table module that implements the "approximate_match". -var amatchModule = sqlite3_module{FiVersion: 0, FxCreate: // iVersion -0, FxConnect:// xCreate -0, FxBestIndex:// xConnect -0, FxDisconnect:// xBestIndex -0, FxDestroy:// xDisconnect -0, FxOpen:// xDestroy -0, FxClose:// xOpen - open a cursor -0, FxFilter:// xClose - close a cursor -0, FxNext:// xFilter - configure scan constraints -0, FxEof:// xNext - advance a cursor -0, FxColumn:// xEof - check for end of scan -0, FxRowid:// xColumn - read data -0, FxUpdate:// xRowid - read data -0, FxBegin:// xUpdate -uintptr(0), FxSync:// xBegin -uintptr(0), FxCommit:// xSync -uintptr(0), FxRollback:// xCommit -uintptr(0), FxFindFunction:// xRollback -uintptr(0), FxRename:// xFindMethod -uintptr(0), FxSavepoint:// xRename -uintptr(0), FxRelease:// xSavepoint -uintptr(0), FxRollbackTo:// xRelease -uintptr(0), FxShadowName:// xRollbackTo -uintptr(0), // xShadowName +var amatchModule = sqlite3_module{ + FiVersion: 0, + FxCreate:// iVersion + 0, + FxConnect:// xCreate + 0, + FxBestIndex:// xConnect + 0, + FxDisconnect:// xBestIndex + 0, + FxDestroy:// xDisconnect + 0, + FxOpen:// xDestroy + 0, + FxClose:// xOpen - open a cursor + 0, + FxFilter:// xClose - close a cursor + 0, + FxNext:// xFilter - configure scan constraints + 0, + FxEof:// xNext - advance a cursor + 0, + FxColumn:// xEof - check for end of scan + 0, + FxRowid:// xColumn - read data + 0, + FxUpdate:// xRowid - read data + 0, + FxBegin:// xUpdate + uintptr(0), + FxSync:// xBegin + uintptr(0), + FxCommit:// xSync + uintptr(0), + FxRollback:// xCommit + uintptr(0), + FxFindFunction:// xRollback + uintptr(0), + FxRename:// xFindMethod + uintptr(0), + FxSavepoint:// xRename + uintptr(0), + FxRelease:// xSavepoint + uintptr(0), + FxRollbackTo:// xRelease + uintptr(0), + FxShadowName:// xRollbackTo + uintptr(0), // xShadowName } /* amatch.c:1454:23 */ // Register the amatch virtual table @@ -16264,26 +16442,46 @@ __3: // This following structure defines all the methods for the // carray virtual table. -var carrayModule = sqlite3_module{FiVersion: 0, FxCreate: // iVersion -uintptr(0), FxConnect:// xCreate -0, FxBestIndex:// xConnect -0, FxDisconnect:// xBestIndex -0, FxDestroy:// xDisconnect -uintptr(0), FxOpen:// xDestroy -0, FxClose:// xOpen - open a cursor -0, FxFilter:// xClose - close a cursor -0, FxNext:// xFilter - configure scan constraints -0, FxEof:// xNext - advance a cursor -0, FxColumn:// xEof - check for end of scan -0, FxRowid:// xColumn - read data -0, FxUpdate:// xRowid - read data -uintptr(0), FxBegin:// xUpdate -uintptr(0), FxSync:// xBegin -uintptr(0), FxCommit:// xSync -uintptr(0), FxRollback:// xCommit -uintptr(0), FxFindFunction:// xRollback -uintptr(0), FxRename:// xFindMethod -uintptr(0), // xRename +var carrayModule = sqlite3_module{ + FiVersion: 0, + FxCreate:// iVersion + uintptr(0), + FxConnect:// xCreate + 0, + FxBestIndex:// xConnect + 0, + FxDisconnect:// xBestIndex + 0, + FxDestroy:// xDisconnect + uintptr(0), + FxOpen:// xDestroy + 0, + FxClose:// xOpen - open a cursor + 0, + FxFilter:// xClose - close a cursor + 0, + FxNext:// xFilter - configure scan constraints + 0, + FxEof:// xNext - advance a cursor + 0, + FxColumn:// xEof - check for end of scan + 0, + FxRowid:// xColumn - read data + 0, + FxUpdate:// xRowid - read data + uintptr(0), + FxBegin:// xUpdate + uintptr(0), + FxSync:// xBegin + uintptr(0), + FxCommit:// xSync + uintptr(0), + FxRollback:// xCommit + uintptr(0), + FxFindFunction:// xRollback + uintptr(0), + FxRename:// xFindMethod + uintptr(0), // xRename } /* carray.c:333:23 */ // For testing purpose in the TCL test harness, we need a method for @@ -17162,30 +17360,54 @@ __3: } // A virtual table module that implements the "transitive_closure". -var closureModule = sqlite3_module{FiVersion: 0, FxCreate: // iVersion -0, FxConnect:// xCreate -0, FxBestIndex:// xConnect -0, FxDisconnect:// xBestIndex -0, FxDestroy:// xDisconnect -0, FxOpen:// xDestroy -0, FxClose:// xOpen - open a cursor -0, FxFilter:// xClose - close a cursor -0, FxNext:// xFilter - configure scan constraints -0, FxEof:// xNext - advance a cursor -0, FxColumn:// xEof - check for end of scan -0, FxRowid:// xColumn - read data -0, FxUpdate:// xRowid - read data -uintptr(0), FxBegin:// xUpdate -uintptr(0), FxSync:// xBegin -uintptr(0), FxCommit:// xSync -uintptr(0), FxRollback:// xCommit -uintptr(0), FxFindFunction:// xRollback -uintptr(0), FxRename:// xFindMethod -uintptr(0), FxSavepoint:// xRename -uintptr(0), FxRelease:// xSavepoint -uintptr(0), FxRollbackTo:// xRelease -uintptr(0), FxShadowName:// xRollbackTo -uintptr(0), // xShadowName +var closureModule = sqlite3_module{ + FiVersion: 0, + FxCreate:// iVersion + 0, + FxConnect:// xCreate + 0, + FxBestIndex:// xConnect + 0, + FxDisconnect:// xBestIndex + 0, + FxDestroy:// xDisconnect + 0, + FxOpen:// xDestroy + 0, + FxClose:// xOpen - open a cursor + 0, + FxFilter:// xClose - close a cursor + 0, + FxNext:// xFilter - configure scan constraints + 0, + FxEof:// xNext - advance a cursor + 0, + FxColumn:// xEof - check for end of scan + 0, + FxRowid:// xColumn - read data + 0, + FxUpdate:// xRowid - read data + uintptr(0), + FxBegin:// xUpdate + uintptr(0), + FxSync:// xBegin + uintptr(0), + FxCommit:// xSync + uintptr(0), + FxRollback:// xCommit + uintptr(0), + FxFindFunction:// xRollback + uintptr(0), + FxRename:// xFindMethod + uintptr(0), + FxSavepoint:// xRename + uintptr(0), + FxRelease:// xSavepoint + uintptr(0), + FxRollbackTo:// xRelease + uintptr(0), + FxShadowName:// xRollbackTo + uintptr(0), // xShadowName } /* closure.c:918:23 */ // Register the closure virtual table @@ -18176,26 +18398,46 @@ func csvtabBestIndex(tls *libc.TLS, tab uintptr, pIdxInfo uintptr) int32 { /* cs return 0 } -var CsvModule = sqlite3_module{FiVersion: 0, FxCreate: // iVersion -0, FxConnect:// xCreate -0, FxBestIndex:// xConnect -0, FxDisconnect:// xBestIndex -0, FxDestroy:// xDisconnect -0, FxOpen:// xDestroy -0, FxClose:// xOpen - open a cursor -0, FxFilter:// xClose - close a cursor -0, FxNext:// xFilter - configure scan constraints -0, FxEof:// xNext - advance a cursor -0, FxColumn:// xEof - check for end of scan -0, FxRowid:// xColumn - read data -0, FxUpdate:// xRowid - read data -uintptr(0), FxBegin:// xUpdate -uintptr(0), FxSync:// xBegin -uintptr(0), FxCommit:// xSync -uintptr(0), FxRollback:// xCommit -uintptr(0), FxFindFunction:// xRollback -uintptr(0), FxRename:// xFindMethod -uintptr(0), // xRename +var CsvModule = sqlite3_module{ + FiVersion: 0, + FxCreate:// iVersion + 0, + FxConnect:// xCreate + 0, + FxBestIndex:// xConnect + 0, + FxDisconnect:// xBestIndex + 0, + FxDestroy:// xDisconnect + 0, + FxOpen:// xDestroy + 0, + FxClose:// xOpen - open a cursor + 0, + FxFilter:// xClose - close a cursor + 0, + FxNext:// xFilter - configure scan constraints + 0, + FxEof:// xNext - advance a cursor + 0, + FxColumn:// xEof - check for end of scan + 0, + FxRowid:// xColumn - read data + 0, + FxUpdate:// xRowid - read data + uintptr(0), + FxBegin:// xUpdate + uintptr(0), + FxSync:// xBegin + uintptr(0), + FxCommit:// xSync + uintptr(0), + FxRollback:// xCommit + uintptr(0), + FxFindFunction:// xRollback + uintptr(0), + FxRename:// xFindMethod + uintptr(0), // xRename } /* csv.c:872:23 */ // For virtual table testing, make a version of the CSV virtual table @@ -18205,26 +18447,46 @@ func csvtabUpdate(tls *libc.TLS, p uintptr, n int32, v uintptr, x uintptr) int32 return 8 } -var CsvModuleFauxWrite = sqlite3_module{FiVersion: 0, FxCreate: // iVersion -0, FxConnect:// xCreate -0, FxBestIndex:// xConnect -0, FxDisconnect:// xBestIndex -0, FxDestroy:// xDisconnect -0, FxOpen:// xDestroy -0, FxClose:// xOpen - open a cursor -0, FxFilter:// xClose - close a cursor -0, FxNext:// xFilter - configure scan constraints -0, FxEof:// xNext - advance a cursor -0, FxColumn:// xEof - check for end of scan -0, FxRowid:// xColumn - read data -0, FxUpdate:// xRowid - read data -0, FxBegin:// xUpdate -uintptr(0), FxSync:// xBegin -uintptr(0), FxCommit:// xSync -uintptr(0), FxRollback:// xCommit -uintptr(0), FxFindFunction:// xRollback -uintptr(0), FxRename:// xFindMethod -uintptr(0), // xRename +var CsvModuleFauxWrite = sqlite3_module{ + FiVersion: 0, + FxCreate:// iVersion + 0, + FxConnect:// xCreate + 0, + FxBestIndex:// xConnect + 0, + FxDisconnect:// xBestIndex + 0, + FxDestroy:// xDisconnect + 0, + FxOpen:// xDestroy + 0, + FxClose:// xOpen - open a cursor + 0, + FxFilter:// xClose - close a cursor + 0, + FxNext:// xFilter - configure scan constraints + 0, + FxEof:// xNext - advance a cursor + 0, + FxColumn:// xEof - check for end of scan + 0, + FxRowid:// xColumn - read data + 0, + FxUpdate:// xRowid - read data + 0, + FxBegin:// xUpdate + uintptr(0), + FxSync:// xBegin + uintptr(0), + FxCommit:// xSync + uintptr(0), + FxRollback:// xCommit + uintptr(0), + FxFindFunction:// xRollback + uintptr(0), + FxRename:// xFindMethod + uintptr(0), // xRename } /* csv.c:904:23 */ // This routine is called when the extension is loaded. The new @@ -19081,11 +19343,26 @@ var aFunc = [5]struct { _ [4]byte FxFunc uintptr }{ - {FzFuncName: ts + 4529 /* "decimal" */, FnArg: 1, FxFunc: 0}, - {FzFuncName: ts + 4537 /* "decimal_cmp" */, FnArg: 2, FxFunc: 0}, - {FzFuncName: ts + 4549 /* "decimal_add" */, FnArg: 2, FxFunc: 0}, - {FzFuncName: ts + 4561 /* "decimal_sub" */, FnArg: 2, FxFunc: 0}, - {FzFuncName: ts + 4573 /* "decimal_mul" */, FnArg: 2, FxFunc: 0}, + { + FzFuncName: ts + 4529, /* "decimal" */ + FnArg: 1, + FxFunc: 0}, + { + FzFuncName: ts + 4537, /* "decimal_cmp" */ + FnArg: 2, + FxFunc: 0}, + { + FzFuncName: ts + 4549, /* "decimal_add" */ + FnArg: 2, + FxFunc: 0}, + { + FzFuncName: ts + 4561, /* "decimal_sub" */ + FnArg: 2, + FxFunc: 0}, + { + FzFuncName: ts + 4573, /* "decimal_mul" */ + FnArg: 2, + FxFunc: 0}, } /* decimal.c:606:5 */ // Structure used to accumulate the output @@ -19410,30 +19687,54 @@ func explainBestIndex(tls *libc.TLS, tab uintptr, pIdxInfo uintptr) int32 { /* e // This following structure defines all the methods for the // explain virtual table. -var explainModule = sqlite3_module{FiVersion: 0, FxCreate: // iVersion -uintptr(0), FxConnect:// xCreate -0, FxBestIndex:// xConnect -0, FxDisconnect:// xBestIndex -0, FxDestroy:// xDisconnect -uintptr(0), FxOpen:// xDestroy -0, FxClose:// xOpen - open a cursor -0, FxFilter:// xClose - close a cursor -0, FxNext:// xFilter - configure scan constraints -0, FxEof:// xNext - advance a cursor -0, FxColumn:// xEof - check for end of scan -0, FxRowid:// xColumn - read data -0, FxUpdate:// xRowid - read data -uintptr(0), FxBegin:// xUpdate -uintptr(0), FxSync:// xBegin -uintptr(0), FxCommit:// xSync -uintptr(0), FxRollback:// xCommit -uintptr(0), FxFindFunction:// xRollback -uintptr(0), FxRename:// xFindMethod -uintptr(0), FxSavepoint:// xRename -uintptr(0), FxRelease:// xSavepoint -uintptr(0), FxRollbackTo:// xRelease -uintptr(0), FxShadowName:// xRollbackTo -uintptr(0), // xShadowName +var explainModule = sqlite3_module{ + FiVersion: 0, + FxCreate:// iVersion + uintptr(0), + FxConnect:// xCreate + 0, + FxBestIndex:// xConnect + 0, + FxDisconnect:// xBestIndex + 0, + FxDestroy:// xDisconnect + uintptr(0), + FxOpen:// xDestroy + 0, + FxClose:// xOpen - open a cursor + 0, + FxFilter:// xClose - close a cursor + 0, + FxNext:// xFilter - configure scan constraints + 0, + FxEof:// xNext - advance a cursor + 0, + FxColumn:// xEof - check for end of scan + 0, + FxRowid:// xColumn - read data + 0, + FxUpdate:// xRowid - read data + uintptr(0), + FxBegin:// xUpdate + uintptr(0), + FxSync:// xBegin + uintptr(0), + FxCommit:// xSync + uintptr(0), + FxRollback:// xCommit + uintptr(0), + FxFindFunction:// xRollback + uintptr(0), + FxRename:// xFindMethod + uintptr(0), + FxSavepoint:// xRename + uintptr(0), + FxRelease:// xSavepoint + uintptr(0), + FxRollbackTo:// xRelease + uintptr(0), + FxShadowName:// xRollbackTo + uintptr(0), // xShadowName } /* explain.c:271:23 */ func sqlite3ExplainVtabInit(tls *libc.TLS, db uintptr) int32 { /* explain.c:300:5: */ @@ -21252,30 +21553,54 @@ func fsdirRegister(tls *libc.TLS, db uintptr) int32 { /* fileio.c:938:12: */ return rc } -var fsdirModule1 = sqlite3_module{FiVersion: 0, FxCreate: // iVersion -uintptr(0), FxConnect:// xCreate -0, FxBestIndex:// xConnect -0, FxDisconnect:// xBestIndex -0, FxDestroy:// xDisconnect -uintptr(0), FxOpen:// xDestroy -0, FxClose:// xOpen - open a cursor -0, FxFilter:// xClose - close a cursor -0, FxNext:// xFilter - configure scan constraints -0, FxEof:// xNext - advance a cursor -0, FxColumn:// xEof - check for end of scan -0, FxRowid:// xColumn - read data -0, FxUpdate:// xRowid - read data -uintptr(0), FxBegin:// xUpdate -uintptr(0), FxSync:// xBegin -uintptr(0), FxCommit:// xSync -uintptr(0), FxRollback:// xCommit -uintptr(0), FxFindFunction:// xRollback -uintptr(0), FxRename:// xFindMethod -uintptr(0), FxSavepoint:// xRename -uintptr(0), FxRelease:// xSavepoint -uintptr(0), FxRollbackTo:// xRelease -uintptr(0), FxShadowName:// xRollbackTo -uintptr(0), // xShadowName +var fsdirModule1 = sqlite3_module{ + FiVersion: 0, + FxCreate:// iVersion + uintptr(0), + FxConnect:// xCreate + 0, + FxBestIndex:// xConnect + 0, + FxDisconnect:// xBestIndex + 0, + FxDestroy:// xDisconnect + uintptr(0), + FxOpen:// xDestroy + 0, + FxClose:// xOpen - open a cursor + 0, + FxFilter:// xClose - close a cursor + 0, + FxNext:// xFilter - configure scan constraints + 0, + FxEof:// xNext - advance a cursor + 0, + FxColumn:// xEof - check for end of scan + 0, + FxRowid:// xColumn - read data + 0, + FxUpdate:// xRowid - read data + uintptr(0), + FxBegin:// xUpdate + uintptr(0), + FxSync:// xBegin + uintptr(0), + FxCommit:// xSync + uintptr(0), + FxRollback:// xCommit + uintptr(0), + FxFindFunction:// xRollback + uintptr(0), + FxRename:// xFindMethod + uintptr(0), + FxSavepoint:// xRename + uintptr(0), + FxRelease:// xSavepoint + uintptr(0), + FxRollbackTo:// xRelease + uintptr(0), + FxShadowName:// xRollbackTo + uintptr(0), // xShadowName } /* fileio.c:939:25 */ func sqlite3_fileio_init(tls *libc.TLS, db uintptr, pzErrMsg uintptr, pApi uintptr) int32 { /* fileio.c:976:5: */ @@ -22213,21 +22538,41 @@ __3: } // A virtual table module that implements the "fuzzer". -var fuzzerModule = sqlite3_module{FiVersion: 0, FxCreate: // iVersion -0, FxConnect: 0, FxBestIndex: 0, FxDisconnect: 0, FxDestroy: 0, FxOpen: 0, FxClose: // xOpen - open a cursor -0, FxFilter:// xClose - close a cursor -0, FxNext:// xFilter - configure scan constraints -0, FxEof:// xNext - advance a cursor -0, FxColumn:// xEof - check for end of scan -0, FxRowid:// xColumn - read data -0, FxUpdate:// xRowid - read data -uintptr(0), FxBegin:// xUpdate -uintptr(0), FxSync:// xBegin -uintptr(0), FxCommit:// xSync -uintptr(0), FxRollback:// xCommit -uintptr(0), FxFindFunction:// xRollback -uintptr(0), FxRename:// xFindMethod -uintptr(0), // xRename +var fuzzerModule = sqlite3_module{ + FiVersion: 0, + FxCreate:// iVersion + 0, + FxConnect: 0, + FxBestIndex: 0, + FxDisconnect: 0, + FxDestroy: 0, + FxOpen: 0, + FxClose:// xOpen - open a cursor + 0, + FxFilter:// xClose - close a cursor + 0, + FxNext:// xFilter - configure scan constraints + 0, + FxEof:// xNext - advance a cursor + 0, + FxColumn:// xEof - check for end of scan + 0, + FxRowid:// xColumn - read data + 0, + FxUpdate:// xRowid - read data + uintptr(0), + FxBegin:// xUpdate + uintptr(0), + FxSync:// xBegin + uintptr(0), + FxCommit:// xSync + uintptr(0), + FxRollback:// xCommit + uintptr(0), + FxFindFunction:// xRollback + uintptr(0), + FxRename:// xFindMethod + uintptr(0), // xRename } /* fuzzer.c:1147:23 */ func sqlite3_fuzzer_init(tls *libc.TLS, db uintptr, pzErrMsg uintptr, pApi uintptr) int32 { /* fuzzer.c:1176:5: */ @@ -22423,12 +22768,36 @@ var aFunc1 = [6]struct { FiAux int32 FxFunc uintptr }{ - {FzFName: ts + 5198 /* "ieee754" */, FnArg: 1, FiAux: 0, FxFunc: 0}, - {FzFName: ts + 5198 /* "ieee754" */, FnArg: 2, FiAux: 0, FxFunc: 0}, - {FzFName: ts + 5206 /* "ieee754_mantissa" */, FnArg: 1, FiAux: 1, FxFunc: 0}, - {FzFName: ts + 5223 /* "ieee754_exponent" */, FnArg: 1, FiAux: 2, FxFunc: 0}, - {FzFName: ts + 5240 /* "ieee754_to_blob" */, FnArg: 1, FiAux: 0, FxFunc: 0}, - {FzFName: ts + 5256 /* "ieee754_from_blo..." */, FnArg: 1, FiAux: 0, FxFunc: 0}, + { + FzFName: ts + 5198, /* "ieee754" */ + FnArg: 1, + FiAux: 0, + FxFunc: 0}, + { + FzFName: ts + 5198, /* "ieee754" */ + FnArg: 2, + FiAux: 0, + FxFunc: 0}, + { + FzFName: ts + 5206, /* "ieee754_mantissa" */ + FnArg: 1, + FiAux: 1, + FxFunc: 0}, + { + FzFName: ts + 5223, /* "ieee754_exponent" */ + FnArg: 1, + FiAux: 2, + FxFunc: 0}, + { + FzFName: ts + 5240, /* "ieee754_to_blob" */ + FnArg: 1, + FiAux: 0, + FxFunc: 0}, + { + FzFName: ts + 5256, /* "ieee754_from_blo..." */ + FnArg: 1, + FiAux: 0, + FxFunc: 0}, } /* ieee754.c:261:5 */ // @@ -23917,31 +24286,55 @@ __3: // This following structure defines all the methods for the // virtual table. -var prefixesModule = sqlite3_module{FiVersion: -/* iVersion */ 0, FxCreate: -/* xCreate */ uintptr(0), FxConnect: -/* xConnect */ 0, FxBestIndex: -/* xBestIndex */ 0, FxDisconnect: -/* xDisconnect */ 0, FxDestroy: -/* xDestroy */ uintptr(0), FxOpen: -/* xOpen */ 0, FxClose: -/* xClose */ 0, FxFilter: -/* xFilter */ 0, FxNext: -/* xNext */ 0, FxEof: -/* xEof */ 0, FxColumn: -/* xColumn */ 0, FxRowid: -/* xRowid */ 0, FxUpdate: -/* xUpdate */ uintptr(0), FxBegin: -/* xBegin */ uintptr(0), FxSync: -/* xSync */ uintptr(0), FxCommit: -/* xCommit */ uintptr(0), FxRollback: -/* xRollback */ uintptr(0), FxFindFunction: -/* xFindMethod */ uintptr(0), FxRename: -/* xRename */ uintptr(0), FxSavepoint: -/* xSavepoint */ uintptr(0), FxRelease: -/* xRelease */ uintptr(0), FxRollbackTo: -/* xRollbackTo */ uintptr(0), FxShadowName: -/* xShadowName */ uintptr(0), +var prefixesModule = sqlite3_module{ + FiVersion: + /* iVersion */ 0, + FxCreate: + /* xCreate */ uintptr(0), + FxConnect: + /* xConnect */ 0, + FxBestIndex: + /* xBestIndex */ 0, + FxDisconnect: + /* xDisconnect */ 0, + FxDestroy: + /* xDestroy */ uintptr(0), + FxOpen: + /* xOpen */ 0, + FxClose: + /* xClose */ 0, + FxFilter: + /* xFilter */ 0, + FxNext: + /* xNext */ 0, + FxEof: + /* xEof */ 0, + FxColumn: + /* xColumn */ 0, + FxRowid: + /* xRowid */ 0, + FxUpdate: + /* xUpdate */ uintptr(0), + FxBegin: + /* xBegin */ uintptr(0), + FxSync: + /* xSync */ uintptr(0), + FxCommit: + /* xCommit */ uintptr(0), + FxRollback: + /* xRollback */ uintptr(0), + FxFindFunction: + /* xFindMethod */ uintptr(0), + FxRename: + /* xRename */ uintptr(0), + FxSavepoint: + /* xSavepoint */ uintptr(0), + FxRelease: + /* xRelease */ uintptr(0), + FxRollbackTo: + /* xRollbackTo */ uintptr(0), + FxShadowName: + /* xShadowName */ uintptr(0), } /* prefixes.c:227:23 */ // This is a copy of the SQLITE_SKIP_UTF8(zIn) macro in sqliteInt.h. @@ -25702,26 +26095,46 @@ __3: // This following structure defines all the methods for the // generate_series virtual table. -var seriesModule = sqlite3_module{FiVersion: 0, FxCreate: // iVersion -uintptr(0), FxConnect:// xCreate -0, FxBestIndex:// xConnect -0, FxDisconnect:// xBestIndex -0, FxDestroy:// xDisconnect -uintptr(0), FxOpen:// xDestroy -0, FxClose:// xOpen - open a cursor -0, FxFilter:// xClose - close a cursor -0, FxNext:// xFilter - configure scan constraints -0, FxEof:// xNext - advance a cursor -0, FxColumn:// xEof - check for end of scan -0, FxRowid:// xColumn - read data -0, FxUpdate:// xRowid - read data -uintptr(0), FxBegin:// xUpdate -uintptr(0), FxSync:// xBegin -uintptr(0), FxCommit:// xSync -uintptr(0), FxRollback:// xCommit -uintptr(0), FxFindFunction:// xRollback -uintptr(0), FxRename:// xFindMethod -uintptr(0), // xRename +var seriesModule = sqlite3_module{ + FiVersion: 0, + FxCreate:// iVersion + uintptr(0), + FxConnect:// xCreate + 0, + FxBestIndex:// xConnect + 0, + FxDisconnect:// xBestIndex + 0, + FxDestroy:// xDisconnect + uintptr(0), + FxOpen:// xDestroy + 0, + FxClose:// xOpen - open a cursor + 0, + FxFilter:// xClose - close a cursor + 0, + FxNext:// xFilter - configure scan constraints + 0, + FxEof:// xNext - advance a cursor + 0, + FxColumn:// xEof - check for end of scan + 0, + FxRowid:// xColumn - read data + 0, + FxUpdate:// xRowid - read data + uintptr(0), + FxBegin:// xUpdate + uintptr(0), + FxSync:// xBegin + uintptr(0), + FxCommit:// xSync + uintptr(0), + FxRollback:// xCommit + uintptr(0), + FxFindFunction:// xRollback + uintptr(0), + FxRename:// xFindMethod + uintptr(0), // xRename } /* series.c:380:23 */ func sqlite3_series_init(tls *libc.TLS, db uintptr, pzErrMsg uintptr, pApi uintptr) int32 { /* series.c:408:5: */ @@ -26384,7 +26797,12 @@ type EditDist3Lang1 = struct { type EditDist3Lang = EditDist3Lang1 /* spellfix.c:553:30 */ // The default EditDist3Lang object, with default costs. -var editDist3Lang = EditDist3Lang{FiLang: 0, FiInsCost: 100, FiDelCost: 100, FiSubCost: 150, FpCost: uintptr(0)} /* spellfix.c:583:28 */ +var editDist3Lang = EditDist3Lang{ + FiLang: 0, + FiInsCost: 100, + FiDelCost: 100, + FiSubCost: 150, + FpCost: uintptr(0)} /* spellfix.c:583:28 */ // Clear or delete an instance of the object that records all edit-distance // weights. @@ -27248,395 +27666,2340 @@ type Transliteration = Transliteration1 /* spellfix.c:1294:32 */ // Table of translations from unicode characters into ASCII. var translit = [389]Transliteration{ - {FcFrom: uint16(0x00A0), FcTo0: uint8(0x20), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // to - {FcFrom: uint16(0x00B5), FcTo0: uint8(0x75), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // µ to u - {FcFrom: uint16(0x00C0), FcTo0: uint8(0x41), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // À to A - {FcFrom: uint16(0x00C1), FcTo0: uint8(0x41), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Á to A - {FcFrom: uint16(0x00C2), FcTo0: uint8(0x41), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, //  to A - {FcFrom: uint16(0x00C3), FcTo0: uint8(0x41), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // à to A - {FcFrom: uint16(0x00C4), FcTo0: uint8(0x41), FcTo1: uint8(0x65), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Ä to Ae - {FcFrom: uint16(0x00C5), FcTo0: uint8(0x41), FcTo1: uint8(0x61), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Å to Aa - {FcFrom: uint16(0x00C6), FcTo0: uint8(0x41), FcTo1: uint8(0x45), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Æ to AE - {FcFrom: uint16(0x00C7), FcTo0: uint8(0x43), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Ç to C - {FcFrom: uint16(0x00C8), FcTo0: uint8(0x45), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // È to E - {FcFrom: uint16(0x00C9), FcTo0: uint8(0x45), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // É to E - {FcFrom: uint16(0x00CA), FcTo0: uint8(0x45), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Ê to E - {FcFrom: uint16(0x00CB), FcTo0: uint8(0x45), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Ë to E - {FcFrom: uint16(0x00CC), FcTo0: uint8(0x49), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Ì to I - {FcFrom: uint16(0x00CD), FcTo0: uint8(0x49), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Í to I - {FcFrom: uint16(0x00CE), FcTo0: uint8(0x49), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Î to I - {FcFrom: uint16(0x00CF), FcTo0: uint8(0x49), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Ï to I - {FcFrom: uint16(0x00D0), FcTo0: uint8(0x44), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Ð to D - {FcFrom: uint16(0x00D1), FcTo0: uint8(0x4E), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Ñ to N - {FcFrom: uint16(0x00D2), FcTo0: uint8(0x4F), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Ò to O - {FcFrom: uint16(0x00D3), FcTo0: uint8(0x4F), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Ó to O - {FcFrom: uint16(0x00D4), FcTo0: uint8(0x4F), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Ô to O - {FcFrom: uint16(0x00D5), FcTo0: uint8(0x4F), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Õ to O - {FcFrom: uint16(0x00D6), FcTo0: uint8(0x4F), FcTo1: uint8(0x65), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Ö to Oe - {FcFrom: uint16(0x00D7), FcTo0: uint8(0x78), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // × to x - {FcFrom: uint16(0x00D8), FcTo0: uint8(0x4F), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Ø to O - {FcFrom: uint16(0x00D9), FcTo0: uint8(0x55), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Ù to U - {FcFrom: uint16(0x00DA), FcTo0: uint8(0x55), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Ú to U - {FcFrom: uint16(0x00DB), FcTo0: uint8(0x55), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Û to U - {FcFrom: uint16(0x00DC), FcTo0: uint8(0x55), FcTo1: uint8(0x65), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Ü to Ue - {FcFrom: uint16(0x00DD), FcTo0: uint8(0x59), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Ý to Y - {FcFrom: uint16(0x00DE), FcTo0: uint8(0x54), FcTo1: uint8(0x68), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Þ to Th - {FcFrom: uint16(0x00DF), FcTo0: uint8(0x73), FcTo1: uint8(0x73), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // ß to ss - {FcFrom: uint16(0x00E0), FcTo0: uint8(0x61), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // à to a - {FcFrom: uint16(0x00E1), FcTo0: uint8(0x61), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // á to a - {FcFrom: uint16(0x00E2), FcTo0: uint8(0x61), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // â to a - {FcFrom: uint16(0x00E3), FcTo0: uint8(0x61), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // ã to a - {FcFrom: uint16(0x00E4), FcTo0: uint8(0x61), FcTo1: uint8(0x65), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // ä to ae - {FcFrom: uint16(0x00E5), FcTo0: uint8(0x61), FcTo1: uint8(0x61), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // å to aa - {FcFrom: uint16(0x00E6), FcTo0: uint8(0x61), FcTo1: uint8(0x65), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // æ to ae - {FcFrom: uint16(0x00E7), FcTo0: uint8(0x63), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // ç to c - {FcFrom: uint16(0x00E8), FcTo0: uint8(0x65), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // è to e - {FcFrom: uint16(0x00E9), FcTo0: uint8(0x65), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // é to e - {FcFrom: uint16(0x00EA), FcTo0: uint8(0x65), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // ê to e - {FcFrom: uint16(0x00EB), FcTo0: uint8(0x65), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // ë to e - {FcFrom: uint16(0x00EC), FcTo0: uint8(0x69), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // ì to i - {FcFrom: uint16(0x00ED), FcTo0: uint8(0x69), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // í to i - {FcFrom: uint16(0x00EE), FcTo0: uint8(0x69), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // î to i - {FcFrom: uint16(0x00EF), FcTo0: uint8(0x69), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // ï to i - {FcFrom: uint16(0x00F0), FcTo0: uint8(0x64), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // ð to d - {FcFrom: uint16(0x00F1), FcTo0: uint8(0x6E), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // ñ to n - {FcFrom: uint16(0x00F2), FcTo0: uint8(0x6F), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // ò to o - {FcFrom: uint16(0x00F3), FcTo0: uint8(0x6F), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // ó to o - {FcFrom: uint16(0x00F4), FcTo0: uint8(0x6F), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // ô to o - {FcFrom: uint16(0x00F5), FcTo0: uint8(0x6F), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // õ to o - {FcFrom: uint16(0x00F6), FcTo0: uint8(0x6F), FcTo1: uint8(0x65), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // ö to oe - {FcFrom: uint16(0x00F7), FcTo0: uint8(0x3A), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // ÷ to : - {FcFrom: uint16(0x00F8), FcTo0: uint8(0x6F), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // ø to o - {FcFrom: uint16(0x00F9), FcTo0: uint8(0x75), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // ù to u - {FcFrom: uint16(0x00FA), FcTo0: uint8(0x75), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // ú to u - {FcFrom: uint16(0x00FB), FcTo0: uint8(0x75), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // û to u - {FcFrom: uint16(0x00FC), FcTo0: uint8(0x75), FcTo1: uint8(0x65), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // ü to ue - {FcFrom: uint16(0x00FD), FcTo0: uint8(0x79), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // ý to y - {FcFrom: uint16(0x00FE), FcTo0: uint8(0x74), FcTo1: uint8(0x68), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // þ to th - {FcFrom: uint16(0x00FF), FcTo0: uint8(0x79), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // ÿ to y - {FcFrom: uint16(0x0100), FcTo0: uint8(0x41), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Ā to A - {FcFrom: uint16(0x0101), FcTo0: uint8(0x61), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // ā to a - {FcFrom: uint16(0x0102), FcTo0: uint8(0x41), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Ă to A - {FcFrom: uint16(0x0103), FcTo0: uint8(0x61), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // ă to a - {FcFrom: uint16(0x0104), FcTo0: uint8(0x41), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Ą to A - {FcFrom: uint16(0x0105), FcTo0: uint8(0x61), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // ą to a - {FcFrom: uint16(0x0106), FcTo0: uint8(0x43), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Ć to C - {FcFrom: uint16(0x0107), FcTo0: uint8(0x63), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // ć to c - {FcFrom: uint16(0x0108), FcTo0: uint8(0x43), FcTo1: uint8(0x68), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Ĉ to Ch - {FcFrom: uint16(0x0109), FcTo0: uint8(0x63), FcTo1: uint8(0x68), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // ĉ to ch - {FcFrom: uint16(0x010A), FcTo0: uint8(0x43), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Ċ to C - {FcFrom: uint16(0x010B), FcTo0: uint8(0x63), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // ċ to c - {FcFrom: uint16(0x010C), FcTo0: uint8(0x43), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Č to C - {FcFrom: uint16(0x010D), FcTo0: uint8(0x63), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // č to c - {FcFrom: uint16(0x010E), FcTo0: uint8(0x44), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Ď to D - {FcFrom: uint16(0x010F), FcTo0: uint8(0x64), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // ď to d - {FcFrom: uint16(0x0110), FcTo0: uint8(0x44), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Đ to D - {FcFrom: uint16(0x0111), FcTo0: uint8(0x64), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // đ to d - {FcFrom: uint16(0x0112), FcTo0: uint8(0x45), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Ē to E - {FcFrom: uint16(0x0113), FcTo0: uint8(0x65), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // ē to e - {FcFrom: uint16(0x0114), FcTo0: uint8(0x45), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Ĕ to E - {FcFrom: uint16(0x0115), FcTo0: uint8(0x65), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // ĕ to e - {FcFrom: uint16(0x0116), FcTo0: uint8(0x45), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Ė to E - {FcFrom: uint16(0x0117), FcTo0: uint8(0x65), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // ė to e - {FcFrom: uint16(0x0118), FcTo0: uint8(0x45), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Ę to E - {FcFrom: uint16(0x0119), FcTo0: uint8(0x65), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // ę to e - {FcFrom: uint16(0x011A), FcTo0: uint8(0x45), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Ě to E - {FcFrom: uint16(0x011B), FcTo0: uint8(0x65), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // ě to e - {FcFrom: uint16(0x011C), FcTo0: uint8(0x47), FcTo1: uint8(0x68), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Ĝ to Gh - {FcFrom: uint16(0x011D), FcTo0: uint8(0x67), FcTo1: uint8(0x68), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // ĝ to gh - {FcFrom: uint16(0x011E), FcTo0: uint8(0x47), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Ğ to G - {FcFrom: uint16(0x011F), FcTo0: uint8(0x67), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // ğ to g - {FcFrom: uint16(0x0120), FcTo0: uint8(0x47), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Ġ to G - {FcFrom: uint16(0x0121), FcTo0: uint8(0x67), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // ġ to g - {FcFrom: uint16(0x0122), FcTo0: uint8(0x47), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Ģ to G - {FcFrom: uint16(0x0123), FcTo0: uint8(0x67), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // ģ to g - {FcFrom: uint16(0x0124), FcTo0: uint8(0x48), FcTo1: uint8(0x68), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Ĥ to Hh - {FcFrom: uint16(0x0125), FcTo0: uint8(0x68), FcTo1: uint8(0x68), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // ĥ to hh - {FcFrom: uint16(0x0126), FcTo0: uint8(0x48), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Ħ to H - {FcFrom: uint16(0x0127), FcTo0: uint8(0x68), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // ħ to h - {FcFrom: uint16(0x0128), FcTo0: uint8(0x49), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Ĩ to I - {FcFrom: uint16(0x0129), FcTo0: uint8(0x69), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // ĩ to i - {FcFrom: uint16(0x012A), FcTo0: uint8(0x49), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Ī to I - {FcFrom: uint16(0x012B), FcTo0: uint8(0x69), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // ī to i - {FcFrom: uint16(0x012C), FcTo0: uint8(0x49), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Ĭ to I - {FcFrom: uint16(0x012D), FcTo0: uint8(0x69), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // ĭ to i - {FcFrom: uint16(0x012E), FcTo0: uint8(0x49), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Į to I - {FcFrom: uint16(0x012F), FcTo0: uint8(0x69), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // į to i - {FcFrom: uint16(0x0130), FcTo0: uint8(0x49), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // İ to I - {FcFrom: uint16(0x0131), FcTo0: uint8(0x69), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // ı to i - {FcFrom: uint16(0x0132), FcTo0: uint8(0x49), FcTo1: uint8(0x4A), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // IJ to IJ - {FcFrom: uint16(0x0133), FcTo0: uint8(0x69), FcTo1: uint8(0x6A), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // ij to ij - {FcFrom: uint16(0x0134), FcTo0: uint8(0x4A), FcTo1: uint8(0x68), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Ĵ to Jh - {FcFrom: uint16(0x0135), FcTo0: uint8(0x6A), FcTo1: uint8(0x68), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // ĵ to jh - {FcFrom: uint16(0x0136), FcTo0: uint8(0x4B), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Ķ to K - {FcFrom: uint16(0x0137), FcTo0: uint8(0x6B), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // ķ to k - {FcFrom: uint16(0x0138), FcTo0: uint8(0x6B), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // ĸ to k - {FcFrom: uint16(0x0139), FcTo0: uint8(0x4C), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Ĺ to L - {FcFrom: uint16(0x013A), FcTo0: uint8(0x6C), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // ĺ to l - {FcFrom: uint16(0x013B), FcTo0: uint8(0x4C), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Ļ to L - {FcFrom: uint16(0x013C), FcTo0: uint8(0x6C), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // ļ to l - {FcFrom: uint16(0x013D), FcTo0: uint8(0x4C), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Ľ to L - {FcFrom: uint16(0x013E), FcTo0: uint8(0x6C), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // ľ to l - {FcFrom: uint16(0x013F), FcTo0: uint8(0x4C), FcTo1: uint8(0x2E), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Ŀ to L. - {FcFrom: uint16(0x0140), FcTo0: uint8(0x6C), FcTo1: uint8(0x2E), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // ŀ to l. - {FcFrom: uint16(0x0141), FcTo0: uint8(0x4C), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Ł to L - {FcFrom: uint16(0x0142), FcTo0: uint8(0x6C), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // ł to l - {FcFrom: uint16(0x0143), FcTo0: uint8(0x4E), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Ń to N - {FcFrom: uint16(0x0144), FcTo0: uint8(0x6E), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // ń to n - {FcFrom: uint16(0x0145), FcTo0: uint8(0x4E), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Ņ to N - {FcFrom: uint16(0x0146), FcTo0: uint8(0x6E), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // ņ to n - {FcFrom: uint16(0x0147), FcTo0: uint8(0x4E), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Ň to N - {FcFrom: uint16(0x0148), FcTo0: uint8(0x6E), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // ň to n - {FcFrom: uint16(0x0149), FcTo0: uint8(0x27), FcTo1: uint8(0x6E), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // ʼn to 'n - {FcFrom: uint16(0x014A), FcTo0: uint8(0x4E), FcTo1: uint8(0x47), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Ŋ to NG - {FcFrom: uint16(0x014B), FcTo0: uint8(0x6E), FcTo1: uint8(0x67), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // ŋ to ng - {FcFrom: uint16(0x014C), FcTo0: uint8(0x4F), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Ō to O - {FcFrom: uint16(0x014D), FcTo0: uint8(0x6F), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // ō to o - {FcFrom: uint16(0x014E), FcTo0: uint8(0x4F), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Ŏ to O - {FcFrom: uint16(0x014F), FcTo0: uint8(0x6F), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // ŏ to o - {FcFrom: uint16(0x0150), FcTo0: uint8(0x4F), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Ő to O - {FcFrom: uint16(0x0151), FcTo0: uint8(0x6F), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // ő to o - {FcFrom: uint16(0x0152), FcTo0: uint8(0x4F), FcTo1: uint8(0x45), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Œ to OE - {FcFrom: uint16(0x0153), FcTo0: uint8(0x6F), FcTo1: uint8(0x65), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // œ to oe - {FcFrom: uint16(0x0154), FcTo0: uint8(0x52), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Ŕ to R - {FcFrom: uint16(0x0155), FcTo0: uint8(0x72), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // ŕ to r - {FcFrom: uint16(0x0156), FcTo0: uint8(0x52), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Ŗ to R - {FcFrom: uint16(0x0157), FcTo0: uint8(0x72), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // ŗ to r - {FcFrom: uint16(0x0158), FcTo0: uint8(0x52), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Ř to R - {FcFrom: uint16(0x0159), FcTo0: uint8(0x72), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // ř to r - {FcFrom: uint16(0x015A), FcTo0: uint8(0x53), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Ś to S - {FcFrom: uint16(0x015B), FcTo0: uint8(0x73), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // ś to s - {FcFrom: uint16(0x015C), FcTo0: uint8(0x53), FcTo1: uint8(0x68), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Ŝ to Sh - {FcFrom: uint16(0x015D), FcTo0: uint8(0x73), FcTo1: uint8(0x68), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // ŝ to sh - {FcFrom: uint16(0x015E), FcTo0: uint8(0x53), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Ş to S - {FcFrom: uint16(0x015F), FcTo0: uint8(0x73), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // ş to s - {FcFrom: uint16(0x0160), FcTo0: uint8(0x53), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Š to S - {FcFrom: uint16(0x0161), FcTo0: uint8(0x73), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // š to s - {FcFrom: uint16(0x0162), FcTo0: uint8(0x54), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Ţ to T - {FcFrom: uint16(0x0163), FcTo0: uint8(0x74), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // ţ to t - {FcFrom: uint16(0x0164), FcTo0: uint8(0x54), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Ť to T - {FcFrom: uint16(0x0165), FcTo0: uint8(0x74), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // ť to t - {FcFrom: uint16(0x0166), FcTo0: uint8(0x54), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Ŧ to T - {FcFrom: uint16(0x0167), FcTo0: uint8(0x74), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // ŧ to t - {FcFrom: uint16(0x0168), FcTo0: uint8(0x55), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Ũ to U - {FcFrom: uint16(0x0169), FcTo0: uint8(0x75), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // ũ to u - {FcFrom: uint16(0x016A), FcTo0: uint8(0x55), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Ū to U - {FcFrom: uint16(0x016B), FcTo0: uint8(0x75), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // ū to u - {FcFrom: uint16(0x016C), FcTo0: uint8(0x55), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Ŭ to U - {FcFrom: uint16(0x016D), FcTo0: uint8(0x75), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // ŭ to u - {FcFrom: uint16(0x016E), FcTo0: uint8(0x55), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Ů to U - {FcFrom: uint16(0x016F), FcTo0: uint8(0x75), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // ů to u - {FcFrom: uint16(0x0170), FcTo0: uint8(0x55), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Ű to U - {FcFrom: uint16(0x0171), FcTo0: uint8(0x75), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // ű to u - {FcFrom: uint16(0x0172), FcTo0: uint8(0x55), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Ų to U - {FcFrom: uint16(0x0173), FcTo0: uint8(0x75), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // ų to u - {FcFrom: uint16(0x0174), FcTo0: uint8(0x57), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Ŵ to W - {FcFrom: uint16(0x0175), FcTo0: uint8(0x77), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // ŵ to w - {FcFrom: uint16(0x0176), FcTo0: uint8(0x59), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Ŷ to Y - {FcFrom: uint16(0x0177), FcTo0: uint8(0x79), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // ŷ to y - {FcFrom: uint16(0x0178), FcTo0: uint8(0x59), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Ÿ to Y - {FcFrom: uint16(0x0179), FcTo0: uint8(0x5A), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Ź to Z - {FcFrom: uint16(0x017A), FcTo0: uint8(0x7A), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // ź to z - {FcFrom: uint16(0x017B), FcTo0: uint8(0x5A), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Ż to Z - {FcFrom: uint16(0x017C), FcTo0: uint8(0x7A), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // ż to z - {FcFrom: uint16(0x017D), FcTo0: uint8(0x5A), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Ž to Z - {FcFrom: uint16(0x017E), FcTo0: uint8(0x7A), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // ž to z - {FcFrom: uint16(0x017F), FcTo0: uint8(0x73), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // ſ to s - {FcFrom: uint16(0x0192), FcTo0: uint8(0x66), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // ƒ to f - {FcFrom: uint16(0x0218), FcTo0: uint8(0x53), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Ș to S - {FcFrom: uint16(0x0219), FcTo0: uint8(0x73), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // ș to s - {FcFrom: uint16(0x021A), FcTo0: uint8(0x54), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Ț to T - {FcFrom: uint16(0x021B), FcTo0: uint8(0x74), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // ț to t - {FcFrom: uint16(0x0386), FcTo0: uint8(0x41), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Ά to A - {FcFrom: uint16(0x0388), FcTo0: uint8(0x45), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Έ to E - {FcFrom: uint16(0x0389), FcTo0: uint8(0x49), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Ή to I - {FcFrom: uint16(0x038A), FcTo0: uint8(0x49), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Ί to I - {FcFrom: uint16(0x038C), FcTo0: uint8(0x4f), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Ό to O - {FcFrom: uint16(0x038E), FcTo0: uint8(0x59), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Ύ to Y - {FcFrom: uint16(0x038F), FcTo0: uint8(0x4f), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Ώ to O - {FcFrom: uint16(0x0390), FcTo0: uint8(0x69), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // ΐ to i - {FcFrom: uint16(0x0391), FcTo0: uint8(0x41), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Α to A - {FcFrom: uint16(0x0392), FcTo0: uint8(0x42), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Β to B - {FcFrom: uint16(0x0393), FcTo0: uint8(0x47), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Γ to G - {FcFrom: uint16(0x0394), FcTo0: uint8(0x44), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Δ to D - {FcFrom: uint16(0x0395), FcTo0: uint8(0x45), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Ε to E - {FcFrom: uint16(0x0396), FcTo0: uint8(0x5a), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Ζ to Z - {FcFrom: uint16(0x0397), FcTo0: uint8(0x49), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Η to I - {FcFrom: uint16(0x0398), FcTo0: uint8(0x54), FcTo1: uint8(0x68), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Θ to Th - {FcFrom: uint16(0x0399), FcTo0: uint8(0x49), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Ι to I - {FcFrom: uint16(0x039A), FcTo0: uint8(0x4b), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Κ to K - {FcFrom: uint16(0x039B), FcTo0: uint8(0x4c), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Λ to L - {FcFrom: uint16(0x039C), FcTo0: uint8(0x4d), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Μ to M - {FcFrom: uint16(0x039D), FcTo0: uint8(0x4e), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Ν to N - {FcFrom: uint16(0x039E), FcTo0: uint8(0x58), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Ξ to X - {FcFrom: uint16(0x039F), FcTo0: uint8(0x4f), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Ο to O - {FcFrom: uint16(0x03A0), FcTo0: uint8(0x50), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Π to P - {FcFrom: uint16(0x03A1), FcTo0: uint8(0x52), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Ρ to R - {FcFrom: uint16(0x03A3), FcTo0: uint8(0x53), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Σ to S - {FcFrom: uint16(0x03A4), FcTo0: uint8(0x54), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Τ to T - {FcFrom: uint16(0x03A5), FcTo0: uint8(0x59), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Υ to Y - {FcFrom: uint16(0x03A6), FcTo0: uint8(0x46), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Φ to F - {FcFrom: uint16(0x03A7), FcTo0: uint8(0x43), FcTo1: uint8(0x68), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Χ to Ch - {FcFrom: uint16(0x03A8), FcTo0: uint8(0x50), FcTo1: uint8(0x73), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Ψ to Ps - {FcFrom: uint16(0x03A9), FcTo0: uint8(0x4f), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Ω to O - {FcFrom: uint16(0x03AA), FcTo0: uint8(0x49), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Ϊ to I - {FcFrom: uint16(0x03AB), FcTo0: uint8(0x59), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Ϋ to Y - {FcFrom: uint16(0x03AC), FcTo0: uint8(0x61), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // ά to a - {FcFrom: uint16(0x03AD), FcTo0: uint8(0x65), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // έ to e - {FcFrom: uint16(0x03AE), FcTo0: uint8(0x69), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // ή to i - {FcFrom: uint16(0x03AF), FcTo0: uint8(0x69), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // ί to i - {FcFrom: uint16(0x03B1), FcTo0: uint8(0x61), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // α to a - {FcFrom: uint16(0x03B2), FcTo0: uint8(0x62), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // β to b - {FcFrom: uint16(0x03B3), FcTo0: uint8(0x67), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // γ to g - {FcFrom: uint16(0x03B4), FcTo0: uint8(0x64), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // δ to d - {FcFrom: uint16(0x03B5), FcTo0: uint8(0x65), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // ε to e - {FcFrom: uint16(0x03B6), FcTo0: uint8(0x7a), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // ζ to z - {FcFrom: uint16(0x03B7), FcTo0: uint8(0x69), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // η to i - {FcFrom: uint16(0x03B8), FcTo0: uint8(0x74), FcTo1: uint8(0x68), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // θ to th - {FcFrom: uint16(0x03B9), FcTo0: uint8(0x69), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // ι to i - {FcFrom: uint16(0x03BA), FcTo0: uint8(0x6b), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // κ to k - {FcFrom: uint16(0x03BB), FcTo0: uint8(0x6c), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // λ to l - {FcFrom: uint16(0x03BC), FcTo0: uint8(0x6d), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // μ to m - {FcFrom: uint16(0x03BD), FcTo0: uint8(0x6e), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // ν to n - {FcFrom: uint16(0x03BE), FcTo0: uint8(0x78), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // ξ to x - {FcFrom: uint16(0x03BF), FcTo0: uint8(0x6f), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // ο to o - {FcFrom: uint16(0x03C0), FcTo0: uint8(0x70), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // π to p - {FcFrom: uint16(0x03C1), FcTo0: uint8(0x72), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // ρ to r - {FcFrom: uint16(0x03C3), FcTo0: uint8(0x73), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // σ to s - {FcFrom: uint16(0x03C4), FcTo0: uint8(0x74), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // τ to t - {FcFrom: uint16(0x03C5), FcTo0: uint8(0x79), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // υ to y - {FcFrom: uint16(0x03C6), FcTo0: uint8(0x66), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // φ to f - {FcFrom: uint16(0x03C7), FcTo0: uint8(0x63), FcTo1: uint8(0x68), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // χ to ch - {FcFrom: uint16(0x03C8), FcTo0: uint8(0x70), FcTo1: uint8(0x73), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // ψ to ps - {FcFrom: uint16(0x03C9), FcTo0: uint8(0x6f), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // ω to o - {FcFrom: uint16(0x03CA), FcTo0: uint8(0x69), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // ϊ to i - {FcFrom: uint16(0x03CB), FcTo0: uint8(0x79), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // ϋ to y - {FcFrom: uint16(0x03CC), FcTo0: uint8(0x6f), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // ό to o - {FcFrom: uint16(0x03CD), FcTo0: uint8(0x79), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // ύ to y - {FcFrom: uint16(0x03CE), FcTo0: uint8(0x69), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // ώ to i - {FcFrom: uint16(0x0400), FcTo0: uint8(0x45), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Ѐ to E - {FcFrom: uint16(0x0401), FcTo0: uint8(0x45), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Ё to E - {FcFrom: uint16(0x0402), FcTo0: uint8(0x44), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Ђ to D - {FcFrom: uint16(0x0403), FcTo0: uint8(0x47), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Ѓ to G - {FcFrom: uint16(0x0404), FcTo0: uint8(0x45), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Є to E - {FcFrom: uint16(0x0405), FcTo0: uint8(0x5a), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Ѕ to Z - {FcFrom: uint16(0x0406), FcTo0: uint8(0x49), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // І to I - {FcFrom: uint16(0x0407), FcTo0: uint8(0x49), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Ї to I - {FcFrom: uint16(0x0408), FcTo0: uint8(0x4a), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Ј to J - {FcFrom: uint16(0x0409), FcTo0: uint8(0x49), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Љ to I - {FcFrom: uint16(0x040A), FcTo0: uint8(0x4e), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Њ to N - {FcFrom: uint16(0x040B), FcTo0: uint8(0x44), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Ћ to D - {FcFrom: uint16(0x040C), FcTo0: uint8(0x4b), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Ќ to K - {FcFrom: uint16(0x040D), FcTo0: uint8(0x49), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Ѝ to I - {FcFrom: uint16(0x040E), FcTo0: uint8(0x55), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Ў to U - {FcFrom: uint16(0x040F), FcTo0: uint8(0x44), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Џ to D - {FcFrom: uint16(0x0410), FcTo0: uint8(0x41), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // А to A - {FcFrom: uint16(0x0411), FcTo0: uint8(0x42), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Б to B - {FcFrom: uint16(0x0412), FcTo0: uint8(0x56), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // В to V - {FcFrom: uint16(0x0413), FcTo0: uint8(0x47), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Г to G - {FcFrom: uint16(0x0414), FcTo0: uint8(0x44), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Д to D - {FcFrom: uint16(0x0415), FcTo0: uint8(0x45), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Е to E - {FcFrom: uint16(0x0416), FcTo0: uint8(0x5a), FcTo1: uint8(0x68), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Ж to Zh - {FcFrom: uint16(0x0417), FcTo0: uint8(0x5a), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // З to Z - {FcFrom: uint16(0x0418), FcTo0: uint8(0x49), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // И to I - {FcFrom: uint16(0x0419), FcTo0: uint8(0x49), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Й to I - {FcFrom: uint16(0x041A), FcTo0: uint8(0x4b), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // К to K - {FcFrom: uint16(0x041B), FcTo0: uint8(0x4c), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Л to L - {FcFrom: uint16(0x041C), FcTo0: uint8(0x4d), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // М to M - {FcFrom: uint16(0x041D), FcTo0: uint8(0x4e), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Н to N - {FcFrom: uint16(0x041E), FcTo0: uint8(0x4f), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // О to O - {FcFrom: uint16(0x041F), FcTo0: uint8(0x50), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // П to P - {FcFrom: uint16(0x0420), FcTo0: uint8(0x52), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Р to R - {FcFrom: uint16(0x0421), FcTo0: uint8(0x53), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // С to S - {FcFrom: uint16(0x0422), FcTo0: uint8(0x54), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Т to T - {FcFrom: uint16(0x0423), FcTo0: uint8(0x55), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // У to U - {FcFrom: uint16(0x0424), FcTo0: uint8(0x46), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Ф to F - {FcFrom: uint16(0x0425), FcTo0: uint8(0x4b), FcTo1: uint8(0x68), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Х to Kh - {FcFrom: uint16(0x0426), FcTo0: uint8(0x54), FcTo1: uint8(0x63), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Ц to Tc - {FcFrom: uint16(0x0427), FcTo0: uint8(0x43), FcTo1: uint8(0x68), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Ч to Ch - {FcFrom: uint16(0x0428), FcTo0: uint8(0x53), FcTo1: uint8(0x68), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Ш to Sh - {FcFrom: uint16(0x0429), FcTo0: uint8(0x53), FcTo1: uint8(0x68), FcTo2: uint8(0x63), FcTo3: uint8(0x68)}, // Щ to Shch - {FcFrom: uint16(0x042A), FcTo0: uint8(0x61), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // to A - {FcFrom: uint16(0x042B), FcTo0: uint8(0x59), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Ы to Y - {FcFrom: uint16(0x042C), FcTo0: uint8(0x59), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // to Y - {FcFrom: uint16(0x042D), FcTo0: uint8(0x45), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Э to E - {FcFrom: uint16(0x042E), FcTo0: uint8(0x49), FcTo1: uint8(0x75), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Ю to Iu - {FcFrom: uint16(0x042F), FcTo0: uint8(0x49), FcTo1: uint8(0x61), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Я to Ia - {FcFrom: uint16(0x0430), FcTo0: uint8(0x61), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // а to a - {FcFrom: uint16(0x0431), FcTo0: uint8(0x62), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // б to b - {FcFrom: uint16(0x0432), FcTo0: uint8(0x76), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // в to v - {FcFrom: uint16(0x0433), FcTo0: uint8(0x67), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // г to g - {FcFrom: uint16(0x0434), FcTo0: uint8(0x64), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // д to d - {FcFrom: uint16(0x0435), FcTo0: uint8(0x65), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // е to e - {FcFrom: uint16(0x0436), FcTo0: uint8(0x7a), FcTo1: uint8(0x68), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // ж to zh - {FcFrom: uint16(0x0437), FcTo0: uint8(0x7a), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // з to z - {FcFrom: uint16(0x0438), FcTo0: uint8(0x69), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // и to i - {FcFrom: uint16(0x0439), FcTo0: uint8(0x69), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // й to i - {FcFrom: uint16(0x043A), FcTo0: uint8(0x6b), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // к to k - {FcFrom: uint16(0x043B), FcTo0: uint8(0x6c), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // л to l - {FcFrom: uint16(0x043C), FcTo0: uint8(0x6d), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // м to m - {FcFrom: uint16(0x043D), FcTo0: uint8(0x6e), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // н to n - {FcFrom: uint16(0x043E), FcTo0: uint8(0x6f), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // о to o - {FcFrom: uint16(0x043F), FcTo0: uint8(0x70), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // п to p - {FcFrom: uint16(0x0440), FcTo0: uint8(0x72), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // р to r - {FcFrom: uint16(0x0441), FcTo0: uint8(0x73), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // с to s - {FcFrom: uint16(0x0442), FcTo0: uint8(0x74), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // т to t - {FcFrom: uint16(0x0443), FcTo0: uint8(0x75), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // у to u - {FcFrom: uint16(0x0444), FcTo0: uint8(0x66), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // ф to f - {FcFrom: uint16(0x0445), FcTo0: uint8(0x6b), FcTo1: uint8(0x68), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // х to kh - {FcFrom: uint16(0x0446), FcTo0: uint8(0x74), FcTo1: uint8(0x63), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // ц to tc - {FcFrom: uint16(0x0447), FcTo0: uint8(0x63), FcTo1: uint8(0x68), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // ч to ch - {FcFrom: uint16(0x0448), FcTo0: uint8(0x73), FcTo1: uint8(0x68), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // ш to sh - {FcFrom: uint16(0x0449), FcTo0: uint8(0x73), FcTo1: uint8(0x68), FcTo2: uint8(0x63), FcTo3: uint8(0x68)}, // щ to shch - {FcFrom: uint16(0x044A), FcTo0: uint8(0x61), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // to a - {FcFrom: uint16(0x044B), FcTo0: uint8(0x79), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // ы to y - {FcFrom: uint16(0x044C), FcTo0: uint8(0x79), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // to y - {FcFrom: uint16(0x044D), FcTo0: uint8(0x65), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // э to e - {FcFrom: uint16(0x044E), FcTo0: uint8(0x69), FcTo1: uint8(0x75), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // ю to iu - {FcFrom: uint16(0x044F), FcTo0: uint8(0x69), FcTo1: uint8(0x61), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // я to ia - {FcFrom: uint16(0x0450), FcTo0: uint8(0x65), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // ѐ to e - {FcFrom: uint16(0x0451), FcTo0: uint8(0x65), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // ё to e - {FcFrom: uint16(0x0452), FcTo0: uint8(0x64), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // ђ to d - {FcFrom: uint16(0x0453), FcTo0: uint8(0x67), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // ѓ to g - {FcFrom: uint16(0x0454), FcTo0: uint8(0x65), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // є to e - {FcFrom: uint16(0x0455), FcTo0: uint8(0x7a), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // ѕ to z - {FcFrom: uint16(0x0456), FcTo0: uint8(0x69), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // і to i - {FcFrom: uint16(0x0457), FcTo0: uint8(0x69), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // ї to i - {FcFrom: uint16(0x0458), FcTo0: uint8(0x6a), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // ј to j - {FcFrom: uint16(0x0459), FcTo0: uint8(0x69), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // љ to i - {FcFrom: uint16(0x045A), FcTo0: uint8(0x6e), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // њ to n - {FcFrom: uint16(0x045B), FcTo0: uint8(0x64), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // ћ to d - {FcFrom: uint16(0x045C), FcTo0: uint8(0x6b), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // ќ to k - {FcFrom: uint16(0x045D), FcTo0: uint8(0x69), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // ѝ to i - {FcFrom: uint16(0x045E), FcTo0: uint8(0x75), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // ў to u - {FcFrom: uint16(0x045F), FcTo0: uint8(0x64), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // џ to d - {FcFrom: uint16(0x1E02), FcTo0: uint8(0x42), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Ḃ to B - {FcFrom: uint16(0x1E03), FcTo0: uint8(0x62), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // ḃ to b - {FcFrom: uint16(0x1E0A), FcTo0: uint8(0x44), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Ḋ to D - {FcFrom: uint16(0x1E0B), FcTo0: uint8(0x64), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // ḋ to d - {FcFrom: uint16(0x1E1E), FcTo0: uint8(0x46), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Ḟ to F - {FcFrom: uint16(0x1E1F), FcTo0: uint8(0x66), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // ḟ to f - {FcFrom: uint16(0x1E40), FcTo0: uint8(0x4D), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Ṁ to M - {FcFrom: uint16(0x1E41), FcTo0: uint8(0x6D), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // ṁ to m - {FcFrom: uint16(0x1E56), FcTo0: uint8(0x50), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Ṗ to P - {FcFrom: uint16(0x1E57), FcTo0: uint8(0x70), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // ṗ to p - {FcFrom: uint16(0x1E60), FcTo0: uint8(0x53), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Ṡ to S - {FcFrom: uint16(0x1E61), FcTo0: uint8(0x73), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // ṡ to s - {FcFrom: uint16(0x1E6A), FcTo0: uint8(0x54), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Ṫ to T - {FcFrom: uint16(0x1E6B), FcTo0: uint8(0x74), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // ṫ to t - {FcFrom: uint16(0x1E80), FcTo0: uint8(0x57), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Ẁ to W - {FcFrom: uint16(0x1E81), FcTo0: uint8(0x77), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // ẁ to w - {FcFrom: uint16(0x1E82), FcTo0: uint8(0x57), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Ẃ to W - {FcFrom: uint16(0x1E83), FcTo0: uint8(0x77), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // ẃ to w - {FcFrom: uint16(0x1E84), FcTo0: uint8(0x57), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Ẅ to W - {FcFrom: uint16(0x1E85), FcTo0: uint8(0x77), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // ẅ to w - {FcFrom: uint16(0x1EF2), FcTo0: uint8(0x59), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // Ỳ to Y - {FcFrom: uint16(0x1EF3), FcTo0: uint8(0x79), FcTo1: uint8(0x00), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // ỳ to y - {FcFrom: uint16(0xFB00), FcTo0: uint8(0x66), FcTo1: uint8(0x66), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // ff to ff - {FcFrom: uint16(0xFB01), FcTo0: uint8(0x66), FcTo1: uint8(0x69), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // fi to fi - {FcFrom: uint16(0xFB02), FcTo0: uint8(0x66), FcTo1: uint8(0x6C), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // fl to fl - {FcFrom: uint16(0xFB05), FcTo0: uint8(0x73), FcTo1: uint8(0x74), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // ſt to st - {FcFrom: uint16(0xFB06), FcTo0: uint8(0x73), FcTo1: uint8(0x74), FcTo2: uint8(0x00), FcTo3: uint8(0x00)}, // st to st + { + FcFrom: uint16(0x00A0), + FcTo0: uint8(0x20), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // to + { + FcFrom: uint16(0x00B5), + FcTo0: uint8(0x75), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // µ to u + { + FcFrom: uint16(0x00C0), + FcTo0: uint8(0x41), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // À to A + { + FcFrom: uint16(0x00C1), + FcTo0: uint8(0x41), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Á to A + { + FcFrom: uint16(0x00C2), + FcTo0: uint8(0x41), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, //  to A + { + FcFrom: uint16(0x00C3), + FcTo0: uint8(0x41), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // à to A + { + FcFrom: uint16(0x00C4), + FcTo0: uint8(0x41), + FcTo1: uint8(0x65), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Ä to Ae + { + FcFrom: uint16(0x00C5), + FcTo0: uint8(0x41), + FcTo1: uint8(0x61), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Å to Aa + { + FcFrom: uint16(0x00C6), + FcTo0: uint8(0x41), + FcTo1: uint8(0x45), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Æ to AE + { + FcFrom: uint16(0x00C7), + FcTo0: uint8(0x43), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Ç to C + { + FcFrom: uint16(0x00C8), + FcTo0: uint8(0x45), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // È to E + { + FcFrom: uint16(0x00C9), + FcTo0: uint8(0x45), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // É to E + { + FcFrom: uint16(0x00CA), + FcTo0: uint8(0x45), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Ê to E + { + FcFrom: uint16(0x00CB), + FcTo0: uint8(0x45), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Ë to E + { + FcFrom: uint16(0x00CC), + FcTo0: uint8(0x49), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Ì to I + { + FcFrom: uint16(0x00CD), + FcTo0: uint8(0x49), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Í to I + { + FcFrom: uint16(0x00CE), + FcTo0: uint8(0x49), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Î to I + { + FcFrom: uint16(0x00CF), + FcTo0: uint8(0x49), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Ï to I + { + FcFrom: uint16(0x00D0), + FcTo0: uint8(0x44), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Ð to D + { + FcFrom: uint16(0x00D1), + FcTo0: uint8(0x4E), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Ñ to N + { + FcFrom: uint16(0x00D2), + FcTo0: uint8(0x4F), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Ò to O + { + FcFrom: uint16(0x00D3), + FcTo0: uint8(0x4F), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Ó to O + { + FcFrom: uint16(0x00D4), + FcTo0: uint8(0x4F), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Ô to O + { + FcFrom: uint16(0x00D5), + FcTo0: uint8(0x4F), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Õ to O + { + FcFrom: uint16(0x00D6), + FcTo0: uint8(0x4F), + FcTo1: uint8(0x65), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Ö to Oe + { + FcFrom: uint16(0x00D7), + FcTo0: uint8(0x78), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // × to x + { + FcFrom: uint16(0x00D8), + FcTo0: uint8(0x4F), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Ø to O + { + FcFrom: uint16(0x00D9), + FcTo0: uint8(0x55), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Ù to U + { + FcFrom: uint16(0x00DA), + FcTo0: uint8(0x55), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Ú to U + { + FcFrom: uint16(0x00DB), + FcTo0: uint8(0x55), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Û to U + { + FcFrom: uint16(0x00DC), + FcTo0: uint8(0x55), + FcTo1: uint8(0x65), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Ü to Ue + { + FcFrom: uint16(0x00DD), + FcTo0: uint8(0x59), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Ý to Y + { + FcFrom: uint16(0x00DE), + FcTo0: uint8(0x54), + FcTo1: uint8(0x68), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Þ to Th + { + FcFrom: uint16(0x00DF), + FcTo0: uint8(0x73), + FcTo1: uint8(0x73), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // ß to ss + { + FcFrom: uint16(0x00E0), + FcTo0: uint8(0x61), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // à to a + { + FcFrom: uint16(0x00E1), + FcTo0: uint8(0x61), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // á to a + { + FcFrom: uint16(0x00E2), + FcTo0: uint8(0x61), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // â to a + { + FcFrom: uint16(0x00E3), + FcTo0: uint8(0x61), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // ã to a + { + FcFrom: uint16(0x00E4), + FcTo0: uint8(0x61), + FcTo1: uint8(0x65), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // ä to ae + { + FcFrom: uint16(0x00E5), + FcTo0: uint8(0x61), + FcTo1: uint8(0x61), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // å to aa + { + FcFrom: uint16(0x00E6), + FcTo0: uint8(0x61), + FcTo1: uint8(0x65), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // æ to ae + { + FcFrom: uint16(0x00E7), + FcTo0: uint8(0x63), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // ç to c + { + FcFrom: uint16(0x00E8), + FcTo0: uint8(0x65), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // è to e + { + FcFrom: uint16(0x00E9), + FcTo0: uint8(0x65), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // é to e + { + FcFrom: uint16(0x00EA), + FcTo0: uint8(0x65), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // ê to e + { + FcFrom: uint16(0x00EB), + FcTo0: uint8(0x65), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // ë to e + { + FcFrom: uint16(0x00EC), + FcTo0: uint8(0x69), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // ì to i + { + FcFrom: uint16(0x00ED), + FcTo0: uint8(0x69), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // í to i + { + FcFrom: uint16(0x00EE), + FcTo0: uint8(0x69), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // î to i + { + FcFrom: uint16(0x00EF), + FcTo0: uint8(0x69), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // ï to i + { + FcFrom: uint16(0x00F0), + FcTo0: uint8(0x64), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // ð to d + { + FcFrom: uint16(0x00F1), + FcTo0: uint8(0x6E), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // ñ to n + { + FcFrom: uint16(0x00F2), + FcTo0: uint8(0x6F), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // ò to o + { + FcFrom: uint16(0x00F3), + FcTo0: uint8(0x6F), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // ó to o + { + FcFrom: uint16(0x00F4), + FcTo0: uint8(0x6F), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // ô to o + { + FcFrom: uint16(0x00F5), + FcTo0: uint8(0x6F), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // õ to o + { + FcFrom: uint16(0x00F6), + FcTo0: uint8(0x6F), + FcTo1: uint8(0x65), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // ö to oe + { + FcFrom: uint16(0x00F7), + FcTo0: uint8(0x3A), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // ÷ to : + { + FcFrom: uint16(0x00F8), + FcTo0: uint8(0x6F), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // ø to o + { + FcFrom: uint16(0x00F9), + FcTo0: uint8(0x75), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // ù to u + { + FcFrom: uint16(0x00FA), + FcTo0: uint8(0x75), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // ú to u + { + FcFrom: uint16(0x00FB), + FcTo0: uint8(0x75), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // û to u + { + FcFrom: uint16(0x00FC), + FcTo0: uint8(0x75), + FcTo1: uint8(0x65), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // ü to ue + { + FcFrom: uint16(0x00FD), + FcTo0: uint8(0x79), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // ý to y + { + FcFrom: uint16(0x00FE), + FcTo0: uint8(0x74), + FcTo1: uint8(0x68), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // þ to th + { + FcFrom: uint16(0x00FF), + FcTo0: uint8(0x79), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // ÿ to y + { + FcFrom: uint16(0x0100), + FcTo0: uint8(0x41), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Ā to A + { + FcFrom: uint16(0x0101), + FcTo0: uint8(0x61), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // ā to a + { + FcFrom: uint16(0x0102), + FcTo0: uint8(0x41), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Ă to A + { + FcFrom: uint16(0x0103), + FcTo0: uint8(0x61), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // ă to a + { + FcFrom: uint16(0x0104), + FcTo0: uint8(0x41), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Ą to A + { + FcFrom: uint16(0x0105), + FcTo0: uint8(0x61), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // ą to a + { + FcFrom: uint16(0x0106), + FcTo0: uint8(0x43), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Ć to C + { + FcFrom: uint16(0x0107), + FcTo0: uint8(0x63), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // ć to c + { + FcFrom: uint16(0x0108), + FcTo0: uint8(0x43), + FcTo1: uint8(0x68), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Ĉ to Ch + { + FcFrom: uint16(0x0109), + FcTo0: uint8(0x63), + FcTo1: uint8(0x68), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // ĉ to ch + { + FcFrom: uint16(0x010A), + FcTo0: uint8(0x43), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Ċ to C + { + FcFrom: uint16(0x010B), + FcTo0: uint8(0x63), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // ċ to c + { + FcFrom: uint16(0x010C), + FcTo0: uint8(0x43), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Č to C + { + FcFrom: uint16(0x010D), + FcTo0: uint8(0x63), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // č to c + { + FcFrom: uint16(0x010E), + FcTo0: uint8(0x44), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Ď to D + { + FcFrom: uint16(0x010F), + FcTo0: uint8(0x64), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // ď to d + { + FcFrom: uint16(0x0110), + FcTo0: uint8(0x44), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Đ to D + { + FcFrom: uint16(0x0111), + FcTo0: uint8(0x64), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // đ to d + { + FcFrom: uint16(0x0112), + FcTo0: uint8(0x45), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Ē to E + { + FcFrom: uint16(0x0113), + FcTo0: uint8(0x65), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // ē to e + { + FcFrom: uint16(0x0114), + FcTo0: uint8(0x45), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Ĕ to E + { + FcFrom: uint16(0x0115), + FcTo0: uint8(0x65), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // ĕ to e + { + FcFrom: uint16(0x0116), + FcTo0: uint8(0x45), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Ė to E + { + FcFrom: uint16(0x0117), + FcTo0: uint8(0x65), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // ė to e + { + FcFrom: uint16(0x0118), + FcTo0: uint8(0x45), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Ę to E + { + FcFrom: uint16(0x0119), + FcTo0: uint8(0x65), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // ę to e + { + FcFrom: uint16(0x011A), + FcTo0: uint8(0x45), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Ě to E + { + FcFrom: uint16(0x011B), + FcTo0: uint8(0x65), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // ě to e + { + FcFrom: uint16(0x011C), + FcTo0: uint8(0x47), + FcTo1: uint8(0x68), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Ĝ to Gh + { + FcFrom: uint16(0x011D), + FcTo0: uint8(0x67), + FcTo1: uint8(0x68), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // ĝ to gh + { + FcFrom: uint16(0x011E), + FcTo0: uint8(0x47), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Ğ to G + { + FcFrom: uint16(0x011F), + FcTo0: uint8(0x67), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // ğ to g + { + FcFrom: uint16(0x0120), + FcTo0: uint8(0x47), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Ġ to G + { + FcFrom: uint16(0x0121), + FcTo0: uint8(0x67), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // ġ to g + { + FcFrom: uint16(0x0122), + FcTo0: uint8(0x47), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Ģ to G + { + FcFrom: uint16(0x0123), + FcTo0: uint8(0x67), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // ģ to g + { + FcFrom: uint16(0x0124), + FcTo0: uint8(0x48), + FcTo1: uint8(0x68), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Ĥ to Hh + { + FcFrom: uint16(0x0125), + FcTo0: uint8(0x68), + FcTo1: uint8(0x68), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // ĥ to hh + { + FcFrom: uint16(0x0126), + FcTo0: uint8(0x48), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Ħ to H + { + FcFrom: uint16(0x0127), + FcTo0: uint8(0x68), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // ħ to h + { + FcFrom: uint16(0x0128), + FcTo0: uint8(0x49), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Ĩ to I + { + FcFrom: uint16(0x0129), + FcTo0: uint8(0x69), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // ĩ to i + { + FcFrom: uint16(0x012A), + FcTo0: uint8(0x49), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Ī to I + { + FcFrom: uint16(0x012B), + FcTo0: uint8(0x69), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // ī to i + { + FcFrom: uint16(0x012C), + FcTo0: uint8(0x49), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Ĭ to I + { + FcFrom: uint16(0x012D), + FcTo0: uint8(0x69), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // ĭ to i + { + FcFrom: uint16(0x012E), + FcTo0: uint8(0x49), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Į to I + { + FcFrom: uint16(0x012F), + FcTo0: uint8(0x69), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // į to i + { + FcFrom: uint16(0x0130), + FcTo0: uint8(0x49), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // İ to I + { + FcFrom: uint16(0x0131), + FcTo0: uint8(0x69), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // ı to i + { + FcFrom: uint16(0x0132), + FcTo0: uint8(0x49), + FcTo1: uint8(0x4A), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // IJ to IJ + { + FcFrom: uint16(0x0133), + FcTo0: uint8(0x69), + FcTo1: uint8(0x6A), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // ij to ij + { + FcFrom: uint16(0x0134), + FcTo0: uint8(0x4A), + FcTo1: uint8(0x68), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Ĵ to Jh + { + FcFrom: uint16(0x0135), + FcTo0: uint8(0x6A), + FcTo1: uint8(0x68), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // ĵ to jh + { + FcFrom: uint16(0x0136), + FcTo0: uint8(0x4B), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Ķ to K + { + FcFrom: uint16(0x0137), + FcTo0: uint8(0x6B), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // ķ to k + { + FcFrom: uint16(0x0138), + FcTo0: uint8(0x6B), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // ĸ to k + { + FcFrom: uint16(0x0139), + FcTo0: uint8(0x4C), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Ĺ to L + { + FcFrom: uint16(0x013A), + FcTo0: uint8(0x6C), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // ĺ to l + { + FcFrom: uint16(0x013B), + FcTo0: uint8(0x4C), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Ļ to L + { + FcFrom: uint16(0x013C), + FcTo0: uint8(0x6C), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // ļ to l + { + FcFrom: uint16(0x013D), + FcTo0: uint8(0x4C), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Ľ to L + { + FcFrom: uint16(0x013E), + FcTo0: uint8(0x6C), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // ľ to l + { + FcFrom: uint16(0x013F), + FcTo0: uint8(0x4C), + FcTo1: uint8(0x2E), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Ŀ to L. + { + FcFrom: uint16(0x0140), + FcTo0: uint8(0x6C), + FcTo1: uint8(0x2E), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // ŀ to l. + { + FcFrom: uint16(0x0141), + FcTo0: uint8(0x4C), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Ł to L + { + FcFrom: uint16(0x0142), + FcTo0: uint8(0x6C), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // ł to l + { + FcFrom: uint16(0x0143), + FcTo0: uint8(0x4E), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Ń to N + { + FcFrom: uint16(0x0144), + FcTo0: uint8(0x6E), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // ń to n + { + FcFrom: uint16(0x0145), + FcTo0: uint8(0x4E), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Ņ to N + { + FcFrom: uint16(0x0146), + FcTo0: uint8(0x6E), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // ņ to n + { + FcFrom: uint16(0x0147), + FcTo0: uint8(0x4E), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Ň to N + { + FcFrom: uint16(0x0148), + FcTo0: uint8(0x6E), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // ň to n + { + FcFrom: uint16(0x0149), + FcTo0: uint8(0x27), + FcTo1: uint8(0x6E), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // ʼn to 'n + { + FcFrom: uint16(0x014A), + FcTo0: uint8(0x4E), + FcTo1: uint8(0x47), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Ŋ to NG + { + FcFrom: uint16(0x014B), + FcTo0: uint8(0x6E), + FcTo1: uint8(0x67), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // ŋ to ng + { + FcFrom: uint16(0x014C), + FcTo0: uint8(0x4F), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Ō to O + { + FcFrom: uint16(0x014D), + FcTo0: uint8(0x6F), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // ō to o + { + FcFrom: uint16(0x014E), + FcTo0: uint8(0x4F), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Ŏ to O + { + FcFrom: uint16(0x014F), + FcTo0: uint8(0x6F), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // ŏ to o + { + FcFrom: uint16(0x0150), + FcTo0: uint8(0x4F), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Ő to O + { + FcFrom: uint16(0x0151), + FcTo0: uint8(0x6F), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // ő to o + { + FcFrom: uint16(0x0152), + FcTo0: uint8(0x4F), + FcTo1: uint8(0x45), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Œ to OE + { + FcFrom: uint16(0x0153), + FcTo0: uint8(0x6F), + FcTo1: uint8(0x65), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // œ to oe + { + FcFrom: uint16(0x0154), + FcTo0: uint8(0x52), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Ŕ to R + { + FcFrom: uint16(0x0155), + FcTo0: uint8(0x72), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // ŕ to r + { + FcFrom: uint16(0x0156), + FcTo0: uint8(0x52), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Ŗ to R + { + FcFrom: uint16(0x0157), + FcTo0: uint8(0x72), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // ŗ to r + { + FcFrom: uint16(0x0158), + FcTo0: uint8(0x52), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Ř to R + { + FcFrom: uint16(0x0159), + FcTo0: uint8(0x72), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // ř to r + { + FcFrom: uint16(0x015A), + FcTo0: uint8(0x53), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Ś to S + { + FcFrom: uint16(0x015B), + FcTo0: uint8(0x73), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // ś to s + { + FcFrom: uint16(0x015C), + FcTo0: uint8(0x53), + FcTo1: uint8(0x68), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Ŝ to Sh + { + FcFrom: uint16(0x015D), + FcTo0: uint8(0x73), + FcTo1: uint8(0x68), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // ŝ to sh + { + FcFrom: uint16(0x015E), + FcTo0: uint8(0x53), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Ş to S + { + FcFrom: uint16(0x015F), + FcTo0: uint8(0x73), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // ş to s + { + FcFrom: uint16(0x0160), + FcTo0: uint8(0x53), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Š to S + { + FcFrom: uint16(0x0161), + FcTo0: uint8(0x73), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // š to s + { + FcFrom: uint16(0x0162), + FcTo0: uint8(0x54), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Ţ to T + { + FcFrom: uint16(0x0163), + FcTo0: uint8(0x74), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // ţ to t + { + FcFrom: uint16(0x0164), + FcTo0: uint8(0x54), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Ť to T + { + FcFrom: uint16(0x0165), + FcTo0: uint8(0x74), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // ť to t + { + FcFrom: uint16(0x0166), + FcTo0: uint8(0x54), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Ŧ to T + { + FcFrom: uint16(0x0167), + FcTo0: uint8(0x74), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // ŧ to t + { + FcFrom: uint16(0x0168), + FcTo0: uint8(0x55), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Ũ to U + { + FcFrom: uint16(0x0169), + FcTo0: uint8(0x75), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // ũ to u + { + FcFrom: uint16(0x016A), + FcTo0: uint8(0x55), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Ū to U + { + FcFrom: uint16(0x016B), + FcTo0: uint8(0x75), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // ū to u + { + FcFrom: uint16(0x016C), + FcTo0: uint8(0x55), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Ŭ to U + { + FcFrom: uint16(0x016D), + FcTo0: uint8(0x75), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // ŭ to u + { + FcFrom: uint16(0x016E), + FcTo0: uint8(0x55), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Ů to U + { + FcFrom: uint16(0x016F), + FcTo0: uint8(0x75), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // ů to u + { + FcFrom: uint16(0x0170), + FcTo0: uint8(0x55), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Ű to U + { + FcFrom: uint16(0x0171), + FcTo0: uint8(0x75), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // ű to u + { + FcFrom: uint16(0x0172), + FcTo0: uint8(0x55), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Ų to U + { + FcFrom: uint16(0x0173), + FcTo0: uint8(0x75), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // ų to u + { + FcFrom: uint16(0x0174), + FcTo0: uint8(0x57), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Ŵ to W + { + FcFrom: uint16(0x0175), + FcTo0: uint8(0x77), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // ŵ to w + { + FcFrom: uint16(0x0176), + FcTo0: uint8(0x59), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Ŷ to Y + { + FcFrom: uint16(0x0177), + FcTo0: uint8(0x79), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // ŷ to y + { + FcFrom: uint16(0x0178), + FcTo0: uint8(0x59), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Ÿ to Y + { + FcFrom: uint16(0x0179), + FcTo0: uint8(0x5A), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Ź to Z + { + FcFrom: uint16(0x017A), + FcTo0: uint8(0x7A), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // ź to z + { + FcFrom: uint16(0x017B), + FcTo0: uint8(0x5A), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Ż to Z + { + FcFrom: uint16(0x017C), + FcTo0: uint8(0x7A), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // ż to z + { + FcFrom: uint16(0x017D), + FcTo0: uint8(0x5A), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Ž to Z + { + FcFrom: uint16(0x017E), + FcTo0: uint8(0x7A), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // ž to z + { + FcFrom: uint16(0x017F), + FcTo0: uint8(0x73), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // ſ to s + { + FcFrom: uint16(0x0192), + FcTo0: uint8(0x66), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // ƒ to f + { + FcFrom: uint16(0x0218), + FcTo0: uint8(0x53), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Ș to S + { + FcFrom: uint16(0x0219), + FcTo0: uint8(0x73), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // ș to s + { + FcFrom: uint16(0x021A), + FcTo0: uint8(0x54), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Ț to T + { + FcFrom: uint16(0x021B), + FcTo0: uint8(0x74), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // ț to t + { + FcFrom: uint16(0x0386), + FcTo0: uint8(0x41), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Ά to A + { + FcFrom: uint16(0x0388), + FcTo0: uint8(0x45), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Έ to E + { + FcFrom: uint16(0x0389), + FcTo0: uint8(0x49), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Ή to I + { + FcFrom: uint16(0x038A), + FcTo0: uint8(0x49), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Ί to I + { + FcFrom: uint16(0x038C), + FcTo0: uint8(0x4f), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Ό to O + { + FcFrom: uint16(0x038E), + FcTo0: uint8(0x59), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Ύ to Y + { + FcFrom: uint16(0x038F), + FcTo0: uint8(0x4f), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Ώ to O + { + FcFrom: uint16(0x0390), + FcTo0: uint8(0x69), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // ΐ to i + { + FcFrom: uint16(0x0391), + FcTo0: uint8(0x41), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Α to A + { + FcFrom: uint16(0x0392), + FcTo0: uint8(0x42), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Β to B + { + FcFrom: uint16(0x0393), + FcTo0: uint8(0x47), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Γ to G + { + FcFrom: uint16(0x0394), + FcTo0: uint8(0x44), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Δ to D + { + FcFrom: uint16(0x0395), + FcTo0: uint8(0x45), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Ε to E + { + FcFrom: uint16(0x0396), + FcTo0: uint8(0x5a), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Ζ to Z + { + FcFrom: uint16(0x0397), + FcTo0: uint8(0x49), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Η to I + { + FcFrom: uint16(0x0398), + FcTo0: uint8(0x54), + FcTo1: uint8(0x68), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Θ to Th + { + FcFrom: uint16(0x0399), + FcTo0: uint8(0x49), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Ι to I + { + FcFrom: uint16(0x039A), + FcTo0: uint8(0x4b), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Κ to K + { + FcFrom: uint16(0x039B), + FcTo0: uint8(0x4c), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Λ to L + { + FcFrom: uint16(0x039C), + FcTo0: uint8(0x4d), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Μ to M + { + FcFrom: uint16(0x039D), + FcTo0: uint8(0x4e), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Ν to N + { + FcFrom: uint16(0x039E), + FcTo0: uint8(0x58), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Ξ to X + { + FcFrom: uint16(0x039F), + FcTo0: uint8(0x4f), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Ο to O + { + FcFrom: uint16(0x03A0), + FcTo0: uint8(0x50), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Π to P + { + FcFrom: uint16(0x03A1), + FcTo0: uint8(0x52), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Ρ to R + { + FcFrom: uint16(0x03A3), + FcTo0: uint8(0x53), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Σ to S + { + FcFrom: uint16(0x03A4), + FcTo0: uint8(0x54), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Τ to T + { + FcFrom: uint16(0x03A5), + FcTo0: uint8(0x59), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Υ to Y + { + FcFrom: uint16(0x03A6), + FcTo0: uint8(0x46), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Φ to F + { + FcFrom: uint16(0x03A7), + FcTo0: uint8(0x43), + FcTo1: uint8(0x68), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Χ to Ch + { + FcFrom: uint16(0x03A8), + FcTo0: uint8(0x50), + FcTo1: uint8(0x73), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Ψ to Ps + { + FcFrom: uint16(0x03A9), + FcTo0: uint8(0x4f), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Ω to O + { + FcFrom: uint16(0x03AA), + FcTo0: uint8(0x49), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Ϊ to I + { + FcFrom: uint16(0x03AB), + FcTo0: uint8(0x59), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Ϋ to Y + { + FcFrom: uint16(0x03AC), + FcTo0: uint8(0x61), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // ά to a + { + FcFrom: uint16(0x03AD), + FcTo0: uint8(0x65), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // έ to e + { + FcFrom: uint16(0x03AE), + FcTo0: uint8(0x69), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // ή to i + { + FcFrom: uint16(0x03AF), + FcTo0: uint8(0x69), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // ί to i + { + FcFrom: uint16(0x03B1), + FcTo0: uint8(0x61), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // α to a + { + FcFrom: uint16(0x03B2), + FcTo0: uint8(0x62), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // β to b + { + FcFrom: uint16(0x03B3), + FcTo0: uint8(0x67), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // γ to g + { + FcFrom: uint16(0x03B4), + FcTo0: uint8(0x64), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // δ to d + { + FcFrom: uint16(0x03B5), + FcTo0: uint8(0x65), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // ε to e + { + FcFrom: uint16(0x03B6), + FcTo0: uint8(0x7a), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // ζ to z + { + FcFrom: uint16(0x03B7), + FcTo0: uint8(0x69), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // η to i + { + FcFrom: uint16(0x03B8), + FcTo0: uint8(0x74), + FcTo1: uint8(0x68), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // θ to th + { + FcFrom: uint16(0x03B9), + FcTo0: uint8(0x69), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // ι to i + { + FcFrom: uint16(0x03BA), + FcTo0: uint8(0x6b), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // κ to k + { + FcFrom: uint16(0x03BB), + FcTo0: uint8(0x6c), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // λ to l + { + FcFrom: uint16(0x03BC), + FcTo0: uint8(0x6d), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // μ to m + { + FcFrom: uint16(0x03BD), + FcTo0: uint8(0x6e), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // ν to n + { + FcFrom: uint16(0x03BE), + FcTo0: uint8(0x78), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // ξ to x + { + FcFrom: uint16(0x03BF), + FcTo0: uint8(0x6f), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // ο to o + { + FcFrom: uint16(0x03C0), + FcTo0: uint8(0x70), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // π to p + { + FcFrom: uint16(0x03C1), + FcTo0: uint8(0x72), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // ρ to r + { + FcFrom: uint16(0x03C3), + FcTo0: uint8(0x73), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // σ to s + { + FcFrom: uint16(0x03C4), + FcTo0: uint8(0x74), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // τ to t + { + FcFrom: uint16(0x03C5), + FcTo0: uint8(0x79), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // υ to y + { + FcFrom: uint16(0x03C6), + FcTo0: uint8(0x66), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // φ to f + { + FcFrom: uint16(0x03C7), + FcTo0: uint8(0x63), + FcTo1: uint8(0x68), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // χ to ch + { + FcFrom: uint16(0x03C8), + FcTo0: uint8(0x70), + FcTo1: uint8(0x73), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // ψ to ps + { + FcFrom: uint16(0x03C9), + FcTo0: uint8(0x6f), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // ω to o + { + FcFrom: uint16(0x03CA), + FcTo0: uint8(0x69), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // ϊ to i + { + FcFrom: uint16(0x03CB), + FcTo0: uint8(0x79), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // ϋ to y + { + FcFrom: uint16(0x03CC), + FcTo0: uint8(0x6f), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // ό to o + { + FcFrom: uint16(0x03CD), + FcTo0: uint8(0x79), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // ύ to y + { + FcFrom: uint16(0x03CE), + FcTo0: uint8(0x69), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // ώ to i + { + FcFrom: uint16(0x0400), + FcTo0: uint8(0x45), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Ѐ to E + { + FcFrom: uint16(0x0401), + FcTo0: uint8(0x45), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Ё to E + { + FcFrom: uint16(0x0402), + FcTo0: uint8(0x44), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Ђ to D + { + FcFrom: uint16(0x0403), + FcTo0: uint8(0x47), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Ѓ to G + { + FcFrom: uint16(0x0404), + FcTo0: uint8(0x45), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Є to E + { + FcFrom: uint16(0x0405), + FcTo0: uint8(0x5a), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Ѕ to Z + { + FcFrom: uint16(0x0406), + FcTo0: uint8(0x49), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // І to I + { + FcFrom: uint16(0x0407), + FcTo0: uint8(0x49), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Ї to I + { + FcFrom: uint16(0x0408), + FcTo0: uint8(0x4a), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Ј to J + { + FcFrom: uint16(0x0409), + FcTo0: uint8(0x49), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Љ to I + { + FcFrom: uint16(0x040A), + FcTo0: uint8(0x4e), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Њ to N + { + FcFrom: uint16(0x040B), + FcTo0: uint8(0x44), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Ћ to D + { + FcFrom: uint16(0x040C), + FcTo0: uint8(0x4b), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Ќ to K + { + FcFrom: uint16(0x040D), + FcTo0: uint8(0x49), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Ѝ to I + { + FcFrom: uint16(0x040E), + FcTo0: uint8(0x55), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Ў to U + { + FcFrom: uint16(0x040F), + FcTo0: uint8(0x44), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Џ to D + { + FcFrom: uint16(0x0410), + FcTo0: uint8(0x41), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // А to A + { + FcFrom: uint16(0x0411), + FcTo0: uint8(0x42), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Б to B + { + FcFrom: uint16(0x0412), + FcTo0: uint8(0x56), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // В to V + { + FcFrom: uint16(0x0413), + FcTo0: uint8(0x47), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Г to G + { + FcFrom: uint16(0x0414), + FcTo0: uint8(0x44), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Д to D + { + FcFrom: uint16(0x0415), + FcTo0: uint8(0x45), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Е to E + { + FcFrom: uint16(0x0416), + FcTo0: uint8(0x5a), + FcTo1: uint8(0x68), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Ж to Zh + { + FcFrom: uint16(0x0417), + FcTo0: uint8(0x5a), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // З to Z + { + FcFrom: uint16(0x0418), + FcTo0: uint8(0x49), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // И to I + { + FcFrom: uint16(0x0419), + FcTo0: uint8(0x49), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Й to I + { + FcFrom: uint16(0x041A), + FcTo0: uint8(0x4b), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // К to K + { + FcFrom: uint16(0x041B), + FcTo0: uint8(0x4c), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Л to L + { + FcFrom: uint16(0x041C), + FcTo0: uint8(0x4d), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // М to M + { + FcFrom: uint16(0x041D), + FcTo0: uint8(0x4e), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Н to N + { + FcFrom: uint16(0x041E), + FcTo0: uint8(0x4f), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // О to O + { + FcFrom: uint16(0x041F), + FcTo0: uint8(0x50), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // П to P + { + FcFrom: uint16(0x0420), + FcTo0: uint8(0x52), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Р to R + { + FcFrom: uint16(0x0421), + FcTo0: uint8(0x53), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // С to S + { + FcFrom: uint16(0x0422), + FcTo0: uint8(0x54), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Т to T + { + FcFrom: uint16(0x0423), + FcTo0: uint8(0x55), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // У to U + { + FcFrom: uint16(0x0424), + FcTo0: uint8(0x46), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Ф to F + { + FcFrom: uint16(0x0425), + FcTo0: uint8(0x4b), + FcTo1: uint8(0x68), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Х to Kh + { + FcFrom: uint16(0x0426), + FcTo0: uint8(0x54), + FcTo1: uint8(0x63), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Ц to Tc + { + FcFrom: uint16(0x0427), + FcTo0: uint8(0x43), + FcTo1: uint8(0x68), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Ч to Ch + { + FcFrom: uint16(0x0428), + FcTo0: uint8(0x53), + FcTo1: uint8(0x68), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Ш to Sh + { + FcFrom: uint16(0x0429), + FcTo0: uint8(0x53), + FcTo1: uint8(0x68), + FcTo2: uint8(0x63), + FcTo3: uint8(0x68)}, // Щ to Shch + { + FcFrom: uint16(0x042A), + FcTo0: uint8(0x61), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // to A + { + FcFrom: uint16(0x042B), + FcTo0: uint8(0x59), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Ы to Y + { + FcFrom: uint16(0x042C), + FcTo0: uint8(0x59), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // to Y + { + FcFrom: uint16(0x042D), + FcTo0: uint8(0x45), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Э to E + { + FcFrom: uint16(0x042E), + FcTo0: uint8(0x49), + FcTo1: uint8(0x75), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Ю to Iu + { + FcFrom: uint16(0x042F), + FcTo0: uint8(0x49), + FcTo1: uint8(0x61), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Я to Ia + { + FcFrom: uint16(0x0430), + FcTo0: uint8(0x61), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // а to a + { + FcFrom: uint16(0x0431), + FcTo0: uint8(0x62), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // б to b + { + FcFrom: uint16(0x0432), + FcTo0: uint8(0x76), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // в to v + { + FcFrom: uint16(0x0433), + FcTo0: uint8(0x67), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // г to g + { + FcFrom: uint16(0x0434), + FcTo0: uint8(0x64), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // д to d + { + FcFrom: uint16(0x0435), + FcTo0: uint8(0x65), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // е to e + { + FcFrom: uint16(0x0436), + FcTo0: uint8(0x7a), + FcTo1: uint8(0x68), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // ж to zh + { + FcFrom: uint16(0x0437), + FcTo0: uint8(0x7a), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // з to z + { + FcFrom: uint16(0x0438), + FcTo0: uint8(0x69), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // и to i + { + FcFrom: uint16(0x0439), + FcTo0: uint8(0x69), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // й to i + { + FcFrom: uint16(0x043A), + FcTo0: uint8(0x6b), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // к to k + { + FcFrom: uint16(0x043B), + FcTo0: uint8(0x6c), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // л to l + { + FcFrom: uint16(0x043C), + FcTo0: uint8(0x6d), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // м to m + { + FcFrom: uint16(0x043D), + FcTo0: uint8(0x6e), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // н to n + { + FcFrom: uint16(0x043E), + FcTo0: uint8(0x6f), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // о to o + { + FcFrom: uint16(0x043F), + FcTo0: uint8(0x70), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // п to p + { + FcFrom: uint16(0x0440), + FcTo0: uint8(0x72), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // р to r + { + FcFrom: uint16(0x0441), + FcTo0: uint8(0x73), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // с to s + { + FcFrom: uint16(0x0442), + FcTo0: uint8(0x74), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // т to t + { + FcFrom: uint16(0x0443), + FcTo0: uint8(0x75), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // у to u + { + FcFrom: uint16(0x0444), + FcTo0: uint8(0x66), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // ф to f + { + FcFrom: uint16(0x0445), + FcTo0: uint8(0x6b), + FcTo1: uint8(0x68), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // х to kh + { + FcFrom: uint16(0x0446), + FcTo0: uint8(0x74), + FcTo1: uint8(0x63), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // ц to tc + { + FcFrom: uint16(0x0447), + FcTo0: uint8(0x63), + FcTo1: uint8(0x68), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // ч to ch + { + FcFrom: uint16(0x0448), + FcTo0: uint8(0x73), + FcTo1: uint8(0x68), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // ш to sh + { + FcFrom: uint16(0x0449), + FcTo0: uint8(0x73), + FcTo1: uint8(0x68), + FcTo2: uint8(0x63), + FcTo3: uint8(0x68)}, // щ to shch + { + FcFrom: uint16(0x044A), + FcTo0: uint8(0x61), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // to a + { + FcFrom: uint16(0x044B), + FcTo0: uint8(0x79), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // ы to y + { + FcFrom: uint16(0x044C), + FcTo0: uint8(0x79), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // to y + { + FcFrom: uint16(0x044D), + FcTo0: uint8(0x65), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // э to e + { + FcFrom: uint16(0x044E), + FcTo0: uint8(0x69), + FcTo1: uint8(0x75), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // ю to iu + { + FcFrom: uint16(0x044F), + FcTo0: uint8(0x69), + FcTo1: uint8(0x61), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // я to ia + { + FcFrom: uint16(0x0450), + FcTo0: uint8(0x65), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // ѐ to e + { + FcFrom: uint16(0x0451), + FcTo0: uint8(0x65), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // ё to e + { + FcFrom: uint16(0x0452), + FcTo0: uint8(0x64), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // ђ to d + { + FcFrom: uint16(0x0453), + FcTo0: uint8(0x67), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // ѓ to g + { + FcFrom: uint16(0x0454), + FcTo0: uint8(0x65), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // є to e + { + FcFrom: uint16(0x0455), + FcTo0: uint8(0x7a), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // ѕ to z + { + FcFrom: uint16(0x0456), + FcTo0: uint8(0x69), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // і to i + { + FcFrom: uint16(0x0457), + FcTo0: uint8(0x69), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // ї to i + { + FcFrom: uint16(0x0458), + FcTo0: uint8(0x6a), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // ј to j + { + FcFrom: uint16(0x0459), + FcTo0: uint8(0x69), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // љ to i + { + FcFrom: uint16(0x045A), + FcTo0: uint8(0x6e), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // њ to n + { + FcFrom: uint16(0x045B), + FcTo0: uint8(0x64), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // ћ to d + { + FcFrom: uint16(0x045C), + FcTo0: uint8(0x6b), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // ќ to k + { + FcFrom: uint16(0x045D), + FcTo0: uint8(0x69), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // ѝ to i + { + FcFrom: uint16(0x045E), + FcTo0: uint8(0x75), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // ў to u + { + FcFrom: uint16(0x045F), + FcTo0: uint8(0x64), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // џ to d + { + FcFrom: uint16(0x1E02), + FcTo0: uint8(0x42), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Ḃ to B + { + FcFrom: uint16(0x1E03), + FcTo0: uint8(0x62), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // ḃ to b + { + FcFrom: uint16(0x1E0A), + FcTo0: uint8(0x44), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Ḋ to D + { + FcFrom: uint16(0x1E0B), + FcTo0: uint8(0x64), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // ḋ to d + { + FcFrom: uint16(0x1E1E), + FcTo0: uint8(0x46), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Ḟ to F + { + FcFrom: uint16(0x1E1F), + FcTo0: uint8(0x66), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // ḟ to f + { + FcFrom: uint16(0x1E40), + FcTo0: uint8(0x4D), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Ṁ to M + { + FcFrom: uint16(0x1E41), + FcTo0: uint8(0x6D), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // ṁ to m + { + FcFrom: uint16(0x1E56), + FcTo0: uint8(0x50), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Ṗ to P + { + FcFrom: uint16(0x1E57), + FcTo0: uint8(0x70), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // ṗ to p + { + FcFrom: uint16(0x1E60), + FcTo0: uint8(0x53), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Ṡ to S + { + FcFrom: uint16(0x1E61), + FcTo0: uint8(0x73), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // ṡ to s + { + FcFrom: uint16(0x1E6A), + FcTo0: uint8(0x54), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Ṫ to T + { + FcFrom: uint16(0x1E6B), + FcTo0: uint8(0x74), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // ṫ to t + { + FcFrom: uint16(0x1E80), + FcTo0: uint8(0x57), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Ẁ to W + { + FcFrom: uint16(0x1E81), + FcTo0: uint8(0x77), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // ẁ to w + { + FcFrom: uint16(0x1E82), + FcTo0: uint8(0x57), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Ẃ to W + { + FcFrom: uint16(0x1E83), + FcTo0: uint8(0x77), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // ẃ to w + { + FcFrom: uint16(0x1E84), + FcTo0: uint8(0x57), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Ẅ to W + { + FcFrom: uint16(0x1E85), + FcTo0: uint8(0x77), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // ẅ to w + { + FcFrom: uint16(0x1EF2), + FcTo0: uint8(0x59), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // Ỳ to Y + { + FcFrom: uint16(0x1EF3), + FcTo0: uint8(0x79), + FcTo1: uint8(0x00), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // ỳ to y + { + FcFrom: uint16(0xFB00), + FcTo0: uint8(0x66), + FcTo1: uint8(0x66), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // ff to ff + { + FcFrom: uint16(0xFB01), + FcTo0: uint8(0x66), + FcTo1: uint8(0x69), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // fi to fi + { + FcFrom: uint16(0xFB02), + FcTo0: uint8(0x66), + FcTo1: uint8(0x6C), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // fl to fl + { + FcFrom: uint16(0xFB05), + FcTo0: uint8(0x73), + FcTo1: uint8(0x74), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // ſt to st + { + FcFrom: uint16(0xFB06), + FcTo0: uint8(0x73), + FcTo1: uint8(0x74), + FcTo2: uint8(0x00), + FcTo3: uint8(0x00)}, // st to st } /* spellfix.c:1306:30 */ func spellfixFindTranslit(tls *libc.TLS, c int32, pxTop uintptr) uintptr { /* spellfix.c:1698:30: */ @@ -29000,26 +31363,46 @@ func spellfix1Rename(tls *libc.TLS, pVTab uintptr, zNew uintptr) int32 { /* spel } // A virtual table module that provides fuzzy search. -var spellfix1Module = sqlite3_module{FiVersion: 0, FxCreate: // iVersion -0, FxConnect:// xCreate - handle CREATE VIRTUAL TABLE -0, FxBestIndex:// xConnect - reconnected to an existing table -0, FxDisconnect:// xBestIndex - figure out how to do a query -0, FxDestroy:// xDisconnect - close a connection -0, FxOpen:// xDestroy - handle DROP TABLE -0, FxClose:// xOpen - open a cursor -0, FxFilter:// xClose - close a cursor -0, FxNext:// xFilter - configure scan constraints -0, FxEof:// xNext - advance a cursor -0, FxColumn:// xEof - check for end of scan -0, FxRowid:// xColumn - read data -0, FxUpdate:// xRowid - read data -0, FxBegin:// xUpdate -uintptr(0), FxSync:// xBegin -uintptr(0), FxCommit:// xSync -uintptr(0), FxRollback:// xCommit -uintptr(0), FxFindFunction:// xRollback -uintptr(0), FxRename:// xFindMethod -0, // xRename +var spellfix1Module = sqlite3_module{ + FiVersion: 0, + FxCreate:// iVersion + 0, + FxConnect:// xCreate - handle CREATE VIRTUAL TABLE + 0, + FxBestIndex:// xConnect - reconnected to an existing table + 0, + FxDisconnect:// xBestIndex - figure out how to do a query + 0, + FxDestroy:// xDisconnect - close a connection + 0, + FxOpen:// xDestroy - handle DROP TABLE + 0, + FxClose:// xOpen - open a cursor + 0, + FxFilter:// xClose - close a cursor + 0, + FxNext:// xFilter - configure scan constraints + 0, + FxEof:// xNext - advance a cursor + 0, + FxColumn:// xEof - check for end of scan + 0, + FxRowid:// xColumn - read data + 0, + FxUpdate:// xRowid - read data + 0, + FxBegin:// xUpdate + uintptr(0), + FxSync:// xBegin + uintptr(0), + FxCommit:// xSync + uintptr(0), + FxRollback:// xCommit + uintptr(0), + FxFindFunction:// xRollback + uintptr(0), + FxRename:// xFindMethod + 0, // xRename } /* spellfix.c:2991:23 */ // Register the various functions and the virtual table. @@ -30913,26 +33296,50 @@ func createUnionVtab(tls *libc.TLS, db uintptr) int32 { /* unionvtab.c:1329:12: return rc } -var unionModule = sqlite3_module{FiVersion: 0, FxCreate: // iVersion -0, FxConnect: 0, FxBestIndex: 0, FxDisconnect: // xBestIndex - query planner -0, FxDestroy: 0, FxOpen: 0, FxClose: // xOpen - open a cursor -0, FxFilter:// xClose - close a cursor -0, FxNext:// xFilter - configure scan constraints -0, FxEof:// xNext - advance a cursor -0, FxColumn:// xEof - check for end of scan -0, FxRowid:// xColumn - read data -0, FxUpdate:// xRowid - read data -uintptr(0), FxBegin:// xUpdate -uintptr(0), FxSync:// xBegin -uintptr(0), FxCommit:// xSync -uintptr(0), FxRollback:// xCommit -uintptr(0), FxFindFunction:// xRollback -uintptr(0), FxRename:// xFindMethod -uintptr(0), FxSavepoint:// xRename -uintptr(0), FxRelease:// xSavepoint -uintptr(0), FxRollbackTo:// xRelease -uintptr(0), FxShadowName:// xRollbackTo -uintptr(0), // xShadowName +var unionModule = sqlite3_module{ + FiVersion: 0, + FxCreate:// iVersion + 0, + FxConnect: 0, + FxBestIndex: 0, + FxDisconnect:// xBestIndex - query planner + 0, + FxDestroy: 0, + FxOpen: 0, + FxClose:// xOpen - open a cursor + 0, + FxFilter:// xClose - close a cursor + 0, + FxNext:// xFilter - configure scan constraints + 0, + FxEof:// xNext - advance a cursor + 0, + FxColumn:// xEof - check for end of scan + 0, + FxRowid:// xColumn - read data + 0, + FxUpdate:// xRowid - read data + uintptr(0), + FxBegin:// xUpdate + uintptr(0), + FxSync:// xBegin + uintptr(0), + FxCommit:// xSync + uintptr(0), + FxRollback:// xCommit + uintptr(0), + FxFindFunction:// xRollback + uintptr(0), + FxRename:// xFindMethod + uintptr(0), + FxSavepoint:// xRename + uintptr(0), + FxRelease:// xSavepoint + uintptr(0), + FxRollbackTo:// xRelease + uintptr(0), + FxShadowName:// xRollbackTo + uintptr(0), // xShadowName } /* unionvtab.c:1330:25 */ func sqlite3_unionvtab_init(tls *libc.TLS, db uintptr, pzErrMsg uintptr, pApi uintptr) int32 { /* unionvtab.c:1370:5: */ @@ -31136,21 +33543,41 @@ __3: // A virtual table module that provides read-only access to a // Tcl global variable namespace. -var wholenumberModule = sqlite3_module{FiVersion: 0, FxCreate: // iVersion -0, FxConnect: 0, FxBestIndex: 0, FxDisconnect: 0, FxDestroy: 0, FxOpen: 0, FxClose: // xOpen - open a cursor -0, FxFilter:// xClose - close a cursor -0, FxNext:// xFilter - configure scan constraints -0, FxEof:// xNext - advance a cursor -0, FxColumn:// xEof - check for end of scan -0, FxRowid:// xColumn - read data -0, FxUpdate:// xRowid - read data -uintptr(0), FxBegin:// xUpdate -uintptr(0), FxSync:// xBegin -uintptr(0), FxCommit:// xSync -uintptr(0), FxRollback:// xCommit -uintptr(0), FxFindFunction:// xRollback -uintptr(0), FxRename:// xFindMethod -uintptr(0), // xRename +var wholenumberModule = sqlite3_module{ + FiVersion: 0, + FxCreate:// iVersion + 0, + FxConnect: 0, + FxBestIndex: 0, + FxDisconnect: 0, + FxDestroy: 0, + FxOpen: 0, + FxClose:// xOpen - open a cursor + 0, + FxFilter:// xClose - close a cursor + 0, + FxNext:// xFilter - configure scan constraints + 0, + FxEof:// xNext - advance a cursor + 0, + FxColumn:// xEof - check for end of scan + 0, + FxRowid:// xColumn - read data + 0, + FxUpdate:// xRowid - read data + uintptr(0), + FxBegin:// xUpdate + uintptr(0), + FxSync:// xBegin + uintptr(0), + FxCommit:// xSync + uintptr(0), + FxRollback:// xCommit + uintptr(0), + FxFindFunction:// xRollback + uintptr(0), + FxRename:// xFindMethod + uintptr(0), // xRename } /* wholenumber.c:236:23 */ func sqlite3_wholenumber_init(tls *libc.TLS, db uintptr, pzErrMsg uintptr, pApi uintptr) int32 { /* wholenumber.c:264:5: */ @@ -34390,26 +36817,46 @@ func zipfileRegister(tls *libc.TLS, db uintptr) int32 { /* zipfile.c:2140:12: */ return rc } -var zipfileModule = sqlite3_module{FiVersion: 1, FxCreate: // iVersion -0, FxConnect:// xCreate -0, FxBestIndex:// xConnect -0, FxDisconnect:// xBestIndex -0, FxDestroy:// xDisconnect -0, FxOpen:// xDestroy -0, FxClose:// xOpen - open a cursor -0, FxFilter:// xClose - close a cursor -0, FxNext:// xFilter - configure scan constraints -0, FxEof:// xNext - advance a cursor -0, FxColumn:// xEof - check for end of scan -0, FxRowid:// xColumn - read data -uintptr(0), FxUpdate:// xRowid - read data -0, FxBegin:// xUpdate -0, FxSync:// xBegin -uintptr(0), FxCommit:// xSync -0, FxRollback:// xCommit -0, FxFindFunction:// xRollback -0, FxRename:// xFindMethod -uintptr(0), // xRename +var zipfileModule = sqlite3_module{ + FiVersion: 1, + FxCreate:// iVersion + 0, + FxConnect:// xCreate + 0, + FxBestIndex:// xConnect + 0, + FxDisconnect:// xBestIndex + 0, + FxDestroy:// xDisconnect + 0, + FxOpen:// xDestroy + 0, + FxClose:// xOpen - open a cursor + 0, + FxFilter:// xClose - close a cursor + 0, + FxNext:// xFilter - configure scan constraints + 0, + FxEof:// xNext - advance a cursor + 0, + FxColumn:// xEof - check for end of scan + 0, + FxRowid:// xColumn - read data + uintptr(0), + FxUpdate:// xRowid - read data + 0, + FxBegin:// xUpdate + 0, + FxSync:// xBegin + uintptr(0), + FxCommit:// xSync + 0, + FxRollback:// xCommit + 0, + FxFindFunction:// xRollback + 0, + FxRename:// xFindMethod + uintptr(0), // xRename } /* zipfile.c:2141:25 */ func sqlite3_zipfile_init(tls *libc.TLS, db uintptr, pzErrMsg uintptr, pApi uintptr) int32 { /* zipfile.c:2180:5: */ @@ -34455,20 +36902,59 @@ func test_sqlite3rbu_cmd(tls *libc.TLS, clientData ClientData, interp uintptr, o var ret int32 = 0 var pRbu uintptr = clientData *(*[14]RbuCmd)(unsafe.Pointer(bp + 24 /* aCmd */)) = [14]RbuCmd{ - {FzName: ts + 9942 /* "step" */, FnArg: 2, FzUsage: ts + 488 /* "" */}, // 0 - {FzName: ts + 9947 /* "close" */, FnArg: 2, FzUsage: ts + 488 /* "" */}, // 1 - {FzName: ts + 9953 /* "create_rbu_delta" */, FnArg: 2, FzUsage: ts + 488 /* "" */}, // 2 - {FzName: ts + 9970 /* "savestate" */, FnArg: 2, FzUsage: ts + 488 /* "" */}, // 3 - {FzName: ts + 9980 /* "dbMain_eval" */, FnArg: 3, FzUsage: ts + 9992 /* "SQL" */}, // 4 - {FzName: ts + 9996 /* "bp_progress" */, FnArg: 2, FzUsage: ts + 488 /* "" */}, // 5 - {FzName: ts + 10008 /* "db" */, FnArg: 3, FzUsage: ts + 10011 /* "RBU" */}, // 6 - {FzName: ts + 10015 /* "state" */, FnArg: 2, FzUsage: ts + 488 /* "" */}, // 7 - {FzName: ts + 10021 /* "progress" */, FnArg: 2, FzUsage: ts + 488 /* "" */}, // 8 - {FzName: ts + 10030 /* "close_no_error" */, FnArg: 2, FzUsage: ts + 488 /* "" */}, // 9 - {FzName: ts + 10045 /* "temp_size_limit" */, FnArg: 3, FzUsage: ts + 10061 /* "LIMIT" */}, // 10 - {FzName: ts + 10067 /* "temp_size" */, FnArg: 2, FzUsage: ts + 488 /* "" */}, // 11 - {FzName: ts + 10077 /* "dbRbu_eval" */, FnArg: 3, FzUsage: ts + 9992 /* "SQL" */}, // 12 - {FzName: uintptr(0), FnArg: 0, FzUsage: uintptr(0)}, + { + FzName: ts + 9942, /* "step" */ + FnArg: 2, + FzUsage: ts + 488 /* "" */}, // 0 + { + FzName: ts + 9947, /* "close" */ + FnArg: 2, + FzUsage: ts + 488 /* "" */}, // 1 + { + FzName: ts + 9953, /* "create_rbu_delta" */ + FnArg: 2, + FzUsage: ts + 488 /* "" */}, // 2 + { + FzName: ts + 9970, /* "savestate" */ + FnArg: 2, + FzUsage: ts + 488 /* "" */}, // 3 + { + FzName: ts + 9980, /* "dbMain_eval" */ + FnArg: 3, + FzUsage: ts + 9992 /* "SQL" */}, // 4 + { + FzName: ts + 9996, /* "bp_progress" */ + FnArg: 2, + FzUsage: ts + 488 /* "" */}, // 5 + { + FzName: ts + 10008, /* "db" */ + FnArg: 3, + FzUsage: ts + 10011 /* "RBU" */}, // 6 + { + FzName: ts + 10015, /* "state" */ + FnArg: 2, + FzUsage: ts + 488 /* "" */}, // 7 + { + FzName: ts + 10021, /* "progress" */ + FnArg: 2, + FzUsage: ts + 488 /* "" */}, // 8 + { + FzName: ts + 10030, /* "close_no_error" */ + FnArg: 2, + FzUsage: ts + 488 /* "" */}, // 9 + { + FzName: ts + 10045, /* "temp_size_limit" */ + FnArg: 3, + FzUsage: ts + 10061 /* "LIMIT" */}, // 10 + { + FzName: ts + 10067, /* "temp_size" */ + FnArg: 2, + FzUsage: ts + 488 /* "" */}, // 11 + { + FzName: ts + 10077, /* "dbRbu_eval" */ + FnArg: 3, + FzUsage: ts + 9992 /* "SQL" */}, // 12 + {}, } // var iCmd int32 at bp+360, 4 @@ -34780,11 +37266,21 @@ var aObjCmd = [5]struct { FzName uintptr FxProc uintptr }{ - {FzName: ts + 10247 /* "sqlite3rbu" */, FxProc: 0}, - {FzName: ts + 10258 /* "sqlite3rbu_vacuu..." */, FxProc: 0}, - {FzName: ts + 10276 /* "sqlite3rbu_creat..." */, FxProc: 0}, - {FzName: ts + 10298 /* "sqlite3rbu_destr..." */, FxProc: 0}, - {FzName: ts + 10321 /* "sqlite3rbu_inter..." */, FxProc: 0}, + { + FzName: ts + 10247, /* "sqlite3rbu" */ + FxProc: 0}, + { + FzName: ts + 10258, /* "sqlite3rbu_vacuu..." */ + FxProc: 0}, + { + FzName: ts + 10276, /* "sqlite3rbu_creat..." */ + FxProc: 0}, + { + FzName: ts + 10298, /* "sqlite3rbu_destr..." */ + FxProc: 0}, + { + FzName: ts + 10321, /* "sqlite3rbu_inter..." */ + FxProc: 0}, } /* test_rbu.c:369:5 */ // 2014-09-08 @@ -35890,21 +38386,36 @@ func incrblobHandle(tls *libc.TLS, instanceData ClientData, dir int32, hPtr uint return 1 } -var IncrblobChannelType = Tcl_ChannelType{FtypeName: ts + 10346 /* "incrblob" */, Fversion: // typeName -uintptr(0x2), FcloseProc:// version -0, FinputProc:// closeProc -0, FoutputProc:// inputProc -0, FseekProc:// outputProc -0, FsetOptionProc:// seekProc -uintptr(0), FgetOptionProc:// setOptionProc -uintptr(0), FwatchProc:// getOptionProc -0, FgetHandleProc:// watchProc (this is a no-op) -0, Fclose2Proc:// getHandleProc (always returns error) -uintptr(0), FblockModeProc:// close2Proc -uintptr(0), FflushProc:// blockModeProc -uintptr(0), FhandlerProc:// flushProc -uintptr(0), FwideSeekProc:// handlerProc -uintptr(0), // wideSeekProc +var IncrblobChannelType = Tcl_ChannelType{ + FtypeName: ts + 10346, /* "incrblob" */ + Fversion:// typeName + uintptr(0x2), + FcloseProc:// version + 0, + FinputProc:// closeProc + 0, + FoutputProc:// inputProc + 0, + FseekProc:// outputProc + 0, + FsetOptionProc:// seekProc + uintptr(0), + FgetOptionProc:// setOptionProc + uintptr(0), + FwatchProc:// getOptionProc + 0, + FgetHandleProc:// watchProc (this is a no-op) + 0, + Fclose2Proc:// getHandleProc (always returns error) + uintptr(0), + FblockModeProc:// close2Proc + uintptr(0), + FflushProc:// blockModeProc + uintptr(0), + FhandlerProc:// flushProc + uintptr(0), + FwideSeekProc:// handlerProc + uintptr(0), // wideSeekProc } /* tclsqlite.c:369:24 */ // Create a new incrblob channel. @@ -40528,22 +43039,54 @@ var DB_strs = [42]uintptr{ ts + 13220 /* "version" */, ts + 13228 /* "wal_hook" */, uintptr(0), } /* tclsqlite.c:1916:21 */ var aDbConfig = [16]DbConfigChoices{ - {FzName: ts + 13237 /* "defensive" */, Fop: 1010}, - {FzName: ts + 13247 /* "dqs_ddl" */, Fop: 1014}, - {FzName: ts + 13255 /* "dqs_dml" */, Fop: 1013}, - {FzName: ts + 13263 /* "enable_fkey" */, Fop: 1002}, - {FzName: ts + 13275 /* "enable_qpsg" */, Fop: 1007}, - {FzName: ts + 13287 /* "enable_trigger" */, Fop: 1003}, - {FzName: ts + 13302 /* "enable_view" */, Fop: 1015}, - {FzName: ts + 13314 /* "fts3_tokenizer" */, Fop: 1004}, - {FzName: ts + 13329 /* "legacy_alter_tab..." */, Fop: 1012}, - {FzName: ts + 13348 /* "legacy_file_form..." */, Fop: 1016}, - {FzName: ts + 13367 /* "load_extension" */, Fop: 1005}, - {FzName: ts + 13382 /* "no_ckpt_on_close" */, Fop: 1006}, - {FzName: ts + 13399 /* "reset_database" */, Fop: 1009}, - {FzName: ts + 13414 /* "trigger_eqp" */, Fop: 1008}, - {FzName: ts + 13426 /* "trusted_schema" */, Fop: 1017}, - {FzName: ts + 13441 /* "writable_schema" */, Fop: 1011}, + { + FzName: ts + 13237, /* "defensive" */ + Fop: 1010}, + { + FzName: ts + 13247, /* "dqs_ddl" */ + Fop: 1014}, + { + FzName: ts + 13255, /* "dqs_dml" */ + Fop: 1013}, + { + FzName: ts + 13263, /* "enable_fkey" */ + Fop: 1002}, + { + FzName: ts + 13275, /* "enable_qpsg" */ + Fop: 1007}, + { + FzName: ts + 13287, /* "enable_trigger" */ + Fop: 1003}, + { + FzName: ts + 13302, /* "enable_view" */ + Fop: 1015}, + { + FzName: ts + 13314, /* "fts3_tokenizer" */ + Fop: 1004}, + { + FzName: ts + 13329, /* "legacy_alter_tab..." */ + Fop: 1012}, + { + FzName: ts + 13348, /* "legacy_file_form..." */ + Fop: 1016}, + { + FzName: ts + 13367, /* "load_extension" */ + Fop: 1005}, + { + FzName: ts + 13382, /* "no_ckpt_on_close" */ + Fop: 1006}, + { + FzName: ts + 13399, /* "reset_database" */ + Fop: 1009}, + { + FzName: ts + 13414, /* "trigger_eqp" */ + Fop: 1008}, + { + FzName: ts + 13426, /* "trusted_schema" */ + Fop: 1017}, + { + FzName: ts + 13441, /* "writable_schema" */ + Fop: 1011}, } /* tclsqlite.c:2343:7 */ var TTYPE_strs = [5]uintptr{ ts + 13457 /* "statement" */, ts + 13092 /* "profile" */, ts + 13467 /* "row" */, ts + 9947 /* "close" */, uintptr(0), @@ -44896,12 +47439,24 @@ func test_create_function_v2(tls *libc.TLS, clientData ClientData, interp uintpt var rc int32 *(*[6]EncTable)(unsafe.Pointer(bp + 32 /* aEnc */)) = [6]EncTable{ - {FzEnc: ts + 15225 /* "utf8" */, Fenc: 1}, - {FzEnc: ts + 15230 /* "utf16" */, Fenc: 4}, - {FzEnc: ts + 15236 /* "utf16le" */, Fenc: 2}, - {FzEnc: ts + 15244 /* "utf16be" */, Fenc: 3}, - {FzEnc: ts + 12285 /* "any" */, Fenc: 5}, - {FzEnc: ts + 13695 /* "0" */, Fenc: 0}, + { + FzEnc: ts + 15225, /* "utf8" */ + Fenc: 1}, + { + FzEnc: ts + 15230, /* "utf16" */ + Fenc: 4}, + { + FzEnc: ts + 15236, /* "utf16le" */ + Fenc: 2}, + { + FzEnc: ts + 15244, /* "utf16be" */ + Fenc: 3}, + { + FzEnc: ts + 12285, /* "any" */ + Fenc: 5}, + { + FzEnc: ts + 13695, /* "0" */ + Fenc: 0}, } if (objc < 5) || ((objc % 2) == 0) { @@ -45316,13 +47871,27 @@ var aOp = [7]struct { Fop int32 _ [4]byte }{ - {FzName: ts + 15537 /* "SQLITE_STMTSTATU..." */, Fop: 1}, - {FzName: ts + 15569 /* "SQLITE_STMTSTATU..." */, Fop: 2}, - {FzName: ts + 15592 /* "SQLITE_STMTSTATU..." */, Fop: 3}, - {FzName: ts + 15620 /* "SQLITE_STMTSTATU..." */, Fop: 4}, - {FzName: ts + 15646 /* "SQLITE_STMTSTATU..." */, Fop: 5}, - {FzName: ts + 15674 /* "SQLITE_STMTSTATU..." */, Fop: 6}, - {FzName: ts + 15696 /* "SQLITE_STMTSTATU..." */, Fop: 99}, + { + FzName: ts + 15537, /* "SQLITE_STMTSTATU..." */ + Fop: 1}, + { + FzName: ts + 15569, /* "SQLITE_STMTSTATU..." */ + Fop: 2}, + { + FzName: ts + 15592, /* "SQLITE_STMTSTATU..." */ + Fop: 3}, + { + FzName: ts + 15620, /* "SQLITE_STMTSTATU..." */ + Fop: 4}, + { + FzName: ts + 15646, /* "SQLITE_STMTSTATU..." */ + Fop: 5}, + { + FzName: ts + 15674, /* "SQLITE_STMTSTATU..." */ + Fop: 6}, + { + FzName: ts + 15696, /* "SQLITE_STMTSTATU..." */ + Fop: 99}, } /* test1.c:2158:5 */ // Usage: sqlite3_config_sorterref @@ -46893,16 +49462,46 @@ var aSpecialFp = [10]struct { FiUpper uint32 FiLower uint32 }{ - {FzName: ts + 16146 /* "NaN" */, FiUpper: uint32(0x7fffffff), FiLower: 0xffffffff}, - {FzName: ts + 16150 /* "SNaN" */, FiUpper: uint32(0x7ff7ffff), FiLower: 0xffffffff}, - {FzName: ts + 16155 /* "-NaN" */, FiUpper: 0xffffffff, FiLower: 0xffffffff}, - {FzName: ts + 16160 /* "-SNaN" */, FiUpper: 0xfff7ffff, FiLower: 0xffffffff}, - {FzName: ts + 16166 /* "+Inf" */, FiUpper: uint32(0x7ff00000), FiLower: uint32(0x00000000)}, - {FzName: ts + 16171 /* "-Inf" */, FiUpper: 0xfff00000, FiLower: uint32(0x00000000)}, - {FzName: ts + 16176 /* "Epsilon" */, FiUpper: uint32(0x00000000), FiLower: uint32(0x00000001)}, - {FzName: ts + 16184 /* "-Epsilon" */, FiUpper: 0x80000000, FiLower: uint32(0x00000001)}, - {FzName: ts + 16193 /* "NaN0" */, FiUpper: uint32(0x7ff80000), FiLower: uint32(0x00000000)}, - {FzName: ts + 16198 /* "-NaN0" */, FiUpper: 0xfff80000, FiLower: uint32(0x00000000)}, + { + FzName: ts + 16146, /* "NaN" */ + FiUpper: uint32(0x7fffffff), + FiLower: 0xffffffff}, + { + FzName: ts + 16150, /* "SNaN" */ + FiUpper: uint32(0x7ff7ffff), + FiLower: 0xffffffff}, + { + FzName: ts + 16155, /* "-NaN" */ + FiUpper: 0xffffffff, + FiLower: 0xffffffff}, + { + FzName: ts + 16160, /* "-SNaN" */ + FiUpper: 0xfff7ffff, + FiLower: 0xffffffff}, + { + FzName: ts + 16166, /* "+Inf" */ + FiUpper: uint32(0x7ff00000), + FiLower: uint32(0x00000000)}, + { + FzName: ts + 16171, /* "-Inf" */ + FiUpper: 0xfff00000, + FiLower: uint32(0x00000000)}, + { + FzName: ts + 16176, /* "Epsilon" */ + FiUpper: uint32(0x00000000), + FiLower: uint32(0x00000001)}, + { + FzName: ts + 16184, /* "-Epsilon" */ + FiUpper: 0x80000000, + FiLower: uint32(0x00000001)}, + { + FzName: ts + 16193, /* "NaN0" */ + FiUpper: uint32(0x7ff80000), + FiLower: uint32(0x00000000)}, + { + FzName: ts + 16198, /* "-NaN0" */ + FiUpper: 0xfff80000, + FiLower: uint32(0x00000000)}, } /* test1.c:3724:5 */ // Usage: sqlite3_bind_null STMT N @@ -47839,26 +50438,64 @@ func test_open_v2(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, // var iFlag int32 at bp+352, 4 *(*[20]OpenFlag)(unsafe.Pointer(bp + 32 /* aFlag */)) = [20]OpenFlag{ - {FzFlag: ts + 16433 /* "SQLITE_OPEN_READ..." */, Fflag: 0x00000001}, - {FzFlag: ts + 16454 /* "SQLITE_OPEN_READ..." */, Fflag: 0x00000002}, - {FzFlag: ts + 16476 /* "SQLITE_OPEN_CREA..." */, Fflag: 0x00000004}, - {FzFlag: ts + 16495 /* "SQLITE_OPEN_DELE..." */, Fflag: 0x00000008}, - {FzFlag: ts + 16521 /* "SQLITE_OPEN_EXCL..." */, Fflag: 0x00000010}, - {FzFlag: ts + 16543 /* "SQLITE_OPEN_AUTO..." */, Fflag: 0x00000020}, - {FzFlag: ts + 16565 /* "SQLITE_OPEN_MAIN..." */, Fflag: 0x00000100}, - {FzFlag: ts + 16585 /* "SQLITE_OPEN_TEMP..." */, Fflag: 0x00000200}, - {FzFlag: ts + 16605 /* "SQLITE_OPEN_TRAN..." */, Fflag: 0x00000400}, - {FzFlag: ts + 16630 /* "SQLITE_OPEN_MAIN..." */, Fflag: 0x00000800}, - {FzFlag: ts + 16655 /* "SQLITE_OPEN_TEMP..." */, Fflag: 0x00001000}, - {FzFlag: ts + 16680 /* "SQLITE_OPEN_SUBJ..." */, Fflag: 0x00002000}, - {FzFlag: ts + 16703 /* "SQLITE_OPEN_SUPE..." */, Fflag: 0x00004000}, - {FzFlag: ts + 16729 /* "SQLITE_OPEN_NOMU..." */, Fflag: 0x00008000}, - {FzFlag: ts + 16749 /* "SQLITE_OPEN_FULL..." */, Fflag: 0x00010000}, - {FzFlag: ts + 16771 /* "SQLITE_OPEN_SHAR..." */, Fflag: 0x00020000}, - {FzFlag: ts + 16795 /* "SQLITE_OPEN_PRIV..." */, Fflag: 0x00040000}, - {FzFlag: ts + 16820 /* "SQLITE_OPEN_WAL" */, Fflag: 0x00080000}, - {FzFlag: ts + 16836 /* "SQLITE_OPEN_URI" */, Fflag: 0x00000040}, - {FzFlag: uintptr(0), Fflag: 0}, + { + FzFlag: ts + 16433, /* "SQLITE_OPEN_READ..." */ + Fflag: 0x00000001}, + { + FzFlag: ts + 16454, /* "SQLITE_OPEN_READ..." */ + Fflag: 0x00000002}, + { + FzFlag: ts + 16476, /* "SQLITE_OPEN_CREA..." */ + Fflag: 0x00000004}, + { + FzFlag: ts + 16495, /* "SQLITE_OPEN_DELE..." */ + Fflag: 0x00000008}, + { + FzFlag: ts + 16521, /* "SQLITE_OPEN_EXCL..." */ + Fflag: 0x00000010}, + { + FzFlag: ts + 16543, /* "SQLITE_OPEN_AUTO..." */ + Fflag: 0x00000020}, + { + FzFlag: ts + 16565, /* "SQLITE_OPEN_MAIN..." */ + Fflag: 0x00000100}, + { + FzFlag: ts + 16585, /* "SQLITE_OPEN_TEMP..." */ + Fflag: 0x00000200}, + { + FzFlag: ts + 16605, /* "SQLITE_OPEN_TRAN..." */ + Fflag: 0x00000400}, + { + FzFlag: ts + 16630, /* "SQLITE_OPEN_MAIN..." */ + Fflag: 0x00000800}, + { + FzFlag: ts + 16655, /* "SQLITE_OPEN_TEMP..." */ + Fflag: 0x00001000}, + { + FzFlag: ts + 16680, /* "SQLITE_OPEN_SUBJ..." */ + Fflag: 0x00002000}, + { + FzFlag: ts + 16703, /* "SQLITE_OPEN_SUPE..." */ + Fflag: 0x00004000}, + { + FzFlag: ts + 16729, /* "SQLITE_OPEN_NOMU..." */ + Fflag: 0x00008000}, + { + FzFlag: ts + 16749, /* "SQLITE_OPEN_FULL..." */ + Fflag: 0x00010000}, + { + FzFlag: ts + 16771, /* "SQLITE_OPEN_SHAR..." */ + Fflag: 0x00020000}, + { + FzFlag: ts + 16795, /* "SQLITE_OPEN_PRIV..." */ + Fflag: 0x00040000}, + { + FzFlag: ts + 16820, /* "SQLITE_OPEN_WAL" */ + Fflag: 0x00080000}, + { + FzFlag: ts + 16836, /* "SQLITE_OPEN_URI" */ + Fflag: 0x00000040}, + {}, } rc = tcl.XTcl_GetIndexFromObjStruct(tls, interp, *(*uintptr)(unsafe.Pointer(*(*uintptr)(unsafe.Pointer(bp + 24 /* apFlag */)) + uintptr(i)*8)), bp+32 /* &aFlag[0] */, int32(unsafe.Sizeof(OpenFlag{})), ts+16852 /* "flag" */, 0, bp+352 /* &iFlag */) @@ -49311,22 +51948,50 @@ var aId = [14]struct { Fid int32 _ [4]byte }{ - {FzName: ts + 17184 /* "SQLITE_LIMIT_LEN..." */, Fid: 0}, - {FzName: ts + 17204 /* "SQLITE_LIMIT_SQL..." */, Fid: 1}, - {FzName: ts + 17228 /* "SQLITE_LIMIT_COL..." */, Fid: 2}, - {FzName: ts + 17248 /* "SQLITE_LIMIT_EXP..." */, Fid: 3}, - {FzName: ts + 17272 /* "SQLITE_LIMIT_COM..." */, Fid: 4}, - {FzName: ts + 17301 /* "SQLITE_LIMIT_VDB..." */, Fid: 5}, - {FzName: ts + 17322 /* "SQLITE_LIMIT_FUN..." */, Fid: 6}, - {FzName: ts + 17348 /* "SQLITE_LIMIT_ATT..." */, Fid: 7}, - {FzName: ts + 17370 /* "SQLITE_LIMIT_LIK..." */, Fid: 8}, - {FzName: ts + 17403 /* "SQLITE_LIMIT_VAR..." */, Fid: 9}, - {FzName: ts + 17432 /* "SQLITE_LIMIT_TRI..." */, Fid: 10}, - {FzName: ts + 17459 /* "SQLITE_LIMIT_WOR..." */, Fid: 11}, + { + FzName: ts + 17184, /* "SQLITE_LIMIT_LEN..." */ + Fid: 0}, + { + FzName: ts + 17204, /* "SQLITE_LIMIT_SQL..." */ + Fid: 1}, + { + FzName: ts + 17228, /* "SQLITE_LIMIT_COL..." */ + Fid: 2}, + { + FzName: ts + 17248, /* "SQLITE_LIMIT_EXP..." */ + Fid: 3}, + { + FzName: ts + 17272, /* "SQLITE_LIMIT_COM..." */ + Fid: 4}, + { + FzName: ts + 17301, /* "SQLITE_LIMIT_VDB..." */ + Fid: 5}, + { + FzName: ts + 17322, /* "SQLITE_LIMIT_FUN..." */ + Fid: 6}, + { + FzName: ts + 17348, /* "SQLITE_LIMIT_ATT..." */ + Fid: 7}, + { + FzName: ts + 17370, /* "SQLITE_LIMIT_LIK..." */ + Fid: 8}, + { + FzName: ts + 17403, /* "SQLITE_LIMIT_VAR..." */ + Fid: 9}, + { + FzName: ts + 17432, /* "SQLITE_LIMIT_TRI..." */ + Fid: 10}, + { + FzName: ts + 17459, /* "SQLITE_LIMIT_WOR..." */ + Fid: 11}, // Out of range test cases - {FzName: ts + 17487 /* "SQLITE_LIMIT_TOO..." */, Fid: -1}, - {FzName: ts + 17509 /* "SQLITE_LIMIT_TOO..." */, Fid: (11 + 1)}, + { + FzName: ts + 17487, /* "SQLITE_LIMIT_TOO..." */ + Fid: -1}, + { + FzName: ts + 17509, /* "SQLITE_LIMIT_TOO..." */ + Fid: (11 + 1)}, } /* test1.c:6316:5 */ // tclcmd: save_prng_state @@ -49630,7 +52295,7 @@ type LogCallback = struct { } /* test1.c:6704:8 */ // tclcmd: test_sqlite3_log ?SCRIPT? -var logcallback = LogCallback{FpInterp: uintptr(0), FpObj: uintptr(0)} /* test1.c:6707:3 */ +var logcallback = LogCallback{} /* test1.c:6707:3 */ func xLogcallback(tls *libc.TLS, unused uintptr, err int32, zMsg uintptr) { /* test1.c:6708:13: */ var pNew uintptr = tcl.XTcl_DuplicateObj(tls, logcallback.FpObj) (*Tcl_Obj)(unsafe.Pointer(pNew)).FrefCount++ @@ -49775,10 +52440,18 @@ func test_test_control(tls *libc.TLS, clientData uintptr, interp uintptr, objc i defer tls.Free(184) *(*[4]Verb)(unsafe.Pointer(bp + 64 /* aVerb */)) = [4]Verb{ - {FzName: ts + 17693 /* "SQLITE_TESTCTRL_..." */, Fi: 18}, - {FzName: ts + 17725 /* "SQLITE_TESTCTRL_..." */, Fi: 24}, - {FzName: ts + 17753 /* "SQLITE_TESTCTRL_..." */, Fi: 25}, - {FzName: ts + 17778 /* "SQLITE_TESTCTRL_..." */, Fi: 17}, + { + FzName: ts + 17693, /* "SQLITE_TESTCTRL_..." */ + Fi: 18}, + { + FzName: ts + 17725, /* "SQLITE_TESTCTRL_..." */ + Fi: 24}, + { + FzName: ts + 17753, /* "SQLITE_TESTCTRL_..." */ + Fi: 25}, + { + FzName: ts + 17778, /* "SQLITE_TESTCTRL_..." */ + Fi: 17}, } // var iVerb int32 at bp+128, 4 @@ -50057,19 +52730,45 @@ var aOpt = [13]struct { Fmask int32 _ [4]byte }{ - {FzOptName: ts + 17983 /* "all" */, Fmask: 0xffff}, - {FzOptName: ts + 17987 /* "none" */, Fmask: 0}, - {FzOptName: ts + 17992 /* "query-flattener" */, Fmask: 0x0001}, - {FzOptName: ts + 18008 /* "groupby-order" */, Fmask: 0x0004}, - {FzOptName: ts + 18022 /* "factor-constants" */, Fmask: 0x0008}, - {FzOptName: ts + 18039 /* "distinct-opt" */, Fmask: 0x0010}, - {FzOptName: ts + 18052 /* "cover-idx-scan" */, Fmask: 0x0020}, - {FzOptName: ts + 18067 /* "order-by-idx-joi..." */, Fmask: 0x0040}, - {FzOptName: ts + 18085 /* "transitive" */, Fmask: 0x0080}, - {FzOptName: ts + 18096 /* "omit-noop-join" */, Fmask: 0x0100}, - {FzOptName: ts + 18111 /* "stat4" */, Fmask: 0x0800}, - {FzOptName: ts + 18117 /* "skip-scan" */, Fmask: 0x4000}, - {FzOptName: ts + 18127 /* "push-down" */, Fmask: 0x1000}, + { + FzOptName: ts + 17983, /* "all" */ + Fmask: 0xffff}, + { + FzOptName: ts + 17987, /* "none" */ + Fmask: 0}, + { + FzOptName: ts + 17992, /* "query-flattener" */ + Fmask: 0x0001}, + { + FzOptName: ts + 18008, /* "groupby-order" */ + Fmask: 0x0004}, + { + FzOptName: ts + 18022, /* "factor-constants" */ + Fmask: 0x0008}, + { + FzOptName: ts + 18039, /* "distinct-opt" */ + Fmask: 0x0010}, + { + FzOptName: ts + 18052, /* "cover-idx-scan" */ + Fmask: 0x0020}, + { + FzOptName: ts + 18067, /* "order-by-idx-joi..." */ + Fmask: 0x0040}, + { + FzOptName: ts + 18085, /* "transitive" */ + Fmask: 0x0080}, + { + FzOptName: ts + 18096, /* "omit-noop-join" */ + Fmask: 0x0100}, + { + FzOptName: ts + 18111, /* "stat4" */ + Fmask: 0x0800}, + { + FzOptName: ts + 18117, /* "skip-scan" */ + Fmask: 0x4000}, + { + FzOptName: ts + 18127, /* "push-down" */ + Fmask: 0x1000}, } /* test1.c:7224:5 */ // load_static_extension DB NAME ... @@ -50129,27 +52828,69 @@ var aExtension = [21]struct { FzExtName uintptr FpInit uintptr }{ - {FzExtName: ts + 18198 /* "amatch" */, FpInit: 0}, - {FzExtName: ts + 3862 /* "carray" */, FpInit: 0}, - {FzExtName: ts + 18205 /* "closure" */, FpInit: 0}, - {FzExtName: ts + 4506 /* "csv" */, FpInit: 0}, - {FzExtName: ts + 4529 /* "decimal" */, FpInit: 0}, - {FzExtName: ts + 4587 /* "eval" */, FpInit: 0}, - {FzExtName: ts + 4665 /* "explain" */, FpInit: 0}, - {FzExtName: ts + 18213 /* "fileio" */, FpInit: 0}, - {FzExtName: ts + 5174 /* "fuzzer" */, FpInit: 0}, - {FzExtName: ts + 5198 /* "ieee754" */, FpInit: 0}, - {FzExtName: ts + 18220 /* "nextchar" */, FpInit: 0}, - {FzExtName: ts + 5778 /* "percentile" */, FpInit: 0}, - {FzExtName: ts + 5853 /* "prefixes" */, FpInit: 0}, - {FzExtName: ts + 6165 /* "regexp" */, FpInit: 0}, - {FzExtName: ts + 6172 /* "remember" */, FpInit: 0}, - {FzExtName: ts + 18229 /* "series" */, FpInit: 0}, - {FzExtName: ts + 18236 /* "spellfix" */, FpInit: 0}, - {FzExtName: ts + 18245 /* "totype" */, FpInit: 0}, - {FzExtName: ts + 8189 /* "unionvtab" */, FpInit: 0}, - {FzExtName: ts + 8731 /* "wholenumber" */, FpInit: 0}, - {FzExtName: ts + 8834 /* "zipfile" */, FpInit: 0}, + { + FzExtName: ts + 18198, /* "amatch" */ + FpInit: 0}, + { + FzExtName: ts + 3862, /* "carray" */ + FpInit: 0}, + { + FzExtName: ts + 18205, /* "closure" */ + FpInit: 0}, + { + FzExtName: ts + 4506, /* "csv" */ + FpInit: 0}, + { + FzExtName: ts + 4529, /* "decimal" */ + FpInit: 0}, + { + FzExtName: ts + 4587, /* "eval" */ + FpInit: 0}, + { + FzExtName: ts + 4665, /* "explain" */ + FpInit: 0}, + { + FzExtName: ts + 18213, /* "fileio" */ + FpInit: 0}, + { + FzExtName: ts + 5174, /* "fuzzer" */ + FpInit: 0}, + { + FzExtName: ts + 5198, /* "ieee754" */ + FpInit: 0}, + { + FzExtName: ts + 18220, /* "nextchar" */ + FpInit: 0}, + { + FzExtName: ts + 5778, /* "percentile" */ + FpInit: 0}, + { + FzExtName: ts + 5853, /* "prefixes" */ + FpInit: 0}, + { + FzExtName: ts + 6165, /* "regexp" */ + FpInit: 0}, + { + FzExtName: ts + 6172, /* "remember" */ + FpInit: 0}, + { + FzExtName: ts + 18229, /* "series" */ + FpInit: 0}, + { + FzExtName: ts + 18236, /* "spellfix" */ + FpInit: 0}, + { + FzExtName: ts + 18245, /* "totype" */ + FpInit: 0}, + { + FzExtName: ts + 8189, /* "unionvtab" */ + FpInit: 0}, + { + FzExtName: ts + 8731, /* "wholenumber" */ + FpInit: 0}, + { + FzExtName: ts + 8834, /* "zipfile" */ + FpInit: 0}, } /* test1.c:7305:5 */ // sorter_test_fakeheap BOOL @@ -50471,20 +53212,48 @@ var aSetting = [14]struct { FeVal int32 _ [4]byte }{ - {FzName: ts + 18429 /* "FKEY" */, FeVal: 1002}, - {FzName: ts + 18434 /* "TRIGGER" */, FeVal: 1003}, - {FzName: ts + 18442 /* "FTS3_TOKENIZER" */, FeVal: 1004}, - {FzName: ts + 18457 /* "LOAD_EXTENSION" */, FeVal: 1005}, - {FzName: ts + 18472 /* "NO_CKPT_ON_CLOSE" */, FeVal: 1006}, - {FzName: ts + 18489 /* "QPSG" */, FeVal: 1007}, - {FzName: ts + 18494 /* "TRIGGER_EQP" */, FeVal: 1008}, - {FzName: ts + 18506 /* "RESET_DB" */, FeVal: 1009}, - {FzName: ts + 18515 /* "DEFENSIVE" */, FeVal: 1010}, - {FzName: ts + 18525 /* "WRITABLE_SCHEMA" */, FeVal: 1011}, - {FzName: ts + 18541 /* "LEGACY_ALTER_TAB..." */, FeVal: 1012}, - {FzName: ts + 18560 /* "DQS_DML" */, FeVal: 1013}, - {FzName: ts + 18568 /* "DQS_DDL" */, FeVal: 1014}, - {FzName: ts + 18576 /* "LEGACY_FILE_FORM..." */, FeVal: 1016}, + { + FzName: ts + 18429, /* "FKEY" */ + FeVal: 1002}, + { + FzName: ts + 18434, /* "TRIGGER" */ + FeVal: 1003}, + { + FzName: ts + 18442, /* "FTS3_TOKENIZER" */ + FeVal: 1004}, + { + FzName: ts + 18457, /* "LOAD_EXTENSION" */ + FeVal: 1005}, + { + FzName: ts + 18472, /* "NO_CKPT_ON_CLOSE" */ + FeVal: 1006}, + { + FzName: ts + 18489, /* "QPSG" */ + FeVal: 1007}, + { + FzName: ts + 18494, /* "TRIGGER_EQP" */ + FeVal: 1008}, + { + FzName: ts + 18506, /* "RESET_DB" */ + FeVal: 1009}, + { + FzName: ts + 18515, /* "DEFENSIVE" */ + FeVal: 1010}, + { + FzName: ts + 18525, /* "WRITABLE_SCHEMA" */ + FeVal: 1011}, + { + FzName: ts + 18541, /* "LEGACY_ALTER_TAB..." */ + FeVal: 1012}, + { + FzName: ts + 18560, /* "DQS_DML" */ + FeVal: 1013}, + { + FzName: ts + 18568, /* "DQS_DDL" */ + FeVal: 1014}, + { + FzName: ts + 18576, /* "LEGACY_FILE_FORM..." */ + FeVal: 1016}, } /* test1.c:7705:5 */ // Change the name of the main database schema from "main" to "icecube". @@ -50734,216 +53503,754 @@ var aCmd1 = [40]struct { FzName uintptr FxProc uintptr }{ - {FzName: ts + 19293 /* "db_enter" */, FxProc: 0}, - {FzName: ts + 19302 /* "db_leave" */, FxProc: 0}, - {FzName: ts + 19311 /* "sqlite3_mprintf_..." */, FxProc: 0}, - {FzName: ts + 19331 /* "sqlite3_mprintf_..." */, FxProc: 0}, - {FzName: ts + 19353 /* "sqlite3_mprintf_..." */, FxProc: 0}, - {FzName: ts + 19374 /* "sqlite3_mprintf_..." */, FxProc: 0}, - {FzName: ts + 19394 /* "sqlite3_snprintf..." */, FxProc: 0}, - {FzName: ts + 19415 /* "sqlite3_mprintf_..." */, FxProc: 0}, - {FzName: ts + 19439 /* "sqlite3_mprintf_..." */, FxProc: 0}, - {FzName: ts + 19462 /* "sqlite3_mprintf_..." */, FxProc: 0}, - {FzName: ts + 19485 /* "sqlite3_mprintf_..." */, FxProc: 0}, - {FzName: ts + 19511 /* "sqlite3_mprintf_..." */, FxProc: 0}, - {FzName: ts + 19534 /* "sqlite3_mprintf_..." */, FxProc: 0}, - {FzName: ts + 19557 /* "sqlite3_snprintf..." */, FxProc: 0}, - {FzName: ts + 19578 /* "sqlite3_last_ins..." */, FxProc: 0}, - {FzName: ts + 19604 /* "sqlite3_exec_pri..." */, FxProc: 0}, - {FzName: ts + 19624 /* "sqlite3_exec_hex" */, FxProc: 0}, - {FzName: ts + 19641 /* "sqlite3_exec" */, FxProc: 0}, - {FzName: ts + 19654 /* "sqlite3_exec_nr" */, FxProc: 0}, - {FzName: ts + 19670 /* "sqlite3_get_tabl..." */, FxProc: 0}, - {FzName: ts + 19695 /* "sqlite3_close" */, FxProc: 0}, - {FzName: ts + 19709 /* "sqlite3_close_v2" */, FxProc: 0}, - {FzName: ts + 19726 /* "sqlite3_create_f..." */, FxProc: 0}, - {FzName: ts + 19750 /* "sqlite3_create_a..." */, FxProc: 0}, - {FzName: ts + 19775 /* "sqlite3_drop_mod..." */, FxProc: 0}, - {FzName: ts + 19796 /* "sqlite_register_..." */, FxProc: 0}, - {FzName: ts + 19826 /* "sqlite_abort" */, FxProc: 0}, - {FzName: ts + 19839 /* "sqlite_bind" */, FxProc: 0}, - {FzName: ts + 19851 /* "breakpoint" */, FxProc: 0}, - {FzName: ts + 19862 /* "sqlite3_key" */, FxProc: 0}, - {FzName: ts + 19874 /* "sqlite3_rekey" */, FxProc: 0}, - {FzName: ts + 19888 /* "sqlite_set_magic" */, FxProc: 0}, - {FzName: ts + 19905 /* "sqlite3_interrup..." */, FxProc: 0}, - {FzName: ts + 19923 /* "sqlite_delete_fu..." */, FxProc: 0}, - {FzName: ts + 19946 /* "sqlite_delete_co..." */, FxProc: 0}, - {FzName: ts + 19970 /* "sqlite3_get_auto..." */, FxProc: 0}, - {FzName: ts + 19993 /* "sqlite3_busy_tim..." */, FxProc: 0}, - {FzName: ts + 20014 /* "printf" */, FxProc: 0}, - {FzName: ts + 20021 /* "sqlite3IoTrace" */, FxProc: 0}, - {FzName: ts + 20036 /* "clang_sanitize_a..." */, FxProc: 0}, + { + FzName: ts + 19293, /* "db_enter" */ + FxProc: 0}, + { + FzName: ts + 19302, /* "db_leave" */ + FxProc: 0}, + { + FzName: ts + 19311, /* "sqlite3_mprintf_..." */ + FxProc: 0}, + { + FzName: ts + 19331, /* "sqlite3_mprintf_..." */ + FxProc: 0}, + { + FzName: ts + 19353, /* "sqlite3_mprintf_..." */ + FxProc: 0}, + { + FzName: ts + 19374, /* "sqlite3_mprintf_..." */ + FxProc: 0}, + { + FzName: ts + 19394, /* "sqlite3_snprintf..." */ + FxProc: 0}, + { + FzName: ts + 19415, /* "sqlite3_mprintf_..." */ + FxProc: 0}, + { + FzName: ts + 19439, /* "sqlite3_mprintf_..." */ + FxProc: 0}, + { + FzName: ts + 19462, /* "sqlite3_mprintf_..." */ + FxProc: 0}, + { + FzName: ts + 19485, /* "sqlite3_mprintf_..." */ + FxProc: 0}, + { + FzName: ts + 19511, /* "sqlite3_mprintf_..." */ + FxProc: 0}, + { + FzName: ts + 19534, /* "sqlite3_mprintf_..." */ + FxProc: 0}, + { + FzName: ts + 19557, /* "sqlite3_snprintf..." */ + FxProc: 0}, + { + FzName: ts + 19578, /* "sqlite3_last_ins..." */ + FxProc: 0}, + { + FzName: ts + 19604, /* "sqlite3_exec_pri..." */ + FxProc: 0}, + { + FzName: ts + 19624, /* "sqlite3_exec_hex" */ + FxProc: 0}, + { + FzName: ts + 19641, /* "sqlite3_exec" */ + FxProc: 0}, + { + FzName: ts + 19654, /* "sqlite3_exec_nr" */ + FxProc: 0}, + { + FzName: ts + 19670, /* "sqlite3_get_tabl..." */ + FxProc: 0}, + { + FzName: ts + 19695, /* "sqlite3_close" */ + FxProc: 0}, + { + FzName: ts + 19709, /* "sqlite3_close_v2" */ + FxProc: 0}, + { + FzName: ts + 19726, /* "sqlite3_create_f..." */ + FxProc: 0}, + { + FzName: ts + 19750, /* "sqlite3_create_a..." */ + FxProc: 0}, + { + FzName: ts + 19775, /* "sqlite3_drop_mod..." */ + FxProc: 0}, + { + FzName: ts + 19796, /* "sqlite_register_..." */ + FxProc: 0}, + { + FzName: ts + 19826, /* "sqlite_abort" */ + FxProc: 0}, + { + FzName: ts + 19839, /* "sqlite_bind" */ + FxProc: 0}, + { + FzName: ts + 19851, /* "breakpoint" */ + FxProc: 0}, + { + FzName: ts + 19862, /* "sqlite3_key" */ + FxProc: 0}, + { + FzName: ts + 19874, /* "sqlite3_rekey" */ + FxProc: 0}, + { + FzName: ts + 19888, /* "sqlite_set_magic" */ + FxProc: 0}, + { + FzName: ts + 19905, /* "sqlite3_interrup..." */ + FxProc: 0}, + { + FzName: ts + 19923, /* "sqlite_delete_fu..." */ + FxProc: 0}, + { + FzName: ts + 19946, /* "sqlite_delete_co..." */ + FxProc: 0}, + { + FzName: ts + 19970, /* "sqlite3_get_auto..." */ + FxProc: 0}, + { + FzName: ts + 19993, /* "sqlite3_busy_tim..." */ + FxProc: 0}, + { + FzName: ts + 20014, /* "printf" */ + FxProc: 0}, + { + FzName: ts + 20021, /* "sqlite3IoTrace" */ + FxProc: 0}, + { + FzName: ts + 20036, /* "clang_sanitize_a..." */ + FxProc: 0}, } /* test1.c:7938:5 */ var aObjCmd1 = [155]struct { FzName uintptr FxProc uintptr FclientData uintptr }{ - {FzName: ts + 20059 /* "sqlite3_db_confi..." */, FxProc: 0, FclientData: uintptr(0)}, - {FzName: ts + 20077 /* "bad_behavior" */, FxProc: 0, FclientData: 0}, - {FzName: ts + 20090 /* "register_dbstat_..." */, FxProc: 0}, - {FzName: ts + 20111 /* "sqlite3_connecti..." */, FxProc: 0, FclientData: uintptr(0)}, - {FzName: ts + 20138 /* "intarray_addr" */, FxProc: 0, FclientData: uintptr(0)}, - {FzName: ts + 20152 /* "int64array_addr" */, FxProc: 0, FclientData: uintptr(0)}, - {FzName: ts + 20168 /* "doublearray_addr" */, FxProc: 0, FclientData: uintptr(0)}, - {FzName: ts + 20185 /* "textarray_addr" */, FxProc: 0, FclientData: uintptr(0)}, - {FzName: ts + 20200 /* "sqlite3_bind_int" */, FxProc: 0, FclientData: uintptr(0)}, - {FzName: ts + 20217 /* "sqlite3_bind_zer..." */, FxProc: 0, FclientData: uintptr(0)}, - {FzName: ts + 20239 /* "sqlite3_bind_zer..." */, FxProc: 0, FclientData: uintptr(0)}, - {FzName: ts + 20263 /* "sqlite3_bind_int..." */, FxProc: 0, FclientData: uintptr(0)}, - {FzName: ts + 20282 /* "sqlite3_bind_dou..." */, FxProc: 0, FclientData: uintptr(0)}, - {FzName: ts + 20302 /* "sqlite3_bind_nul..." */, FxProc: 0, FclientData: uintptr(0)}, - {FzName: ts + 20320 /* "sqlite3_bind_tex..." */, FxProc: 0, FclientData: uintptr(0)}, - {FzName: ts + 20338 /* "sqlite3_bind_tex..." */, FxProc: 0, FclientData: uintptr(0)}, - {FzName: ts + 20358 /* "sqlite3_bind_blo..." */, FxProc: 0, FclientData: uintptr(0)}, - {FzName: ts + 20376 /* "sqlite3_bind_par..." */, FxProc: 0, FclientData: uintptr(0)}, - {FzName: ts + 20405 /* "sqlite3_bind_par..." */, FxProc: 0, FclientData: uintptr(0)}, - {FzName: ts + 20433 /* "sqlite3_bind_par..." */, FxProc: 0, FclientData: uintptr(0)}, - {FzName: ts + 20462 /* "sqlite3_clear_bi..." */, FxProc: 0, FclientData: uintptr(0)}, - {FzName: ts + 20485 /* "sqlite3_sleep" */, FxProc: 0, FclientData: uintptr(0)}, - {FzName: ts + 20499 /* "sqlite3_errcode" */, FxProc: 0, FclientData: uintptr(0)}, - {FzName: ts + 20515 /* "sqlite3_extended..." */, FxProc: 0, FclientData: uintptr(0)}, - {FzName: ts + 20540 /* "sqlite3_errmsg" */, FxProc: 0, FclientData: uintptr(0)}, - {FzName: ts + 20555 /* "sqlite3_errmsg16" */, FxProc: 0, FclientData: uintptr(0)}, - {FzName: ts + 20572 /* "sqlite3_open" */, FxProc: 0, FclientData: uintptr(0)}, - {FzName: ts + 20585 /* "sqlite3_open16" */, FxProc: 0, FclientData: uintptr(0)}, - {FzName: ts + 20600 /* "sqlite3_open_v2" */, FxProc: 0, FclientData: uintptr(0)}, - {FzName: ts + 20616 /* "sqlite3_complete..." */, FxProc: 0, FclientData: uintptr(0)}, - {FzName: ts + 20635 /* "sqlite3_normaliz..." */, FxProc: 0, FclientData: uintptr(0)}, - - {FzName: ts + 20653 /* "sqlite3_prepare" */, FxProc: 0, FclientData: uintptr(0)}, - {FzName: ts + 20669 /* "sqlite3_prepare1..." */, FxProc: 0, FclientData: uintptr(0)}, - {FzName: ts + 20687 /* "sqlite3_prepare_..." */, FxProc: 0, FclientData: uintptr(0)}, - {FzName: ts + 20706 /* "sqlite3_prepare_..." */, FxProc: 0, FclientData: uintptr(0)}, - {FzName: ts + 20725 /* "sqlite3_prepare_..." */, FxProc: 0, FclientData: uintptr(0)}, - {FzName: ts + 20749 /* "sqlite3_prepare1..." */, FxProc: 0, FclientData: uintptr(0)}, - {FzName: ts + 20770 /* "sqlite3_finalize" */, FxProc: 0, FclientData: uintptr(0)}, - {FzName: ts + 20787 /* "sqlite3_stmt_sta..." */, FxProc: 0, FclientData: uintptr(0)}, - {FzName: ts + 20807 /* "sqlite3_reset" */, FxProc: 0, FclientData: uintptr(0)}, - {FzName: ts + 20821 /* "sqlite3_expired" */, FxProc: 0, FclientData: uintptr(0)}, - {FzName: ts + 20837 /* "sqlite3_transfer..." */, FxProc: 0, FclientData: uintptr(0)}, - {FzName: ts + 20863 /* "sqlite3_changes" */, FxProc: 0, FclientData: uintptr(0)}, - {FzName: ts + 20879 /* "sqlite3_step" */, FxProc: 0, FclientData: uintptr(0)}, - {FzName: ts + 20892 /* "sqlite3_sql" */, FxProc: 0, FclientData: uintptr(0)}, - {FzName: ts + 20904 /* "sqlite3_expanded..." */, FxProc: 0, FclientData: uintptr(0)}, - {FzName: ts + 20925 /* "sqlite3_next_stm..." */, FxProc: 0, FclientData: uintptr(0)}, - {FzName: ts + 20943 /* "sqlite3_stmt_rea..." */, FxProc: 0, FclientData: uintptr(0)}, - {FzName: ts + 20965 /* "sqlite3_stmt_ise..." */, FxProc: 0, FclientData: uintptr(0)}, - {FzName: ts + 20988 /* "sqlite3_stmt_bus..." */, FxProc: 0, FclientData: uintptr(0)}, - {FzName: ts + 21006 /* "uses_stmt_journa..." */, FxProc: 0, FclientData: uintptr(0)}, - - {FzName: ts + 21024 /* "sqlite3_release_..." */, FxProc: 0, FclientData: uintptr(0)}, - {FzName: ts + 21047 /* "sqlite3_db_relea..." */, FxProc: 0, FclientData: uintptr(0)}, - {FzName: ts + 21073 /* "sqlite3_db_cache..." */, FxProc: 0, FclientData: uintptr(0)}, - {FzName: ts + 21095 /* "sqlite3_system_e..." */, FxProc: 0, FclientData: uintptr(0)}, - {FzName: ts + 21116 /* "sqlite3_db_filen..." */, FxProc: 0, FclientData: uintptr(0)}, - {FzName: ts + 21136 /* "sqlite3_db_reado..." */, FxProc: 0, FclientData: uintptr(0)}, - {FzName: ts + 21156 /* "sqlite3_soft_hea..." */, FxProc: 0, FclientData: uintptr(0)}, - {FzName: ts + 21180 /* "sqlite3_soft_hea..." */, FxProc: 0, FclientData: uintptr(0)}, - {FzName: ts + 21206 /* "sqlite3_hard_hea..." */, FxProc: 0, FclientData: uintptr(0)}, - {FzName: ts + 21232 /* "sqlite3_thread_c..." */, FxProc: 0, FclientData: uintptr(0)}, - {FzName: ts + 21255 /* "sqlite3_pager_re..." */, FxProc: 0, FclientData: uintptr(0)}, - - {FzName: ts + 21279 /* "sqlite3_load_ext..." */, FxProc: 0, FclientData: uintptr(0)}, - {FzName: ts + 21302 /* "sqlite3_enable_l..." */, FxProc: 0, FclientData: uintptr(0)}, - {FzName: ts + 21332 /* "sqlite3_extended..." */, FxProc: 0, FclientData: uintptr(0)}, - {FzName: ts + 21362 /* "sqlite3_limit" */, FxProc: 0, FclientData: uintptr(0)}, - {FzName: ts + 21376 /* "dbconfig_maindbn..." */, FxProc: 0}, - - {FzName: ts + 21404 /* "save_prng_state" */, FxProc: 0, FclientData: uintptr(0)}, - {FzName: ts + 21420 /* "restore_prng_sta..." */, FxProc: 0, FclientData: uintptr(0)}, - {FzName: ts + 21439 /* "reset_prng_state" */, FxProc: 0, FclientData: uintptr(0)}, - {FzName: ts + 21456 /* "prng_seed" */, FxProc: 0, FclientData: uintptr(0)}, - {FzName: ts + 21466 /* "extra_schema_che..." */, FxProc: 0, FclientData: uintptr(0)}, - {FzName: ts + 21486 /* "database_never_c..." */, FxProc: 0, FclientData: uintptr(0)}, - {FzName: ts + 21509 /* "database_may_be_..." */, FxProc: 0, FclientData: uintptr(0)}, - {FzName: ts + 21533 /* "optimization_con..." */, FxProc: 0, FclientData: uintptr(0)}, - {FzName: ts + 21554 /* "tcl_objproc" */, FxProc: 0, FclientData: uintptr(0)}, + { + FzName: ts + 20059, /* "sqlite3_db_confi..." */ + FxProc: 0, + FclientData: uintptr(0)}, + { + FzName: ts + 20077, /* "bad_behavior" */ + FxProc: 0, + FclientData: 0}, + { + FzName: ts + 20090, /* "register_dbstat_..." */ + FxProc: 0}, + { + FzName: ts + 20111, /* "sqlite3_connecti..." */ + FxProc: 0, + FclientData: uintptr(0)}, + { + FzName: ts + 20138, /* "intarray_addr" */ + FxProc: 0, + FclientData: uintptr(0)}, + { + FzName: ts + 20152, /* "int64array_addr" */ + FxProc: 0, + FclientData: uintptr(0)}, + { + FzName: ts + 20168, /* "doublearray_addr" */ + FxProc: 0, + FclientData: uintptr(0)}, + { + FzName: ts + 20185, /* "textarray_addr" */ + FxProc: 0, + FclientData: uintptr(0)}, + { + FzName: ts + 20200, /* "sqlite3_bind_int" */ + FxProc: 0, + FclientData: uintptr(0)}, + { + FzName: ts + 20217, /* "sqlite3_bind_zer..." */ + FxProc: 0, + FclientData: uintptr(0)}, + { + FzName: ts + 20239, /* "sqlite3_bind_zer..." */ + FxProc: 0, + FclientData: uintptr(0)}, + { + FzName: ts + 20263, /* "sqlite3_bind_int..." */ + FxProc: 0, + FclientData: uintptr(0)}, + { + FzName: ts + 20282, /* "sqlite3_bind_dou..." */ + FxProc: 0, + FclientData: uintptr(0)}, + { + FzName: ts + 20302, /* "sqlite3_bind_nul..." */ + FxProc: 0, + FclientData: uintptr(0)}, + { + FzName: ts + 20320, /* "sqlite3_bind_tex..." */ + FxProc: 0, + FclientData: uintptr(0)}, + { + FzName: ts + 20338, /* "sqlite3_bind_tex..." */ + FxProc: 0, + FclientData: uintptr(0)}, + { + FzName: ts + 20358, /* "sqlite3_bind_blo..." */ + FxProc: 0, + FclientData: uintptr(0)}, + { + FzName: ts + 20376, /* "sqlite3_bind_par..." */ + FxProc: 0, + FclientData: uintptr(0)}, + { + FzName: ts + 20405, /* "sqlite3_bind_par..." */ + FxProc: 0, + FclientData: uintptr(0)}, + { + FzName: ts + 20433, /* "sqlite3_bind_par..." */ + FxProc: 0, + FclientData: uintptr(0)}, + { + FzName: ts + 20462, /* "sqlite3_clear_bi..." */ + FxProc: 0, + FclientData: uintptr(0)}, + { + FzName: ts + 20485, /* "sqlite3_sleep" */ + FxProc: 0, + FclientData: uintptr(0)}, + { + FzName: ts + 20499, /* "sqlite3_errcode" */ + FxProc: 0, + FclientData: uintptr(0)}, + { + FzName: ts + 20515, /* "sqlite3_extended..." */ + FxProc: 0, + FclientData: uintptr(0)}, + { + FzName: ts + 20540, /* "sqlite3_errmsg" */ + FxProc: 0, + FclientData: uintptr(0)}, + { + FzName: ts + 20555, /* "sqlite3_errmsg16" */ + FxProc: 0, + FclientData: uintptr(0)}, + { + FzName: ts + 20572, /* "sqlite3_open" */ + FxProc: 0, + FclientData: uintptr(0)}, + { + FzName: ts + 20585, /* "sqlite3_open16" */ + FxProc: 0, + FclientData: uintptr(0)}, + { + FzName: ts + 20600, /* "sqlite3_open_v2" */ + FxProc: 0, + FclientData: uintptr(0)}, + { + FzName: ts + 20616, /* "sqlite3_complete..." */ + FxProc: 0, + FclientData: uintptr(0)}, + { + FzName: ts + 20635, /* "sqlite3_normaliz..." */ + FxProc: 0, + FclientData: uintptr(0)}, + + { + FzName: ts + 20653, /* "sqlite3_prepare" */ + FxProc: 0, + FclientData: uintptr(0)}, + { + FzName: ts + 20669, /* "sqlite3_prepare1..." */ + FxProc: 0, + FclientData: uintptr(0)}, + { + FzName: ts + 20687, /* "sqlite3_prepare_..." */ + FxProc: 0, + FclientData: uintptr(0)}, + { + FzName: ts + 20706, /* "sqlite3_prepare_..." */ + FxProc: 0, + FclientData: uintptr(0)}, + { + FzName: ts + 20725, /* "sqlite3_prepare_..." */ + FxProc: 0, + FclientData: uintptr(0)}, + { + FzName: ts + 20749, /* "sqlite3_prepare1..." */ + FxProc: 0, + FclientData: uintptr(0)}, + { + FzName: ts + 20770, /* "sqlite3_finalize" */ + FxProc: 0, + FclientData: uintptr(0)}, + { + FzName: ts + 20787, /* "sqlite3_stmt_sta..." */ + FxProc: 0, + FclientData: uintptr(0)}, + { + FzName: ts + 20807, /* "sqlite3_reset" */ + FxProc: 0, + FclientData: uintptr(0)}, + { + FzName: ts + 20821, /* "sqlite3_expired" */ + FxProc: 0, + FclientData: uintptr(0)}, + { + FzName: ts + 20837, /* "sqlite3_transfer..." */ + FxProc: 0, + FclientData: uintptr(0)}, + { + FzName: ts + 20863, /* "sqlite3_changes" */ + FxProc: 0, + FclientData: uintptr(0)}, + { + FzName: ts + 20879, /* "sqlite3_step" */ + FxProc: 0, + FclientData: uintptr(0)}, + { + FzName: ts + 20892, /* "sqlite3_sql" */ + FxProc: 0, + FclientData: uintptr(0)}, + { + FzName: ts + 20904, /* "sqlite3_expanded..." */ + FxProc: 0, + FclientData: uintptr(0)}, + { + FzName: ts + 20925, /* "sqlite3_next_stm..." */ + FxProc: 0, + FclientData: uintptr(0)}, + { + FzName: ts + 20943, /* "sqlite3_stmt_rea..." */ + FxProc: 0, + FclientData: uintptr(0)}, + { + FzName: ts + 20965, /* "sqlite3_stmt_ise..." */ + FxProc: 0, + FclientData: uintptr(0)}, + { + FzName: ts + 20988, /* "sqlite3_stmt_bus..." */ + FxProc: 0, + FclientData: uintptr(0)}, + { + FzName: ts + 21006, /* "uses_stmt_journa..." */ + FxProc: 0, + FclientData: uintptr(0)}, + + { + FzName: ts + 21024, /* "sqlite3_release_..." */ + FxProc: 0, + FclientData: uintptr(0)}, + { + FzName: ts + 21047, /* "sqlite3_db_relea..." */ + FxProc: 0, + FclientData: uintptr(0)}, + { + FzName: ts + 21073, /* "sqlite3_db_cache..." */ + FxProc: 0, + FclientData: uintptr(0)}, + { + FzName: ts + 21095, /* "sqlite3_system_e..." */ + FxProc: 0, + FclientData: uintptr(0)}, + { + FzName: ts + 21116, /* "sqlite3_db_filen..." */ + FxProc: 0, + FclientData: uintptr(0)}, + { + FzName: ts + 21136, /* "sqlite3_db_reado..." */ + FxProc: 0, + FclientData: uintptr(0)}, + { + FzName: ts + 21156, /* "sqlite3_soft_hea..." */ + FxProc: 0, + FclientData: uintptr(0)}, + { + FzName: ts + 21180, /* "sqlite3_soft_hea..." */ + FxProc: 0, + FclientData: uintptr(0)}, + { + FzName: ts + 21206, /* "sqlite3_hard_hea..." */ + FxProc: 0, + FclientData: uintptr(0)}, + { + FzName: ts + 21232, /* "sqlite3_thread_c..." */ + FxProc: 0, + FclientData: uintptr(0)}, + { + FzName: ts + 21255, /* "sqlite3_pager_re..." */ + FxProc: 0, + FclientData: uintptr(0)}, + + { + FzName: ts + 21279, /* "sqlite3_load_ext..." */ + FxProc: 0, + FclientData: uintptr(0)}, + { + FzName: ts + 21302, /* "sqlite3_enable_l..." */ + FxProc: 0, + FclientData: uintptr(0)}, + { + FzName: ts + 21332, /* "sqlite3_extended..." */ + FxProc: 0, + FclientData: uintptr(0)}, + { + FzName: ts + 21362, /* "sqlite3_limit" */ + FxProc: 0, + FclientData: uintptr(0)}, + { + FzName: ts + 21376, /* "dbconfig_maindbn..." */ + FxProc: 0}, + + { + FzName: ts + 21404, /* "save_prng_state" */ + FxProc: 0, + FclientData: uintptr(0)}, + { + FzName: ts + 21420, /* "restore_prng_sta..." */ + FxProc: 0, + FclientData: uintptr(0)}, + { + FzName: ts + 21439, /* "reset_prng_state" */ + FxProc: 0, + FclientData: uintptr(0)}, + { + FzName: ts + 21456, /* "prng_seed" */ + FxProc: 0, + FclientData: uintptr(0)}, + { + FzName: ts + 21466, /* "extra_schema_che..." */ + FxProc: 0, + FclientData: uintptr(0)}, + { + FzName: ts + 21486, /* "database_never_c..." */ + FxProc: 0, + FclientData: uintptr(0)}, + { + FzName: ts + 21509, /* "database_may_be_..." */ + FxProc: 0, + FclientData: uintptr(0)}, + { + FzName: ts + 21533, /* "optimization_con..." */ + FxProc: 0, + FclientData: uintptr(0)}, + { + FzName: ts + 21554, /* "tcl_objproc" */ + FxProc: 0, + FclientData: uintptr(0)}, // sqlite3_column_*() API - {FzName: ts + 21566 /* "sqlite3_column_c..." */, FxProc: 0, FclientData: uintptr(0)}, - {FzName: ts + 21587 /* "sqlite3_data_cou..." */, FxProc: 0, FclientData: uintptr(0)}, - {FzName: ts + 21606 /* "sqlite3_column_t..." */, FxProc: 0, FclientData: uintptr(0)}, - {FzName: ts + 21626 /* "sqlite3_column_b..." */, FxProc: 0, FclientData: uintptr(0)}, - {FzName: ts + 21646 /* "sqlite3_column_d..." */, FxProc: 0, FclientData: uintptr(0)}, - {FzName: ts + 21668 /* "sqlite3_column_i..." */, FxProc: 0, FclientData: uintptr(0)}, - {FzName: ts + 21689 /* "sqlite3_column_t..." */, FxProc: 0, FclientData: 0}, - {FzName: ts + 21709 /* "sqlite3_column_n..." */, FxProc: 0, FclientData: 0}, - {FzName: ts + 21729 /* "sqlite3_column_i..." */, FxProc: 0, FclientData: 0}, - {FzName: ts + 21748 /* "sqlite3_column_b..." */, FxProc: 0, FclientData: 0}, - {FzName: ts + 21769 /* "sqlite3_column_d..." */, FxProc: 0, FclientData: 0}, - {FzName: ts + 21793 /* "sqlite3_column_d..." */, FxProc: 0, FclientData: 0}, - {FzName: ts + 21822 /* "sqlite3_column_t..." */, FxProc: 0, FclientData: 0}, - {FzName: ts + 21848 /* "sqlite3_column_o..." */, FxProc: 0, FclientData: 0}, - - {FzName: ts + 21875 /* "sqlite3_column_b..." */, FxProc: 0, FclientData: 0}, - {FzName: ts + 21898 /* "sqlite3_column_t..." */, FxProc: 0, FclientData: 0}, - {FzName: ts + 21920 /* "sqlite3_column_n..." */, FxProc: 0, FclientData: 0}, - {FzName: ts + 21942 /* "add_alignment_te..." */, FxProc: 0, FclientData: uintptr(0)}, - {FzName: ts + 21972 /* "sqlite3_column_d..." */, FxProc: 0, FclientData: 0}, - {FzName: ts + 21998 /* "sqlite3_column_d..." */, FxProc: 0, FclientData: 0}, - {FzName: ts + 22029 /* "sqlite3_column_t..." */, FxProc: 0, FclientData: 0}, - {FzName: ts + 22057 /* "sqlite3_column_o..." */, FxProc: 0, FclientData: 0}, - {FzName: ts + 22086 /* "sqlite3_create_c..." */, FxProc: 0, FclientData: uintptr(0)}, - {FzName: ts + 22114 /* "sqlite3_global_r..." */, FxProc: 0, FclientData: uintptr(0)}, - {FzName: ts + 22137 /* "working_64bit_in..." */, FxProc: 0, FclientData: uintptr(0)}, - {FzName: ts + 22155 /* "vfs_unlink_test" */, FxProc: 0, FclientData: uintptr(0)}, - {FzName: ts + 22171 /* "vfs_initfail_tes..." */, FxProc: 0, FclientData: uintptr(0)}, - {FzName: ts + 22189 /* "vfs_unregister_a..." */, FxProc: 0, FclientData: uintptr(0)}, - {FzName: ts + 22208 /* "vfs_reregister_a..." */, FxProc: 0, FclientData: uintptr(0)}, - {FzName: ts + 22227 /* "file_control_tes..." */, FxProc: 0, FclientData: uintptr(0)}, - {FzName: ts + 22245 /* "file_control_las..." */, FxProc: 0, FclientData: uintptr(0)}, - {FzName: ts + 22273 /* "file_control_loc..." */, FxProc: 0, FclientData: uintptr(0)}, - {FzName: ts + 22301 /* "file_control_chu..." */, FxProc: 0, FclientData: uintptr(0)}, - {FzName: ts + 22329 /* "file_control_siz..." */, FxProc: 0, FclientData: uintptr(0)}, - {FzName: ts + 22356 /* "file_control_dat..." */, FxProc: 0, FclientData: uintptr(0)}, - {FzName: ts + 22382 /* "file_control_per..." */, FxProc: 0, FclientData: uintptr(0)}, - {FzName: ts + 22407 /* "file_control_pow..." */, FxProc: 0, FclientData: uintptr(0)}, - {FzName: ts + 22440 /* "file_control_vfs..." */, FxProc: 0, FclientData: uintptr(0)}, - {FzName: ts + 22461 /* "file_control_tem..." */, FxProc: 0, FclientData: uintptr(0)}, - {FzName: ts + 22487 /* "sqlite3_vfs_list" */, FxProc: 0, FclientData: uintptr(0)}, - {FzName: ts + 22504 /* "sqlite3_create_f..." */, FxProc: 0, FclientData: uintptr(0)}, + { + FzName: ts + 21566, /* "sqlite3_column_c..." */ + FxProc: 0, + FclientData: uintptr(0)}, + { + FzName: ts + 21587, /* "sqlite3_data_cou..." */ + FxProc: 0, + FclientData: uintptr(0)}, + { + FzName: ts + 21606, /* "sqlite3_column_t..." */ + FxProc: 0, + FclientData: uintptr(0)}, + { + FzName: ts + 21626, /* "sqlite3_column_b..." */ + FxProc: 0, + FclientData: uintptr(0)}, + { + FzName: ts + 21646, /* "sqlite3_column_d..." */ + FxProc: 0, + FclientData: uintptr(0)}, + { + FzName: ts + 21668, /* "sqlite3_column_i..." */ + FxProc: 0, + FclientData: uintptr(0)}, + { + FzName: ts + 21689, /* "sqlite3_column_t..." */ + FxProc: 0, + FclientData: 0}, + { + FzName: ts + 21709, /* "sqlite3_column_n..." */ + FxProc: 0, + FclientData: 0}, + { + FzName: ts + 21729, /* "sqlite3_column_i..." */ + FxProc: 0, + FclientData: 0}, + { + FzName: ts + 21748, /* "sqlite3_column_b..." */ + FxProc: 0, + FclientData: 0}, + { + FzName: ts + 21769, /* "sqlite3_column_d..." */ + FxProc: 0, + FclientData: 0}, + { + FzName: ts + 21793, /* "sqlite3_column_d..." */ + FxProc: 0, + FclientData: 0}, + { + FzName: ts + 21822, /* "sqlite3_column_t..." */ + FxProc: 0, + FclientData: 0}, + { + FzName: ts + 21848, /* "sqlite3_column_o..." */ + FxProc: 0, + FclientData: 0}, + + { + FzName: ts + 21875, /* "sqlite3_column_b..." */ + FxProc: 0, + FclientData: 0}, + { + FzName: ts + 21898, /* "sqlite3_column_t..." */ + FxProc: 0, + FclientData: 0}, + { + FzName: ts + 21920, /* "sqlite3_column_n..." */ + FxProc: 0, + FclientData: 0}, + { + FzName: ts + 21942, /* "add_alignment_te..." */ + FxProc: 0, + FclientData: uintptr(0)}, + { + FzName: ts + 21972, /* "sqlite3_column_d..." */ + FxProc: 0, + FclientData: 0}, + { + FzName: ts + 21998, /* "sqlite3_column_d..." */ + FxProc: 0, + FclientData: 0}, + { + FzName: ts + 22029, /* "sqlite3_column_t..." */ + FxProc: 0, + FclientData: 0}, + { + FzName: ts + 22057, /* "sqlite3_column_o..." */ + FxProc: 0, + FclientData: 0}, + { + FzName: ts + 22086, /* "sqlite3_create_c..." */ + FxProc: 0, + FclientData: uintptr(0)}, + { + FzName: ts + 22114, /* "sqlite3_global_r..." */ + FxProc: 0, + FclientData: uintptr(0)}, + { + FzName: ts + 22137, /* "working_64bit_in..." */ + FxProc: 0, + FclientData: uintptr(0)}, + { + FzName: ts + 22155, /* "vfs_unlink_test" */ + FxProc: 0, + FclientData: uintptr(0)}, + { + FzName: ts + 22171, /* "vfs_initfail_tes..." */ + FxProc: 0, + FclientData: uintptr(0)}, + { + FzName: ts + 22189, /* "vfs_unregister_a..." */ + FxProc: 0, + FclientData: uintptr(0)}, + { + FzName: ts + 22208, /* "vfs_reregister_a..." */ + FxProc: 0, + FclientData: uintptr(0)}, + { + FzName: ts + 22227, /* "file_control_tes..." */ + FxProc: 0, + FclientData: uintptr(0)}, + { + FzName: ts + 22245, /* "file_control_las..." */ + FxProc: 0, + FclientData: uintptr(0)}, + { + FzName: ts + 22273, /* "file_control_loc..." */ + FxProc: 0, + FclientData: uintptr(0)}, + { + FzName: ts + 22301, /* "file_control_chu..." */ + FxProc: 0, + FclientData: uintptr(0)}, + { + FzName: ts + 22329, /* "file_control_siz..." */ + FxProc: 0, + FclientData: uintptr(0)}, + { + FzName: ts + 22356, /* "file_control_dat..." */ + FxProc: 0, + FclientData: uintptr(0)}, + { + FzName: ts + 22382, /* "file_control_per..." */ + FxProc: 0, + FclientData: uintptr(0)}, + { + FzName: ts + 22407, /* "file_control_pow..." */ + FxProc: 0, + FclientData: uintptr(0)}, + { + FzName: ts + 22440, /* "file_control_vfs..." */ + FxProc: 0, + FclientData: uintptr(0)}, + { + FzName: ts + 22461, /* "file_control_tem..." */ + FxProc: 0, + FclientData: uintptr(0)}, + { + FzName: ts + 22487, /* "sqlite3_vfs_list" */ + FxProc: 0, + FclientData: uintptr(0)}, + { + FzName: ts + 22504, /* "sqlite3_create_f..." */ + FxProc: 0, + FclientData: uintptr(0)}, // Functions from os.h - {FzName: ts + 22531 /* "add_test_collate" */, FxProc: 0, FclientData: uintptr(0)}, - {FzName: ts + 22548 /* "add_test_collate..." */, FxProc: 0, FclientData: uintptr(0)}, - {FzName: ts + 22572 /* "add_test_functio..." */, FxProc: 0, FclientData: uintptr(0)}, - {FzName: ts + 22590 /* "add_test_utf16bi..." */, FxProc: 0, FclientData: uintptr(0)}, - {FzName: ts + 22616 /* "sqlite3_test_err..." */, FxProc: 0, FclientData: uintptr(0)}, - {FzName: ts + 22636 /* "tcl_variable_typ..." */, FxProc: 0, FclientData: uintptr(0)}, - {FzName: ts + 22654 /* "sqlite3_enable_s..." */, FxProc: 0, FclientData: uintptr(0)}, - {FzName: ts + 22682 /* "sqlite3_shared_c..." */, FxProc: 0, FclientData: uintptr(0)}, - {FzName: ts + 22710 /* "sqlite3_libversi..." */, FxProc: 0, FclientData: uintptr(0)}, - {FzName: ts + 22736 /* "sqlite3_table_co..." */, FxProc: 0, FclientData: uintptr(0)}, - {FzName: ts + 22766 /* "sqlite3_blob_reo..." */, FxProc: 0, FclientData: uintptr(0)}, - {FzName: ts + 22786 /* "pcache_stats" */, FxProc: 0, FclientData: uintptr(0)}, - {FzName: ts + 22799 /* "sqlite3_unlock_n..." */, FxProc: 0, FclientData: uintptr(0)}, - {FzName: ts + 22821 /* "sqlite3_wal_chec..." */, FxProc: 0, FclientData: uintptr(0)}, - {FzName: ts + 22844 /* "sqlite3_wal_chec..." */, FxProc: 0, FclientData: uintptr(0)}, - {FzName: ts + 22870 /* "sqlite3_wal_auto..." */, FxProc: 0, FclientData: uintptr(0)}, - {FzName: ts + 22897 /* "test_sqlite3_log" */, FxProc: 0, FclientData: uintptr(0)}, - {FzName: ts + 22914 /* "print_explain_qu..." */, FxProc: 0, FclientData: uintptr(0)}, - {FzName: ts + 22939 /* "sqlite3_test_con..." */, FxProc: 0}, - {FzName: ts + 22960 /* "getrusage" */, FxProc: 0}, - {FzName: ts + 22970 /* "load_static_exte..." */, FxProc: 0}, - {FzName: ts + 22992 /* "sorter_test_fake..." */, FxProc: 0}, - {FzName: ts + 23013 /* "sorter_test_sort..." */, FxProc: 0}, - {FzName: ts + 23038 /* "vfs_current_time..." */, FxProc: 0, FclientData: uintptr(0)}, - {FzName: ts + 23061 /* "sqlite3_snapshot..." */, FxProc: 0, FclientData: uintptr(0)}, - {FzName: ts + 23082 /* "sqlite3_snapshot..." */, FxProc: 0, FclientData: uintptr(0)}, - {FzName: ts + 23104 /* "sqlite3_snapshot..." */, FxProc: 0, FclientData: uintptr(0)}, - {FzName: ts + 23126 /* "sqlite3_snapshot..." */, FxProc: 0, FclientData: uintptr(0)}, - {FzName: ts + 23147 /* "sqlite3_snapshot..." */, FxProc: 0, FclientData: uintptr(0)}, - {FzName: ts + 23172 /* "sqlite3_snapshot..." */, FxProc: 0, FclientData: uintptr(0)}, - {FzName: ts + 23198 /* "sqlite3_snapshot..." */, FxProc: 0, FclientData: uintptr(0)}, - {FzName: ts + 23225 /* "sqlite3_snapshot..." */, FxProc: 0, FclientData: uintptr(0)}, - {FzName: ts + 23251 /* "sqlite3_delete_d..." */, FxProc: 0, FclientData: uintptr(0)}, - {FzName: ts + 23275 /* "atomic_batch_wri..." */, FxProc: 0, FclientData: uintptr(0)}, - {FzName: ts + 23294 /* "sqlite3_mmap_war..." */, FxProc: 0, FclientData: uintptr(0)}, - {FzName: ts + 23312 /* "sqlite3_config_s..." */, FxProc: 0, FclientData: uintptr(0)}, - {FzName: ts + 23337 /* "decode_hexdb" */, FxProc: 0, FclientData: uintptr(0)}, - {FzName: ts + 23350 /* "test_write_db" */, FxProc: 0, FclientData: uintptr(0)}, + { + FzName: ts + 22531, /* "add_test_collate" */ + FxProc: 0, + FclientData: uintptr(0)}, + { + FzName: ts + 22548, /* "add_test_collate..." */ + FxProc: 0, + FclientData: uintptr(0)}, + { + FzName: ts + 22572, /* "add_test_functio..." */ + FxProc: 0, + FclientData: uintptr(0)}, + { + FzName: ts + 22590, /* "add_test_utf16bi..." */ + FxProc: 0, + FclientData: uintptr(0)}, + { + FzName: ts + 22616, /* "sqlite3_test_err..." */ + FxProc: 0, + FclientData: uintptr(0)}, + { + FzName: ts + 22636, /* "tcl_variable_typ..." */ + FxProc: 0, + FclientData: uintptr(0)}, + { + FzName: ts + 22654, /* "sqlite3_enable_s..." */ + FxProc: 0, + FclientData: uintptr(0)}, + { + FzName: ts + 22682, /* "sqlite3_shared_c..." */ + FxProc: 0, + FclientData: uintptr(0)}, + { + FzName: ts + 22710, /* "sqlite3_libversi..." */ + FxProc: 0, + FclientData: uintptr(0)}, + { + FzName: ts + 22736, /* "sqlite3_table_co..." */ + FxProc: 0, + FclientData: uintptr(0)}, + { + FzName: ts + 22766, /* "sqlite3_blob_reo..." */ + FxProc: 0, + FclientData: uintptr(0)}, + { + FzName: ts + 22786, /* "pcache_stats" */ + FxProc: 0, + FclientData: uintptr(0)}, + { + FzName: ts + 22799, /* "sqlite3_unlock_n..." */ + FxProc: 0, + FclientData: uintptr(0)}, + { + FzName: ts + 22821, /* "sqlite3_wal_chec..." */ + FxProc: 0, + FclientData: uintptr(0)}, + { + FzName: ts + 22844, /* "sqlite3_wal_chec..." */ + FxProc: 0, + FclientData: uintptr(0)}, + { + FzName: ts + 22870, /* "sqlite3_wal_auto..." */ + FxProc: 0, + FclientData: uintptr(0)}, + { + FzName: ts + 22897, /* "test_sqlite3_log" */ + FxProc: 0, + FclientData: uintptr(0)}, + { + FzName: ts + 22914, /* "print_explain_qu..." */ + FxProc: 0, + FclientData: uintptr(0)}, + { + FzName: ts + 22939, /* "sqlite3_test_con..." */ + FxProc: 0}, + { + FzName: ts + 22960, /* "getrusage" */ + FxProc: 0}, + { + FzName: ts + 22970, /* "load_static_exte..." */ + FxProc: 0}, + { + FzName: ts + 22992, /* "sorter_test_fake..." */ + FxProc: 0}, + { + FzName: ts + 23013, /* "sorter_test_sort..." */ + FxProc: 0}, + { + FzName: ts + 23038, /* "vfs_current_time..." */ + FxProc: 0, + FclientData: uintptr(0)}, + { + FzName: ts + 23061, /* "sqlite3_snapshot..." */ + FxProc: 0, + FclientData: uintptr(0)}, + { + FzName: ts + 23082, /* "sqlite3_snapshot..." */ + FxProc: 0, + FclientData: uintptr(0)}, + { + FzName: ts + 23104, /* "sqlite3_snapshot..." */ + FxProc: 0, + FclientData: uintptr(0)}, + { + FzName: ts + 23126, /* "sqlite3_snapshot..." */ + FxProc: 0, + FclientData: uintptr(0)}, + { + FzName: ts + 23147, /* "sqlite3_snapshot..." */ + FxProc: 0, + FclientData: uintptr(0)}, + { + FzName: ts + 23172, /* "sqlite3_snapshot..." */ + FxProc: 0, + FclientData: uintptr(0)}, + { + FzName: ts + 23198, /* "sqlite3_snapshot..." */ + FxProc: 0, + FclientData: uintptr(0)}, + { + FzName: ts + 23225, /* "sqlite3_snapshot..." */ + FxProc: 0, + FclientData: uintptr(0)}, + { + FzName: ts + 23251, /* "sqlite3_delete_d..." */ + FxProc: 0, + FclientData: uintptr(0)}, + { + FzName: ts + 23275, /* "atomic_batch_wri..." */ + FxProc: 0, + FclientData: uintptr(0)}, + { + FzName: ts + 23294, /* "sqlite3_mmap_war..." */ + FxProc: 0, + FclientData: uintptr(0)}, + { + FzName: ts + 23312, /* "sqlite3_config_s..." */ + FxProc: 0, + FclientData: uintptr(0)}, + { + FzName: ts + 23337, /* "decode_hexdb" */ + FxProc: 0, + FclientData: uintptr(0)}, + { + FzName: ts + 23350, /* "test_write_db" */ + FxProc: 0, + FclientData: uintptr(0)}, } /* test1.c:7986:5 */ var bitmask_size int32 = (int32(uint64(unsafe.Sizeof(Bitmask(0))) * uint64(8))) /* test1.c:8206:14 */ var longdouble_size int32 = int32(unsafe.Sizeof(float64(0))) /* test1.c:8207:14 */ @@ -51620,26 +54927,66 @@ var aCmd2 = [20]struct { FzName uintptr FxProc uintptr }{ - {FzName: ts + 23758 /* "pager_open" */, FxProc: 0}, - {FzName: ts + 23769 /* "pager_close" */, FxProc: 0}, - {FzName: ts + 23781 /* "pager_commit" */, FxProc: 0}, - {FzName: ts + 23794 /* "pager_rollback" */, FxProc: 0}, - {FzName: ts + 23809 /* "pager_stmt_begin" */, FxProc: 0}, - {FzName: ts + 23826 /* "pager_stmt_commi..." */, FxProc: 0}, - {FzName: ts + 23844 /* "pager_stmt_rollb..." */, FxProc: 0}, - {FzName: ts + 23864 /* "pager_stats" */, FxProc: 0}, - {FzName: ts + 23876 /* "pager_pagecount" */, FxProc: 0}, - {FzName: ts + 23892 /* "page_get" */, FxProc: 0}, - {FzName: ts + 23901 /* "page_lookup" */, FxProc: 0}, - {FzName: ts + 23913 /* "page_unref" */, FxProc: 0}, - {FzName: ts + 23924 /* "page_read" */, FxProc: 0}, - {FzName: ts + 23934 /* "page_write" */, FxProc: 0}, - {FzName: ts + 23945 /* "page_number" */, FxProc: 0}, - {FzName: ts + 23957 /* "pager_truncate" */, FxProc: 0}, - {FzName: ts + 23972 /* "fake_big_file" */, FxProc: 0}, - {FzName: ts + 23986 /* "sqlite3BitvecBui..." */, FxProc: 0}, - {FzName: ts + 24011 /* "sqlite3_test_con..." */, FxProc: 0}, - {FzName: ts + 24045 /* "sqlite3_test_con..." */, FxProc: 0}, + { + FzName: ts + 23758, /* "pager_open" */ + FxProc: 0}, + { + FzName: ts + 23769, /* "pager_close" */ + FxProc: 0}, + { + FzName: ts + 23781, /* "pager_commit" */ + FxProc: 0}, + { + FzName: ts + 23794, /* "pager_rollback" */ + FxProc: 0}, + { + FzName: ts + 23809, /* "pager_stmt_begin" */ + FxProc: 0}, + { + FzName: ts + 23826, /* "pager_stmt_commi..." */ + FxProc: 0}, + { + FzName: ts + 23844, /* "pager_stmt_rollb..." */ + FxProc: 0}, + { + FzName: ts + 23864, /* "pager_stats" */ + FxProc: 0}, + { + FzName: ts + 23876, /* "pager_pagecount" */ + FxProc: 0}, + { + FzName: ts + 23892, /* "page_get" */ + FxProc: 0}, + { + FzName: ts + 23901, /* "page_lookup" */ + FxProc: 0}, + { + FzName: ts + 23913, /* "page_unref" */ + FxProc: 0}, + { + FzName: ts + 23924, /* "page_read" */ + FxProc: 0}, + { + FzName: ts + 23934, /* "page_write" */ + FxProc: 0}, + { + FzName: ts + 23945, /* "page_number" */ + FxProc: 0}, + { + FzName: ts + 23957, /* "pager_truncate" */ + FxProc: 0}, + { + FzName: ts + 23972, /* "fake_big_file" */ + FxProc: 0}, + { + FzName: ts + 23986, /* "sqlite3BitvecBui..." */ + FxProc: 0}, + { + FzName: ts + 24011, /* "sqlite3_test_con..." */ + FxProc: 0}, + { + FzName: ts + 24045, /* "sqlite3_test_con..." */ + FxProc: 0}, } /* test2.c:707:5 */ // 2001 September 15 @@ -53030,20 +56377,48 @@ var aCmd3 = [14]struct { FzName uintptr FxProc uintptr }{ - {FzName: ts + 24503 /* "btree_open" */, FxProc: 0}, - {FzName: ts + 24514 /* "btree_close" */, FxProc: 0}, - {FzName: ts + 24526 /* "btree_begin_tran..." */, FxProc: 0}, - {FzName: ts + 24550 /* "btree_pager_stat..." */, FxProc: 0}, - {FzName: ts + 24568 /* "btree_cursor" */, FxProc: 0}, - {FzName: ts + 24581 /* "btree_close_curs..." */, FxProc: 0}, - {FzName: ts + 24600 /* "btree_next" */, FxProc: 0}, - {FzName: ts + 24611 /* "btree_eof" */, FxProc: 0}, - {FzName: ts + 24621 /* "btree_payload_si..." */, FxProc: 0}, - {FzName: ts + 24640 /* "btree_first" */, FxProc: 0}, - {FzName: ts + 24652 /* "btree_varint_tes..." */, FxProc: 0}, - {FzName: ts + 24670 /* "btree_from_db" */, FxProc: 0}, - {FzName: ts + 24684 /* "btree_ismemdb" */, FxProc: 0}, - {FzName: ts + 24698 /* "btree_set_cache_..." */, FxProc: 0}, + { + FzName: ts + 24503, /* "btree_open" */ + FxProc: 0}, + { + FzName: ts + 24514, /* "btree_close" */ + FxProc: 0}, + { + FzName: ts + 24526, /* "btree_begin_tran..." */ + FxProc: 0}, + { + FzName: ts + 24550, /* "btree_pager_stat..." */ + FxProc: 0}, + { + FzName: ts + 24568, /* "btree_cursor" */ + FxProc: 0}, + { + FzName: ts + 24581, /* "btree_close_curs..." */ + FxProc: 0}, + { + FzName: ts + 24600, /* "btree_next" */ + FxProc: 0}, + { + FzName: ts + 24611, /* "btree_eof" */ + FxProc: 0}, + { + FzName: ts + 24621, /* "btree_payload_si..." */ + FxProc: 0}, + { + FzName: ts + 24640, /* "btree_first" */ + FxProc: 0}, + { + FzName: ts + 24652, /* "btree_varint_tes..." */ + FxProc: 0}, + { + FzName: ts + 24670, /* "btree_from_db" */ + FxProc: 0}, + { + FzName: ts + 24684, /* "btree_ismemdb" */ + FxProc: 0}, + { + FzName: ts + 24698, /* "btree_set_cache_..." */ + FxProc: 0}, } /* test3.c:665:5 */ // end block for C++ @@ -53998,21 +57373,51 @@ var aCmd4 = [15]struct { FzName uintptr FxProc uintptr }{ - {FzName: ts + 24957 /* "thread_create" */, FxProc: 0}, - {FzName: ts + 24971 /* "thread_wait" */, FxProc: 0}, - {FzName: ts + 24983 /* "thread_halt" */, FxProc: 0}, - {FzName: ts + 24995 /* "thread_argc" */, FxProc: 0}, - {FzName: ts + 25007 /* "thread_argv" */, FxProc: 0}, - {FzName: ts + 25019 /* "thread_colname" */, FxProc: 0}, - {FzName: ts + 25034 /* "thread_result" */, FxProc: 0}, - {FzName: ts + 25048 /* "thread_error" */, FxProc: 0}, - {FzName: ts + 25061 /* "thread_compile" */, FxProc: 0}, - {FzName: ts + 25076 /* "thread_step" */, FxProc: 0}, - {FzName: ts + 25088 /* "thread_finalize" */, FxProc: 0}, - {FzName: ts + 25104 /* "thread_swap" */, FxProc: 0}, - {FzName: ts + 25116 /* "thread_db_get" */, FxProc: 0}, - {FzName: ts + 25130 /* "thread_db_put" */, FxProc: 0}, - {FzName: ts + 25144 /* "thread_stmt_get" */, FxProc: 0}, + { + FzName: ts + 24957, /* "thread_create" */ + FxProc: 0}, + { + FzName: ts + 24971, /* "thread_wait" */ + FxProc: 0}, + { + FzName: ts + 24983, /* "thread_halt" */ + FxProc: 0}, + { + FzName: ts + 24995, /* "thread_argc" */ + FxProc: 0}, + { + FzName: ts + 25007, /* "thread_argv" */ + FxProc: 0}, + { + FzName: ts + 25019, /* "thread_colname" */ + FxProc: 0}, + { + FzName: ts + 25034, /* "thread_result" */ + FxProc: 0}, + { + FzName: ts + 25048, /* "thread_error" */ + FxProc: 0}, + { + FzName: ts + 25061, /* "thread_compile" */ + FxProc: 0}, + { + FzName: ts + 25076, /* "thread_step" */ + FxProc: 0}, + { + FzName: ts + 25088, /* "thread_finalize" */ + FxProc: 0}, + { + FzName: ts + 25104, /* "thread_swap" */ + FxProc: 0}, + { + FzName: ts + 25116, /* "thread_db_get" */ + FxProc: 0}, + { + FzName: ts + 25130, /* "thread_db_put" */ + FxProc: 0}, + { + FzName: ts + 25144, /* "thread_stmt_get" */ + FxProc: 0}, } /* test4.c:700:5 */ // end block for C++ @@ -54129,11 +57534,19 @@ func name_to_enc(tls *libc.TLS, interp uintptr, pObj uintptr) u8 { /* test5.c:94 defer tls.Free(104) *(*[5]EncName)(unsafe.Pointer(bp + 24 /* encnames */)) = [5]EncName{ - {FzName: ts + 25199 /* "UTF8" */, Fenc: u8(1)}, - {FzName: ts + 25204 /* "UTF16LE" */, Fenc: u8(2)}, - {FzName: ts + 25212 /* "UTF16BE" */, Fenc: u8(3)}, - {FzName: ts + 25220 /* "UTF16" */, Fenc: u8(4)}, - {FzName: uintptr(0), Fenc: u8(0)}, + { + FzName: ts + 25199, /* "UTF8" */ + Fenc: u8(1)}, + { + FzName: ts + 25204, /* "UTF16LE" */ + Fenc: u8(2)}, + { + FzName: ts + 25212, /* "UTF16BE" */ + Fenc: u8(3)}, + { + FzName: ts + 25220, /* "UTF16" */ + Fenc: u8(4)}, + {}, } var pEnc uintptr var z uintptr = tcl.XTcl_GetString(tls, pObj) @@ -54242,10 +57655,18 @@ var aCmd5 = [4]struct { FzName uintptr FxProc uintptr }{ - {FzName: ts + 25280 /* "binarize" */, FxProc: 0}, - {FzName: ts + 25289 /* "test_value_overh..." */, FxProc: 0}, - {FzName: ts + 25309 /* "test_translate" */, FxProc: 0}, - {FzName: ts + 25324 /* "translate_selfte..." */, FxProc: 0}, + { + FzName: ts + 25280, /* "binarize" */ + FxProc: 0}, + { + FzName: ts + 25289, /* "test_value_overh..." */ + FxProc: 0}, + { + FzName: ts + 25309, /* "test_translate" */ + FxProc: 0}, + { + FzName: ts + 25324, /* "translate_selfte..." */ + FxProc: 0}, } /* test5.c:209:5 */ // end block for C++ @@ -54302,7 +57723,12 @@ type WriteBuffer1 = struct { type WriteBuffer = WriteBuffer1 /* test6.c:31:28 */ -var g = CrashGlobal{FpWriteList: uintptr(0), FpWriteListEnd: uintptr(0), FiSectorSize: 4096, FiDeviceCharacteristics: 0, FiCrash: 0} /* test6.c:156:20 */ +var g = CrashGlobal{ + FpWriteList: uintptr(0), + FpWriteListEnd: uintptr(0), + FiSectorSize: 4096, + FiDeviceCharacteristics: 0, + FiCrash: 0} /* test6.c:156:20 */ // Set this global variable to 1 to enable crash testing. var sqlite3CrashTestEnable int32 = 0 /* test6.c:161:12 */ @@ -54657,23 +58083,40 @@ func cfShmMap(tls *libc.TLS, pFile uintptr, iRegion int32, sz int32, w int32, pp return sqlite3.Xsqlite3OsShmMap(tls, (*CrashFile)(unsafe.Pointer(pFile)).FpRealFile, iRegion, sz, w, pp) } -var CrashFileVtab = sqlite3_io_methods{FiVersion: 2, FxClose: // iVersion -0, FxRead:// xClose -0, FxWrite:// xRead -0, FxTruncate:// xWrite -0, FxSync:// xTruncate -0, FxFileSize:// xSync -0, FxLock:// xFileSize -0, FxUnlock:// xLock -0, FxCheckReservedLock:// xUnlock -0, FxFileControl:// xCheckReservedLock -0, FxSectorSize:// xFileControl -0, FxDeviceCharacteristics:// xSectorSize -0, FxShmMap:// xDeviceCharacteristics -0, FxShmLock:// xShmMap -0, FxShmBarrier:// xShmLock -0, FxShmUnmap:// xShmBarrier -0, // xShmUnmap +var CrashFileVtab = sqlite3_io_methods{ + FiVersion: 2, + FxClose:// iVersion + 0, + FxRead:// xClose + 0, + FxWrite:// xRead + 0, + FxTruncate:// xWrite + 0, + FxSync:// xTruncate + 0, + FxFileSize:// xSync + 0, + FxLock:// xFileSize + 0, + FxUnlock:// xLock + 0, + FxCheckReservedLock:// xUnlock + 0, + FxFileControl:// xCheckReservedLock + 0, + FxSectorSize:// xFileControl + 0, + FxDeviceCharacteristics:// xSectorSize + 0, + FxShmMap:// xDeviceCharacteristics + 0, + FxShmLock:// xShmMap + 0, + FxShmBarrier:// xShmLock + 0, + FxShmUnmap:// xShmBarrier + 0, // xShmUnmap } /* test6.c:571:33 */ // Application data for the crash VFS @@ -54789,20 +58232,46 @@ func processDevSymArgs(tls *libc.TLS, interp uintptr, objc int32, objv uintptr, defer tls.Free(316) *(*[14]DeviceFlag)(unsafe.Pointer(bp + 88 /* aFlag */)) = [14]DeviceFlag{ - {FzName: ts + 25381 /* "atomic" */, FiValue: 0x00000001}, - {FzName: ts + 25388 /* "atomic512" */, FiValue: 0x00000002}, - {FzName: ts + 25398 /* "atomic1k" */, FiValue: 0x00000004}, - {FzName: ts + 25407 /* "atomic2k" */, FiValue: 0x00000008}, - {FzName: ts + 25416 /* "atomic4k" */, FiValue: 0x00000010}, - {FzName: ts + 25425 /* "atomic8k" */, FiValue: 0x00000020}, - {FzName: ts + 25434 /* "atomic16k" */, FiValue: 0x00000040}, - {FzName: ts + 25444 /* "atomic32k" */, FiValue: 0x00000080}, - {FzName: ts + 25454 /* "atomic64k" */, FiValue: 0x00000100}, - {FzName: ts + 25464 /* "sequential" */, FiValue: 0x00000400}, - {FzName: ts + 25475 /* "safe_append" */, FiValue: 0x00000200}, - {FzName: ts + 25487 /* "powersafe_overwr..." */, FiValue: 0x00001000}, - {FzName: ts + 25507 /* "batch-atomic" */, FiValue: 0x00004000}, - {FzName: uintptr(0), FiValue: 0}, + { + FzName: ts + 25381, /* "atomic" */ + FiValue: 0x00000001}, + { + FzName: ts + 25388, /* "atomic512" */ + FiValue: 0x00000002}, + { + FzName: ts + 25398, /* "atomic1k" */ + FiValue: 0x00000004}, + { + FzName: ts + 25407, /* "atomic2k" */ + FiValue: 0x00000008}, + { + FzName: ts + 25416, /* "atomic4k" */ + FiValue: 0x00000010}, + { + FzName: ts + 25425, /* "atomic8k" */ + FiValue: 0x00000020}, + { + FzName: ts + 25434, /* "atomic16k" */ + FiValue: 0x00000040}, + { + FzName: ts + 25444, /* "atomic32k" */ + FiValue: 0x00000080}, + { + FzName: ts + 25454, /* "atomic64k" */ + FiValue: 0x00000100}, + { + FzName: ts + 25464, /* "sequential" */ + FiValue: 0x00000400}, + { + FzName: ts + 25475, /* "safe_append" */ + FiValue: 0x00000200}, + { + FzName: ts + 25487, /* "powersafe_overwr..." */ + FiValue: 0x00001000}, + { + FzName: ts + 25507, /* "batch-atomic" */ + FiValue: 0x00004000}, + {}, } var i int32 var iDc int32 = 0 @@ -54939,26 +58408,45 @@ func crashEnableCmd(tls *libc.TLS, clientData uintptr, interp uintptr, objc int3 return 0 } -var crashVfs = sqlite3_vfs{FiVersion: 2, FszOsFile: // iVersion -0, FmxPathname:// szOsFile -0, FpNext:// mxPathname -uintptr(0), FzName:// pNext -ts + 25672, /* "crash" */ FpAppData:// zName -uintptr(0), FxOpen:// pAppData - -0, FxDelete:// xOpen -0, FxAccess:// xDelete -0, FxFullPathname:// xAccess -0, FxDlOpen:// xFullPathname -0, FxDlError:// xDlOpen -0, FxDlSym:// xDlError -0, FxDlClose:// xDlSym -0, FxRandomness:// xDlClose -0, FxSleep:// xRandomness -0, FxCurrentTime:// xSleep -0, FxGetLastError:// xCurrentTime -0, FxCurrentTimeInt64:// xGetLastError -uintptr(0), // xCurrentTimeInt64 +var crashVfs = sqlite3_vfs{ + FiVersion: 2, + FszOsFile:// iVersion + 0, + FmxPathname:// szOsFile + 0, + FpNext:// mxPathname + uintptr(0), + FzName:// pNext + ts + 25672, /* "crash" */ + FpAppData:// zName + uintptr(0), + FxOpen:// pAppData + + 0, + FxDelete:// xOpen + 0, + FxAccess:// xDelete + 0, + FxFullPathname:// xAccess + 0, + FxDlOpen:// xFullPathname + 0, + FxDlError:// xDlOpen + 0, + FxDlSym:// xDlError + 0, + FxDlClose:// xDlSym + 0, + FxRandomness:// xDlClose + 0, + FxSleep:// xRandomness + 0, + FxCurrentTime:// xSleep + 0, + FxGetLastError:// xCurrentTime + 0, + FxCurrentTimeInt64:// xGetLastError + uintptr(0), // xCurrentTimeInt64 } /* test6.c:845:22 */ // tclcmd: sqlite_crashparams ?OPTIONS? DELAY CRASHFILE @@ -55779,19 +59267,45 @@ var aCmd6 = [13]struct { FzName uintptr FxProc uintptr }{ - {FzName: ts + 25965 /* "client_create" */, FxProc: 0}, - {FzName: ts + 25979 /* "client_wait" */, FxProc: 0}, - {FzName: ts + 25991 /* "client_halt" */, FxProc: 0}, - {FzName: ts + 26003 /* "client_argc" */, FxProc: 0}, - {FzName: ts + 26015 /* "client_argv" */, FxProc: 0}, - {FzName: ts + 26027 /* "client_colname" */, FxProc: 0}, - {FzName: ts + 26042 /* "client_result" */, FxProc: 0}, - {FzName: ts + 26056 /* "client_error" */, FxProc: 0}, - {FzName: ts + 26069 /* "client_compile" */, FxProc: 0}, - {FzName: ts + 26084 /* "client_step" */, FxProc: 0}, - {FzName: ts + 26096 /* "client_reset" */, FxProc: 0}, - {FzName: ts + 26109 /* "client_finalize" */, FxProc: 0}, - {FzName: ts + 26125 /* "client_swap" */, FxProc: 0}, + { + FzName: ts + 25965, /* "client_create" */ + FxProc: 0}, + { + FzName: ts + 25979, /* "client_wait" */ + FxProc: 0}, + { + FzName: ts + 25991, /* "client_halt" */ + FxProc: 0}, + { + FzName: ts + 26003, /* "client_argc" */ + FxProc: 0}, + { + FzName: ts + 26015, /* "client_argv" */ + FxProc: 0}, + { + FzName: ts + 26027, /* "client_colname" */ + FxProc: 0}, + { + FzName: ts + 26042, /* "client_result" */ + FxProc: 0}, + { + FzName: ts + 26056, /* "client_error" */ + FxProc: 0}, + { + FzName: ts + 26069, /* "client_compile" */ + FxProc: 0}, + { + FzName: ts + 26084, /* "client_step" */ + FxProc: 0}, + { + FzName: ts + 26096, /* "client_reset" */ + FxProc: 0}, + { + FzName: ts + 26109, /* "client_finalize" */ + FxProc: 0}, + { + FzName: ts + 26125, /* "client_swap" */ + FxProc: 0}, } /* test7.c:694:5 */ // end block for C++ @@ -57189,39 +60703,82 @@ func echoRollbackTo(tls *libc.TLS, pVTab uintptr, iSavepoint int32) int32 { /* t // A virtual table module that merely "echos" the contents of another // table (like an SQL VIEW). -var echoModule = sqlite3_module{FiVersion: 1, FxCreate: // iVersion -0, FxConnect: 0, FxBestIndex: 0, FxDisconnect: 0, FxDestroy: 0, FxOpen: 0, FxClose: // xOpen - open a cursor -0, FxFilter:// xClose - close a cursor -0, FxNext:// xFilter - configure scan constraints -0, FxEof:// xNext - advance a cursor -0, FxColumn:// xEof -0, FxRowid:// xColumn - read data -0, FxUpdate:// xRowid - read data -0, FxBegin:// xUpdate - write data -0, FxSync:// xBegin - begin transaction -0, FxCommit:// xSync - sync transaction -0, FxRollback:// xCommit - commit transaction -0, FxFindFunction:// xRollback - rollback transaction -0, FxRename:// xFindFunction - function overloading -0, // xRename - rename the table +var echoModule = sqlite3_module{ + FiVersion: 1, + FxCreate:// iVersion + 0, + FxConnect: 0, + FxBestIndex: 0, + FxDisconnect: 0, + FxDestroy: 0, + FxOpen: 0, + FxClose:// xOpen - open a cursor + 0, + FxFilter:// xClose - close a cursor + 0, + FxNext:// xFilter - configure scan constraints + 0, + FxEof:// xNext - advance a cursor + 0, + FxColumn:// xEof + 0, + FxRowid:// xColumn - read data + 0, + FxUpdate:// xRowid - read data + 0, + FxBegin:// xUpdate - write data + 0, + FxSync:// xBegin - begin transaction + 0, + FxCommit:// xSync - sync transaction + 0, + FxRollback:// xCommit - commit transaction + 0, + FxFindFunction:// xRollback - rollback transaction + 0, + FxRename:// xFindFunction - function overloading + 0, // xRename - rename the table } /* test8.c:1299:23 */ -var echoModuleV2 = sqlite3_module{FiVersion: 2, FxCreate: // iVersion -0, FxConnect: 0, FxBestIndex: 0, FxDisconnect: 0, FxDestroy: 0, FxOpen: 0, FxClose: // xOpen - open a cursor -0, FxFilter:// xClose - close a cursor -0, FxNext:// xFilter - configure scan constraints -0, FxEof:// xNext - advance a cursor -0, FxColumn:// xEof -0, FxRowid:// xColumn - read data -0, FxUpdate:// xRowid - read data -0, FxBegin:// xUpdate - write data -0, FxSync:// xBegin - begin transaction -0, FxCommit:// xSync - sync transaction -0, FxRollback:// xCommit - commit transaction -0, FxFindFunction:// xRollback - rollback transaction -0, FxRename:// xFindFunction - function overloading -0, FxSavepoint:// xRename - rename the table -0, FxRelease: 0, FxRollbackTo: 0, +var echoModuleV2 = sqlite3_module{ + FiVersion: 2, + FxCreate:// iVersion + 0, + FxConnect: 0, + FxBestIndex: 0, + FxDisconnect: 0, + FxDestroy: 0, + FxOpen: 0, + FxClose:// xOpen - open a cursor + 0, + FxFilter:// xClose - close a cursor + 0, + FxNext:// xFilter - configure scan constraints + 0, + FxEof:// xNext - advance a cursor + 0, + FxColumn:// xEof + 0, + FxRowid:// xColumn - read data + 0, + FxUpdate:// xRowid - read data + 0, + FxBegin:// xUpdate - write data + 0, + FxSync:// xBegin - begin transaction + 0, + FxCommit:// xSync - sync transaction + 0, + FxRollback:// xCommit - commit transaction + 0, + FxFindFunction:// xRollback - rollback transaction + 0, + FxRename:// xFindFunction - function overloading + 0, + FxSavepoint:// xRename - rename the table + 0, + FxRelease: 0, + FxRollbackTo: 0, } /* test8.c:1322:23 */ func moduleDestroy(tls *libc.TLS, p uintptr) { /* test8.c:1354:13: */ @@ -57307,8 +60864,14 @@ var aObjCmd2 = [2]struct { FxProc uintptr FclientData uintptr }{ - {FzName: ts + 26952 /* "register_echo_mo..." */, FxProc: 0, FclientData: uintptr(0)}, - {FzName: ts + 26973 /* "sqlite3_declare_..." */, FxProc: 0, FclientData: uintptr(0)}, + { + FzName: ts + 26952, /* "register_echo_mo..." */ + FxProc: 0, + FclientData: uintptr(0)}, + { + FzName: ts + 26973, /* "sqlite3_declare_..." */ + FxProc: 0, + FclientData: uintptr(0)}, } /* test8.c:1433:5 */ // end block for C++ @@ -57559,9 +61122,18 @@ var aObjCmd3 = [3]struct { FxProc uintptr FclientData uintptr }{ - {FzName: ts + 27079 /* "c_misuse_test" */, FxProc: 0, FclientData: uintptr(0)}, - {FzName: ts + 27093 /* "c_realloc_test" */, FxProc: 0, FclientData: uintptr(0)}, - {FzName: ts + 27108 /* "c_collation_test" */, FxProc: 0, FclientData: uintptr(0)}, + { + FzName: ts + 27079, /* "c_misuse_test" */ + FxProc: 0, + FclientData: uintptr(0)}, + { + FzName: ts + 27093, /* "c_realloc_test" */ + FxProc: 0, + FclientData: uintptr(0)}, + { + FzName: ts + 27108, /* "c_collation_test" */ + FxProc: 0, + FclientData: uintptr(0)}, } /* test9.c:193:5 */ // end block for C++ @@ -57614,11 +61186,27 @@ func backupTestCmd(tls *libc.TLS, clientData ClientData, interp uintptr, objc in defer tls.Free(196) *(*[5]BackupSubCommand)(unsafe.Pointer(bp /* aSub */)) = [5]BackupSubCommand{ - {FzCmd: ts + 9942 /* "step" */, FeCmd: uint32(0) /* BACKUP_STEP */, FnArg: 1, FzArg: ts + 27154 /* "npage" */}, - {FzCmd: ts + 27160 /* "finish" */, FeCmd: uint32(1) /* BACKUP_FINISH */, FnArg: 0, FzArg: ts + 488 /* "" */}, - {FzCmd: ts + 27167 /* "remaining" */, FeCmd: uint32(2) /* BACKUP_REMAINING */, FnArg: 0, FzArg: ts + 488 /* "" */}, - {FzCmd: ts + 27177 /* "pagecount" */, FeCmd: uint32(3) /* BACKUP_PAGECOUNT */, FnArg: 0, FzArg: ts + 488 /* "" */}, - {FzCmd: uintptr(0), FeCmd: uint32(0), FnArg: 0, FzArg: uintptr(0)}, + { + FzCmd: ts + 9942, /* "step" */ + FeCmd: uint32(0), /* BACKUP_STEP */ + FnArg: 1, + FzArg: ts + 27154 /* "npage" */}, + { + FzCmd: ts + 27160, /* "finish" */ + FeCmd: uint32(1), /* BACKUP_FINISH */ + FnArg: 0, + FzArg: ts + 488 /* "" */}, + { + FzCmd: ts + 27167, /* "remaining" */ + FeCmd: uint32(2), /* BACKUP_REMAINING */ + FnArg: 0, + FzArg: ts + 488 /* "" */}, + { + FzCmd: ts + 27177, /* "pagecount" */ + FeCmd: uint32(3), /* BACKUP_PAGECOUNT */ + FnArg: 0, + FzArg: ts + 488 /* "" */}, + {}, } var p uintptr = clientData @@ -58230,21 +61818,41 @@ func tclBestIndex(tls *libc.TLS, tab uintptr, pIdxInfo uintptr) int32 { /* test_ // A virtual table module that provides read-only access to a // Tcl global variable namespace. -var tclModule = sqlite3_module{FiVersion: 0, FxCreate: // iVersion -0, FxConnect: 0, FxBestIndex: 0, FxDisconnect: 0, FxDestroy: 0, FxOpen: 0, FxClose: // xOpen - open a cursor -0, FxFilter:// xClose - close a cursor -0, FxNext:// xFilter - configure scan constraints -0, FxEof:// xNext - advance a cursor -0, FxColumn:// xEof - check for end of scan -0, FxRowid:// xColumn - read data -0, FxUpdate:// xRowid - read data -uintptr(0), FxBegin:// xUpdate -uintptr(0), FxSync:// xBegin -uintptr(0), FxCommit:// xSync -uintptr(0), FxRollback:// xCommit -uintptr(0), FxFindFunction:// xRollback -uintptr(0), FxRename:// xFindMethod -uintptr(0), // xRename +var tclModule = sqlite3_module{ + FiVersion: 0, + FxCreate:// iVersion + 0, + FxConnect: 0, + FxBestIndex: 0, + FxDisconnect: 0, + FxDestroy: 0, + FxOpen: 0, + FxClose:// xOpen - open a cursor + 0, + FxFilter:// xClose - close a cursor + 0, + FxNext:// xFilter - configure scan constraints + 0, + FxEof:// xNext - advance a cursor + 0, + FxColumn:// xEof - check for end of scan + 0, + FxRowid:// xColumn - read data + 0, + FxUpdate:// xRowid - read data + uintptr(0), + FxBegin:// xUpdate + uintptr(0), + FxSync:// xBegin + uintptr(0), + FxCommit:// xSync + uintptr(0), + FxRollback:// xCommit + uintptr(0), + FxFindFunction:// xRollback + uintptr(0), + FxRename:// xFindMethod + uintptr(0), // xRename } /* test_bestindex.c:549:23 */ // Register the echo virtual table module. @@ -58284,7 +61892,10 @@ var aObjCmd4 = [1]struct { FxProc uintptr FclientData uintptr }{ - {FzName: ts + 27447 /* "register_tcl_mod..." */, FxProc: 0, FclientData: uintptr(0)}, + { + FzName: ts + 27447, /* "register_tcl_mod..." */ + FxProc: 0, + FclientData: uintptr(0)}, } /* test_bestindex.c:610:5 */ // Return a pointer to a buffer containing a text representation of the @@ -58599,11 +62210,21 @@ var aObjCmd5 = [5]struct { FzName uintptr FxProc uintptr }{ - {FzName: ts + 27634 /* "sqlite3_blob_ope..." */, FxProc: 0}, - {FzName: ts + 27652 /* "sqlite3_blob_clo..." */, FxProc: 0}, - {FzName: ts + 27671 /* "sqlite3_blob_byt..." */, FxProc: 0}, - {FzName: ts + 27690 /* "sqlite3_blob_rea..." */, FxProc: 0}, - {FzName: ts + 27708 /* "sqlite3_blob_wri..." */, FxProc: 0}, + { + FzName: ts + 27634, /* "sqlite3_blob_ope..." */ + FxProc: 0}, + { + FzName: ts + 27652, /* "sqlite3_blob_clo..." */ + FxProc: 0}, + { + FzName: ts + 27671, /* "sqlite3_blob_byt..." */ + FxProc: 0}, + { + FzName: ts + 27690, /* "sqlite3_blob_rea..." */ + FxProc: 0}, + { + FzName: ts + 27708, /* "sqlite3_blob_wri..." */ + FxProc: 0}, } /* test_blob.c:317:5 */ // end block for C++ @@ -59131,12 +62752,30 @@ func sqlite3_delete_database(tls *libc.TLS, zFile uintptr) int32 { /* test_delet *(*[4]uintptr)(unsafe.Pointer(bp + 24 /* azFmt */)) = [4]uintptr{ts /* "%s" */, ts + 29436 /* "%s-journal" */, ts + 29447 /* "%s-wal" */, ts + 29454 /* "%s-shm" */} *(*[6]MFile)(unsafe.Pointer(bp + 56 /* aMFile */)) = [6]MFile{ - {FzFmt: ts + 29461 /* "%s%03d" */, FiOffset: 0, Fb83: 0}, - {FzFmt: ts + 29468 /* "%s-journal%03d" */, FiOffset: 0, Fb83: 0}, - {FzFmt: ts + 29483 /* "%s-wal%03d" */, FiOffset: 0, Fb83: 0}, - {FzFmt: ts + 29461 /* "%s%03d" */, FiOffset: 0, Fb83: 1}, - {FzFmt: ts + 29468 /* "%s-journal%03d" */, FiOffset: 400, Fb83: 1}, - {FzFmt: ts + 29483 /* "%s-wal%03d" */, FiOffset: 700, Fb83: 1}, + { + FzFmt: ts + 29461, /* "%s%03d" */ + FiOffset: 0, + Fb83: 0}, + { + FzFmt: ts + 29468, /* "%s-journal%03d" */ + FiOffset: 0, + Fb83: 0}, + { + FzFmt: ts + 29483, /* "%s-wal%03d" */ + FiOffset: 0, + Fb83: 0}, + { + FzFmt: ts + 29461, /* "%s%03d" */ + FiOffset: 0, + Fb83: 1}, + { + FzFmt: ts + 29468, /* "%s-journal%03d" */ + FiOffset: 400, + Fb83: 1}, + { + FzFmt: ts + 29483, /* "%s-wal%03d" */ + FiOffset: 700, + Fb83: 1}, } var pVfs uintptr = uintptr(0) @@ -59504,19 +63143,32 @@ func demoOpen(tls *libc.TLS, pVfs uintptr, zName uintptr, pFile uintptr, flags i return 0 } -var demoio = sqlite3_io_methods{FiVersion: 1, FxClose: // iVersion -0, FxRead:// xClose -0, FxWrite:// xRead -0, FxTruncate:// xWrite -0, FxSync:// xTruncate -0, FxFileSize:// xSync -0, FxLock:// xFileSize -0, FxUnlock:// xLock -0, FxCheckReservedLock:// xUnlock -0, FxFileControl:// xCheckReservedLock -0, FxSectorSize:// xFileControl -0, FxDeviceCharacteristics:// xSectorSize -0, // xDeviceCharacteristics +var demoio = sqlite3_io_methods{ + FiVersion: 1, + FxClose:// iVersion + 0, + FxRead:// xClose + 0, + FxWrite:// xRead + 0, + FxTruncate:// xWrite + 0, + FxSync:// xTruncate + 0, + FxFileSize:// xSync + 0, + FxLock:// xFileSize + 0, + FxUnlock:// xLock + 0, + FxCheckReservedLock:// xUnlock + 0, + FxFileControl:// xCheckReservedLock + 0, + FxSectorSize:// xFileControl + 0, + FxDeviceCharacteristics:// xSectorSize + 0, // xDeviceCharacteristics } /* test_demovfs.c:400:35 */ // Delete the file identified by argument zPath. If the dirSync parameter @@ -59672,23 +63324,40 @@ func sqlite3_demovfs(tls *libc.TLS) uintptr { /* test_demovfs.c:619:13: */ return uintptr(unsafe.Pointer(&demovfs)) } -var demovfs = sqlite3_vfs{FiVersion: 1, FszOsFile: // iVersion -int32(unsafe.Sizeof(DemoFile{})), FmxPathname:// szOsFile -512, FpNext:// mxPathname -uintptr(0), FzName:// pNext -ts + 29532, /* "demo" */ FpAppData:// zName -uintptr(0), FxOpen:// pAppData -0, FxDelete:// xOpen -0, FxAccess:// xDelete -0, FxFullPathname:// xAccess -0, FxDlOpen:// xFullPathname -0, FxDlError:// xDlOpen -0, FxDlSym:// xDlError -0, FxDlClose:// xDlSym -0, FxRandomness:// xDlClose -0, FxSleep:// xRandomness -0, FxCurrentTime:// xSleep -0, // xCurrentTime +var demovfs = sqlite3_vfs{ + FiVersion: 1, + FszOsFile:// iVersion + int32(unsafe.Sizeof(DemoFile{})), + FmxPathname:// szOsFile + 512, + FpNext:// mxPathname + uintptr(0), + FzName:// pNext + ts + 29532, /* "demo" */ + FpAppData:// zName + uintptr(0), + FxOpen:// pAppData + 0, + FxDelete:// xOpen + 0, + FxAccess:// xDelete + 0, + FxFullPathname:// xAccess + 0, + FxDlOpen:// xFullPathname + 0, + FxDlError:// xDlOpen + 0, + FxDlSym:// xDlError + 0, + FxDlClose:// xDlSym + 0, + FxRandomness:// xDlClose + 0, + FxSleep:// xRandomness + 0, + FxCurrentTime:// xSleep + 0, // xCurrentTime } /* test_demovfs.c:620:22 */ type Tcl_StatBuf = stat64 /* tcl.h:470:25 */ @@ -60382,7 +64051,11 @@ type DevsymGlobal = struct { _ [4]byte } /* test_devsym.c:76:1 */ -var g1 = DevsymGlobal{FpVfs: uintptr(0), FiDeviceChar: 0, FiSectorSize: 512, FnWriteCrash: 0} /* test_devsym.c:82:21 */ +var g1 = DevsymGlobal{ + FpVfs: uintptr(0), + FiDeviceChar: 0, + FiSectorSize: 512, + FnWriteCrash: 0} /* test_devsym.c:82:21 */ // Close an devsym-file. func devsymClose(tls *libc.TLS, pFile uintptr) int32 { /* test_devsym.c:87:12: */ @@ -60485,23 +64158,40 @@ func devsymOpen(tls *libc.TLS, pVfs uintptr, zName uintptr, pFile uintptr, flags return rc } -var devsym_io_methods = sqlite3_io_methods{FiVersion: 2, FxClose: // iVersion -0, FxRead:// xClose -0, FxWrite:// xRead -0, FxTruncate:// xWrite -0, FxSync:// xTruncate -0, FxFileSize:// xSync -0, FxLock:// xFileSize -0, FxUnlock:// xLock -0, FxCheckReservedLock:// xUnlock -0, FxFileControl:// xCheckReservedLock -0, FxSectorSize:// xFileControl -0, FxDeviceCharacteristics:// xSectorSize -0, FxShmMap:// xDeviceCharacteristics -0, FxShmLock:// xShmMap -0, FxShmBarrier:// xShmLock -0, FxShmUnmap:// xShmBarrier -0, // xShmUnmap +var devsym_io_methods = sqlite3_io_methods{ + FiVersion: 2, + FxClose:// iVersion + 0, + FxRead:// xClose + 0, + FxWrite:// xRead + 0, + FxTruncate:// xWrite + 0, + FxSync:// xTruncate + 0, + FxFileSize:// xSync + 0, + FxLock:// xFileSize + 0, + FxUnlock:// xLock + 0, + FxCheckReservedLock:// xUnlock + 0, + FxFileControl:// xCheckReservedLock + 0, + FxSectorSize:// xFileControl + 0, + FxDeviceCharacteristics:// xSectorSize + 0, + FxShmMap:// xDeviceCharacteristics + 0, + FxShmLock:// xShmMap + 0, + FxShmBarrier:// xShmLock + 0, + FxShmUnmap:// xShmBarrier + 0, // xShmUnmap } /* test_devsym.c:227:27 */ // Delete the file located at zPath. If the dirSync argument is true, @@ -60577,65 +64267,120 @@ func writecrashOpen(tls *libc.TLS, pVfs uintptr, zName uintptr, pFile uintptr, f return rc } -var writecrash_io_methods = sqlite3_io_methods{FiVersion: 2, FxClose: // iVersion -0, FxRead:// xClose -0, FxWrite:// xRead -0, FxTruncate:// xWrite -0, FxSync:// xTruncate -0, FxFileSize:// xSync -0, FxLock:// xFileSize -0, FxUnlock:// xLock -0, FxCheckReservedLock:// xUnlock -0, FxFileControl:// xCheckReservedLock -0, FxSectorSize:// xFileControl -0, FxDeviceCharacteristics:// xSectorSize -0, FxShmMap:// xDeviceCharacteristics -0, FxShmLock:// xShmMap -0, FxShmBarrier:// xShmLock -0, FxShmUnmap:// xShmBarrier -0, // xShmUnmap +var writecrash_io_methods = sqlite3_io_methods{ + FiVersion: 2, + FxClose:// iVersion + 0, + FxRead:// xClose + 0, + FxWrite:// xRead + 0, + FxTruncate:// xWrite + 0, + FxSync:// xTruncate + 0, + FxFileSize:// xSync + 0, + FxLock:// xFileSize + 0, + FxUnlock:// xLock + 0, + FxCheckReservedLock:// xUnlock + 0, + FxFileControl:// xCheckReservedLock + 0, + FxSectorSize:// xFileControl + 0, + FxDeviceCharacteristics:// xSectorSize + 0, + FxShmMap:// xDeviceCharacteristics + 0, + FxShmLock:// xShmMap + 0, + FxShmBarrier:// xShmLock + 0, + FxShmUnmap:// xShmBarrier + 0, // xShmUnmap } /* test_devsym.c:391:27 */ -var devsym_vfs = sqlite3_vfs{FiVersion: 2, FszOsFile: // iVersion -int32(unsafe.Sizeof(devsym_file{})), FmxPathname:// szOsFile -512, FpNext:// mxPathname -uintptr(0), FzName:// pNext -ts + 29573, /* "devsym" */ FpAppData:// zName -uintptr(0), FxOpen:// pAppData -0, FxDelete:// xOpen -0, FxAccess:// xDelete -0, FxFullPathname:// xAccess -0, FxDlOpen:// xFullPathname -uintptr(0), FxDlError:// xDlOpen -uintptr(0), FxDlSym:// xDlError -uintptr(0), FxDlClose:// xDlSym -uintptr(0), FxRandomness:// xDlClose -0, FxSleep:// xRandomness -0, FxCurrentTime:// xSleep -0, FxGetLastError:// xCurrentTime -uintptr(0), FxCurrentTimeInt64:// xGetLastError -uintptr(0), // xCurrentTimeInt64 +var devsym_vfs = sqlite3_vfs{ + FiVersion: 2, + FszOsFile:// iVersion + int32(unsafe.Sizeof(devsym_file{})), + FmxPathname:// szOsFile + 512, + FpNext:// mxPathname + uintptr(0), + FzName:// pNext + ts + 29573, /* "devsym" */ + FpAppData:// zName + uintptr(0), + FxOpen:// pAppData + 0, + FxDelete:// xOpen + 0, + FxAccess:// xDelete + 0, + FxFullPathname:// xAccess + 0, + FxDlOpen:// xFullPathname + uintptr(0), + FxDlError:// xDlOpen + uintptr(0), + FxDlSym:// xDlError + uintptr(0), + FxDlClose:// xDlSym + uintptr(0), + FxRandomness:// xDlClose + 0, + FxSleep:// xRandomness + 0, + FxCurrentTime:// xSleep + 0, + FxGetLastError:// xCurrentTime + uintptr(0), + FxCurrentTimeInt64:// xGetLastError + uintptr(0), // xCurrentTimeInt64 } /* test_devsym.c:421:20 */ -var writecrash_vfs = sqlite3_vfs{FiVersion: 2, FszOsFile: // iVersion -int32(unsafe.Sizeof(devsym_file{})), FmxPathname:// szOsFile -512, FpNext:// mxPathname -uintptr(0), FzName:// pNext -ts + 29580, /* "writecrash" */ FpAppData:// zName -uintptr(0), FxOpen:// pAppData -0, FxDelete:// xOpen -0, FxAccess:// xDelete -0, FxFullPathname:// xAccess -0, FxDlOpen:// xFullPathname -uintptr(0), FxDlError:// xDlOpen -uintptr(0), FxDlSym:// xDlError -uintptr(0), FxDlClose:// xDlSym -uintptr(0), FxRandomness:// xDlClose -0, FxSleep:// xRandomness -0, FxCurrentTime:// xSleep -0, FxGetLastError:// xCurrentTime -uintptr(0), FxCurrentTimeInt64:// xGetLastError -uintptr(0), // xCurrentTimeInt64 +var writecrash_vfs = sqlite3_vfs{ + FiVersion: 2, + FszOsFile:// iVersion + int32(unsafe.Sizeof(devsym_file{})), + FmxPathname:// szOsFile + 512, + FpNext:// mxPathname + uintptr(0), + FzName:// pNext + ts + 29580, /* "writecrash" */ + FpAppData:// zName + uintptr(0), + FxOpen:// pAppData + 0, + FxDelete:// xOpen + 0, + FxAccess:// xDelete + 0, + FxFullPathname:// xAccess + 0, + FxDlOpen:// xFullPathname + uintptr(0), + FxDlError:// xDlOpen + uintptr(0), + FxDlSym:// xDlError + uintptr(0), + FxDlClose:// xDlSym + uintptr(0), + FxRandomness:// xDlClose + 0, + FxSleep:// xRandomness + 0, + FxCurrentTime:// xSleep + 0, + FxGetLastError:// xCurrentTime + uintptr(0), + FxCurrentTimeInt64:// xGetLastError + uintptr(0), // xCurrentTimeInt64 } /* test_devsym.c:450:20 */ // This procedure registers the devsym vfs with SQLite. If the argument is @@ -61973,65 +65718,125 @@ func fsBestIndex(tls *libc.TLS, tab uintptr, pIdxInfo uintptr) int32 { /* test_f // A virtual table module that provides read-only access to a // Tcl global variable namespace. -var fsModule = sqlite3_module{FiVersion: 0, FxCreate: // iVersion -0, FxConnect: 0, FxBestIndex: 0, FxDisconnect: 0, FxDestroy: 0, FxOpen: 0, FxClose: // xOpen - open a cursor -0, FxFilter:// xClose - close a cursor -0, FxNext:// xFilter - configure scan constraints -0, FxEof:// xNext - advance a cursor -0, FxColumn:// xEof - check for end of scan -0, FxRowid:// xColumn - read data -0, FxUpdate:// xRowid - read data -uintptr(0), FxBegin:// xUpdate -uintptr(0), FxSync:// xBegin -uintptr(0), FxCommit:// xSync -uintptr(0), FxRollback:// xCommit -uintptr(0), FxFindFunction:// xRollback -uintptr(0), FxRename:// xFindMethod -uintptr(0), // xRename +var fsModule = sqlite3_module{ + FiVersion: 0, + FxCreate:// iVersion + 0, + FxConnect: 0, + FxBestIndex: 0, + FxDisconnect: 0, + FxDestroy: 0, + FxOpen: 0, + FxClose:// xOpen - open a cursor + 0, + FxFilter:// xClose - close a cursor + 0, + FxNext:// xFilter - configure scan constraints + 0, + FxEof:// xNext - advance a cursor + 0, + FxColumn:// xEof - check for end of scan + 0, + FxRowid:// xColumn - read data + 0, + FxUpdate:// xRowid - read data + uintptr(0), + FxBegin:// xUpdate + uintptr(0), + FxSync:// xBegin + uintptr(0), + FxCommit:// xSync + uintptr(0), + FxRollback:// xCommit + uintptr(0), + FxFindFunction:// xRollback + uintptr(0), + FxRename:// xFindMethod + uintptr(0), // xRename } /* test_fs.c:798:23 */ -var fsdirModule = sqlite3_module{FiVersion: 0, FxCreate: // iVersion -0, FxConnect:// xCreate -0, FxBestIndex:// xConnect -0, FxDisconnect:// xBestIndex -0, FxDestroy:// xDisconnect -0, FxOpen:// xDestroy -0, FxClose:// xOpen - open a cursor -0, FxFilter:// xClose - close a cursor -0, FxNext:// xFilter - configure scan constraints -0, FxEof:// xNext - advance a cursor -0, FxColumn:// xEof - check for end of scan -0, FxRowid:// xColumn - read data -0, FxUpdate:// xRowid - read data -uintptr(0), FxBegin:// xUpdate -uintptr(0), FxSync:// xBegin -uintptr(0), FxCommit:// xSync -uintptr(0), FxRollback:// xCommit -uintptr(0), FxFindFunction:// xRollback -uintptr(0), FxRename:// xFindMethod -uintptr(0), // xRename +var fsdirModule = sqlite3_module{ + FiVersion: 0, + FxCreate:// iVersion + 0, + FxConnect:// xCreate + 0, + FxBestIndex:// xConnect + 0, + FxDisconnect:// xBestIndex + 0, + FxDestroy:// xDisconnect + 0, + FxOpen:// xDestroy + 0, + FxClose:// xOpen - open a cursor + 0, + FxFilter:// xClose - close a cursor + 0, + FxNext:// xFilter - configure scan constraints + 0, + FxEof:// xNext - advance a cursor + 0, + FxColumn:// xEof - check for end of scan + 0, + FxRowid:// xColumn - read data + 0, + FxUpdate:// xRowid - read data + uintptr(0), + FxBegin:// xUpdate + uintptr(0), + FxSync:// xBegin + uintptr(0), + FxCommit:// xSync + uintptr(0), + FxRollback:// xCommit + uintptr(0), + FxFindFunction:// xRollback + uintptr(0), + FxRename:// xFindMethod + uintptr(0), // xRename } /* test_fs.c:821:23 */ -var fstreeModule = sqlite3_module{FiVersion: 0, FxCreate: // iVersion -0, FxConnect:// xCreate -0, FxBestIndex:// xConnect -0, FxDisconnect:// xBestIndex -0, FxDestroy:// xDisconnect -0, FxOpen:// xDestroy -0, FxClose:// xOpen - open a cursor -0, FxFilter:// xClose - close a cursor -0, FxNext:// xFilter - configure scan constraints -0, FxEof:// xNext - advance a cursor -0, FxColumn:// xEof - check for end of scan -0, FxRowid:// xColumn - read data -0, FxUpdate:// xRowid - read data -uintptr(0), FxBegin:// xUpdate -uintptr(0), FxSync:// xBegin -uintptr(0), FxCommit:// xSync -uintptr(0), FxRollback:// xCommit -uintptr(0), FxFindFunction:// xRollback -uintptr(0), FxRename:// xFindMethod -uintptr(0), // xRename +var fstreeModule = sqlite3_module{ + FiVersion: 0, + FxCreate:// iVersion + 0, + FxConnect:// xCreate + 0, + FxBestIndex:// xConnect + 0, + FxDisconnect:// xBestIndex + 0, + FxDestroy:// xDisconnect + 0, + FxOpen:// xDestroy + 0, + FxClose:// xOpen - open a cursor + 0, + FxFilter:// xClose - close a cursor + 0, + FxNext:// xFilter - configure scan constraints + 0, + FxEof:// xNext - advance a cursor + 0, + FxColumn:// xEof - check for end of scan + 0, + FxRowid:// xColumn - read data + 0, + FxUpdate:// xRowid - read data + uintptr(0), + FxBegin:// xUpdate + uintptr(0), + FxSync:// xBegin + uintptr(0), + FxCommit:// xSync + uintptr(0), + FxRollback:// xCommit + uintptr(0), + FxFindFunction:// xRollback + uintptr(0), + FxRename:// xFindMethod + uintptr(0), // xRename } /* test_fs.c:844:23 */ // Register the echo virtual table module. @@ -62073,7 +65878,10 @@ var aObjCmd6 = [1]struct { FxProc uintptr FclientData uintptr }{ - {FzName: ts + 29971 /* "register_fs_modu..." */, FxProc: 0, FclientData: uintptr(0)}, + { + FzName: ts + 29971, /* "register_fs_modu..." */ + FxProc: 0, + FclientData: uintptr(0)}, } /* test_fs.c:907:5 */ // Allocate nByte bytes of space using sqlite3_malloc(). If the @@ -62648,26 +66456,106 @@ var aFuncs = [20]struct { FeTextRep uint32 FxFunc uintptr }{ - {FzName: ts + 30138 /* "randstr" */, FnArg: int8(2), FeTextRep: uint32(1), FxFunc: 0}, - {FzName: ts + 30146 /* "test_destructor" */, FnArg: int8(1), FeTextRep: uint32(1), FxFunc: 0}, - {FzName: ts + 30162 /* "test_destructor1..." */, FnArg: int8(1), FeTextRep: uint32(1), FxFunc: 0}, - {FzName: ts + 30180 /* "hex_to_utf16be" */, FnArg: int8(1), FeTextRep: uint32(1), FxFunc: 0}, - {FzName: ts + 30195 /* "hex_to_utf16le" */, FnArg: int8(1), FeTextRep: uint32(1), FxFunc: 0}, - {FzName: ts + 30210 /* "hex_to_utf8" */, FnArg: int8(1), FeTextRep: uint32(1), FxFunc: 0}, - {FzName: ts + 30222 /* "test_destructor_..." */, FnArg: int8(0), FeTextRep: uint32(1), FxFunc: 0}, - {FzName: ts + 30244 /* "test_auxdata" */, FnArg: int8(-1), FeTextRep: uint32(1), FxFunc: 0}, - {FzName: ts + 30257 /* "test_error" */, FnArg: int8(1), FeTextRep: uint32(1), FxFunc: 0}, - {FzName: ts + 30257 /* "test_error" */, FnArg: int8(2), FeTextRep: uint32(1), FxFunc: 0}, - {FzName: ts + 30268 /* "test_eval" */, FnArg: int8(1), FeTextRep: uint32(1), FxFunc: 0}, - {FzName: ts + 30278 /* "test_isolation" */, FnArg: int8(2), FeTextRep: uint32(1), FxFunc: 0}, - {FzName: ts + 30293 /* "test_counter" */, FnArg: int8(1), FeTextRep: uint32(1), FxFunc: 0}, - {FzName: ts + 30306 /* "real2hex" */, FnArg: int8(1), FeTextRep: uint32(1), FxFunc: 0}, - {FzName: ts + 30315 /* "test_decode" */, FnArg: int8(1), FeTextRep: uint32(1), FxFunc: 0}, - {FzName: ts + 30327 /* "test_extract" */, FnArg: int8(2), FeTextRep: uint32(1), FxFunc: 0}, - {FzName: ts + 30340 /* "test_zeroblob" */, FnArg: int8(1), FeTextRep: (uint32(1 | 0x000000800)), FxFunc: 0}, - {FzName: ts + 30354 /* "test_getsubtype" */, FnArg: int8(1), FeTextRep: uint32(1), FxFunc: 0}, - {FzName: ts + 30370 /* "test_setsubtype" */, FnArg: int8(2), FeTextRep: uint32(1), FxFunc: 0}, - {FzName: ts + 30386 /* "test_frombind" */, FnArg: int8(-1), FeTextRep: uint32(1), FxFunc: 0}, + { + FzName: ts + 30138, /* "randstr" */ + FnArg: int8(2), + FeTextRep: uint32(1), + FxFunc: 0}, + { + FzName: ts + 30146, /* "test_destructor" */ + FnArg: int8(1), + FeTextRep: uint32(1), + FxFunc: 0}, + { + FzName: ts + 30162, /* "test_destructor1..." */ + FnArg: int8(1), + FeTextRep: uint32(1), + FxFunc: 0}, + { + FzName: ts + 30180, /* "hex_to_utf16be" */ + FnArg: int8(1), + FeTextRep: uint32(1), + FxFunc: 0}, + { + FzName: ts + 30195, /* "hex_to_utf16le" */ + FnArg: int8(1), + FeTextRep: uint32(1), + FxFunc: 0}, + { + FzName: ts + 30210, /* "hex_to_utf8" */ + FnArg: int8(1), + FeTextRep: uint32(1), + FxFunc: 0}, + { + FzName: ts + 30222, /* "test_destructor_..." */ + FnArg: int8(0), + FeTextRep: uint32(1), + FxFunc: 0}, + { + FzName: ts + 30244, /* "test_auxdata" */ + FnArg: int8(-1), + FeTextRep: uint32(1), + FxFunc: 0}, + { + FzName: ts + 30257, /* "test_error" */ + FnArg: int8(1), + FeTextRep: uint32(1), + FxFunc: 0}, + { + FzName: ts + 30257, /* "test_error" */ + FnArg: int8(2), + FeTextRep: uint32(1), + FxFunc: 0}, + { + FzName: ts + 30268, /* "test_eval" */ + FnArg: int8(1), + FeTextRep: uint32(1), + FxFunc: 0}, + { + FzName: ts + 30278, /* "test_isolation" */ + FnArg: int8(2), + FeTextRep: uint32(1), + FxFunc: 0}, + { + FzName: ts + 30293, /* "test_counter" */ + FnArg: int8(1), + FeTextRep: uint32(1), + FxFunc: 0}, + { + FzName: ts + 30306, /* "real2hex" */ + FnArg: int8(1), + FeTextRep: uint32(1), + FxFunc: 0}, + { + FzName: ts + 30315, /* "test_decode" */ + FnArg: int8(1), + FeTextRep: uint32(1), + FxFunc: 0}, + { + FzName: ts + 30327, /* "test_extract" */ + FnArg: int8(2), + FeTextRep: uint32(1), + FxFunc: 0}, + { + FzName: ts + 30340, /* "test_zeroblob" */ + FnArg: int8(1), + FeTextRep: (uint32(1 | 0x000000800)), + FxFunc: 0}, + { + FzName: ts + 30354, /* "test_getsubtype" */ + FnArg: int8(1), + FeTextRep: uint32(1), + FxFunc: 0}, + { + FzName: ts + 30370, /* "test_setsubtype" */ + FnArg: int8(2), + FeTextRep: uint32(1), + FxFunc: 0}, + { + FzName: ts + 30386, /* "test_frombind" */ + FnArg: int8(-1), + FeTextRep: uint32(1), + FxFunc: 0}, } /* test_func.c:674:5 */ // TCLCMD: autoinstall_test_functions @@ -63015,9 +66903,15 @@ var aObjCmd7 = [3]struct { FzName uintptr FxProc uintptr }{ - {FzName: ts + 31058 /* "autoinstall_test..." */, FxProc: 0}, - {FzName: ts + 31085 /* "abuse_create_fun..." */, FxProc: 0}, - {FzName: ts + 31107 /* "install_fts3_ran..." */, FxProc: 0}, + { + FzName: ts + 31058, /* "autoinstall_test..." */ + FxProc: 0}, + { + FzName: ts + 31085, /* "abuse_create_fun..." */ + FxProc: 0}, + { + FzName: ts + 31107, /* "install_fts3_ran..." */ + FxProc: 0}, } /* test_func.c:937:5 */ // end block for C++ @@ -63523,14 +67417,30 @@ var aObjCmd8 = [8]struct { FzName uintptr FxProc uintptr }{ - {FzName: ts + 31333 /* "hexio_read" */, FxProc: 0}, - {FzName: ts + 31344 /* "hexio_write" */, FxProc: 0}, - {FzName: ts + 31356 /* "hexio_get_int" */, FxProc: 0}, - {FzName: ts + 31370 /* "hexio_render_int..." */, FxProc: 0}, - {FzName: ts + 31389 /* "hexio_render_int..." */, FxProc: 0}, - {FzName: ts + 31408 /* "utf8_to_utf8" */, FxProc: 0}, - {FzName: ts + 31421 /* "read_fts3varint" */, FxProc: 0}, - {FzName: ts + 31437 /* "make_fts3record" */, FxProc: 0}, + { + FzName: ts + 31333, /* "hexio_read" */ + FxProc: 0}, + { + FzName: ts + 31344, /* "hexio_write" */ + FxProc: 0}, + { + FzName: ts + 31356, /* "hexio_get_int" */ + FxProc: 0}, + { + FzName: ts + 31370, /* "hexio_render_int..." */ + FxProc: 0}, + { + FzName: ts + 31389, /* "hexio_render_int..." */ + FxProc: 0}, + { + FzName: ts + 31408, /* "utf8_to_utf8" */ + FxProc: 0}, + { + FzName: ts + 31421, /* "read_fts3varint" */ + FxProc: 0}, + { + FzName: ts + 31437, /* "make_fts3record" */ + FxProc: 0}, } /* test_hexio.c:450:5 */ // end block for C++ @@ -63680,43 +67590,72 @@ func installInitWrappers(tls *libc.TLS) { /* test_init.c:160:13: */ bp := tls.Alloc(288) defer tls.Free(288) - *(*sqlite3_mutex_methods)(unsafe.Pointer(bp + 48 /* mutexmethods */)) = sqlite3_mutex_methods{FxMutexInit: *(*uintptr)(unsafe.Pointer(&struct{ f func(*libc.TLS) int32 }{wrMutexInit})), FxMutexEnd: *(*uintptr)(unsafe.Pointer(&struct{ f func(*libc.TLS) int32 }{wrMutexEnd})), FxMutexAlloc: *(*uintptr)(unsafe.Pointer(&struct { - f func(*libc.TLS, int32) uintptr - }{wrMutexAlloc})), FxMutexFree: *(*uintptr)(unsafe.Pointer(&struct{ f func(*libc.TLS, uintptr) }{wrMutexFree})), FxMutexEnter: *(*uintptr)(unsafe.Pointer(&struct{ f func(*libc.TLS, uintptr) }{wrMutexEnter})), FxMutexTry: *(*uintptr)(unsafe.Pointer(&struct { - f func(*libc.TLS, uintptr) int32 - }{wrMutexTry})), FxMutexLeave: *(*uintptr)(unsafe.Pointer(&struct{ f func(*libc.TLS, uintptr) }{wrMutexLeave})), FxMutexHeld: *(*uintptr)(unsafe.Pointer(&struct { - f func(*libc.TLS, uintptr) int32 - }{wrMutexHeld})), FxMutexNotheld: *(*uintptr)(unsafe.Pointer(&struct { - f func(*libc.TLS, uintptr) int32 - }{wrMutexNotheld})), - } - *(*sqlite3_pcache_methods2)(unsafe.Pointer(bp + 184 /* pcachemethods */)) = sqlite3_pcache_methods2{FiVersion: 1, FpArg: uintptr(0), FxInit: *(*uintptr)(unsafe.Pointer(&struct { - f func(*libc.TLS, uintptr) int32 - }{wrPCacheInit})), FxShutdown: *(*uintptr)(unsafe.Pointer(&struct{ f func(*libc.TLS, uintptr) }{wrPCacheShutdown})), FxCreate: *(*uintptr)(unsafe.Pointer(&struct { - f func(*libc.TLS, int32, int32, int32) uintptr - }{wrPCacheCreate})), FxCachesize: *(*uintptr)(unsafe.Pointer(&struct { - f func(*libc.TLS, uintptr, int32) - }{wrPCacheCachesize})), FxPagecount: *(*uintptr)(unsafe.Pointer(&struct { - f func(*libc.TLS, uintptr) int32 - }{wrPCachePagecount})), FxFetch: *(*uintptr)(unsafe.Pointer(&struct { - f func(*libc.TLS, uintptr, uint32, int32) uintptr - }{wrPCacheFetch})), FxUnpin: *(*uintptr)(unsafe.Pointer(&struct { - f func(*libc.TLS, uintptr, uintptr, int32) - }{wrPCacheUnpin})), FxRekey: *(*uintptr)(unsafe.Pointer(&struct { - f func(*libc.TLS, uintptr, uintptr, uint32, uint32) - }{wrPCacheRekey})), FxTruncate: *(*uintptr)(unsafe.Pointer(&struct { - f func(*libc.TLS, uintptr, uint32) - }{wrPCacheTruncate})), FxDestroy: *(*uintptr)(unsafe.Pointer(&struct{ f func(*libc.TLS, uintptr) }{wrPCacheDestroy})), - } - *(*sqlite3_mem_methods)(unsafe.Pointer(bp + 120 /* memmethods */)) = sqlite3_mem_methods{FxMalloc: *(*uintptr)(unsafe.Pointer(&struct { - f func(*libc.TLS, int32) uintptr - }{wrMemMalloc})), FxFree: *(*uintptr)(unsafe.Pointer(&struct{ f func(*libc.TLS, uintptr) }{wrMemFree})), FxRealloc: *(*uintptr)(unsafe.Pointer(&struct { - f func(*libc.TLS, uintptr, int32) uintptr - }{wrMemRealloc})), FxSize: *(*uintptr)(unsafe.Pointer(&struct { - f func(*libc.TLS, uintptr) int32 - }{wrMemSize})), FxRoundup: *(*uintptr)(unsafe.Pointer(&struct{ f func(*libc.TLS, int32) int32 }{wrMemRoundup})), FxInit: *(*uintptr)(unsafe.Pointer(&struct { - f func(*libc.TLS, uintptr) int32 - }{wrMemInit})), FxShutdown: *(*uintptr)(unsafe.Pointer(&struct{ f func(*libc.TLS, uintptr) }{wrMemShutdown})), FpAppData: uintptr(0), + *(*sqlite3_mutex_methods)(unsafe.Pointer(bp + 48 /* mutexmethods */)) = sqlite3_mutex_methods{ + FxMutexInit: *(*uintptr)(unsafe.Pointer(&struct{ f func(*libc.TLS) int32 }{wrMutexInit})), + FxMutexEnd: *(*uintptr)(unsafe.Pointer(&struct{ f func(*libc.TLS) int32 }{wrMutexEnd})), + FxMutexAlloc: *(*uintptr)(unsafe.Pointer(&struct { + f func(*libc.TLS, int32) uintptr + }{wrMutexAlloc})), + FxMutexFree: *(*uintptr)(unsafe.Pointer(&struct{ f func(*libc.TLS, uintptr) }{wrMutexFree})), + FxMutexEnter: *(*uintptr)(unsafe.Pointer(&struct{ f func(*libc.TLS, uintptr) }{wrMutexEnter})), + FxMutexTry: *(*uintptr)(unsafe.Pointer(&struct { + f func(*libc.TLS, uintptr) int32 + }{wrMutexTry})), + FxMutexLeave: *(*uintptr)(unsafe.Pointer(&struct{ f func(*libc.TLS, uintptr) }{wrMutexLeave})), + FxMutexHeld: *(*uintptr)(unsafe.Pointer(&struct { + f func(*libc.TLS, uintptr) int32 + }{wrMutexHeld})), + FxMutexNotheld: *(*uintptr)(unsafe.Pointer(&struct { + f func(*libc.TLS, uintptr) int32 + }{wrMutexNotheld})), + } + *(*sqlite3_pcache_methods2)(unsafe.Pointer(bp + 184 /* pcachemethods */)) = sqlite3_pcache_methods2{ + FiVersion: 1, + FpArg: uintptr(0), + FxInit: *(*uintptr)(unsafe.Pointer(&struct { + f func(*libc.TLS, uintptr) int32 + }{wrPCacheInit})), + FxShutdown: *(*uintptr)(unsafe.Pointer(&struct{ f func(*libc.TLS, uintptr) }{wrPCacheShutdown})), + FxCreate: *(*uintptr)(unsafe.Pointer(&struct { + f func(*libc.TLS, int32, int32, int32) uintptr + }{wrPCacheCreate})), + FxCachesize: *(*uintptr)(unsafe.Pointer(&struct { + f func(*libc.TLS, uintptr, int32) + }{wrPCacheCachesize})), + FxPagecount: *(*uintptr)(unsafe.Pointer(&struct { + f func(*libc.TLS, uintptr) int32 + }{wrPCachePagecount})), + FxFetch: *(*uintptr)(unsafe.Pointer(&struct { + f func(*libc.TLS, uintptr, uint32, int32) uintptr + }{wrPCacheFetch})), + FxUnpin: *(*uintptr)(unsafe.Pointer(&struct { + f func(*libc.TLS, uintptr, uintptr, int32) + }{wrPCacheUnpin})), + FxRekey: *(*uintptr)(unsafe.Pointer(&struct { + f func(*libc.TLS, uintptr, uintptr, uint32, uint32) + }{wrPCacheRekey})), + FxTruncate: *(*uintptr)(unsafe.Pointer(&struct { + f func(*libc.TLS, uintptr, uint32) + }{wrPCacheTruncate})), + FxDestroy: *(*uintptr)(unsafe.Pointer(&struct{ f func(*libc.TLS, uintptr) }{wrPCacheDestroy})), + } + *(*sqlite3_mem_methods)(unsafe.Pointer(bp + 120 /* memmethods */)) = sqlite3_mem_methods{ + FxMalloc: *(*uintptr)(unsafe.Pointer(&struct { + f func(*libc.TLS, int32) uintptr + }{wrMemMalloc})), + FxFree: *(*uintptr)(unsafe.Pointer(&struct{ f func(*libc.TLS, uintptr) }{wrMemFree})), + FxRealloc: *(*uintptr)(unsafe.Pointer(&struct { + f func(*libc.TLS, uintptr, int32) uintptr + }{wrMemRealloc})), + FxSize: *(*uintptr)(unsafe.Pointer(&struct { + f func(*libc.TLS, uintptr) int32 + }{wrMemSize})), + FxRoundup: *(*uintptr)(unsafe.Pointer(&struct{ f func(*libc.TLS, int32) int32 }{wrMemRoundup})), + FxInit: *(*uintptr)(unsafe.Pointer(&struct { + f func(*libc.TLS, uintptr) int32 + }{wrMemInit})), + FxShutdown: *(*uintptr)(unsafe.Pointer(&struct{ f func(*libc.TLS, uintptr) }{wrMemShutdown})), + FpAppData: uintptr(0), } libc.Xmemset(tls, uintptr(unsafe.Pointer(&wrapped)), 0, uint64(unsafe.Sizeof(wrapped))) @@ -63820,10 +67759,18 @@ var aObjCmd9 = [4]struct { FzName uintptr FxProc uintptr }{ - {FzName: ts + 31484 /* "init_wrapper_ins..." */, FxProc: 0}, - {FzName: ts + 31505 /* "init_wrapper_que..." */, FxProc: 0}, - {FzName: ts + 31524 /* "init_wrapper_uni..." */, FxProc: 0}, - {FzName: ts + 31547 /* "init_wrapper_cle..." */, FxProc: 0}, + { + FzName: ts + 31484, /* "init_wrapper_ins..." */ + FxProc: 0}, + { + FzName: ts + 31505, /* "init_wrapper_que..." */ + FxProc: 0}, + { + FzName: ts + 31524, /* "init_wrapper_uni..." */ + FxProc: 0}, + { + FzName: ts + 31547, /* "init_wrapper_cle..." */ + FxProc: 0}, } /* test_init.c:282:5 */ // @@ -63966,26 +67913,46 @@ func intarrayBestIndex(tls *libc.TLS, tab uintptr, pIdxInfo uintptr) int32 { /* // A virtual table module that merely echos method calls into TCL // variables. -var intarrayModule = sqlite3_module{FiVersion: 0, FxCreate: // iVersion -0, FxConnect:// xCreate - create a new virtual table -0, FxBestIndex:// xConnect - connect to an existing vtab -0, FxDisconnect:// xBestIndex - find the best query index -0, FxDestroy:// xDisconnect - disconnect a vtab -0, FxOpen:// xDestroy - destroy a vtab -0, FxClose:// xOpen - open a cursor -0, FxFilter:// xClose - close a cursor -0, FxNext:// xFilter - configure scan constraints -0, FxEof:// xNext - advance a cursor -0, FxColumn:// xEof -0, FxRowid:// xColumn - read data -0, FxUpdate:// xRowid - read data -uintptr(0), FxBegin:// xUpdate -uintptr(0), FxSync:// xBegin -uintptr(0), FxCommit:// xSync -uintptr(0), FxRollback:// xCommit -uintptr(0), FxFindFunction:// xRollback -uintptr(0), FxRename:// xFindMethod -uintptr(0), // xRename +var intarrayModule = sqlite3_module{ + FiVersion: 0, + FxCreate:// iVersion + 0, + FxConnect:// xCreate - create a new virtual table + 0, + FxBestIndex:// xConnect - connect to an existing vtab + 0, + FxDisconnect:// xBestIndex - find the best query index + 0, + FxDestroy:// xDisconnect - disconnect a vtab + 0, + FxOpen:// xDestroy - destroy a vtab + 0, + FxClose:// xOpen - open a cursor + 0, + FxFilter:// xClose - close a cursor + 0, + FxNext:// xFilter - configure scan constraints + 0, + FxEof:// xNext - advance a cursor + 0, + FxColumn:// xEof + 0, + FxRowid:// xColumn - read data + 0, + FxUpdate:// xRowid - read data + uintptr(0), + FxBegin:// xUpdate + uintptr(0), + FxSync:// xBegin + uintptr(0), + FxCommit:// xSync + uintptr(0), + FxRollback:// xCommit + uintptr(0), + FxFindFunction:// xRollback + uintptr(0), + FxRename:// xFindMethod + uintptr(0), // xRename } /* test_intarray.c:187:23 */ // Invoke this routine to create a specific instance of an intarray object. @@ -64126,8 +68093,14 @@ var aObjCmd10 = [2]struct { FxProc uintptr FclientData uintptr }{ - {FzName: ts + 31668 /* "sqlite3_intarray..." */, FxProc: 0, FclientData: uintptr(0)}, - {FzName: ts + 31692 /* "sqlite3_intarray..." */, FxProc: 0, FclientData: uintptr(0)}, + { + FzName: ts + 31668, /* "sqlite3_intarray..." */ + FxProc: 0, + FclientData: uintptr(0)}, + { + FzName: ts + 31692, /* "sqlite3_intarray..." */ + FxProc: 0, + FclientData: uintptr(0)}, } /* test_intarray.c:380:5 */ // Maximum pathname length supported by the jt backend. @@ -64156,40 +68129,72 @@ type jt_file1 = struct { type jt_file = jt_file1 /* test_journal.c:111:24 */ -var jt_vfs = sqlite3_vfs{FiVersion: 2, FszOsFile: // iVersion -int32(unsafe.Sizeof(jt_file{})), FmxPathname:// szOsFile -512, FpNext:// mxPathname -uintptr(0), FzName:// pNext -ts + 31714, /* "jt" */ FpAppData:// zName -uintptr(0), FxOpen:// pAppData -0, FxDelete:// xOpen -0, FxAccess:// xDelete -0, FxFullPathname:// xAccess -0, FxDlOpen:// xFullPathname -0, FxDlError:// xDlOpen -0, FxDlSym:// xDlError -0, FxDlClose:// xDlSym -0, FxRandomness:// xDlClose -0, FxSleep:// xRandomness -0, FxCurrentTime:// xSleep -0, FxGetLastError:// xCurrentTime -0, FxCurrentTimeInt64:// xGetLastError -0, // xCurrentTimeInt64 +var jt_vfs = sqlite3_vfs{ + FiVersion: 2, + FszOsFile:// iVersion + int32(unsafe.Sizeof(jt_file{})), + FmxPathname:// szOsFile + 512, + FpNext:// mxPathname + uintptr(0), + FzName:// pNext + ts + 31714, /* "jt" */ + FpAppData:// zName + uintptr(0), + FxOpen:// pAppData + 0, + FxDelete:// xOpen + 0, + FxAccess:// xDelete + 0, + FxFullPathname:// xAccess + 0, + FxDlOpen:// xFullPathname + 0, + FxDlError:// xDlOpen + 0, + FxDlSym:// xDlError + 0, + FxDlClose:// xDlSym + 0, + FxRandomness:// xDlClose + 0, + FxSleep:// xRandomness + 0, + FxCurrentTime:// xSleep + 0, + FxGetLastError:// xCurrentTime + 0, + FxCurrentTimeInt64:// xGetLastError + 0, // xCurrentTimeInt64 } /* test_journal.c:165:20 */ -var jt_io_methods = sqlite3_io_methods{FiVersion: 1, FxClose: // iVersion -0, FxRead:// xClose -0, FxWrite:// xRead -0, FxTruncate:// xWrite -0, FxSync:// xTruncate -0, FxFileSize:// xSync -0, FxLock:// xFileSize -0, FxUnlock:// xLock -0, FxCheckReservedLock:// xUnlock -0, FxFileControl:// xCheckReservedLock -0, FxSectorSize:// xFileControl -0, FxDeviceCharacteristics:// xSectorSize -0, // xDeviceCharacteristics +var jt_io_methods = sqlite3_io_methods{ + FiVersion: 1, + FxClose:// iVersion + 0, + FxRead:// xClose + 0, + FxWrite:// xRead + 0, + FxTruncate:// xWrite + 0, + FxSync:// xTruncate + 0, + FxFileSize:// xSync + 0, + FxLock:// xFileSize + 0, + FxUnlock:// xLock + 0, + FxCheckReservedLock:// xUnlock + 0, + FxFileControl:// xCheckReservedLock + 0, + FxSectorSize:// xFileControl + 0, + FxDeviceCharacteristics:// xSectorSize + 0, // xDeviceCharacteristics } /* test_journal.c:187:27 */ type JtGlobal = struct { @@ -64197,7 +68202,7 @@ type JtGlobal = struct { FpList uintptr } /* test_journal.c:203:1 */ -var g2 = JtGlobal{FpVfs: uintptr(0), FpList: uintptr(0)} /* test_journal.c:207:24 */ +var g2 = JtGlobal{} /* test_journal.c:207:24 */ // Functions to obtain and relinquish a mutex to protect g.pList. The // STATIC_PRNG mutex is reused, purely for the sake of convenience. @@ -66214,16 +70219,36 @@ var aOp1 = [10]struct { Fop int32 _ [4]byte }{ - {FzName: ts + 32247 /* "SQLITE_STATUS_ME..." */, Fop: 0}, - {FzName: ts + 32273 /* "SQLITE_STATUS_MA..." */, Fop: 5}, - {FzName: ts + 32299 /* "SQLITE_STATUS_PA..." */, Fop: 1}, - {FzName: ts + 32328 /* "SQLITE_STATUS_PA..." */, Fop: 2}, - {FzName: ts + 32361 /* "SQLITE_STATUS_PA..." */, Fop: 7}, - {FzName: ts + 32390 /* "SQLITE_STATUS_SC..." */, Fop: 3}, - {FzName: ts + 32417 /* "SQLITE_STATUS_SC..." */, Fop: 4}, - {FzName: ts + 32448 /* "SQLITE_STATUS_SC..." */, Fop: 8}, - {FzName: ts + 32475 /* "SQLITE_STATUS_PA..." */, Fop: 6}, - {FzName: ts + 32502 /* "SQLITE_STATUS_MA..." */, Fop: 9}, + { + FzName: ts + 32247, /* "SQLITE_STATUS_ME..." */ + Fop: 0}, + { + FzName: ts + 32273, /* "SQLITE_STATUS_MA..." */ + Fop: 5}, + { + FzName: ts + 32299, /* "SQLITE_STATUS_PA..." */ + Fop: 1}, + { + FzName: ts + 32328, /* "SQLITE_STATUS_PA..." */ + Fop: 2}, + { + FzName: ts + 32361, /* "SQLITE_STATUS_PA..." */ + Fop: 7}, + { + FzName: ts + 32390, /* "SQLITE_STATUS_SC..." */ + Fop: 3}, + { + FzName: ts + 32417, /* "SQLITE_STATUS_SC..." */ + Fop: 4}, + { + FzName: ts + 32448, /* "SQLITE_STATUS_SC..." */ + Fop: 8}, + { + FzName: ts + 32475, /* "SQLITE_STATUS_PA..." */ + Fop: 6}, + { + FzName: ts + 32502, /* "SQLITE_STATUS_MA..." */ + Fop: 9}, } /* test_malloc.c:1299:5 */ // Usage: sqlite3_db_status DATABASE OPCODE RESETFLAG @@ -66299,19 +70324,45 @@ var aOp2 = [13]struct { Fop int32 _ [4]byte }{ - {FzName: ts + 32570 /* "LOOKASIDE_USED" */, Fop: 0}, - {FzName: ts + 32585 /* "CACHE_USED" */, Fop: 1}, - {FzName: ts + 32596 /* "SCHEMA_USED" */, Fop: 2}, - {FzName: ts + 32608 /* "STMT_USED" */, Fop: 3}, - {FzName: ts + 32618 /* "LOOKASIDE_HIT" */, Fop: 4}, - {FzName: ts + 32632 /* "LOOKASIDE_MISS_S..." */, Fop: 5}, - {FzName: ts + 32652 /* "LOOKASIDE_MISS_F..." */, Fop: 6}, - {FzName: ts + 32672 /* "CACHE_HIT" */, Fop: 7}, - {FzName: ts + 32682 /* "CACHE_MISS" */, Fop: 8}, - {FzName: ts + 32693 /* "CACHE_WRITE" */, Fop: 9}, - {FzName: ts + 32705 /* "DEFERRED_FKS" */, Fop: 10}, - {FzName: ts + 32718 /* "CACHE_USED_SHARE..." */, Fop: 11}, - {FzName: ts + 32736 /* "CACHE_SPILL" */, Fop: 12}, + { + FzName: ts + 32570, /* "LOOKASIDE_USED" */ + Fop: 0}, + { + FzName: ts + 32585, /* "CACHE_USED" */ + Fop: 1}, + { + FzName: ts + 32596, /* "SCHEMA_USED" */ + Fop: 2}, + { + FzName: ts + 32608, /* "STMT_USED" */ + Fop: 3}, + { + FzName: ts + 32618, /* "LOOKASIDE_HIT" */ + Fop: 4}, + { + FzName: ts + 32632, /* "LOOKASIDE_MISS_S..." */ + Fop: 5}, + { + FzName: ts + 32652, /* "LOOKASIDE_MISS_F..." */ + Fop: 6}, + { + FzName: ts + 32672, /* "CACHE_HIT" */ + Fop: 7}, + { + FzName: ts + 32682, /* "CACHE_MISS" */ + Fop: 8}, + { + FzName: ts + 32693, /* "CACHE_WRITE" */ + Fop: 9}, + { + FzName: ts + 32705, /* "DEFERRED_FKS" */ + Fop: 10}, + { + FzName: ts + 32718, /* "CACHE_USED_SHARE..." */ + Fop: 11}, + { + FzName: ts + 32736, /* "CACHE_SPILL" */ + Fop: 12}, } /* test_malloc.c:1358:5 */ // install_malloc_faultsim BOOLEAN @@ -66381,38 +70432,134 @@ var aObjCmd11 = [32]struct { FclientData int32 _ [4]byte }{ - {FzName: ts + 27048 /* "sqlite3_malloc" */, FxProc: 0, FclientData: 0}, - {FzName: ts + 27063 /* "sqlite3_realloc" */, FxProc: 0, FclientData: 0}, - {FzName: ts + 32758 /* "sqlite3_free" */, FxProc: 0, FclientData: 0}, - {FzName: ts + 32771 /* "memset" */, FxProc: 0, FclientData: 0}, - {FzName: ts + 32778 /* "memget" */, FxProc: 0, FclientData: 0}, - {FzName: ts + 32785 /* "sqlite3_memory_u..." */, FxProc: 0, FclientData: 0}, - {FzName: ts + 32805 /* "sqlite3_memory_h..." */, FxProc: 0, FclientData: 0}, - {FzName: ts + 32830 /* "sqlite3_memdebug..." */, FxProc: 0, FclientData: 0}, - {FzName: ts + 32857 /* "sqlite3_memdebug..." */, FxProc: 0, FclientData: 0}, - {FzName: ts + 32879 /* "sqlite3_memdebug..." */, FxProc: 0, FclientData: 0}, - {FzName: ts + 32901 /* "sqlite3_memdebug..." */, FxProc: 0, FclientData: 0}, - {FzName: ts + 32926 /* "sqlite3_memdebug..." */, FxProc: 0, FclientData: 0}, - {FzName: ts + 32952 /* "sqlite3_memdebug..." */, FxProc: 0, FclientData: 0}, - {FzName: ts + 32982 /* "sqlite3_memdebug..." */, FxProc: 0, FclientData: 0}, - {FzName: ts + 33003 /* "sqlite3_config_p..." */, FxProc: 0, FclientData: 0}, - {FzName: ts + 33028 /* "sqlite3_config_a..." */, FxProc: 0, FclientData: 0}, - {FzName: ts + 33054 /* "sqlite3_status" */, FxProc: 0, FclientData: 0}, - {FzName: ts + 33069 /* "sqlite3_db_statu..." */, FxProc: 0, FclientData: 0}, - {FzName: ts + 33087 /* "install_malloc_f..." */, FxProc: 0, FclientData: 0}, - {FzName: ts + 33111 /* "sqlite3_config_h..." */, FxProc: 0, FclientData: 0}, - {FzName: ts + 33131 /* "sqlite3_config_h..." */, FxProc: 0, FclientData: 0}, - {FzName: ts + 33156 /* "sqlite3_config_m..." */, FxProc: 0, FclientData: 0}, - {FzName: ts + 33181 /* "sqlite3_config_l..." */, FxProc: 0, FclientData: 0}, - {FzName: ts + 33206 /* "sqlite3_config_e..." */, FxProc: 0, FclientData: 0}, - {FzName: ts + 33227 /* "sqlite3_config_u..." */, FxProc: 0, FclientData: 0}, - {FzName: ts + 33246 /* "sqlite3_config_c..." */, FxProc: 0, FclientData: 0}, - {FzName: ts + 33265 /* "sqlite3_config_p..." */, FxProc: 0, FclientData: 0}, - {FzName: ts + 33286 /* "sqlite3_db_confi..." */, FxProc: 0, FclientData: 0}, - {FzName: ts + 33314 /* "sqlite3_dump_mem..." */, FxProc: 0, FclientData: 3}, - {FzName: ts + 33335 /* "sqlite3_dump_mem..." */, FxProc: 0, FclientData: 5}, - {FzName: ts + 33356 /* "sqlite3_install_..." */, FxProc: 0, FclientData: 0}, - {FzName: ts + 33380 /* "sqlite3_memdebug..." */, FxProc: 0, FclientData: 0}, + { + FzName: ts + 27048, /* "sqlite3_malloc" */ + FxProc: 0, + FclientData: 0}, + { + FzName: ts + 27063, /* "sqlite3_realloc" */ + FxProc: 0, + FclientData: 0}, + { + FzName: ts + 32758, /* "sqlite3_free" */ + FxProc: 0, + FclientData: 0}, + { + FzName: ts + 32771, /* "memset" */ + FxProc: 0, + FclientData: 0}, + { + FzName: ts + 32778, /* "memget" */ + FxProc: 0, + FclientData: 0}, + { + FzName: ts + 32785, /* "sqlite3_memory_u..." */ + FxProc: 0, + FclientData: 0}, + { + FzName: ts + 32805, /* "sqlite3_memory_h..." */ + FxProc: 0, + FclientData: 0}, + { + FzName: ts + 32830, /* "sqlite3_memdebug..." */ + FxProc: 0, + FclientData: 0}, + { + FzName: ts + 32857, /* "sqlite3_memdebug..." */ + FxProc: 0, + FclientData: 0}, + { + FzName: ts + 32879, /* "sqlite3_memdebug..." */ + FxProc: 0, + FclientData: 0}, + { + FzName: ts + 32901, /* "sqlite3_memdebug..." */ + FxProc: 0, + FclientData: 0}, + { + FzName: ts + 32926, /* "sqlite3_memdebug..." */ + FxProc: 0, + FclientData: 0}, + { + FzName: ts + 32952, /* "sqlite3_memdebug..." */ + FxProc: 0, + FclientData: 0}, + { + FzName: ts + 32982, /* "sqlite3_memdebug..." */ + FxProc: 0, + FclientData: 0}, + { + FzName: ts + 33003, /* "sqlite3_config_p..." */ + FxProc: 0, + FclientData: 0}, + { + FzName: ts + 33028, /* "sqlite3_config_a..." */ + FxProc: 0, + FclientData: 0}, + { + FzName: ts + 33054, /* "sqlite3_status" */ + FxProc: 0, + FclientData: 0}, + { + FzName: ts + 33069, /* "sqlite3_db_statu..." */ + FxProc: 0, + FclientData: 0}, + { + FzName: ts + 33087, /* "install_malloc_f..." */ + FxProc: 0, + FclientData: 0}, + { + FzName: ts + 33111, /* "sqlite3_config_h..." */ + FxProc: 0, + FclientData: 0}, + { + FzName: ts + 33131, /* "sqlite3_config_h..." */ + FxProc: 0, + FclientData: 0}, + { + FzName: ts + 33156, /* "sqlite3_config_m..." */ + FxProc: 0, + FclientData: 0}, + { + FzName: ts + 33181, /* "sqlite3_config_l..." */ + FxProc: 0, + FclientData: 0}, + { + FzName: ts + 33206, /* "sqlite3_config_e..." */ + FxProc: 0, + FclientData: 0}, + { + FzName: ts + 33227, /* "sqlite3_config_u..." */ + FxProc: 0, + FclientData: 0}, + { + FzName: ts + 33246, /* "sqlite3_config_c..." */ + FxProc: 0, + FclientData: 0}, + { + FzName: ts + 33265, /* "sqlite3_config_p..." */ + FxProc: 0, + FclientData: 0}, + { + FzName: ts + 33286, /* "sqlite3_db_confi..." */ + FxProc: 0, + FclientData: 0}, + { + FzName: ts + 33314, /* "sqlite3_dump_mem..." */ + FxProc: 0, + FclientData: 3}, + { + FzName: ts + 33335, /* "sqlite3_dump_mem..." */ + FxProc: 0, + FclientData: 5}, + { + FzName: ts + 33356, /* "sqlite3_install_..." */ + FxProc: 0, + FclientData: 0}, + { + FzName: ts + 33380, /* "sqlite3_memdebug..." */ + FxProc: 0, + FclientData: 0}, } /* test_malloc.c:1472:5 */ // end block for C++ @@ -68201,10 +72348,19 @@ func test_multiplex_control(tls *libc.TLS, cd ClientData, interp uintptr, objc i Fop int32 Fargtype int32 }{ - {FzName: ts + 33690 /* "enable" */, Fop: 214014, Fargtype: 1}, - {FzName: ts + 33697 /* "chunk_size" */, Fop: 214015, Fargtype: 1}, - {FzName: ts + 33708 /* "max_chunks" */, Fop: 214016, Fargtype: 1}, - {FzName: uintptr(0), Fop: 0, Fargtype: 0}, + { + FzName: ts + 33690, /* "enable" */ + Fop: 214014, + Fargtype: 1}, + { + FzName: ts + 33697, /* "chunk_size" */ + Fop: 214015, + Fargtype: 1}, + { + FzName: ts + 33708, /* "max_chunks" */ + Fop: 214016, + Fargtype: 1}, + {}, } if objc != 5 { @@ -68278,9 +72434,15 @@ var aCmd7 = [3]struct { FzName uintptr FxProc uintptr }{ - {FzName: ts + 33787 /* "sqlite3_multiple..." */, FxProc: 0}, - {FzName: ts + 33816 /* "sqlite3_multiple..." */, FxProc: 0}, - {FzName: ts + 33843 /* "sqlite3_multiple..." */, FxProc: 0}, + { + FzName: ts + 33787, /* "sqlite3_multiple..." */ + FxProc: 0}, + { + FzName: ts + 33816, /* "sqlite3_multiple..." */ + FxProc: 0}, + { + FzName: ts + 33843, /* "sqlite3_multiple..." */ + FxProc: 0}, } /* test_multiplex.c:1310:5 */ // CAPI3REF: Standard File Control Opcodes @@ -68635,7 +72797,7 @@ type test_mutex_globals = struct { } /* test_mutex.c:46:8 */ // State variables -var g3 = test_mutex_globals{FisInstalled: 0} /* test_mutex.c:54:3 */ +var g3 = test_mutex_globals{} /* test_mutex.c:54:3 */ // Return true if the countable mutex is currently held func counterMutexHeld(tls *libc.TLS, p uintptr) int32 { /* test_mutex.c:57:12: */ @@ -68758,15 +72920,24 @@ func test_install_mutex_counters(tls *libc.TLS, clientData uintptr, interp uintp var rc int32 = 0 // var isInstall int32 at bp+56, 4 - *(*sqlite3_mutex_methods)(unsafe.Pointer(bp + 64 /* counter_methods */)) = sqlite3_mutex_methods{FxMutexInit: *(*uintptr)(unsafe.Pointer(&struct{ f func(*libc.TLS) int32 }{counterMutexInit})), FxMutexEnd: *(*uintptr)(unsafe.Pointer(&struct{ f func(*libc.TLS) int32 }{counterMutexEnd})), FxMutexAlloc: *(*uintptr)(unsafe.Pointer(&struct { - f func(*libc.TLS, int32) uintptr - }{counterMutexAlloc})), FxMutexFree: *(*uintptr)(unsafe.Pointer(&struct{ f func(*libc.TLS, uintptr) }{counterMutexFree})), FxMutexEnter: *(*uintptr)(unsafe.Pointer(&struct{ f func(*libc.TLS, uintptr) }{counterMutexEnter})), FxMutexTry: *(*uintptr)(unsafe.Pointer(&struct { - f func(*libc.TLS, uintptr) int32 - }{counterMutexTry})), FxMutexLeave: *(*uintptr)(unsafe.Pointer(&struct{ f func(*libc.TLS, uintptr) }{counterMutexLeave})), FxMutexHeld: *(*uintptr)(unsafe.Pointer(&struct { - f func(*libc.TLS, uintptr) int32 - }{counterMutexHeld})), FxMutexNotheld: *(*uintptr)(unsafe.Pointer(&struct { - f func(*libc.TLS, uintptr) int32 - }{counterMutexNotheld})), + *(*sqlite3_mutex_methods)(unsafe.Pointer(bp + 64 /* counter_methods */)) = sqlite3_mutex_methods{ + FxMutexInit: *(*uintptr)(unsafe.Pointer(&struct{ f func(*libc.TLS) int32 }{counterMutexInit})), + FxMutexEnd: *(*uintptr)(unsafe.Pointer(&struct{ f func(*libc.TLS) int32 }{counterMutexEnd})), + FxMutexAlloc: *(*uintptr)(unsafe.Pointer(&struct { + f func(*libc.TLS, int32) uintptr + }{counterMutexAlloc})), + FxMutexFree: *(*uintptr)(unsafe.Pointer(&struct{ f func(*libc.TLS, uintptr) }{counterMutexFree})), + FxMutexEnter: *(*uintptr)(unsafe.Pointer(&struct{ f func(*libc.TLS, uintptr) }{counterMutexEnter})), + FxMutexTry: *(*uintptr)(unsafe.Pointer(&struct { + f func(*libc.TLS, uintptr) int32 + }{counterMutexTry})), + FxMutexLeave: *(*uintptr)(unsafe.Pointer(&struct{ f func(*libc.TLS, uintptr) }{counterMutexLeave})), + FxMutexHeld: *(*uintptr)(unsafe.Pointer(&struct { + f func(*libc.TLS, uintptr) int32 + }{counterMutexHeld})), + FxMutexNotheld: *(*uintptr)(unsafe.Pointer(&struct { + f func(*libc.TLS, uintptr) int32 + }{counterMutexNotheld})), } if objc != 2 { @@ -68881,10 +73052,16 @@ func test_config(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, defer tls.Free(68) *(*[4]ConfigOption)(unsafe.Pointer(bp /* aOpt */)) = [4]ConfigOption{ - {FzName: ts + 34078 /* "singlethread" */, FiValue: 1}, - {FzName: ts + 34091 /* "multithread" */, FiValue: 2}, - {FzName: ts + 34103 /* "serialized" */, FiValue: 3}, - {FzName: uintptr(0), FiValue: 0}, + { + FzName: ts + 34078, /* "singlethread" */ + FiValue: 1}, + { + FzName: ts + 34091, /* "multithread" */ + FiValue: 2}, + { + FzName: ts + 34103, /* "serialized" */ + FiValue: 3}, + {}, } var s int32 = int32(unsafe.Sizeof(ConfigOption{})) // var i int32 at bp+64, 4 @@ -69021,20 +73198,42 @@ var aCmd8 = [11]struct { FzName uintptr FxProc uintptr }{ - {FzName: ts + 34162 /* "sqlite3_shutdown" */, FxProc: 0}, - {FzName: ts + 34179 /* "sqlite3_initiali..." */, FxProc: 0}, - {FzName: ts + 34198 /* "sqlite3_config" */, FxProc: 0}, + { + FzName: ts + 34162, /* "sqlite3_shutdown" */ + FxProc: 0}, + { + FzName: ts + 34179, /* "sqlite3_initiali..." */ + FxProc: 0}, + { + FzName: ts + 34198, /* "sqlite3_config" */ + FxProc: 0}, - {FzName: ts + 34213 /* "enter_static_mut..." */, FxProc: 0}, - {FzName: ts + 34232 /* "leave_static_mut..." */, FxProc: 0}, + { + FzName: ts + 34213, /* "enter_static_mut..." */ + FxProc: 0}, + { + FzName: ts + 34232, /* "leave_static_mut..." */ + FxProc: 0}, - {FzName: ts + 34251 /* "enter_db_mutex" */, FxProc: 0}, - {FzName: ts + 34266 /* "leave_db_mutex" */, FxProc: 0}, + { + FzName: ts + 34251, /* "enter_db_mutex" */ + FxProc: 0}, + { + FzName: ts + 34266, /* "leave_db_mutex" */ + FxProc: 0}, - {FzName: ts + 34281 /* "alloc_dealloc_mu..." */, FxProc: 0}, - {FzName: ts + 34301 /* "install_mutex_co..." */, FxProc: 0}, - {FzName: ts + 34324 /* "read_mutex_count..." */, FxProc: 0}, - {FzName: ts + 34344 /* "clear_mutex_coun..." */, FxProc: 0}, + { + FzName: ts + 34281, /* "alloc_dealloc_mu..." */ + FxProc: 0}, + { + FzName: ts + 34301, /* "install_mutex_co..." */ + FxProc: 0}, + { + FzName: ts + 34324, /* "read_mutex_count..." */ + FxProc: 0}, + { + FzName: ts + 34344, /* "clear_mutex_coun..." */ + FxProc: 0}, } /* test_mutex.c:484:5 */ // Maximum pathname length supported by the fs backend. @@ -69084,64 +73283,119 @@ type fs_vfs_t1 = struct { type fs_vfs_t = fs_vfs_t1 /* test_onefile.c:176:25 */ -var fs_vfs = fs_vfs_t{Fbase: sqlite3_vfs{FiVersion: 1, FszOsFile: // iVersion -0, FmxPathname:// szOsFile -0, FpNext:// mxPathname -uintptr(0), FzName:// pNext -ts + 29961, /* "fs" */ FpAppData:// zName -uintptr(0), FxOpen:// pAppData -0, FxDelete:// xOpen -0, FxAccess:// xDelete -0, FxFullPathname:// xAccess -0, FxDlOpen:// xFullPathname -0, FxDlError:// xDlOpen -0, FxDlSym:// xDlError -0, FxDlClose:// xDlSym -0, FxRandomness:// xDlClose -0, FxSleep:// xRandomness -0, FxCurrentTime:// xSleep -0, FxGetLastError:// xCurrentTime -uintptr(0), // xCurrentTimeInt64 -}, FpFileList: uintptr(0), FpParent: // pFileList -uintptr(0), // pParent +var fs_vfs = fs_vfs_t{ + Fbase: sqlite3_vfs{ + FiVersion: 1, + FszOsFile:// iVersion + 0, + FmxPathname:// szOsFile + 0, + FpNext:// mxPathname + uintptr(0), + FzName:// pNext + ts + 29961, /* "fs" */ + FpAppData:// zName + uintptr(0), + FxOpen:// pAppData + 0, + FxDelete:// xOpen + 0, + FxAccess:// xDelete + 0, + FxFullPathname:// xAccess + 0, + FxDlOpen:// xFullPathname + 0, + FxDlError:// xDlOpen + 0, + FxDlSym:// xDlError + 0, + FxDlClose:// xDlSym + 0, + FxRandomness:// xDlClose + 0, + FxSleep:// xRandomness + 0, + FxCurrentTime:// xSleep + 0, + FxGetLastError:// xCurrentTime + uintptr(0), // xCurrentTimeInt64 + }, + FpFileList: uintptr(0), + FpParent:// pFileList + uintptr(0), // pParent } /* test_onefile.c:183:17 */ -var fs_io_methods = sqlite3_io_methods{FiVersion: 1, FxClose: // iVersion -0, FxRead:// xClose -0, FxWrite:// xRead -0, FxTruncate:// xWrite -0, FxSync:// xTruncate -0, FxFileSize:// xSync -0, FxLock:// xFileSize -0, FxUnlock:// xLock -0, FxCheckReservedLock:// xUnlock -0, FxFileControl:// xCheckReservedLock -0, FxSectorSize:// xFileControl -0, FxDeviceCharacteristics:// xSectorSize -0, FxShmMap:// xDeviceCharacteristics -uintptr(0), FxShmLock:// xShmMap -uintptr(0), FxShmBarrier:// xShmLock -uintptr(0), FxShmUnmap:// xShmBarrier -uintptr(0), // xShmUnmap +var fs_io_methods = sqlite3_io_methods{ + FiVersion: 1, + FxClose:// iVersion + 0, + FxRead:// xClose + 0, + FxWrite:// xRead + 0, + FxTruncate:// xWrite + 0, + FxSync:// xTruncate + 0, + FxFileSize:// xSync + 0, + FxLock:// xFileSize + 0, + FxUnlock:// xLock + 0, + FxCheckReservedLock:// xUnlock + 0, + FxFileControl:// xCheckReservedLock + 0, + FxSectorSize:// xFileControl + 0, + FxDeviceCharacteristics:// xSectorSize + 0, + FxShmMap:// xDeviceCharacteristics + uintptr(0), + FxShmLock:// xShmMap + uintptr(0), + FxShmBarrier:// xShmLock + uintptr(0), + FxShmUnmap:// xShmBarrier + uintptr(0), // xShmUnmap } /* test_onefile.c:208:27 */ -var tmp_io_methods = sqlite3_io_methods{FiVersion: 1, FxClose: // iVersion -0, FxRead:// xClose -0, FxWrite:// xRead -0, FxTruncate:// xWrite -0, FxSync:// xTruncate -0, FxFileSize:// xSync -0, FxLock:// xFileSize -0, FxUnlock:// xLock -0, FxCheckReservedLock:// xUnlock -0, FxFileControl:// xCheckReservedLock -0, FxSectorSize:// xFileControl -0, FxDeviceCharacteristics:// xSectorSize -0, FxShmMap:// xDeviceCharacteristics -uintptr(0), FxShmLock:// xShmMap -uintptr(0), FxShmBarrier:// xShmLock -uintptr(0), FxShmUnmap:// xShmBarrier -uintptr(0), // xShmUnmap +var tmp_io_methods = sqlite3_io_methods{ + FiVersion: 1, + FxClose:// iVersion + 0, + FxRead:// xClose + 0, + FxWrite:// xRead + 0, + FxTruncate:// xWrite + 0, + FxSync:// xTruncate + 0, + FxFileSize:// xSync + 0, + FxLock:// xFileSize + 0, + FxUnlock:// xLock + 0, + FxCheckReservedLock:// xUnlock + 0, + FxFileControl:// xCheckReservedLock + 0, + FxSectorSize:// xFileControl + 0, + FxDeviceCharacteristics:// xSectorSize + 0, + FxShmMap:// xDeviceCharacteristics + uintptr(0), + FxShmLock:// xShmMap + uintptr(0), + FxShmBarrier:// xShmLock + uintptr(0), + FxShmUnmap:// xShmBarrier + uintptr(0), // xShmUnmap } /* test_onefile.c:229:27 */ // Useful macros used in several places @@ -69858,44 +74112,80 @@ type VfslogFile1 = struct { type VfslogFile = VfslogFile1 /* test_osinst.c:118:27 */ -var vfslog_vfs = sqlite3_vfs{FiVersion: 1, FszOsFile: // iVersion -int32(unsafe.Sizeof(VfslogFile{})), FmxPathname:// szOsFile -512, FpNext:// mxPathname -uintptr(0), FzName:// pNext -uintptr(0), FpAppData:// zName -uintptr(0), FxOpen:// pAppData -0, FxDelete:// xOpen -0, FxAccess:// xDelete -0, FxFullPathname:// xAccess -0, FxDlOpen:// xFullPathname -0, FxDlError:// xDlOpen -0, FxDlSym:// xDlError -0, FxDlClose:// xDlSym -0, FxRandomness:// xDlClose -0, FxSleep:// xRandomness -0, FxCurrentTime:// xSleep -0, FxGetLastError:// xCurrentTime -0, FxCurrentTimeInt64:// xGetLastError -0, // xCurrentTime +var vfslog_vfs = sqlite3_vfs{ + FiVersion: 1, + FszOsFile:// iVersion + int32(unsafe.Sizeof(VfslogFile{})), + FmxPathname:// szOsFile + 512, + FpNext:// mxPathname + uintptr(0), + FzName:// pNext + uintptr(0), + FpAppData:// zName + uintptr(0), + FxOpen:// pAppData + 0, + FxDelete:// xOpen + 0, + FxAccess:// xDelete + 0, + FxFullPathname:// xAccess + 0, + FxDlOpen:// xFullPathname + 0, + FxDlError:// xDlOpen + 0, + FxDlSym:// xDlError + 0, + FxDlClose:// xDlSym + 0, + FxRandomness:// xDlClose + 0, + FxSleep:// xRandomness + 0, + FxCurrentTime:// xSleep + 0, + FxGetLastError:// xCurrentTime + 0, + FxCurrentTimeInt64:// xGetLastError + 0, // xCurrentTime } /* test_osinst.c:180:20 */ -var vfslog_io_methods = sqlite3_io_methods{FiVersion: 2, FxClose: // iVersion -0, FxRead:// xClose -0, FxWrite:// xRead -0, FxTruncate:// xWrite -0, FxSync:// xTruncate -0, FxFileSize:// xSync -0, FxLock:// xFileSize -0, FxUnlock:// xLock -0, FxCheckReservedLock:// xUnlock -0, FxFileControl:// xCheckReservedLock -0, FxSectorSize:// xFileControl -0, FxDeviceCharacteristics:// xSectorSize -0, FxShmMap:// xDeviceCharacteristics -0, FxShmLock:// xShmMap -0, FxShmBarrier:// xShmLock -0, FxShmUnmap:// xShmBarrier -0, // xShmUnmap +var vfslog_io_methods = sqlite3_io_methods{ + FiVersion: 2, + FxClose:// iVersion + 0, + FxRead:// xClose + 0, + FxWrite:// xRead + 0, + FxTruncate:// xWrite + 0, + FxSync:// xTruncate + 0, + FxFileSize:// xSync + 0, + FxLock:// xFileSize + 0, + FxUnlock:// xLock + 0, + FxCheckReservedLock:// xUnlock + 0, + FxFileControl:// xCheckReservedLock + 0, + FxSectorSize:// xFileControl + 0, + FxDeviceCharacteristics:// xSectorSize + 0, + FxShmMap:// xDeviceCharacteristics + 0, + FxShmLock:// xShmMap + 0, + FxShmBarrier:// xShmLock + 0, + FxShmUnmap:// xShmBarrier + 0, // xShmUnmap } /* test_osinst.c:202:27 */ // Convenience macros for operations on timevals. @@ -70682,26 +74972,46 @@ func sqlite3_vfslog_register(tls *libc.TLS, db uintptr) int32 { /* test_osinst.c return 0 } -var vfslog_module = sqlite3_module{FiVersion: 0, FxCreate: // iVersion -0, FxConnect:// xCreate -0, FxBestIndex:// xConnect -0, FxDisconnect:// xBestIndex -0, FxDestroy:// xDisconnect -0, FxOpen:// xDestroy -0, FxClose:// xOpen - open a cursor -0, FxFilter:// xClose - close a cursor -0, FxNext:// xFilter - configure scan constraints -0, FxEof:// xNext - advance a cursor -0, FxColumn:// xEof - check for end of scan -0, FxRowid:// xColumn - read data -0, FxUpdate:// xRowid - read data -uintptr(0), FxBegin:// xUpdate -uintptr(0), FxSync:// xBegin -uintptr(0), FxCommit:// xSync -uintptr(0), FxRollback:// xCommit -uintptr(0), FxFindFunction:// xRollback -uintptr(0), FxRename:// xFindMethod -uintptr(0), // xRename +var vfslog_module = sqlite3_module{ + FiVersion: 0, + FxCreate:// iVersion + 0, + FxConnect:// xCreate + 0, + FxBestIndex:// xConnect + 0, + FxDisconnect:// xBestIndex + 0, + FxDestroy:// xDisconnect + 0, + FxOpen:// xDestroy + 0, + FxClose:// xOpen - open a cursor + 0, + FxFilter:// xClose - close a cursor + 0, + FxNext:// xFilter - configure scan constraints + 0, + FxEof:// xNext - advance a cursor + 0, + FxColumn:// xEof - check for end of scan + 0, + FxRowid:// xColumn - read data + 0, + FxUpdate:// xRowid - read data + uintptr(0), + FxBegin:// xUpdate + uintptr(0), + FxSync:// xBegin + uintptr(0), + FxCommit:// xSync + uintptr(0), + FxRollback:// xCommit + uintptr(0), + FxFindFunction:// xRollback + uintptr(0), + FxRename:// xFindMethod + uintptr(0), // xRename } /* test_osinst.c:1072:25 */ // end block for C++ @@ -71305,9 +75615,22 @@ func installTestPCache(tls *libc.TLS, installFlag int32, discardChance uint32, p } } -var testPcache = sqlite3_pcache_methods2{FiVersion: 1, FpArg: 0, FxInit: 0, FxShutdown: 0, FxCreate: 0, FxCachesize: 0, FxPagecount: 0, FxFetch: 0, FxUnpin: 0, FxRekey: 0, FxTruncate: 0, FxDestroy: 0} /* test_pcache.c:433:40 */ -var defaultPcache sqlite3_pcache_methods2 /* test_pcache.c:447:34: */ -var isInstalled int32 = 0 /* test_pcache.c:448:14 */ +var testPcache = sqlite3_pcache_methods2{ + FiVersion: 1, + FpArg: 0, + FxInit: 0, + FxShutdown: 0, + FxCreate: 0, + FxCachesize: 0, + FxPagecount: 0, + FxFetch: 0, + FxUnpin: 0, + FxRekey: 0, + FxTruncate: 0, + FxDestroy: 0, +} /* test_pcache.c:433:40 */ +var defaultPcache sqlite3_pcache_methods2 /* test_pcache.c:447:34: */ +var isInstalled int32 = 0 /* test_pcache.c:448:14 */ // The following object serves the same role as FILE in the standard C // library. It represents an open connection to a file on disk for I/O. @@ -73696,27 +78019,69 @@ var aCmd9 = [21]struct { FzName uintptr FxProc uintptr }{ - {FzName: ts + 35005 /* "sqlite3_quota_in..." */, FxProc: 0}, - {FzName: ts + 35030 /* "sqlite3_quota_sh..." */, FxProc: 0}, - {FzName: ts + 35053 /* "sqlite3_quota_se..." */, FxProc: 0}, - {FzName: ts + 35071 /* "sqlite3_quota_fi..." */, FxProc: 0}, - {FzName: ts + 35090 /* "sqlite3_quota_du..." */, FxProc: 0}, - {FzName: ts + 35109 /* "sqlite3_quota_fo..." */, FxProc: 0}, - {FzName: ts + 35129 /* "sqlite3_quota_fr..." */, FxProc: 0}, - {FzName: ts + 35149 /* "sqlite3_quota_fw..." */, FxProc: 0}, - {FzName: ts + 35170 /* "sqlite3_quota_fc..." */, FxProc: 0}, - {FzName: ts + 35191 /* "sqlite3_quota_ff..." */, FxProc: 0}, - {FzName: ts + 35212 /* "sqlite3_quota_fs..." */, FxProc: 0}, - {FzName: ts + 35232 /* "sqlite3_quota_re..." */, FxProc: 0}, - {FzName: ts + 35253 /* "sqlite3_quota_ft..." */, FxProc: 0}, - {FzName: ts + 35273 /* "sqlite3_quota_ft..." */, FxProc: 0}, - {FzName: ts + 35297 /* "sqlite3_quota_fi..." */, FxProc: 0}, - {FzName: ts + 35321 /* "sqlite3_quota_fi..." */, FxProc: 0}, - {FzName: ts + 35349 /* "sqlite3_quota_fi..." */, FxProc: 0}, - {FzName: ts + 35374 /* "sqlite3_quota_re..." */, FxProc: 0}, - {FzName: ts + 35395 /* "sqlite3_quota_gl..." */, FxProc: 0}, - {FzName: ts + 35414 /* "sqlite3_quota_fi..." */, FxProc: 0}, - {FzName: ts + 35443 /* "sqlite3_quota_fe..." */, FxProc: 0}, + { + FzName: ts + 35005, /* "sqlite3_quota_in..." */ + FxProc: 0}, + { + FzName: ts + 35030, /* "sqlite3_quota_sh..." */ + FxProc: 0}, + { + FzName: ts + 35053, /* "sqlite3_quota_se..." */ + FxProc: 0}, + { + FzName: ts + 35071, /* "sqlite3_quota_fi..." */ + FxProc: 0}, + { + FzName: ts + 35090, /* "sqlite3_quota_du..." */ + FxProc: 0}, + { + FzName: ts + 35109, /* "sqlite3_quota_fo..." */ + FxProc: 0}, + { + FzName: ts + 35129, /* "sqlite3_quota_fr..." */ + FxProc: 0}, + { + FzName: ts + 35149, /* "sqlite3_quota_fw..." */ + FxProc: 0}, + { + FzName: ts + 35170, /* "sqlite3_quota_fc..." */ + FxProc: 0}, + { + FzName: ts + 35191, /* "sqlite3_quota_ff..." */ + FxProc: 0}, + { + FzName: ts + 35212, /* "sqlite3_quota_fs..." */ + FxProc: 0}, + { + FzName: ts + 35232, /* "sqlite3_quota_re..." */ + FxProc: 0}, + { + FzName: ts + 35253, /* "sqlite3_quota_ft..." */ + FxProc: 0}, + { + FzName: ts + 35273, /* "sqlite3_quota_ft..." */ + FxProc: 0}, + { + FzName: ts + 35297, /* "sqlite3_quota_fi..." */ + FxProc: 0}, + { + FzName: ts + 35321, /* "sqlite3_quota_fi..." */ + FxProc: 0}, + { + FzName: ts + 35349, /* "sqlite3_quota_fi..." */ + FxProc: 0}, + { + FzName: ts + 35374, /* "sqlite3_quota_re..." */ + FxProc: 0}, + { + FzName: ts + 35395, /* "sqlite3_quota_gl..." */ + FxProc: 0}, + { + FzName: ts + 35414, /* "sqlite3_quota_fi..." */ + FxProc: 0}, + { + FzName: ts + 35443, /* "sqlite3_quota_fe..." */ + FxProc: 0}, } /* test_quota.c:1948:5 */ type Tcl_OldStat_4 = uintptr /* tcl.h:645:21 */ @@ -75432,21 +79797,41 @@ func schemaBestIndex(tls *libc.TLS, tab uintptr, pIdxInfo uintptr) int32 { /* te // A virtual table module that merely echos method calls into TCL // variables. -var schemaModule = sqlite3_module{FiVersion: 0, FxCreate: // iVersion -0, FxConnect: 0, FxBestIndex: 0, FxDisconnect: 0, FxDestroy: 0, FxOpen: 0, FxClose: // xOpen - open a cursor -0, FxFilter:// xClose - close a cursor -0, FxNext:// xFilter - configure scan constraints -0, FxEof:// xNext - advance a cursor -0, FxColumn:// xEof -0, FxRowid:// xColumn - read data -0, FxUpdate:// xRowid - read data -uintptr(0), FxBegin:// xUpdate -uintptr(0), FxSync:// xBegin -uintptr(0), FxCommit:// xSync -uintptr(0), FxRollback:// xCommit -uintptr(0), FxFindFunction:// xRollback -uintptr(0), FxRename:// xFindMethod -uintptr(0), // xRename +var schemaModule = sqlite3_module{ + FiVersion: 0, + FxCreate:// iVersion + 0, + FxConnect: 0, + FxBestIndex: 0, + FxDisconnect: 0, + FxDestroy: 0, + FxOpen: 0, + FxClose:// xOpen - open a cursor + 0, + FxFilter:// xClose - close a cursor + 0, + FxNext:// xFilter - configure scan constraints + 0, + FxEof:// xNext - advance a cursor + 0, + FxColumn:// xEof + 0, + FxRowid:// xColumn - read data + 0, + FxUpdate:// xRowid - read data + uintptr(0), + FxBegin:// xUpdate + uintptr(0), + FxSync:// xBegin + uintptr(0), + FxCommit:// xSync + uintptr(0), + FxRollback:// xCommit + uintptr(0), + FxFindFunction:// xRollback + uintptr(0), + FxRename:// xFindMethod + uintptr(0), // xRename } /* test_schema.c:274:23 */ // Register the schema virtual table module. @@ -75486,7 +79871,10 @@ var aObjCmd12 = [1]struct { FxProc uintptr FclientData uintptr }{ - {FzName: ts + 35769 /* "register_schema_..." */, FxProc: 0, FclientData: uintptr(0)}, + { + FzName: ts + 35769, /* "register_schema_..." */ + FxProc: 0, + FclientData: uintptr(0)}, } /* test_schema.c:335:5 */ // 2001-09-15 @@ -75664,7 +80052,7 @@ type ServerState = struct { // State information about the server is stored in a static variable // named "g" as follows: -var g4 = ServerState{FqueueMutex: pthread_mutex_t{F__data: __pthread_mutex_s{F__lock: 0, F__count: uint32(0), F__owner: 0, F__nusers: uint32(0), F__kind: 0, F__spins: int16(0), F__elision: int16(0), F__list: __pthread_internal_list{F__prev: uintptr(0), F__next: uintptr(0)}}}, FserverMutex: pthread_mutex_t{F__data: __pthread_mutex_s{F__lock: 0, F__count: uint32(0), F__owner: 0, F__nusers: uint32(0), F__kind: 0, F__spins: int16(0), F__elision: int16(0), F__list: __pthread_internal_list{F__prev: uintptr(0), F__next: uintptr(0)}}}, FserverWakeup: pthread_cond_t{F__data: __pthread_cond_s{F__0: struct{ F__wseq uint64 }{F__wseq: uint64(0)}, F__8: struct{ F__g1_start uint64 }{F__g1_start: uint64(0)}, F__g_refs: [2]uint32{uint32(0), uint32(0)}, F__g_size: [2]uint32{uint32(0), uint32(0)}, F__g1_orig_size: uint32(0), F__wrefs: uint32(0), F__g_signals: [2]uint32{uint32(0), uint32(0)}}}} /* test_server.c:259:3 */ +var g4 = ServerState{} /* test_server.c:259:3 */ // Send a message to the server. Block until we get a reply. // @@ -76140,8 +80528,8 @@ func sqlite3demo_superlock(tls *libc.TLS, zPath uintptr, zVfs uintptr, xBusy uin bp := tls.Alloc(24) defer tls.Free(24) - *(*SuperlockBusy)(unsafe.Pointer(bp /* busy */)) = SuperlockBusy{FxBusy: uintptr(0), FpBusyArg: uintptr(0), FnBusy: 0} // Busy handler wrapper object - var rc int32 // Return code + *(*SuperlockBusy)(unsafe.Pointer(bp /* busy */)) = SuperlockBusy{} // Busy handler wrapper object + var rc int32 // Return code var pLock uintptr pLock = sqlite3.Xsqlite3_malloc(tls, int32(unsafe.Sizeof(Superlock{}))) @@ -76262,7 +80650,7 @@ func superlock_cmd(tls *libc.TLS, cd ClientData, interp uintptr, objc int32, obj // Lock context var zPath uintptr var zVfs uintptr = uintptr(0) - *(*InterpAndScript)(unsafe.Pointer(bp + 16 /* busy */)) = InterpAndScript{Finterp: uintptr(0), FpScript: uintptr(0)} + *(*InterpAndScript)(unsafe.Pointer(bp + 16 /* busy */)) = InterpAndScript{} var xBusy uintptr = uintptr(0) // Busy handler callback var rc int32 // Return code from sqlite3demo_superlock() @@ -76319,7 +80707,7 @@ type TestSyscallGlobal = struct { Forig_getpagesize sqlite3_syscall_ptr } /* test_syscall.c:97:8 */ -var gSyscall = TestSyscallGlobal{FbPersist: 0, FnCount: 0, FnFail: 0, Fpgsz: 0, Forig_getpagesize: uintptr(0)} /* test_syscall.c:103:3 */ +var gSyscall = TestSyscallGlobal{} /* test_syscall.c:103:3 */ type TestSyscallArray = struct { FzName uintptr @@ -76330,25 +80718,115 @@ type TestSyscallArray = struct { } /* test_syscall.c:127:1 */ var aSyscall = [19]TestSyscallArray{ - /* 0 */ {FzName: ts + 35880 /* "open" */, FxTest: 0, FxOrig: uintptr(0), Fdefault_errno: 13, Fcustom_errno: 0}, - /* 1 */ {FzName: ts + 9947 /* "close" */, FxTest: 0, FxOrig: uintptr(0), Fdefault_errno: 0, Fcustom_errno: 0}, - /* 2 */ {FzName: ts + 35885 /* "access" */, FxTest: 0, FxOrig: uintptr(0), Fdefault_errno: 0, Fcustom_errno: 0}, - /* 3 */ {FzName: ts + 35892 /* "getcwd" */, FxTest: 0, FxOrig: uintptr(0), Fdefault_errno: 0, Fcustom_errno: 0}, - /* 4 */ {FzName: ts + 35899 /* "stat" */, FxTest: 0, FxOrig: uintptr(0), Fdefault_errno: 0, Fcustom_errno: 0}, - /* 5 */ {FzName: ts + 35904 /* "fstat" */, FxTest: 0, FxOrig: uintptr(0), Fdefault_errno: 0, Fcustom_errno: 0}, - /* 6 */ {FzName: ts + 35910 /* "ftruncate" */, FxTest: 0, FxOrig: uintptr(0), Fdefault_errno: 5, Fcustom_errno: 0}, - /* 7 */ {FzName: ts + 35920 /* "fcntl" */, FxTest: 0, FxOrig: uintptr(0), Fdefault_errno: 13, Fcustom_errno: 0}, - /* 8 */ {FzName: ts + 24104 /* "read" */, FxTest: 0, FxOrig: uintptr(0), Fdefault_errno: 0, Fcustom_errno: 0}, - /* 9 */ {FzName: ts + 35926 /* "pread" */, FxTest: 0, FxOrig: uintptr(0), Fdefault_errno: 0, Fcustom_errno: 0}, - /* 10 */ {FzName: ts + 35932 /* "pread64" */, FxTest: 0, FxOrig: uintptr(0), Fdefault_errno: 0, Fcustom_errno: 0}, - /* 11 */ {FzName: ts + 24109 /* "write" */, FxTest: 0, FxOrig: uintptr(0), Fdefault_errno: 0, Fcustom_errno: 0}, - /* 12 */ {FzName: ts + 35940 /* "pwrite" */, FxTest: 0, FxOrig: uintptr(0), Fdefault_errno: 0, Fcustom_errno: 0}, - /* 13 */ {FzName: ts + 35947 /* "pwrite64" */, FxTest: 0, FxOrig: uintptr(0), Fdefault_errno: 0, Fcustom_errno: 0}, - /* 14 */ {FzName: ts + 35956 /* "fchmod" */, FxTest: 0, FxOrig: uintptr(0), Fdefault_errno: 0, Fcustom_errno: 0}, - /* 15 */ {FzName: ts + 35963 /* "fallocate" */, FxTest: 0, FxOrig: uintptr(0), Fdefault_errno: 0, Fcustom_errno: 0}, - /* 16 */ {FzName: ts + 27885 /* "mmap" */, FxTest: 0, FxOrig: uintptr(0), Fdefault_errno: 0, Fcustom_errno: 0}, - /* 17 */ {FzName: ts + 35973 /* "mremap" */, FxTest: 0, FxOrig: uintptr(0), Fdefault_errno: 0, Fcustom_errno: 0}, - {FzName: uintptr(0), FxTest: uintptr(0), FxOrig: uintptr(0), Fdefault_errno: 0, Fcustom_errno: 0}, + /* 0 */ { + FzName: ts + 35880, /* "open" */ + FxTest: 0, + FxOrig: uintptr(0), + Fdefault_errno: 13, + Fcustom_errno: 0}, + /* 1 */ { + FzName: ts + 9947, /* "close" */ + FxTest: 0, + FxOrig: uintptr(0), + Fdefault_errno: 0, + Fcustom_errno: 0}, + /* 2 */ { + FzName: ts + 35885, /* "access" */ + FxTest: 0, + FxOrig: uintptr(0), + Fdefault_errno: 0, + Fcustom_errno: 0}, + /* 3 */ { + FzName: ts + 35892, /* "getcwd" */ + FxTest: 0, + FxOrig: uintptr(0), + Fdefault_errno: 0, + Fcustom_errno: 0}, + /* 4 */ { + FzName: ts + 35899, /* "stat" */ + FxTest: 0, + FxOrig: uintptr(0), + Fdefault_errno: 0, + Fcustom_errno: 0}, + /* 5 */ { + FzName: ts + 35904, /* "fstat" */ + FxTest: 0, + FxOrig: uintptr(0), + Fdefault_errno: 0, + Fcustom_errno: 0}, + /* 6 */ { + FzName: ts + 35910, /* "ftruncate" */ + FxTest: 0, + FxOrig: uintptr(0), + Fdefault_errno: 5, + Fcustom_errno: 0}, + /* 7 */ { + FzName: ts + 35920, /* "fcntl" */ + FxTest: 0, + FxOrig: uintptr(0), + Fdefault_errno: 13, + Fcustom_errno: 0}, + /* 8 */ { + FzName: ts + 24104, /* "read" */ + FxTest: 0, + FxOrig: uintptr(0), + Fdefault_errno: 0, + Fcustom_errno: 0}, + /* 9 */ { + FzName: ts + 35926, /* "pread" */ + FxTest: 0, + FxOrig: uintptr(0), + Fdefault_errno: 0, + Fcustom_errno: 0}, + /* 10 */ { + FzName: ts + 35932, /* "pread64" */ + FxTest: 0, + FxOrig: uintptr(0), + Fdefault_errno: 0, + Fcustom_errno: 0}, + /* 11 */ { + FzName: ts + 24109, /* "write" */ + FxTest: 0, + FxOrig: uintptr(0), + Fdefault_errno: 0, + Fcustom_errno: 0}, + /* 12 */ { + FzName: ts + 35940, /* "pwrite" */ + FxTest: 0, + FxOrig: uintptr(0), + Fdefault_errno: 0, + Fcustom_errno: 0}, + /* 13 */ { + FzName: ts + 35947, /* "pwrite64" */ + FxTest: 0, + FxOrig: uintptr(0), + Fdefault_errno: 0, + Fcustom_errno: 0}, + /* 14 */ { + FzName: ts + 35956, /* "fchmod" */ + FxTest: 0, + FxOrig: uintptr(0), + Fdefault_errno: 0, + Fcustom_errno: 0}, + /* 15 */ { + FzName: ts + 35963, /* "fallocate" */ + FxTest: 0, + FxOrig: uintptr(0), + Fdefault_errno: 0, + Fcustom_errno: 0}, + /* 16 */ { + FzName: ts + 27885, /* "mmap" */ + FxTest: 0, + FxOrig: uintptr(0), + Fdefault_errno: 0, + Fcustom_errno: 0}, + /* 17 */ { + FzName: ts + 35973, /* "mremap" */ + FxTest: 0, + FxOrig: uintptr(0), + Fdefault_errno: 0, + Fcustom_errno: 0}, + {}, } /* test_syscall.c:133:3 */ // This function is called exactly once from within each invocation of a @@ -76722,18 +81200,40 @@ func test_syscall_errno(tls *libc.TLS, clientData uintptr, interp uintptr, objc var rc int32 *(*[12]Errno)(unsafe.Pointer(bp + 8 /* aErrno */)) = [12]Errno{ - {Fz: ts + 36021 /* "EACCES" */, Fi: 13}, - {Fz: ts + 36028 /* "EINTR" */, Fi: 4}, - {Fz: ts + 36034 /* "EIO" */, Fi: 5}, - {Fz: ts + 36038 /* "EOVERFLOW" */, Fi: 75}, - {Fz: ts + 36048 /* "ENOMEM" */, Fi: 12}, - {Fz: ts + 36055 /* "EAGAIN" */, Fi: 11}, - {Fz: ts + 36062 /* "ETIMEDOUT" */, Fi: 110}, - {Fz: ts + 36072 /* "EBUSY" */, Fi: 16}, - {Fz: ts + 36078 /* "EPERM" */, Fi: 1}, - {Fz: ts + 36084 /* "EDEADLK" */, Fi: 35}, - {Fz: ts + 36092 /* "ENOLCK" */, Fi: 37}, - {Fz: uintptr(0), Fi: 0}, + { + Fz: ts + 36021, /* "EACCES" */ + Fi: 13}, + { + Fz: ts + 36028, /* "EINTR" */ + Fi: 4}, + { + Fz: ts + 36034, /* "EIO" */ + Fi: 5}, + { + Fz: ts + 36038, /* "EOVERFLOW" */ + Fi: 75}, + { + Fz: ts + 36048, /* "ENOMEM" */ + Fi: 12}, + { + Fz: ts + 36055, /* "EAGAIN" */ + Fi: 11}, + { + Fz: ts + 36062, /* "ETIMEDOUT" */ + Fi: 110}, + { + Fz: ts + 36072, /* "EBUSY" */ + Fi: 16}, + { + Fz: ts + 36078, /* "EPERM" */ + Fi: 1}, + { + Fz: ts + 36084, /* "EDEADLK" */ + Fi: 35}, + { + Fz: ts + 36092, /* "ENOLCK" */ + Fi: 37}, + {}, } if objc != 4 { @@ -76844,34 +81344,52 @@ func test_syscall(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, defer tls.Free(180) *(*[10]SyscallCmd)(unsafe.Pointer(bp + 16 /* aCmd */)) = [10]SyscallCmd{ - {FzName: ts + 36154 /* "fault" */, FxCmd: *(*uintptr)(unsafe.Pointer(&struct { - f func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32 - }{test_syscall_fault}))}, - {FzName: ts + 36160 /* "install" */, FxCmd: *(*uintptr)(unsafe.Pointer(&struct { - f func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32 - }{test_syscall_install}))}, - {FzName: ts + 36168 /* "uninstall" */, FxCmd: *(*uintptr)(unsafe.Pointer(&struct { - f func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32 - }{test_syscall_uninstall}))}, - {FzName: ts + 7201 /* "reset" */, FxCmd: *(*uintptr)(unsafe.Pointer(&struct { - f func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32 - }{test_syscall_reset}))}, - {FzName: ts + 36113 /* "errno" */, FxCmd: *(*uintptr)(unsafe.Pointer(&struct { - f func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32 - }{test_syscall_errno}))}, - {FzName: ts + 13018 /* "exists" */, FxCmd: *(*uintptr)(unsafe.Pointer(&struct { - f func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32 - }{test_syscall_exists}))}, - {FzName: ts + 36178 /* "list" */, FxCmd: *(*uintptr)(unsafe.Pointer(&struct { - f func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32 - }{test_syscall_list}))}, - {FzName: ts + 36183 /* "defaultvfs" */, FxCmd: *(*uintptr)(unsafe.Pointer(&struct { - f func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32 - }{test_syscall_defaultvfs}))}, - {FzName: ts + 36194 /* "pagesize" */, FxCmd: *(*uintptr)(unsafe.Pointer(&struct { - f func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32 - }{test_syscall_pagesize}))}, - {FzName: uintptr(0), FxCmd: uintptr(0)}, + { + FzName: ts + 36154, /* "fault" */ + FxCmd: *(*uintptr)(unsafe.Pointer(&struct { + f func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32 + }{test_syscall_fault}))}, + { + FzName: ts + 36160, /* "install" */ + FxCmd: *(*uintptr)(unsafe.Pointer(&struct { + f func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32 + }{test_syscall_install}))}, + { + FzName: ts + 36168, /* "uninstall" */ + FxCmd: *(*uintptr)(unsafe.Pointer(&struct { + f func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32 + }{test_syscall_uninstall}))}, + { + FzName: ts + 7201, /* "reset" */ + FxCmd: *(*uintptr)(unsafe.Pointer(&struct { + f func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32 + }{test_syscall_reset}))}, + { + FzName: ts + 36113, /* "errno" */ + FxCmd: *(*uintptr)(unsafe.Pointer(&struct { + f func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32 + }{test_syscall_errno}))}, + { + FzName: ts + 13018, /* "exists" */ + FxCmd: *(*uintptr)(unsafe.Pointer(&struct { + f func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32 + }{test_syscall_exists}))}, + { + FzName: ts + 36178, /* "list" */ + FxCmd: *(*uintptr)(unsafe.Pointer(&struct { + f func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32 + }{test_syscall_list}))}, + { + FzName: ts + 36183, /* "defaultvfs" */ + FxCmd: *(*uintptr)(unsafe.Pointer(&struct { + f func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32 + }{test_syscall_defaultvfs}))}, + { + FzName: ts + 36194, /* "pagesize" */ + FxCmd: *(*uintptr)(unsafe.Pointer(&struct { + f func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32 + }{test_syscall_pagesize}))}, + {}, } // var iCmd int32 at bp+176, 4 @@ -76905,9 +81423,11 @@ func SqlitetestSyscall_Init(tls *libc.TLS, interp uintptr) int32 { /* test_sysca defer tls.Free(16) *(*[1]SyscallCmd)(unsafe.Pointer(bp /* aCmd */)) = [1]SyscallCmd{ - {FzName: ts + 36239 /* "test_syscall" */, FxCmd: *(*uintptr)(unsafe.Pointer(&struct { - f func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32 - }{test_syscall}))}, + { + FzName: ts + 36239, /* "test_syscall" */ + FxCmd: *(*uintptr)(unsafe.Pointer(&struct { + f func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32 + }{test_syscall}))}, } var i int32 @@ -77544,21 +82064,41 @@ func tclvarUpdate(tls *libc.TLS, tab uintptr, argc int32, argv uintptr, pRowid u // A virtual table module that provides read-only access to a // Tcl global variable namespace. -var tclvarModule = sqlite3_module{FiVersion: 0, FxCreate: // iVersion -0, FxConnect: 0, FxBestIndex: 0, FxDisconnect: 0, FxDestroy: 0, FxOpen: 0, FxClose: // xOpen - open a cursor -0, FxFilter:// xClose - close a cursor -0, FxNext:// xFilter - configure scan constraints -0, FxEof:// xNext - advance a cursor -0, FxColumn:// xEof - check for end of scan -0, FxRowid:// xColumn - read data -0, FxUpdate:// xRowid - read data -0, FxBegin:// xUpdate -uintptr(0), FxSync:// xBegin -uintptr(0), FxCommit:// xSync -uintptr(0), FxRollback:// xCommit -uintptr(0), FxFindFunction:// xRollback -uintptr(0), FxRename:// xFindMethod -uintptr(0), // xRename +var tclvarModule = sqlite3_module{ + FiVersion: 0, + FxCreate:// iVersion + 0, + FxConnect: 0, + FxBestIndex: 0, + FxDisconnect: 0, + FxDestroy: 0, + FxOpen: 0, + FxClose:// xOpen - open a cursor + 0, + FxFilter:// xClose - close a cursor + 0, + FxNext:// xFilter - configure scan constraints + 0, + FxEof:// xNext - advance a cursor + 0, + FxColumn:// xEof - check for end of scan + 0, + FxRowid:// xColumn - read data + 0, + FxUpdate:// xRowid - read data + 0, + FxBegin:// xUpdate + uintptr(0), + FxSync:// xBegin + uintptr(0), + FxCommit:// xSync + uintptr(0), + FxRollback:// xCommit + uintptr(0), + FxFindFunction:// xRollback + uintptr(0), + FxRename:// xFindMethod + uintptr(0), // xRename } /* test_tclvar.c:469:23 */ // Register the echo virtual table module. @@ -77602,7 +82142,10 @@ var aObjCmd13 = [1]struct { FxProc uintptr FclientData uintptr }{ - {FzName: ts + 37086 /* "register_tclvar_..." */, FxProc: 0, FclientData: uintptr(0)}, + { + FzName: ts + 37086, /* "register_tclvar_..." */ + FxProc: 0, + FclientData: uintptr(0)}, } /* test_tclvar.c:552:5 */ // Define some macros helping to catch buffer overflows. @@ -77909,19 +82452,35 @@ func sqlthread_proc(tls *libc.TLS, clientData ClientData, interp uintptr, objc i _ [4]byte FzUsage uintptr }{ - {FzName: ts + 37263 /* "parent" */, FxProc: *(*uintptr)(unsafe.Pointer(&struct { - f func(*libc.TLS, ClientData, uintptr, int32, uintptr) int32 - }{sqlthread_parent})), FnArg: 1, FzUsage: ts + 11405 /* "SCRIPT" */}, - {FzName: ts + 37270 /* "spawn" */, FxProc: *(*uintptr)(unsafe.Pointer(&struct { - f func(*libc.TLS, ClientData, uintptr, int32, uintptr) int32 - }{sqlthread_spawn})), FnArg: 2, FzUsage: ts + 37276 /* "VARNAME SCRIPT" */}, - {FzName: ts + 35880 /* "open" */, FxProc: *(*uintptr)(unsafe.Pointer(&struct { - f func(*libc.TLS, ClientData, uintptr, int32, uintptr) int32 - }{sqlthread_open})), FnArg: 1, FzUsage: ts + 37291 /* "DBNAME" */}, - {FzName: ts + 37298 /* "id" */, FxProc: *(*uintptr)(unsafe.Pointer(&struct { - f func(*libc.TLS, ClientData, uintptr, int32, uintptr) int32 - }{sqlthread_id})), FnArg: 0, FzUsage: ts + 488 /* "" */}, - {FzName: uintptr(0), FxProc: uintptr(0), FnArg: 0}, + { + FzName: ts + 37263, /* "parent" */ + FxProc: *(*uintptr)(unsafe.Pointer(&struct { + f func(*libc.TLS, ClientData, uintptr, int32, uintptr) int32 + }{sqlthread_parent})), + FnArg: 1, + FzUsage: ts + 11405 /* "SCRIPT" */}, + { + FzName: ts + 37270, /* "spawn" */ + FxProc: *(*uintptr)(unsafe.Pointer(&struct { + f func(*libc.TLS, ClientData, uintptr, int32, uintptr) int32 + }{sqlthread_spawn})), + FnArg: 2, + FzUsage: ts + 37276 /* "VARNAME SCRIPT" */}, + { + FzName: ts + 35880, /* "open" */ + FxProc: *(*uintptr)(unsafe.Pointer(&struct { + f func(*libc.TLS, ClientData, uintptr, int32, uintptr) int32 + }{sqlthread_open})), + FnArg: 1, + FzUsage: ts + 37291 /* "DBNAME" */}, + { + FzName: ts + 37298, /* "id" */ + FxProc: *(*uintptr)(unsafe.Pointer(&struct { + f func(*libc.TLS, ClientData, uintptr, int32, uintptr) int32 + }{sqlthread_id})), + FnArg: 0, + FzUsage: ts + 488 /* "" */}, + {}, } var pSub uintptr var rc int32 @@ -78292,24 +82851,43 @@ type TestFaultInject1 = struct { type TestFaultInject = TestFaultInject1 /* test_vfs.c:69:32 */ -var tvfs_io_methods = sqlite3_io_methods{FiVersion: 3, FxClose: // iVersion -0, FxRead:// xClose -0, FxWrite:// xRead -0, FxTruncate:// xWrite -0, FxSync:// xTruncate -0, FxFileSize:// xSync -0, FxLock:// xFileSize -0, FxUnlock:// xLock -0, FxCheckReservedLock:// xUnlock -0, FxFileControl:// xCheckReservedLock -0, FxSectorSize:// xFileControl -0, FxDeviceCharacteristics:// xSectorSize -0, FxShmMap:// xDeviceCharacteristics -0, FxShmLock:// xShmMap -0, FxShmBarrier:// xShmLock -0, FxShmUnmap:// xShmBarrier -0, FxFetch:// xShmUnmap -0, FxUnfetch: 0, +var tvfs_io_methods = sqlite3_io_methods{ + FiVersion: 3, + FxClose:// iVersion + 0, + FxRead:// xClose + 0, + FxWrite:// xRead + 0, + FxTruncate:// xWrite + 0, + FxSync:// xTruncate + 0, + FxFileSize:// xSync + 0, + FxLock:// xFileSize + 0, + FxUnlock:// xLock + 0, + FxCheckReservedLock:// xUnlock + 0, + FxFileControl:// xCheckReservedLock + 0, + FxSectorSize:// xFileControl + 0, + FxDeviceCharacteristics:// xSectorSize + 0, + FxShmMap:// xDeviceCharacteristics + 0, + FxShmLock:// xShmMap + 0, + FxShmBarrier:// xShmLock + 0, + FxShmUnmap:// xShmBarrier + 0, + FxFetch:// xShmUnmap + 0, + FxUnfetch: 0, } /* test_vfs.c:204:27 */ func tvfsResultCode(tls *libc.TLS, p uintptr, pRc uintptr) int32 { /* test_vfs.c:226:12: */ @@ -78317,15 +82895,33 @@ func tvfsResultCode(tls *libc.TLS, p uintptr, pRc uintptr) int32 { /* test_vfs.c defer tls.Free(144) *(*[9]errcode)(unsafe.Pointer(bp /* aCode */)) = [9]errcode{ - {FeCode: 0, FzCode: ts + 1987 /* "SQLITE_OK" */}, - {FeCode: 1, FzCode: ts + 1974 /* "SQLITE_ERROR" */}, - {FeCode: 10, FzCode: ts + 37305 /* "SQLITE_IOERR" */}, - {FeCode: 6, FzCode: ts + 37318 /* "SQLITE_LOCKED" */}, - {FeCode: 5, FzCode: ts + 37332 /* "SQLITE_BUSY" */}, - {FeCode: 8, FzCode: ts + 37344 /* "SQLITE_READONLY" */}, - {FeCode: (8 | (int32(5) << 8)), FzCode: ts + 37360 /* "SQLITE_READONLY_..." */}, - {FeCode: 12, FzCode: ts + 37385 /* "SQLITE_NOTFOUND" */}, - {FeCode: -1, FzCode: ts + 37401 /* "SQLITE_OMIT" */}, + { + FeCode: 0, + FzCode: ts + 1987 /* "SQLITE_OK" */}, + { + FeCode: 1, + FzCode: ts + 1974 /* "SQLITE_ERROR" */}, + { + FeCode: 10, + FzCode: ts + 37305 /* "SQLITE_IOERR" */}, + { + FeCode: 6, + FzCode: ts + 37318 /* "SQLITE_LOCKED" */}, + { + FeCode: 5, + FzCode: ts + 37332 /* "SQLITE_BUSY" */}, + { + FeCode: 8, + FzCode: ts + 37344 /* "SQLITE_READONLY" */}, + { + FeCode: (8 | (int32(5) << 8)), + FzCode: ts + 37360 /* "SQLITE_READONLY_..." */}, + { + FeCode: 12, + FzCode: ts + 37385 /* "SQLITE_NOTFOUND" */}, + { + FeCode: -1, + FzCode: ts + 37401 /* "SQLITE_OMIT" */}, } var z uintptr var i int32 @@ -78640,9 +83236,15 @@ func tvfsFileControl(tls *libc.TLS, pFile uintptr, op int32, pArg uintptr) int32 } if ((*Testvfs)(unsafe.Pointer(p)).FpScript != 0) && (((*Testvfs)(unsafe.Pointer(p)).Fmask & 0x00100000) != 0) { *(*[3]Fcntl)(unsafe.Pointer(bp + 16 /* aF */)) = [3]Fcntl{ - {FiFnctl: 31, FzFnctl: ts + 37462 /* "BEGIN_ATOMIC_WRI..." */}, - {FiFnctl: 32, FzFnctl: ts + 37481 /* "COMMIT_ATOMIC_WR..." */}, - {FiFnctl: 25, FzFnctl: ts + 37501 /* "ZIPVFS" */}, + { + FiFnctl: 31, + FzFnctl: ts + 37462 /* "BEGIN_ATOMIC_WRI..." */}, + { + FiFnctl: 32, + FzFnctl: ts + 37481 /* "COMMIT_ATOMIC_WR..." */}, + { + FiFnctl: 25, + FzFnctl: ts + 37501 /* "ZIPVFS" */}, } var i int32 for i = 0; uint64(i) < (uint64(unsafe.Sizeof([3]Fcntl{})) / uint64(unsafe.Sizeof(Fcntl{}))); i++ { @@ -79163,16 +83765,34 @@ func testvfs_obj_cmd(tls *libc.TLS, cd ClientData, interp uintptr, objc int32, o var p uintptr = cd *(*[10]TestvfsSubcmd)(unsafe.Pointer(bp + 96 /* aSubcmd */)) = [10]TestvfsSubcmd{ - {FzName: ts + 37619 /* "shm" */, FeCmd: uint32(0) /* CMD_SHM */}, - {FzName: ts + 37623 /* "delete" */, FeCmd: uint32(1) /* CMD_DELETE */}, - {FzName: ts + 37630 /* "filter" */, FeCmd: uint32(2) /* CMD_FILTER */}, - {FzName: ts + 37637 /* "ioerr" */, FeCmd: uint32(3) /* CMD_IOERR */}, - {FzName: ts + 37643 /* "fullerr" */, FeCmd: uint32(7) /* CMD_FULLERR */}, - {FzName: ts + 37651 /* "cantopenerr" */, FeCmd: uint32(8) /* CMD_CANTOPENERR */}, - {FzName: ts + 37663 /* "script" */, FeCmd: uint32(4) /* CMD_SCRIPT */}, - {FzName: ts + 37670 /* "devchar" */, FeCmd: uint32(5) /* CMD_DEVCHAR */}, - {FzName: ts + 37678 /* "sectorsize" */, FeCmd: uint32(6) /* CMD_SECTORSIZE */}, - {FzName: uintptr(0), FeCmd: uint32(0)}, + { + FzName: ts + 37619, /* "shm" */ + FeCmd: uint32(0) /* CMD_SHM */}, + { + FzName: ts + 37623, /* "delete" */ + FeCmd: uint32(1) /* CMD_DELETE */}, + { + FzName: ts + 37630, /* "filter" */ + FeCmd: uint32(2) /* CMD_FILTER */}, + { + FzName: ts + 37637, /* "ioerr" */ + FeCmd: uint32(3) /* CMD_IOERR */}, + { + FzName: ts + 37643, /* "fullerr" */ + FeCmd: uint32(7) /* CMD_FULLERR */}, + { + FzName: ts + 37651, /* "cantopenerr" */ + FeCmd: uint32(8) /* CMD_CANTOPENERR */}, + { + FzName: ts + 37663, /* "script" */ + FeCmd: uint32(4) /* CMD_SCRIPT */}, + { + FzName: ts + 37670, /* "devchar" */ + FeCmd: uint32(5) /* CMD_DEVCHAR */}, + { + FzName: ts + 37678, /* "sectorsize" */ + FeCmd: uint32(6) /* CMD_SECTORSIZE */}, + {}, } // var i int32 at bp+256, 4 @@ -79379,22 +83999,52 @@ func testvfs_obj_cmd(tls *libc.TLS, cd ClientData, interp uintptr, objc int32, o case uint32(5) /* CMD_DEVCHAR */ : { *(*[16]DeviceFlag)(unsafe.Pointer(bp + 304 /* aFlag */)) = [16]DeviceFlag{ - {FzName: ts + 37785 /* "default" */, FiValue: -1}, - {FzName: ts + 25381 /* "atomic" */, FiValue: 0x00000001}, - {FzName: ts + 25388 /* "atomic512" */, FiValue: 0x00000002}, - {FzName: ts + 25398 /* "atomic1k" */, FiValue: 0x00000004}, - {FzName: ts + 25407 /* "atomic2k" */, FiValue: 0x00000008}, - {FzName: ts + 25416 /* "atomic4k" */, FiValue: 0x00000010}, - {FzName: ts + 25425 /* "atomic8k" */, FiValue: 0x00000020}, - {FzName: ts + 25434 /* "atomic16k" */, FiValue: 0x00000040}, - {FzName: ts + 25444 /* "atomic32k" */, FiValue: 0x00000080}, - {FzName: ts + 25454 /* "atomic64k" */, FiValue: 0x00000100}, - {FzName: ts + 25464 /* "sequential" */, FiValue: 0x00000400}, - {FzName: ts + 25475 /* "safe_append" */, FiValue: 0x00000200}, - {FzName: ts + 37793 /* "undeletable_when..." */, FiValue: 0x00000800}, - {FzName: ts + 25487 /* "powersafe_overwr..." */, FiValue: 0x00001000}, - {FzName: ts + 37815 /* "immutable" */, FiValue: 0x00002000}, - {FzName: uintptr(0), FiValue: 0}, + { + FzName: ts + 37785, /* "default" */ + FiValue: -1}, + { + FzName: ts + 25381, /* "atomic" */ + FiValue: 0x00000001}, + { + FzName: ts + 25388, /* "atomic512" */ + FiValue: 0x00000002}, + { + FzName: ts + 25398, /* "atomic1k" */ + FiValue: 0x00000004}, + { + FzName: ts + 25407, /* "atomic2k" */ + FiValue: 0x00000008}, + { + FzName: ts + 25416, /* "atomic4k" */ + FiValue: 0x00000010}, + { + FzName: ts + 25425, /* "atomic8k" */ + FiValue: 0x00000020}, + { + FzName: ts + 25434, /* "atomic16k" */ + FiValue: 0x00000040}, + { + FzName: ts + 25444, /* "atomic32k" */ + FiValue: 0x00000080}, + { + FzName: ts + 25454, /* "atomic64k" */ + FiValue: 0x00000100}, + { + FzName: ts + 25464, /* "sequential" */ + FiValue: 0x00000400}, + { + FzName: ts + 25475, /* "safe_append" */ + FiValue: 0x00000200}, + { + FzName: ts + 37793, /* "undeletable_when..." */ + FiValue: 0x00000800}, + { + FzName: ts + 25487, /* "powersafe_overwr..." */ + FiValue: 0x00001000}, + { + FzName: ts + 37815, /* "immutable" */ + FiValue: 0x00002000}, + {}, } var pRet uintptr var iFlag int32 @@ -79475,24 +84125,60 @@ type VfsMethod = struct { } /* test_vfs.c:1175:14 */ var vfsmethod = [18]VfsMethod{ - {FzName: ts + 37577 /* "xShmOpen" */, Fmask: 0x00000001}, - {FzName: ts + 34580 /* "xShmLock" */, Fmask: 0x00000010}, - {FzName: ts + 34589 /* "xShmBarrier" */, Fmask: 0x00000040}, - {FzName: ts + 34570 /* "xShmUnmap" */, Fmask: 0x00000080}, - {FzName: ts + 34601 /* "xShmMap" */, Fmask: 0x00000020}, - {FzName: ts + 26827 /* "xSync" */, Fmask: 0x00000200}, - {FzName: ts + 34508 /* "xDelete" */, Fmask: 0x00000400}, - {FzName: ts + 34416 /* "xWrite" */, Fmask: 0x00001000}, - {FzName: ts + 34410 /* "xRead" */, Fmask: 0x00010000}, - {FzName: ts + 34423 /* "xTruncate" */, Fmask: 0x00002000}, - {FzName: ts + 26399 /* "xOpen" */, Fmask: 0x00000100}, - {FzName: ts + 34403 /* "xClose" */, Fmask: 0x00000800}, - {FzName: ts + 34516 /* "xAccess" */, Fmask: 0x00004000}, - {FzName: ts + 34524 /* "xFullPathname" */, Fmask: 0x00008000}, - {FzName: ts + 34449 /* "xUnlock" */, Fmask: 0x00020000}, - {FzName: ts + 34443 /* "xLock" */, Fmask: 0x00040000}, - {FzName: ts + 37443 /* "xCheckReservedLo..." */, Fmask: 0x00080000}, - {FzName: ts + 34471 /* "xFileControl" */, Fmask: 0x00100000}, + { + FzName: ts + 37577, /* "xShmOpen" */ + Fmask: 0x00000001}, + { + FzName: ts + 34580, /* "xShmLock" */ + Fmask: 0x00000010}, + { + FzName: ts + 34589, /* "xShmBarrier" */ + Fmask: 0x00000040}, + { + FzName: ts + 34570, /* "xShmUnmap" */ + Fmask: 0x00000080}, + { + FzName: ts + 34601, /* "xShmMap" */ + Fmask: 0x00000020}, + { + FzName: ts + 26827, /* "xSync" */ + Fmask: 0x00000200}, + { + FzName: ts + 34508, /* "xDelete" */ + Fmask: 0x00000400}, + { + FzName: ts + 34416, /* "xWrite" */ + Fmask: 0x00001000}, + { + FzName: ts + 34410, /* "xRead" */ + Fmask: 0x00010000}, + { + FzName: ts + 34423, /* "xTruncate" */ + Fmask: 0x00002000}, + { + FzName: ts + 26399, /* "xOpen" */ + Fmask: 0x00000100}, + { + FzName: ts + 34403, /* "xClose" */ + Fmask: 0x00000800}, + { + FzName: ts + 34516, /* "xAccess" */ + Fmask: 0x00004000}, + { + FzName: ts + 34524, /* "xFullPathname" */ + Fmask: 0x00008000}, + { + FzName: ts + 34449, /* "xUnlock" */ + Fmask: 0x00020000}, + { + FzName: ts + 34443, /* "xLock" */ + Fmask: 0x00040000}, + { + FzName: ts + 37443, /* "xCheckReservedLo..." */ + Fmask: 0x00080000}, + { + FzName: ts + 34471, /* "xFileControl" */ + Fmask: 0x00100000}, } /* test_vfs.c:1178:9 */ func testvfs_obj_del(tls *libc.TLS, cd ClientData) { /* test_vfs.c:1389:27: */ @@ -79744,28 +84430,50 @@ bad_args: return 1 } -var tvfs_vfs = sqlite3_vfs{FiVersion: 3, FszOsFile: // iVersion -0, FmxPathname:// szOsFile -0, FpNext:// mxPathname -uintptr(0), FzName:// pNext -uintptr(0), FpAppData:// zName -uintptr(0), FxOpen:// pAppData -0, FxDelete:// xOpen -0, FxAccess:// xDelete -0, FxFullPathname:// xAccess -0, FxDlOpen:// xFullPathname -uintptr(0), FxDlError:// xDlOpen -uintptr(0), FxDlSym:// xDlError -uintptr(0), FxDlClose:// xDlSym -uintptr(0), FxRandomness:// xDlClose -0, FxSleep:// xRandomness -0, FxCurrentTime:// xSleep -0, FxGetLastError:// xCurrentTime -uintptr(0), FxCurrentTimeInt64:// xGetLastError -uintptr(0), FxSetSystemCall:// xCurrentTimeInt64 -uintptr(0), FxGetSystemCall:// xSetSystemCall -uintptr(0), FxNextSystemCall:// xGetSystemCall -uintptr(0), // xNextSystemCall +var tvfs_vfs = sqlite3_vfs{ + FiVersion: 3, + FszOsFile:// iVersion + 0, + FmxPathname:// szOsFile + 0, + FpNext:// mxPathname + uintptr(0), + FzName:// pNext + uintptr(0), + FpAppData:// zName + uintptr(0), + FxOpen:// pAppData + 0, + FxDelete:// xOpen + 0, + FxAccess:// xDelete + 0, + FxFullPathname:// xAccess + 0, + FxDlOpen:// xFullPathname + uintptr(0), + FxDlError:// xDlOpen + uintptr(0), + FxDlSym:// xDlError + uintptr(0), + FxDlClose:// xDlSym + uintptr(0), + FxRandomness:// xDlClose + 0, + FxSleep:// xRandomness + 0, + FxCurrentTime:// xSleep + 0, + FxGetLastError:// xCurrentTime + uintptr(0), + FxCurrentTimeInt64:// xGetLastError + uintptr(0), + FxSetSystemCall:// xCurrentTimeInt64 + uintptr(0), + FxGetSystemCall:// xSetSystemCall + uintptr(0), + FxNextSystemCall:// xGetSystemCall + uintptr(0), // xNextSystemCall } /* test_vfs.c:1440:22 */ // tclcmd: vfs_shmlock DB DBNAME (shared|exclusive) (lock|unlock) OFFSET N @@ -80275,10 +84983,22 @@ var aObjCmd14 = [4]struct { FclientData int32 _ [4]byte }{ - {FzName: ts + 38255 /* "sqlite3_create_w..." */, FxProc: 0, FclientData: 0}, - {FzName: ts + 38286 /* "test_create_wind..." */, FxProc: 0, FclientData: 0}, - {FzName: ts + 38321 /* "test_create_sumi..." */, FxProc: 0, FclientData: 0}, - {FzName: ts + 38340 /* "test_override_su..." */, FxProc: 0, FclientData: 0}, + { + FzName: ts + 38255, /* "sqlite3_create_w..." */ + FxProc: 0, + FclientData: 0}, + { + FzName: ts + 38286, /* "test_create_wind..." */ + FxProc: 0, + FclientData: 0}, + { + FzName: ts + 38321, /* "test_create_sumi..." */ + FxProc: 0, + FclientData: 0}, + { + FzName: ts + 38340, /* "test_override_su..." */ + FxProc: 0, + FclientData: 0}, } /* test_window.c:336:5 */ // 2008 September 1 diff --git a/lib/sqlite_linux_amd64.go b/lib/sqlite_linux_amd64.go index e3ce6ad..32ed984 100644 --- a/lib/sqlite_linux_amd64.go +++ b/lib/sqlite_linux_amd64.go @@ -3153,8 +3153,11 @@ type Size_t = uint64 /* <builtin>:9:23 */ type Wchar_t = int32 /* <builtin>:15:24 */ -type X__builtin_va_list = uintptr /* <builtin>:30:14 */ -type X__float128 = float64 /* <builtin>:31:21 */ +type X__int128_t = [2]int64 /* <builtin>:21:24 */ //TODO +type X__uint128_t = [2]uint64 /* <builtin>:22:25 */ //TODO + +type X__builtin_va_list = uintptr /* <builtin>:34:14 */ +type X__float128 = float64 /* <builtin>:35:21 */ // ***************************************************************************** // @@ -9791,47 +9794,89 @@ var Xsqlite3CtypeMap = [256]uint8{ // The following singleton contains the global configuration for // the SQLite library. -var Xsqlite3Config = Sqlite3Config{FbMemstat: 0, FbCoreMutex: // bMemstat -U8(1), FbFullMutex:// bCoreMutex -(U8(libc.Bool32(1 == 1))), FbOpenUri:// bFullMutex -U8(0), FbUseCis:// bOpenUri -U8(1), FbSmallMalloc:// bUseCis -U8(0), FbExtraSchemaChecks:// bSmallMalloc -U8(1), FmxStrlen:// bExtraSchemaChecks -0x7ffffffe, FneverCorrupt:// mxStrlen -0, FszLookaside:// neverCorrupt -1200, FnLookaside: 40, FnStmtSpill: // szLookaside, nLookaside -(64 * 1024), Fm:// nStmtSpill -Sqlite3_mem_methods{FxMalloc: uintptr(0), FxFree: uintptr(0), FxRealloc: uintptr(0), FxSize: uintptr(0), FxRoundup: uintptr(0), FxInit: uintptr(0), FxShutdown: uintptr(0), FpAppData: uintptr(0)}, Fmutex:// m -Sqlite3_mutex_methods{FxMutexInit: uintptr(0), FxMutexEnd: uintptr(0), FxMutexAlloc: uintptr(0), FxMutexFree: uintptr(0), FxMutexEnter: uintptr(0), FxMutexTry: uintptr(0), FxMutexLeave: uintptr(0), FxMutexHeld: uintptr(0), FxMutexNotheld: uintptr(0)}, Fpcache2:// mutex -Sqlite3_pcache_methods2{FiVersion: 0, FpArg: uintptr(0), FxInit: uintptr(0), FxShutdown: uintptr(0), FxCreate: uintptr(0), FxCachesize: uintptr(0), FxPagecount: uintptr(0), FxFetch: uintptr(0), FxUnpin: uintptr(0), FxRekey: uintptr(0), FxTruncate: uintptr(0), FxDestroy: uintptr(0), FxShrink: uintptr(0)}, FpHeap:// pcache2 -uintptr(0), FnHeap:// pHeap -0, FmnReq:// nHeap -0, FmxReq: 0, FszMmap: // mnHeap, mxHeap -int64(0), FmxMmap:// szMmap -int64(0x7fff0000), FpPage:// mxMmap -uintptr(0), FszPage:// pPage -0, FnPage:// szPage -20, FmxParserStack:// nPage -0, FsharedCacheEnabled:// mxParserStack -0, FszPma:// sharedCacheEnabled -U32(250), FisInit:// szPma -// All the rest should always be initialized to zero -0, FinProgress:// isInit -0, FisMutexInit:// inProgress -0, FisMallocInit:// isMutexInit -0, FisPCacheInit:// isMallocInit -0, FnRefInitMutex:// isPCacheInit -0, FpInitMutex:// nRefInitMutex -uintptr(0), FxLog:// pInitMutex -uintptr(0), FpLogArg:// xLog -uintptr(0), FmxMemdbSize:// pLogArg -int64(1073741824), FxTestCallback:// mxMemdbSize -uintptr(0), FbLocaltimeFault:// xTestCallback -0, FiOnceResetThreshold:// bLocaltimeFault -0x7ffffffe, FszSorterRef:// iOnceResetThreshold -U32(0x7fffffff), FiPrngSeed:// szSorterRef -uint32(0), // iPrngSeed +var Xsqlite3Config = Sqlite3Config{ + FbMemstat: 0, + FbCoreMutex:// bMemstat + U8(1), + FbFullMutex:// bCoreMutex + (U8(libc.Bool32(1 == 1))), + FbOpenUri:// bFullMutex + U8(0), + FbUseCis:// bOpenUri + U8(1), + FbSmallMalloc:// bUseCis + U8(0), + FbExtraSchemaChecks:// bSmallMalloc + U8(1), + FmxStrlen:// bExtraSchemaChecks + 0x7ffffffe, + FneverCorrupt:// mxStrlen + 0, + FszLookaside:// neverCorrupt + 1200, + FnLookaside: 40, + FnStmtSpill:// szLookaside, nLookaside + (64 * 1024), // nStmtSpill + Fm:// nStmtSpill + Sqlite3_mem_methods{}, // m + Fmutex:// m + Sqlite3_mutex_methods{}, // mutex + Fpcache2:// mutex + Sqlite3_pcache_methods2{}, + FpHeap:// pcache2 + uintptr(0), + FnHeap:// pHeap + 0, + FmnReq:// nHeap + 0, + FmxReq: 0, + FszMmap:// mnHeap, mxHeap + int64(0), + FmxMmap:// szMmap + int64(0x7fff0000), + FpPage:// mxMmap + uintptr(0), + FszPage:// pPage + 0, + FnPage:// szPage + 20, + FmxParserStack:// nPage + 0, + FsharedCacheEnabled:// mxParserStack + 0, + FszPma:// sharedCacheEnabled + U32(250), + FisInit:// szPma + // All the rest should always be initialized to zero + 0, + FinProgress:// isInit + 0, + FisMutexInit:// inProgress + 0, + FisMallocInit:// isMutexInit + 0, + FisPCacheInit:// isMallocInit + 0, + FnRefInitMutex:// isPCacheInit + 0, + FpInitMutex:// nRefInitMutex + uintptr(0), + FxLog:// pInitMutex + uintptr(0), + FpLogArg:// xLog + uintptr(0), + FmxMemdbSize:// pLogArg + int64(1073741824), + FxTestCallback:// mxMemdbSize + uintptr(0), + FbLocaltimeFault:// xTestCallback + 0, + FiOnceResetThreshold:// bLocaltimeFault + 0x7ffffffe, + FszSorterRef:// iOnceResetThreshold + U32(0x7fffffff), + FiPrngSeed:// szSorterRef + uint32(0), // iPrngSeed } /* sqlite3.c:20578:48 */ // Hash table for global functions - functions common to all @@ -10135,8 +10180,8 @@ type sqlite3StatType = struct { FmxValue [10]Sqlite3StatValueType } /* sqlite3.c:21345:9 */ -type Sqlite3StatType = sqlite3StatType /* sqlite3.c:21345:32 */ -var sqlite3Stat = sqlite3StatType{FnowValue: [10]Sqlite3StatValueType{int64(0)}, FmxValue: [10]Sqlite3StatValueType{int64(0)}} /* sqlite3.c:21349:3 */ +type Sqlite3StatType = sqlite3StatType /* sqlite3.c:21345:32 */ +var sqlite3Stat = sqlite3StatType{} /* sqlite3.c:21349:3 */ // Elements of sqlite3Stat[] are protected by either the memory allocator // mutex, or by the pcache1 mutex. The following array determines which. @@ -11415,12 +11460,42 @@ var aXformType = [6]struct { FrLimit float64 FrXform float64 }{ - {FeType: U8(0), FnName: U8(6), FzName: ts + 410 /* "second" */, FrLimit: 464269060800.0, FrXform: 1000.0}, - {FeType: U8(0), FnName: U8(6), FzName: ts + 417 /* "minute" */, FrLimit: 7737817680.0, FrXform: 60000.0}, - {FeType: U8(0), FnName: U8(4), FzName: ts + 424 /* "hour" */, FrLimit: 128963628.0, FrXform: 3600000.0}, - {FeType: U8(0), FnName: U8(3), FzName: ts + 429 /* "day" */, FrLimit: 5373485.0, FrXform: 86400000.0}, - {FeType: U8(1), FnName: U8(5), FzName: ts + 433 /* "month" */, FrLimit: 176546.0, FrXform: 2592000000.0}, - {FeType: U8(2), FnName: U8(4), FzName: ts + 439 /* "year" */, FrLimit: 14713.0, FrXform: 31536000000.0}, + { + FeType: U8(0), + FnName: U8(6), + FzName: ts + 410, /* "second" */ + FrLimit: 464269060800.0, + FrXform: 1000.0}, + { + FeType: U8(0), + FnName: U8(6), + FzName: ts + 417, /* "minute" */ + FrLimit: 7737817680.0, + FrXform: 60000.0}, + { + FeType: U8(0), + FnName: U8(4), + FzName: ts + 424, /* "hour" */ + FrLimit: 128963628.0, + FrXform: 3600000.0}, + { + FeType: U8(0), + FnName: U8(3), + FzName: ts + 429, /* "day" */ + FrLimit: 5373485.0, + FrXform: 86400000.0}, + { + FeType: U8(1), + FnName: U8(5), + FzName: ts + 433, /* "month" */ + FrLimit: 176546.0, + FrXform: 2592000000.0}, + { + FeType: U8(2), + FnName: U8(4), + FzName: ts + 439, /* "year" */ + FrLimit: 14713.0, + FrXform: 31536000000.0}, } /* sqlite3.c:22337:3 */ // Process a modifier to a date-time stamp. The modifiers are @@ -12063,14 +12138,86 @@ func Xsqlite3RegisterDateTimeFunctions(tls *libc.TLS) { /* sqlite3.c:22945:21: * } var aDateTimeFuncs = [8]FuncDef{ - {FnArg: int8(-1), FfuncFlags: (U32((0x2000 | 1) | 0x0800)), FpUserData: 0, FpNext: uintptr(0), FxSFunc: 0, FxFinalize: uintptr(0), FxValue: uintptr(0), FxInverse: uintptr(0), FzName: ts + 575 /* "julianday" */, Fu: struct{ FpHash uintptr }{FpHash: uintptr(0)}}, - {FnArg: int8(-1), FfuncFlags: (U32((0x2000 | 1) | 0x0800)), FpUserData: 0, FpNext: uintptr(0), FxSFunc: 0, FxFinalize: uintptr(0), FxValue: uintptr(0), FxInverse: uintptr(0), FzName: ts + 585 /* "date" */, Fu: struct{ FpHash uintptr }{FpHash: uintptr(0)}}, - {FnArg: int8(-1), FfuncFlags: (U32((0x2000 | 1) | 0x0800)), FpUserData: 0, FpNext: uintptr(0), FxSFunc: 0, FxFinalize: uintptr(0), FxValue: uintptr(0), FxInverse: uintptr(0), FzName: ts + 590 /* "time" */, Fu: struct{ FpHash uintptr }{FpHash: uintptr(0)}}, - {FnArg: int8(-1), FfuncFlags: (U32((0x2000 | 1) | 0x0800)), FpUserData: 0, FpNext: uintptr(0), FxSFunc: 0, FxFinalize: uintptr(0), FxValue: uintptr(0), FxInverse: uintptr(0), FzName: ts + 595 /* "datetime" */, Fu: struct{ FpHash uintptr }{FpHash: uintptr(0)}}, - {FnArg: int8(-1), FfuncFlags: (U32((0x2000 | 1) | 0x0800)), FpUserData: 0, FpNext: uintptr(0), FxSFunc: 0, FxFinalize: uintptr(0), FxValue: uintptr(0), FxInverse: uintptr(0), FzName: ts + 604 /* "strftime" */, Fu: struct{ FpHash uintptr }{FpHash: uintptr(0)}}, - {FnArg: int8(0), FfuncFlags: (U32(0x2000 | 1)), FpUserData: uintptr(0), FpNext: uintptr(0), FxSFunc: 0, FxFinalize: uintptr(0), FxValue: uintptr(0), FxInverse: uintptr(0), FzName: ts + 613 /* "current_time" */, Fu: struct{ FpHash uintptr }{FpHash: uintptr(0)}}, - {FnArg: int8(0), FfuncFlags: (U32(0x2000 | 1)), FpUserData: uintptr(0), FpNext: uintptr(0), FxSFunc: 0, FxFinalize: uintptr(0), FxValue: uintptr(0), FxInverse: uintptr(0), FzName: ts + 626 /* "current_timestam..." */, Fu: struct{ FpHash uintptr }{FpHash: uintptr(0)}}, - {FnArg: int8(0), FfuncFlags: (U32(0x2000 | 1)), FpUserData: uintptr(0), FpNext: uintptr(0), FxSFunc: 0, FxFinalize: uintptr(0), FxValue: uintptr(0), FxInverse: uintptr(0), FzName: ts + 644 /* "current_date" */, Fu: struct{ FpHash uintptr }{FpHash: uintptr(0)}}, + { + FnArg: int8(-1), + FfuncFlags: (U32((0x2000 | 1) | 0x0800)), + FpUserData: 0, + FpNext: uintptr(0), + FxSFunc: 0, + FxFinalize: uintptr(0), + FxValue: uintptr(0), + FxInverse: uintptr(0), + FzName: ts + 575 /* "julianday" */, Fu: struct{ FpHash uintptr }{}}, + { + FnArg: int8(-1), + FfuncFlags: (U32((0x2000 | 1) | 0x0800)), + FpUserData: 0, + FpNext: uintptr(0), + FxSFunc: 0, + FxFinalize: uintptr(0), + FxValue: uintptr(0), + FxInverse: uintptr(0), + FzName: ts + 585 /* "date" */, Fu: struct{ FpHash uintptr }{}}, + { + FnArg: int8(-1), + FfuncFlags: (U32((0x2000 | 1) | 0x0800)), + FpUserData: 0, + FpNext: uintptr(0), + FxSFunc: 0, + FxFinalize: uintptr(0), + FxValue: uintptr(0), + FxInverse: uintptr(0), + FzName: ts + 590 /* "time" */, Fu: struct{ FpHash uintptr }{}}, + { + FnArg: int8(-1), + FfuncFlags: (U32((0x2000 | 1) | 0x0800)), + FpUserData: 0, + FpNext: uintptr(0), + FxSFunc: 0, + FxFinalize: uintptr(0), + FxValue: uintptr(0), + FxInverse: uintptr(0), + FzName: ts + 595 /* "datetime" */, Fu: struct{ FpHash uintptr }{}}, + { + FnArg: int8(-1), + FfuncFlags: (U32((0x2000 | 1) | 0x0800)), + FpUserData: 0, + FpNext: uintptr(0), + FxSFunc: 0, + FxFinalize: uintptr(0), + FxValue: uintptr(0), + FxInverse: uintptr(0), + FzName: ts + 604 /* "strftime" */, Fu: struct{ FpHash uintptr }{}}, + { + FnArg: int8(0), + FfuncFlags: (U32(0x2000 | 1)), + FpUserData: uintptr(0), + FpNext: uintptr(0), + FxSFunc: 0, + FxFinalize: uintptr(0), + FxValue: uintptr(0), + FxInverse: uintptr(0), + FzName: ts + 613 /* "current_time" */, Fu: struct{ FpHash uintptr }{}}, + { + FnArg: int8(0), + FfuncFlags: (U32(0x2000 | 1)), + FpUserData: uintptr(0), + FpNext: uintptr(0), + FxSFunc: 0, + FxFinalize: uintptr(0), + FxValue: uintptr(0), + FxInverse: uintptr(0), + FzName: ts + 626 /* "current_timestam..." */, Fu: struct{ FpHash uintptr }{}}, + { + FnArg: int8(0), + FfuncFlags: (U32(0x2000 | 1)), + FpUserData: uintptr(0), + FpNext: uintptr(0), + FxSFunc: 0, + FxFinalize: uintptr(0), + FxValue: uintptr(0), + FxInverse: uintptr(0), + FzName: ts + 644 /* "current_date" */, Fu: struct{ FpHash uintptr }{}}, } /* sqlite3.c:22946:18 */ //************* End of date.c *********************************************** @@ -12591,8 +12738,8 @@ type BenignMallocHooks1 = struct { // #include "sqliteInt.h" // Global variables. -type BenignMallocHooks = BenignMallocHooks1 /* sqlite3.c:23434:34 */ -var sqlite3Hooks = BenignMallocHooks1{FxBenignBegin: uintptr(0), FxBenignEnd: uintptr(0)} /* sqlite3.c:23438:3 */ +type BenignMallocHooks = BenignMallocHooks1 /* sqlite3.c:23434:34 */ +var sqlite3Hooks = BenignMallocHooks1{} /* sqlite3.c:23438:3 */ // The "wsdHooks" macro will resolve to the appropriate BenignMallocHooks // structure. If writable static data is unsupported on the target, @@ -12812,7 +12959,16 @@ func Xsqlite3MemSetDefault(tls *libc.TLS) { /* sqlite3.c:23829:21: */ Xsqlite3_config(tls, 4, libc.VaList(bp, uintptr(unsafe.Pointer(&defaultMethods)))) } -var defaultMethods = Sqlite3_mem_methods{FxMalloc: 0, FxFree: 0, FxRealloc: 0, FxSize: 0, FxRoundup: 0, FxInit: 0, FxShutdown: 0, FpAppData: uintptr(0)} /* sqlite3.c:23830:36 */ +var defaultMethods = Sqlite3_mem_methods{ + FxMalloc: 0, + FxFree: 0, + FxRealloc: 0, + FxSize: 0, + FxRoundup: 0, + FxInit: 0, + FxShutdown: 0, + FpAppData: uintptr(0), +} /* sqlite3.c:23830:36 */ //************* End of mem1.c *********************************************** //************* Begin file mem2.c ******************************************* @@ -13099,7 +13255,17 @@ func Xsqlite3NoopMutex(tls *libc.TLS) uintptr { /* sqlite3.c:26062:44: */ return uintptr(unsafe.Pointer(&sMutex)) } -var sMutex = Sqlite3_mutex_methods{FxMutexInit: 0, FxMutexEnd: 0, FxMutexAlloc: 0, FxMutexFree: 0, FxMutexEnter: 0, FxMutexTry: 0, FxMutexLeave: 0, FxMutexHeld: uintptr(0), FxMutexNotheld: uintptr(0)} /* sqlite3.c:26063:38 */ +var sMutex = Sqlite3_mutex_methods{ + FxMutexInit: 0, + FxMutexEnd: 0, + FxMutexAlloc: 0, + FxMutexFree: 0, + FxMutexEnter: 0, + FxMutexTry: 0, + FxMutexLeave: 0, + FxMutexHeld: uintptr(0), + FxMutexNotheld: uintptr(0), +} /* sqlite3.c:26063:38 */ // If compiled with SQLITE_MUTEX_NOOP, then the no-op mutex implementation // is used regardless of the run-time threadsafety setting. @@ -13184,7 +13350,7 @@ type Mem0Global = struct { // Default value of the hard heap limit. 0 means "no limit". // State information local to the memory allocation subsystem. -var mem0 = Mem0Global{Fmutex: uintptr(0), FalarmThreshold: int64(0), FhardLimit: int64(0), FnearlyFull: 0} /* sqlite3.c:27372:3 */ +var mem0 = Mem0Global{} /* sqlite3.c:27372:3 */ // Return the memory allocator mutex. sqlite3_status() needs it. func Xsqlite3MallocMutex(tls *libc.TLS) uintptr { /* sqlite3.c:27379:30: */ @@ -13913,31 +14079,169 @@ type Et_info = et_info /* sqlite3.c:28197:3 */ var aDigits = *(*[33]int8)(unsafe.Pointer(ts + 731 /* "0123456789ABCDEF..." */)) /* sqlite3.c:28210:19 */ var aPrefix = *(*[7]int8)(unsafe.Pointer(ts + 764 /* "-x0\x00X0" */)) /* sqlite3.c:28211:19 */ var fmtinfo = [23]Et_info{ - {Ffmttype: int8('d'), Fbase: EtByte(10), Fflags: EtByte(1), Ftype: EtByte(16), Fcharset: EtByte(0), Fprefix: EtByte(0)}, - {Ffmttype: int8('s'), Fbase: EtByte(0), Fflags: EtByte(4), Ftype: EtByte(5), Fcharset: EtByte(0), Fprefix: EtByte(0)}, - {Ffmttype: int8('g'), Fbase: EtByte(0), Fflags: EtByte(1), Ftype: EtByte(3), Fcharset: EtByte(30), Fprefix: EtByte(0)}, - {Ffmttype: int8('z'), Fbase: EtByte(0), Fflags: EtByte(4), Ftype: EtByte(6), Fcharset: EtByte(0), Fprefix: EtByte(0)}, - {Ffmttype: int8('q'), Fbase: EtByte(0), Fflags: EtByte(4), Ftype: EtByte(9), Fcharset: EtByte(0), Fprefix: EtByte(0)}, - {Ffmttype: int8('Q'), Fbase: EtByte(0), Fflags: EtByte(4), Ftype: EtByte(10), Fcharset: EtByte(0), Fprefix: EtByte(0)}, - {Ffmttype: int8('w'), Fbase: EtByte(0), Fflags: EtByte(4), Ftype: EtByte(14), Fcharset: EtByte(0), Fprefix: EtByte(0)}, - {Ffmttype: int8('c'), Fbase: EtByte(0), Fflags: EtByte(0), Ftype: EtByte(8), Fcharset: EtByte(0), Fprefix: EtByte(0)}, - {Ffmttype: int8('o'), Fbase: EtByte(8), Fflags: EtByte(0), Ftype: EtByte(0), Fcharset: EtByte(0), Fprefix: EtByte(2)}, - {Ffmttype: int8('u'), Fbase: EtByte(10), Fflags: EtByte(0), Ftype: EtByte(16), Fcharset: EtByte(0), Fprefix: EtByte(0)}, - {Ffmttype: int8('x'), Fbase: EtByte(16), Fflags: EtByte(0), Ftype: EtByte(0), Fcharset: EtByte(16), Fprefix: EtByte(1)}, - {Ffmttype: int8('X'), Fbase: EtByte(16), Fflags: EtByte(0), Ftype: EtByte(0), Fcharset: EtByte(0), Fprefix: EtByte(4)}, - {Ffmttype: int8('f'), Fbase: EtByte(0), Fflags: EtByte(1), Ftype: EtByte(1), Fcharset: EtByte(0), Fprefix: EtByte(0)}, - {Ffmttype: int8('e'), Fbase: EtByte(0), Fflags: EtByte(1), Ftype: EtByte(2), Fcharset: EtByte(30), Fprefix: EtByte(0)}, - {Ffmttype: int8('E'), Fbase: EtByte(0), Fflags: EtByte(1), Ftype: EtByte(2), Fcharset: EtByte(14), Fprefix: EtByte(0)}, - {Ffmttype: int8('G'), Fbase: EtByte(0), Fflags: EtByte(1), Ftype: EtByte(3), Fcharset: EtByte(14), Fprefix: EtByte(0)}, - {Ffmttype: int8('i'), Fbase: EtByte(10), Fflags: EtByte(1), Ftype: EtByte(16), Fcharset: EtByte(0), Fprefix: EtByte(0)}, - {Ffmttype: int8('n'), Fbase: EtByte(0), Fflags: EtByte(0), Ftype: EtByte(4), Fcharset: EtByte(0), Fprefix: EtByte(0)}, - {Ffmttype: int8('%'), Fbase: EtByte(0), Fflags: EtByte(0), Ftype: EtByte(7), Fcharset: EtByte(0), Fprefix: EtByte(0)}, - {Ffmttype: int8('p'), Fbase: EtByte(16), Fflags: EtByte(0), Ftype: EtByte(13), Fcharset: EtByte(0), Fprefix: EtByte(1)}, + { + Ffmttype: int8('d'), + Fbase: EtByte(10), + Fflags: EtByte(1), + Ftype: EtByte(16), + Fcharset: EtByte(0), + Fprefix: EtByte(0)}, + { + Ffmttype: int8('s'), + Fbase: EtByte(0), + Fflags: EtByte(4), + Ftype: EtByte(5), + Fcharset: EtByte(0), + Fprefix: EtByte(0)}, + { + Ffmttype: int8('g'), + Fbase: EtByte(0), + Fflags: EtByte(1), + Ftype: EtByte(3), + Fcharset: EtByte(30), + Fprefix: EtByte(0)}, + { + Ffmttype: int8('z'), + Fbase: EtByte(0), + Fflags: EtByte(4), + Ftype: EtByte(6), + Fcharset: EtByte(0), + Fprefix: EtByte(0)}, + { + Ffmttype: int8('q'), + Fbase: EtByte(0), + Fflags: EtByte(4), + Ftype: EtByte(9), + Fcharset: EtByte(0), + Fprefix: EtByte(0)}, + { + Ffmttype: int8('Q'), + Fbase: EtByte(0), + Fflags: EtByte(4), + Ftype: EtByte(10), + Fcharset: EtByte(0), + Fprefix: EtByte(0)}, + { + Ffmttype: int8('w'), + Fbase: EtByte(0), + Fflags: EtByte(4), + Ftype: EtByte(14), + Fcharset: EtByte(0), + Fprefix: EtByte(0)}, + { + Ffmttype: int8('c'), + Fbase: EtByte(0), + Fflags: EtByte(0), + Ftype: EtByte(8), + Fcharset: EtByte(0), + Fprefix: EtByte(0)}, + { + Ffmttype: int8('o'), + Fbase: EtByte(8), + Fflags: EtByte(0), + Ftype: EtByte(0), + Fcharset: EtByte(0), + Fprefix: EtByte(2)}, + { + Ffmttype: int8('u'), + Fbase: EtByte(10), + Fflags: EtByte(0), + Ftype: EtByte(16), + Fcharset: EtByte(0), + Fprefix: EtByte(0)}, + { + Ffmttype: int8('x'), + Fbase: EtByte(16), + Fflags: EtByte(0), + Ftype: EtByte(0), + Fcharset: EtByte(16), + Fprefix: EtByte(1)}, + { + Ffmttype: int8('X'), + Fbase: EtByte(16), + Fflags: EtByte(0), + Ftype: EtByte(0), + Fcharset: EtByte(0), + Fprefix: EtByte(4)}, + { + Ffmttype: int8('f'), + Fbase: EtByte(0), + Fflags: EtByte(1), + Ftype: EtByte(1), + Fcharset: EtByte(0), + Fprefix: EtByte(0)}, + { + Ffmttype: int8('e'), + Fbase: EtByte(0), + Fflags: EtByte(1), + Ftype: EtByte(2), + Fcharset: EtByte(30), + Fprefix: EtByte(0)}, + { + Ffmttype: int8('E'), + Fbase: EtByte(0), + Fflags: EtByte(1), + Ftype: EtByte(2), + Fcharset: EtByte(14), + Fprefix: EtByte(0)}, + { + Ffmttype: int8('G'), + Fbase: EtByte(0), + Fflags: EtByte(1), + Ftype: EtByte(3), + Fcharset: EtByte(14), + Fprefix: EtByte(0)}, + { + Ffmttype: int8('i'), + Fbase: EtByte(10), + Fflags: EtByte(1), + Ftype: EtByte(16), + Fcharset: EtByte(0), + Fprefix: EtByte(0)}, + { + Ffmttype: int8('n'), + Fbase: EtByte(0), + Fflags: EtByte(0), + Ftype: EtByte(4), + Fcharset: EtByte(0), + Fprefix: EtByte(0)}, + { + Ffmttype: int8('%'), + Fbase: EtByte(0), + Fflags: EtByte(0), + Ftype: EtByte(7), + Fcharset: EtByte(0), + Fprefix: EtByte(0)}, + { + Ffmttype: int8('p'), + Fbase: EtByte(16), + Fflags: EtByte(0), + Ftype: EtByte(13), + Fcharset: EtByte(0), + Fprefix: EtByte(1)}, // All the rest are undocumented and are for internal use only - {Ffmttype: int8('T'), Fbase: EtByte(0), Fflags: EtByte(0), Ftype: EtByte(11), Fcharset: EtByte(0), Fprefix: EtByte(0)}, - {Ffmttype: int8('S'), Fbase: EtByte(0), Fflags: EtByte(0), Ftype: EtByte(12), Fcharset: EtByte(0), Fprefix: EtByte(0)}, - {Ffmttype: int8('r'), Fbase: EtByte(10), Fflags: EtByte(1), Ftype: EtByte(15), Fcharset: EtByte(0), Fprefix: EtByte(0)}, + { + Ffmttype: int8('T'), + Fbase: EtByte(0), + Fflags: EtByte(0), + Ftype: EtByte(11), + Fcharset: EtByte(0), + Fprefix: EtByte(0)}, + { + Ffmttype: int8('S'), + Fbase: EtByte(0), + Fflags: EtByte(0), + Ftype: EtByte(12), + Fcharset: EtByte(0), + Fprefix: EtByte(0)}, + { + Ffmttype: int8('r'), + Fbase: EtByte(10), + Fflags: EtByte(1), + Ftype: EtByte(15), + Fcharset: EtByte(0), + Fprefix: EtByte(0)}, } /* sqlite3.c:28212:22 */ // Floating point constants used for rounding @@ -15609,7 +15913,15 @@ func Xsqlite3StrAccumFinish(tls *libc.TLS, p uintptr) uintptr { /* sqlite3.c:291 // sqlite3_malloc() fails to provide space for a real one. This // sqlite3_str object accepts no new text and always returns // an SQLITE_NOMEM error. -var sqlite3OomStr = Sqlite3_str{Fdb: uintptr(0), FzText: uintptr(0), FnAlloc: U32(0), FmxAlloc: U32(0), FnChar: U32(0), FaccError: U8(7), FprintfFlags: U8(0)} /* sqlite3.c:29185:20 */ +var sqlite3OomStr = Sqlite3_str{ + Fdb: uintptr(0), + FzText: uintptr(0), + FnAlloc: U32(0), + FmxAlloc: U32(0), + FnChar: U32(0), + FaccError: U8(7), + FprintfFlags: U8(0), +} /* sqlite3.c:29185:20 */ // Finalize a string created using sqlite3_str_new(). func Xsqlite3_str_finish(tls *libc.TLS, p uintptr) uintptr { /* sqlite3.c:29191:17: */ @@ -18906,7 +19218,7 @@ func findElementWithHash(tls *libc.TLS, pH uintptr, pKey uintptr, pHash uintptr) return uintptr(unsafe.Pointer(&nullElement)) } -var nullElement = HashElem{Fnext: uintptr(0), Fprev: uintptr(0), Fdata: uintptr(0), FpKey: uintptr(0)} /* sqlite3.c:33038:19 */ +var nullElement = HashElem{} /* sqlite3.c:33038:19 */ // Remove a single entry from the hash table given a pointer to that // element and a hash on the element's key. @@ -20539,67 +20851,154 @@ type unix_syscall = struct { // testing and sandboxing. The following array holds the names and pointers // to all overrideable system calls. var aSyscall = [29]unix_syscall{ - {FzName: ts + 4395 /* "open" */, FpCurrent: 0, FpDefault: uintptr(0)}, + { + FzName: ts + 4395, /* "open" */ + FpCurrent: 0, + FpDefault: uintptr(0)}, - {FzName: ts + 4400 /* "close" */, FpCurrent: 0, FpDefault: uintptr(0)}, + { + FzName: ts + 4400, /* "close" */ + FpCurrent: 0, + FpDefault: uintptr(0)}, - {FzName: ts + 4406 /* "access" */, FpCurrent: 0, FpDefault: uintptr(0)}, + { + FzName: ts + 4406, /* "access" */ + FpCurrent: 0, + FpDefault: uintptr(0)}, - {FzName: ts + 4413 /* "getcwd" */, FpCurrent: 0, FpDefault: uintptr(0)}, + { + FzName: ts + 4413, /* "getcwd" */ + FpCurrent: 0, + FpDefault: uintptr(0)}, - {FzName: ts + 4420 /* "stat" */, FpCurrent: 0, FpDefault: uintptr(0)}, + { + FzName: ts + 4420, /* "stat" */ + FpCurrent: 0, + FpDefault: uintptr(0)}, // The DJGPP compiler environment looks mostly like Unix, but it // lacks the fcntl() system call. So redefine fcntl() to be something // that always succeeds. This means that locking does not occur under // DJGPP. But it is DOS - what did you expect? - {FzName: ts + 4425 /* "fstat" */, FpCurrent: 0, FpDefault: uintptr(0)}, + { + FzName: ts + 4425, /* "fstat" */ + FpCurrent: 0, + FpDefault: uintptr(0)}, - {FzName: ts + 4431 /* "ftruncate" */, FpCurrent: 0, FpDefault: uintptr(0)}, + { + FzName: ts + 4431, /* "ftruncate" */ + FpCurrent: 0, + FpDefault: uintptr(0)}, - {FzName: ts + 4441 /* "fcntl" */, FpCurrent: 0, FpDefault: uintptr(0)}, + { + FzName: ts + 4441, /* "fcntl" */ + FpCurrent: 0, + FpDefault: uintptr(0)}, - {FzName: ts + 4447 /* "read" */, FpCurrent: 0, FpDefault: uintptr(0)}, + { + FzName: ts + 4447, /* "read" */ + FpCurrent: 0, + FpDefault: uintptr(0)}, - {FzName: ts + 4452 /* "pread" */, FpCurrent: uintptr(0), FpDefault: uintptr(0)}, + { + FzName: ts + 4452, /* "pread" */ + FpCurrent: uintptr(0), + FpDefault: uintptr(0)}, - {FzName: ts + 4458 /* "pread64" */, FpCurrent: uintptr(0), FpDefault: uintptr(0)}, + { + FzName: ts + 4458, /* "pread64" */ + FpCurrent: uintptr(0), + FpDefault: uintptr(0)}, - {FzName: ts + 4466 /* "write" */, FpCurrent: 0, FpDefault: uintptr(0)}, + { + FzName: ts + 4466, /* "write" */ + FpCurrent: 0, + FpDefault: uintptr(0)}, - {FzName: ts + 4472 /* "pwrite" */, FpCurrent: uintptr(0), FpDefault: uintptr(0)}, + { + FzName: ts + 4472, /* "pwrite" */ + FpCurrent: uintptr(0), + FpDefault: uintptr(0)}, - {FzName: ts + 4479 /* "pwrite64" */, FpCurrent: uintptr(0), FpDefault: uintptr(0)}, + { + FzName: ts + 4479, /* "pwrite64" */ + FpCurrent: uintptr(0), + FpDefault: uintptr(0)}, - {FzName: ts + 4488 /* "fchmod" */, FpCurrent: 0, FpDefault: uintptr(0)}, + { + FzName: ts + 4488, /* "fchmod" */ + FpCurrent: 0, + FpDefault: uintptr(0)}, - {FzName: ts + 4495 /* "fallocate" */, FpCurrent: uintptr(0), FpDefault: uintptr(0)}, + { + FzName: ts + 4495, /* "fallocate" */ + FpCurrent: uintptr(0), + FpDefault: uintptr(0)}, - {FzName: ts + 4505 /* "unlink" */, FpCurrent: 0, FpDefault: uintptr(0)}, + { + FzName: ts + 4505, /* "unlink" */ + FpCurrent: 0, + FpDefault: uintptr(0)}, - {FzName: ts + 4512 /* "openDirectory" */, FpCurrent: 0, FpDefault: uintptr(0)}, + { + FzName: ts + 4512, /* "openDirectory" */ + FpCurrent: 0, + FpDefault: uintptr(0)}, - {FzName: ts + 4526 /* "mkdir" */, FpCurrent: 0, FpDefault: uintptr(0)}, + { + FzName: ts + 4526, /* "mkdir" */ + FpCurrent: 0, + FpDefault: uintptr(0)}, - {FzName: ts + 4532 /* "rmdir" */, FpCurrent: 0, FpDefault: uintptr(0)}, + { + FzName: ts + 4532, /* "rmdir" */ + FpCurrent: 0, + FpDefault: uintptr(0)}, - {FzName: ts + 4538 /* "fchown" */, FpCurrent: 0, FpDefault: uintptr(0)}, + { + FzName: ts + 4538, /* "fchown" */ + FpCurrent: 0, + FpDefault: uintptr(0)}, - {FzName: ts + 4545 /* "geteuid" */, FpCurrent: 0, FpDefault: uintptr(0)}, + { + FzName: ts + 4545, /* "geteuid" */ + FpCurrent: 0, + FpDefault: uintptr(0)}, - {FzName: ts + 4553 /* "mmap" */, FpCurrent: 0, FpDefault: uintptr(0)}, + { + FzName: ts + 4553, /* "mmap" */ + FpCurrent: 0, + FpDefault: uintptr(0)}, - {FzName: ts + 4558 /* "munmap" */, FpCurrent: 0, FpDefault: uintptr(0)}, + { + FzName: ts + 4558, /* "munmap" */ + FpCurrent: 0, + FpDefault: uintptr(0)}, - {FzName: ts + 4565 /* "mremap" */, FpCurrent: uintptr(0), FpDefault: uintptr(0)}, + { + FzName: ts + 4565, /* "mremap" */ + FpCurrent: uintptr(0), + FpDefault: uintptr(0)}, - {FzName: ts + 4572 /* "getpagesize" */, FpCurrent: 0, FpDefault: uintptr(0)}, + { + FzName: ts + 4572, /* "getpagesize" */ + FpCurrent: 0, + FpDefault: uintptr(0)}, - {FzName: ts + 4584 /* "readlink" */, FpCurrent: 0, FpDefault: uintptr(0)}, + { + FzName: ts + 4584, /* "readlink" */ + FpCurrent: 0, + FpDefault: uintptr(0)}, - {FzName: ts + 4593 /* "lstat" */, FpCurrent: 0, FpDefault: uintptr(0)}, + { + FzName: ts + 4593, /* "lstat" */ + FpCurrent: 0, + FpDefault: uintptr(0)}, - {FzName: ts + 4599 /* "ioctl" */, FpCurrent: uintptr(0), FpDefault: uintptr(0)}, + { + FzName: ts + 4599, /* "ioctl" */ + FpCurrent: uintptr(0), + FpDefault: uintptr(0)}, } /* sqlite3.c:33935:3 */ // End of the overrideable system calls // On some systems, calls to fchown() will trigger a message in a security @@ -23740,23 +24139,80 @@ func unixUnfetch(tls *libc.TLS, fd uintptr, iOff I64, p uintptr) int32 { /* sqli // Here are all of the sqlite3_io_methods objects for each of the // locking strategies. Functions that return pointers to these methods // are also created. -var posixIoMethods = Sqlite3_io_methods{FiVersion: 3, FxClose: /* iVersion */ 0, FxRead: /* xClose */ 0, FxWrite: /* xRead */ 0, FxTruncate: /* xWrite */ 0, FxSync: /* xTruncate */ 0, FxFileSize: /* xSync */ 0, FxLock: /* xFileSize */ 0, FxUnlock: /* xLock */ 0, FxCheckReservedLock: /* xUnlock */ 0, FxFileControl: /* xCheckReservedLock */ 0, FxSectorSize: /* xFileControl */ 0, FxDeviceCharacteristics: /* xSectorSize */ 0, FxShmMap: /* xDeviceCapabilities */ 0, FxShmLock: /* xShmMap */ 0, FxShmBarrier: /* xShmLock */ 0, FxShmUnmap: /* xShmBarrier */ 0, FxFetch: /* xShmUnmap */ 0, FxUnfetch: /* xFetch */ 0 /* xUnfetch */} /* sqlite3.c:38850:1 */ +var posixIoMethods = Sqlite3_io_methods{ + FiVersion: 3, + FxClose:/* iVersion */ 0, + FxRead:/* xClose */ 0, + FxWrite:/* xRead */ 0, + FxTruncate:/* xWrite */ 0, + FxSync:/* xTruncate */ 0, + FxFileSize:/* xSync */ 0, + FxLock:/* xFileSize */ 0, + FxUnlock:/* xLock */ 0, + FxCheckReservedLock:/* xUnlock */ 0, + FxFileControl:/* xCheckReservedLock */ 0, + FxSectorSize:/* xFileControl */ 0, + FxDeviceCharacteristics:/* xSectorSize */ 0, + FxShmMap:/* xDeviceCapabilities */ 0, + FxShmLock:/* xShmMap */ 0, + FxShmBarrier:/* xShmLock */ 0, + FxShmUnmap:/* xShmBarrier */ 0, + FxFetch:/* xShmUnmap */ 0, + FxUnfetch:/* xFetch */ 0 /* xUnfetch */} /* sqlite3.c:38850:1 */ func posixIoFinderImpl(tls *libc.TLS, z uintptr, p uintptr) uintptr { /* sqlite3.c:38850:1: */ _ = z _ = p return uintptr(unsafe.Pointer(&posixIoMethods)) } -var posixIoFinder uintptr = 0 /* sqlite3.c:38850:1 */ -var nolockIoMethods = Sqlite3_io_methods{FiVersion: 3, FxClose: /* iVersion */ 0, FxRead: /* xClose */ 0, FxWrite: /* xRead */ 0, FxTruncate: /* xWrite */ 0, FxSync: /* xTruncate */ 0, FxFileSize: /* xSync */ 0, FxLock: /* xFileSize */ 0, FxUnlock: /* xLock */ 0, FxCheckReservedLock: /* xUnlock */ 0, FxFileControl: /* xCheckReservedLock */ 0, FxSectorSize: /* xFileControl */ 0, FxDeviceCharacteristics: /* xSectorSize */ 0, FxShmMap: /* xDeviceCapabilities */ uintptr(0), FxShmLock: /* xShmMap */ 0, FxShmBarrier: /* xShmLock */ 0, FxShmUnmap: /* xShmBarrier */ 0, FxFetch: /* xShmUnmap */ 0, FxUnfetch: /* xFetch */ 0 /* xUnfetch */} /* sqlite3.c:38860:1 */ +var posixIoFinder uintptr = 0 /* sqlite3.c:38850:1 */ +var nolockIoMethods = Sqlite3_io_methods{ + FiVersion: 3, + FxClose:/* iVersion */ 0, + FxRead:/* xClose */ 0, + FxWrite:/* xRead */ 0, + FxTruncate:/* xWrite */ 0, + FxSync:/* xTruncate */ 0, + FxFileSize:/* xSync */ 0, + FxLock:/* xFileSize */ 0, + FxUnlock:/* xLock */ 0, + FxCheckReservedLock:/* xUnlock */ 0, + FxFileControl:/* xCheckReservedLock */ 0, + FxSectorSize:/* xFileControl */ 0, + FxDeviceCharacteristics:/* xSectorSize */ 0, + FxShmMap:/* xDeviceCapabilities */ uintptr(0), + FxShmLock:/* xShmMap */ 0, + FxShmBarrier:/* xShmLock */ 0, + FxShmUnmap:/* xShmBarrier */ 0, + FxFetch:/* xShmUnmap */ 0, + FxUnfetch:/* xFetch */ 0 /* xUnfetch */} /* sqlite3.c:38860:1 */ func nolockIoFinderImpl(tls *libc.TLS, z uintptr, p uintptr) uintptr { /* sqlite3.c:38860:1: */ _ = z _ = p return uintptr(unsafe.Pointer(&nolockIoMethods)) } -var nolockIoFinder uintptr = 0 /* sqlite3.c:38860:1 */ -var dotlockIoMethods = Sqlite3_io_methods{FiVersion: 1, FxClose: /* iVersion */ 0, FxRead: /* xClose */ 0, FxWrite: /* xRead */ 0, FxTruncate: /* xWrite */ 0, FxSync: /* xTruncate */ 0, FxFileSize: /* xSync */ 0, FxLock: /* xFileSize */ 0, FxUnlock: /* xLock */ 0, FxCheckReservedLock: /* xUnlock */ 0, FxFileControl: /* xCheckReservedLock */ 0, FxSectorSize: /* xFileControl */ 0, FxDeviceCharacteristics: /* xSectorSize */ 0, FxShmMap: /* xDeviceCapabilities */ uintptr(0), FxShmLock: /* xShmMap */ 0, FxShmBarrier: /* xShmLock */ 0, FxShmUnmap: /* xShmBarrier */ 0, FxFetch: /* xShmUnmap */ 0, FxUnfetch: /* xFetch */ 0 /* xUnfetch */} /* sqlite3.c:38870:1 */ +var nolockIoFinder uintptr = 0 /* sqlite3.c:38860:1 */ +var dotlockIoMethods = Sqlite3_io_methods{ + FiVersion: 1, + FxClose:/* iVersion */ 0, + FxRead:/* xClose */ 0, + FxWrite:/* xRead */ 0, + FxTruncate:/* xWrite */ 0, + FxSync:/* xTruncate */ 0, + FxFileSize:/* xSync */ 0, + FxLock:/* xFileSize */ 0, + FxUnlock:/* xLock */ 0, + FxCheckReservedLock:/* xUnlock */ 0, + FxFileControl:/* xCheckReservedLock */ 0, + FxSectorSize:/* xFileControl */ 0, + FxDeviceCharacteristics:/* xSectorSize */ 0, + FxShmMap:/* xDeviceCapabilities */ uintptr(0), + FxShmLock:/* xShmMap */ 0, + FxShmBarrier:/* xShmLock */ 0, + FxShmUnmap:/* xShmBarrier */ 0, + FxFetch:/* xShmUnmap */ 0, + FxUnfetch:/* xFetch */ 0 /* xUnfetch */} /* sqlite3.c:38870:1 */ func dotlockIoFinderImpl(tls *libc.TLS, z uintptr, p uintptr) uintptr { /* sqlite3.c:38870:1: */ _ = z _ = p @@ -24949,10 +25405,98 @@ func Xsqlite3_os_init(tls *libc.TLS) int32 { /* sqlite3.c:41379:16: */ } var aVfs = [4]Sqlite3_vfs{ - {FiVersion: 3, FszOsFile: /* iVersion */ int32(unsafe.Sizeof(UnixFile{})), FmxPathname: /* szOsFile */ 512, FpNext: /* mxPathname */ uintptr(0), FzName: /* pNext */ ts + 5459 /* "unix" */, FpAppData: /* zName */ 0, FxOpen: /* pAppData */ 0, FxDelete: /* xOpen */ 0, FxAccess: /* xDelete */ 0, FxFullPathname: /* xAccess */ 0, FxDlOpen: /* xFullPathname */ 0, FxDlError: /* xDlOpen */ 0, FxDlSym: /* xDlError */ 0, FxDlClose: /* xDlSym */ 0, FxRandomness: /* xDlClose */ 0, FxSleep: /* xRandomness */ 0, FxCurrentTime: /* xSleep */ 0, FxGetLastError: /* xCurrentTime */ 0, FxCurrentTimeInt64: /* xGetLastError */ 0, FxSetSystemCall: /* xCurrentTimeInt64 */ 0, FxGetSystemCall: /* xSetSystemCall */ 0, FxNextSystemCall: /* xGetSystemCall */ 0 /* xNextSystemCall */}, - {FiVersion: 3, FszOsFile: /* iVersion */ int32(unsafe.Sizeof(UnixFile{})), FmxPathname: /* szOsFile */ 512, FpNext: /* mxPathname */ uintptr(0), FzName: /* pNext */ ts + 5464 /* "unix-none" */, FpAppData: /* zName */ 0, FxOpen: /* pAppData */ 0, FxDelete: /* xOpen */ 0, FxAccess: /* xDelete */ 0, FxFullPathname: /* xAccess */ 0, FxDlOpen: /* xFullPathname */ 0, FxDlError: /* xDlOpen */ 0, FxDlSym: /* xDlError */ 0, FxDlClose: /* xDlSym */ 0, FxRandomness: /* xDlClose */ 0, FxSleep: /* xRandomness */ 0, FxCurrentTime: /* xSleep */ 0, FxGetLastError: /* xCurrentTime */ 0, FxCurrentTimeInt64: /* xGetLastError */ 0, FxSetSystemCall: /* xCurrentTimeInt64 */ 0, FxGetSystemCall: /* xSetSystemCall */ 0, FxNextSystemCall: /* xGetSystemCall */ 0 /* xNextSystemCall */}, - {FiVersion: 3, FszOsFile: /* iVersion */ int32(unsafe.Sizeof(UnixFile{})), FmxPathname: /* szOsFile */ 512, FpNext: /* mxPathname */ uintptr(0), FzName: /* pNext */ ts + 5474 /* "unix-dotfile" */, FpAppData: /* zName */ 0, FxOpen: /* pAppData */ 0, FxDelete: /* xOpen */ 0, FxAccess: /* xDelete */ 0, FxFullPathname: /* xAccess */ 0, FxDlOpen: /* xFullPathname */ 0, FxDlError: /* xDlOpen */ 0, FxDlSym: /* xDlError */ 0, FxDlClose: /* xDlSym */ 0, FxRandomness: /* xDlClose */ 0, FxSleep: /* xRandomness */ 0, FxCurrentTime: /* xSleep */ 0, FxGetLastError: /* xCurrentTime */ 0, FxCurrentTimeInt64: /* xGetLastError */ 0, FxSetSystemCall: /* xCurrentTimeInt64 */ 0, FxGetSystemCall: /* xSetSystemCall */ 0, FxNextSystemCall: /* xGetSystemCall */ 0 /* xNextSystemCall */}, - {FiVersion: 3, FszOsFile: /* iVersion */ int32(unsafe.Sizeof(UnixFile{})), FmxPathname: /* szOsFile */ 512, FpNext: /* mxPathname */ uintptr(0), FzName: /* pNext */ ts + 5346 /* "unix-excl" */, FpAppData: /* zName */ 0, FxOpen: /* pAppData */ 0, FxDelete: /* xOpen */ 0, FxAccess: /* xDelete */ 0, FxFullPathname: /* xAccess */ 0, FxDlOpen: /* xFullPathname */ 0, FxDlError: /* xDlOpen */ 0, FxDlSym: /* xDlError */ 0, FxDlClose: /* xDlSym */ 0, FxRandomness: /* xDlClose */ 0, FxSleep: /* xRandomness */ 0, FxCurrentTime: /* xSleep */ 0, FxGetLastError: /* xCurrentTime */ 0, FxCurrentTimeInt64: /* xGetLastError */ 0, FxSetSystemCall: /* xCurrentTimeInt64 */ 0, FxGetSystemCall: /* xSetSystemCall */ 0, FxNextSystemCall: /* xGetSystemCall */ 0 /* xNextSystemCall */}, + { + FiVersion: 3, + FszOsFile:/* iVersion */ int32(unsafe.Sizeof(UnixFile{})), + FmxPathname:/* szOsFile */ 512, + FpNext:/* mxPathname */ uintptr(0), + FzName:/* pNext */ ts + 5459, /* "unix" */ + FpAppData:/* zName */ 0, + FxOpen:/* pAppData */ 0, + FxDelete:/* xOpen */ 0, + FxAccess:/* xDelete */ 0, + FxFullPathname:/* xAccess */ 0, + FxDlOpen:/* xFullPathname */ 0, + FxDlError:/* xDlOpen */ 0, + FxDlSym:/* xDlError */ 0, + FxDlClose:/* xDlSym */ 0, + FxRandomness:/* xDlClose */ 0, + FxSleep:/* xRandomness */ 0, + FxCurrentTime:/* xSleep */ 0, + FxGetLastError:/* xCurrentTime */ 0, + FxCurrentTimeInt64:/* xGetLastError */ 0, + FxSetSystemCall:/* xCurrentTimeInt64 */ 0, + FxGetSystemCall:/* xSetSystemCall */ 0, + FxNextSystemCall:/* xGetSystemCall */ 0 /* xNextSystemCall */}, + { + FiVersion: 3, + FszOsFile:/* iVersion */ int32(unsafe.Sizeof(UnixFile{})), + FmxPathname:/* szOsFile */ 512, + FpNext:/* mxPathname */ uintptr(0), + FzName:/* pNext */ ts + 5464, /* "unix-none" */ + FpAppData:/* zName */ 0, + FxOpen:/* pAppData */ 0, + FxDelete:/* xOpen */ 0, + FxAccess:/* xDelete */ 0, + FxFullPathname:/* xAccess */ 0, + FxDlOpen:/* xFullPathname */ 0, + FxDlError:/* xDlOpen */ 0, + FxDlSym:/* xDlError */ 0, + FxDlClose:/* xDlSym */ 0, + FxRandomness:/* xDlClose */ 0, + FxSleep:/* xRandomness */ 0, + FxCurrentTime:/* xSleep */ 0, + FxGetLastError:/* xCurrentTime */ 0, + FxCurrentTimeInt64:/* xGetLastError */ 0, + FxSetSystemCall:/* xCurrentTimeInt64 */ 0, + FxGetSystemCall:/* xSetSystemCall */ 0, + FxNextSystemCall:/* xGetSystemCall */ 0 /* xNextSystemCall */}, + { + FiVersion: 3, + FszOsFile:/* iVersion */ int32(unsafe.Sizeof(UnixFile{})), + FmxPathname:/* szOsFile */ 512, + FpNext:/* mxPathname */ uintptr(0), + FzName:/* pNext */ ts + 5474, /* "unix-dotfile" */ + FpAppData:/* zName */ 0, + FxOpen:/* pAppData */ 0, + FxDelete:/* xOpen */ 0, + FxAccess:/* xDelete */ 0, + FxFullPathname:/* xAccess */ 0, + FxDlOpen:/* xFullPathname */ 0, + FxDlError:/* xDlOpen */ 0, + FxDlSym:/* xDlError */ 0, + FxDlClose:/* xDlSym */ 0, + FxRandomness:/* xDlClose */ 0, + FxSleep:/* xRandomness */ 0, + FxCurrentTime:/* xSleep */ 0, + FxGetLastError:/* xCurrentTime */ 0, + FxCurrentTimeInt64:/* xGetLastError */ 0, + FxSetSystemCall:/* xCurrentTimeInt64 */ 0, + FxGetSystemCall:/* xSetSystemCall */ 0, + FxNextSystemCall:/* xGetSystemCall */ 0 /* xNextSystemCall */}, + { + FiVersion: 3, + FszOsFile:/* iVersion */ int32(unsafe.Sizeof(UnixFile{})), + FmxPathname:/* szOsFile */ 512, + FpNext:/* mxPathname */ uintptr(0), + FzName:/* pNext */ ts + 5346, /* "unix-excl" */ + FpAppData:/* zName */ 0, + FxOpen:/* pAppData */ 0, + FxDelete:/* xOpen */ 0, + FxAccess:/* xDelete */ 0, + FxFullPathname:/* xAccess */ 0, + FxDlOpen:/* xFullPathname */ 0, + FxDlError:/* xDlOpen */ 0, + FxDlSym:/* xDlError */ 0, + FxDlClose:/* xDlSym */ 0, + FxRandomness:/* xDlClose */ 0, + FxSleep:/* xRandomness */ 0, + FxCurrentTime:/* xSleep */ 0, + FxGetLastError:/* xCurrentTime */ 0, + FxCurrentTimeInt64:/* xGetLastError */ 0, + FxSetSystemCall:/* xCurrentTimeInt64 */ 0, + FxGetSystemCall:/* xSetSystemCall */ 0, + FxNextSystemCall:/* xGetSystemCall */ 0 /* xNextSystemCall */}, } /* sqlite3.c:41432:22 */ // Shutdown the operating system interface. @@ -25017,46 +25561,84 @@ type MemFile1 = struct { type MemFile = MemFile1 /* sqlite3.c:47864:24 */ -var memdb_vfs = Sqlite3_vfs{FiVersion: 2, FszOsFile: // iVersion -0, FmxPathname:// szOsFile (set when registered) -1024, FpNext:// mxPathname -uintptr(0), FzName:// pNext -ts + 5487, /* "memdb" */ FpAppData:// zName -uintptr(0), FxOpen:// pAppData (set when registered) -0, FxDelete:// xOpen -uintptr(0), FxAccess:/* memdbDelete, */ // xDelete -0, FxFullPathname:// xAccess -0, FxDlOpen:// xFullPathname -0, FxDlError:// xDlOpen -0, FxDlSym:// xDlError -0, FxDlClose:// xDlSym -0, FxRandomness:// xDlClose -0, FxSleep:// xRandomness -0, FxCurrentTime:// xSleep -uintptr(0), FxGetLastError:/* memdbCurrentTime, */ // xCurrentTime -0, FxCurrentTimeInt64:// xGetLastError -0, // xCurrentTimeInt64 +var memdb_vfs = Sqlite3_vfs{ + FiVersion: 2, + FszOsFile:// iVersion + 0, + FmxPathname:// szOsFile (set when registered) + 1024, + FpNext:// mxPathname + uintptr(0), + FzName:// pNext + ts + 5487, /* "memdb" */ + FpAppData:// zName + uintptr(0), + FxOpen:// pAppData (set when registered) + 0, + FxDelete:// xOpen + uintptr(0), + FxAccess:/* memdbDelete, */ // xDelete + 0, + FxFullPathname:// xAccess + 0, + FxDlOpen:// xFullPathname + 0, + FxDlError:// xDlOpen + 0, + FxDlSym:// xDlError + 0, + FxDlClose:// xDlSym + 0, + FxRandomness:// xDlClose + 0, + FxSleep:// xRandomness + 0, + FxCurrentTime:// xSleep + uintptr(0), + FxGetLastError:/* memdbCurrentTime, */ // xCurrentTime + 0, + FxCurrentTimeInt64:// xGetLastError + 0, // xCurrentTimeInt64 } /* sqlite3.c:47917:20 */ -var memdb_io_methods = Sqlite3_io_methods{FiVersion: 3, FxClose: // iVersion -0, FxRead:// xClose -0, FxWrite:// xRead -0, FxTruncate:// xWrite -0, FxSync:// xTruncate -0, FxFileSize:// xSync -0, FxLock:// xFileSize -0, FxUnlock:// xLock -0, FxCheckReservedLock:// xUnlock - same as xLock in this case -uintptr(0), FxFileControl:/* memdbCheckReservedLock, */ // xCheckReservedLock -0, FxSectorSize:// xFileControl -uintptr(0), FxDeviceCharacteristics:/* memdbSectorSize,*/ // xSectorSize -0, FxShmMap:// xDeviceCharacteristics -uintptr(0), FxShmLock:// xShmMap -uintptr(0), FxShmBarrier:// xShmLock -uintptr(0), FxShmUnmap:// xShmBarrier -uintptr(0), FxFetch:// xShmUnmap -0, FxUnfetch:// xFetch -0, // xUnfetch +var memdb_io_methods = Sqlite3_io_methods{ + FiVersion: 3, + FxClose:// iVersion + 0, + FxRead:// xClose + 0, + FxWrite:// xRead + 0, + FxTruncate:// xWrite + 0, + FxSync:// xTruncate + 0, + FxFileSize:// xSync + 0, + FxLock:// xFileSize + 0, + FxUnlock:// xLock + 0, + FxCheckReservedLock:// xUnlock - same as xLock in this case + uintptr(0), + FxFileControl:/* memdbCheckReservedLock, */ // xCheckReservedLock + 0, + FxSectorSize:// xFileControl + uintptr(0), + FxDeviceCharacteristics:/* memdbSectorSize,*/ // xSectorSize + 0, + FxShmMap:// xDeviceCharacteristics + uintptr(0), + FxShmLock:// xShmMap + uintptr(0), + FxShmBarrier:// xShmLock + uintptr(0), + FxShmUnmap:// xShmBarrier + uintptr(0), + FxFetch:// xShmUnmap + 0, + FxUnfetch:// xFetch + 0, // xUnfetch } /* sqlite3.c:47939:33 */ // Close an memdb-file. @@ -27596,19 +28178,32 @@ func Xsqlite3PCacheSetDefault(tls *libc.TLS) { /* sqlite3.c:50952:21: */ Xsqlite3_config(tls, 18, libc.VaList(bp, uintptr(unsafe.Pointer(&defaultMethods1)))) } -var defaultMethods1 = Sqlite3_pcache_methods2{FiVersion: 1, FpArg: // iVersion -uintptr(0), FxInit:// pArg -0, FxShutdown:// xInit -0, FxCreate:// xShutdown -0, FxCachesize:// xCreate -0, FxPagecount:// xCachesize -0, FxFetch:// xPagecount -0, FxUnpin:// xFetch -0, FxRekey:// xUnpin -0, FxTruncate:// xRekey -0, FxDestroy:// xTruncate -0, FxShrink:// xDestroy -0, // xShrink +var defaultMethods1 = Sqlite3_pcache_methods2{ + FiVersion: 1, + FpArg:// iVersion + uintptr(0), + FxInit:// pArg + 0, + FxShutdown:// xInit + 0, + FxCreate:// xShutdown + 0, + FxCachesize:// xCreate + 0, + FxPagecount:// xCachesize + 0, + FxFetch:// xPagecount + 0, + FxUnpin:// xFetch + 0, + FxRekey:// xUnpin + 0, + FxTruncate:// xRekey + 0, + FxDestroy:// xTruncate + 0, + FxShrink:// xDestroy + 0, // xShrink } /* sqlite3.c:50953:40 */ // Return the size of the header on each page of this PCACHE implementation. @@ -55310,7 +55905,7 @@ func Xsqlite3VdbeList(tls *libc.TLS, p uintptr) int32 { /* sqlite3.c:79840:20: * // Loop counter var rc int32 = 0 // Return code var pMem uintptr = ((*Vdbe)(unsafe.Pointer(p)).FaMem + uintptr(1)*56) // First Mem of result set - var bListSubprogs int32 = (libc.Bool32((int32(*(*uint16)(unsafe.Pointer(p + 200 /* &.explain */))&0xc>>2) == 1) || (((*Sqlite3)(unsafe.Pointer(db)).Fflags & uint64(0x01000000)) != uint64(0)))) + var bListSubprogs int32 = (libc.Bool32(((int32(*(*uint16)(unsafe.Pointer(p + 200 /* &.explain */)) & 0xc >> 2)) == 1) || (((*Sqlite3)(unsafe.Pointer(db)).Fflags & uint64(0x01000000)) != uint64(0)))) // var aOp uintptr at bp+8, 8 // Array of opcodes var pOp uintptr // Current opcode @@ -55340,7 +55935,7 @@ func Xsqlite3VdbeList(tls *libc.TLS, p uintptr) int32 { /* sqlite3.c:79840:20: * } // Figure out which opcode is next to display - rc = Xsqlite3VdbeNextOpcode(tls, p, pSub, (libc.Bool32(int32(*(*uint16)(unsafe.Pointer(p + 200 /* &.explain */))&0xc>>2) == 2)), (p + 52 /* &.pc */), bp /* &i */, bp+8 /* &aOp */) + rc = Xsqlite3VdbeNextOpcode(tls, p, pSub, (libc.Bool32((int32(*(*uint16)(unsafe.Pointer(p + 200 /* &.explain */)) & 0xc >> 2)) == 2)), (p + 52 /* &.pc */), bp /* &i */, bp+8 /* &aOp */) if rc == 0 { pOp = (*(*uintptr)(unsafe.Pointer(bp + 8 /* aOp */)) + uintptr(*(*int32)(unsafe.Pointer(bp /* i */)))*32) @@ -55350,7 +55945,7 @@ func Xsqlite3VdbeList(tls *libc.TLS, p uintptr) int32 { /* sqlite3.c:79840:20: * Xsqlite3VdbeError(tls, p, Xsqlite3ErrStr(tls, (*Vdbe)(unsafe.Pointer(p)).Frc), 0) } else { var zP4 uintptr = Xsqlite3VdbeDisplayP4(tls, db, pOp) - if int32(*(*uint16)(unsafe.Pointer(p + 200 /* &.explain */))&0xc>>2) == 2 { + if (int32(*(*uint16)(unsafe.Pointer(p + 200 /* &.explain */)) & 0xc >> 2)) == 2 { Xsqlite3VdbeMemSetInt64(tls, pMem, int64((*Op)(unsafe.Pointer(pOp)).Fp1)) Xsqlite3VdbeMemSetInt64(tls, (pMem + uintptr(1)*56), int64((*Op)(unsafe.Pointer(pOp)).Fp2)) Xsqlite3VdbeMemSetInt64(tls, (pMem + uintptr(2)*56), int64((*Op)(unsafe.Pointer(pOp)).Fp3)) @@ -55583,7 +56178,7 @@ func Xsqlite3VdbeFreeCursor(tls *libc.TLS, p uintptr, pCx uintptr) { /* sqlite3. } case 0: { - if Bool(int32(*(*uint8)(unsafe.Pointer(pCx + 8 /* &.isEphemeral */))&0x1>>0)) != 0 { + if (Bool(int32(*(*uint8)(unsafe.Pointer(pCx + 8 /* &.isEphemeral */)) & 0x1 >> 0))) != 0 { if (*VdbeCursor)(unsafe.Pointer(pCx)).FpBtx != 0 { Xsqlite3BtreeClose(tls, (*VdbeCursor)(unsafe.Pointer(pCx)).FpBtx) } @@ -56075,7 +56670,7 @@ func Xsqlite3VdbeHalt(tls *libc.TLS, p uintptr) int32 { /* sqlite3.c:80761:20: * // No commit or rollback needed if the program never started or if the // SQL statement does not read or write a database file. - if ((*Vdbe)(unsafe.Pointer(p)).Fpc >= 0) && (Bft(int32(*(*uint16)(unsafe.Pointer(p + 200 /* &.bIsReader */))&0x100>>8)) != 0) { + if ((*Vdbe)(unsafe.Pointer(p)).Fpc >= 0) && ((Bft(int32(*(*uint16)(unsafe.Pointer(p + 200 /* &.bIsReader */)) & 0x100 >> 8))) != 0) { var mrc int32 // Primary error code from p->rc var eStatementOp int32 = 0 var isSpecialError int32 // Set to true if a 'special' error @@ -56099,8 +56694,8 @@ func Xsqlite3VdbeHalt(tls *libc.TLS, p uintptr) int32 { /* sqlite3.c:80761:20: * // file as part of an effort to free up cache space (see function // pagerStress() in pager.c), the rollback is required to restore // the pager to a consistent state. - if !(int32(*(*uint16)(unsafe.Pointer(p + 200 /* &.readOnly */))&0x80>>7) != 0) || (mrc != 9) { - if ((mrc == 7) || (mrc == 13)) && (Bft(int32(*(*uint16)(unsafe.Pointer(p + 200 /* &.usesStmtJournal */))&0x40>>6)) != 0) { + if !((int32(*(*uint16)(unsafe.Pointer(p + 200 /* &.readOnly */)) & 0x80 >> 7)) != 0) || (mrc != 9) { + if ((mrc == 7) || (mrc == 13)) && ((Bft(int32(*(*uint16)(unsafe.Pointer(p + 200 /* &.usesStmtJournal */)) & 0x40 >> 6))) != 0) { eStatementOp = 2 } else { // We are forced to roll back the active transaction. Before doing @@ -56125,11 +56720,11 @@ func Xsqlite3VdbeHalt(tls *libc.TLS, p uintptr) int32 { /* sqlite3.c:80761:20: * // above has occurred. if (!(((*Sqlite3)(unsafe.Pointer((db))).FnVTrans > 0) && ((*Sqlite3)(unsafe.Pointer((db))).FaVTrans == uintptr(0))) && ((*Sqlite3)(unsafe.Pointer(db)).FautoCommit != 0)) && - ((*Sqlite3)(unsafe.Pointer(db)).FnVdbeWrite == (libc.Bool32(int32(*(*uint16)(unsafe.Pointer(p + 200 /* &.readOnly */))&0x80>>7) == 0))) { + ((*Sqlite3)(unsafe.Pointer(db)).FnVdbeWrite == (libc.Bool32((int32(*(*uint16)(unsafe.Pointer(p + 200 /* &.readOnly */)) & 0x80 >> 7)) == 0))) { if ((*Vdbe)(unsafe.Pointer(p)).Frc == 0) || ((int32((*Vdbe)(unsafe.Pointer(p)).FerrorAction) == 3) && !(isSpecialError != 0)) { rc = Xsqlite3VdbeCheckFk(tls, p, 1) if rc != 0 { - if Bft(int32(*(*uint16)(unsafe.Pointer(p + 200 /* &.readOnly */))&0x80>>7)) != 0 { + if (Bft(int32(*(*uint16)(unsafe.Pointer(p + 200 /* &.readOnly */)) & 0x80 >> 7))) != 0 { Xsqlite3VdbeLeave(tls, p) return 1 } @@ -56141,7 +56736,7 @@ func Xsqlite3VdbeHalt(tls *libc.TLS, p uintptr) int32 { /* sqlite3.c:80761:20: * // is required. rc = vdbeCommit(tls, db, p) } - if (rc == 5) && (Bft(int32(*(*uint16)(unsafe.Pointer(p + 200 /* &.readOnly */))&0x80>>7)) != 0) { + if (rc == 5) && ((Bft(int32(*(*uint16)(unsafe.Pointer(p + 200 /* &.readOnly */)) & 0x80 >> 7))) != 0) { Xsqlite3VdbeLeave(tls, p) return 5 } else if rc != 0 { @@ -56194,7 +56789,7 @@ func Xsqlite3VdbeHalt(tls *libc.TLS, p uintptr) int32 { /* sqlite3.c:80761:20: * // If this was an INSERT, UPDATE or DELETE and no statement transaction // has been rolled back, update the database connection change-counter. - if Bft(int32(*(*uint16)(unsafe.Pointer(p + 200 /* &.changeCntOn */))&0x10>>4)) != 0 { + if (Bft(int32(*(*uint16)(unsafe.Pointer(p + 200 /* &.changeCntOn */)) & 0x10 >> 4))) != 0 { if eStatementOp != 2 { Xsqlite3VdbeSetChanges(tls, db, (*Vdbe)(unsafe.Pointer(p)).FnChange) } else { @@ -56210,10 +56805,10 @@ func Xsqlite3VdbeHalt(tls *libc.TLS, p uintptr) int32 { /* sqlite3.c:80761:20: * // We have successfully halted and closed the VM. Record this fact. if (*Vdbe)(unsafe.Pointer(p)).Fpc >= 0 { (*Sqlite3)(unsafe.Pointer(db)).FnVdbeActive-- - if !(int32(*(*uint16)(unsafe.Pointer(p + 200 /* &.readOnly */))&0x80>>7) != 0) { + if !((int32(*(*uint16)(unsafe.Pointer(p + 200 /* &.readOnly */)) & 0x80 >> 7)) != 0) { (*Sqlite3)(unsafe.Pointer(db)).FnVdbeWrite-- } - if Bft(int32(*(*uint16)(unsafe.Pointer(p + 200 /* &.bIsReader */))&0x100>>8)) != 0 { + if (Bft(int32(*(*uint16)(unsafe.Pointer(p + 200 /* &.bIsReader */)) & 0x100 >> 8))) != 0 { (*Sqlite3)(unsafe.Pointer(db)).FnVdbeRead-- } @@ -56302,10 +56897,10 @@ func Xsqlite3VdbeReset(tls *libc.TLS, p uintptr) int32 { /* sqlite3.c:81023:20: } else { (*Sqlite3)(unsafe.Pointer(db)).FerrCode = (*Vdbe)(unsafe.Pointer(p)).Frc } - if Bft(int32(*(*uint16)(unsafe.Pointer(p + 200 /* &.runOnlyOnce */))&0x20>>5)) != 0 { + if (Bft(int32(*(*uint16)(unsafe.Pointer(p + 200 /* &.runOnlyOnce */)) & 0x20 >> 5))) != 0 { libc.SetBitFieldPtr16Uint32(p+200 /* &.expired */, Bft(1), 0, 0x3) } - } else if ((*Vdbe)(unsafe.Pointer(p)).Frc != 0) && (Bft(int32(*(*uint16)(unsafe.Pointer(p + 200 /* &.expired */))&0x3>>0)) != 0) { + } else if ((*Vdbe)(unsafe.Pointer(p)).Frc != 0) && ((Bft(int32(*(*uint16)(unsafe.Pointer(p + 200 /* &.expired */)) & 0x3 >> 0))) != 0) { // The expired flag was set on the VDBE before the first call // to sqlite3_step(). For consistency (since sqlite3_step() was // called), set the database error in this case as well. @@ -57961,7 +58556,7 @@ var fakeSortOrder U8 = U8(0) /* sqlite3.c:82939:19 */ // added or changed. func Xsqlite3_expired(tls *libc.TLS, pStmt uintptr) int32 { /* sqlite3.c:83015:16: */ var p uintptr = pStmt - return (libc.Bool32((p == uintptr(0)) || (Bft(int32(*(*uint16)(unsafe.Pointer(p + 200 /* &.expired */))&0x3>>0)) != 0))) + return (libc.Bool32((p == uintptr(0)) || ((Bft(int32(*(*uint16)(unsafe.Pointer(p + 200 /* &.expired */)) & 0x3 >> 0))) != 0))) } // Check on a Vdbe to make sure it has not been finalized. Log @@ -58503,7 +59098,7 @@ __1: __2: ; - if !(((*Vdbe)(unsafe.Pointer(p)).Fpc < 0) && (Bft(int32(*(*uint16)(unsafe.Pointer(p + 200 /* &.expired */))&0x3>>0)) != 0)) { + if !(((*Vdbe)(unsafe.Pointer(p)).Fpc < 0) && ((Bft(int32(*(*uint16)(unsafe.Pointer(p + 200 /* &.expired */)) & 0x3 >> 0))) != 0)) { goto __3 } (*Vdbe)(unsafe.Pointer(p)).Frc = 17 @@ -58545,13 +59140,13 @@ __8: ; (*Sqlite3)(unsafe.Pointer(db)).FnVdbeActive++ - if !(int32(*(*uint16)(unsafe.Pointer(p + 200 /* &.readOnly */))&0x80>>7) == 0) { + if !((int32(*(*uint16)(unsafe.Pointer(p + 200 /* &.readOnly */)) & 0x80 >> 7)) == 0) { goto __9 } (*Sqlite3)(unsafe.Pointer(db)).FnVdbeWrite++ __9: ; - if !(Bft(int32(*(*uint16)(unsafe.Pointer(p + 200 /* &.bIsReader */))&0x100>>8)) != 0) { + if !((Bft(int32(*(*uint16)(unsafe.Pointer(p + 200 /* &.bIsReader */)) & 0x100 >> 8))) != 0) { goto __10 } (*Sqlite3)(unsafe.Pointer(db)).FnVdbeRead++ @@ -58560,7 +59155,7 @@ __10: (*Vdbe)(unsafe.Pointer(p)).Fpc = 0 __5: ; - if !(Bft(int32(*(*uint16)(unsafe.Pointer(p + 200 /* &.explain */))&0xc>>2)) != 0) { + if !((Bft(int32(*(*uint16)(unsafe.Pointer(p + 200 /* &.explain */)) & 0xc >> 2))) != 0) { goto __11 } rc = Xsqlite3VdbeList(tls, p) @@ -58913,18 +59508,29 @@ func columnNullValue(tls *libc.TLS) uintptr { /* sqlite3.c:84002:18: */ return uintptr(unsafe.Pointer(&nullMem)) } -var nullMem = Mem{Fu: -/* .u = */ MemValue{Fr: float64(0)}, Fflags: -/* .flags = */ U16(0x0001), Fenc: -/* .enc = */ U8(0), FeSubtype: -/* .eSubtype = */ U8(0), Fn: -/* .n = */ 0, Fz: -/* .z = */ uintptr(0), FzMalloc: -/* .zMalloc = */ uintptr(0), FszMalloc: -/* .szMalloc = */ 0, FuTemp: -/* .uTemp = */ U32(0), Fdb: -/* .db = */ uintptr(0), FxDel: -/* .xDel = */ uintptr(0), +var nullMem = Mem{ + /* .u = */ Fu: + /* .u = */ MemValue{}, + Fflags: + /* .flags = */ U16(0x0001), + Fenc: + /* .enc = */ U8(0), + FeSubtype: + /* .eSubtype = */ U8(0), + Fn: + /* .n = */ 0, + Fz: + /* .z = */ uintptr(0), + FzMalloc: + /* .zMalloc = */ uintptr(0), + FszMalloc: + /* .szMalloc = */ 0, + FuTemp: + /* .uTemp = */ U32(0), + Fdb: + /* .db = */ uintptr(0), + FxDel: + /* .xDel = */ uintptr(0), } /* sqlite3.c:84012:20 */ // Check to see if column iCol of the given statement is valid. If @@ -59450,7 +60056,7 @@ func Xsqlite3_db_handle(tls *libc.TLS, pStmt uintptr) uintptr { /* sqlite3.c:846 // database. func Xsqlite3_stmt_readonly(tls *libc.TLS, pStmt uintptr) int32 { /* sqlite3.c:84660:16: */ if pStmt != 0 { - return int32(*(*uint16)(unsafe.Pointer(pStmt + 200 /* &.readOnly */)) & 0x80 >> 7) + return (int32(*(*uint16)(unsafe.Pointer(pStmt + 200 /* &.readOnly */)) & 0x80 >> 7)) } return 1 } @@ -59459,7 +60065,7 @@ func Xsqlite3_stmt_readonly(tls *libc.TLS, pStmt uintptr) int32 { /* sqlite3.c:8 // statement is an EXPLAIN QUERY PLAN func Xsqlite3_stmt_isexplain(tls *libc.TLS, pStmt uintptr) int32 { /* sqlite3.c:84668:16: */ if pStmt != 0 { - return int32(*(*uint16)(unsafe.Pointer(pStmt + 200 /* &.explain */)) & 0xc >> 2) + return (int32(*(*uint16)(unsafe.Pointer(pStmt + 200 /* &.explain */)) & 0xc >> 2)) } return 0 } @@ -66569,7 +67175,7 @@ __497: __496: ; - if !(((Bft(int32(*(*uint16)(unsafe.Pointer(p + 200 /* &.usesStmtJournal */))&0x40>>6)) != 0) && + if !((((Bft(int32(*(*uint16)(unsafe.Pointer(p + 200 /* &.usesStmtJournal */)) & 0x40 >> 6))) != 0) && ((*Op)(unsafe.Pointer(pOp)).Fp2 != 0)) && ((int32((*Sqlite3)(unsafe.Pointer(db)).FautoCommit) == 0) || ((*Sqlite3)(unsafe.Pointer(db)).FnVdbeRead > 1))) { goto __498 @@ -66816,7 +67422,7 @@ __80: __81: ; - if !(int32(*(*uint16)(unsafe.Pointer(p + 200 /* &.expired */))&0x3>>0) == 1) { + if !((int32(*(*uint16)(unsafe.Pointer(p + 200 /* &.expired */)) & 0x3 >> 0)) == 1) { goto __510 } rc = (4 | (int32(2) << 8)) @@ -66937,7 +67543,7 @@ __520: (*VdbeCursor)(unsafe.Pointer(pCx)).FpKeyInfo = (*VdbeCursor)(unsafe.Pointer(pOrig)).FpKeyInfo (*VdbeCursor)(unsafe.Pointer(pCx)).FisTable = (*VdbeCursor)(unsafe.Pointer(pOrig)).FisTable (*VdbeCursor)(unsafe.Pointer(pCx)).FpgnoRoot = (*VdbeCursor)(unsafe.Pointer(pOrig)).FpgnoRoot - libc.SetBitFieldPtr8Uint32(pCx+8 /* &.isOrdered */, Bool(int32(*(*uint8)(unsafe.Pointer(pOrig + 8 /* &.isOrdered */))&0x4>>2)), 2, 0x4) + libc.SetBitFieldPtr8Uint32(pCx+8 /* &.isOrdered */, (Bool(int32(*(*uint8)(unsafe.Pointer(pOrig + 8 /* &.isOrdered */)) & 0x4 >> 2))), 2, 0x4) rc = Xsqlite3BtreeCursor(tls, (*VdbeCursor)(unsafe.Pointer(pOrig)).FpBtx, (*VdbeCursor)(unsafe.Pointer(pCx)).FpgnoRoot, 0x00000004, (*VdbeCursor)(unsafe.Pointer(pCx)).FpKeyInfo, *(*uintptr)(unsafe.Pointer(pCx + 56 /* &.uc */))) // The sqlite3BtreeCursor() routine can only fail for the first cursor @@ -67584,7 +68190,7 @@ __95: ; pC5 = *(*uintptr)(unsafe.Pointer((*Vdbe)(unsafe.Pointer(p)).FapCsr + uintptr((*Op)(unsafe.Pointer(pOp)).Fp1)*8)) - if !(Bool(int32(*(*uint8)(unsafe.Pointer(pC5 + 8 /* &.seekHit */))&0x8>>3)) != 0) { + if !((Bool(int32(*(*uint8)(unsafe.Pointer(pC5 + 8 /* &.seekHit */)) & 0x8 >> 3))) != 0) { goto __568 } goto __10 @@ -67874,7 +68480,7 @@ __102: // Root frame of VDBE // Others complain about 0x7ffffffffffffffffLL. The following macro seems // to provide the constant while making all compilers happy. - if !(!(int32(*(*uint8)(unsafe.Pointer(pC8 + 8 /* &.useRandomRowid */))&0x2>>1) != 0)) { + if !(!((int32(*(*uint8)(unsafe.Pointer(pC8 + 8 /* &.useRandomRowid */)) & 0x2 >> 1)) != 0)) { goto __591 } rc = Xsqlite3BtreeLast(tls, *(*uintptr)(unsafe.Pointer(pC8 + 56 /* &.uc */)), bp+420 /* &res5 */) @@ -67939,7 +68545,7 @@ __599: Xsqlite3VdbeMemIntegerify(tls, pMem1) // mem(P3) holds an integer - if !((*(*I64)(unsafe.Pointer(pMem1 /* &.u */)) == (int64((U64((uint64(0x7fffffff))) << 32) | uint64(0xffffffff)))) || (Bool(int32(*(*uint8)(unsafe.Pointer(pC8 + 8 /* &.useRandomRowid */))&0x2>>1)) != 0)) { + if !((*(*I64)(unsafe.Pointer(pMem1 /* &.u */)) == (int64((U64((uint64(0x7fffffff))) << 32) | uint64(0xffffffff)))) || ((Bool(int32(*(*uint8)(unsafe.Pointer(pC8 + 8 /* &.useRandomRowid */)) & 0x2 >> 1))) != 0)) { goto __603 } rc = 13 // IMP: R-17817-00630 @@ -67955,7 +68561,7 @@ __604: *(*I64)(unsafe.Pointer(pMem1 /* &.u */)) = *(*I64)(unsafe.Pointer(bp + 424 /* v */)) __597: ; - if !(Bool(int32(*(*uint8)(unsafe.Pointer(pC8 + 8 /* &.useRandomRowid */))&0x2>>1)) != 0) { + if !((Bool(int32(*(*uint8)(unsafe.Pointer(pC8 + 8 /* &.useRandomRowid */)) & 0x2 >> 1))) != 0) { goto __605 } // IMPLEMENTATION-OF: R-07677-41881 If the largest ROWID is equal to the @@ -71813,13 +72419,37 @@ __38: var iLn int32 = 0 /* sqlite3.c:93635:24 */ var openBlob = [6]VdbeOpList{ - {Fopcode: U8(161), Fp1: int8(0), Fp2: int8(0), Fp3: int8(0)}, // 0: Acquire a read or write lock - {Fopcode: U8(96), Fp1: int8(0), Fp2: int8(0), Fp3: int8(0)}, // 1: Open a cursor + { + Fopcode: U8(161), + Fp1: int8(0), + Fp2: int8(0), + Fp3: int8(0)}, // 0: Acquire a read or write lock + { + Fopcode: U8(96), + Fp1: int8(0), + Fp2: int8(0), + Fp3: int8(0)}, // 1: Open a cursor // blobSeekToRow() will initialize r[1] to the desired rowid - {Fopcode: U8(32), Fp1: int8(0), Fp2: int8(5), Fp3: int8(1)}, // 2: Seek the cursor to rowid=r[1] - {Fopcode: U8(89), Fp1: int8(0), Fp2: int8(0), Fp3: int8(1)}, // 3 - {Fopcode: U8(80), Fp1: int8(1), Fp2: int8(0), Fp3: int8(0)}, // 4 - {Fopcode: U8(68), Fp1: int8(0), Fp2: int8(0), Fp3: int8(0)}, // 5 + { + Fopcode: U8(32), + Fp1: int8(0), + Fp2: int8(5), + Fp3: int8(1)}, // 2: Seek the cursor to rowid=r[1] + { + Fopcode: U8(89), + Fp1: int8(0), + Fp2: int8(0), + Fp3: int8(1)}, // 3 + { + Fopcode: U8(80), + Fp1: int8(1), + Fp2: int8(0), + Fp3: int8(0)}, // 4 + { + Fopcode: U8(68), + Fp1: int8(0), + Fp2: int8(0), + Fp3: int8(0)}, // 5 } /* sqlite3.c:93636:31 */ // Close a blob handle that was previously created using @@ -74889,31 +75519,55 @@ __3: // This following structure defines all the methods for the // virtual table. -var bytecodevtabModule = Sqlite3_module{FiVersion: -/* iVersion */ 0, FxCreate: -/* xCreate */ uintptr(0), FxConnect: -/* xConnect */ 0, FxBestIndex: -/* xBestIndex */ 0, FxDisconnect: -/* xDisconnect */ 0, FxDestroy: -/* xDestroy */ uintptr(0), FxOpen: -/* xOpen */ 0, FxClose: -/* xClose */ 0, FxFilter: -/* xFilter */ 0, FxNext: -/* xNext */ 0, FxEof: -/* xEof */ 0, FxColumn: -/* xColumn */ 0, FxRowid: -/* xRowid */ 0, FxUpdate: -/* xUpdate */ uintptr(0), FxBegin: -/* xBegin */ uintptr(0), FxSync: -/* xSync */ uintptr(0), FxCommit: -/* xCommit */ uintptr(0), FxRollback: -/* xRollback */ uintptr(0), FxFindFunction: -/* xFindMethod */ uintptr(0), FxRename: -/* xRename */ uintptr(0), FxSavepoint: -/* xSavepoint */ uintptr(0), FxRelease: -/* xRelease */ uintptr(0), FxRollbackTo: -/* xRollbackTo */ uintptr(0), FxShadowName: -/* xShadowName */ uintptr(0), +var bytecodevtabModule = Sqlite3_module{ + FiVersion: + /* iVersion */ 0, + FxCreate: + /* xCreate */ uintptr(0), + FxConnect: + /* xConnect */ 0, + FxBestIndex: + /* xBestIndex */ 0, + FxDisconnect: + /* xDisconnect */ 0, + FxDestroy: + /* xDestroy */ uintptr(0), + FxOpen: + /* xOpen */ 0, + FxClose: + /* xClose */ 0, + FxFilter: + /* xFilter */ 0, + FxNext: + /* xNext */ 0, + FxEof: + /* xEof */ 0, + FxColumn: + /* xColumn */ 0, + FxRowid: + /* xRowid */ 0, + FxUpdate: + /* xUpdate */ uintptr(0), + FxBegin: + /* xBegin */ uintptr(0), + FxSync: + /* xSync */ uintptr(0), + FxCommit: + /* xCommit */ uintptr(0), + FxRollback: + /* xRollback */ uintptr(0), + FxFindFunction: + /* xFindMethod */ uintptr(0), + FxRename: + /* xRename */ uintptr(0), + FxSavepoint: + /* xSavepoint */ uintptr(0), + FxRelease: + /* xRelease */ uintptr(0), + FxRollbackTo: + /* xRollbackTo */ uintptr(0), + FxShadowName: + /* xShadowName */ uintptr(0), } /* sqlite3.c:97033:23 */ func Xsqlite3VdbeBytecodeVtabInit(tls *libc.TLS, db uintptr) int32 { /* sqlite3.c:97061:20: */ @@ -75217,25 +75871,44 @@ func memjrnlFileSize(tls *libc.TLS, pJfd uintptr, pSize uintptr) int32 { /* sqli } // Table of methods for MemJournal sqlite3_file object. -var sMemJournalMethods = sqlite3_io_methods{FiVersion: 1, FxClose: // iVersion -0, FxRead:// xClose -0, FxWrite:// xRead -0, FxTruncate:// xWrite -0, FxSync:// xTruncate -0, FxFileSize:// xSync -0, FxLock:// xFileSize -uintptr(0), FxUnlock:// xLock -uintptr(0), FxCheckReservedLock:// xUnlock -uintptr(0), FxFileControl:// xCheckReservedLock -uintptr(0), FxSectorSize:// xFileControl -uintptr(0), FxDeviceCharacteristics:// xSectorSize -uintptr(0), FxShmMap:// xDeviceCharacteristics -uintptr(0), FxShmLock:// xShmMap -uintptr(0), FxShmBarrier:// xShmLock -uintptr(0), FxShmUnmap:// xShmBarrier -uintptr(0), FxFetch:// xShmUnmap -uintptr(0), FxUnfetch:// xFetch -uintptr(0), // xUnfetch +var sMemJournalMethods = sqlite3_io_methods{ + FiVersion: 1, + FxClose:// iVersion + 0, + FxRead:// xClose + 0, + FxWrite:// xRead + 0, + FxTruncate:// xWrite + 0, + FxSync:// xTruncate + 0, + FxFileSize:// xSync + 0, + FxLock:// xFileSize + uintptr(0), + FxUnlock:// xLock + uintptr(0), + FxCheckReservedLock:// xUnlock + uintptr(0), + FxFileControl:// xCheckReservedLock + uintptr(0), + FxSectorSize:// xFileControl + uintptr(0), + FxDeviceCharacteristics:// xSectorSize + uintptr(0), + FxShmMap:// xDeviceCharacteristics + uintptr(0), + FxShmLock:// xShmMap + uintptr(0), + FxShmBarrier:// xShmLock + uintptr(0), + FxShmUnmap:// xShmBarrier + uintptr(0), + FxFetch:// xShmUnmap + uintptr(0), + FxUnfetch:// xFetch + uintptr(0), // xUnfetch } /* sqlite3.c:97384:40 */ // Open a journal file. @@ -75498,7 +76171,7 @@ func Xsqlite3WalkSelectFrom(tls *libc.TLS, pWalker uintptr, p uintptr) int32 { / if ((*SrcList_item)(unsafe.Pointer(pItem)).FpSelect != 0) && (Xsqlite3WalkSelect(tls, pWalker, (*SrcList_item)(unsafe.Pointer(pItem)).FpSelect) != 0) { return 2 } - if (uint32(int32(*(*uint8)(unsafe.Pointer((pItem + 60 /* &.fg */) + 4 /* &.isTabFunc */))&0x4>>2)) != 0) && + if ((uint32(int32(*(*uint8)(unsafe.Pointer((pItem + 60 /* &.fg */) + 4 /* &.isTabFunc */)) & 0x4 >> 2))) != 0) && (Xsqlite3WalkExprList(tls, pWalker, *(*uintptr)(unsafe.Pointer(pItem + 96 /* &.u1 */))) != 0) { return 2 } @@ -75721,7 +76394,7 @@ func nameInUsingClause(tls *libc.TLS, pUsing uintptr, zCol uintptr) int32 { /* s func Xsqlite3MatchEName(tls *libc.TLS, pItem uintptr, zCol uintptr, zTab uintptr, zDb uintptr) int32 { /* sqlite3.c:97897:20: */ var n int32 var zSpan uintptr - if int32(*(*uint8)(unsafe.Pointer(pItem + 20 /* &.eEName */))&0x3>>0) != 2 { + if (int32(*(*uint8)(unsafe.Pointer(pItem + 20 /* &.eEName */)) & 0x3 >> 0)) != 2 { return 0 } zSpan = (*ExprList_item)(unsafe.Pointer(pItem)).FzEName @@ -76264,7 +76937,7 @@ __61: goto __63 } zAs = (*ExprList_item)(unsafe.Pointer((pEList + 8 /* &.a */) + uintptr(j)*32)).FzEName - if !((int32(*(*uint8)(unsafe.Pointer(((pEList + 8 /* &.a */) + uintptr(j)*32) + 20 /* &.eEName */))&0x3>>0) == 0) && + if !(((int32(*(*uint8)(unsafe.Pointer(((pEList + 8 /* &.a */) + uintptr(j)*32) + 20 /* &.eEName */)) & 0x3 >> 0)) == 0) && (Xsqlite3_stricmp(tls, zAs, zCol) == 0)) { goto __64 } @@ -76965,7 +77638,7 @@ func resolveAsName(tls *libc.TLS, pParse uintptr, pEList uintptr, pE uintptr) in if int32((*Expr)(unsafe.Pointer(pE)).Fop) == 59 { var zCol uintptr = *(*uintptr)(unsafe.Pointer(pE + 8 /* &.u */)) for i = 0; i < (*ExprList)(unsafe.Pointer(pEList)).FnExpr; i++ { - if (int32(*(*uint8)(unsafe.Pointer(((pEList + 8 /* &.a */) + uintptr(i)*32) + 20 /* &.eEName */))&0x3>>0) == 0) && + if ((int32(*(*uint8)(unsafe.Pointer(((pEList + 8 /* &.a */) + uintptr(i)*32) + 20 /* &.eEName */)) & 0x3 >> 0)) == 0) && (Xsqlite3_stricmp(tls, (*ExprList_item)(unsafe.Pointer((pEList+8 /* &.a */)+uintptr(i)*32)).FzEName, zCol) == 0) { return (i + 1) } @@ -77100,7 +77773,7 @@ func resolveCompoundOrderBy(tls *libc.TLS, pParse uintptr, pSelect uintptr) int3 *(*int32)(unsafe.Pointer(bp + 8 /* iCol */)) = -1 var pE uintptr var pDup uintptr - if uint32(int32(*(*uint8)(unsafe.Pointer(pItem + 20 /* &.done */))&0x4>>2)) != 0 { + if (uint32(int32(*(*uint8)(unsafe.Pointer(pItem + 20 /* &.done */)) & 0x4 >> 2))) != 0 { goto __2 } pE = Xsqlite3ExprSkipCollateAndLikely(tls, (*ExprList_item)(unsafe.Pointer(pItem)).FpExpr) @@ -77161,10 +77834,7 @@ func resolveCompoundOrderBy(tls *libc.TLS, pParse uintptr, pSelect uintptr) int3 (*Expr)(unsafe.Pointer(pParent)).FpLeft = pNew } Xsqlite3ExprDelete(tls, db, pE) - (*struct { - FiOrderByCol U16 - FiAlias U16 - })(unsafe.Pointer(pItem + 24 /* &.u */)).FiOrderByCol = U16(*(*int32)(unsafe.Pointer(bp + 8 /* iCol */))) + *(*U16)(unsafe.Pointer(pItem + 24 /* &.u */ /* &.x */ /* &.iOrderByCol */)) = U16(*(*int32)(unsafe.Pointer(bp + 8 /* iCol */))) } libc.SetBitFieldPtr8Uint32(pItem+20 /* &.done */, uint32(1), 2, 0x4) } else { @@ -77182,7 +77852,7 @@ func resolveCompoundOrderBy(tls *libc.TLS, pParse uintptr, pSelect uintptr) int3 pSelect = (*Select)(unsafe.Pointer(pSelect)).FpNext } for i = 0; i < (*ExprList)(unsafe.Pointer(pOrderBy)).FnExpr; i++ { - if int32(*(*uint8)(unsafe.Pointer(((pOrderBy + 8 /* &.a */) + uintptr(i)*32) + 20 /* &.done */))&0x4>>2) == 0 { + if (int32(*(*uint8)(unsafe.Pointer(((pOrderBy + 8 /* &.a */) + uintptr(i)*32) + 20 /* &.done */)) & 0x4 >> 2)) == 0 { Xsqlite3ErrorMsg(tls, pParse, ts+9102 /* "%r ORDER BY term..." */, libc.VaList(bp, (i+1))) return 1 @@ -77224,21 +77894,12 @@ __1: goto __3 } { - if (*struct { - FiOrderByCol U16 - FiAlias U16 - })(unsafe.Pointer(pItem+24 /* &.u */)).FiOrderByCol != 0 { - if int32((*struct { - FiOrderByCol U16 - FiAlias U16 - })(unsafe.Pointer(pItem+24 /* &.u */)).FiOrderByCol) > (*ExprList)(unsafe.Pointer(pEList)).FnExpr { + if *(*U16)(unsafe.Pointer(pItem + 24 /* &.u */ /* &.x */ /* &.iOrderByCol */)) != 0 { + if int32(*(*U16)(unsafe.Pointer((pItem + 24 /* &.u */ /* &.x */) /* &.iOrderByCol */))) > (*ExprList)(unsafe.Pointer(pEList)).FnExpr { resolveOutOfRangeError(tls, pParse, zType, (i + 1), (*ExprList)(unsafe.Pointer(pEList)).FnExpr) return 1 } - resolveAlias(tls, pParse, pEList, (int32((*struct { - FiOrderByCol U16 - FiAlias U16 - })(unsafe.Pointer(pItem+24 /* &.u */)).FiOrderByCol) - 1), (*ExprList_item)(unsafe.Pointer(pItem)).FpExpr, + resolveAlias(tls, pParse, pEList, (int32(*(*U16)(unsafe.Pointer((pItem + 24 /* &.u */ /* &.x */) /* &.iOrderByCol */))) - 1), (*ExprList_item)(unsafe.Pointer(pItem)).FpExpr, zType, 0) } } @@ -77330,10 +77991,7 @@ __1: // a copy of the iCol-th result-set column. The subsequent call to // sqlite3ResolveOrderGroupBy() will convert the expression to a // copy of the iCol-th result-set expression. - (*struct { - FiOrderByCol U16 - FiAlias U16 - })(unsafe.Pointer(pItem + 24 /* &.u */)).FiOrderByCol = U16(*(*int32)(unsafe.Pointer(bp /* iCol */))) + *(*U16)(unsafe.Pointer(pItem + 24 /* &.u */ /* &.x */ /* &.iOrderByCol */)) = U16(*(*int32)(unsafe.Pointer(bp /* iCol */))) goto __2 } } @@ -77345,18 +78003,12 @@ __1: resolveOutOfRangeError(tls, pParse, zType, (i + 1), nResult) return 1 } - (*struct { - FiOrderByCol U16 - FiAlias U16 - })(unsafe.Pointer(pItem + 24 /* &.u */)).FiOrderByCol = U16(*(*int32)(unsafe.Pointer(bp /* iCol */))) + *(*U16)(unsafe.Pointer(pItem + 24 /* &.u */ /* &.x */ /* &.iOrderByCol */)) = U16(*(*int32)(unsafe.Pointer(bp /* iCol */))) goto __2 } // Otherwise, treat the ORDER BY term as an ordinary expression - (*struct { - FiOrderByCol U16 - FiAlias U16 - })(unsafe.Pointer(pItem + 24 /* &.u */)).FiOrderByCol = U16(0) + *(*U16)(unsafe.Pointer(pItem + 24 /* &.u */ /* &.x */ /* &.iOrderByCol */)) = U16(0) if Xsqlite3ResolveExprNames(tls, pNC, pE) != 0 { return 1 } @@ -77366,10 +78018,7 @@ __1: // to an identical expression in the result set, remove all Window // objects belonging to the expression from the Select.pWin list. windowRemoveExprFromSelect(tls, pSelect, pE) - (*struct { - FiOrderByCol U16 - FiAlias U16 - })(unsafe.Pointer(pItem + 24 /* &.u */)).FiOrderByCol = (U16(j + 1)) + *(*U16)(unsafe.Pointer(pItem + 24 /* &.u */ /* &.x */ /* &.iOrderByCol */)) = (U16(j + 1)) } } } @@ -77534,7 +78183,7 @@ func resolveSelectStep(tls *libc.TLS, pWalker uintptr, p uintptr) int32 { /* sql // Resolve names in table-valued-function arguments for i = 0; i < (*SrcList)(unsafe.Pointer((*Select)(unsafe.Pointer(p)).FpSrc)).FnSrc; i++ { var pItem uintptr = (((*Select)(unsafe.Pointer(p)).FpSrc + 8 /* &.a */) + uintptr(i)*112) - if (uint32(int32(*(*uint8)(unsafe.Pointer((pItem + 60 /* &.fg */) + 4 /* &.isTabFunc */))&0x4>>2)) != 0) && + if ((uint32(int32(*(*uint8)(unsafe.Pointer((pItem + 60 /* &.fg */) + 4 /* &.isTabFunc */)) & 0x4 >> 2))) != 0) && (Xsqlite3ResolveExprListNames(tls, bp /* &sNC */, *(*uintptr)(unsafe.Pointer(pItem + 96 /* &.u1 */))) != 0) { return 2 } @@ -79174,10 +79823,10 @@ __1: } (*ExprList_item)(unsafe.Pointer(pItem)).FzEName = Xsqlite3DbStrDup(tls, db, (*ExprList_item)(unsafe.Pointer(pOldItem)).FzEName) (*ExprList_item)(unsafe.Pointer(pItem)).FsortFlags = (*ExprList_item)(unsafe.Pointer(pOldItem)).FsortFlags - libc.SetBitFieldPtr8Uint32(pItem+20 /* &.eEName */, uint32(int32(*(*uint8)(unsafe.Pointer(pOldItem + 20 /* &.eEName */))&0x3>>0)), 0, 0x3) + libc.SetBitFieldPtr8Uint32(pItem+20 /* &.eEName */, (uint32(int32(*(*uint8)(unsafe.Pointer(pOldItem + 20 /* &.eEName */)) & 0x3 >> 0))), 0, 0x3) libc.SetBitFieldPtr8Uint32(pItem+20 /* &.done */, uint32(0), 2, 0x4) - libc.SetBitFieldPtr8Uint32(pItem+20 /* &.bNulls */, uint32(int32(*(*uint8)(unsafe.Pointer(pOldItem + 20 /* &.bNulls */))&0x20>>5)), 5, 0x20) - libc.SetBitFieldPtr8Uint32(pItem+20 /* &.bSorterRef */, uint32(int32(*(*uint8)(unsafe.Pointer(pOldItem + 20 /* &.bSorterRef */))&0x10>>4)), 4, 0x10) + libc.SetBitFieldPtr8Uint32(pItem+20 /* &.bNulls */, (uint32(int32(*(*uint8)(unsafe.Pointer(pOldItem + 20 /* &.bNulls */)) & 0x20 >> 5))), 5, 0x20) + libc.SetBitFieldPtr8Uint32(pItem+20 /* &.bSorterRef */, (uint32(int32(*(*uint8)(unsafe.Pointer(pOldItem + 20 /* &.bSorterRef */)) & 0x10 >> 4))), 4, 0x10) (*ExprList_item)(unsafe.Pointer(pItem)).Fu = (*ExprList_item)(unsafe.Pointer(pOldItem)).Fu } goto __2 @@ -79227,11 +79876,11 @@ func Xsqlite3SrcListDup(tls *libc.TLS, db uintptr, p uintptr, flags int32) uintp (*SrcList_item)(unsafe.Pointer(pNewItem)).FiCursor = (*SrcList_item)(unsafe.Pointer(pOldItem)).FiCursor (*SrcList_item)(unsafe.Pointer(pNewItem)).FaddrFillSub = (*SrcList_item)(unsafe.Pointer(pOldItem)).FaddrFillSub (*SrcList_item)(unsafe.Pointer(pNewItem)).FregReturn = (*SrcList_item)(unsafe.Pointer(pOldItem)).FregReturn - if uint32(int32(*(*uint8)(unsafe.Pointer(pNewItem + 60 /* &.fg */ + 4 /* &.isIndexedBy */))&0x2>>1)) != 0 { + if (uint32(int32(*(*uint8)(unsafe.Pointer(pNewItem + 60 /* &.fg */ + 4 /* &.isIndexedBy */)) & 0x2 >> 1))) != 0 { *(*uintptr)(unsafe.Pointer(pNewItem + 96 /* &.u1 */)) = Xsqlite3DbStrDup(tls, db, *(*uintptr)(unsafe.Pointer(pOldItem + 96 /* &.u1 */))) } (*SrcList_item)(unsafe.Pointer(pNewItem)).FpIBIndex = (*SrcList_item)(unsafe.Pointer(pOldItem)).FpIBIndex - if uint32(int32(*(*uint8)(unsafe.Pointer(pNewItem + 60 /* &.fg */ + 4 /* &.isTabFunc */))&0x4>>2)) != 0 { + if (uint32(int32(*(*uint8)(unsafe.Pointer(pNewItem + 60 /* &.fg */ + 4 /* &.isTabFunc */)) & 0x4 >> 2))) != 0 { *(*uintptr)(unsafe.Pointer(pNewItem + 96 /* &.u1 */)) = Xsqlite3ExprListDup(tls, db, *(*uintptr)(unsafe.Pointer(pOldItem + 96 /* &.u1 */)), flags) } pTab = libc.AssignPtrUintptr(pNewItem+32 /* &.pTab */, (*SrcList_item)(unsafe.Pointer(pOldItem)).FpTab) @@ -80562,14 +81211,8 @@ func Xsqlite3CodeRhsOfIN(tls *libc.TLS, pParse uintptr, pExpr uintptr, iTab int3 if ((*Expr)(unsafe.Pointer((pExpr))).Fflags & (U32(0x000800))) != U32(0) { Xsqlite3VdbeExplain(tls, pParse, uint8(0), ts+9695 /* "REUSE LIST SUBQU..." */, libc.VaList(bp, (*Select)(unsafe.Pointer(*(*uintptr)(unsafe.Pointer(pExpr + 32 /* &.x */)))).FselId)) } - Xsqlite3VdbeAddOp2(tls, v, 12, (*struct { - FiAddr int32 - FregReturn int32 - })(unsafe.Pointer(pExpr+64 /* &.y */)).FregReturn, - (*struct { - FiAddr int32 - FregReturn int32 - })(unsafe.Pointer(pExpr+64 /* &.y */)).FiAddr) + Xsqlite3VdbeAddOp2(tls, v, 12, *(*int32)(unsafe.Pointer(pExpr + 64 /* &.y */ /* &.sub */ + 4 /* &.regReturn */)), + *(*int32)(unsafe.Pointer(pExpr + 64 /* &.y */ /* &.sub */ /* &.iAddr */))) Xsqlite3VdbeAddOp2(tls, v, 98, iTab, (*Expr)(unsafe.Pointer(pExpr)).FiTable) Xsqlite3VdbeJumpHere(tls, v, addrOnce) return @@ -80578,17 +81221,8 @@ func Xsqlite3CodeRhsOfIN(tls *libc.TLS, pParse uintptr, pExpr uintptr, iTab int3 // Begin coding the subroutine *(*U32)(unsafe.Pointer(pExpr + 4 /* &.flags */)) |= (U32(0x2000000)) - (*struct { - FiAddr int32 - FregReturn int32 - })(unsafe.Pointer(pExpr + 64 /* &.y */)).FregReturn = libc.PreIncInt32(&(*Parse)(unsafe.Pointer(pParse)).FnMem, 1) - (*struct { - FiAddr int32 - FregReturn int32 - })(unsafe.Pointer(pExpr + 64 /* &.y */)).FiAddr = (Xsqlite3VdbeAddOp2(tls, v, 69, 0, (*struct { - FiAddr int32 - FregReturn int32 - })(unsafe.Pointer(pExpr+64 /* &.y */)).FregReturn) + 1) + *(*int32)(unsafe.Pointer(pExpr + 64 /* &.y */ /* &.sub */ + 4 /* &.regReturn */)) = libc.PreIncInt32(&(*Parse)(unsafe.Pointer(pParse)).FnMem, 1) + *(*int32)(unsafe.Pointer(pExpr + 64 /* &.y */ /* &.sub */ /* &.iAddr */)) = (Xsqlite3VdbeAddOp2(tls, v, 69, 0, *(*int32)(unsafe.Pointer(pExpr + 64 /* &.y */ /* &.sub */ + 4 /* &.regReturn */))) + 1) Xsqlite3VdbeComment(tls, v, ts+9718 /* "return address" */, 0) addrOnce = Xsqlite3VdbeAddOp0(tls, v, 17) @@ -80717,14 +81351,8 @@ func Xsqlite3CodeRhsOfIN(tls *libc.TLS, pParse uintptr, pExpr uintptr, iTab int3 if addrOnce != 0 { Xsqlite3VdbeJumpHere(tls, v, addrOnce) // Subroutine return - Xsqlite3VdbeAddOp1(tls, v, 65, (*struct { - FiAddr int32 - FregReturn int32 - })(unsafe.Pointer(pExpr+64 /* &.y */)).FregReturn) - Xsqlite3VdbeChangeP1(tls, v, ((*struct { - FiAddr int32 - FregReturn int32 - })(unsafe.Pointer(pExpr+64 /* &.y */)).FiAddr - 1), (Xsqlite3VdbeCurrentAddr(tls, v) - 1)) + Xsqlite3VdbeAddOp1(tls, v, 65, *(*int32)(unsafe.Pointer(pExpr + 64 /* &.y */ /* &.sub */ + 4 /* &.regReturn */))) + Xsqlite3VdbeChangeP1(tls, v, (*(*int32)(unsafe.Pointer((pExpr + 64 /* &.y */ /* &.sub */) /* &.iAddr */)) - 1), (Xsqlite3VdbeCurrentAddr(tls, v) - 1)) Xsqlite3ClearTempRegCache(tls, pParse) } } @@ -80771,30 +81399,15 @@ func Xsqlite3CodeSubselect(tls *libc.TLS, pParse uintptr, pExpr uintptr) int32 { // subroutine. if ((*Expr)(unsafe.Pointer((pExpr))).Fflags & (U32(0x2000000))) != U32(0) { Xsqlite3VdbeExplain(tls, pParse, uint8(0), ts+9803 /* "REUSE SUBQUERY %..." */, libc.VaList(bp, (*Select)(unsafe.Pointer(pSel)).FselId)) - Xsqlite3VdbeAddOp2(tls, v, 12, (*struct { - FiAddr int32 - FregReturn int32 - })(unsafe.Pointer(pExpr+64 /* &.y */)).FregReturn, - (*struct { - FiAddr int32 - FregReturn int32 - })(unsafe.Pointer(pExpr+64 /* &.y */)).FiAddr) + Xsqlite3VdbeAddOp2(tls, v, 12, *(*int32)(unsafe.Pointer(pExpr + 64 /* &.y */ /* &.sub */ + 4 /* &.regReturn */)), + *(*int32)(unsafe.Pointer(pExpr + 64 /* &.y */ /* &.sub */ /* &.iAddr */))) return (*Expr)(unsafe.Pointer(pExpr)).FiTable } // Begin coding the subroutine *(*U32)(unsafe.Pointer(pExpr + 4 /* &.flags */)) |= (U32(0x2000000)) - (*struct { - FiAddr int32 - FregReturn int32 - })(unsafe.Pointer(pExpr + 64 /* &.y */)).FregReturn = libc.PreIncInt32(&(*Parse)(unsafe.Pointer(pParse)).FnMem, 1) - (*struct { - FiAddr int32 - FregReturn int32 - })(unsafe.Pointer(pExpr + 64 /* &.y */)).FiAddr = (Xsqlite3VdbeAddOp2(tls, v, 69, 0, (*struct { - FiAddr int32 - FregReturn int32 - })(unsafe.Pointer(pExpr+64 /* &.y */)).FregReturn) + 1) + *(*int32)(unsafe.Pointer(pExpr + 64 /* &.y */ /* &.sub */ + 4 /* &.regReturn */)) = libc.PreIncInt32(&(*Parse)(unsafe.Pointer(pParse)).FnMem, 1) + *(*int32)(unsafe.Pointer(pExpr + 64 /* &.y */ /* &.sub */ /* &.iAddr */)) = (Xsqlite3VdbeAddOp2(tls, v, 69, 0, *(*int32)(unsafe.Pointer(pExpr + 64 /* &.y */ /* &.sub */ + 4 /* &.regReturn */))) + 1) Xsqlite3VdbeComment(tls, v, ts+9718 /* "return address" */, 0) addrOnce = Xsqlite3VdbeAddOp0(tls, v, 17) @@ -80860,14 +81473,8 @@ func Xsqlite3CodeSubselect(tls *libc.TLS, pParse uintptr, pExpr uintptr) int32 { Xsqlite3VdbeJumpHere(tls, v, addrOnce) // Subroutine return - Xsqlite3VdbeAddOp1(tls, v, 65, (*struct { - FiAddr int32 - FregReturn int32 - })(unsafe.Pointer(pExpr+64 /* &.y */)).FregReturn) - Xsqlite3VdbeChangeP1(tls, v, ((*struct { - FiAddr int32 - FregReturn int32 - })(unsafe.Pointer(pExpr+64 /* &.y */)).FiAddr - 1), (Xsqlite3VdbeCurrentAddr(tls, v) - 1)) + Xsqlite3VdbeAddOp1(tls, v, 65, *(*int32)(unsafe.Pointer(pExpr + 64 /* &.y */ /* &.sub */ + 4 /* &.regReturn */))) + Xsqlite3VdbeChangeP1(tls, v, (*(*int32)(unsafe.Pointer((pExpr + 64 /* &.y */ /* &.sub */) /* &.iAddr */)) - 1), (Xsqlite3VdbeCurrentAddr(tls, v) - 1)) Xsqlite3ClearTempRegCache(tls, pParse) } @@ -82701,7 +83308,7 @@ func Xsqlite3ExprCodeRunJustOnce(tls *libc.TLS, pParse uintptr, pExpr uintptr, r goto __3 } { - if (uint32(int32(*(*uint8)(unsafe.Pointer(pItem + 20 /* &.reusable */))&0x8>>3)) != 0) && (Xsqlite3ExprCompare(tls, uintptr(0), (*ExprList_item)(unsafe.Pointer(pItem)).FpExpr, pExpr, -1) == 0) { + if ((uint32(int32(*(*uint8)(unsafe.Pointer(pItem + 20 /* &.reusable */)) & 0x8 >> 3))) != 0) && (Xsqlite3ExprCompare(tls, uintptr(0), (*ExprList_item)(unsafe.Pointer(pItem)).FpExpr, pExpr, -1) == 0) { return *(*int32)(unsafe.Pointer(pItem + 24 /* &.u */)) } } @@ -82865,10 +83472,7 @@ __1: } { var pExpr uintptr = (*ExprList_item)(unsafe.Pointer(pItem)).FpExpr - if ((int32(flags) & 0x04) != 0) && ((libc.AssignInt32(&j, int32((*struct { - FiOrderByCol U16 - FiAlias U16 - })(unsafe.Pointer(pItem+24 /* &.u */)).FiOrderByCol))) > 0) { + if ((int32(flags) & 0x04) != 0) && ((libc.AssignInt32(&j, int32(*(*U16)(unsafe.Pointer(pItem + 24 /* &.u */ /* &.x */ /* &.iOrderByCol */))))) > 0) { if (int32(flags) & 0x08) != 0 { i-- n-- @@ -85220,7 +85824,7 @@ func renameUnmapSelectCb(tls *libc.TLS, pWalker uintptr, p uintptr) int32 { /* s if (*Select)(unsafe.Pointer(p)).FpEList != 0 { var pList uintptr = (*Select)(unsafe.Pointer(p)).FpEList for i = 0; i < (*ExprList)(unsafe.Pointer(pList)).FnExpr; i++ { - if ((*ExprList_item)(unsafe.Pointer((pList+8 /* &.a */)+uintptr(i)*32)).FzEName != 0) && (int32(*(*uint8)(unsafe.Pointer(((pList + 8 /* &.a */) + uintptr(i)*32) + 20 /* &.eEName */))&0x3>>0) == 0) { + if ((*ExprList_item)(unsafe.Pointer((pList+8 /* &.a */)+uintptr(i)*32)).FzEName != 0) && ((int32(*(*uint8)(unsafe.Pointer(((pList + 8 /* &.a */) + uintptr(i)*32) + 20 /* &.eEName */)) & 0x3 >> 0)) == 0) { Xsqlite3RenameTokenRemap(tls, pParse, uintptr(0), (*ExprList_item)(unsafe.Pointer((pList+8 /* &.a */)+uintptr(i)*32)).FzEName) } } @@ -85278,7 +85882,7 @@ func Xsqlite3RenameExprlistUnmap(tls *libc.TLS, pParse uintptr, pEList uintptr) }{renameUnmapExprCb})) Xsqlite3WalkExprList(tls, bp /* &sWalker */, pEList) for i = 0; i < (*ExprList)(unsafe.Pointer(pEList)).FnExpr; i++ { - if int32(*(*uint8)(unsafe.Pointer(((pEList + 8 /* &.a */) + uintptr(i)*32) + 20 /* &.eEName */))&0x3>>0) == 0 { + if (int32(*(*uint8)(unsafe.Pointer(((pEList + 8 /* &.a */) + uintptr(i)*32) + 20 /* &.eEName */)) & 0x3 >> 0)) == 0 { Xsqlite3RenameTokenRemap(tls, pParse, uintptr(0), (*ExprList_item)(unsafe.Pointer((pEList+8 /* &.a */)+uintptr(i)*32)).FzEName) } } @@ -85404,7 +86008,7 @@ func renameColumnElistNames(tls *libc.TLS, pParse uintptr, pCtx uintptr, pEList var i int32 for i = 0; i < (*ExprList)(unsafe.Pointer(pEList)).FnExpr; i++ { var zName uintptr = (*ExprList_item)(unsafe.Pointer((pEList + 8 /* &.a */) + uintptr(i)*32)).FzEName - if ((int32(*(*uint8)(unsafe.Pointer(((pEList + 8 /* &.a */) + uintptr(i)*32) + 20 /* &.eEName */))&0x3>>0) == 0) && + if (((int32(*(*uint8)(unsafe.Pointer(((pEList + 8 /* &.a */) + uintptr(i)*32) + 20 /* &.eEName */)) & 0x3 >> 0)) == 0) && (zName != uintptr(0))) && (0 == Xsqlite3_stricmp(tls, zName, zOld)) { renameTokenFind(tls, pParse, pCtx, zName) @@ -86274,9 +86878,36 @@ func Xsqlite3AlterFunctions(tls *libc.TLS) { /* sqlite3.c:107538:21: */ } var aAlterTableFuncs = [3]FuncDef{ - {FnArg: int8(9), FfuncFlags: (U32((0x00040000 | 1) | 0x0800)), FpUserData: uintptr(0), FpNext: uintptr(0), FxSFunc: 0, FxFinalize: uintptr(0), FxValue: uintptr(0), FxInverse: uintptr(0), FzName: ts + 12307 /* "sqlite_rename_co..." */, Fu: struct{ FpHash uintptr }{FpHash: uintptr(0)}}, - {FnArg: int8(7), FfuncFlags: (U32((0x00040000 | 1) | 0x0800)), FpUserData: uintptr(0), FpNext: uintptr(0), FxSFunc: 0, FxFinalize: uintptr(0), FxValue: uintptr(0), FxInverse: uintptr(0), FzName: ts + 12328 /* "sqlite_rename_ta..." */, Fu: struct{ FpHash uintptr }{FpHash: uintptr(0)}}, - {FnArg: int8(5), FfuncFlags: (U32((0x00040000 | 1) | 0x0800)), FpUserData: uintptr(0), FpNext: uintptr(0), FxSFunc: 0, FxFinalize: uintptr(0), FxValue: uintptr(0), FxInverse: uintptr(0), FzName: ts + 12348 /* "sqlite_rename_te..." */, Fu: struct{ FpHash uintptr }{FpHash: uintptr(0)}}, + { + FnArg: int8(9), + FfuncFlags: (U32((0x00040000 | 1) | 0x0800)), + FpUserData: uintptr(0), + FpNext: uintptr(0), + FxSFunc: 0, + FxFinalize: uintptr(0), + FxValue: uintptr(0), + FxInverse: uintptr(0), + FzName: ts + 12307 /* "sqlite_rename_co..." */, Fu: struct{ FpHash uintptr }{}}, + { + FnArg: int8(7), + FfuncFlags: (U32((0x00040000 | 1) | 0x0800)), + FpUserData: uintptr(0), + FpNext: uintptr(0), + FxSFunc: 0, + FxFinalize: uintptr(0), + FxValue: uintptr(0), + FxInverse: uintptr(0), + FzName: ts + 12328 /* "sqlite_rename_ta..." */, Fu: struct{ FpHash uintptr }{}}, + { + FnArg: int8(5), + FfuncFlags: (U32((0x00040000 | 1) | 0x0800)), + FpUserData: uintptr(0), + FpNext: uintptr(0), + FxSFunc: 0, + FxFinalize: uintptr(0), + FxValue: uintptr(0), + FxInverse: uintptr(0), + FzName: ts + 12348 /* "sqlite_rename_te..." */, Fu: struct{ FpHash uintptr }{}}, } /* sqlite3.c:107539:18 */ //************* End of alter.c ********************************************** @@ -86510,9 +87141,15 @@ var aTable = [3]struct { FzName uintptr FzCols uintptr }{ - {FzName: ts + 12438 /* "sqlite_stat1" */, FzCols: ts + 12451 /* "tbl,idx,stat" */}, - {FzName: ts + 12464 /* "sqlite_stat4" */, FzCols: ts + 12477 /* "tbl,idx,neq,nlt,..." */}, - {FzName: ts + 12505 /* "sqlite_stat3" */, FzCols: uintptr(0)}, + { + FzName: ts + 12438, /* "sqlite_stat1" */ + FzCols: ts + 12451 /* "tbl,idx,stat" */}, + { + FzName: ts + 12464, /* "sqlite_stat4" */ + FzCols: ts + 12477 /* "tbl,idx,neq,nlt,..." */}, + { + FzName: ts + 12505, /* "sqlite_stat3" */ + FzCols: uintptr(0)}, } /* sqlite3.c:107725:5 */ // Recommended number of samples for sqlite_stat4 @@ -86739,15 +87376,25 @@ func statInit(tls *libc.TLS, context uintptr, argc int32, argv uintptr) { /* sql Xsqlite3_result_blob(tls, context, p, int32(unsafe.Sizeof(StatAccum{})), *(*uintptr)(unsafe.Pointer(&struct{ f func(*libc.TLS, uintptr) }{statAccumDestructor}))) } -var statInitFuncdef = FuncDef{FnArg: int8(4), FfuncFlags: // nArg -U32(1), FpUserData:// funcFlags -uintptr(0), FpNext:// pUserData -uintptr(0), FxSFunc:// pNext -0, FxFinalize:// xSFunc -uintptr(0), FxValue:// xFinalize -uintptr(0), FxInverse: uintptr(0), FzName: // xValue, xInverse -ts + 12518, /* "stat_init" */ Fu:// zName -struct{ FpHash uintptr }{FpHash: uintptr(0)}, +var statInitFuncdef = FuncDef{ + FnArg: int8(4), + FfuncFlags:// nArg + U32(1), + FpUserData:// funcFlags + uintptr(0), + FpNext:// pUserData + uintptr(0), + FxSFunc:// pNext + 0, + FxFinalize:// xSFunc + uintptr(0), + FxValue:// xFinalize + uintptr(0), + FxInverse: uintptr(0), + FzName:// xValue, xInverse + ts + 12518, /* "stat_init" */ // zName + Fu:// zName + struct{ FpHash uintptr }{}, } /* sqlite3.c:108036:22 */ // pNew and pOld are both candidate non-periodic samples selected for @@ -87062,15 +87709,25 @@ func statPush(tls *libc.TLS, context uintptr, argc int32, argv uintptr) { /* sql } } -var statPushFuncdef = FuncDef{FnArg: (int8(2 + 1)), FfuncFlags: // nArg -U32(1), FpUserData:// funcFlags -uintptr(0), FpNext:// pUserData -uintptr(0), FxSFunc:// pNext -0, FxFinalize:// xSFunc -uintptr(0), FxValue:// xFinalize -uintptr(0), FxInverse: uintptr(0), FzName: // xValue, xInverse -ts + 12528, /* "stat_push" */ Fu:// zName -struct{ FpHash uintptr }{FpHash: uintptr(0)}, +var statPushFuncdef = FuncDef{ + FnArg: (int8(2 + 1)), + FfuncFlags:// nArg + U32(1), + FpUserData:// funcFlags + uintptr(0), + FpNext:// pUserData + uintptr(0), + FxSFunc:// pNext + 0, + FxFinalize:// xSFunc + uintptr(0), + FxValue:// xFinalize + uintptr(0), + FxInverse: uintptr(0), + FzName:// xValue, xInverse + ts + 12528, /* "stat_push" */ // zName + Fu:// zName + struct{ FpHash uintptr }{}, } /* sqlite3.c:108326:22 */ // Implementation of the stat_get(P,J) SQL function. This routine is @@ -87198,15 +87855,25 @@ func statGet(tls *libc.TLS, context uintptr, argc int32, argv uintptr) { /* sqli _ = argc } -var statGetFuncdef = FuncDef{FnArg: (int8(1 + 1)), FfuncFlags: // nArg -U32(1), FpUserData:// funcFlags -uintptr(0), FpNext:// pUserData -uintptr(0), FxSFunc:// pNext -0, FxFinalize:// xSFunc -uintptr(0), FxValue:// xFinalize -uintptr(0), FxInverse: uintptr(0), FzName: // xValue, xInverse -ts + 12555, /* "stat_get" */ Fu:// zName -struct{ FpHash uintptr }{FpHash: uintptr(0)}, +var statGetFuncdef = FuncDef{ + FnArg: (int8(1 + 1)), + FfuncFlags:// nArg + U32(1), + FpUserData:// funcFlags + uintptr(0), + FpNext:// pUserData + uintptr(0), + FxSFunc:// pNext + 0, + FxFinalize:// xSFunc + uintptr(0), + FxValue:// xFinalize + uintptr(0), + FxInverse: uintptr(0), + FzName:// xValue, xInverse + ts + 12555, /* "stat_get" */ // zName + Fu:// zName + struct{ FpHash uintptr }{}, } /* sqlite3.c:108478:22 */ func callStatGet(tls *libc.TLS, pParse uintptr, regStat int32, iParam int32, regOut int32) { /* sqlite3.c:108490:13: */ @@ -87328,14 +87995,14 @@ func analyzeOneTable(tls *libc.TLS, pParse uintptr, pTab uintptr, pOnlyIdx uintp if (*Index)(unsafe.Pointer(pIdx)).FpPartIdxWhere == uintptr(0) { needTableCnt = U8(0) } - if !(((*Table)(unsafe.Pointer((pTab))).FtabFlags & U32(0x0080)) == U32(0)) && (int32(*(*uint16)(unsafe.Pointer((pIdx) + 100 /* &.idxType */))&0x3>>0) == 2) { + if !(((*Table)(unsafe.Pointer((pTab))).FtabFlags & U32(0x0080)) == U32(0)) && ((int32(*(*uint16)(unsafe.Pointer((pIdx) + 100 /* &.idxType */)) & 0x3 >> 0)) == 2) { nCol = int32((*Index)(unsafe.Pointer(pIdx)).FnKeyCol) zIdxName = (*Table)(unsafe.Pointer(pTab)).FzName nColTest = (nCol - 1) } else { nCol = int32((*Index)(unsafe.Pointer(pIdx)).FnColumn) zIdxName = (*Index)(unsafe.Pointer(pIdx)).FzName - if uint32(int32(*(*uint16)(unsafe.Pointer(pIdx + 100 /* &.uniqNotNull */))&0x8>>3)) != 0 { + if (uint32(int32(*(*uint16)(unsafe.Pointer(pIdx + 100 /* &.uniqNotNull */)) & 0x8 >> 3))) != 0 { nColTest = (int32((*Index)(unsafe.Pointer(pIdx)).FnKeyCol) - 1) } else { nColTest = (nCol - 1) @@ -87987,7 +88654,7 @@ func loadStatTbl(tls *libc.TLS, db uintptr, zSql1 uintptr, zSql2 uintptr, zDb ui continue } - if !(((*Table)(unsafe.Pointer(((*Index)(unsafe.Pointer(pIdx)).FpTable))).FtabFlags & U32(0x0080)) == U32(0)) && (int32(*(*uint16)(unsafe.Pointer((pIdx) + 100 /* &.idxType */))&0x3>>0) == 2) { + if !(((*Table)(unsafe.Pointer(((*Index)(unsafe.Pointer(pIdx)).FpTable))).FtabFlags & U32(0x0080)) == U32(0)) && ((int32(*(*uint16)(unsafe.Pointer((pIdx) + 100 /* &.idxType */)) & 0x3 >> 0)) == 2) { nIdxCol = int32((*Index)(unsafe.Pointer(pIdx)).FnKeyCol) } else { nIdxCol = int32((*Index)(unsafe.Pointer(pIdx)).FnColumn) @@ -88154,7 +88821,7 @@ func Xsqlite3AnalysisLoad(tls *libc.TLS, db uintptr, iDb int32) int32 { /* sqlit for i = (*Hash)(unsafe.Pointer((pSchema + 32 /* &.idxHash */))).Ffirst; i != 0; i = (*HashElem)(unsafe.Pointer(i)).Fnext { var pIdx uintptr = (*HashElem)(unsafe.Pointer(i)).Fdata - if !(int32(*(*uint16)(unsafe.Pointer(pIdx + 100 /* &.hasStat1 */))&0x80>>7) != 0) { + if !((int32(*(*uint16)(unsafe.Pointer(pIdx + 100 /* &.hasStat1 */)) & 0x80 >> 7)) != 0) { Xsqlite3DefaultRowEst(tls, pIdx) } } @@ -88292,7 +88959,7 @@ __1: __2: ; - if !(uint32(int32(*(*uint8)(unsafe.Pointer(db + 176 /* &.init */ + 8 /* &.reopenMemdb */))&0x4>>2)) != 0) { + if !((uint32(int32(*(*uint8)(unsafe.Pointer(db + 176 /* &.init */ + 8 /* &.reopenMemdb */)) & 0x4 >> 2))) != 0) { goto __3 } // This is not a real ATTACH. Instead, this routine is being called @@ -88466,7 +89133,7 @@ __24: Xsqlite3BtreeEnterAll(tls, db) (*Sqlite3)(unsafe.Pointer(db)).Finit.FiDb = U8(0) *(*U32)(unsafe.Pointer(db + 44 /* &.mDbFlags */)) &= (^U32(libc.Int32FromInt32(0x0010))) - if !(!(int32(*(*uint8)(unsafe.Pointer(db + 176 /* &.init */ + 8 /* &.reopenMemdb */))&0x4>>2) != 0)) { + if !(!((int32(*(*uint8)(unsafe.Pointer(db + 176 /* &.init */ + 8 /* &.reopenMemdb */)) & 0x4 >> 2)) != 0)) { goto __26 } rc = Xsqlite3Init(tls, db, bp+56 /* &zErrDyn */) @@ -88478,7 +89145,7 @@ __25: if !(rc != 0) { goto __27 } - if !(!(int32(*(*uint8)(unsafe.Pointer(db + 176 /* &.init */ + 8 /* &.reopenMemdb */))&0x4>>2) != 0)) { + if !(!((int32(*(*uint8)(unsafe.Pointer(db + 176 /* &.init */ + 8 /* &.reopenMemdb */)) & 0x4 >> 2)) != 0)) { goto __28 } iDb = ((*Sqlite3)(unsafe.Pointer(db)).FnDb - 1) @@ -88725,15 +89392,25 @@ func Xsqlite3Detach(tls *libc.TLS, pParse uintptr, pDbname uintptr) { /* sqlite3 codeAttach(tls, pParse, 25, uintptr(unsafe.Pointer(&detach_func)), pDbname, uintptr(0), uintptr(0), pDbname) } -var detach_func = FuncDef{FnArg: int8(1), FfuncFlags: // nArg -U32(1), FpUserData:// funcFlags -uintptr(0), FpNext:// pUserData -uintptr(0), FxSFunc:// pNext -0, FxFinalize:// xSFunc -uintptr(0), FxValue:// xFinalize -uintptr(0), FxInverse: uintptr(0), FzName: // xValue, xInverse -ts + 13061, /* "sqlite_detach" */ Fu:// zName -struct{ FpHash uintptr }{FpHash: uintptr(0)}, +var detach_func = FuncDef{ + FnArg: int8(1), + FfuncFlags:// nArg + U32(1), + FpUserData:// funcFlags + uintptr(0), + FpNext:// pUserData + uintptr(0), + FxSFunc:// pNext + 0, + FxFinalize:// xSFunc + uintptr(0), + FxValue:// xFinalize + uintptr(0), + FxInverse: uintptr(0), + FzName:// xValue, xInverse + ts + 13061, /* "sqlite_detach" */ // zName + Fu:// zName + struct{ FpHash uintptr }{}, } /* sqlite3.c:109893:24 */ // Called by the parser to compile an ATTACH statement. @@ -88743,15 +89420,25 @@ func Xsqlite3Attach(tls *libc.TLS, pParse uintptr, p uintptr, pDbname uintptr, p codeAttach(tls, pParse, 24, uintptr(unsafe.Pointer(&attach_func)), p, p, pDbname, pKey) } -var attach_func = FuncDef{FnArg: int8(3), FfuncFlags: // nArg -U32(1), FpUserData:// funcFlags -uintptr(0), FpNext:// pUserData -uintptr(0), FxSFunc:// pNext -0, FxFinalize:// xSFunc -uintptr(0), FxValue:// xFinalize -uintptr(0), FxInverse: uintptr(0), FzName: // xValue, xInverse -ts + 13075, /* "sqlite_attach" */ Fu:// zName -struct{ FpHash uintptr }{FpHash: uintptr(0)}, +var attach_func = FuncDef{ + FnArg: int8(3), + FfuncFlags:// nArg + U32(1), + FpUserData:// funcFlags + uintptr(0), + FpNext:// pUserData + uintptr(0), + FxSFunc:// pNext + 0, + FxFinalize:// xSFunc + uintptr(0), + FxValue:// xFinalize + uintptr(0), + FxInverse: uintptr(0), + FzName:// xValue, xInverse + ts + 13075, /* "sqlite_attach" */ // zName + Fu:// zName + struct{ FpHash uintptr }{}, } /* sqlite3.c:109913:24 */ // Initialize a DbFixer structure. This routine must be called prior @@ -88819,7 +89506,7 @@ __1: if Xsqlite3FixExpr(tls, pFix, (*SrcList_item)(unsafe.Pointer(pItem)).FpOn) != 0 { return 1 } - if (uint32(int32(*(*uint8)(unsafe.Pointer((pItem + 60 /* &.fg */) + 4 /* &.isTabFunc */))&0x4>>2)) != 0) && (Xsqlite3FixExprList(tls, pFix, *(*uintptr)(unsafe.Pointer(pItem + 96 /* &.u1 */))) != 0) { + if ((uint32(int32(*(*uint8)(unsafe.Pointer((pItem + 60 /* &.fg */) + 4 /* &.isTabFunc */)) & 0x4 >> 2))) != 0) && (Xsqlite3FixExprList(tls, pFix, *(*uintptr)(unsafe.Pointer(pItem + 96 /* &.u1 */))) != 0) { return 1 } } @@ -89611,7 +90298,7 @@ func Xsqlite3FreeIndex(tls *libc.TLS, db uintptr, p uintptr) { /* sqlite3.c:1108 Xsqlite3ExprDelete(tls, db, (*Index)(unsafe.Pointer(p)).FpPartIdxWhere) Xsqlite3ExprListDelete(tls, db, (*Index)(unsafe.Pointer(p)).FaColExpr) Xsqlite3DbFree(tls, db, (*Index)(unsafe.Pointer(p)).FzColAff) - if uint32(int32(*(*uint16)(unsafe.Pointer(p + 100 /* &.isResized */))&0x10>>4)) != 0 { + if (uint32(int32(*(*uint16)(unsafe.Pointer(p + 100 /* &.isResized */)) & 0x10 >> 4))) != 0 { Xsqlite3DbFree(tls, db, (*Index)(unsafe.Pointer(p)).FazColl) } Xsqlite3_free(tls, (*Index)(unsafe.Pointer(p)).FaiRowEst) @@ -89969,7 +90656,7 @@ func Xsqlite3CheckObjectName(tls *libc.TLS, pParse uintptr, zName uintptr, zType var db uintptr = (*Parse)(unsafe.Pointer(pParse)).Fdb if ((Xsqlite3WritableSchema(tls, db) != 0) || - (uint32(int32(*(*uint8)(unsafe.Pointer((db + 176 /* &.init */) + 8 /* &.imposterTable */))&0x2>>1)) != 0)) || + ((uint32(int32(*(*uint8)(unsafe.Pointer((db + 176 /* &.init */) + 8 /* &.imposterTable */)) & 0x2 >> 1))) != 0)) || !(int32(Xsqlite3Config.FbExtraSchemaChecks) != 0) { // Skip these error checks for writable_schema=ON return 0 @@ -89995,7 +90682,7 @@ func Xsqlite3CheckObjectName(tls *libc.TLS, pParse uintptr, zName uintptr, zType // Return the PRIMARY KEY index of a table func Xsqlite3PrimaryKeyIndex(tls *libc.TLS, pTab uintptr) uintptr { /* sqlite3.c:111316:22: */ var p uintptr - for p = (*Table)(unsafe.Pointer(pTab)).FpIndex; (p != 0) && !(int32(*(*uint16)(unsafe.Pointer((p) + 100 /* &.idxType */))&0x3>>0) == 2); p = (*Index)(unsafe.Pointer(p)).FpNext { + for p = (*Table)(unsafe.Pointer(pTab)).FpIndex; (p != 0) && !((int32(*(*uint16)(unsafe.Pointer((p) + 100 /* &.idxType */)) & 0x3 >> 0)) == 2); p = (*Index)(unsafe.Pointer(p)).FpNext { } return p } @@ -91296,7 +91983,7 @@ func convertToWithoutRowidTable(tls *libc.TLS, pParse uintptr, pTab uintptr) { / var v uintptr = (*Parse)(unsafe.Pointer(pParse)).FpVdbe // Mark every PRIMARY KEY column as NOT NULL (except for imposter tables) - if !(int32(*(*uint8)(unsafe.Pointer(db + 176 /* &.init */ + 8 /* &.imposterTable */))&0x2>>1) != 0) { + if !((int32(*(*uint8)(unsafe.Pointer(db + 176 /* &.init */ + 8 /* &.imposterTable */)) & 0x2 >> 1)) != 0) { for i = 0; i < int32((*Table)(unsafe.Pointer(pTab)).FnCol); i++ { if (int32((*Column)(unsafe.Pointer((*Table)(unsafe.Pointer(pTab)).FaCol+uintptr(i)*32)).FcolFlags) & 0x0001) != 0 { (*Column)(unsafe.Pointer((*Table)(unsafe.Pointer(pTab)).FaCol + uintptr(i)*32)).FnotNull = U8(2) @@ -91356,7 +92043,7 @@ func convertToWithoutRowidTable(tls *libc.TLS, pParse uintptr, pTab uintptr) { / } libc.SetBitFieldPtr16Uint32(pPk+100 /* &.isCovering */, uint32(1), 5, 0x20) - if !(int32(*(*uint8)(unsafe.Pointer(db + 176 /* &.init */ + 8 /* &.imposterTable */))&0x2>>1) != 0) { + if !((int32(*(*uint8)(unsafe.Pointer(db + 176 /* &.init */ + 8 /* &.imposterTable */)) & 0x2 >> 1)) != 0) { libc.SetBitFieldPtr16Uint32(pPk+100 /* &.uniqNotNull */, uint32(1), 3, 0x8) } nPk = int32(libc.AssignPtrUint16(pPk+96 /* &.nColumn */, (*Index)(unsafe.Pointer(pPk)).FnKeyCol)) @@ -91377,7 +92064,7 @@ func convertToWithoutRowidTable(tls *libc.TLS, pParse uintptr, pTab uintptr) { / // the final rowid column into one or more columns of the PRIMARY KEY. for pIdx = (*Table)(unsafe.Pointer(pTab)).FpIndex; pIdx != 0; pIdx = (*Index)(unsafe.Pointer(pIdx)).FpNext { var n int32 - if int32(*(*uint16)(unsafe.Pointer((pIdx) + 100 /* &.idxType */))&0x3>>0) == 2 { + if (int32(*(*uint16)(unsafe.Pointer((pIdx) + 100 /* &.idxType */)) & 0x3 >> 0)) == 2 { continue } for i = libc.AssignInt32(&n, 0); i < nPk; i++ { @@ -92768,7 +93455,7 @@ func sqlite3RefillIndex(tls *libc.TLS, pParse uintptr, pIndex uintptr, memRootPa addr2 = Xsqlite3VdbeCurrentAddr(tls, v) } Xsqlite3VdbeAddOp3(tls, v, 125, iSorter, regRecord, iIdx) - if !(int32(*(*uint16)(unsafe.Pointer(pIndex + 100 /* &.bAscKeyBug */))&0x200>>9) != 0) { + if !((int32(*(*uint16)(unsafe.Pointer(pIndex + 100 /* &.bAscKeyBug */)) & 0x200 >> 9)) != 0) { // This OP_SeekEnd opcode makes index insert for a REINDEX go much // faster by avoiding unnecessary seeks. But the optimization does // not work for UNIQUE constraint indexes on WITHOUT ROWID tables @@ -92825,7 +93512,7 @@ func Xsqlite3HasExplicitNulls(tls *libc.TLS, pParse uintptr, pList uintptr) int3 if pList != 0 { var i int32 for i = 0; i < (*ExprList)(unsafe.Pointer(pList)).FnExpr; i++ { - if uint32(int32(*(*uint8)(unsafe.Pointer((pList + 8 /* &.a */) + uintptr(i)*32 + 20 /* &.bNulls */))&0x20>>5)) != 0 { + if (uint32(int32(*(*uint8)(unsafe.Pointer((pList + 8 /* &.a */) + uintptr(i)*32 + 20 /* &.bNulls */)) & 0x20 >> 5))) != 0 { var sf U8 = (*ExprList_item)(unsafe.Pointer((pList + 8 /* &.a */) + uintptr(i)*32)).FsortFlags Xsqlite3ErrorMsg(tls, pParse, ts+14843, /* "unsupported use ..." */ libc.VaList(bp, func() uintptr { @@ -93891,7 +94578,7 @@ __5: goto exit_drop_index __3: ; - if !(int32(*(*uint16)(unsafe.Pointer(pIndex + 100 /* &.idxType */))&0x3>>0) != 0) { + if !((int32(*(*uint16)(unsafe.Pointer(pIndex + 100 /* &.idxType */)) & 0x3 >> 0)) != 0) { goto __6 } Xsqlite3ErrorMsg(tls, pParse, @@ -94242,10 +94929,10 @@ __1: Xsqlite3DbFree(tls, db, (*SrcList_item)(unsafe.Pointer(pItem)).FzDatabase) Xsqlite3DbFree(tls, db, (*SrcList_item)(unsafe.Pointer(pItem)).FzName) Xsqlite3DbFree(tls, db, (*SrcList_item)(unsafe.Pointer(pItem)).FzAlias) - if uint32(int32(*(*uint8)(unsafe.Pointer(pItem + 60 /* &.fg */ + 4 /* &.isIndexedBy */))&0x2>>1)) != 0 { + if (uint32(int32(*(*uint8)(unsafe.Pointer(pItem + 60 /* &.fg */ + 4 /* &.isIndexedBy */)) & 0x2 >> 1))) != 0 { Xsqlite3DbFree(tls, db, *(*uintptr)(unsafe.Pointer(pItem + 96 /* &.u1 */))) } - if uint32(int32(*(*uint8)(unsafe.Pointer(pItem + 60 /* &.fg */ + 4 /* &.isTabFunc */))&0x4>>2)) != 0 { + if (uint32(int32(*(*uint8)(unsafe.Pointer(pItem + 60 /* &.fg */ + 4 /* &.isTabFunc */)) & 0x4 >> 2))) != 0 { Xsqlite3ExprListDelete(tls, db, *(*uintptr)(unsafe.Pointer(pItem + 96 /* &.u1 */))) } Xsqlite3DeleteTable(tls, db, (*SrcList_item)(unsafe.Pointer(pItem)).FpTab) @@ -94647,7 +95334,7 @@ func Xsqlite3UniqueConstraint(tls *libc.TLS, pParse uintptr, onError int32, pIdx zErr = Xsqlite3StrAccumFinish(tls, bp+8 /* &errMsg */) Xsqlite3HaltConstraint(tls, pParse, func() int32 { - if int32(*(*uint16)(unsafe.Pointer((pIdx) + 100 /* &.idxType */))&0x3>>0) == 2 { + if (int32(*(*uint16)(unsafe.Pointer((pIdx) + 100 /* &.idxType */)) & 0x3 >> 0)) == 2 { return (19 | (int32(6) << 8)) } return (19 | (int32(8) << 8)) @@ -94824,7 +95511,7 @@ func Xsqlite3KeyInfoOfIndex(tls *libc.TLS, pParse uintptr, pIdx uintptr) uintptr if (*Parse)(unsafe.Pointer(pParse)).FnErr != 0 { return uintptr(0) } - if uint32(int32(*(*uint16)(unsafe.Pointer(pIdx + 100 /* &.uniqNotNull */))&0x8>>3)) != 0 { + if (uint32(int32(*(*uint16)(unsafe.Pointer(pIdx + 100 /* &.uniqNotNull */)) & 0x8 >> 3))) != 0 { pKey = Xsqlite3KeyInfoAlloc(tls, (*Parse)(unsafe.Pointer(pParse)).Fdb, nKey, (nCol - nKey)) } else { pKey = Xsqlite3KeyInfoAlloc(tls, (*Parse)(unsafe.Pointer(pParse)).Fdb, nCol, 0) @@ -94843,7 +95530,7 @@ func Xsqlite3KeyInfoOfIndex(tls *libc.TLS, pParse uintptr, pIdx uintptr) uintptr } if (*Parse)(unsafe.Pointer(pParse)).FnErr != 0 { - if int32(*(*uint16)(unsafe.Pointer(pIdx + 100 /* &.bNoQuery */))&0x100>>8) == 0 { + if (int32(*(*uint16)(unsafe.Pointer(pIdx + 100 /* &.bNoQuery */)) & 0x100 >> 8)) == 0 { // Deactivate the index because it contains an unknown collating // sequence. The only way to reactive the index is to reload the // schema. Adding the missing collating sequence later does not @@ -96304,7 +96991,7 @@ __1: bp /* &iPartIdxLabel */, pPrior, r1) Xsqlite3VdbeAddOp3(tls, v, 132, (iIdxCur + i), r1, func() int32 { - if uint32(int32(*(*uint16)(unsafe.Pointer(pIdx + 100 /* &.uniqNotNull */))&0x8>>3)) != 0 { + if (uint32(int32(*(*uint16)(unsafe.Pointer(pIdx + 100 /* &.uniqNotNull */)) & 0x8 >> 3))) != 0 { return int32((*Index)(unsafe.Pointer(pIdx)).FnKeyCol) } return int32((*Index)(unsafe.Pointer(pIdx)).FnColumn) @@ -96369,7 +97056,7 @@ func Xsqlite3GenerateIndexKey(tls *libc.TLS, pParse uintptr, pIdx uintptr, iData *(*int32)(unsafe.Pointer(piPartIdxLabel)) = 0 } } - if (prefixOnly != 0) && (uint32(int32(*(*uint16)(unsafe.Pointer(pIdx + 100 /* &.uniqNotNull */))&0x8>>3)) != 0) { + if (prefixOnly != 0) && ((uint32(int32(*(*uint16)(unsafe.Pointer(pIdx + 100 /* &.uniqNotNull */)) & 0x8 >> 3))) != 0) { nCol = int32((*Index)(unsafe.Pointer(pIdx)).FnKeyCol) } else { nCol = int32((*Index)(unsafe.Pointer(pIdx)).FnColumn) @@ -97056,13 +97743,25 @@ type compareInfo = struct { // macro for fast reading of the next character in the common case where // the next character is ASCII. -var globInfo = compareInfo{FmatchAll: U8('*'), FmatchOne: U8('?'), FmatchSet: U8('['), FnoCase: U8(0)} /* sqlite3.c:117677:33 */ +var globInfo = compareInfo{ + FmatchAll: U8('*'), + FmatchOne: U8('?'), + FmatchSet: U8('['), + FnoCase: U8(0)} /* sqlite3.c:117677:33 */ // The correct SQL-92 behavior is for the LIKE operator to ignore // case. Thus 'a' LIKE 'A' would be true. -var likeInfoNorm = compareInfo{FmatchAll: U8('%'), FmatchOne: U8('_'), FmatchSet: U8(0), FnoCase: U8(1)} /* sqlite3.c:117680:33 */ +var likeInfoNorm = compareInfo{ + FmatchAll: U8('%'), + FmatchOne: U8('_'), + FmatchSet: U8(0), + FnoCase: U8(1)} /* sqlite3.c:117680:33 */ // If SQLITE_CASE_SENSITIVE_LIKE is defined, then the LIKE operator // is case sensitive causing 'a' LIKE 'A' to be false -var likeInfoAlt = compareInfo{FmatchAll: U8('%'), FmatchOne: U8('_'), FmatchSet: U8(0), FnoCase: U8(0)} /* sqlite3.c:117683:33 */ +var likeInfoAlt = compareInfo{ + FmatchAll: U8('%'), + FmatchOne: U8('_'), + FmatchSet: U8(0), + FnoCase: U8(0)} /* sqlite3.c:117683:33 */ // Possible error returns from patternMatch() @@ -98337,73 +99036,658 @@ func Xsqlite3RegisterBuiltinFunctions(tls *libc.TLS) { /* sqlite3.c:118964:21: * var aBuiltinFunc = [65]FuncDef{ //**** Functions only available with SQLITE_TESTCTRL_INTERNAL_FUNCTIONS **** - {FnArg: int8(2), FfuncFlags: (U32(((((1 | 0x00040000) | 0x4000) | 0x00400000) | 0x0800) | (0))), FpUserData: uintptr(int64(1)), FpNext: uintptr(0), FxSFunc: 0, FxFinalize: uintptr(0), FxValue: uintptr(0), FxInverse: uintptr(0), FzName: ts + 16002 /* "implies_nonnull_..." */, Fu: struct{ FpHash uintptr }{FpHash: uintptr(0)}}, - {FnArg: int8(2), FfuncFlags: (U32(((((1 | 0x00040000) | 0x4000) | 0x00400000) | 0x0800) | (0))), FpUserData: uintptr(int64(3)), FpNext: uintptr(0), FxSFunc: 0, FxFinalize: uintptr(0), FxValue: uintptr(0), FxInverse: uintptr(0), FzName: ts + 16022 /* "expr_compare" */, Fu: struct{ FpHash uintptr }{FpHash: uintptr(0)}}, - {FnArg: int8(2), FfuncFlags: (U32(((((1 | 0x00040000) | 0x4000) | 0x00400000) | 0x0800) | (0))), FpUserData: uintptr(int64(2)), FpNext: uintptr(0), FxSFunc: 0, FxFinalize: uintptr(0), FxValue: uintptr(0), FxInverse: uintptr(0), FzName: ts + 16035 /* "expr_implies_exp..." */, Fu: struct{ FpHash uintptr }{FpHash: uintptr(0)}}, + { + FnArg: int8(2), + FfuncFlags: (U32(((((1 | 0x00040000) | 0x4000) | 0x00400000) | 0x0800) | (0))), + FpUserData: uintptr(int64(1)), + FpNext: uintptr(0), + FxSFunc: 0, + FxFinalize: uintptr(0), + FxValue: uintptr(0), + FxInverse: uintptr(0), + FzName: ts + 16002 /* "implies_nonnull_..." */, Fu: struct{ FpHash uintptr }{}}, + { + FnArg: int8(2), + FfuncFlags: (U32(((((1 | 0x00040000) | 0x4000) | 0x00400000) | 0x0800) | (0))), + FpUserData: uintptr(int64(3)), + FpNext: uintptr(0), + FxSFunc: 0, + FxFinalize: uintptr(0), + FxValue: uintptr(0), + FxInverse: uintptr(0), + FzName: ts + 16022 /* "expr_compare" */, Fu: struct{ FpHash uintptr }{}}, + { + FnArg: int8(2), + FfuncFlags: (U32(((((1 | 0x00040000) | 0x4000) | 0x00400000) | 0x0800) | (0))), + FpUserData: uintptr(int64(2)), + FpNext: uintptr(0), + FxSFunc: 0, + FxFinalize: uintptr(0), + FxValue: uintptr(0), + FxInverse: uintptr(0), + FzName: ts + 16035 /* "expr_implies_exp..." */, Fu: struct{ FpHash uintptr }{}}, //**** Regular functions **** - {FnArg: int8(1), FfuncFlags: (U32((0x0800 | 1) | (0 * 0x0020))), FpUserData: uintptr(int64(0)), FpNext: uintptr(0), FxSFunc: 0, FxFinalize: uintptr(0), FxValue: uintptr(0), FxInverse: uintptr(0), FzName: ts + 16053 /* "soundex" */, Fu: struct{ FpHash uintptr }{FpHash: uintptr(0)}}, - {FnArg: int8(1), FfuncFlags: (U32((1 | 0x000080000) | 0x00200000)), FpUserData: uintptr(int64(0)), FpNext: uintptr(0), FxSFunc: 0, FxFinalize: uintptr(0), FxValue: uintptr(0), FxInverse: uintptr(0), FzName: ts + 16061 /* "load_extension" */, Fu: struct{ FpHash uintptr }{FpHash: uintptr(0)}}, - {FnArg: int8(2), FfuncFlags: (U32((1 | 0x000080000) | 0x00200000)), FpUserData: uintptr(int64(0)), FpNext: uintptr(0), FxSFunc: 0, FxFinalize: uintptr(0), FxValue: uintptr(0), FxInverse: uintptr(0), FzName: ts + 16061 /* "load_extension" */, Fu: struct{ FpHash uintptr }{FpHash: uintptr(0)}}, - {FnArg: int8(1), FfuncFlags: (U32(0x2000 | 1)), FpUserData: uintptr(0), FpNext: uintptr(0), FxSFunc: 0, FxFinalize: uintptr(0), FxValue: uintptr(0), FxInverse: uintptr(0), FzName: ts + 16076 /* "sqlite_compileop..." */, Fu: struct{ FpHash uintptr }{FpHash: uintptr(0)}}, - {FnArg: int8(1), FfuncFlags: (U32(0x2000 | 1)), FpUserData: uintptr(0), FpNext: uintptr(0), FxSFunc: 0, FxFinalize: uintptr(0), FxValue: uintptr(0), FxInverse: uintptr(0), FzName: ts + 16102 /* "sqlite_compileop..." */, Fu: struct{ FpHash uintptr }{FpHash: uintptr(0)}}, - {FnArg: int8(1), FfuncFlags: (U32(((1 | 0x00400000) | 0x0800) | (0x0400))), FpUserData: uintptr(int64(99)), FpNext: uintptr(0), FxSFunc: 0, FxFinalize: uintptr(0), FxValue: uintptr(0), FxInverse: uintptr(0), FzName: ts + 16127 /* "unlikely" */, Fu: struct{ FpHash uintptr }{FpHash: uintptr(0)}}, - {FnArg: int8(2), FfuncFlags: (U32(((1 | 0x00400000) | 0x0800) | (0x0400))), FpUserData: uintptr(int64(99)), FpNext: uintptr(0), FxSFunc: 0, FxFinalize: uintptr(0), FxValue: uintptr(0), FxInverse: uintptr(0), FzName: ts + 16136 /* "likelihood" */, Fu: struct{ FpHash uintptr }{FpHash: uintptr(0)}}, - {FnArg: int8(1), FfuncFlags: (U32(((1 | 0x00400000) | 0x0800) | (0x0400))), FpUserData: uintptr(int64(99)), FpNext: uintptr(0), FxSFunc: 0, FxFinalize: uintptr(0), FxValue: uintptr(0), FxInverse: uintptr(0), FzName: ts + 16147 /* "likely" */, Fu: struct{ FpHash uintptr }{FpHash: uintptr(0)}}, - {FnArg: int8(1), FfuncFlags: (U32((((0x0800 | 1) | (0 * 0x0020)) | 0x8000) | 0x0080)), FpUserData: uintptr(int64(0)), FpNext: uintptr(0), FxSFunc: 0, FxFinalize: uintptr(0), FxValue: uintptr(0), FxInverse: uintptr(0), FzName: ts + 16154 /* "sqlite_offset" */, Fu: struct{ FpHash uintptr }{FpHash: uintptr(0)}}, - {FnArg: int8(1), FfuncFlags: (U32((0x0800 | 1) | (0 * 0x0020))), FpUserData: uintptr(int64(1)), FpNext: uintptr(0), FxSFunc: 0, FxFinalize: uintptr(0), FxValue: uintptr(0), FxInverse: uintptr(0), FzName: ts + 16168 /* "ltrim" */, Fu: struct{ FpHash uintptr }{FpHash: uintptr(0)}}, - {FnArg: int8(2), FfuncFlags: (U32((0x0800 | 1) | (0 * 0x0020))), FpUserData: uintptr(int64(1)), FpNext: uintptr(0), FxSFunc: 0, FxFinalize: uintptr(0), FxValue: uintptr(0), FxInverse: uintptr(0), FzName: ts + 16168 /* "ltrim" */, Fu: struct{ FpHash uintptr }{FpHash: uintptr(0)}}, - {FnArg: int8(1), FfuncFlags: (U32((0x0800 | 1) | (0 * 0x0020))), FpUserData: uintptr(int64(2)), FpNext: uintptr(0), FxSFunc: 0, FxFinalize: uintptr(0), FxValue: uintptr(0), FxInverse: uintptr(0), FzName: ts + 16174 /* "rtrim" */, Fu: struct{ FpHash uintptr }{FpHash: uintptr(0)}}, - {FnArg: int8(2), FfuncFlags: (U32((0x0800 | 1) | (0 * 0x0020))), FpUserData: uintptr(int64(2)), FpNext: uintptr(0), FxSFunc: 0, FxFinalize: uintptr(0), FxValue: uintptr(0), FxInverse: uintptr(0), FzName: ts + 16174 /* "rtrim" */, Fu: struct{ FpHash uintptr }{FpHash: uintptr(0)}}, - {FnArg: int8(1), FfuncFlags: (U32((0x0800 | 1) | (0 * 0x0020))), FpUserData: uintptr(int64(3)), FpNext: uintptr(0), FxSFunc: 0, FxFinalize: uintptr(0), FxValue: uintptr(0), FxInverse: uintptr(0), FzName: ts + 16180 /* "trim" */, Fu: struct{ FpHash uintptr }{FpHash: uintptr(0)}}, - {FnArg: int8(2), FfuncFlags: (U32((0x0800 | 1) | (0 * 0x0020))), FpUserData: uintptr(int64(3)), FpNext: uintptr(0), FxSFunc: 0, FxFinalize: uintptr(0), FxValue: uintptr(0), FxInverse: uintptr(0), FzName: ts + 16180 /* "trim" */, Fu: struct{ FpHash uintptr }{FpHash: uintptr(0)}}, - {FnArg: int8(-1), FfuncFlags: (U32((0x0800 | 1) | (1 * 0x0020))), FpUserData: uintptr(int64(0)), FpNext: uintptr(0), FxSFunc: 0, FxFinalize: uintptr(0), FxValue: uintptr(0), FxInverse: uintptr(0), FzName: ts + 16185 /* "min" */, Fu: struct{ FpHash uintptr }{FpHash: uintptr(0)}}, - {FnArg: int8(0), FfuncFlags: (U32((0x0800 | 1) | (1 * 0x0020))), FpUserData: uintptr(int64(0)), FpNext: uintptr(0), FxSFunc: uintptr(0), FxFinalize: uintptr(0), FxValue: uintptr(0), FxInverse: uintptr(0), FzName: ts + 16185 /* "min" */, Fu: struct{ FpHash uintptr }{FpHash: uintptr(0)}}, - {FnArg: int8(1), FfuncFlags: (U32((1 | (1 * 0x0020)) | 0x1000)), FpUserData: uintptr(int64(0)), FpNext: uintptr(0), FxSFunc: 0, FxFinalize: 0, FxValue: 0, FxInverse: uintptr(0), FzName: ts + 16185 /* "min" */, Fu: struct{ FpHash uintptr }{FpHash: uintptr(0)}}, - {FnArg: int8(-1), FfuncFlags: (U32((0x0800 | 1) | (1 * 0x0020))), FpUserData: uintptr(int64(1)), FpNext: uintptr(0), FxSFunc: 0, FxFinalize: uintptr(0), FxValue: uintptr(0), FxInverse: uintptr(0), FzName: ts + 16189 /* "max" */, Fu: struct{ FpHash uintptr }{FpHash: uintptr(0)}}, - {FnArg: int8(0), FfuncFlags: (U32((0x0800 | 1) | (1 * 0x0020))), FpUserData: uintptr(int64(1)), FpNext: uintptr(0), FxSFunc: uintptr(0), FxFinalize: uintptr(0), FxValue: uintptr(0), FxInverse: uintptr(0), FzName: ts + 16189 /* "max" */, Fu: struct{ FpHash uintptr }{FpHash: uintptr(0)}}, - {FnArg: int8(1), FfuncFlags: (U32((1 | (1 * 0x0020)) | 0x1000)), FpUserData: uintptr(int64(1)), FpNext: uintptr(0), FxSFunc: 0, FxFinalize: 0, FxValue: 0, FxInverse: uintptr(0), FzName: ts + 16189 /* "max" */, Fu: struct{ FpHash uintptr }{FpHash: uintptr(0)}}, - {FnArg: int8(1), FfuncFlags: (U32(((0x0800 | 1) | (0 * 0x0020)) | 0x0080)), FpUserData: uintptr(int64(0)), FpNext: uintptr(0), FxSFunc: 0, FxFinalize: uintptr(0), FxValue: uintptr(0), FxInverse: uintptr(0), FzName: ts + 16193 /* "typeof" */, Fu: struct{ FpHash uintptr }{FpHash: uintptr(0)}}, - {FnArg: int8(1), FfuncFlags: (U32(((0x0800 | 1) | (0 * 0x0020)) | 0x0040)), FpUserData: uintptr(int64(0)), FpNext: uintptr(0), FxSFunc: 0, FxFinalize: uintptr(0), FxValue: uintptr(0), FxInverse: uintptr(0), FzName: ts + 16200 /* "length" */, Fu: struct{ FpHash uintptr }{FpHash: uintptr(0)}}, - {FnArg: int8(2), FfuncFlags: (U32((0x0800 | 1) | (0 * 0x0020))), FpUserData: uintptr(int64(0)), FpNext: uintptr(0), FxSFunc: 0, FxFinalize: uintptr(0), FxValue: uintptr(0), FxInverse: uintptr(0), FzName: ts + 16207 /* "instr" */, Fu: struct{ FpHash uintptr }{FpHash: uintptr(0)}}, - {FnArg: int8(-1), FfuncFlags: (U32((0x0800 | 1) | (0 * 0x0020))), FpUserData: uintptr(int64(0)), FpNext: uintptr(0), FxSFunc: 0, FxFinalize: uintptr(0), FxValue: uintptr(0), FxInverse: uintptr(0), FzName: ts + 16213 /* "printf" */, Fu: struct{ FpHash uintptr }{FpHash: uintptr(0)}}, - {FnArg: int8(1), FfuncFlags: (U32((0x0800 | 1) | (0 * 0x0020))), FpUserData: uintptr(int64(0)), FpNext: uintptr(0), FxSFunc: 0, FxFinalize: uintptr(0), FxValue: uintptr(0), FxInverse: uintptr(0), FzName: ts + 16220 /* "unicode" */, Fu: struct{ FpHash uintptr }{FpHash: uintptr(0)}}, - {FnArg: int8(-1), FfuncFlags: (U32((0x0800 | 1) | (0 * 0x0020))), FpUserData: uintptr(int64(0)), FpNext: uintptr(0), FxSFunc: 0, FxFinalize: uintptr(0), FxValue: uintptr(0), FxInverse: uintptr(0), FzName: ts + 16228 /* "char" */, Fu: struct{ FpHash uintptr }{FpHash: uintptr(0)}}, - {FnArg: int8(1), FfuncFlags: (U32((0x0800 | 1) | (0 * 0x0020))), FpUserData: uintptr(int64(0)), FpNext: uintptr(0), FxSFunc: 0, FxFinalize: uintptr(0), FxValue: uintptr(0), FxInverse: uintptr(0), FzName: ts + 16233 /* "abs" */, Fu: struct{ FpHash uintptr }{FpHash: uintptr(0)}}, - {FnArg: int8(1), FfuncFlags: (U32((0x0800 | 1) | (0 * 0x0020))), FpUserData: uintptr(int64(0)), FpNext: uintptr(0), FxSFunc: 0, FxFinalize: uintptr(0), FxValue: uintptr(0), FxInverse: uintptr(0), FzName: ts + 16237 /* "round" */, Fu: struct{ FpHash uintptr }{FpHash: uintptr(0)}}, - {FnArg: int8(2), FfuncFlags: (U32((0x0800 | 1) | (0 * 0x0020))), FpUserData: uintptr(int64(0)), FpNext: uintptr(0), FxSFunc: 0, FxFinalize: uintptr(0), FxValue: uintptr(0), FxInverse: uintptr(0), FzName: ts + 16237 /* "round" */, Fu: struct{ FpHash uintptr }{FpHash: uintptr(0)}}, - {FnArg: int8(1), FfuncFlags: (U32((0x0800 | 1) | (0 * 0x0020))), FpUserData: uintptr(int64(0)), FpNext: uintptr(0), FxSFunc: 0, FxFinalize: uintptr(0), FxValue: uintptr(0), FxInverse: uintptr(0), FzName: ts + 16243 /* "upper" */, Fu: struct{ FpHash uintptr }{FpHash: uintptr(0)}}, - {FnArg: int8(1), FfuncFlags: (U32((0x0800 | 1) | (0 * 0x0020))), FpUserData: uintptr(int64(0)), FpNext: uintptr(0), FxSFunc: 0, FxFinalize: uintptr(0), FxValue: uintptr(0), FxInverse: uintptr(0), FzName: ts + 16249 /* "lower" */, Fu: struct{ FpHash uintptr }{FpHash: uintptr(0)}}, - {FnArg: int8(1), FfuncFlags: (U32((0x0800 | 1) | (0 * 0x0020))), FpUserData: uintptr(int64(0)), FpNext: uintptr(0), FxSFunc: 0, FxFinalize: uintptr(0), FxValue: uintptr(0), FxInverse: uintptr(0), FzName: ts + 16255 /* "hex" */, Fu: struct{ FpHash uintptr }{FpHash: uintptr(0)}}, - {FnArg: int8(2), FfuncFlags: (U32(((1 | 0x00400000) | 0x0800) | (0))), FpUserData: uintptr(int64(0)), FpNext: uintptr(0), FxSFunc: 0, FxFinalize: uintptr(0), FxValue: uintptr(0), FxInverse: uintptr(0), FzName: ts + 16259 /* "ifnull" */, Fu: struct{ FpHash uintptr }{FpHash: uintptr(0)}}, - {FnArg: int8(0), FfuncFlags: (U32(1 | (0 * 0x0020))), FpUserData: uintptr(int64(0)), FpNext: uintptr(0), FxSFunc: 0, FxFinalize: uintptr(0), FxValue: uintptr(0), FxInverse: uintptr(0), FzName: ts + 16266 /* "random" */, Fu: struct{ FpHash uintptr }{FpHash: uintptr(0)}}, - {FnArg: int8(1), FfuncFlags: (U32(1 | (0 * 0x0020))), FpUserData: uintptr(int64(0)), FpNext: uintptr(0), FxSFunc: 0, FxFinalize: uintptr(0), FxValue: uintptr(0), FxInverse: uintptr(0), FzName: ts + 16273 /* "randomblob" */, Fu: struct{ FpHash uintptr }{FpHash: uintptr(0)}}, - {FnArg: int8(2), FfuncFlags: (U32((0x0800 | 1) | (1 * 0x0020))), FpUserData: uintptr(int64(0)), FpNext: uintptr(0), FxSFunc: 0, FxFinalize: uintptr(0), FxValue: uintptr(0), FxInverse: uintptr(0), FzName: ts + 16284 /* "nullif" */, Fu: struct{ FpHash uintptr }{FpHash: uintptr(0)}}, - {FnArg: int8(0), FfuncFlags: (U32(0x2000 | 1)), FpUserData: uintptr(0), FpNext: uintptr(0), FxSFunc: 0, FxFinalize: uintptr(0), FxValue: uintptr(0), FxInverse: uintptr(0), FzName: ts + 16291 /* "sqlite_version" */, Fu: struct{ FpHash uintptr }{FpHash: uintptr(0)}}, - {FnArg: int8(0), FfuncFlags: (U32(0x2000 | 1)), FpUserData: uintptr(0), FpNext: uintptr(0), FxSFunc: 0, FxFinalize: uintptr(0), FxValue: uintptr(0), FxInverse: uintptr(0), FzName: ts + 16306 /* "sqlite_source_id" */, Fu: struct{ FpHash uintptr }{FpHash: uintptr(0)}}, - {FnArg: int8(2), FfuncFlags: (U32((0x0800 | 1) | (0 * 0x0020))), FpUserData: uintptr(int64(0)), FpNext: uintptr(0), FxSFunc: 0, FxFinalize: uintptr(0), FxValue: uintptr(0), FxInverse: uintptr(0), FzName: ts + 16323 /* "sqlite_log" */, Fu: struct{ FpHash uintptr }{FpHash: uintptr(0)}}, - {FnArg: int8(1), FfuncFlags: (U32((0x0800 | 1) | (0 * 0x0020))), FpUserData: uintptr(int64(0)), FpNext: uintptr(0), FxSFunc: 0, FxFinalize: uintptr(0), FxValue: uintptr(0), FxInverse: uintptr(0), FzName: ts + 16334 /* "quote" */, Fu: struct{ FpHash uintptr }{FpHash: uintptr(0)}}, - {FnArg: int8(0), FfuncFlags: (U32(1 | (0 * 0x0020))), FpUserData: uintptr(int64(0)), FpNext: uintptr(0), FxSFunc: 0, FxFinalize: uintptr(0), FxValue: uintptr(0), FxInverse: uintptr(0), FzName: ts + 16340 /* "last_insert_rowi..." */, Fu: struct{ FpHash uintptr }{FpHash: uintptr(0)}}, - {FnArg: int8(0), FfuncFlags: (U32(1 | (0 * 0x0020))), FpUserData: uintptr(int64(0)), FpNext: uintptr(0), FxSFunc: 0, FxFinalize: uintptr(0), FxValue: uintptr(0), FxInverse: uintptr(0), FzName: ts + 16358 /* "changes" */, Fu: struct{ FpHash uintptr }{FpHash: uintptr(0)}}, - {FnArg: int8(0), FfuncFlags: (U32(1 | (0 * 0x0020))), FpUserData: uintptr(int64(0)), FpNext: uintptr(0), FxSFunc: 0, FxFinalize: uintptr(0), FxValue: uintptr(0), FxInverse: uintptr(0), FzName: ts + 16366 /* "total_changes" */, Fu: struct{ FpHash uintptr }{FpHash: uintptr(0)}}, - {FnArg: int8(3), FfuncFlags: (U32((0x0800 | 1) | (0 * 0x0020))), FpUserData: uintptr(int64(0)), FpNext: uintptr(0), FxSFunc: 0, FxFinalize: uintptr(0), FxValue: uintptr(0), FxInverse: uintptr(0), FzName: ts + 16380 /* "replace" */, Fu: struct{ FpHash uintptr }{FpHash: uintptr(0)}}, - {FnArg: int8(1), FfuncFlags: (U32((0x0800 | 1) | (0 * 0x0020))), FpUserData: uintptr(int64(0)), FpNext: uintptr(0), FxSFunc: 0, FxFinalize: uintptr(0), FxValue: uintptr(0), FxInverse: uintptr(0), FzName: ts + 16388 /* "zeroblob" */, Fu: struct{ FpHash uintptr }{FpHash: uintptr(0)}}, - {FnArg: int8(2), FfuncFlags: (U32((0x0800 | 1) | (0 * 0x0020))), FpUserData: uintptr(int64(0)), FpNext: uintptr(0), FxSFunc: 0, FxFinalize: uintptr(0), FxValue: uintptr(0), FxInverse: uintptr(0), FzName: ts + 16397 /* "substr" */, Fu: struct{ FpHash uintptr }{FpHash: uintptr(0)}}, - {FnArg: int8(3), FfuncFlags: (U32((0x0800 | 1) | (0 * 0x0020))), FpUserData: uintptr(int64(0)), FpNext: uintptr(0), FxSFunc: 0, FxFinalize: uintptr(0), FxValue: uintptr(0), FxInverse: uintptr(0), FzName: ts + 16397 /* "substr" */, Fu: struct{ FpHash uintptr }{FpHash: uintptr(0)}}, - {FnArg: int8(1), FfuncFlags: (U32((1 | (0 * 0x0020)) | 0)), FpUserData: uintptr(int64(0)), FpNext: uintptr(0), FxSFunc: 0, FxFinalize: 0, FxValue: 0, FxInverse: 0, FzName: ts + 16404 /* "sum" */, Fu: struct{ FpHash uintptr }{FpHash: uintptr(0)}}, - {FnArg: int8(1), FfuncFlags: (U32((1 | (0 * 0x0020)) | 0)), FpUserData: uintptr(int64(0)), FpNext: uintptr(0), FxSFunc: 0, FxFinalize: 0, FxValue: 0, FxInverse: 0, FzName: ts + 16408 /* "total" */, Fu: struct{ FpHash uintptr }{FpHash: uintptr(0)}}, - {FnArg: int8(1), FfuncFlags: (U32((1 | (0 * 0x0020)) | 0)), FpUserData: uintptr(int64(0)), FpNext: uintptr(0), FxSFunc: 0, FxFinalize: 0, FxValue: 0, FxInverse: 0, FzName: ts + 16414 /* "avg" */, Fu: struct{ FpHash uintptr }{FpHash: uintptr(0)}}, - {FnArg: int8(0), FfuncFlags: (U32((1 | (0 * 0x0020)) | 0x0100)), FpUserData: uintptr(int64(0)), FpNext: uintptr(0), FxSFunc: 0, FxFinalize: 0, FxValue: 0, FxInverse: 0, FzName: ts + 16418 /* "count" */, Fu: struct{ FpHash uintptr }{FpHash: uintptr(0)}}, - {FnArg: int8(1), FfuncFlags: (U32((1 | (0 * 0x0020)) | 0)), FpUserData: uintptr(int64(0)), FpNext: uintptr(0), FxSFunc: 0, FxFinalize: 0, FxValue: 0, FxInverse: 0, FzName: ts + 16418 /* "count" */, Fu: struct{ FpHash uintptr }{FpHash: uintptr(0)}}, - {FnArg: int8(1), FfuncFlags: (U32((1 | (0 * 0x0020)) | 0)), FpUserData: uintptr(int64(0)), FpNext: uintptr(0), FxSFunc: 0, FxFinalize: 0, FxValue: 0, FxInverse: 0, FzName: ts + 16424 /* "group_concat" */, Fu: struct{ FpHash uintptr }{FpHash: uintptr(0)}}, - {FnArg: int8(2), FfuncFlags: (U32((1 | (0 * 0x0020)) | 0)), FpUserData: uintptr(int64(0)), FpNext: uintptr(0), FxSFunc: 0, FxFinalize: 0, FxValue: 0, FxInverse: 0, FzName: ts + 16424 /* "group_concat" */, Fu: struct{ FpHash uintptr }{FpHash: uintptr(0)}}, - - {FnArg: int8(2), FfuncFlags: (U32(((0x0800 | 1) | 0x0004) | 0x0008)), FpUserData: 0, FpNext: uintptr(0), FxSFunc: 0, FxFinalize: uintptr(0), FxValue: uintptr(0), FxInverse: uintptr(0), FzName: ts + 16437 /* "glob" */, Fu: struct{ FpHash uintptr }{FpHash: uintptr(0)}}, - {FnArg: int8(2), FfuncFlags: (U32((0x0800 | 1) | 0x0004)), FpUserData: 0, FpNext: uintptr(0), FxSFunc: 0, FxFinalize: uintptr(0), FxValue: uintptr(0), FxInverse: uintptr(0), FzName: ts + 15997 /* "like" */, Fu: struct{ FpHash uintptr }{FpHash: uintptr(0)}}, - {FnArg: int8(3), FfuncFlags: (U32((0x0800 | 1) | 0x0004)), FpUserData: 0, FpNext: uintptr(0), FxSFunc: 0, FxFinalize: uintptr(0), FxValue: uintptr(0), FxInverse: uintptr(0), FzName: ts + 15997 /* "like" */, Fu: struct{ FpHash uintptr }{FpHash: uintptr(0)}}, - {FnArg: int8(1), FfuncFlags: (U32((0x0800 | 1) | (0 * 0x0020))), FpUserData: uintptr(int64(0)), FpNext: uintptr(0), FxSFunc: uintptr(0), FxFinalize: uintptr(0), FxValue: uintptr(0), FxInverse: uintptr(0), FzName: ts + 16442 /* "coalesce" */, Fu: struct{ FpHash uintptr }{FpHash: uintptr(0)}}, - {FnArg: int8(0), FfuncFlags: (U32((0x0800 | 1) | (0 * 0x0020))), FpUserData: uintptr(int64(0)), FpNext: uintptr(0), FxSFunc: uintptr(0), FxFinalize: uintptr(0), FxValue: uintptr(0), FxInverse: uintptr(0), FzName: ts + 16442 /* "coalesce" */, Fu: struct{ FpHash uintptr }{FpHash: uintptr(0)}}, - {FnArg: int8(-1), FfuncFlags: (U32(((1 | 0x00400000) | 0x0800) | (0))), FpUserData: uintptr(int64(0)), FpNext: uintptr(0), FxSFunc: 0, FxFinalize: uintptr(0), FxValue: uintptr(0), FxInverse: uintptr(0), FzName: ts + 16442 /* "coalesce" */, Fu: struct{ FpHash uintptr }{FpHash: uintptr(0)}}, - {FnArg: int8(3), FfuncFlags: (U32(((1 | 0x00400000) | 0x0800) | (0))), FpUserData: uintptr(int64(5)), FpNext: uintptr(0), FxSFunc: 0, FxFinalize: uintptr(0), FxValue: uintptr(0), FxInverse: uintptr(0), FzName: ts + 16451 /* "iif" */, Fu: struct{ FpHash uintptr }{FpHash: uintptr(0)}}, + { + FnArg: int8(1), + FfuncFlags: (U32((0x0800 | 1) | (0 * 0x0020))), + FpUserData: uintptr(int64(0)), + FpNext: uintptr(0), + FxSFunc: 0, + FxFinalize: uintptr(0), + FxValue: uintptr(0), + FxInverse: uintptr(0), + FzName: ts + 16053 /* "soundex" */, Fu: struct{ FpHash uintptr }{}}, + { + FnArg: int8(1), + FfuncFlags: (U32((1 | 0x000080000) | 0x00200000)), + FpUserData: uintptr(int64(0)), + FpNext: uintptr(0), + FxSFunc: 0, + FxFinalize: uintptr(0), + FxValue: uintptr(0), + FxInverse: uintptr(0), + FzName: ts + 16061 /* "load_extension" */, Fu: struct{ FpHash uintptr }{}}, + { + FnArg: int8(2), + FfuncFlags: (U32((1 | 0x000080000) | 0x00200000)), + FpUserData: uintptr(int64(0)), + FpNext: uintptr(0), + FxSFunc: 0, + FxFinalize: uintptr(0), + FxValue: uintptr(0), + FxInverse: uintptr(0), + FzName: ts + 16061 /* "load_extension" */, Fu: struct{ FpHash uintptr }{}}, + { + FnArg: int8(1), + FfuncFlags: (U32(0x2000 | 1)), + FpUserData: uintptr(0), + FpNext: uintptr(0), + FxSFunc: 0, + FxFinalize: uintptr(0), + FxValue: uintptr(0), + FxInverse: uintptr(0), + FzName: ts + 16076 /* "sqlite_compileop..." */, Fu: struct{ FpHash uintptr }{}}, + { + FnArg: int8(1), + FfuncFlags: (U32(0x2000 | 1)), + FpUserData: uintptr(0), + FpNext: uintptr(0), + FxSFunc: 0, + FxFinalize: uintptr(0), + FxValue: uintptr(0), + FxInverse: uintptr(0), + FzName: ts + 16102 /* "sqlite_compileop..." */, Fu: struct{ FpHash uintptr }{}}, + { + FnArg: int8(1), + FfuncFlags: (U32(((1 | 0x00400000) | 0x0800) | (0x0400))), + FpUserData: uintptr(int64(99)), + FpNext: uintptr(0), + FxSFunc: 0, + FxFinalize: uintptr(0), + FxValue: uintptr(0), + FxInverse: uintptr(0), + FzName: ts + 16127 /* "unlikely" */, Fu: struct{ FpHash uintptr }{}}, + { + FnArg: int8(2), + FfuncFlags: (U32(((1 | 0x00400000) | 0x0800) | (0x0400))), + FpUserData: uintptr(int64(99)), + FpNext: uintptr(0), + FxSFunc: 0, + FxFinalize: uintptr(0), + FxValue: uintptr(0), + FxInverse: uintptr(0), + FzName: ts + 16136 /* "likelihood" */, Fu: struct{ FpHash uintptr }{}}, + { + FnArg: int8(1), + FfuncFlags: (U32(((1 | 0x00400000) | 0x0800) | (0x0400))), + FpUserData: uintptr(int64(99)), + FpNext: uintptr(0), + FxSFunc: 0, + FxFinalize: uintptr(0), + FxValue: uintptr(0), + FxInverse: uintptr(0), + FzName: ts + 16147 /* "likely" */, Fu: struct{ FpHash uintptr }{}}, + { + FnArg: int8(1), + FfuncFlags: (U32((((0x0800 | 1) | (0 * 0x0020)) | 0x8000) | 0x0080)), + FpUserData: uintptr(int64(0)), + FpNext: uintptr(0), + FxSFunc: 0, + FxFinalize: uintptr(0), + FxValue: uintptr(0), + FxInverse: uintptr(0), + FzName: ts + 16154 /* "sqlite_offset" */, Fu: struct{ FpHash uintptr }{}}, + { + FnArg: int8(1), + FfuncFlags: (U32((0x0800 | 1) | (0 * 0x0020))), + FpUserData: uintptr(int64(1)), + FpNext: uintptr(0), + FxSFunc: 0, + FxFinalize: uintptr(0), + FxValue: uintptr(0), + FxInverse: uintptr(0), + FzName: ts + 16168 /* "ltrim" */, Fu: struct{ FpHash uintptr }{}}, + { + FnArg: int8(2), + FfuncFlags: (U32((0x0800 | 1) | (0 * 0x0020))), + FpUserData: uintptr(int64(1)), + FpNext: uintptr(0), + FxSFunc: 0, + FxFinalize: uintptr(0), + FxValue: uintptr(0), + FxInverse: uintptr(0), + FzName: ts + 16168 /* "ltrim" */, Fu: struct{ FpHash uintptr }{}}, + { + FnArg: int8(1), + FfuncFlags: (U32((0x0800 | 1) | (0 * 0x0020))), + FpUserData: uintptr(int64(2)), + FpNext: uintptr(0), + FxSFunc: 0, + FxFinalize: uintptr(0), + FxValue: uintptr(0), + FxInverse: uintptr(0), + FzName: ts + 16174 /* "rtrim" */, Fu: struct{ FpHash uintptr }{}}, + { + FnArg: int8(2), + FfuncFlags: (U32((0x0800 | 1) | (0 * 0x0020))), + FpUserData: uintptr(int64(2)), + FpNext: uintptr(0), + FxSFunc: 0, + FxFinalize: uintptr(0), + FxValue: uintptr(0), + FxInverse: uintptr(0), + FzName: ts + 16174 /* "rtrim" */, Fu: struct{ FpHash uintptr }{}}, + { + FnArg: int8(1), + FfuncFlags: (U32((0x0800 | 1) | (0 * 0x0020))), + FpUserData: uintptr(int64(3)), + FpNext: uintptr(0), + FxSFunc: 0, + FxFinalize: uintptr(0), + FxValue: uintptr(0), + FxInverse: uintptr(0), + FzName: ts + 16180 /* "trim" */, Fu: struct{ FpHash uintptr }{}}, + { + FnArg: int8(2), + FfuncFlags: (U32((0x0800 | 1) | (0 * 0x0020))), + FpUserData: uintptr(int64(3)), + FpNext: uintptr(0), + FxSFunc: 0, + FxFinalize: uintptr(0), + FxValue: uintptr(0), + FxInverse: uintptr(0), + FzName: ts + 16180 /* "trim" */, Fu: struct{ FpHash uintptr }{}}, + { + FnArg: int8(-1), + FfuncFlags: (U32((0x0800 | 1) | (1 * 0x0020))), + FpUserData: uintptr(int64(0)), + FpNext: uintptr(0), + FxSFunc: 0, + FxFinalize: uintptr(0), + FxValue: uintptr(0), + FxInverse: uintptr(0), + FzName: ts + 16185 /* "min" */, Fu: struct{ FpHash uintptr }{}}, + { + FnArg: int8(0), + FfuncFlags: (U32((0x0800 | 1) | (1 * 0x0020))), + FpUserData: uintptr(int64(0)), + FpNext: uintptr(0), + FxSFunc: uintptr(0), + FxFinalize: uintptr(0), + FxValue: uintptr(0), + FxInverse: uintptr(0), + FzName: ts + 16185 /* "min" */, Fu: struct{ FpHash uintptr }{}}, + { + FnArg: int8(1), + FfuncFlags: (U32((1 | (1 * 0x0020)) | 0x1000)), + FpUserData: uintptr(int64(0)), + FpNext: uintptr(0), + FxSFunc: 0, + FxFinalize: 0, + FxValue: 0, + FxInverse: uintptr(0), + FzName: ts + 16185 /* "min" */, Fu: struct{ FpHash uintptr }{}}, + { + FnArg: int8(-1), + FfuncFlags: (U32((0x0800 | 1) | (1 * 0x0020))), + FpUserData: uintptr(int64(1)), + FpNext: uintptr(0), + FxSFunc: 0, + FxFinalize: uintptr(0), + FxValue: uintptr(0), + FxInverse: uintptr(0), + FzName: ts + 16189 /* "max" */, Fu: struct{ FpHash uintptr }{}}, + { + FnArg: int8(0), + FfuncFlags: (U32((0x0800 | 1) | (1 * 0x0020))), + FpUserData: uintptr(int64(1)), + FpNext: uintptr(0), + FxSFunc: uintptr(0), + FxFinalize: uintptr(0), + FxValue: uintptr(0), + FxInverse: uintptr(0), + FzName: ts + 16189 /* "max" */, Fu: struct{ FpHash uintptr }{}}, + { + FnArg: int8(1), + FfuncFlags: (U32((1 | (1 * 0x0020)) | 0x1000)), + FpUserData: uintptr(int64(1)), + FpNext: uintptr(0), + FxSFunc: 0, + FxFinalize: 0, + FxValue: 0, + FxInverse: uintptr(0), + FzName: ts + 16189 /* "max" */, Fu: struct{ FpHash uintptr }{}}, + { + FnArg: int8(1), + FfuncFlags: (U32(((0x0800 | 1) | (0 * 0x0020)) | 0x0080)), + FpUserData: uintptr(int64(0)), + FpNext: uintptr(0), + FxSFunc: 0, + FxFinalize: uintptr(0), + FxValue: uintptr(0), + FxInverse: uintptr(0), + FzName: ts + 16193 /* "typeof" */, Fu: struct{ FpHash uintptr }{}}, + { + FnArg: int8(1), + FfuncFlags: (U32(((0x0800 | 1) | (0 * 0x0020)) | 0x0040)), + FpUserData: uintptr(int64(0)), + FpNext: uintptr(0), + FxSFunc: 0, + FxFinalize: uintptr(0), + FxValue: uintptr(0), + FxInverse: uintptr(0), + FzName: ts + 16200 /* "length" */, Fu: struct{ FpHash uintptr }{}}, + { + FnArg: int8(2), + FfuncFlags: (U32((0x0800 | 1) | (0 * 0x0020))), + FpUserData: uintptr(int64(0)), + FpNext: uintptr(0), + FxSFunc: 0, + FxFinalize: uintptr(0), + FxValue: uintptr(0), + FxInverse: uintptr(0), + FzName: ts + 16207 /* "instr" */, Fu: struct{ FpHash uintptr }{}}, + { + FnArg: int8(-1), + FfuncFlags: (U32((0x0800 | 1) | (0 * 0x0020))), + FpUserData: uintptr(int64(0)), + FpNext: uintptr(0), + FxSFunc: 0, + FxFinalize: uintptr(0), + FxValue: uintptr(0), + FxInverse: uintptr(0), + FzName: ts + 16213 /* "printf" */, Fu: struct{ FpHash uintptr }{}}, + { + FnArg: int8(1), + FfuncFlags: (U32((0x0800 | 1) | (0 * 0x0020))), + FpUserData: uintptr(int64(0)), + FpNext: uintptr(0), + FxSFunc: 0, + FxFinalize: uintptr(0), + FxValue: uintptr(0), + FxInverse: uintptr(0), + FzName: ts + 16220 /* "unicode" */, Fu: struct{ FpHash uintptr }{}}, + { + FnArg: int8(-1), + FfuncFlags: (U32((0x0800 | 1) | (0 * 0x0020))), + FpUserData: uintptr(int64(0)), + FpNext: uintptr(0), + FxSFunc: 0, + FxFinalize: uintptr(0), + FxValue: uintptr(0), + FxInverse: uintptr(0), + FzName: ts + 16228 /* "char" */, Fu: struct{ FpHash uintptr }{}}, + { + FnArg: int8(1), + FfuncFlags: (U32((0x0800 | 1) | (0 * 0x0020))), + FpUserData: uintptr(int64(0)), + FpNext: uintptr(0), + FxSFunc: 0, + FxFinalize: uintptr(0), + FxValue: uintptr(0), + FxInverse: uintptr(0), + FzName: ts + 16233 /* "abs" */, Fu: struct{ FpHash uintptr }{}}, + { + FnArg: int8(1), + FfuncFlags: (U32((0x0800 | 1) | (0 * 0x0020))), + FpUserData: uintptr(int64(0)), + FpNext: uintptr(0), + FxSFunc: 0, + FxFinalize: uintptr(0), + FxValue: uintptr(0), + FxInverse: uintptr(0), + FzName: ts + 16237 /* "round" */, Fu: struct{ FpHash uintptr }{}}, + { + FnArg: int8(2), + FfuncFlags: (U32((0x0800 | 1) | (0 * 0x0020))), + FpUserData: uintptr(int64(0)), + FpNext: uintptr(0), + FxSFunc: 0, + FxFinalize: uintptr(0), + FxValue: uintptr(0), + FxInverse: uintptr(0), + FzName: ts + 16237 /* "round" */, Fu: struct{ FpHash uintptr }{}}, + { + FnArg: int8(1), + FfuncFlags: (U32((0x0800 | 1) | (0 * 0x0020))), + FpUserData: uintptr(int64(0)), + FpNext: uintptr(0), + FxSFunc: 0, + FxFinalize: uintptr(0), + FxValue: uintptr(0), + FxInverse: uintptr(0), + FzName: ts + 16243 /* "upper" */, Fu: struct{ FpHash uintptr }{}}, + { + FnArg: int8(1), + FfuncFlags: (U32((0x0800 | 1) | (0 * 0x0020))), + FpUserData: uintptr(int64(0)), + FpNext: uintptr(0), + FxSFunc: 0, + FxFinalize: uintptr(0), + FxValue: uintptr(0), + FxInverse: uintptr(0), + FzName: ts + 16249 /* "lower" */, Fu: struct{ FpHash uintptr }{}}, + { + FnArg: int8(1), + FfuncFlags: (U32((0x0800 | 1) | (0 * 0x0020))), + FpUserData: uintptr(int64(0)), + FpNext: uintptr(0), + FxSFunc: 0, + FxFinalize: uintptr(0), + FxValue: uintptr(0), + FxInverse: uintptr(0), + FzName: ts + 16255 /* "hex" */, Fu: struct{ FpHash uintptr }{}}, + { + FnArg: int8(2), + FfuncFlags: (U32(((1 | 0x00400000) | 0x0800) | (0))), + FpUserData: uintptr(int64(0)), + FpNext: uintptr(0), + FxSFunc: 0, + FxFinalize: uintptr(0), + FxValue: uintptr(0), + FxInverse: uintptr(0), + FzName: ts + 16259 /* "ifnull" */, Fu: struct{ FpHash uintptr }{}}, + { + FnArg: int8(0), + FfuncFlags: (U32(1 | (0 * 0x0020))), + FpUserData: uintptr(int64(0)), + FpNext: uintptr(0), + FxSFunc: 0, + FxFinalize: uintptr(0), + FxValue: uintptr(0), + FxInverse: uintptr(0), + FzName: ts + 16266 /* "random" */, Fu: struct{ FpHash uintptr }{}}, + { + FnArg: int8(1), + FfuncFlags: (U32(1 | (0 * 0x0020))), + FpUserData: uintptr(int64(0)), + FpNext: uintptr(0), + FxSFunc: 0, + FxFinalize: uintptr(0), + FxValue: uintptr(0), + FxInverse: uintptr(0), + FzName: ts + 16273 /* "randomblob" */, Fu: struct{ FpHash uintptr }{}}, + { + FnArg: int8(2), + FfuncFlags: (U32((0x0800 | 1) | (1 * 0x0020))), + FpUserData: uintptr(int64(0)), + FpNext: uintptr(0), + FxSFunc: 0, + FxFinalize: uintptr(0), + FxValue: uintptr(0), + FxInverse: uintptr(0), + FzName: ts + 16284 /* "nullif" */, Fu: struct{ FpHash uintptr }{}}, + { + FnArg: int8(0), + FfuncFlags: (U32(0x2000 | 1)), + FpUserData: uintptr(0), + FpNext: uintptr(0), + FxSFunc: 0, + FxFinalize: uintptr(0), + FxValue: uintptr(0), + FxInverse: uintptr(0), + FzName: ts + 16291 /* "sqlite_version" */, Fu: struct{ FpHash uintptr }{}}, + { + FnArg: int8(0), + FfuncFlags: (U32(0x2000 | 1)), + FpUserData: uintptr(0), + FpNext: uintptr(0), + FxSFunc: 0, + FxFinalize: uintptr(0), + FxValue: uintptr(0), + FxInverse: uintptr(0), + FzName: ts + 16306 /* "sqlite_source_id" */, Fu: struct{ FpHash uintptr }{}}, + { + FnArg: int8(2), + FfuncFlags: (U32((0x0800 | 1) | (0 * 0x0020))), + FpUserData: uintptr(int64(0)), + FpNext: uintptr(0), + FxSFunc: 0, + FxFinalize: uintptr(0), + FxValue: uintptr(0), + FxInverse: uintptr(0), + FzName: ts + 16323 /* "sqlite_log" */, Fu: struct{ FpHash uintptr }{}}, + { + FnArg: int8(1), + FfuncFlags: (U32((0x0800 | 1) | (0 * 0x0020))), + FpUserData: uintptr(int64(0)), + FpNext: uintptr(0), + FxSFunc: 0, + FxFinalize: uintptr(0), + FxValue: uintptr(0), + FxInverse: uintptr(0), + FzName: ts + 16334 /* "quote" */, Fu: struct{ FpHash uintptr }{}}, + { + FnArg: int8(0), + FfuncFlags: (U32(1 | (0 * 0x0020))), + FpUserData: uintptr(int64(0)), + FpNext: uintptr(0), + FxSFunc: 0, + FxFinalize: uintptr(0), + FxValue: uintptr(0), + FxInverse: uintptr(0), + FzName: ts + 16340 /* "last_insert_rowi..." */, Fu: struct{ FpHash uintptr }{}}, + { + FnArg: int8(0), + FfuncFlags: (U32(1 | (0 * 0x0020))), + FpUserData: uintptr(int64(0)), + FpNext: uintptr(0), + FxSFunc: 0, + FxFinalize: uintptr(0), + FxValue: uintptr(0), + FxInverse: uintptr(0), + FzName: ts + 16358 /* "changes" */, Fu: struct{ FpHash uintptr }{}}, + { + FnArg: int8(0), + FfuncFlags: (U32(1 | (0 * 0x0020))), + FpUserData: uintptr(int64(0)), + FpNext: uintptr(0), + FxSFunc: 0, + FxFinalize: uintptr(0), + FxValue: uintptr(0), + FxInverse: uintptr(0), + FzName: ts + 16366 /* "total_changes" */, Fu: struct{ FpHash uintptr }{}}, + { + FnArg: int8(3), + FfuncFlags: (U32((0x0800 | 1) | (0 * 0x0020))), + FpUserData: uintptr(int64(0)), + FpNext: uintptr(0), + FxSFunc: 0, + FxFinalize: uintptr(0), + FxValue: uintptr(0), + FxInverse: uintptr(0), + FzName: ts + 16380 /* "replace" */, Fu: struct{ FpHash uintptr }{}}, + { + FnArg: int8(1), + FfuncFlags: (U32((0x0800 | 1) | (0 * 0x0020))), + FpUserData: uintptr(int64(0)), + FpNext: uintptr(0), + FxSFunc: 0, + FxFinalize: uintptr(0), + FxValue: uintptr(0), + FxInverse: uintptr(0), + FzName: ts + 16388 /* "zeroblob" */, Fu: struct{ FpHash uintptr }{}}, + { + FnArg: int8(2), + FfuncFlags: (U32((0x0800 | 1) | (0 * 0x0020))), + FpUserData: uintptr(int64(0)), + FpNext: uintptr(0), + FxSFunc: 0, + FxFinalize: uintptr(0), + FxValue: uintptr(0), + FxInverse: uintptr(0), + FzName: ts + 16397 /* "substr" */, Fu: struct{ FpHash uintptr }{}}, + { + FnArg: int8(3), + FfuncFlags: (U32((0x0800 | 1) | (0 * 0x0020))), + FpUserData: uintptr(int64(0)), + FpNext: uintptr(0), + FxSFunc: 0, + FxFinalize: uintptr(0), + FxValue: uintptr(0), + FxInverse: uintptr(0), + FzName: ts + 16397 /* "substr" */, Fu: struct{ FpHash uintptr }{}}, + { + FnArg: int8(1), + FfuncFlags: (U32((1 | (0 * 0x0020)) | 0)), + FpUserData: uintptr(int64(0)), + FpNext: uintptr(0), + FxSFunc: 0, + FxFinalize: 0, + FxValue: 0, + FxInverse: 0, + FzName: ts + 16404 /* "sum" */, Fu: struct{ FpHash uintptr }{}}, + { + FnArg: int8(1), + FfuncFlags: (U32((1 | (0 * 0x0020)) | 0)), + FpUserData: uintptr(int64(0)), + FpNext: uintptr(0), + FxSFunc: 0, + FxFinalize: 0, + FxValue: 0, + FxInverse: 0, + FzName: ts + 16408 /* "total" */, Fu: struct{ FpHash uintptr }{}}, + { + FnArg: int8(1), + FfuncFlags: (U32((1 | (0 * 0x0020)) | 0)), + FpUserData: uintptr(int64(0)), + FpNext: uintptr(0), + FxSFunc: 0, + FxFinalize: 0, + FxValue: 0, + FxInverse: 0, + FzName: ts + 16414 /* "avg" */, Fu: struct{ FpHash uintptr }{}}, + { + FnArg: int8(0), + FfuncFlags: (U32((1 | (0 * 0x0020)) | 0x0100)), + FpUserData: uintptr(int64(0)), + FpNext: uintptr(0), + FxSFunc: 0, + FxFinalize: 0, + FxValue: 0, + FxInverse: 0, + FzName: ts + 16418 /* "count" */, Fu: struct{ FpHash uintptr }{}}, + { + FnArg: int8(1), + FfuncFlags: (U32((1 | (0 * 0x0020)) | 0)), + FpUserData: uintptr(int64(0)), + FpNext: uintptr(0), + FxSFunc: 0, + FxFinalize: 0, + FxValue: 0, + FxInverse: 0, + FzName: ts + 16418 /* "count" */, Fu: struct{ FpHash uintptr }{}}, + { + FnArg: int8(1), + FfuncFlags: (U32((1 | (0 * 0x0020)) | 0)), + FpUserData: uintptr(int64(0)), + FpNext: uintptr(0), + FxSFunc: 0, + FxFinalize: 0, + FxValue: 0, + FxInverse: 0, + FzName: ts + 16424 /* "group_concat" */, Fu: struct{ FpHash uintptr }{}}, + { + FnArg: int8(2), + FfuncFlags: (U32((1 | (0 * 0x0020)) | 0)), + FpUserData: uintptr(int64(0)), + FpNext: uintptr(0), + FxSFunc: 0, + FxFinalize: 0, + FxValue: 0, + FxInverse: 0, + FzName: ts + 16424 /* "group_concat" */, Fu: struct{ FpHash uintptr }{}}, + + { + FnArg: int8(2), + FfuncFlags: (U32(((0x0800 | 1) | 0x0004) | 0x0008)), + FpUserData: 0, + FpNext: uintptr(0), + FxSFunc: 0, + FxFinalize: uintptr(0), + FxValue: uintptr(0), + FxInverse: uintptr(0), + FzName: ts + 16437 /* "glob" */, Fu: struct{ FpHash uintptr }{}}, + { + FnArg: int8(2), + FfuncFlags: (U32((0x0800 | 1) | 0x0004)), + FpUserData: 0, + FpNext: uintptr(0), + FxSFunc: 0, + FxFinalize: uintptr(0), + FxValue: uintptr(0), + FxInverse: uintptr(0), + FzName: ts + 15997 /* "like" */, Fu: struct{ FpHash uintptr }{}}, + { + FnArg: int8(3), + FfuncFlags: (U32((0x0800 | 1) | 0x0004)), + FpUserData: 0, + FpNext: uintptr(0), + FxSFunc: 0, + FxFinalize: uintptr(0), + FxValue: uintptr(0), + FxInverse: uintptr(0), + FzName: ts + 15997 /* "like" */, Fu: struct{ FpHash uintptr }{}}, + { + FnArg: int8(1), + FfuncFlags: (U32((0x0800 | 1) | (0 * 0x0020))), + FpUserData: uintptr(int64(0)), + FpNext: uintptr(0), + FxSFunc: uintptr(0), + FxFinalize: uintptr(0), + FxValue: uintptr(0), + FxInverse: uintptr(0), + FzName: ts + 16442 /* "coalesce" */, Fu: struct{ FpHash uintptr }{}}, + { + FnArg: int8(0), + FfuncFlags: (U32((0x0800 | 1) | (0 * 0x0020))), + FpUserData: uintptr(int64(0)), + FpNext: uintptr(0), + FxSFunc: uintptr(0), + FxFinalize: uintptr(0), + FxValue: uintptr(0), + FxInverse: uintptr(0), + FzName: ts + 16442 /* "coalesce" */, Fu: struct{ FpHash uintptr }{}}, + { + FnArg: int8(-1), + FfuncFlags: (U32(((1 | 0x00400000) | 0x0800) | (0))), + FpUserData: uintptr(int64(0)), + FpNext: uintptr(0), + FxSFunc: 0, + FxFinalize: uintptr(0), + FxValue: uintptr(0), + FxInverse: uintptr(0), + FzName: ts + 16442 /* "coalesce" */, Fu: struct{ FpHash uintptr }{}}, + { + FnArg: int8(3), + FfuncFlags: (U32(((1 | 0x00400000) | 0x0800) | (0))), + FpUserData: uintptr(int64(5)), + FpNext: uintptr(0), + FxSFunc: 0, + FxFinalize: uintptr(0), + FxValue: uintptr(0), + FxInverse: uintptr(0), + FzName: ts + 16451 /* "iif" */, Fu: struct{ FpHash uintptr }{}}, } /* sqlite3.c:118975:18 */ //************* End of func.c *********************************************** @@ -98631,7 +99915,7 @@ func Xsqlite3FkLocateIndex(tls *libc.TLS, pParse uintptr, pParent uintptr, pFKey // If zKey is NULL, then this foreign key is implicitly mapped to // the PRIMARY KEY of table pParent. The PRIMARY KEY index may be // identified by the test. - if int32(*(*uint16)(unsafe.Pointer((pIdx) + 100 /* &.idxType */))&0x3>>0) == 2 { + if (int32(*(*uint16)(unsafe.Pointer((pIdx) + 100 /* &.idxType */)) & 0x3 >> 0)) == 2 { if aiCol != 0 { var i int32 for i = 0; i < nCol; i++ { @@ -99578,8 +100862,12 @@ func fkActionTrigger(tls *libc.TLS, pParse uintptr, pTab uintptr, pFKey uintptr, } for i = 0; i < (*FKey)(unsafe.Pointer(pFKey)).FnCol; i++ { - *(*Token)(unsafe.Pointer(bp + 48 /* tOld */)) = Token{Fz: ts + 8323 /* "old" */, Fn: uint32(3)} // Literal "old" token - *(*Token)(unsafe.Pointer(bp + 64 /* tNew */)) = Token{Fz: ts + 8319 /* "new" */, Fn: uint32(3)} // Literal "new" token + *(*Token)(unsafe.Pointer(bp + 48 /* tOld */)) = Token{ + Fz: ts + 8323, /* "old" */ + Fn: uint32(3)} // Literal "old" token + *(*Token)(unsafe.Pointer(bp + 64 /* tNew */)) = Token{ + Fz: ts + 8319, /* "new" */ + Fn: uint32(3)} // Literal "new" token // var tFromCol Token at bp+32, 16 // Name of column in child table // var tToCol Token at bp+16, 16 @@ -100219,18 +101507,66 @@ func Xsqlite3AutoincrementBegin(tls *libc.TLS, pParse uintptr) { /* sqlite3.c:12 var iLn1 int32 = 0 /* sqlite3.c:120957:22 */ var autoInc = [12]VdbeOpList{ - /* 0 */ {Fopcode: U8(72), Fp1: int8(0), Fp2: int8(0), Fp3: int8(0)}, - /* 1 */ {Fopcode: U8(37), Fp1: int8(0), Fp2: int8(10), Fp3: int8(0)}, - /* 2 */ {Fopcode: U8(89), Fp1: int8(0), Fp2: int8(0), Fp3: int8(0)}, - /* 3 */ {Fopcode: U8(52), Fp1: int8(0), Fp2: int8(9), Fp3: int8(0)}, - /* 4 */ {Fopcode: U8(127), Fp1: int8(0), Fp2: int8(0), Fp3: int8(0)}, - /* 5 */ {Fopcode: U8(89), Fp1: int8(0), Fp2: int8(1), Fp3: int8(0)}, - /* 6 */ {Fopcode: U8(82), Fp1: int8(0), Fp2: int8(0), Fp3: int8(0)}, - /* 7 */ {Fopcode: U8(77), Fp1: int8(0), Fp2: int8(0), Fp3: int8(0)}, - /* 8 */ {Fopcode: U8(11), Fp1: int8(0), Fp2: int8(11), Fp3: int8(0)}, - /* 9 */ {Fopcode: U8(5), Fp1: int8(0), Fp2: int8(2), Fp3: int8(0)}, - /* 10 */ {Fopcode: U8(69), Fp1: int8(0), Fp2: int8(0), Fp3: int8(0)}, - /* 11 */ {Fopcode: U8(116), Fp1: int8(0), Fp2: int8(0), Fp3: int8(0)}, + /* 0 */ { + Fopcode: U8(72), + Fp1: int8(0), + Fp2: int8(0), + Fp3: int8(0)}, + /* 1 */ { + Fopcode: U8(37), + Fp1: int8(0), + Fp2: int8(10), + Fp3: int8(0)}, + /* 2 */ { + Fopcode: U8(89), + Fp1: int8(0), + Fp2: int8(0), + Fp3: int8(0)}, + /* 3 */ { + Fopcode: U8(52), + Fp1: int8(0), + Fp2: int8(9), + Fp3: int8(0)}, + /* 4 */ { + Fopcode: U8(127), + Fp1: int8(0), + Fp2: int8(0), + Fp3: int8(0)}, + /* 5 */ { + Fopcode: U8(89), + Fp1: int8(0), + Fp2: int8(1), + Fp3: int8(0)}, + /* 6 */ { + Fopcode: U8(82), + Fp1: int8(0), + Fp2: int8(0), + Fp3: int8(0)}, + /* 7 */ { + Fopcode: U8(77), + Fp1: int8(0), + Fp2: int8(0), + Fp3: int8(0)}, + /* 8 */ { + Fopcode: U8(11), + Fp1: int8(0), + Fp2: int8(11), + Fp3: int8(0)}, + /* 9 */ { + Fopcode: U8(5), + Fp1: int8(0), + Fp2: int8(2), + Fp3: int8(0)}, + /* 10 */ { + Fopcode: U8(69), + Fp1: int8(0), + Fp2: int8(0), + Fp3: int8(0)}, + /* 11 */ { + Fopcode: U8(116), + Fp1: int8(0), + Fp2: int8(0), + Fp3: int8(0)}, } /* sqlite3.c:120958:29 */ // Update the maximum rowid for an autoincrement calculation. @@ -100283,11 +101619,31 @@ func autoIncrementEnd(tls *libc.TLS, pParse uintptr) { /* sqlite3.c:121017:29: * var iLn2 int32 = 0 /* sqlite3.c:121024:22 */ var autoIncEnd = [5]VdbeOpList{ - /* 0 */ {Fopcode: U8(51), Fp1: int8(0), Fp2: int8(2), Fp3: int8(0)}, - /* 1 */ {Fopcode: U8(120), Fp1: int8(0), Fp2: int8(0), Fp3: int8(0)}, - /* 2 */ {Fopcode: U8(91), Fp1: int8(0), Fp2: int8(2), Fp3: int8(0)}, - /* 3 */ {Fopcode: U8(121), Fp1: int8(0), Fp2: int8(0), Fp3: int8(0)}, - /* 4 */ {Fopcode: U8(116), Fp1: int8(0), Fp2: int8(0), Fp3: int8(0)}, + /* 0 */ { + Fopcode: U8(51), + Fp1: int8(0), + Fp2: int8(2), + Fp3: int8(0)}, + /* 1 */ { + Fopcode: U8(120), + Fp1: int8(0), + Fp2: int8(0), + Fp3: int8(0)}, + /* 2 */ { + Fopcode: U8(91), + Fp1: int8(0), + Fp2: int8(2), + Fp3: int8(0)}, + /* 3 */ { + Fopcode: U8(121), + Fp1: int8(0), + Fp2: int8(0), + Fp3: int8(0)}, + /* 4 */ { + Fopcode: U8(116), + Fp1: int8(0), + Fp2: int8(0), + Fp3: int8(0)}, } /* sqlite3.c:121025:29 */ func Xsqlite3AutoincrementEnd(tls *libc.TLS, pParse uintptr) { /* sqlite3.c:121054:21: */ if (*Parse)(unsafe.Pointer(pParse)).FpAinc != 0 { @@ -102118,7 +103474,7 @@ __1: var addrJump int32 = (Xsqlite3VdbeCurrentAddr(tls, v) + int32((*Index)(unsafe.Pointer(pPk)).FnKeyCol)) var op int32 = 52 var regCmp int32 = func() int32 { - if int32(*(*uint16)(unsafe.Pointer((pIdx) + 100 /* &.idxType */))&0x3>>0) == 2 { + if (int32(*(*uint16)(unsafe.Pointer((pIdx) + 100 /* &.idxType */)) & 0x3 >> 0)) == 2 { return regIdx } return regR @@ -102342,7 +103698,7 @@ __1: } return uint8(0) }() - if (int32(*(*uint16)(unsafe.Pointer((pIdx) + 100 /* &.idxType */))&0x3>>0) == 2) && !(((*Table)(unsafe.Pointer((pTab))).FtabFlags & U32(0x0080)) == U32(0)) { + if ((int32(*(*uint16)(unsafe.Pointer((pIdx) + 100 /* &.idxType */)) & 0x3 >> 0)) == 2) && !(((*Table)(unsafe.Pointer((pTab))).FtabFlags & U32(0x0080)) == U32(0)) { pik_flags = U8(int32(pik_flags) | (0x01)) pik_flags = U8(int32(pik_flags) | (update_flags & 0x02)) @@ -102358,7 +103714,7 @@ __1: Xsqlite3VdbeAddOp4Int(tls, v, 130, (iIdxCur + i), *(*int32)(unsafe.Pointer(aRegIdx + uintptr(i)*4)), (*(*int32)(unsafe.Pointer(aRegIdx + uintptr(i)*4)) + 1), func() int32 { - if uint32(int32(*(*uint16)(unsafe.Pointer(pIdx + 100 /* &.uniqNotNull */))&0x8>>3)) != 0 { + if (uint32(int32(*(*uint16)(unsafe.Pointer(pIdx + 100 /* &.uniqNotNull */)) & 0x8 >> 3))) != 0 { return int32((*Index)(unsafe.Pointer(pIdx)).FnKeyCol) } return int32((*Index)(unsafe.Pointer(pIdx)).FnColumn) @@ -102462,7 +103818,7 @@ __1: { var iIdxCur int32 = libc.PostIncInt32(&iBase, 1) - if (int32(*(*uint16)(unsafe.Pointer((pIdx) + 100 /* &.idxType */))&0x3>>0) == 2) && !(((*Table)(unsafe.Pointer((pTab))).FtabFlags & U32(0x0080)) == U32(0)) { + if ((int32(*(*uint16)(unsafe.Pointer((pIdx) + 100 /* &.idxType */)) & 0x3 >> 0)) == 2) && !(((*Table)(unsafe.Pointer((pTab))).FtabFlags & U32(0x0080)) == U32(0)) { if piDataCur != 0 { *(*int32)(unsafe.Pointer(piDataCur)) = iIdxCur } @@ -102870,7 +104226,7 @@ func xferOptimization(tls *libc.TLS, pParse uintptr, pDest uintptr, pSelect uint idxInsFlags = U8(0x10) Xsqlite3VdbeAddOp1(tls, v, 129, iDest) } - } else if !(((*Table)(unsafe.Pointer((pSrc))).FtabFlags & U32(0x0080)) == U32(0)) && (int32(*(*uint16)(unsafe.Pointer(pDestIdx + 100 /* &.idxType */))&0x3>>0) == 2) { + } else if !(((*Table)(unsafe.Pointer((pSrc))).FtabFlags & U32(0x0080)) == U32(0)) && ((int32(*(*uint16)(unsafe.Pointer(pDestIdx + 100 /* &.idxType */)) & 0x3 >> 0)) == 2) { idxInsFlags = U8(int32(idxInsFlags) | (0x01)) } Xsqlite3VdbeAddOp3(tls, v, 126, iSrc, regData, 1) @@ -103168,65 +104524,317 @@ type Sqlite3_loadext_entry = uintptr /* sqlite3.c:123939:13 */ // intend to use is supported by the library. Extensions should // also check to make sure that the pointer to the function is // not NULL before calling it. -var sqlite3Apis = Sqlite3_api_routines{Faggregate_context: 0, Faggregate_count: 0, Fbind_blob: 0, Fbind_double: 0, Fbind_int: 0, Fbind_int64: 0, Fbind_null: 0, Fbind_parameter_count: 0, Fbind_parameter_index: 0, Fbind_parameter_name: 0, Fbind_text: 0, Fbind_text16: 0, Fbind_value: 0, Fbusy_handler: 0, Fbusy_timeout: 0, Fchanges: 0, Fclose: 0, Fcollation_needed: 0, Fcollation_needed16: 0, Fcolumn_blob: 0, Fcolumn_bytes: 0, Fcolumn_bytes16: 0, Fcolumn_count: 0, Fcolumn_database_name: 0, Fcolumn_database_name16: 0, Fcolumn_decltype: 0, Fcolumn_decltype16: 0, Fcolumn_double: 0, Fcolumn_int: 0, Fcolumn_int64: 0, Fcolumn_name: 0, Fcolumn_name16: 0, Fcolumn_origin_name: 0, Fcolumn_origin_name16: 0, Fcolumn_table_name: 0, Fcolumn_table_name16: 0, Fcolumn_text: 0, Fcolumn_text16: 0, Fcolumn_type: 0, Fcolumn_value: 0, Fcommit_hook: 0, Fcomplete: 0, Fcomplete16: 0, Fcreate_collation: 0, Fcreate_collation16: 0, Fcreate_function: 0, Fcreate_function16: 0, Fcreate_module: 0, Fdata_count: 0, Fdb_handle: 0, Fdeclare_vtab: 0, Fenable_shared_cache: 0, Ferrcode: 0, Ferrmsg: 0, Ferrmsg16: 0, Fexec: 0, Fexpired: 0, Ffinalize: 0, Ffree: 0, Ffree_table: 0, Fget_autocommit: 0, Fget_auxdata: 0, Fget_table: 0, Fglobal_recover: uintptr(0), Finterruptx: // Was sqlite3_global_recover(), but that function is deprecated -0, Flast_insert_rowid: 0, Flibversion: 0, Flibversion_number: 0, Fmalloc: 0, Fmprintf: 0, Fopen64: 0, Fopen16: 0, Fprepare: 0, Fprepare16: 0, Fprofile: 0, Fprogress_handler: 0, Frealloc: 0, Freset: 0, Fresult_blob: 0, Fresult_double: 0, Fresult_error: 0, Fresult_error16: 0, Fresult_int: 0, Fresult_int64: 0, Fresult_null: 0, Fresult_text: 0, Fresult_text16: 0, Fresult_text16be: 0, Fresult_text16le: 0, Fresult_value: 0, Frollback_hook: 0, Fset_authorizer: 0, Fset_auxdata: 0, Fxsnprintf: 0, Fstep: 0, Ftable_column_metadata: 0, Fthread_cleanup: 0, Ftotal_changes: 0, Ftrace: 0, Ftransfer_bindings: 0, Fupdate_hook: 0, Fuser_data: 0, Fvalue_blob: 0, Fvalue_bytes: 0, Fvalue_bytes16: 0, Fvalue_double: 0, Fvalue_int: 0, Fvalue_int64: 0, Fvalue_numeric_type: 0, Fvalue_text: 0, Fvalue_text16: 0, Fvalue_text16be: 0, Fvalue_text16le: 0, Fvalue_type: 0, Fvmprintf: 0, Foverload_function: -// The original API set ends here. All extensions can call any -// of the APIs above provided that the pointer is not NULL. But -// before calling APIs that follow, extension should check the -// sqlite3_libversion_number() to make sure they are dealing with -// a library that is new enough to support that API. -// -0, Fprepare_v2: - -// Added after 3.3.13 -0, Fprepare16_v2: 0, Fclear_bindings: 0, Fcreate_module_v2: - -// Added for 3.4.1 -0, Fbind_zeroblob: - -// Added for 3.5.0 -0, Fblob_bytes: 0, Fblob_close: 0, Fblob_open: 0, Fblob_read: 0, Fblob_write: 0, Fcreate_collation_v2: 0, Ffile_control: 0, Fmemory_highwater: 0, Fmemory_used: 0, Fmutex_alloc: 0, Fmutex_enter: 0, Fmutex_free: 0, Fmutex_leave: 0, Fmutex_try: 0, Fopen_v2: 0, Frelease_memory: 0, Fresult_error_nomem: 0, Fresult_error_toobig: 0, Fsleep: 0, Fsoft_heap_limit: 0, Fvfs_find: 0, Fvfs_register: 0, Fvfs_unregister: 0, Fxthreadsafe: - -// Added for 3.5.8 -0, Fresult_zeroblob: 0, Fresult_error_code: 0, Ftest_control: 0, Frandomness: 0, Fcontext_db_handle: 0, Fextended_result_codes: - -// Added for 3.6.0 -0, Flimit: 0, Fnext_stmt: 0, Fsql: 0, Fstatus: 0, Fbackup_finish: - -// Added for 3.7.4 -0, Fbackup_init: 0, Fbackup_pagecount: 0, Fbackup_remaining: 0, Fbackup_step: 0, Fcompileoption_get: 0, Fcompileoption_used: 0, Fcreate_function_v2: 0, Fdb_config: 0, Fdb_mutex: 0, Fdb_status: 0, Fextended_errcode: 0, Flog: 0, Fsoft_heap_limit64: 0, Fsourceid: 0, Fstmt_status: 0, Fstrnicmp: 0, Funlock_notify: 0, Fwal_autocheckpoint: 0, Fwal_checkpoint: 0, Fwal_hook: 0, Fblob_reopen: 0, Fvtab_config: 0, Fvtab_on_conflict: 0, Fclose_v2: 0, Fdb_filename: 0, Fdb_readonly: 0, Fdb_release_memory: 0, Ferrstr: 0, Fstmt_busy: 0, Fstmt_readonly: 0, Fstricmp: 0, Furi_boolean: 0, Furi_int64: 0, Furi_parameter: 0, Fxvsnprintf: 0, Fwal_checkpoint_v2: 0, Fauto_extension: -// Version 3.8.7 and later -0, Fbind_blob64: 0, Fbind_text64: 0, Fcancel_auto_extension: 0, Fload_extension: 0, Fmalloc64: 0, Fmsize: 0, Frealloc64: 0, Freset_auto_extension: 0, Fresult_blob64: 0, Fresult_text64: 0, Fstrglob: 0, Fvalue_dup: -// Version 3.8.11 and later -0, Fvalue_free: 0, Fresult_zeroblob64: 0, Fbind_zeroblob64: 0, Fvalue_subtype: -// Version 3.9.0 and later -0, Fresult_subtype: 0, Fstatus64: -// Version 3.10.0 and later -0, Fstrlike: 0, Fdb_cacheflush: 0, Fsystem_errno: -// Version 3.12.0 and later -0, Ftrace_v2: -// Version 3.14.0 and later -0, Fexpanded_sql: 0, Fset_last_insert_rowid: -// Version 3.18.0 and later -0, Fprepare_v3: -// Version 3.20.0 and later -0, Fprepare16_v3: 0, Fbind_pointer: 0, Fresult_pointer: 0, Fvalue_pointer: 0, Fvtab_nochange: -// Version 3.22.0 and later -0, Fvalue_nochange: 0, Fvtab_collation: 0, Fkeyword_count: -// Version 3.24.0 and later -0, Fkeyword_name: 0, Fkeyword_check: 0, Fstr_new: 0, Fstr_finish: 0, Fstr_appendf: 0, Fstr_vappendf: 0, Fstr_append: 0, Fstr_appendall: 0, Fstr_appendchar: 0, Fstr_reset: 0, Fstr_errcode: 0, Fstr_length: 0, Fstr_value: 0, Fcreate_window_function: -// Version 3.25.0 and later -0, Fnormalized_sql: -// Version 3.26.0 and later -uintptr(0), Fstmt_isexplain: -// Version 3.28.0 and later -0, Fvalue_frombind: 0, Fdrop_modules: -// Version 3.30.0 and later -0, Fhard_heap_limit64: -// Version 3.31.0 and later -0, Furi_key: 0, Ffilename_database: 0, Ffilename_journal: 0, Ffilename_wal: 0, Fcreate_filename: -// Version 3.32.0 and later -0, Ffree_filename: 0, Fdatabase_file_object: 0, +var sqlite3Apis = Sqlite3_api_routines{ + Faggregate_context: 0, + Faggregate_count: 0, + Fbind_blob: 0, + Fbind_double: 0, + Fbind_int: 0, + Fbind_int64: 0, + Fbind_null: 0, + Fbind_parameter_count: 0, + Fbind_parameter_index: 0, + Fbind_parameter_name: 0, + Fbind_text: 0, + Fbind_text16: 0, + Fbind_value: 0, + Fbusy_handler: 0, + Fbusy_timeout: 0, + Fchanges: 0, + Fclose: 0, + Fcollation_needed: 0, + Fcollation_needed16: 0, + Fcolumn_blob: 0, + Fcolumn_bytes: 0, + Fcolumn_bytes16: 0, + Fcolumn_count: 0, + Fcolumn_database_name: 0, + Fcolumn_database_name16: 0, + Fcolumn_decltype: 0, + Fcolumn_decltype16: 0, + Fcolumn_double: 0, + Fcolumn_int: 0, + Fcolumn_int64: 0, + Fcolumn_name: 0, + Fcolumn_name16: 0, + Fcolumn_origin_name: 0, + Fcolumn_origin_name16: 0, + Fcolumn_table_name: 0, + Fcolumn_table_name16: 0, + Fcolumn_text: 0, + Fcolumn_text16: 0, + Fcolumn_type: 0, + Fcolumn_value: 0, + Fcommit_hook: 0, + Fcomplete: 0, + Fcomplete16: 0, + Fcreate_collation: 0, + Fcreate_collation16: 0, + Fcreate_function: 0, + Fcreate_function16: 0, + Fcreate_module: 0, + Fdata_count: 0, + Fdb_handle: 0, + Fdeclare_vtab: 0, + Fenable_shared_cache: 0, + Ferrcode: 0, + Ferrmsg: 0, + Ferrmsg16: 0, + Fexec: 0, + Fexpired: 0, + Ffinalize: 0, + Ffree: 0, + Ffree_table: 0, + Fget_autocommit: 0, + Fget_auxdata: 0, + Fget_table: 0, + Fglobal_recover: uintptr(0), + Finterruptx:// Was sqlite3_global_recover(), but that function is deprecated + 0, + Flast_insert_rowid: 0, + Flibversion: 0, + Flibversion_number: 0, + Fmalloc: 0, + Fmprintf: 0, + Fopen64: 0, + Fopen16: 0, + Fprepare: 0, + Fprepare16: 0, + Fprofile: 0, + Fprogress_handler: 0, + Frealloc: 0, + Freset: 0, + Fresult_blob: 0, + Fresult_double: 0, + Fresult_error: 0, + Fresult_error16: 0, + Fresult_int: 0, + Fresult_int64: 0, + Fresult_null: 0, + Fresult_text: 0, + Fresult_text16: 0, + Fresult_text16be: 0, + Fresult_text16le: 0, + Fresult_value: 0, + Frollback_hook: 0, + Fset_authorizer: 0, + Fset_auxdata: 0, + Fxsnprintf: 0, + Fstep: 0, + Ftable_column_metadata: 0, + Fthread_cleanup: 0, + Ftotal_changes: 0, + Ftrace: 0, + Ftransfer_bindings: 0, + Fupdate_hook: 0, + Fuser_data: 0, + Fvalue_blob: 0, + Fvalue_bytes: 0, + Fvalue_bytes16: 0, + Fvalue_double: 0, + Fvalue_int: 0, + Fvalue_int64: 0, + Fvalue_numeric_type: 0, + Fvalue_text: 0, + Fvalue_text16: 0, + Fvalue_text16be: 0, + Fvalue_text16le: 0, + Fvalue_type: 0, + Fvmprintf: 0, + Foverload_function: + // The original API set ends here. All extensions can call any + // of the APIs above provided that the pointer is not NULL. But + // before calling APIs that follow, extension should check the + // sqlite3_libversion_number() to make sure they are dealing with + // a library that is new enough to support that API. + // + 0, + Fprepare_v2: + + // Added after 3.3.13 + 0, + Fprepare16_v2: 0, + Fclear_bindings: 0, + Fcreate_module_v2: + + // Added for 3.4.1 + 0, + Fbind_zeroblob: + + // Added for 3.5.0 + 0, + Fblob_bytes: 0, + Fblob_close: 0, + Fblob_open: 0, + Fblob_read: 0, + Fblob_write: 0, + Fcreate_collation_v2: 0, + Ffile_control: 0, + Fmemory_highwater: 0, + Fmemory_used: 0, + Fmutex_alloc: 0, + Fmutex_enter: 0, + Fmutex_free: 0, + Fmutex_leave: 0, + Fmutex_try: 0, + Fopen_v2: 0, + Frelease_memory: 0, + Fresult_error_nomem: 0, + Fresult_error_toobig: 0, + Fsleep: 0, + Fsoft_heap_limit: 0, + Fvfs_find: 0, + Fvfs_register: 0, + Fvfs_unregister: 0, + Fxthreadsafe: + + // Added for 3.5.8 + 0, + Fresult_zeroblob: 0, + Fresult_error_code: 0, + Ftest_control: 0, + Frandomness: 0, + Fcontext_db_handle: 0, + Fextended_result_codes: + + // Added for 3.6.0 + 0, + Flimit: 0, + Fnext_stmt: 0, + Fsql: 0, + Fstatus: 0, + Fbackup_finish: + + // Added for 3.7.4 + 0, + Fbackup_init: 0, + Fbackup_pagecount: 0, + Fbackup_remaining: 0, + Fbackup_step: 0, + Fcompileoption_get: 0, + Fcompileoption_used: 0, + Fcreate_function_v2: 0, + Fdb_config: 0, + Fdb_mutex: 0, + Fdb_status: 0, + Fextended_errcode: 0, + Flog: 0, + Fsoft_heap_limit64: 0, + Fsourceid: 0, + Fstmt_status: 0, + Fstrnicmp: 0, + Funlock_notify: 0, + Fwal_autocheckpoint: 0, + Fwal_checkpoint: 0, + Fwal_hook: 0, + Fblob_reopen: 0, + Fvtab_config: 0, + Fvtab_on_conflict: 0, + Fclose_v2: 0, + Fdb_filename: 0, + Fdb_readonly: 0, + Fdb_release_memory: 0, + Ferrstr: 0, + Fstmt_busy: 0, + Fstmt_readonly: 0, + Fstricmp: 0, + Furi_boolean: 0, + Furi_int64: 0, + Furi_parameter: 0, + Fxvsnprintf: 0, + Fwal_checkpoint_v2: 0, + Fauto_extension: + // Version 3.8.7 and later + 0, + Fbind_blob64: 0, + Fbind_text64: 0, + Fcancel_auto_extension: 0, + Fload_extension: 0, + Fmalloc64: 0, + Fmsize: 0, + Frealloc64: 0, + Freset_auto_extension: 0, + Fresult_blob64: 0, + Fresult_text64: 0, + Fstrglob: 0, + Fvalue_dup: + // Version 3.8.11 and later + 0, + Fvalue_free: 0, + Fresult_zeroblob64: 0, + Fbind_zeroblob64: 0, + Fvalue_subtype: + // Version 3.9.0 and later + 0, + Fresult_subtype: 0, + Fstatus64: + // Version 3.10.0 and later + 0, + Fstrlike: 0, + Fdb_cacheflush: 0, + Fsystem_errno: + // Version 3.12.0 and later + 0, + Ftrace_v2: + // Version 3.14.0 and later + 0, + Fexpanded_sql: 0, + Fset_last_insert_rowid: + // Version 3.18.0 and later + 0, + Fprepare_v3: + // Version 3.20.0 and later + 0, + Fprepare16_v3: 0, + Fbind_pointer: 0, + Fresult_pointer: 0, + Fvalue_pointer: 0, + Fvtab_nochange: + // Version 3.22.0 and later + 0, + Fvalue_nochange: 0, + Fvtab_collation: 0, + Fkeyword_count: + // Version 3.24.0 and later + 0, + Fkeyword_name: 0, + Fkeyword_check: 0, + Fstr_new: 0, + Fstr_finish: 0, + Fstr_appendf: 0, + Fstr_vappendf: 0, + Fstr_append: 0, + Fstr_appendall: 0, + Fstr_appendchar: 0, + Fstr_reset: 0, + Fstr_errcode: 0, + Fstr_length: 0, + Fstr_value: 0, + Fcreate_window_function: + // Version 3.25.0 and later + 0, + Fnormalized_sql: + // Version 3.26.0 and later + uintptr(0), + Fstmt_isexplain: + // Version 3.28.0 and later + 0, + Fvalue_frombind: 0, + Fdrop_modules: + // Version 3.30.0 and later + 0, + Fhard_heap_limit64: + // Version 3.31.0 and later + 0, + Furi_key: 0, + Ffilename_database: 0, + Ffilename_journal: 0, + Ffilename_wal: 0, + Fcreate_filename: + // Version 3.32.0 and later + 0, + Ffree_filename: 0, + Fdatabase_file_object: 0, } /* sqlite3.c:124371:35 */ // True if x is the directory separator character @@ -103432,8 +105040,8 @@ type sqlite3AutoExtList = struct { // // This list is shared across threads. The SQLITE_MUTEX_STATIC_MAIN // mutex must be held while accessing this list. -type Sqlite3AutoExtList = sqlite3AutoExtList /* sqlite3.c:124933:35 */ -var sqlite3Autoext = sqlite3AutoExtList{FnExt: U32(0), FaExt: uintptr(0)} /* sqlite3.c:124937:3 */ +type Sqlite3AutoExtList = sqlite3AutoExtList /* sqlite3.c:124933:35 */ +var sqlite3Autoext = sqlite3AutoExtList{} /* sqlite3.c:124937:3 */ // The "wsdAutoext" macro will resolve to the autoextension // state vector. If writable static data is unsupported on the target, @@ -103663,336 +105271,732 @@ type PragmaName1 = struct { // Definitions of all built-in pragmas type PragmaName = PragmaName1 /* sqlite3.c:125259:3 */ var aPragmaName = [66]PragmaName{ - {FzName: /* zName: */ ts + 17339 /* "analysis_limit" */, FePragTyp: - /* ePragTyp: */ U8(1), FmPragFlg: - /* ePragFlg: */ U8(0x10), FiPragCName: - /* ColNames: */ U8(0), FnPragCName: U8(0), FiArg: - /* iArg: */ uint64(0)}, - {FzName: /* zName: */ ts + 17354 /* "application_id" */, FePragTyp: - /* ePragTyp: */ U8(2), FmPragFlg: - /* ePragFlg: */ (U8(0x04 | 0x10)), FiPragCName: - /* ColNames: */ U8(0), FnPragCName: U8(0), FiArg: - /* iArg: */ uint64(8)}, - {FzName: /* zName: */ ts + 17369 /* "auto_vacuum" */, FePragTyp: - /* ePragTyp: */ U8(3), FmPragFlg: - /* ePragFlg: */ (U8(((0x01 | 0x10) | 0x80) | 0x04)), FiPragCName: - /* ColNames: */ U8(0), FnPragCName: U8(0), FiArg: - /* iArg: */ uint64(0)}, - {FzName: /* zName: */ ts + 17381 /* "automatic_index" */, FePragTyp: - /* ePragTyp: */ U8(4), FmPragFlg: - /* ePragFlg: */ (U8(0x10 | 0x04)), FiPragCName: - /* ColNames: */ U8(0), FnPragCName: U8(0), FiArg: - /* iArg: */ uint64(0x00008000)}, - {FzName: /* zName: */ ts + 17397 /* "busy_timeout" */, FePragTyp: - /* ePragTyp: */ U8(5), FmPragFlg: - /* ePragFlg: */ U8(0x10), FiPragCName: - /* ColNames: */ U8(50), FnPragCName: U8(1), FiArg: - /* iArg: */ uint64(0)}, - {FzName: /* zName: */ ts + 17320 /* "cache_size" */, FePragTyp: - /* ePragTyp: */ U8(6), FmPragFlg: - /* ePragFlg: */ (U8(((0x01 | 0x10) | 0x80) | 0x04)), FiPragCName: - /* ColNames: */ U8(0), FnPragCName: U8(0), FiArg: - /* iArg: */ uint64(0)}, - {FzName: /* zName: */ ts + 17410 /* "cache_spill" */, FePragTyp: - /* ePragTyp: */ U8(7), FmPragFlg: - /* ePragFlg: */ (U8((0x10 | 0x80) | 0x04)), FiPragCName: - /* ColNames: */ U8(0), FnPragCName: U8(0), FiArg: - /* iArg: */ uint64(0)}, - {FzName: /* zName: */ ts + 17422 /* "case_sensitive_l..." */, FePragTyp: - /* ePragTyp: */ U8(8), FmPragFlg: - /* ePragFlg: */ U8(0x02), FiPragCName: - /* ColNames: */ U8(0), FnPragCName: U8(0), FiArg: - /* iArg: */ uint64(0)}, - {FzName: /* zName: */ ts + 17442 /* "cell_size_check" */, FePragTyp: - /* ePragTyp: */ U8(4), FmPragFlg: - /* ePragFlg: */ (U8(0x10 | 0x04)), FiPragCName: - /* ColNames: */ U8(0), FnPragCName: U8(0), FiArg: - /* iArg: */ uint64(0x00200000)}, - {FzName: /* zName: */ ts + 17458 /* "checkpoint_fullf..." */, FePragTyp: - /* ePragTyp: */ U8(4), FmPragFlg: - /* ePragFlg: */ (U8(0x10 | 0x04)), FiPragCName: - /* ColNames: */ U8(0), FnPragCName: U8(0), FiArg: - /* iArg: */ uint64(0x00000010)}, - {FzName: /* zName: */ ts + 17479 /* "collation_list" */, FePragTyp: - /* ePragTyp: */ U8(9), FmPragFlg: - /* ePragFlg: */ U8(0x10), FiPragCName: - /* ColNames: */ U8(32), FnPragCName: U8(2), FiArg: - /* iArg: */ uint64(0)}, - {FzName: /* zName: */ ts + 17494 /* "compile_options" */, FePragTyp: - /* ePragTyp: */ U8(10), FmPragFlg: - /* ePragFlg: */ U8(0x10), FiPragCName: - /* ColNames: */ U8(0), FnPragCName: U8(0), FiArg: - /* iArg: */ uint64(0)}, - {FzName: /* zName: */ ts + 17510 /* "count_changes" */, FePragTyp: - /* ePragTyp: */ U8(4), FmPragFlg: - /* ePragFlg: */ (U8(0x10 | 0x04)), FiPragCName: - /* ColNames: */ U8(0), FnPragCName: U8(0), FiArg: - /* iArg: */ (U64((uint64(0x00001))) << 32)}, - {FzName: /* zName: */ ts + 17524 /* "data_version" */, FePragTyp: - /* ePragTyp: */ U8(2), FmPragFlg: - /* ePragFlg: */ (U8(0x08 | 0x10)), FiPragCName: - /* ColNames: */ U8(0), FnPragCName: U8(0), FiArg: - /* iArg: */ uint64(15)}, - {FzName: /* zName: */ ts + 17537 /* "database_list" */, FePragTyp: - /* ePragTyp: */ U8(12), FmPragFlg: - /* ePragFlg: */ (U8(0x01 | 0x10)), FiPragCName: - /* ColNames: */ U8(41), FnPragCName: U8(3), FiArg: - /* iArg: */ uint64(0)}, - {FzName: /* zName: */ ts + 17551 /* "default_cache_si..." */, FePragTyp: - /* ePragTyp: */ U8(13), FmPragFlg: - /* ePragFlg: */ (U8(((0x01 | 0x10) | 0x80) | 0x04)), FiPragCName: - /* ColNames: */ U8(49), FnPragCName: U8(1), FiArg: - /* iArg: */ uint64(0)}, - {FzName: /* zName: */ ts + 17570 /* "defer_foreign_ke..." */, FePragTyp: - /* ePragTyp: */ U8(4), FmPragFlg: - /* ePragFlg: */ (U8(0x10 | 0x04)), FiPragCName: - /* ColNames: */ U8(0), FnPragCName: U8(0), FiArg: - /* iArg: */ uint64(0x00080000)}, - {FzName: /* zName: */ ts + 17589 /* "empty_result_cal..." */, FePragTyp: - /* ePragTyp: */ U8(4), FmPragFlg: - /* ePragFlg: */ (U8(0x10 | 0x04)), FiPragCName: - /* ColNames: */ U8(0), FnPragCName: U8(0), FiArg: - /* iArg: */ uint64(0x00000100)}, - {FzName: /* zName: */ ts + 17612 /* "encoding" */, FePragTyp: - /* ePragTyp: */ U8(14), FmPragFlg: - /* ePragFlg: */ (U8(0x10 | 0x04)), FiPragCName: - /* ColNames: */ U8(0), FnPragCName: U8(0), FiArg: - /* iArg: */ uint64(0)}, - {FzName: /* zName: */ ts + 17621 /* "foreign_key_chec..." */, FePragTyp: - /* ePragTyp: */ U8(15), FmPragFlg: - /* ePragFlg: */ (U8(((0x01 | 0x10) | 0x20) | 0x40)), FiPragCName: - /* ColNames: */ U8(37), FnPragCName: U8(4), FiArg: - /* iArg: */ uint64(0)}, - {FzName: /* zName: */ ts + 17639 /* "foreign_key_list" */, FePragTyp: - /* ePragTyp: */ U8(16), FmPragFlg: - /* ePragFlg: */ (U8((0x01 | 0x20) | 0x40)), FiPragCName: - /* ColNames: */ U8(0), FnPragCName: U8(8), FiArg: - /* iArg: */ uint64(0)}, - {FzName: /* zName: */ ts + 17656 /* "foreign_keys" */, FePragTyp: - /* ePragTyp: */ U8(4), FmPragFlg: - /* ePragFlg: */ (U8(0x10 | 0x04)), FiPragCName: - /* ColNames: */ U8(0), FnPragCName: U8(0), FiArg: - /* iArg: */ uint64(0x00004000)}, - {FzName: /* zName: */ ts + 17669 /* "freelist_count" */, FePragTyp: - /* ePragTyp: */ U8(2), FmPragFlg: - /* ePragFlg: */ (U8(0x08 | 0x10)), FiPragCName: - /* ColNames: */ U8(0), FnPragCName: U8(0), FiArg: - /* iArg: */ uint64(0)}, - {FzName: /* zName: */ ts + 17684 /* "full_column_name..." */, FePragTyp: - /* ePragTyp: */ U8(4), FmPragFlg: - /* ePragFlg: */ (U8(0x10 | 0x04)), FiPragCName: - /* ColNames: */ U8(0), FnPragCName: U8(0), FiArg: - /* iArg: */ uint64(0x00000004)}, - {FzName: /* zName: */ ts + 17702 /* "fullfsync" */, FePragTyp: - /* ePragTyp: */ U8(4), FmPragFlg: - /* ePragFlg: */ (U8(0x10 | 0x04)), FiPragCName: - /* ColNames: */ U8(0), FnPragCName: U8(0), FiArg: - /* iArg: */ uint64(0x00000008)}, - {FzName: /* zName: */ ts + 17712 /* "function_list" */, FePragTyp: - /* ePragTyp: */ U8(17), FmPragFlg: - /* ePragFlg: */ U8(0x10), FiPragCName: - /* ColNames: */ U8(21), FnPragCName: U8(6), FiArg: - /* iArg: */ uint64(0)}, - {FzName: /* zName: */ ts + 17726 /* "hard_heap_limit" */, FePragTyp: - /* ePragTyp: */ U8(18), FmPragFlg: - /* ePragFlg: */ U8(0x10), FiPragCName: - /* ColNames: */ U8(0), FnPragCName: U8(0), FiArg: - /* iArg: */ uint64(0)}, - {FzName: /* zName: */ ts + 17742 /* "ignore_check_con..." */, FePragTyp: - /* ePragTyp: */ U8(4), FmPragFlg: - /* ePragFlg: */ (U8(0x10 | 0x04)), FiPragCName: - /* ColNames: */ U8(0), FnPragCName: U8(0), FiArg: - /* iArg: */ uint64(0x00000200)}, - {FzName: /* zName: */ ts + 17767 /* "incremental_vacu..." */, FePragTyp: - /* ePragTyp: */ U8(19), FmPragFlg: - /* ePragFlg: */ (U8(0x01 | 0x02)), FiPragCName: - /* ColNames: */ U8(0), FnPragCName: U8(0), FiArg: - /* iArg: */ uint64(0)}, - {FzName: /* zName: */ ts + 17786 /* "index_info" */, FePragTyp: - /* ePragTyp: */ U8(20), FmPragFlg: - /* ePragFlg: */ (U8((0x01 | 0x20) | 0x40)), FiPragCName: - /* ColNames: */ U8(15), FnPragCName: U8(3), FiArg: - /* iArg: */ uint64(0)}, - {FzName: /* zName: */ ts + 17797 /* "index_list" */, FePragTyp: - /* ePragTyp: */ U8(21), FmPragFlg: - /* ePragFlg: */ (U8((0x01 | 0x20) | 0x40)), FiPragCName: - /* ColNames: */ U8(32), FnPragCName: U8(5), FiArg: - /* iArg: */ uint64(0)}, - {FzName: /* zName: */ ts + 17808 /* "index_xinfo" */, FePragTyp: - /* ePragTyp: */ U8(20), FmPragFlg: - /* ePragFlg: */ (U8((0x01 | 0x20) | 0x40)), FiPragCName: - /* ColNames: */ U8(15), FnPragCName: U8(6), FiArg: - /* iArg: */ uint64(1)}, - {FzName: /* zName: */ ts + 17820 /* "integrity_check" */, FePragTyp: - /* ePragTyp: */ U8(22), FmPragFlg: - /* ePragFlg: */ (U8((0x01 | 0x10) | 0x20)), FiPragCName: - /* ColNames: */ U8(0), FnPragCName: U8(0), FiArg: - /* iArg: */ uint64(0)}, - {FzName: /* zName: */ ts + 17836 /* "journal_mode" */, FePragTyp: - /* ePragTyp: */ U8(23), FmPragFlg: - /* ePragFlg: */ (U8((0x01 | 0x10) | 0x80)), FiPragCName: - /* ColNames: */ U8(0), FnPragCName: U8(0), FiArg: - /* iArg: */ uint64(0)}, - {FzName: /* zName: */ ts + 17849 /* "journal_size_lim..." */, FePragTyp: - /* ePragTyp: */ U8(24), FmPragFlg: - /* ePragFlg: */ (U8(0x10 | 0x80)), FiPragCName: - /* ColNames: */ U8(0), FnPragCName: U8(0), FiArg: - /* iArg: */ uint64(0)}, - {FzName: /* zName: */ ts + 17868 /* "legacy_alter_tab..." */, FePragTyp: - /* ePragTyp: */ U8(4), FmPragFlg: - /* ePragFlg: */ (U8(0x10 | 0x04)), FiPragCName: - /* ColNames: */ U8(0), FnPragCName: U8(0), FiArg: - /* iArg: */ uint64(0x04000000)}, - {FzName: /* zName: */ ts + 17887 /* "lock_status" */, FePragTyp: - /* ePragTyp: */ U8(43), FmPragFlg: - /* ePragFlg: */ U8(0x10), FiPragCName: - /* ColNames: */ U8(47), FnPragCName: U8(2), FiArg: - /* iArg: */ uint64(0)}, - {FzName: /* zName: */ ts + 17899 /* "locking_mode" */, FePragTyp: - /* ePragTyp: */ U8(26), FmPragFlg: - /* ePragFlg: */ (U8(0x10 | 0x80)), FiPragCName: - /* ColNames: */ U8(0), FnPragCName: U8(0), FiArg: - /* iArg: */ uint64(0)}, - {FzName: /* zName: */ ts + 17912 /* "max_page_count" */, FePragTyp: - /* ePragTyp: */ U8(27), FmPragFlg: - /* ePragFlg: */ (U8((0x01 | 0x10) | 0x80)), FiPragCName: - /* ColNames: */ U8(0), FnPragCName: U8(0), FiArg: - /* iArg: */ uint64(0)}, - {FzName: /* zName: */ ts + 17927 /* "mmap_size" */, FePragTyp: - /* ePragTyp: */ U8(28), FmPragFlg: - /* ePragFlg: */ U8(0), FiPragCName: - /* ColNames: */ U8(0), FnPragCName: U8(0), FiArg: - /* iArg: */ uint64(0)}, - {FzName: /* zName: */ ts + 17937 /* "module_list" */, FePragTyp: - /* ePragTyp: */ U8(29), FmPragFlg: - /* ePragFlg: */ U8(0x10), FiPragCName: - /* ColNames: */ U8(9), FnPragCName: U8(1), FiArg: - /* iArg: */ uint64(0)}, - {FzName: /* zName: */ ts + 17949 /* "optimize" */, FePragTyp: - /* ePragTyp: */ U8(30), FmPragFlg: - /* ePragFlg: */ (U8(0x20 | 0x01)), FiPragCName: - /* ColNames: */ U8(0), FnPragCName: U8(0), FiArg: - /* iArg: */ uint64(0)}, - {FzName: /* zName: */ ts + 17958 /* "page_count" */, FePragTyp: - /* ePragTyp: */ U8(27), FmPragFlg: - /* ePragFlg: */ (U8((0x01 | 0x10) | 0x80)), FiPragCName: - /* ColNames: */ U8(0), FnPragCName: U8(0), FiArg: - /* iArg: */ uint64(0)}, - {FzName: /* zName: */ ts + 17969 /* "page_size" */, FePragTyp: - /* ePragTyp: */ U8(31), FmPragFlg: - /* ePragFlg: */ (U8((0x10 | 0x80) | 0x04)), FiPragCName: - /* ColNames: */ U8(0), FnPragCName: U8(0), FiArg: - /* iArg: */ uint64(0)}, - {FzName: /* zName: */ ts + 17979 /* "pragma_list" */, FePragTyp: - /* ePragTyp: */ U8(32), FmPragFlg: - /* ePragFlg: */ U8(0x10), FiPragCName: - /* ColNames: */ U8(9), FnPragCName: U8(1), FiArg: - /* iArg: */ uint64(0)}, - {FzName: /* zName: */ ts + 17991 /* "query_only" */, FePragTyp: - /* ePragTyp: */ U8(4), FmPragFlg: - /* ePragFlg: */ (U8(0x10 | 0x04)), FiPragCName: - /* ColNames: */ U8(0), FnPragCName: U8(0), FiArg: - /* iArg: */ uint64(0x00100000)}, - {FzName: /* zName: */ ts + 18002 /* "quick_check" */, FePragTyp: - /* ePragTyp: */ U8(22), FmPragFlg: - /* ePragFlg: */ (U8((0x01 | 0x10) | 0x20)), FiPragCName: - /* ColNames: */ U8(0), FnPragCName: U8(0), FiArg: - /* iArg: */ uint64(0)}, - {FzName: /* zName: */ ts + 18014 /* "read_uncommitted" */, FePragTyp: - /* ePragTyp: */ U8(4), FmPragFlg: - /* ePragFlg: */ (U8(0x10 | 0x04)), FiPragCName: - /* ColNames: */ U8(0), FnPragCName: U8(0), FiArg: - /* iArg: */ uint64(0x00000400)}, - {FzName: /* zName: */ ts + 18031 /* "recursive_trigge..." */, FePragTyp: - /* ePragTyp: */ U8(4), FmPragFlg: - /* ePragFlg: */ (U8(0x10 | 0x04)), FiPragCName: - /* ColNames: */ U8(0), FnPragCName: U8(0), FiArg: - /* iArg: */ uint64(0x00002000)}, - {FzName: /* zName: */ ts + 18050 /* "reverse_unordere..." */, FePragTyp: - /* ePragTyp: */ U8(4), FmPragFlg: - /* ePragFlg: */ (U8(0x10 | 0x04)), FiPragCName: - /* ColNames: */ U8(0), FnPragCName: U8(0), FiArg: - /* iArg: */ uint64(0x00001000)}, - {FzName: /* zName: */ ts + 18076 /* "schema_version" */, FePragTyp: - /* ePragTyp: */ U8(2), FmPragFlg: - /* ePragFlg: */ (U8(0x04 | 0x10)), FiPragCName: - /* ColNames: */ U8(0), FnPragCName: U8(0), FiArg: - /* iArg: */ uint64(1)}, - {FzName: /* zName: */ ts + 18091 /* "secure_delete" */, FePragTyp: - /* ePragTyp: */ U8(33), FmPragFlg: - /* ePragFlg: */ U8(0x10), FiPragCName: - /* ColNames: */ U8(0), FnPragCName: U8(0), FiArg: - /* iArg: */ uint64(0)}, - {FzName: /* zName: */ ts + 18105 /* "short_column_nam..." */, FePragTyp: - /* ePragTyp: */ U8(4), FmPragFlg: - /* ePragFlg: */ (U8(0x10 | 0x04)), FiPragCName: - /* ColNames: */ U8(0), FnPragCName: U8(0), FiArg: - /* iArg: */ uint64(0x00000040)}, - {FzName: /* zName: */ ts + 18124 /* "shrink_memory" */, FePragTyp: - /* ePragTyp: */ U8(34), FmPragFlg: - /* ePragFlg: */ U8(0x02), FiPragCName: - /* ColNames: */ U8(0), FnPragCName: U8(0), FiArg: - /* iArg: */ uint64(0)}, - {FzName: /* zName: */ ts + 18138 /* "soft_heap_limit" */, FePragTyp: - /* ePragTyp: */ U8(35), FmPragFlg: - /* ePragFlg: */ U8(0x10), FiPragCName: - /* ColNames: */ U8(0), FnPragCName: U8(0), FiArg: - /* iArg: */ uint64(0)}, - {FzName: /* zName: */ ts + 18154 /* "synchronous" */, FePragTyp: - /* ePragTyp: */ U8(36), FmPragFlg: - /* ePragFlg: */ (U8(((0x01 | 0x10) | 0x80) | 0x04)), FiPragCName: - /* ColNames: */ U8(0), FnPragCName: U8(0), FiArg: - /* iArg: */ uint64(0)}, - {FzName: /* zName: */ ts + 18166 /* "table_info" */, FePragTyp: - /* ePragTyp: */ U8(37), FmPragFlg: - /* ePragFlg: */ (U8((0x01 | 0x20) | 0x40)), FiPragCName: - /* ColNames: */ U8(8), FnPragCName: U8(6), FiArg: - /* iArg: */ uint64(0)}, - {FzName: /* zName: */ ts + 18177 /* "table_xinfo" */, FePragTyp: - /* ePragTyp: */ U8(37), FmPragFlg: - /* ePragFlg: */ (U8((0x01 | 0x20) | 0x40)), FiPragCName: - /* ColNames: */ U8(8), FnPragCName: U8(7), FiArg: - /* iArg: */ uint64(1)}, - {FzName: /* zName: */ ts + 18189 /* "temp_store" */, FePragTyp: - /* ePragTyp: */ U8(38), FmPragFlg: - /* ePragFlg: */ (U8(0x10 | 0x04)), FiPragCName: - /* ColNames: */ U8(0), FnPragCName: U8(0), FiArg: - /* iArg: */ uint64(0)}, - {FzName: /* zName: */ ts + 18200 /* "temp_store_direc..." */, FePragTyp: - /* ePragTyp: */ U8(39), FmPragFlg: - /* ePragFlg: */ U8(0x04), FiPragCName: - /* ColNames: */ U8(0), FnPragCName: U8(0), FiArg: - /* iArg: */ uint64(0)}, - {FzName: /* zName: */ ts + 18221 /* "threads" */, FePragTyp: - /* ePragTyp: */ U8(40), FmPragFlg: - /* ePragFlg: */ U8(0x10), FiPragCName: - /* ColNames: */ U8(0), FnPragCName: U8(0), FiArg: - /* iArg: */ uint64(0)}, - {FzName: /* zName: */ ts + 18229 /* "trusted_schema" */, FePragTyp: - /* ePragTyp: */ U8(4), FmPragFlg: - /* ePragFlg: */ (U8(0x10 | 0x04)), FiPragCName: - /* ColNames: */ U8(0), FnPragCName: U8(0), FiArg: - /* iArg: */ uint64(0x00000080)}, - {FzName: /* zName: */ ts + 18244 /* "user_version" */, FePragTyp: - /* ePragTyp: */ U8(2), FmPragFlg: - /* ePragFlg: */ (U8(0x04 | 0x10)), FiPragCName: - /* ColNames: */ U8(0), FnPragCName: U8(0), FiArg: - /* iArg: */ uint64(6)}, - {FzName: /* zName: */ ts + 18257 /* "wal_autocheckpoi..." */, FePragTyp: - /* ePragTyp: */ U8(41), FmPragFlg: - /* ePragFlg: */ U8(0), FiPragCName: - /* ColNames: */ U8(0), FnPragCName: U8(0), FiArg: - /* iArg: */ uint64(0)}, - {FzName: /* zName: */ ts + 18276 /* "wal_checkpoint" */, FePragTyp: - /* ePragTyp: */ U8(42), FmPragFlg: - /* ePragFlg: */ U8(0x01), FiPragCName: - /* ColNames: */ U8(44), FnPragCName: U8(3), FiArg: - /* iArg: */ uint64(0)}, - {FzName: /* zName: */ ts + 18291 /* "writable_schema" */, FePragTyp: - /* ePragTyp: */ U8(4), FmPragFlg: - /* ePragFlg: */ (U8(0x10 | 0x04)), FiPragCName: - /* ColNames: */ U8(0), FnPragCName: U8(0), FiArg: - /* iArg: */ (uint64(0x00000001 | 0x08000000))}, + { + FzName:/* zName: */ ts + 17339, /* "analysis_limit" */ + FePragTyp: + /* ePragTyp: */ U8(1), + FmPragFlg: + /* ePragFlg: */ U8(0x10), + FiPragCName: + /* ColNames: */ U8(0), + FnPragCName: U8(0), + FiArg: + /* iArg: */ uint64(0)}, + { + FzName:/* zName: */ ts + 17354, /* "application_id" */ + FePragTyp: + /* ePragTyp: */ U8(2), + FmPragFlg: + /* ePragFlg: */ (U8(0x04 | 0x10)), + FiPragCName: + /* ColNames: */ U8(0), + FnPragCName: U8(0), + FiArg: + /* iArg: */ uint64(8)}, + { + FzName:/* zName: */ ts + 17369, /* "auto_vacuum" */ + FePragTyp: + /* ePragTyp: */ U8(3), + FmPragFlg: + /* ePragFlg: */ (U8(((0x01 | 0x10) | 0x80) | 0x04)), + FiPragCName: + /* ColNames: */ U8(0), + FnPragCName: U8(0), + FiArg: + /* iArg: */ uint64(0)}, + { + FzName:/* zName: */ ts + 17381, /* "automatic_index" */ + FePragTyp: + /* ePragTyp: */ U8(4), + FmPragFlg: + /* ePragFlg: */ (U8(0x10 | 0x04)), + FiPragCName: + /* ColNames: */ U8(0), + FnPragCName: U8(0), + FiArg: + /* iArg: */ uint64(0x00008000)}, + { + FzName:/* zName: */ ts + 17397, /* "busy_timeout" */ + FePragTyp: + /* ePragTyp: */ U8(5), + FmPragFlg: + /* ePragFlg: */ U8(0x10), + FiPragCName: + /* ColNames: */ U8(50), + FnPragCName: U8(1), + FiArg: + /* iArg: */ uint64(0)}, + { + FzName:/* zName: */ ts + 17320, /* "cache_size" */ + FePragTyp: + /* ePragTyp: */ U8(6), + FmPragFlg: + /* ePragFlg: */ (U8(((0x01 | 0x10) | 0x80) | 0x04)), + FiPragCName: + /* ColNames: */ U8(0), + FnPragCName: U8(0), + FiArg: + /* iArg: */ uint64(0)}, + { + FzName:/* zName: */ ts + 17410, /* "cache_spill" */ + FePragTyp: + /* ePragTyp: */ U8(7), + FmPragFlg: + /* ePragFlg: */ (U8((0x10 | 0x80) | 0x04)), + FiPragCName: + /* ColNames: */ U8(0), + FnPragCName: U8(0), + FiArg: + /* iArg: */ uint64(0)}, + { + FzName:/* zName: */ ts + 17422, /* "case_sensitive_l..." */ + FePragTyp: + /* ePragTyp: */ U8(8), + FmPragFlg: + /* ePragFlg: */ U8(0x02), + FiPragCName: + /* ColNames: */ U8(0), + FnPragCName: U8(0), + FiArg: + /* iArg: */ uint64(0)}, + { + FzName:/* zName: */ ts + 17442, /* "cell_size_check" */ + FePragTyp: + /* ePragTyp: */ U8(4), + FmPragFlg: + /* ePragFlg: */ (U8(0x10 | 0x04)), + FiPragCName: + /* ColNames: */ U8(0), + FnPragCName: U8(0), + FiArg: + /* iArg: */ uint64(0x00200000)}, + { + FzName:/* zName: */ ts + 17458, /* "checkpoint_fullf..." */ + FePragTyp: + /* ePragTyp: */ U8(4), + FmPragFlg: + /* ePragFlg: */ (U8(0x10 | 0x04)), + FiPragCName: + /* ColNames: */ U8(0), + FnPragCName: U8(0), + FiArg: + /* iArg: */ uint64(0x00000010)}, + { + FzName:/* zName: */ ts + 17479, /* "collation_list" */ + FePragTyp: + /* ePragTyp: */ U8(9), + FmPragFlg: + /* ePragFlg: */ U8(0x10), + FiPragCName: + /* ColNames: */ U8(32), + FnPragCName: U8(2), + FiArg: + /* iArg: */ uint64(0)}, + { + FzName:/* zName: */ ts + 17494, /* "compile_options" */ + FePragTyp: + /* ePragTyp: */ U8(10), + FmPragFlg: + /* ePragFlg: */ U8(0x10), + FiPragCName: + /* ColNames: */ U8(0), + FnPragCName: U8(0), + FiArg: + /* iArg: */ uint64(0)}, + { + FzName:/* zName: */ ts + 17510, /* "count_changes" */ + FePragTyp: + /* ePragTyp: */ U8(4), + FmPragFlg: + /* ePragFlg: */ (U8(0x10 | 0x04)), + FiPragCName: + /* ColNames: */ U8(0), + FnPragCName: U8(0), + FiArg: + /* iArg: */ (U64((uint64(0x00001))) << 32)}, + { + FzName:/* zName: */ ts + 17524, /* "data_version" */ + FePragTyp: + /* ePragTyp: */ U8(2), + FmPragFlg: + /* ePragFlg: */ (U8(0x08 | 0x10)), + FiPragCName: + /* ColNames: */ U8(0), + FnPragCName: U8(0), + FiArg: + /* iArg: */ uint64(15)}, + { + FzName:/* zName: */ ts + 17537, /* "database_list" */ + FePragTyp: + /* ePragTyp: */ U8(12), + FmPragFlg: + /* ePragFlg: */ (U8(0x01 | 0x10)), + FiPragCName: + /* ColNames: */ U8(41), + FnPragCName: U8(3), + FiArg: + /* iArg: */ uint64(0)}, + { + FzName:/* zName: */ ts + 17551, /* "default_cache_si..." */ + FePragTyp: + /* ePragTyp: */ U8(13), + FmPragFlg: + /* ePragFlg: */ (U8(((0x01 | 0x10) | 0x80) | 0x04)), + FiPragCName: + /* ColNames: */ U8(49), + FnPragCName: U8(1), + FiArg: + /* iArg: */ uint64(0)}, + { + FzName:/* zName: */ ts + 17570, /* "defer_foreign_ke..." */ + FePragTyp: + /* ePragTyp: */ U8(4), + FmPragFlg: + /* ePragFlg: */ (U8(0x10 | 0x04)), + FiPragCName: + /* ColNames: */ U8(0), + FnPragCName: U8(0), + FiArg: + /* iArg: */ uint64(0x00080000)}, + { + FzName:/* zName: */ ts + 17589, /* "empty_result_cal..." */ + FePragTyp: + /* ePragTyp: */ U8(4), + FmPragFlg: + /* ePragFlg: */ (U8(0x10 | 0x04)), + FiPragCName: + /* ColNames: */ U8(0), + FnPragCName: U8(0), + FiArg: + /* iArg: */ uint64(0x00000100)}, + { + FzName:/* zName: */ ts + 17612, /* "encoding" */ + FePragTyp: + /* ePragTyp: */ U8(14), + FmPragFlg: + /* ePragFlg: */ (U8(0x10 | 0x04)), + FiPragCName: + /* ColNames: */ U8(0), + FnPragCName: U8(0), + FiArg: + /* iArg: */ uint64(0)}, + { + FzName:/* zName: */ ts + 17621, /* "foreign_key_chec..." */ + FePragTyp: + /* ePragTyp: */ U8(15), + FmPragFlg: + /* ePragFlg: */ (U8(((0x01 | 0x10) | 0x20) | 0x40)), + FiPragCName: + /* ColNames: */ U8(37), + FnPragCName: U8(4), + FiArg: + /* iArg: */ uint64(0)}, + { + FzName:/* zName: */ ts + 17639, /* "foreign_key_list" */ + FePragTyp: + /* ePragTyp: */ U8(16), + FmPragFlg: + /* ePragFlg: */ (U8((0x01 | 0x20) | 0x40)), + FiPragCName: + /* ColNames: */ U8(0), + FnPragCName: U8(8), + FiArg: + /* iArg: */ uint64(0)}, + { + FzName:/* zName: */ ts + 17656, /* "foreign_keys" */ + FePragTyp: + /* ePragTyp: */ U8(4), + FmPragFlg: + /* ePragFlg: */ (U8(0x10 | 0x04)), + FiPragCName: + /* ColNames: */ U8(0), + FnPragCName: U8(0), + FiArg: + /* iArg: */ uint64(0x00004000)}, + { + FzName:/* zName: */ ts + 17669, /* "freelist_count" */ + FePragTyp: + /* ePragTyp: */ U8(2), + FmPragFlg: + /* ePragFlg: */ (U8(0x08 | 0x10)), + FiPragCName: + /* ColNames: */ U8(0), + FnPragCName: U8(0), + FiArg: + /* iArg: */ uint64(0)}, + { + FzName:/* zName: */ ts + 17684, /* "full_column_name..." */ + FePragTyp: + /* ePragTyp: */ U8(4), + FmPragFlg: + /* ePragFlg: */ (U8(0x10 | 0x04)), + FiPragCName: + /* ColNames: */ U8(0), + FnPragCName: U8(0), + FiArg: + /* iArg: */ uint64(0x00000004)}, + { + FzName:/* zName: */ ts + 17702, /* "fullfsync" */ + FePragTyp: + /* ePragTyp: */ U8(4), + FmPragFlg: + /* ePragFlg: */ (U8(0x10 | 0x04)), + FiPragCName: + /* ColNames: */ U8(0), + FnPragCName: U8(0), + FiArg: + /* iArg: */ uint64(0x00000008)}, + { + FzName:/* zName: */ ts + 17712, /* "function_list" */ + FePragTyp: + /* ePragTyp: */ U8(17), + FmPragFlg: + /* ePragFlg: */ U8(0x10), + FiPragCName: + /* ColNames: */ U8(21), + FnPragCName: U8(6), + FiArg: + /* iArg: */ uint64(0)}, + { + FzName:/* zName: */ ts + 17726, /* "hard_heap_limit" */ + FePragTyp: + /* ePragTyp: */ U8(18), + FmPragFlg: + /* ePragFlg: */ U8(0x10), + FiPragCName: + /* ColNames: */ U8(0), + FnPragCName: U8(0), + FiArg: + /* iArg: */ uint64(0)}, + { + FzName:/* zName: */ ts + 17742, /* "ignore_check_con..." */ + FePragTyp: + /* ePragTyp: */ U8(4), + FmPragFlg: + /* ePragFlg: */ (U8(0x10 | 0x04)), + FiPragCName: + /* ColNames: */ U8(0), + FnPragCName: U8(0), + FiArg: + /* iArg: */ uint64(0x00000200)}, + { + FzName:/* zName: */ ts + 17767, /* "incremental_vacu..." */ + FePragTyp: + /* ePragTyp: */ U8(19), + FmPragFlg: + /* ePragFlg: */ (U8(0x01 | 0x02)), + FiPragCName: + /* ColNames: */ U8(0), + FnPragCName: U8(0), + FiArg: + /* iArg: */ uint64(0)}, + { + FzName:/* zName: */ ts + 17786, /* "index_info" */ + FePragTyp: + /* ePragTyp: */ U8(20), + FmPragFlg: + /* ePragFlg: */ (U8((0x01 | 0x20) | 0x40)), + FiPragCName: + /* ColNames: */ U8(15), + FnPragCName: U8(3), + FiArg: + /* iArg: */ uint64(0)}, + { + FzName:/* zName: */ ts + 17797, /* "index_list" */ + FePragTyp: + /* ePragTyp: */ U8(21), + FmPragFlg: + /* ePragFlg: */ (U8((0x01 | 0x20) | 0x40)), + FiPragCName: + /* ColNames: */ U8(32), + FnPragCName: U8(5), + FiArg: + /* iArg: */ uint64(0)}, + { + FzName:/* zName: */ ts + 17808, /* "index_xinfo" */ + FePragTyp: + /* ePragTyp: */ U8(20), + FmPragFlg: + /* ePragFlg: */ (U8((0x01 | 0x20) | 0x40)), + FiPragCName: + /* ColNames: */ U8(15), + FnPragCName: U8(6), + FiArg: + /* iArg: */ uint64(1)}, + { + FzName:/* zName: */ ts + 17820, /* "integrity_check" */ + FePragTyp: + /* ePragTyp: */ U8(22), + FmPragFlg: + /* ePragFlg: */ (U8((0x01 | 0x10) | 0x20)), + FiPragCName: + /* ColNames: */ U8(0), + FnPragCName: U8(0), + FiArg: + /* iArg: */ uint64(0)}, + { + FzName:/* zName: */ ts + 17836, /* "journal_mode" */ + FePragTyp: + /* ePragTyp: */ U8(23), + FmPragFlg: + /* ePragFlg: */ (U8((0x01 | 0x10) | 0x80)), + FiPragCName: + /* ColNames: */ U8(0), + FnPragCName: U8(0), + FiArg: + /* iArg: */ uint64(0)}, + { + FzName:/* zName: */ ts + 17849, /* "journal_size_lim..." */ + FePragTyp: + /* ePragTyp: */ U8(24), + FmPragFlg: + /* ePragFlg: */ (U8(0x10 | 0x80)), + FiPragCName: + /* ColNames: */ U8(0), + FnPragCName: U8(0), + FiArg: + /* iArg: */ uint64(0)}, + { + FzName:/* zName: */ ts + 17868, /* "legacy_alter_tab..." */ + FePragTyp: + /* ePragTyp: */ U8(4), + FmPragFlg: + /* ePragFlg: */ (U8(0x10 | 0x04)), + FiPragCName: + /* ColNames: */ U8(0), + FnPragCName: U8(0), + FiArg: + /* iArg: */ uint64(0x04000000)}, + { + FzName:/* zName: */ ts + 17887, /* "lock_status" */ + FePragTyp: + /* ePragTyp: */ U8(43), + FmPragFlg: + /* ePragFlg: */ U8(0x10), + FiPragCName: + /* ColNames: */ U8(47), + FnPragCName: U8(2), + FiArg: + /* iArg: */ uint64(0)}, + { + FzName:/* zName: */ ts + 17899, /* "locking_mode" */ + FePragTyp: + /* ePragTyp: */ U8(26), + FmPragFlg: + /* ePragFlg: */ (U8(0x10 | 0x80)), + FiPragCName: + /* ColNames: */ U8(0), + FnPragCName: U8(0), + FiArg: + /* iArg: */ uint64(0)}, + { + FzName:/* zName: */ ts + 17912, /* "max_page_count" */ + FePragTyp: + /* ePragTyp: */ U8(27), + FmPragFlg: + /* ePragFlg: */ (U8((0x01 | 0x10) | 0x80)), + FiPragCName: + /* ColNames: */ U8(0), + FnPragCName: U8(0), + FiArg: + /* iArg: */ uint64(0)}, + { + FzName:/* zName: */ ts + 17927, /* "mmap_size" */ + FePragTyp: + /* ePragTyp: */ U8(28), + FmPragFlg: + /* ePragFlg: */ U8(0), + FiPragCName: + /* ColNames: */ U8(0), + FnPragCName: U8(0), + FiArg: + /* iArg: */ uint64(0)}, + { + FzName:/* zName: */ ts + 17937, /* "module_list" */ + FePragTyp: + /* ePragTyp: */ U8(29), + FmPragFlg: + /* ePragFlg: */ U8(0x10), + FiPragCName: + /* ColNames: */ U8(9), + FnPragCName: U8(1), + FiArg: + /* iArg: */ uint64(0)}, + { + FzName:/* zName: */ ts + 17949, /* "optimize" */ + FePragTyp: + /* ePragTyp: */ U8(30), + FmPragFlg: + /* ePragFlg: */ (U8(0x20 | 0x01)), + FiPragCName: + /* ColNames: */ U8(0), + FnPragCName: U8(0), + FiArg: + /* iArg: */ uint64(0)}, + { + FzName:/* zName: */ ts + 17958, /* "page_count" */ + FePragTyp: + /* ePragTyp: */ U8(27), + FmPragFlg: + /* ePragFlg: */ (U8((0x01 | 0x10) | 0x80)), + FiPragCName: + /* ColNames: */ U8(0), + FnPragCName: U8(0), + FiArg: + /* iArg: */ uint64(0)}, + { + FzName:/* zName: */ ts + 17969, /* "page_size" */ + FePragTyp: + /* ePragTyp: */ U8(31), + FmPragFlg: + /* ePragFlg: */ (U8((0x10 | 0x80) | 0x04)), + FiPragCName: + /* ColNames: */ U8(0), + FnPragCName: U8(0), + FiArg: + /* iArg: */ uint64(0)}, + { + FzName:/* zName: */ ts + 17979, /* "pragma_list" */ + FePragTyp: + /* ePragTyp: */ U8(32), + FmPragFlg: + /* ePragFlg: */ U8(0x10), + FiPragCName: + /* ColNames: */ U8(9), + FnPragCName: U8(1), + FiArg: + /* iArg: */ uint64(0)}, + { + FzName:/* zName: */ ts + 17991, /* "query_only" */ + FePragTyp: + /* ePragTyp: */ U8(4), + FmPragFlg: + /* ePragFlg: */ (U8(0x10 | 0x04)), + FiPragCName: + /* ColNames: */ U8(0), + FnPragCName: U8(0), + FiArg: + /* iArg: */ uint64(0x00100000)}, + { + FzName:/* zName: */ ts + 18002, /* "quick_check" */ + FePragTyp: + /* ePragTyp: */ U8(22), + FmPragFlg: + /* ePragFlg: */ (U8((0x01 | 0x10) | 0x20)), + FiPragCName: + /* ColNames: */ U8(0), + FnPragCName: U8(0), + FiArg: + /* iArg: */ uint64(0)}, + { + FzName:/* zName: */ ts + 18014, /* "read_uncommitted" */ + FePragTyp: + /* ePragTyp: */ U8(4), + FmPragFlg: + /* ePragFlg: */ (U8(0x10 | 0x04)), + FiPragCName: + /* ColNames: */ U8(0), + FnPragCName: U8(0), + FiArg: + /* iArg: */ uint64(0x00000400)}, + { + FzName:/* zName: */ ts + 18031, /* "recursive_trigge..." */ + FePragTyp: + /* ePragTyp: */ U8(4), + FmPragFlg: + /* ePragFlg: */ (U8(0x10 | 0x04)), + FiPragCName: + /* ColNames: */ U8(0), + FnPragCName: U8(0), + FiArg: + /* iArg: */ uint64(0x00002000)}, + { + FzName:/* zName: */ ts + 18050, /* "reverse_unordere..." */ + FePragTyp: + /* ePragTyp: */ U8(4), + FmPragFlg: + /* ePragFlg: */ (U8(0x10 | 0x04)), + FiPragCName: + /* ColNames: */ U8(0), + FnPragCName: U8(0), + FiArg: + /* iArg: */ uint64(0x00001000)}, + { + FzName:/* zName: */ ts + 18076, /* "schema_version" */ + FePragTyp: + /* ePragTyp: */ U8(2), + FmPragFlg: + /* ePragFlg: */ (U8(0x04 | 0x10)), + FiPragCName: + /* ColNames: */ U8(0), + FnPragCName: U8(0), + FiArg: + /* iArg: */ uint64(1)}, + { + FzName:/* zName: */ ts + 18091, /* "secure_delete" */ + FePragTyp: + /* ePragTyp: */ U8(33), + FmPragFlg: + /* ePragFlg: */ U8(0x10), + FiPragCName: + /* ColNames: */ U8(0), + FnPragCName: U8(0), + FiArg: + /* iArg: */ uint64(0)}, + { + FzName:/* zName: */ ts + 18105, /* "short_column_nam..." */ + FePragTyp: + /* ePragTyp: */ U8(4), + FmPragFlg: + /* ePragFlg: */ (U8(0x10 | 0x04)), + FiPragCName: + /* ColNames: */ U8(0), + FnPragCName: U8(0), + FiArg: + /* iArg: */ uint64(0x00000040)}, + { + FzName:/* zName: */ ts + 18124, /* "shrink_memory" */ + FePragTyp: + /* ePragTyp: */ U8(34), + FmPragFlg: + /* ePragFlg: */ U8(0x02), + FiPragCName: + /* ColNames: */ U8(0), + FnPragCName: U8(0), + FiArg: + /* iArg: */ uint64(0)}, + { + FzName:/* zName: */ ts + 18138, /* "soft_heap_limit" */ + FePragTyp: + /* ePragTyp: */ U8(35), + FmPragFlg: + /* ePragFlg: */ U8(0x10), + FiPragCName: + /* ColNames: */ U8(0), + FnPragCName: U8(0), + FiArg: + /* iArg: */ uint64(0)}, + { + FzName:/* zName: */ ts + 18154, /* "synchronous" */ + FePragTyp: + /* ePragTyp: */ U8(36), + FmPragFlg: + /* ePragFlg: */ (U8(((0x01 | 0x10) | 0x80) | 0x04)), + FiPragCName: + /* ColNames: */ U8(0), + FnPragCName: U8(0), + FiArg: + /* iArg: */ uint64(0)}, + { + FzName:/* zName: */ ts + 18166, /* "table_info" */ + FePragTyp: + /* ePragTyp: */ U8(37), + FmPragFlg: + /* ePragFlg: */ (U8((0x01 | 0x20) | 0x40)), + FiPragCName: + /* ColNames: */ U8(8), + FnPragCName: U8(6), + FiArg: + /* iArg: */ uint64(0)}, + { + FzName:/* zName: */ ts + 18177, /* "table_xinfo" */ + FePragTyp: + /* ePragTyp: */ U8(37), + FmPragFlg: + /* ePragFlg: */ (U8((0x01 | 0x20) | 0x40)), + FiPragCName: + /* ColNames: */ U8(8), + FnPragCName: U8(7), + FiArg: + /* iArg: */ uint64(1)}, + { + FzName:/* zName: */ ts + 18189, /* "temp_store" */ + FePragTyp: + /* ePragTyp: */ U8(38), + FmPragFlg: + /* ePragFlg: */ (U8(0x10 | 0x04)), + FiPragCName: + /* ColNames: */ U8(0), + FnPragCName: U8(0), + FiArg: + /* iArg: */ uint64(0)}, + { + FzName:/* zName: */ ts + 18200, /* "temp_store_direc..." */ + FePragTyp: + /* ePragTyp: */ U8(39), + FmPragFlg: + /* ePragFlg: */ U8(0x04), + FiPragCName: + /* ColNames: */ U8(0), + FnPragCName: U8(0), + FiArg: + /* iArg: */ uint64(0)}, + { + FzName:/* zName: */ ts + 18221, /* "threads" */ + FePragTyp: + /* ePragTyp: */ U8(40), + FmPragFlg: + /* ePragFlg: */ U8(0x10), + FiPragCName: + /* ColNames: */ U8(0), + FnPragCName: U8(0), + FiArg: + /* iArg: */ uint64(0)}, + { + FzName:/* zName: */ ts + 18229, /* "trusted_schema" */ + FePragTyp: + /* ePragTyp: */ U8(4), + FmPragFlg: + /* ePragFlg: */ (U8(0x10 | 0x04)), + FiPragCName: + /* ColNames: */ U8(0), + FnPragCName: U8(0), + FiArg: + /* iArg: */ uint64(0x00000080)}, + { + FzName:/* zName: */ ts + 18244, /* "user_version" */ + FePragTyp: + /* ePragTyp: */ U8(2), + FmPragFlg: + /* ePragFlg: */ (U8(0x04 | 0x10)), + FiPragCName: + /* ColNames: */ U8(0), + FnPragCName: U8(0), + FiArg: + /* iArg: */ uint64(6)}, + { + FzName:/* zName: */ ts + 18257, /* "wal_autocheckpoi..." */ + FePragTyp: + /* ePragTyp: */ U8(41), + FmPragFlg: + /* ePragFlg: */ U8(0), + FiPragCName: + /* ColNames: */ U8(0), + FnPragCName: U8(0), + FiArg: + /* iArg: */ uint64(0)}, + { + FzName:/* zName: */ ts + 18276, /* "wal_checkpoint" */ + FePragTyp: + /* ePragTyp: */ U8(42), + FmPragFlg: + /* ePragFlg: */ U8(0x01), + FiPragCName: + /* ColNames: */ U8(44), + FnPragCName: U8(3), + FiArg: + /* iArg: */ uint64(0)}, + { + FzName:/* zName: */ ts + 18291, /* "writable_schema" */ + FePragTyp: + /* ePragTyp: */ U8(4), + FmPragFlg: + /* ePragFlg: */ (U8(0x10 | 0x04)), + FiPragCName: + /* ColNames: */ U8(0), + FnPragCName: U8(0), + FiArg: + /* iArg: */ (uint64(0x00000001 | 0x08000000))}, } /* sqlite3.c:125260:25 */ // Number of pragmas: 67 on by default, 77 total. @@ -106021,7 +108025,7 @@ __172: libc.VaList(bp+128, i2, (*Index)(unsafe.Pointer(pIdx1)).FzName, (libc.Bool32(int32((*Index)(unsafe.Pointer((pIdx1))).FonError) != 0)), - *(*uintptr)(unsafe.Pointer(bp + 456 /* &azOrigin[0] */ + uintptr(uint32(int32(*(*uint16)(unsafe.Pointer(pIdx1 + 100 /* &.idxType */))&0x3>>0)))*8)), + *(*uintptr)(unsafe.Pointer(bp + 456 /* &azOrigin[0] */ + uintptr((uint32(int32(*(*uint16)(unsafe.Pointer(pIdx1 + 100 /* &.idxType */))&0x3>>0))))*8)), (libc.Bool32((*Index)(unsafe.Pointer(pIdx1)).FpPartIdxWhere != uintptr(0))))) goto __173 __173: @@ -107286,7 +109290,7 @@ __334: if !(pIdx6 != 0) { goto __336 } - if !(!(int32(*(*uint16)(unsafe.Pointer(pIdx6 + 100 /* &.hasStat1 */))&0x80>>7) != 0)) { + if !(!((int32(*(*uint16)(unsafe.Pointer(pIdx6 + 100 /* &.hasStat1 */)) & 0x80 >> 7)) != 0)) { goto __337 } szThreshold = int16(0) // Always analyze if any index lacks statistics @@ -107507,53 +109511,173 @@ type EncName = struct { var iLn3 int32 = 0 /* sqlite3.c:126248:22 */ var getCacheSize = [9]VdbeOpList{ - {Fopcode: U8(2), Fp1: int8(0), Fp2: int8(0), Fp3: int8(0)}, // 0 - {Fopcode: U8(93), Fp1: int8(0), Fp2: int8(1), Fp3: int8(3)}, // 1 - {Fopcode: U8(48), Fp1: int8(1), Fp2: int8(8), Fp3: int8(0)}, - {Fopcode: U8(69), Fp1: int8(0), Fp2: int8(2), Fp3: int8(0)}, - {Fopcode: U8(106), Fp1: int8(1), Fp2: int8(2), Fp3: int8(1)}, - {Fopcode: U8(48), Fp1: int8(1), Fp2: int8(8), Fp3: int8(0)}, - {Fopcode: U8(69), Fp1: int8(0), Fp2: int8(1), Fp3: int8(0)}, // 6 - {Fopcode: U8(173), Fp1: int8(0), Fp2: int8(0), Fp3: int8(0)}, - {Fopcode: U8(80), Fp1: int8(1), Fp2: int8(1), Fp3: int8(0)}, + { + Fopcode: U8(2), + Fp1: int8(0), + Fp2: int8(0), + Fp3: int8(0)}, // 0 + { + Fopcode: U8(93), + Fp1: int8(0), + Fp2: int8(1), + Fp3: int8(3)}, // 1 + { + Fopcode: U8(48), + Fp1: int8(1), + Fp2: int8(8), + Fp3: int8(0)}, + { + Fopcode: U8(69), + Fp1: int8(0), + Fp2: int8(2), + Fp3: int8(0)}, + { + Fopcode: U8(106), + Fp1: int8(1), + Fp2: int8(2), + Fp3: int8(1)}, + { + Fopcode: U8(48), + Fp1: int8(1), + Fp2: int8(8), + Fp3: int8(0)}, + { + Fopcode: U8(69), + Fp1: int8(0), + Fp2: int8(1), + Fp3: int8(0)}, // 6 + { + Fopcode: U8(173), + Fp1: int8(0), + Fp2: int8(0), + Fp3: int8(0)}, + { + Fopcode: U8(80), + Fp1: int8(1), + Fp2: int8(1), + Fp3: int8(0)}, } /* sqlite3.c:126249:29 */ var iLn4 int32 = 0 /* sqlite3.c:126517:26 */ var setMeta6 = [5]VdbeOpList{ - {Fopcode: U8(2), Fp1: int8(0), Fp2: int8(1), Fp3: int8(0)}, // 0 - {Fopcode: U8(93), Fp1: int8(0), Fp2: int8(1), Fp3: int8(4)}, - {Fopcode: U8(18), Fp1: int8(1), Fp2: int8(0), Fp3: int8(0)}, // 2 - {Fopcode: U8(68), Fp1: int8(0), Fp2: int8(2), Fp3: int8(0)}, // 3 - {Fopcode: U8(94), Fp1: int8(0), Fp2: int8(7), Fp3: int8(0)}, // 4 + { + Fopcode: U8(2), + Fp1: int8(0), + Fp2: int8(1), + Fp3: int8(0)}, // 0 + { + Fopcode: U8(93), + Fp1: int8(0), + Fp2: int8(1), + Fp3: int8(4)}, + { + Fopcode: U8(18), + Fp1: int8(1), + Fp2: int8(0), + Fp3: int8(0)}, // 2 + { + Fopcode: U8(68), + Fp1: int8(0), + Fp2: int8(2), + Fp3: int8(0)}, // 3 + { + Fopcode: U8(94), + Fp1: int8(0), + Fp2: int8(7), + Fp3: int8(0)}, // 4 } /* sqlite3.c:126518:33 */ var iLn5 int32 = 0 /* sqlite3.c:127522:24 */ var endCode = [7]VdbeOpList{ - {Fopcode: U8(82), Fp1: int8(1), Fp2: int8(0), Fp3: int8(0)}, // 0 - {Fopcode: U8(49), Fp1: int8(1), Fp2: int8(4), Fp3: int8(0)}, // 1 - {Fopcode: U8(115), Fp1: int8(0), Fp2: int8(3), Fp3: int8(0)}, // 2 - {Fopcode: U8(80), Fp1: int8(3), Fp2: int8(1), Fp3: int8(0)}, // 3 - {Fopcode: U8(68), Fp1: int8(0), Fp2: int8(0), Fp3: int8(0)}, // 4 - {Fopcode: U8(115), Fp1: int8(0), Fp2: int8(3), Fp3: int8(0)}, // 5 - {Fopcode: U8(11), Fp1: int8(0), Fp2: int8(3), Fp3: int8(0)}, // 6 + { + Fopcode: U8(82), + Fp1: int8(1), + Fp2: int8(0), + Fp3: int8(0)}, // 0 + { + Fopcode: U8(49), + Fp1: int8(1), + Fp2: int8(4), + Fp3: int8(0)}, // 1 + { + Fopcode: U8(115), + Fp1: int8(0), + Fp2: int8(3), + Fp3: int8(0)}, // 2 + { + Fopcode: U8(80), + Fp1: int8(3), + Fp2: int8(1), + Fp3: int8(0)}, // 3 + { + Fopcode: U8(68), + Fp1: int8(0), + Fp2: int8(0), + Fp3: int8(0)}, // 4 + { + Fopcode: U8(115), + Fp1: int8(0), + Fp2: int8(3), + Fp3: int8(0)}, // 5 + { + Fopcode: U8(11), + Fp1: int8(0), + Fp2: int8(3), + Fp3: int8(0)}, // 6 } /* sqlite3.c:127523:31 */ var encnames1 = [9]EncName{ - {FzName: ts + 18921 /* "UTF8" */, Fenc: U8(1)}, - {FzName: ts + 18926 /* "UTF-8" */, Fenc: U8(1)}, // Must be element [1] - {FzName: ts + 18932 /* "UTF-16le" */, Fenc: U8(2)}, // Must be element [2] - {FzName: ts + 18941 /* "UTF-16be" */, Fenc: U8(3)}, // Must be element [3] - {FzName: ts + 18950 /* "UTF16le" */, Fenc: U8(2)}, - {FzName: ts + 18958 /* "UTF16be" */, Fenc: U8(3)}, - {FzName: ts + 18966 /* "UTF-16" */, Fenc: U8(0)}, // SQLITE_UTF16NATIVE - {FzName: ts + 18973 /* "UTF16" */, Fenc: U8(0)}, // SQLITE_UTF16NATIVE - {FzName: uintptr(0), Fenc: U8(0)}, + { + FzName: ts + 18921, /* "UTF8" */ + Fenc: U8(1)}, + { + FzName: ts + 18926, /* "UTF-8" */ + Fenc: U8(1)}, // Must be element [1] + { + FzName: ts + 18932, /* "UTF-16le" */ + Fenc: U8(2)}, // Must be element [2] + { + FzName: ts + 18941, /* "UTF-16be" */ + Fenc: U8(3)}, // Must be element [3] + { + FzName: ts + 18950, /* "UTF16le" */ + Fenc: U8(2)}, + { + FzName: ts + 18958, /* "UTF16be" */ + Fenc: U8(3)}, + { + FzName: ts + 18966, /* "UTF-16" */ + Fenc: U8(0)}, // SQLITE_UTF16NATIVE + { + FzName: ts + 18973, /* "UTF16" */ + Fenc: U8(0)}, // SQLITE_UTF16NATIVE + {}, } /* sqlite3.c:127575:7 */ var setCookie = [2]VdbeOpList{ - {Fopcode: U8(2), Fp1: int8(0), Fp2: int8(1), Fp3: int8(0)}, // 0 - {Fopcode: U8(94), Fp1: int8(0), Fp2: int8(0), Fp3: int8(0)}, // 1 + { + Fopcode: U8(2), + Fp1: int8(0), + Fp2: int8(1), + Fp3: int8(0)}, // 0 + { + Fopcode: U8(94), + Fp1: int8(0), + Fp2: int8(0), + Fp3: int8(0)}, // 1 } /* sqlite3.c:127655:31 */ var readCookie = [3]VdbeOpList{ - {Fopcode: U8(2), Fp1: int8(0), Fp2: int8(0), Fp3: int8(0)}, // 0 - {Fopcode: U8(93), Fp1: int8(0), Fp2: int8(1), Fp3: int8(0)}, // 1 - {Fopcode: U8(80), Fp1: int8(1), Fp2: int8(1), Fp3: int8(0)}, + { + Fopcode: U8(2), + Fp1: int8(0), + Fp2: int8(0), + Fp3: int8(0)}, // 0 + { + Fopcode: U8(93), + Fp1: int8(0), + Fp2: int8(1), + Fp3: int8(0)}, // 1 + { + Fopcode: U8(80), + Fp1: int8(1), + Fp2: int8(1), + Fp3: int8(0)}, } /* sqlite3.c:127670:31 */ var azLockName = [5]uintptr{ ts + 18979 /* "unlocked" */, ts + 18988 /* "shared" */, ts + 18995 /* "reserved" */, ts + 19004 /* "pending" */, ts + 18332, /* "exclusive" */ @@ -107876,30 +110000,54 @@ func pragmaVtabRowid(tls *libc.TLS, pVtabCursor uintptr, p uintptr) int32 { /* s } // The pragma virtual table object -var pragmaVtabModule = Sqlite3_module{FiVersion: 0, FxCreate: // iVersion -uintptr(0), FxConnect:// xCreate - create a table -0, FxBestIndex:// xConnect - connect to an existing table -0, FxDisconnect:// xBestIndex - Determine search strategy -0, FxDestroy:// xDisconnect - Disconnect from a table -uintptr(0), FxOpen:// xDestroy - Drop a table -0, FxClose:// xOpen - open a cursor -0, FxFilter:// xClose - close a cursor -0, FxNext:// xFilter - configure scan constraints -0, FxEof:// xNext - advance a cursor -0, FxColumn:// xEof -0, FxRowid:// xColumn - read data -0, FxUpdate:// xRowid - read data -uintptr(0), FxBegin:// xUpdate - write data -uintptr(0), FxSync:// xBegin - begin transaction -uintptr(0), FxCommit:// xSync - sync transaction -uintptr(0), FxRollback:// xCommit - commit transaction -uintptr(0), FxFindFunction:// xRollback - rollback transaction -uintptr(0), FxRename:// xFindFunction - function overloading -uintptr(0), FxSavepoint:// xRename - rename the table -uintptr(0), FxRelease:// xSavepoint -uintptr(0), FxRollbackTo:// xRelease -uintptr(0), FxShadowName:// xRollbackTo -uintptr(0), // xShadowName +var pragmaVtabModule = Sqlite3_module{ + FiVersion: 0, + FxCreate:// iVersion + uintptr(0), + FxConnect:// xCreate - create a table + 0, + FxBestIndex:// xConnect - connect to an existing table + 0, + FxDisconnect:// xBestIndex - Determine search strategy + 0, + FxDestroy:// xDisconnect - Disconnect from a table + uintptr(0), + FxOpen:// xDestroy - Drop a table + 0, + FxClose:// xOpen - open a cursor + 0, + FxFilter:// xClose - close a cursor + 0, + FxNext:// xFilter - configure scan constraints + 0, + FxEof:// xNext - advance a cursor + 0, + FxColumn:// xEof + 0, + FxRowid:// xColumn - read data + 0, + FxUpdate:// xRowid - read data + uintptr(0), + FxBegin:// xUpdate - write data + uintptr(0), + FxSync:// xBegin - begin transaction + uintptr(0), + FxCommit:// xSync - sync transaction + uintptr(0), + FxRollback:// xCommit - commit transaction + uintptr(0), + FxFindFunction:// xRollback - rollback transaction + uintptr(0), + FxRename:// xFindFunction - function overloading + uintptr(0), + FxSavepoint:// xRename - rename the table + uintptr(0), + FxRelease:// xSavepoint + uintptr(0), + FxRollbackTo:// xRelease + uintptr(0), + FxShadowName:// xRollbackTo + uintptr(0), // xShadowName } /* sqlite3.c:128292:29 */ // Check to see if zTabName is really the name of a pragma. If it is, @@ -108040,7 +110188,7 @@ func Xsqlite3InitCallback(tls *libc.TLS, pInit uintptr, argc int32, argv uintptr (*Sqlite3)(unsafe.Pointer(db)).Finit.FiDb = saved_iDb // assert( saved_iDb==0 || (db->mDbFlags & DBFLAG_Vacuum)!=0 ); if 0 != rc { - if uint32(int32(*(*uint8)(unsafe.Pointer(db + 176 /* &.init */ + 8 /* &.orphanTrigger */))&0x1>>0)) != 0 { + if (uint32(int32(*(*uint8)(unsafe.Pointer(db + 176 /* &.init */ + 8 /* &.orphanTrigger */)) & 0x1 >> 0))) != 0 { } else { if rc > (*InitData)(unsafe.Pointer(pData)).Frc { (*InitData)(unsafe.Pointer(pData)).Frc = rc @@ -109191,13 +111339,34 @@ var aKeyword = [7]struct { FnChar U8 Fcode U8 }{ - /* natural */ {Fi: U8(0), FnChar: U8(7), Fcode: U8(0x0004)}, - /* left */ {Fi: U8(6), FnChar: U8(4), Fcode: (U8(0x0008 | 0x0020))}, - /* outer */ {Fi: U8(10), FnChar: U8(5), Fcode: U8(0x0020)}, - /* right */ {Fi: U8(14), FnChar: U8(5), Fcode: (U8(0x0010 | 0x0020))}, - /* full */ {Fi: U8(19), FnChar: U8(4), Fcode: (U8((0x0008 | 0x0010) | 0x0020))}, - /* inner */ {Fi: U8(23), FnChar: U8(5), Fcode: U8(0x0001)}, - /* cross */ {Fi: U8(28), FnChar: U8(5), Fcode: (U8(0x0001 | 0x0002))}, + /* natural */ { + Fi: U8(0), + FnChar: U8(7), + Fcode: U8(0x0004)}, + /* left */ { + Fi: U8(6), + FnChar: U8(4), + Fcode: (U8(0x0008 | 0x0020))}, + /* outer */ { + Fi: U8(10), + FnChar: U8(5), + Fcode: U8(0x0020)}, + /* right */ { + Fi: U8(14), + FnChar: U8(5), + Fcode: (U8(0x0010 | 0x0020))}, + /* full */ { + Fi: U8(19), + FnChar: U8(4), + Fcode: (U8((0x0008 | 0x0010) | 0x0020))}, + /* inner */ { + Fi: U8(23), + FnChar: U8(5), + Fcode: U8(0x0001)}, + /* cross */ { + Fi: U8(28), + FnChar: U8(5), + Fcode: (U8(0x0001 | 0x0002))}, } /* sqlite3.c:129513:5 */ // Return the index of a column in a table. Return -1 if the column @@ -109754,14 +111923,8 @@ func selectInnerLoop(tls *libc.TLS, pParse uintptr, p uintptr, srcTab int32, pSo for i = (*SortCtx)(unsafe.Pointer(pSort)).FnOBSat; i < (*ExprList)(unsafe.Pointer((*SortCtx)(unsafe.Pointer(pSort)).FpOrderBy)).FnExpr; i++ { var j int32 - if (libc.AssignInt32(&j, int32((*struct { - FiOrderByCol U16 - FiAlias U16 - })(unsafe.Pointer(((*SortCtx)(unsafe.Pointer(pSort)).FpOrderBy+8 /* &.a */)+uintptr(i)*32+24 /* &.u */)).FiOrderByCol))) > 0 { - (*struct { - FiOrderByCol U16 - FiAlias U16 - })(unsafe.Pointer(((*Select)(unsafe.Pointer(p)).FpEList + 8 /* &.a */) + uintptr((j-1))*32 + 24 /* &.u */)).FiOrderByCol = (U16((i + 1) - (*SortCtx)(unsafe.Pointer(pSort)).FnOBSat)) + if (libc.AssignInt32(&j, int32(*(*U16)(unsafe.Pointer(((*SortCtx)(unsafe.Pointer(pSort)).FpOrderBy + 8 /* &.a */) + uintptr(i)*32 + 24 /* &.u */ /* &.x */ /* &.iOrderByCol */))))) > 0 { + *(*U16)(unsafe.Pointer(((*Select)(unsafe.Pointer(p)).FpEList + 8 /* &.a */) + uintptr((j-1))*32 + 24 /* &.u */ /* &.x */ /* &.iOrderByCol */)) = (U16((i + 1) - (*SortCtx)(unsafe.Pointer(pSort)).FnOBSat)) } } @@ -109769,10 +111932,7 @@ func selectInnerLoop(tls *libc.TLS, pParse uintptr, p uintptr, srcTab int32, pSo // from the sorter by the optimizations in this branch pEList = (*Select)(unsafe.Pointer(p)).FpEList for i = 0; i < (*ExprList)(unsafe.Pointer(pEList)).FnExpr; i++ { - if int32((*struct { - FiOrderByCol U16 - FiAlias U16 - })(unsafe.Pointer((pEList+8 /* &.a */)+uintptr(i)*32+24 /* &.u */)).FiOrderByCol) > 0 { + if int32(*(*U16)(unsafe.Pointer(((pEList + 8 /* &.a */) + uintptr(i)*32 + 24 /* &.u */ /* &.x */) /* &.iOrderByCol */))) > 0 { nResultCol-- regOrig = 0 } @@ -110037,10 +112197,7 @@ func selectInnerLoop(tls *libc.TLS, pParse uintptr, p uintptr, srcTab int32, pSo } for i = 0; i < nKey; i++ { Xsqlite3VdbeAddOp2(tls, v, 78, - ((regResult + int32((*struct { - FiOrderByCol U16 - FiAlias U16 - })(unsafe.Pointer((pSO+8 /* &.a */)+uintptr(i)*32+24 /* &.u */)).FiOrderByCol)) - 1), + ((regResult + int32(*(*U16)(unsafe.Pointer(((pSO + 8 /* &.a */) + uintptr(i)*32 + 24 /* &.u */ /* &.x */) /* &.iOrderByCol */)))) - 1), (r2 + i)) } Xsqlite3VdbeAddOp2(tls, v, 119, iParm, (r2 + nKey)) @@ -110269,24 +112426,15 @@ func generateSortTail(tls *libc.TLS, pParse uintptr, p uintptr, pSort uintptr, n i = 0 iCol = ((nKey + bSeq) - 1) for ; i < nColumn; i++ { - if int32((*struct { - FiOrderByCol U16 - FiAlias U16 - })(unsafe.Pointer(aOutEx+uintptr(i)*32+24 /* &.u */)).FiOrderByCol) == 0 { + if int32(*(*U16)(unsafe.Pointer((aOutEx + uintptr(i)*32 + 24 /* &.u */ /* &.x */) /* &.iOrderByCol */))) == 0 { iCol++ } } for i = (nColumn - 1); i >= 0; i-- { { var iRead int32 - if (*struct { - FiOrderByCol U16 - FiAlias U16 - })(unsafe.Pointer(aOutEx+uintptr(i)*32+24 /* &.u */)).FiOrderByCol != 0 { - iRead = (int32((*struct { - FiOrderByCol U16 - FiAlias U16 - })(unsafe.Pointer(aOutEx+uintptr(i)*32+24 /* &.u */)).FiOrderByCol) - 1) + if *(*U16)(unsafe.Pointer(aOutEx + uintptr(i)*32 + 24 /* &.u */ /* &.x */ /* &.iOrderByCol */)) != 0 { + iRead = (int32(*(*U16)(unsafe.Pointer((aOutEx + uintptr(i)*32 + 24 /* &.u */ /* &.x */) /* &.iOrderByCol */))) - 1) } else { iRead = libc.PostDecInt32(&iCol, 1) } @@ -110598,7 +112746,7 @@ func generateColumnNames(tls *libc.TLS, pParse uintptr, pSelect uintptr) { /* sq // Agg processing has not run yet // Covering idx not yet coded - if ((*ExprList_item)(unsafe.Pointer((pEList+8 /* &.a */)+uintptr(i)*32)).FzEName != 0) && (int32(*(*uint8)(unsafe.Pointer(((pEList + 8 /* &.a */) + uintptr(i)*32) + 20 /* &.eEName */))&0x3>>0) == 0) { + if ((*ExprList_item)(unsafe.Pointer((pEList+8 /* &.a */)+uintptr(i)*32)).FzEName != 0) && ((int32(*(*uint8)(unsafe.Pointer(((pEList + 8 /* &.a */) + uintptr(i)*32) + 20 /* &.eEName */)) & 0x3 >> 0)) == 0) { // An AS clause always takes first priority var zName uintptr = (*ExprList_item)(unsafe.Pointer((pEList + 8 /* &.a */) + uintptr(i)*32)).FzEName Xsqlite3VdbeSetColName(tls, v, i, 0, zName, libc.UintptrFromInt32(-1)) @@ -110697,7 +112845,7 @@ __1: } { // Get an appropriate name for the column - if ((libc.AssignUintptr(&zName, (*ExprList_item)(unsafe.Pointer((pEList+8 /* &.a */)+uintptr(i)*32)).FzEName)) != uintptr(0)) && (int32(*(*uint8)(unsafe.Pointer(((pEList + 8 /* &.a */) + uintptr(i)*32) + 20 /* &.eEName */))&0x3>>0) == 0) { + if ((libc.AssignUintptr(&zName, (*ExprList_item)(unsafe.Pointer((pEList+8 /* &.a */)+uintptr(i)*32)).FzEName)) != uintptr(0)) && ((int32(*(*uint8)(unsafe.Pointer(((pEList + 8 /* &.a */) + uintptr(i)*32) + 20 /* &.eEName */)) & 0x3 >> 0)) == 0) { } else { var pColExpr uintptr = Xsqlite3ExprSkipCollateAndLikely(tls, (*ExprList_item)(unsafe.Pointer((pEList+8 /* &.a */)+uintptr(i)*32)).FpExpr) for int32((*Expr)(unsafe.Pointer(pColExpr)).Fop) == 139 { @@ -111010,10 +113158,7 @@ func multiSelectOrderByKeyInfo(tls *libc.TLS, pParse uintptr, p uintptr, nExtra if ((*Expr)(unsafe.Pointer(pTerm)).Fflags & U32(0x000100)) != 0 { pColl = Xsqlite3ExprCollSeq(tls, pParse, pTerm) } else { - pColl = multiSelectCollSeq(tls, pParse, p, (int32((*struct { - FiOrderByCol U16 - FiAlias U16 - })(unsafe.Pointer(pItem+24 /* &.u */)).FiOrderByCol) - 1)) + pColl = multiSelectCollSeq(tls, pParse, p, (int32(*(*U16)(unsafe.Pointer((pItem + 24 /* &.u */ /* &.x */) /* &.iOrderByCol */))) - 1)) if pColl == uintptr(0) { pColl = (*Sqlite3)(unsafe.Pointer(db)).FpDfltColl } @@ -111128,7 +113273,7 @@ __3: if !(i < (*SrcList)(unsafe.Pointer(pSrc)).FnSrc) { goto __5 } - if !(uint32(int32(*(*uint8)(unsafe.Pointer((pSrc + 8 /* &.a */) + uintptr(i)*112 + 60 /* &.fg */ + 4 /* &.isRecursive */))&0x20>>5)) != 0) { + if !((uint32(int32(*(*uint8)(unsafe.Pointer((pSrc + 8 /* &.a */) + uintptr(i)*112 + 60 /* &.fg */ + 4 /* &.isRecursive */)) & 0x20 >> 5))) != 0) { goto __6 } iCurrent = (*SrcList_item)(unsafe.Pointer((pSrc + 8 /* &.a */) + uintptr(i)*112)).FiCursor @@ -112093,10 +114238,7 @@ func multiSelectOrderBy(tls *libc.TLS, pParse uintptr, p uintptr, pDest uintptr) } { - if int32((*struct { - FiOrderByCol U16 - FiAlias U16 - })(unsafe.Pointer(pItem+24 /* &.u */)).FiOrderByCol) == i { + if int32(*(*U16)(unsafe.Pointer((pItem + 24 /* &.u */ /* &.x */) /* &.iOrderByCol */))) == i { goto __3 } } @@ -112117,10 +114259,7 @@ func multiSelectOrderBy(tls *libc.TLS, pParse uintptr, p uintptr, pDest uintptr) *(*int32)(unsafe.Pointer(pNew + 8 /* &.u */)) = i (*Select)(unsafe.Pointer(p)).FpOrderBy = libc.AssignUintptr(&pOrderBy, Xsqlite3ExprListAppend(tls, pParse, pOrderBy, pNew)) if pOrderBy != 0 { - (*struct { - FiOrderByCol U16 - FiAlias U16 - })(unsafe.Pointer((pOrderBy + 8 /* &.a */) + uintptr(libc.PostIncInt32(&nOrderBy, 1))*32 + 24 /* &.u */)).FiOrderByCol = U16(i) + *(*U16)(unsafe.Pointer((pOrderBy + 8 /* &.a */) + uintptr(libc.PostIncInt32(&nOrderBy, 1))*32 + 24 /* &.u */ /* &.x */ /* &.iOrderByCol */)) = U16(i) } } } @@ -112144,10 +114283,7 @@ func multiSelectOrderBy(tls *libc.TLS, pParse uintptr, p uintptr, pDest uintptr) } { - *(*U32)(unsafe.Pointer(aPermute + uintptr(i)*4)) = (U32(int32((*struct { - FiOrderByCol U16 - FiAlias U16 - })(unsafe.Pointer(pItem+24 /* &.u */)).FiOrderByCol) - 1)) + *(*U32)(unsafe.Pointer(aPermute + uintptr(i)*4)) = (U32(int32(*(*U16)(unsafe.Pointer((pItem + 24 /* &.u */ /* &.x */) /* &.iOrderByCol */))) - 1)) } goto __5 __5: @@ -112496,7 +114632,7 @@ func substSelect(tls *libc.TLS, pSubst uintptr, p uintptr, doPrior int32) { /* s } { substSelect(tls, pSubst, (*SrcList_item)(unsafe.Pointer(pItem)).FpSelect, 1) - if uint32(int32(*(*uint8)(unsafe.Pointer(pItem + 60 /* &.fg */ + 4 /* &.isTabFunc */))&0x4>>2)) != 0 { + if (uint32(int32(*(*uint8)(unsafe.Pointer(pItem + 60 /* &.fg */ + 4 /* &.isTabFunc */)) & 0x4 >> 2))) != 0 { substExprList(tls, pSubst, *(*uintptr)(unsafe.Pointer(pItem + 96 /* &.u1 */))) } } @@ -112833,10 +114969,7 @@ func flattenSubquery(tls *libc.TLS, pParse uintptr, p uintptr, iFrom int32, isAg if (*Select)(unsafe.Pointer(p)).FpOrderBy != 0 { var ii int32 for ii = 0; ii < (*ExprList)(unsafe.Pointer((*Select)(unsafe.Pointer(p)).FpOrderBy)).FnExpr; ii++ { - if int32((*struct { - FiOrderByCol U16 - FiAlias U16 - })(unsafe.Pointer(((*Select)(unsafe.Pointer(p)).FpOrderBy+8 /* &.a */)+uintptr(ii)*32+24 /* &.u */)).FiOrderByCol) == 0 { + if int32(*(*U16)(unsafe.Pointer((((*Select)(unsafe.Pointer(p)).FpOrderBy + 8 /* &.a */) + uintptr(ii)*32 + 24 /* &.u */ /* &.x */) /* &.iOrderByCol */))) == 0 { return 0 } } @@ -113049,10 +115182,7 @@ __1: // currently part of pSub->pSrc). See ticket [d11a6e908f]. var pOrderBy uintptr = (*Select)(unsafe.Pointer(pSub)).FpOrderBy for i = 0; i < (*ExprList)(unsafe.Pointer(pOrderBy)).FnExpr; i++ { - (*struct { - FiOrderByCol U16 - FiAlias U16 - })(unsafe.Pointer((pOrderBy + 8 /* &.a */) + uintptr(i)*32 + 24 /* &.u */)).FiOrderByCol = U16(0) + *(*U16)(unsafe.Pointer((pOrderBy + 8 /* &.a */) + uintptr(i)*32 + 24 /* &.u */ /* &.x */ /* &.iOrderByCol */)) = U16(0) } (*Select)(unsafe.Pointer(pParent)).FpOrderBy = pOrderBy @@ -113505,7 +115635,7 @@ func Xsqlite3IndexedByLookup(tls *libc.TLS, pParse uintptr, pFrom uintptr) int32 bp := tls.Alloc(16) defer tls.Free(16) - if ((*SrcList_item)(unsafe.Pointer(pFrom)).FpTab != 0) && (uint32(int32(*(*uint8)(unsafe.Pointer((pFrom + 60 /* &.fg */) + 4 /* &.isIndexedBy */))&0x2>>1)) != 0) { + if ((*SrcList_item)(unsafe.Pointer(pFrom)).FpTab != 0) && ((uint32(int32(*(*uint8)(unsafe.Pointer((pFrom + 60 /* &.fg */) + 4 /* &.isIndexedBy */)) & 0x2 >> 1))) != 0) { var pTab uintptr = (*SrcList_item)(unsafe.Pointer(pFrom)).FpTab var zIndexedBy uintptr = *(*uintptr)(unsafe.Pointer(pFrom + 96 /* &.u1 */)) var pIdx uintptr @@ -113570,10 +115700,7 @@ func convertCompoundSelectToSubquery(tls *libc.TLS, pWalker uintptr, p uintptr) // SELECT is rewritten for window-functions processing and then passed // to sqlite3SelectPrep() and similar a second time. The rewriting done // by this function is not required in this case. - if (*struct { - FiOrderByCol U16 - FiAlias U16 - })(unsafe.Pointer(a+uintptr(0)*32+24 /* &.u */)).FiOrderByCol != 0 { + if *(*U16)(unsafe.Pointer(a + uintptr(0)*32 + 24 /* &.u */ /* &.x */ /* &.iOrderByCol */)) != 0 { return 0 } for i = ((*ExprList)(unsafe.Pointer((*Select)(unsafe.Pointer(p)).FpOrderBy)).FnExpr - 1); i >= 0; i-- { @@ -113626,7 +115753,7 @@ func cannotBeFunction(tls *libc.TLS, pParse uintptr, pFrom uintptr) int32 { /* s bp := tls.Alloc(8) defer tls.Free(8) - if uint32(int32(*(*uint8)(unsafe.Pointer(pFrom + 60 /* &.fg */ + 4 /* &.isTabFunc */))&0x4>>2)) != 0 { + if (uint32(int32(*(*uint8)(unsafe.Pointer(pFrom + 60 /* &.fg */ + 4 /* &.isTabFunc */)) & 0x4 >> 2))) != 0 { Xsqlite3ErrorMsg(tls, pParse, ts+20358 /* "'%s' is not a fu..." */, libc.VaList(bp, (*SrcList_item)(unsafe.Pointer(pFrom)).FzName)) return 1 } @@ -113982,7 +116109,7 @@ __1: libc.VaList(bp+8, (*Table)(unsafe.Pointer(pTab)).FzName)) } if ((((*Table)(unsafe.Pointer(pTab)).FnModuleArg != 0) && - (uint32(int32(*(*uint8)(unsafe.Pointer((pFrom + 60 /* &.fg */) + 4 /* &.fromDDL */))&0x40>>6)) != 0)) && + ((uint32(int32(*(*uint8)(unsafe.Pointer((pFrom + 60 /* &.fg */) + 4 /* &.fromDDL */)) & 0x40 >> 6))) != 0)) && ((*Table)(unsafe.Pointer(pTab)).FpVTable != uintptr(0))) && (int32((*VTable)(unsafe.Pointer((*Table)(unsafe.Pointer(pTab)).FpVTable)).FeVtabRisk) > (libc.Bool32(((*Sqlite3)(unsafe.Pointer(db)).Fflags & uint64(0x00000080)) != uint64(0)))) { Xsqlite3ErrorMsg(tls, pParse, ts+20639, /* "unsafe use of vi..." */ @@ -114059,7 +116186,7 @@ __3: pNew = Xsqlite3ExprListAppend(tls, pParse, pNew, (*ExprList_item)(unsafe.Pointer(a+uintptr(k)*32)).FpExpr) if pNew != 0 { (*ExprList_item)(unsafe.Pointer((pNew + 8 /* &.a */) + uintptr(((*ExprList)(unsafe.Pointer(pNew)).FnExpr-1))*32)).FzEName = (*ExprList_item)(unsafe.Pointer(a + uintptr(k)*32)).FzEName - libc.SetBitFieldPtr8Uint32((pNew+8 /* &.a */)+uintptr(((*ExprList)(unsafe.Pointer(pNew)).FnExpr-1))*32+20 /* &.eEName */, uint32(int32(*(*uint8)(unsafe.Pointer(a + uintptr(k)*32 + 20 /* &.eEName */))&0x3>>0)), 0, 0x3) + libc.SetBitFieldPtr8Uint32((pNew+8 /* &.a */)+uintptr(((*ExprList)(unsafe.Pointer(pNew)).FnExpr-1))*32+20 /* &.eEName */, (uint32(int32(*(*uint8)(unsafe.Pointer(a + uintptr(k)*32 + 20 /* &.eEName */)) & 0x3 >> 0))), 0, 0x3) (*ExprList_item)(unsafe.Pointer(a + uintptr(k)*32)).FzEName = uintptr(0) } (*ExprList_item)(unsafe.Pointer(a + uintptr(k)*32)).FpExpr = uintptr(0) @@ -114577,7 +116704,7 @@ func explainSimpleCount(tls *libc.TLS, pParse uintptr, pTab uintptr, pIdx uintpt defer tls.Free(24) if int32((*Parse)(unsafe.Pointer(pParse)).Fexplain) == 2 { - var bCover int32 = (libc.Bool32((pIdx != uintptr(0)) && ((((*Table)(unsafe.Pointer((pTab))).FtabFlags & U32(0x0080)) == U32(0)) || !(int32(*(*uint16)(unsafe.Pointer((pIdx) + 100 /* &.idxType */))&0x3>>0) == 2)))) + var bCover int32 = (libc.Bool32((pIdx != uintptr(0)) && ((((*Table)(unsafe.Pointer((pTab))).FtabFlags & U32(0x0080)) == U32(0)) || !((int32(*(*uint16)(unsafe.Pointer((pIdx) + 100 /* &.idxType */)) & 0x3 >> 0)) == 2)))) Xsqlite3VdbeExplain(tls, pParse, uint8(0), ts+20803, /* "SCAN TABLE %s%s%..." */ libc.VaList(bp, (*Table)(unsafe.Pointer(pTab)).FzName, func() uintptr { @@ -114666,7 +116793,7 @@ func isSelfJoinView(tls *libc.TLS, pTabList uintptr, pThis uintptr) uintptr { /* if (*SrcList_item)(unsafe.Pointer(pItem)).FpSelect == uintptr(0) { continue } - if uint32(int32(*(*uint8)(unsafe.Pointer(pItem + 60 /* &.fg */ + 4 /* &.viaCoroutine */))&0x10>>4)) != 0 { + if (uint32(int32(*(*uint8)(unsafe.Pointer(pItem + 60 /* &.fg */ + 4 /* &.viaCoroutine */)) & 0x10 >> 4))) != 0 { continue } if (*SrcList_item)(unsafe.Pointer(pItem)).FzName == uintptr(0) { @@ -115187,7 +117314,7 @@ __35: (*SrcList_item)(unsafe.Pointer(pItem1)).FregReturn = libc.PreIncInt32(&(*Parse)(unsafe.Pointer(pParse)).FnMem, 1) topAddr = Xsqlite3VdbeAddOp2(tls, v, 69, 0, (*SrcList_item)(unsafe.Pointer(pItem1)).FregReturn) (*SrcList_item)(unsafe.Pointer(pItem1)).FaddrFillSub = (topAddr + 1) - if !(int32(*(*uint8)(unsafe.Pointer((pItem1 + 60 /* &.fg */) + 4 /* &.isCorrelated */))&0x8>>3) == 0) { + if !((int32(*(*uint8)(unsafe.Pointer((pItem1 + 60 /* &.fg */) + 4 /* &.isCorrelated */)) & 0x8 >> 3)) == 0) { goto __37 } // If the subquery is not correlated and if we are not inside of @@ -115457,10 +117584,7 @@ __64: if !(k > 0) { goto __66 } - (*struct { - FiOrderByCol U16 - FiAlias U16 - })(unsafe.Pointer(pItem2 + 24 /* &.u */)).FiAlias = U16(0) + *(*U16)(unsafe.Pointer(pItem2 + 24 /* &.u */ /* &.x */ + 2 /* &.iAlias */)) = U16(0) goto __65 __65: k-- @@ -115475,10 +117599,7 @@ __67: if !(k > 0) { goto __69 } - (*struct { - FiOrderByCol U16 - FiAlias U16 - })(unsafe.Pointer(pItem2 + 24 /* &.u */)).FiAlias = U16(0) + *(*U16)(unsafe.Pointer(pItem2 + 24 /* &.u */ /* &.x */ + 2 /* &.iAlias */)) = U16(0) goto __68 __68: k-- @@ -115926,7 +118047,7 @@ __86: pBest = Xsqlite3PrimaryKeyIndex(tls, pTab1) __110: ; - if !(!(int32(*(*uint8)(unsafe.Pointer(((*Select)(unsafe.Pointer(p)).FpSrc + 8 /* &.a */) + uintptr(0)*112 + 60 /* &.fg */ + 4 /* &.notIndexed */))&0x1>>0) != 0)) { + if !(!((int32(*(*uint8)(unsafe.Pointer(((*Select)(unsafe.Pointer(p)).FpSrc + 8 /* &.a */) + uintptr(0)*112 + 60 /* &.fg */ + 4 /* &.notIndexed */)) & 0x1 >> 0)) != 0)) { goto __111 } pIdx = (*Table)(unsafe.Pointer(pTab1)).FpIndex @@ -115934,7 +118055,7 @@ __112: if !(pIdx != 0) { goto __114 } - if !((((int32(*(*uint16)(unsafe.Pointer(pIdx + 100 /* &.bUnordered */))&0x4>>2) == 0) && + if !(((((int32(*(*uint16)(unsafe.Pointer(pIdx + 100 /* &.bUnordered */)) & 0x4 >> 2)) == 0) && (int32((*Index)(unsafe.Pointer(pIdx)).FszIdxRow) < int32((*Table)(unsafe.Pointer(pTab1)).FszTabRow))) && ((*Index)(unsafe.Pointer(pIdx)).FpPartIdxWhere == uintptr(0))) && (!(pBest != 0) || (int32((*Index)(unsafe.Pointer(pIdx)).FszIdxRow) < int32((*Index)(unsafe.Pointer(pBest)).FszIdxRow)))) { @@ -121679,20 +123800,8 @@ func explainIndexRange(tls *libc.TLS, pStr uintptr, pLoop uintptr) { /* sqlite3. bp := tls.Alloc(8) defer tls.Free(8) - var pIndex uintptr = (*struct { - FnEq U16 - FnBtm U16 - FnTop U16 - FnDistinctCol U16 - FpIndex uintptr - })(unsafe.Pointer(pLoop + 24 /* &.u */)).FpIndex - var nEq U16 = (*struct { - FnEq U16 - FnBtm U16 - FnTop U16 - FnDistinctCol U16 - FpIndex uintptr - })(unsafe.Pointer(pLoop + 24 /* &.u */)).FnEq + var pIndex uintptr = *(*uintptr)(unsafe.Pointer(pLoop + 24 /* &.u */ /* &.btree */ + 8 /* &.pIndex */)) + var nEq U16 = *(*U16)(unsafe.Pointer(pLoop + 24 /* &.u */ /* &.btree */ /* &.nEq */)) var nSkip U16 = (*WhereLoop)(unsafe.Pointer(pLoop)).FnSkip var i int32 var j int32 @@ -121716,23 +123825,11 @@ func explainIndexRange(tls *libc.TLS, pStr uintptr, pLoop uintptr) { /* sqlite3. j = i if ((*WhereLoop)(unsafe.Pointer(pLoop)).FwsFlags & U32(0x00000020)) != 0 { - explainAppendTerm(tls, pStr, pIndex, int32((*struct { - FnEq U16 - FnBtm U16 - FnTop U16 - FnDistinctCol U16 - FpIndex uintptr - })(unsafe.Pointer(pLoop+24 /* &.u */)).FnBtm), j, i, ts+23055 /* ">" */) + explainAppendTerm(tls, pStr, pIndex, int32(*(*U16)(unsafe.Pointer(pLoop + 24 /* &.u */ /* &.btree */ + 2 /* &.nBtm */))), j, i, ts+23055 /* ">" */) i = 1 } if ((*WhereLoop)(unsafe.Pointer(pLoop)).FwsFlags & U32(0x00000010)) != 0 { - explainAppendTerm(tls, pStr, pIndex, int32((*struct { - FnEq U16 - FnBtm U16 - FnTop U16 - FnDistinctCol U16 - FpIndex uintptr - })(unsafe.Pointer(pLoop+24 /* &.u */)).FnTop), j, i, ts+23057 /* "<" */) + explainAppendTerm(tls, pStr, pIndex, int32(*(*U16)(unsafe.Pointer(pLoop + 24 /* &.u */ /* &.btree */ + 4 /* &.nTop */))), j, i, ts+23057 /* "<" */) } Xsqlite3_str_append(tls, pStr, ts+6652 /* ")" */, 1) } @@ -121774,13 +123871,7 @@ func Xsqlite3WhereExplainOneScan(tls *libc.TLS, pParse uintptr, pTabList uintptr } isSearch = (libc.Bool32((((flags & (U32(0x00000020 | 0x00000010))) != U32(0)) || - (((flags & U32(0x00000400)) == U32(0)) && (int32((*struct { - FnEq U16 - FnBtm U16 - FnTop U16 - FnDistinctCol U16 - FpIndex uintptr - })(unsafe.Pointer(pLoop+24 /* &.u */)).FnEq) > 0))) || + (((flags & U32(0x00000400)) == U32(0)) && (int32(*(*U16)(unsafe.Pointer((pLoop + 24 /* &.u */ /* &.btree */) /* &.nEq */))) > 0))) || ((int32(wctrlFlags) & (0x0001 | 0x0002)) != 0))) Xsqlite3StrAccumInit(tls, bp+56 /* &str */, db, bp+88 /* &zBuf[0] */, int32(unsafe.Sizeof([100]int8{})), 1000000000) @@ -121803,15 +123894,9 @@ func Xsqlite3WhereExplainOneScan(tls *libc.TLS, pParse uintptr, pTabList uintptr var zFmt uintptr = uintptr(0) var pIdx uintptr - pIdx = (*struct { - FnEq U16 - FnBtm U16 - FnTop U16 - FnDistinctCol U16 - FpIndex uintptr - })(unsafe.Pointer(pLoop + 24 /* &.u */)).FpIndex + pIdx = *(*uintptr)(unsafe.Pointer(pLoop + 24 /* &.u */ /* &.btree */ + 8 /* &.pIndex */)) - if !(((*Table)(unsafe.Pointer(((*SrcList_item)(unsafe.Pointer(pItem)).FpTab))).FtabFlags & U32(0x0080)) == U32(0)) && (int32(*(*uint16)(unsafe.Pointer((pIdx) + 100 /* &.idxType */))&0x3>>0) == 2) { + if !(((*Table)(unsafe.Pointer(((*SrcList_item)(unsafe.Pointer(pItem)).FpTab))).FtabFlags & U32(0x0080)) == U32(0)) && ((int32(*(*uint16)(unsafe.Pointer((pIdx) + 100 /* &.idxType */)) & 0x3 >> 0)) == 2) { if isSearch != 0 { zFmt = ts + 23101 /* "PRIMARY KEY" */ } @@ -121845,19 +123930,7 @@ func Xsqlite3WhereExplainOneScan(tls *libc.TLS, pParse uintptr, pTabList uintptr ts+23222 /* " USING INTEGER P..." */, libc.VaList(bp+32, zRangeOp)) } else if (flags & U32(0x00000400)) != U32(0) { Xsqlite3_str_appendf(tls, bp+56 /* &str */, ts+23260, /* " VIRTUAL TABLE I..." */ - libc.VaList(bp+40, (*struct { - FidxNum int32 - FneedFree U8 - FisOrdered I8 - FomitMask U16 - FidxStr uintptr - })(unsafe.Pointer(pLoop+24 /* &.u */)).FidxNum, (*struct { - FidxNum int32 - FneedFree U8 - FisOrdered I8 - FomitMask U16 - FidxStr uintptr - })(unsafe.Pointer(pLoop+24 /* &.u */)).FidxStr)) + libc.VaList(bp+40, *(*int32)(unsafe.Pointer(pLoop + 24 /* &.u */ /* &.vtab */ /* &.idxNum */)), *(*uintptr)(unsafe.Pointer(pLoop + 24 /* &.u */ /* &.vtab */ + 8 /* &.idxStr */)))) } zMsg = Xsqlite3StrAccumFinish(tls, bp+56 /* &str */) @@ -122060,10 +124133,7 @@ func removeUnindexableInClauseTerms(tls *libc.TLS, pParse uintptr, iEq int32, pL // it's easiest just to zero them here. var pOrderBy uintptr = (*Select)(unsafe.Pointer(pSelect)).FpOrderBy for i = 0; i < (*ExprList)(unsafe.Pointer(pOrderBy)).FnExpr; i++ { - (*struct { - FiOrderByCol U16 - FiAlias U16 - })(unsafe.Pointer((pOrderBy + 8 /* &.a */) + uintptr(i)*32 + 24 /* &.u */)).FiOrderByCol = U16(0) + *(*U16)(unsafe.Pointer((pOrderBy + 8 /* &.a */) + uintptr(i)*32 + 24 /* &.u */ /* &.x */ /* &.iOrderByCol */)) = U16(0) } } } @@ -122107,20 +124177,8 @@ func codeEqualityTerm(tls *libc.TLS, pParse uintptr, pTerm uintptr, pLevel uintp var aiMap uintptr = uintptr(0) if ((((*WhereLoop)(unsafe.Pointer(pLoop)).FwsFlags & U32(0x00000400)) == U32(0)) && - ((*struct { - FnEq U16 - FnBtm U16 - FnTop U16 - FnDistinctCol U16 - FpIndex uintptr - })(unsafe.Pointer(pLoop+24 /* &.u */)).FpIndex != uintptr(0))) && - (*(*U8)(unsafe.Pointer((*Index)(unsafe.Pointer((*struct { - FnEq U16 - FnBtm U16 - FnTop U16 - FnDistinctCol U16 - FpIndex uintptr - })(unsafe.Pointer(pLoop+24 /* &.u */)).FpIndex)).FaSortOrder + uintptr(iEq))) != 0) { + (*(*uintptr)(unsafe.Pointer((pLoop + 24 /* &.u */ /* &.btree */) + 8 /* &.pIndex */)) != uintptr(0))) && + (*(*U8)(unsafe.Pointer((*Index)(unsafe.Pointer(*(*uintptr)(unsafe.Pointer((pLoop + 24 /* &.u */ /* &.btree */) + 8 /* &.pIndex */)))).FaSortOrder + uintptr(iEq))) != 0) { bRev = libc.BoolInt32(!(bRev != 0)) } @@ -122168,39 +124226,15 @@ func codeEqualityTerm(tls *libc.TLS, pParse uintptr, pTerm uintptr, pLevel uintp }(), *(*int32)(unsafe.Pointer(bp /* iTab */)), 0) *(*U32)(unsafe.Pointer(pLoop + 40 /* &.wsFlags */)) |= (U32(0x00000800)) - if (*struct { - FnIn int32 - _ [4]byte - FaInLoop uintptr - })(unsafe.Pointer(pLevel+56 /* &.u */)).FnIn == 0 { + if *(*int32)(unsafe.Pointer((pLevel + 56 /* &.u */ /* &.in */) /* &.nIn */)) == 0 { (*WhereLevel)(unsafe.Pointer(pLevel)).FaddrNxt = Xsqlite3VdbeMakeLabel(tls, pParse) } - i = (*struct { - FnIn int32 - _ [4]byte - FaInLoop uintptr - })(unsafe.Pointer(pLevel + 56 /* &.u */)).FnIn + i = *(*int32)(unsafe.Pointer(pLevel + 56 /* &.u */ /* &.in */ /* &.nIn */)) *(*int32)(unsafe.Pointer(pLevel + 56 /* &.u */ /* &.in */ /* &.nIn */)) += (nEq) - (*struct { - FnIn int32 - _ [4]byte - FaInLoop uintptr - })(unsafe.Pointer(pLevel + 56 /* &.u */)).FaInLoop = Xsqlite3DbReallocOrFree(tls, (*Parse)(unsafe.Pointer(pParse)).Fdb, (*struct { - FnIn int32 - _ [4]byte - FaInLoop uintptr - })(unsafe.Pointer(pLevel+56 /* &.u */)).FaInLoop, - (uint64(uint64(unsafe.Sizeof(InLoop{})) * uint64((*struct { - FnIn int32 - _ [4]byte - FaInLoop uintptr - })(unsafe.Pointer(pLevel+56 /* &.u */)).FnIn)))) - pIn = (*struct { - FnIn int32 - _ [4]byte - FaInLoop uintptr - })(unsafe.Pointer(pLevel + 56 /* &.u */)).FaInLoop + *(*uintptr)(unsafe.Pointer(pLevel + 56 /* &.u */ /* &.in */ + 8 /* &.aInLoop */)) = Xsqlite3DbReallocOrFree(tls, (*Parse)(unsafe.Pointer(pParse)).Fdb, *(*uintptr)(unsafe.Pointer(pLevel + 56 /* &.u */ /* &.in */ + 8 /* &.aInLoop */)), + (uint64(uint64(unsafe.Sizeof(InLoop{})) * uint64(*(*int32)(unsafe.Pointer((pLevel + 56 /* &.u */ /* &.in */) /* &.nIn */)))))) + pIn = *(*uintptr)(unsafe.Pointer(pLevel + 56 /* &.u */ /* &.in */ + 8 /* &.aInLoop */)) if pIn != 0 { var iMap int32 = 0 // Index in aiMap[] pIn += 20 * (uintptr(i)) @@ -122208,7 +124242,7 @@ func codeEqualityTerm(tls *libc.TLS, pParse uintptr, pTerm uintptr, pLevel uintp if (*WhereTerm)(unsafe.Pointer(*(*uintptr)(unsafe.Pointer((*WhereLoop)(unsafe.Pointer(pLoop)).FaLTerm + uintptr(i)*8)))).FpExpr == pX { var iOut int32 = ((iReg + i) - iEq) if eType == 1 { - (*InLoop)(unsafe.Pointer(pIn)).FaddrInTop = Xsqlite3VdbeAddOp2(tls, v, 127, *(*int32)(unsafe.Pointer(bp /* iTab */)), iOut) + *(*int32)(unsafe.Pointer(pIn + 4 /* &.addrInTop */)) = Xsqlite3VdbeAddOp2(tls, v, 127, *(*int32)(unsafe.Pointer(bp /* iTab */)), iOut) } else { var iCol int32 if aiMap != 0 { @@ -122216,36 +124250,32 @@ func codeEqualityTerm(tls *libc.TLS, pParse uintptr, pTerm uintptr, pLevel uintp } else { iCol = 0 } - (*InLoop)(unsafe.Pointer(pIn)).FaddrInTop = Xsqlite3VdbeAddOp3(tls, v, 89, *(*int32)(unsafe.Pointer(bp /* iTab */)), iCol, iOut) + *(*int32)(unsafe.Pointer(pIn + 4 /* &.addrInTop */)) = Xsqlite3VdbeAddOp3(tls, v, 89, *(*int32)(unsafe.Pointer(bp /* iTab */)), iCol, iOut) } Xsqlite3VdbeAddOp1(tls, v, 50, iOut) if i == iEq { - (*InLoop)(unsafe.Pointer(pIn)).FiCur = *(*int32)(unsafe.Pointer(bp /* iTab */)) - (*InLoop)(unsafe.Pointer(pIn)).FeEndLoopOp = func() uint8 { + *(*int32)(unsafe.Pointer(pIn /* &.iCur */)) = *(*int32)(unsafe.Pointer(bp /* iTab */)) + *(*U8)(unsafe.Pointer(pIn + 16 /* &.eEndLoopOp */)) = func() uint8 { if bRev != 0 { return uint8(4) } return uint8(5) }() if iEq > 0 { - (*InLoop)(unsafe.Pointer(pIn)).FiBase = (iReg - i) - (*InLoop)(unsafe.Pointer(pIn)).FnPrefix = i + *(*int32)(unsafe.Pointer(pIn + 8 /* &.iBase */)) = (iReg - i) + *(*int32)(unsafe.Pointer(pIn + 12 /* &.nPrefix */)) = i *(*U32)(unsafe.Pointer(pLoop + 40 /* &.wsFlags */)) |= (U32(0x00040000)) } else { - (*InLoop)(unsafe.Pointer(pIn)).FnPrefix = 0 + *(*int32)(unsafe.Pointer(pIn + 12 /* &.nPrefix */)) = 0 } } else { - (*InLoop)(unsafe.Pointer(pIn)).FeEndLoopOp = U8(173) + *(*U8)(unsafe.Pointer(pIn + 16 /* &.eEndLoopOp */)) = U8(173) } pIn += 20 } } } else { - (*struct { - FnIn int32 - _ [4]byte - FaInLoop uintptr - })(unsafe.Pointer(pLevel + 56 /* &.u */)).FnIn = 0 + *(*int32)(unsafe.Pointer(pLevel + 56 /* &.u */ /* &.in */ /* &.nIn */)) = 0 } Xsqlite3DbFree(tls, (*Parse)(unsafe.Pointer(pParse)).Fdb, aiMap) } @@ -122314,31 +124344,13 @@ func codeAllEqualityTerms(tls *libc.TLS, pParse uintptr, pLevel uintptr, bRev in // This module is only called on query plans that use an index. pLoop = (*WhereLevel)(unsafe.Pointer(pLevel)).FpWLoop - nEq = (*struct { - FnEq U16 - FnBtm U16 - FnTop U16 - FnDistinctCol U16 - FpIndex uintptr - })(unsafe.Pointer(pLoop + 24 /* &.u */)).FnEq + nEq = *(*U16)(unsafe.Pointer(pLoop + 24 /* &.u */ /* &.btree */ /* &.nEq */)) nSkip = (*WhereLoop)(unsafe.Pointer(pLoop)).FnSkip - pIdx = (*struct { - FnEq U16 - FnBtm U16 - FnTop U16 - FnDistinctCol U16 - FpIndex uintptr - })(unsafe.Pointer(pLoop + 24 /* &.u */)).FpIndex + pIdx = *(*uintptr)(unsafe.Pointer(pLoop + 24 /* &.u */ /* &.btree */ + 8 /* &.pIndex */)) // Figure out how many memory cells we will need then allocate them. regBase = ((*Parse)(unsafe.Pointer(pParse)).FnMem + 1) - nReg = (int32((*struct { - FnEq U16 - FnBtm U16 - FnTop U16 - FnDistinctCol U16 - FpIndex uintptr - })(unsafe.Pointer(pLoop+24 /* &.u */)).FnEq) + nExtraReg) + nReg = (int32(*(*U16)(unsafe.Pointer((pLoop + 24 /* &.u */ /* &.btree */) /* &.nEq */))) + nExtraReg) *(*int32)(unsafe.Pointer(pParse + 56 /* &.nMem */)) += (nReg) zAff = Xsqlite3DbStrDup(tls, (*Parse)(unsafe.Pointer(pParse)).Fdb, Xsqlite3IndexAffinityStr(tls, (*Parse)(unsafe.Pointer(pParse)).Fdb, pIdx)) @@ -122574,7 +124586,7 @@ func whereIndexExprTrans(tls *libc.TLS, pIdx uintptr, iTabCur int32, iIdxCur int // var x IdxExprTrans at bp+48, 40 aColExpr = (*Index)(unsafe.Pointer(pIdx)).FaColExpr - if (aColExpr == uintptr(0)) && !(int32(*(*uint16)(unsafe.Pointer(pIdx + 100 /* &.bHasVCol */))&0x400>>10) != 0) { + if (aColExpr == uintptr(0)) && !((int32(*(*uint16)(unsafe.Pointer(pIdx + 100 /* &.bHasVCol */)) & 0x400 >> 10)) != 0) { // The index does not reference any expressions or virtual columns // so no translations are needed. return @@ -122719,7 +124731,7 @@ func Xsqlite3WhereCodeOneLoopStart(tls *libc.TLS, pParse uintptr, v uintptr, pWI addrHalt = (*WhereLevel)(unsafe.Pointer((pWInfo + 920 /* &.a */) + uintptr(j)*88)).FaddrBrk // Special case of a FROM clause subquery implemented as a co-routine - if uint32(int32(*(*uint8)(unsafe.Pointer(pTabItem + 60 /* &.fg */ + 4 /* &.viaCoroutine */))&0x10>>4)) != 0 { + if (uint32(int32(*(*uint8)(unsafe.Pointer(pTabItem + 60 /* &.fg */ + 4 /* &.viaCoroutine */)) & 0x10 >> 4))) != 0 { var regYield int32 = (*SrcList_item)(unsafe.Pointer(pTabItem)).FregReturn Xsqlite3VdbeAddOp3(tls, v, 13, regYield, 0, (*SrcList_item)(unsafe.Pointer(pTabItem)).FaddrFillSub) (*WhereLevel)(unsafe.Pointer(pLevel)).Fp2 = Xsqlite3VdbeAddOp2(tls, v, 14, regYield, addrBrk) @@ -122750,42 +124762,18 @@ func Xsqlite3WhereCodeOneLoopStart(tls *libc.TLS, pParse uintptr, v uintptr, pWI codeExprOrVector(tls, pParse, pRight, iTarget, 1) } } - Xsqlite3VdbeAddOp2(tls, v, 69, (*struct { - FidxNum int32 - FneedFree U8 - FisOrdered I8 - FomitMask U16 - FidxStr uintptr - })(unsafe.Pointer(pLoop+24 /* &.u */)).FidxNum, iReg) + Xsqlite3VdbeAddOp2(tls, v, 69, *(*int32)(unsafe.Pointer(pLoop + 24 /* &.u */ /* &.vtab */ /* &.idxNum */)), iReg) Xsqlite3VdbeAddOp2(tls, v, 69, nConstraint, (iReg + 1)) Xsqlite3VdbeAddOp4(tls, v, 9, iCur, addrNotFound, iReg, - (*struct { - FidxNum int32 - FneedFree U8 - FisOrdered I8 - FomitMask U16 - FidxStr uintptr - })(unsafe.Pointer(pLoop+24 /* &.u */)).FidxStr, + *(*uintptr)(unsafe.Pointer(pLoop + 24 /* &.u */ /* &.vtab */ + 8 /* &.idxStr */)), func() int32 { - if (*struct { - FidxNum int32 - FneedFree U8 - FisOrdered I8 - FomitMask U16 - FidxStr uintptr - })(unsafe.Pointer(pLoop+24 /* &.u */)).FneedFree != 0 { + if *(*U8)(unsafe.Pointer(pLoop + 24 /* &.u */ /* &.vtab */ + 4 /* &.needFree */)) != 0 { return -7 } return -1 }()) - (*struct { - FidxNum int32 - FneedFree U8 - FisOrdered I8 - FomitMask U16 - FidxStr uintptr - })(unsafe.Pointer(pLoop + 24 /* &.u */)).FneedFree = U8(0) + *(*U8)(unsafe.Pointer(pLoop + 24 /* &.u */ /* &.vtab */ + 4 /* &.needFree */)) = U8(0) (*WhereLevel)(unsafe.Pointer(pLevel)).Fp1 = iCur (*WhereLevel)(unsafe.Pointer(pLevel)).Fop = func() uint8 { if (*WhereInfo)(unsafe.Pointer(pWInfo)).FeOnePass != 0 { @@ -122794,23 +124782,13 @@ func Xsqlite3WhereCodeOneLoopStart(tls *libc.TLS, pParse uintptr, v uintptr, pWI return uint8(61) }() (*WhereLevel)(unsafe.Pointer(pLevel)).Fp2 = Xsqlite3VdbeCurrentAddr(tls, v) - iIn = (*struct { - FnIn int32 - _ [4]byte - FaInLoop uintptr - })(unsafe.Pointer(pLevel + 56 /* &.u */)).FnIn + iIn = *(*int32)(unsafe.Pointer(pLevel + 56 /* &.u */ /* &.in */ /* &.nIn */)) for j = (nConstraint - 1); j >= 0; j-- { pTerm = *(*uintptr)(unsafe.Pointer((*WhereLoop)(unsafe.Pointer(pLoop)).FaLTerm + uintptr(j)*8)) if (int32((*WhereTerm)(unsafe.Pointer(pTerm)).FeOperator) & 0x0001) != 0 { iIn-- } - if (j < 16) && (((int32((*struct { - FidxNum int32 - FneedFree U8 - FisOrdered I8 - FomitMask U16 - FidxStr uintptr - })(unsafe.Pointer(pLoop+24 /* &.u */)).FomitMask) >> j) & 1) != 0) { + if (j < 16) && (((int32(*(*U16)(unsafe.Pointer((pLoop + 24 /* &.u */ /* &.vtab */) + 6 /* &.omitMask */))) >> j) & 1) != 0) { disableTerm(tls, pLevel, pTerm) } else if ((int32((*WhereTerm)(unsafe.Pointer(pTerm)).FeOperator) & 0x0001) != 0) && (Xsqlite3ExprVectorSize(tls, (*Expr)(unsafe.Pointer((*WhereTerm)(unsafe.Pointer(pTerm)).FpExpr)).FpLeft) == 1) { @@ -122825,11 +124803,7 @@ func Xsqlite3WhereCodeOneLoopStart(tls *libc.TLS, pParse uintptr, v uintptr, pWI if !(int32((*Sqlite3)(unsafe.Pointer(db)).FmallocFailed) != 0) { - pOp = Xsqlite3VdbeGetOp(tls, v, (*InLoop)(unsafe.Pointer((*struct { - FnIn int32 - _ [4]byte - FaInLoop uintptr - })(unsafe.Pointer(pLevel+56 /* &.u */)).FaInLoop+uintptr(iIn)*20)).FaddrInTop) + pOp = Xsqlite3VdbeGetOp(tls, v, *(*int32)(unsafe.Pointer(*(*uintptr)(unsafe.Pointer((pLevel + 56 /* &.u */ /* &.in */) + 8 /* &.aInLoop */)) + uintptr(iIn)*20 + 4 /* &.addrInTop */))) Xsqlite3VdbeAddOp3(tls, v, int32((*VdbeOp)(unsafe.Pointer(pOp)).Fopcode), (*VdbeOp)(unsafe.Pointer(pOp)).Fp1, (*VdbeOp)(unsafe.Pointer(pOp)).Fp2, (*VdbeOp)(unsafe.Pointer(pOp)).Fp3) } @@ -122986,37 +124960,19 @@ func Xsqlite3WhereCodeOneLoopStart(tls *libc.TLS, pParse uintptr, v uintptr, pWI Xsqlite3VdbeChangeP5(tls, v, (uint16(0x43 | 0x10))) } } else if ((*WhereLoop)(unsafe.Pointer(pLoop)).FwsFlags & U32(0x00000200)) != 0 { - var nEq U16 = (*struct { - FnEq U16 - FnBtm U16 - FnTop U16 - FnDistinctCol U16 - FpIndex uintptr - })(unsafe.Pointer(pLoop + 24 /* &.u */)).FnEq // Number of == or IN terms - var nBtm U16 = (*struct { - FnEq U16 - FnBtm U16 - FnTop U16 - FnDistinctCol U16 - FpIndex uintptr - })(unsafe.Pointer(pLoop + 24 /* &.u */)).FnBtm // Length of BTM vector - var nTop U16 = (*struct { - FnEq U16 - FnBtm U16 - FnTop U16 - FnDistinctCol U16 - FpIndex uintptr - })(unsafe.Pointer(pLoop + 24 /* &.u */)).FnTop // Length of TOP vector - var regBase int32 // Base register holding constraint values - var pRangeStart uintptr = uintptr(0) // Inequality constraint at range start - var pRangeEnd uintptr = uintptr(0) // Inequality constraint at range end - var startEq int32 // True if range start uses ==, >= or <= - var endEq int32 // True if range end uses ==, >= or <= - var start_constraints int32 // Start of range is constrained - var nConstraint int32 // Number of constraint terms - var iIdxCur int32 // The VDBE cursor for the index - var nExtraReg int32 = 0 // Number of extra registers needed - var op int32 // Instruction opcode + var nEq U16 = *(*U16)(unsafe.Pointer(pLoop + 24 /* &.u */ /* &.btree */ /* &.nEq */)) // Number of == or IN terms + var nBtm U16 = *(*U16)(unsafe.Pointer(pLoop + 24 /* &.u */ /* &.btree */ + 2 /* &.nBtm */)) // Length of BTM vector + var nTop U16 = *(*U16)(unsafe.Pointer(pLoop + 24 /* &.u */ /* &.btree */ + 4 /* &.nTop */)) // Length of TOP vector + var regBase int32 // Base register holding constraint values + var pRangeStart uintptr = uintptr(0) // Inequality constraint at range start + var pRangeEnd uintptr = uintptr(0) // Inequality constraint at range end + var startEq int32 // True if range start uses ==, >= or <= + var endEq int32 // True if range end uses ==, >= or <= + var start_constraints int32 // Start of range is constrained + var nConstraint int32 // Number of constraint terms + var iIdxCur int32 // The VDBE cursor for the index + var nExtraReg int32 = 0 // Number of extra registers needed + var op int32 // Instruction opcode // var zStartAff uintptr at bp+24, 8 // Affinity for start of range constraint var zEndAff uintptr = uintptr(0) // Affinity for end of range constraint @@ -123025,13 +124981,7 @@ func Xsqlite3WhereCodeOneLoopStart(tls *libc.TLS, pParse uintptr, v uintptr, pWI var omitTable int32 // True if we use the index only var regBignull int32 = 0 // big-null flag register - pIdx = (*struct { - FnEq U16 - FnBtm U16 - FnTop U16 - FnDistinctCol U16 - FpIndex uintptr - })(unsafe.Pointer(pLoop + 24 /* &.u */)).FpIndex + pIdx = *(*uintptr)(unsafe.Pointer(pLoop + 24 /* &.u */ /* &.btree */ + 8 /* &.pIndex */)) iIdxCur = (*WhereLevel)(unsafe.Pointer(pLevel)).FiIdxCur // Find any inequality constraint terms for the start and end @@ -123040,44 +124990,20 @@ func Xsqlite3WhereCodeOneLoopStart(tls *libc.TLS, pParse uintptr, v uintptr, pWI if ((*WhereLoop)(unsafe.Pointer(pLoop)).FwsFlags & U32(0x00000020)) != 0 { pRangeStart = *(*uintptr)(unsafe.Pointer((*WhereLoop)(unsafe.Pointer(pLoop)).FaLTerm + uintptr(libc.PostIncInt32(&j, 1))*8)) nExtraReg = func() int32 { - if (nExtraReg) > (int32((*struct { - FnEq U16 - FnBtm U16 - FnTop U16 - FnDistinctCol U16 - FpIndex uintptr - })(unsafe.Pointer(pLoop + 24 /* &.u */)).FnBtm)) { + if (nExtraReg) > (int32(*(*U16)(unsafe.Pointer(pLoop + 24 /* &.u */ /* &.btree */ + 2 /* &.nBtm */)))) { return nExtraReg } - return int32((*struct { - FnEq U16 - FnBtm U16 - FnTop U16 - FnDistinctCol U16 - FpIndex uintptr - })(unsafe.Pointer(pLoop + 24 /* &.u */)).FnBtm) + return int32(*(*U16)(unsafe.Pointer(pLoop + 24 /* &.u */ /* &.btree */ + 2 /* &.nBtm */))) }() // Like optimization range constraints always occur in pairs } if ((*WhereLoop)(unsafe.Pointer(pLoop)).FwsFlags & U32(0x00000010)) != 0 { pRangeEnd = *(*uintptr)(unsafe.Pointer((*WhereLoop)(unsafe.Pointer(pLoop)).FaLTerm + uintptr(libc.PostIncInt32(&j, 1))*8)) nExtraReg = func() int32 { - if (nExtraReg) > (int32((*struct { - FnEq U16 - FnBtm U16 - FnTop U16 - FnDistinctCol U16 - FpIndex uintptr - })(unsafe.Pointer(pLoop + 24 /* &.u */)).FnTop)) { + if (nExtraReg) > (int32(*(*U16)(unsafe.Pointer(pLoop + 24 /* &.u */ /* &.btree */ + 4 /* &.nTop */)))) { return nExtraReg } - return int32((*struct { - FnEq U16 - FnBtm U16 - FnTop U16 - FnDistinctCol U16 - FpIndex uintptr - })(unsafe.Pointer(pLoop + 24 /* &.u */)).FnTop) + return int32(*(*U16)(unsafe.Pointer(pLoop + 24 /* &.u */ /* &.btree */ + 4 /* &.nTop */))) }() if pRangeStart == uintptr(0) { j = int32(*(*I16)(unsafe.Pointer((*Index)(unsafe.Pointer(pIdx)).FaiColumn + uintptr(nEq)*2))) @@ -123604,7 +125530,7 @@ func Xsqlite3WhereCodeOneLoopStart(tls *libc.TLS, pParse uintptr, v uintptr, pWI // contained one or more AND term from a notReady table. The // terms from the notReady table could not be tested and will // need to be tested later. - if uint32(int32(*(*uint8)(unsafe.Pointer(pSubWInfo + 68 /* &.untestedTerms */))&0x2>>1)) != 0 { + if (uint32(int32(*(*uint8)(unsafe.Pointer(pSubWInfo + 68 /* &.untestedTerms */)) & 0x2 >> 1))) != 0 { untestedTerms = 1 } @@ -123622,28 +125548,10 @@ func Xsqlite3WhereCodeOneLoopStart(tls *libc.TLS, pParse uintptr, v uintptr, pWI pSubLoop = (*WhereLevel)(unsafe.Pointer((pSubWInfo + 920 /* &.a */) + uintptr(0)*88)).FpWLoop if ((((*WhereLoop)(unsafe.Pointer(pSubLoop)).FwsFlags & U32(0x00000200)) != U32(0)) && - ((ii == 0) || ((*struct { - FnEq U16 - FnBtm U16 - FnTop U16 - FnDistinctCol U16 - FpIndex uintptr - })(unsafe.Pointer(pSubLoop+24 /* &.u */)).FpIndex == pCov))) && - ((((*Table)(unsafe.Pointer((pTab))).FtabFlags & U32(0x0080)) == U32(0)) || !(int32(*(*uint16)(unsafe.Pointer(((*struct { - FnEq U16 - FnBtm U16 - FnTop U16 - FnDistinctCol U16 - FpIndex uintptr - })(unsafe.Pointer(pSubLoop + 24 /* &.u */)).FpIndex) + 100 /* &.idxType */))&0x3>>0) == 2)) { - - pCov = (*struct { - FnEq U16 - FnBtm U16 - FnTop U16 - FnDistinctCol U16 - FpIndex uintptr - })(unsafe.Pointer(pSubLoop + 24 /* &.u */)).FpIndex + ((ii == 0) || (*(*uintptr)(unsafe.Pointer((pSubLoop + 24 /* &.u */ /* &.btree */) + 8 /* &.pIndex */)) == pCov))) && + ((((*Table)(unsafe.Pointer((pTab))).FtabFlags & U32(0x0080)) == U32(0)) || !((int32(*(*uint16)(unsafe.Pointer((*(*uintptr)(unsafe.Pointer(pSubLoop + 24 /* &.u */ /* &.btree */ + 8 /* &.pIndex */))) + 100 /* &.idxType */)) & 0x3 >> 0)) == 2)) { + + pCov = *(*uintptr)(unsafe.Pointer(pSubLoop + 24 /* &.u */ /* &.btree */ + 8 /* &.pIndex */)) } else { pCov = uintptr(0) } @@ -123675,7 +125583,7 @@ func Xsqlite3WhereCodeOneLoopStart(tls *libc.TLS, pParse uintptr, v uintptr, pWI } } else { - if uint32(int32(*(*uint8)(unsafe.Pointer(pTabItem + 60 /* &.fg */ + 4 /* &.isRecursive */))&0x20>>5)) != 0 { + if (uint32(int32(*(*uint8)(unsafe.Pointer(pTabItem + 60 /* &.fg */ + 4 /* &.isRecursive */)) & 0x20 >> 5))) != 0 { // Tables marked isRecursive have only a single row that is stored in // a pseudo-cursor. No need to Rewind or Next such cursors. (*WhereLevel)(unsafe.Pointer(pLevel)).Fop = U8(173) @@ -124278,10 +126186,18 @@ type Op2 = struct { } /* sqlite3.c:144350:18 */ var aOp = [4]Op2{ - {FzOp: ts + 17143 /* "match" */, FeOp2: uint8(64)}, - {FzOp: ts + 16437 /* "glob" */, FeOp2: uint8(66)}, - {FzOp: ts + 15997 /* "like" */, FeOp2: uint8(65)}, - {FzOp: ts + 23461 /* "regexp" */, FeOp2: uint8(67)}, + { + FzOp: ts + 17143, /* "match" */ + FeOp2: uint8(64)}, + { + FzOp: ts + 16437, /* "glob" */ + FeOp2: uint8(66)}, + { + FzOp: ts + 15997, /* "like" */ + FeOp2: uint8(65)}, + { + FzOp: ts + 23461, /* "regexp" */ + FeOp2: uint8(67)}, } /* sqlite3.c:144353:7 */ // If the pBase expression originated in the ON or USING clause of @@ -124818,7 +126734,7 @@ func exprSelectUsage(tls *libc.TLS, pMaskSet uintptr, pS uintptr) Bitmask { /* s for i = 0; i < (*SrcList)(unsafe.Pointer(pSrc)).FnSrc; i++ { mask = mask | (exprSelectUsage(tls, pMaskSet, (*SrcList_item)(unsafe.Pointer((pSrc+8 /* &.a */)+uintptr(i)*112)).FpSelect)) mask = mask | (Xsqlite3WhereExprUsage(tls, pMaskSet, (*SrcList_item)(unsafe.Pointer((pSrc+8 /* &.a */)+uintptr(i)*112)).FpOn)) - if uint32(int32(*(*uint8)(unsafe.Pointer((pSrc + 8 /* &.a */) + uintptr(i)*112 + 60 /* &.fg */ + 4 /* &.isTabFunc */))&0x4>>2)) != 0 { + if (uint32(int32(*(*uint8)(unsafe.Pointer((pSrc + 8 /* &.a */) + uintptr(i)*112 + 60 /* &.fg */ + 4 /* &.isTabFunc */)) & 0x4 >> 2))) != 0 { mask = mask | (Xsqlite3WhereExprListUsage(tls, pMaskSet, *(*uintptr)(unsafe.Pointer((pSrc + 8 /* &.a */) + uintptr(i)*112 + 96 /* &.u1 */)))) } } @@ -125460,7 +127376,7 @@ func Xsqlite3WhereTabFuncArgs(tls *libc.TLS, pParse uintptr, pItem uintptr, pWC var pArgs uintptr var pColRef uintptr var pTerm uintptr - if int32(*(*uint8)(unsafe.Pointer((pItem + 60 /* &.fg */) + 4 /* &.isTabFunc */))&0x4>>2) == 0 { + if (int32(*(*uint8)(unsafe.Pointer((pItem + 60 /* &.fg */) + 4 /* &.isTabFunc */)) & 0x4 >> 2)) == 0 { return } pTab = (*SrcList_item)(unsafe.Pointer(pItem)).FpTab @@ -125607,7 +127523,7 @@ func Xsqlite3WhereIsOrdered(tls *libc.TLS, pWInfo uintptr) int32 { /* sqlite3.c: // the final answer. func Xsqlite3WhereOrderByLimitOptLabel(tls *libc.TLS, pWInfo uintptr) int32 { /* sqlite3.c:145707:20: */ var pInner uintptr - if !(int32(*(*uint8)(unsafe.Pointer(pWInfo + 68 /* &.bOrderedInnerLoop */))&0x4>>2) != 0) { + if !((int32(*(*uint8)(unsafe.Pointer(pWInfo + 68 /* &.bOrderedInnerLoop */)) & 0x4 >> 2)) != 0) { // The ORDER BY LIMIT optimization does not apply. Jump to the // continuation of the inner-most loop. return (*WhereInfo)(unsafe.Pointer(pWInfo)).FiContinue @@ -125653,7 +127569,7 @@ func Xsqlite3WhereOkOnePass(tls *libc.TLS, pWInfo uintptr, aiCur uintptr) int32 // Return TRUE if the WHERE loop uses the OP_DeferredSeek opcode to move // the data cursor to the row selected by the index cursor. func Xsqlite3WhereUsesDeferredSeek(tls *libc.TLS, pWInfo uintptr) int32 { /* sqlite3.c:145769:20: */ - return int32(*(*uint8)(unsafe.Pointer(pWInfo + 68 /* &.bDeferredSeek */)) & 0x1 >> 0) + return (int32(*(*uint8)(unsafe.Pointer(pWInfo + 68 /* &.bDeferredSeek */)) & 0x1 >> 0)) } // Move the content of pSrc into pDest @@ -126286,13 +128202,7 @@ __2: __3: ; - (*struct { - FnEq U16 - FnBtm U16 - FnTop U16 - FnDistinctCol U16 - FpIndex uintptr - })(unsafe.Pointer(pLoop + 24 /* &.u */)).FnEq = libc.AssignPtrUint16(pLoop+44 /* &.nLTerm */, U16(nKeyCol)) + *(*U16)(unsafe.Pointer(pLoop + 24 /* &.u */ /* &.btree */ /* &.nEq */)) = libc.AssignPtrUint16(pLoop+44 /* &.nLTerm */, U16(nKeyCol)) (*WhereLoop)(unsafe.Pointer(pLoop)).FwsFlags = (U32(((0x00000001 | 0x00000040) | 0x00000200) | 0x00004000)) @@ -126344,13 +128254,7 @@ __13: goto end_auto_index_create __14: ; - (*struct { - FnEq U16 - FnBtm U16 - FnTop U16 - FnDistinctCol U16 - FpIndex uintptr - })(unsafe.Pointer(pLoop + 24 /* &.u */)).FpIndex = pIdx + *(*uintptr)(unsafe.Pointer(pLoop + 24 /* &.u */ /* &.btree */ + 8 /* &.pIndex */)) = pIdx (*Index)(unsafe.Pointer(pIdx)).FzName = ts + 23578 /* "auto-index" */ (*Index)(unsafe.Pointer(pIdx)).FpTable = pTable n = 0 @@ -126452,7 +128356,7 @@ __24: // Fill the automatic index with content pTabItem = (((*WhereInfo)(unsafe.Pointer((*WhereClause)(unsafe.Pointer(pWC)).FpWInfo)).FpTabList + 8 /* &.a */) + uintptr((*WhereLevel)(unsafe.Pointer(pLevel)).FiFrom)*112) - if !(uint32(int32(*(*uint8)(unsafe.Pointer(pTabItem + 60 /* &.fg */ + 4 /* &.viaCoroutine */))&0x10>>4)) != 0) { + if !((uint32(int32(*(*uint8)(unsafe.Pointer(pTabItem + 60 /* &.fg */ + 4 /* &.viaCoroutine */)) & 0x10 >> 4))) != 0) { goto __28 } regYield = (*SrcList_item)(unsafe.Pointer(pTabItem)).FregReturn @@ -126485,7 +128389,7 @@ __30: Xsqlite3VdbeResolveLabel(tls, v, iContinue) __31: ; - if !(uint32(int32(*(*uint8)(unsafe.Pointer(pTabItem + 60 /* &.fg */ + 4 /* &.viaCoroutine */))&0x10>>4)) != 0) { + if !((uint32(int32(*(*uint8)(unsafe.Pointer(pTabItem + 60 /* &.fg */ + 4 /* &.viaCoroutine */)) & 0x10 >> 4))) != 0) { goto __32 } Xsqlite3VdbeChangeP2(tls, v, addrCounter, (regBase + n)) @@ -126932,20 +128836,8 @@ func whereRangeSkipScanEst(tls *libc.TLS, pParse uintptr, pLower uintptr, pUpper bp := tls.Alloc(24) defer tls.Free(24) - var p uintptr = (*struct { - FnEq U16 - FnBtm U16 - FnTop U16 - FnDistinctCol U16 - FpIndex uintptr - })(unsafe.Pointer(pLoop + 24 /* &.u */)).FpIndex - var nEq int32 = int32((*struct { - FnEq U16 - FnBtm U16 - FnTop U16 - FnDistinctCol U16 - FpIndex uintptr - })(unsafe.Pointer(pLoop + 24 /* &.u */)).FnEq) + var p uintptr = *(*uintptr)(unsafe.Pointer(pLoop + 24 /* &.u */ /* &.btree */ + 8 /* &.pIndex */)) + var nEq int32 = int32(*(*U16)(unsafe.Pointer(pLoop + 24 /* &.u */ /* &.btree */ /* &.nEq */))) var db uintptr = (*Parse)(unsafe.Pointer(pParse)).Fdb var nLower int32 = -1 var nUpper int32 = ((*Index)(unsafe.Pointer(p)).FnSample + 1) @@ -127060,20 +128952,8 @@ func whereRangeScanEst(tls *libc.TLS, pParse uintptr, pBuilder uintptr, pLower u var nOut int32 = int32((*WhereLoop)(unsafe.Pointer(pLoop)).FnOut) var nNew LogEst - var p uintptr = (*struct { - FnEq U16 - FnBtm U16 - FnTop U16 - FnDistinctCol U16 - FpIndex uintptr - })(unsafe.Pointer(pLoop + 24 /* &.u */)).FpIndex - var nEq int32 = int32((*struct { - FnEq U16 - FnBtm U16 - FnTop U16 - FnDistinctCol U16 - FpIndex uintptr - })(unsafe.Pointer(pLoop + 24 /* &.u */)).FnEq) + var p uintptr = *(*uintptr)(unsafe.Pointer(pLoop + 24 /* &.u */ /* &.btree */ + 8 /* &.pIndex */)) + var nEq int32 = int32(*(*U16)(unsafe.Pointer(pLoop + 24 /* &.u */ /* &.btree */ /* &.nEq */))) if (((*Index)(unsafe.Pointer(p)).FnSample > 0) && (nEq < (*Index)(unsafe.Pointer(p)).FnSampleCol)) && ((int32((*Sqlite3)(unsafe.Pointer(((*Parse)(unsafe.Pointer(pParse)).Fdb))).FdbOptFlags) & (0x0800)) == 0) { @@ -127081,20 +128961,8 @@ func whereRangeScanEst(tls *libc.TLS, pParse uintptr, pBuilder uintptr, pLower u *(*uintptr)(unsafe.Pointer(bp + 8 /* pRec */)) = (*WhereLoopBuilder)(unsafe.Pointer(pBuilder)).FpRec // var a [2]TRowcnt at bp, 8 - var nBtm int32 = int32((*struct { - FnEq U16 - FnBtm U16 - FnTop U16 - FnDistinctCol U16 - FpIndex uintptr - })(unsafe.Pointer(pLoop + 24 /* &.u */)).FnBtm) - var nTop int32 = int32((*struct { - FnEq U16 - FnBtm U16 - FnTop U16 - FnDistinctCol U16 - FpIndex uintptr - })(unsafe.Pointer(pLoop + 24 /* &.u */)).FnTop) + var nBtm int32 = int32(*(*U16)(unsafe.Pointer(pLoop + 24 /* &.u */ /* &.btree */ + 2 /* &.nBtm */))) + var nTop int32 = int32(*(*U16)(unsafe.Pointer(pLoop + 24 /* &.u */ /* &.btree */ + 4 /* &.nTop */))) // Variable iLower will be set to the estimate of the number of rows in // the index that are less than the lower bound of the range query. The @@ -127274,20 +129142,8 @@ func whereEqualScanEst(tls *libc.TLS, pParse uintptr, pBuilder uintptr, pExpr ui bp := tls.Alloc(20) defer tls.Free(20) - var p uintptr = (*struct { - FnEq U16 - FnBtm U16 - FnTop U16 - FnDistinctCol U16 - FpIndex uintptr - })(unsafe.Pointer((*WhereLoopBuilder)(unsafe.Pointer(pBuilder)).FpNew + 24 /* &.u */)).FpIndex - var nEq int32 = int32((*struct { - FnEq U16 - FnBtm U16 - FnTop U16 - FnDistinctCol U16 - FpIndex uintptr - })(unsafe.Pointer((*WhereLoopBuilder)(unsafe.Pointer(pBuilder)).FpNew + 24 /* &.u */)).FnEq) + var p uintptr = *(*uintptr)(unsafe.Pointer((*WhereLoopBuilder)(unsafe.Pointer(pBuilder)).FpNew + 24 /* &.u */ /* &.btree */ + 8 /* &.pIndex */)) + var nEq int32 = int32(*(*U16)(unsafe.Pointer((*WhereLoopBuilder)(unsafe.Pointer(pBuilder)).FpNew + 24 /* &.u */ /* &.btree */ /* &.nEq */))) *(*uintptr)(unsafe.Pointer(bp /* pRec */)) = (*WhereLoopBuilder)(unsafe.Pointer(pBuilder)).FpRec var rc int32 // Subfunction return code // var a [2]TRowcnt at bp+12, 8 @@ -127342,13 +129198,7 @@ func whereInScanEst(tls *libc.TLS, pParse uintptr, pBuilder uintptr, pList uintp bp := tls.Alloc(4) defer tls.Free(4) - var p uintptr = (*struct { - FnEq U16 - FnBtm U16 - FnTop U16 - FnDistinctCol U16 - FpIndex uintptr - })(unsafe.Pointer((*WhereLoopBuilder)(unsafe.Pointer(pBuilder)).FpNew + 24 /* &.u */)).FpIndex + var p uintptr = *(*uintptr)(unsafe.Pointer((*WhereLoopBuilder)(unsafe.Pointer(pBuilder)).FpNew + 24 /* &.u */ /* &.btree */ + 8 /* &.pIndex */)) var nRow0 I64 = I64(Xsqlite3LogEstToInt(tls, *(*LogEst)(unsafe.Pointer((*Index)(unsafe.Pointer(p)).FaiRowLogEst + uintptr(0)*2)))) var nRecValid int32 = (*WhereLoopBuilder)(unsafe.Pointer(pBuilder)).FnRecValid var rc int32 = 0 // Subfunction return code @@ -127386,62 +129236,14 @@ func whereLoopInit(tls *libc.TLS, p uintptr) { /* sqlite3.c:147466:13: */ // Clear the WhereLoop.u union. Leave WhereLoop.pLTerm intact. func whereLoopClearUnion(tls *libc.TLS, db uintptr, p uintptr) { /* sqlite3.c:147476:13: */ if ((*WhereLoop)(unsafe.Pointer(p)).FwsFlags & (U32(0x00000400 | 0x00004000))) != 0 { - if (((*WhereLoop)(unsafe.Pointer(p)).FwsFlags & U32(0x00000400)) != U32(0)) && ((*struct { - FidxNum int32 - FneedFree U8 - FisOrdered I8 - FomitMask U16 - FidxStr uintptr - })(unsafe.Pointer(p+24 /* &.u */)).FneedFree != 0) { - Xsqlite3_free(tls, (*struct { - FidxNum int32 - FneedFree U8 - FisOrdered I8 - FomitMask U16 - FidxStr uintptr - })(unsafe.Pointer(p+24 /* &.u */)).FidxStr) - (*struct { - FidxNum int32 - FneedFree U8 - FisOrdered I8 - FomitMask U16 - FidxStr uintptr - })(unsafe.Pointer(p + 24 /* &.u */)).FneedFree = U8(0) - (*struct { - FidxNum int32 - FneedFree U8 - FisOrdered I8 - FomitMask U16 - FidxStr uintptr - })(unsafe.Pointer(p + 24 /* &.u */)).FidxStr = uintptr(0) - } else if (((*WhereLoop)(unsafe.Pointer(p)).FwsFlags & U32(0x00004000)) != U32(0)) && ((*struct { - FnEq U16 - FnBtm U16 - FnTop U16 - FnDistinctCol U16 - FpIndex uintptr - })(unsafe.Pointer(p+24 /* &.u */)).FpIndex != uintptr(0)) { - Xsqlite3DbFree(tls, db, (*Index)(unsafe.Pointer((*struct { - FnEq U16 - FnBtm U16 - FnTop U16 - FnDistinctCol U16 - FpIndex uintptr - })(unsafe.Pointer(p+24 /* &.u */)).FpIndex)).FzColAff) - Xsqlite3DbFreeNN(tls, db, (*struct { - FnEq U16 - FnBtm U16 - FnTop U16 - FnDistinctCol U16 - FpIndex uintptr - })(unsafe.Pointer(p+24 /* &.u */)).FpIndex) - (*struct { - FnEq U16 - FnBtm U16 - FnTop U16 - FnDistinctCol U16 - FpIndex uintptr - })(unsafe.Pointer(p + 24 /* &.u */)).FpIndex = uintptr(0) + if (((*WhereLoop)(unsafe.Pointer(p)).FwsFlags & U32(0x00000400)) != U32(0)) && (*(*U8)(unsafe.Pointer((p + 24 /* &.u */ /* &.vtab */) + 4 /* &.needFree */)) != 0) { + Xsqlite3_free(tls, *(*uintptr)(unsafe.Pointer(p + 24 /* &.u */ /* &.vtab */ + 8 /* &.idxStr */))) + *(*U8)(unsafe.Pointer(p + 24 /* &.u */ /* &.vtab */ + 4 /* &.needFree */)) = U8(0) + *(*uintptr)(unsafe.Pointer(p + 24 /* &.u */ /* &.vtab */ + 8 /* &.idxStr */)) = uintptr(0) + } else if (((*WhereLoop)(unsafe.Pointer(p)).FwsFlags & U32(0x00004000)) != U32(0)) && (*(*uintptr)(unsafe.Pointer((p + 24 /* &.u */ /* &.btree */) + 8 /* &.pIndex */)) != uintptr(0)) { + Xsqlite3DbFree(tls, db, (*Index)(unsafe.Pointer(*(*uintptr)(unsafe.Pointer(p + 24 /* &.u */ /* &.btree */ + 8 /* &.pIndex */)))).FzColAff) + Xsqlite3DbFreeNN(tls, db, *(*uintptr)(unsafe.Pointer(p + 24 /* &.u */ /* &.btree */ + 8 /* &.pIndex */))) + *(*uintptr)(unsafe.Pointer(p + 24 /* &.u */ /* &.btree */ + 8 /* &.pIndex */)) = uintptr(0) } } } @@ -127493,21 +129295,9 @@ func whereLoopXfer(tls *libc.TLS, db uintptr, pTo uintptr, pFrom uintptr) int32 libc.Xmemcpy(tls, pTo, pFrom, uint64((uintptr(0) + 48 /* &.nLSlot */))) libc.Xmemcpy(tls, (*WhereLoop)(unsafe.Pointer(pTo)).FaLTerm, (*WhereLoop)(unsafe.Pointer(pFrom)).FaLTerm, (uint64((*WhereLoop)(unsafe.Pointer(pTo)).FnLTerm) * uint64(unsafe.Sizeof(uintptr(0))))) if ((*WhereLoop)(unsafe.Pointer(pFrom)).FwsFlags & U32(0x00000400)) != 0 { - (*struct { - FidxNum int32 - FneedFree U8 - FisOrdered I8 - FomitMask U16 - FidxStr uintptr - })(unsafe.Pointer(pFrom + 24 /* &.u */)).FneedFree = U8(0) + *(*U8)(unsafe.Pointer(pFrom + 24 /* &.u */ /* &.vtab */ + 4 /* &.needFree */)) = U8(0) } else if ((*WhereLoop)(unsafe.Pointer(pFrom)).FwsFlags & U32(0x00004000)) != U32(0) { - (*struct { - FnEq U16 - FnBtm U16 - FnTop U16 - FnDistinctCol U16 - FpIndex uintptr - })(unsafe.Pointer(pFrom + 24 /* &.u */)).FpIndex = uintptr(0) + *(*uintptr)(unsafe.Pointer(pFrom + 24 /* &.u */ /* &.btree */ + 8 /* &.pIndex */)) = uintptr(0) } return 0 } @@ -127525,11 +129315,7 @@ func whereInfoFree(tls *libc.TLS, db uintptr, pWInfo uintptr) { /* sqlite3.c:147 for i = 0; i < int32((*WhereInfo)(unsafe.Pointer(pWInfo)).FnLevel); i++ { var pLevel uintptr = ((pWInfo + 920 /* &.a */) + uintptr(i)*88) if ((*WhereLevel)(unsafe.Pointer(pLevel)).FpWLoop != 0) && (((*WhereLoop1)(unsafe.Pointer((*WhereLevel)(unsafe.Pointer(pLevel)).FpWLoop)).FwsFlags & U32(0x00000800)) != 0) { - Xsqlite3DbFree(tls, db, (*struct { - FnIn int32 - _ [4]byte - FaInLoop uintptr - })(unsafe.Pointer(pLevel+56 /* &.u */)).FaInLoop) + Xsqlite3DbFree(tls, db, *(*uintptr)(unsafe.Pointer(pLevel + 56 /* &.u */ /* &.in */ + 8 /* &.aInLoop */))) } } Xsqlite3WhereClauseClear(tls, (pWInfo + 104 /* &.sWC */)) @@ -127806,21 +129592,9 @@ func whereLoopInsert(tls *libc.TLS, pBuilder uintptr, pTemplate uintptr) int32 { } rc = whereLoopXfer(tls, db, p, pTemplate) if ((*WhereLoop)(unsafe.Pointer(p)).FwsFlags & U32(0x00000400)) == U32(0) { - var pIndex uintptr = (*struct { - FnEq U16 - FnBtm U16 - FnTop U16 - FnDistinctCol U16 - FpIndex uintptr - })(unsafe.Pointer(p + 24 /* &.u */)).FpIndex - if (pIndex != 0) && (int32(*(*uint16)(unsafe.Pointer(pIndex + 100 /* &.idxType */))&0x3>>0) == 3) { - (*struct { - FnEq U16 - FnBtm U16 - FnTop U16 - FnDistinctCol U16 - FpIndex uintptr - })(unsafe.Pointer(p + 24 /* &.u */)).FpIndex = uintptr(0) + var pIndex uintptr = *(*uintptr)(unsafe.Pointer(p + 24 /* &.u */ /* &.btree */ + 8 /* &.pIndex */)) + if (pIndex != 0) && ((int32(*(*uint16)(unsafe.Pointer(pIndex + 100 /* &.idxType */)) & 0x3 >> 0)) == 3) { + *(*uintptr)(unsafe.Pointer(p + 24 /* &.u */ /* &.btree */ + 8 /* &.pIndex */)) = uintptr(0) } } return rc @@ -128050,31 +129824,13 @@ func whereLoopAddBtreeIndex(tls *libc.TLS, pBuilder uintptr, pSrc uintptr, pProb opMask = (((((((0x0002 | 0x0001) | (int32(0x0002) << (54 - 53))) | (int32(0x0002) << (57 - 53))) | (int32(0x0002) << (56 - 53))) | (int32(0x0002) << (55 - 53))) | 0x0100) | 0x0080) } - if uint32(int32(*(*uint16)(unsafe.Pointer(pProbe + 100 /* &.bUnordered */))&0x4>>2)) != 0 { + if (uint32(int32(*(*uint16)(unsafe.Pointer(pProbe + 100 /* &.bUnordered */)) & 0x4 >> 2))) != 0 { opMask = opMask & (^int32(libc.Int32FromInt32(((((int32(0x0002) << (54 - 53)) | (int32(0x0002) << (57 - 53))) | (int32(0x0002) << (56 - 53))) | (int32(0x0002) << (55 - 53)))))) } - saved_nEq = (*struct { - FnEq U16 - FnBtm U16 - FnTop U16 - FnDistinctCol U16 - FpIndex uintptr - })(unsafe.Pointer(pNew + 24 /* &.u */)).FnEq - saved_nBtm = (*struct { - FnEq U16 - FnBtm U16 - FnTop U16 - FnDistinctCol U16 - FpIndex uintptr - })(unsafe.Pointer(pNew + 24 /* &.u */)).FnBtm - saved_nTop = (*struct { - FnEq U16 - FnBtm U16 - FnTop U16 - FnDistinctCol U16 - FpIndex uintptr - })(unsafe.Pointer(pNew + 24 /* &.u */)).FnTop + saved_nEq = *(*U16)(unsafe.Pointer(pNew + 24 /* &.u */ /* &.btree */ /* &.nEq */)) + saved_nBtm = *(*U16)(unsafe.Pointer(pNew + 24 /* &.u */ /* &.btree */ + 2 /* &.nBtm */)) + saved_nTop = *(*U16)(unsafe.Pointer(pNew + 24 /* &.u */ /* &.btree */ + 4 /* &.nTop */)) saved_nSkip = (*WhereLoop)(unsafe.Pointer(pNew)).FnSkip saved_nLTerm = (*WhereLoop)(unsafe.Pointer(pNew)).FnLTerm saved_wsFlags = (*WhereLoop)(unsafe.Pointer(pNew)).FwsFlags @@ -128119,27 +129875,9 @@ func whereLoopAddBtreeIndex(tls *libc.TLS, pBuilder uintptr, pSrc uintptr, pProb *(*uint8)(unsafe.Pointer(pBuilder + 52 /* &.bldFlags1 */)) |= uint8((0x0001)) } (*WhereLoop)(unsafe.Pointer(pNew)).FwsFlags = saved_wsFlags - (*struct { - FnEq U16 - FnBtm U16 - FnTop U16 - FnDistinctCol U16 - FpIndex uintptr - })(unsafe.Pointer(pNew + 24 /* &.u */)).FnEq = saved_nEq - (*struct { - FnEq U16 - FnBtm U16 - FnTop U16 - FnDistinctCol U16 - FpIndex uintptr - })(unsafe.Pointer(pNew + 24 /* &.u */)).FnBtm = saved_nBtm - (*struct { - FnEq U16 - FnBtm U16 - FnTop U16 - FnDistinctCol U16 - FpIndex uintptr - })(unsafe.Pointer(pNew + 24 /* &.u */)).FnTop = saved_nTop + *(*U16)(unsafe.Pointer(pNew + 24 /* &.u */ /* &.btree */ /* &.nEq */)) = saved_nEq + *(*U16)(unsafe.Pointer(pNew + 24 /* &.u */ /* &.btree */ + 2 /* &.nBtm */)) = saved_nBtm + *(*U16)(unsafe.Pointer(pNew + 24 /* &.u */ /* &.btree */ + 4 /* &.nTop */)) = saved_nTop (*WhereLoop)(unsafe.Pointer(pNew)).FnLTerm = saved_nLTerm if whereLoopResize(tls, db, pNew, (int32((*WhereLoop)(unsafe.Pointer(pNew)).FnLTerm)+1)) != 0 { break @@ -128168,7 +129906,7 @@ func whereLoopAddBtreeIndex(tls *libc.TLS, pBuilder uintptr, pSrc uintptr, pProb // "x IN (value, value, ...)" nIn = int32(Xsqlite3LogEst(tls, uint64((*ExprList)(unsafe.Pointer(*(*uintptr)(unsafe.Pointer(pExpr + 32 /* &.x */)))).FnExpr))) } - if uint32(int32(*(*uint16)(unsafe.Pointer(pProbe + 100 /* &.hasStat1 */))&0x80>>7)) != 0 { + if (uint32(int32(*(*uint16)(unsafe.Pointer(pProbe + 100 /* &.hasStat1 */)) & 0x80 >> 7))) != 0 { var M LogEst var logK LogEst var safetyMargin LogEst @@ -128206,7 +129944,7 @@ func whereLoopAddBtreeIndex(tls *libc.TLS, pBuilder uintptr, pSrc uintptr, pProb if (iCol == (-1)) || (((iCol >= 0) && (int32(nInMul) == 0)) && (int32(saved_nEq) == (int32((*Index)(unsafe.Pointer(pProbe)).FnKeyCol) - 1))) { - if ((iCol == (-1)) || (uint32(int32(*(*uint16)(unsafe.Pointer(pProbe + 100 /* &.uniqNotNull */))&0x8>>3)) != 0)) || + if ((iCol == (-1)) || ((uint32(int32(*(*uint16)(unsafe.Pointer(pProbe + 100 /* &.uniqNotNull */)) & 0x8 >> 3))) != 0)) || (((int32((*Index)(unsafe.Pointer(pProbe)).FnKeyCol) == 1) && ((*Index)(unsafe.Pointer(pProbe)).FonError != 0)) && (int32(eOp) == 0x0002)) { *(*U32)(unsafe.Pointer(pNew + 40 /* &.wsFlags */)) |= (U32(0x00001000)) } else { @@ -128218,13 +129956,7 @@ func whereLoopAddBtreeIndex(tls *libc.TLS, pBuilder uintptr, pSrc uintptr, pProb } else if (int32(eOp) & ((int32(0x0002) << (54 - 53)) | (int32(0x0002) << (57 - 53)))) != 0 { *(*U32)(unsafe.Pointer(pNew + 40 /* &.wsFlags */)) |= (U32(0x00000002 | 0x00000020)) - (*struct { - FnEq U16 - FnBtm U16 - FnTop U16 - FnDistinctCol U16 - FpIndex uintptr - })(unsafe.Pointer(pNew + 24 /* &.u */)).FnBtm = U16(whereRangeVectorLen(tls, + *(*U16)(unsafe.Pointer(pNew + 24 /* &.u */ /* &.btree */ + 2 /* &.nBtm */)) = U16(whereRangeVectorLen(tls, pParse, (*SrcList_item)(unsafe.Pointer(pSrc)).FiCursor, pProbe, int32(saved_nEq), pTerm)) pBtm = pTerm pTop = uintptr(0) @@ -128238,24 +129970,12 @@ func whereLoopAddBtreeIndex(tls *libc.TLS, pBuilder uintptr, pSrc uintptr, pProb } // OOM *(*uintptr)(unsafe.Pointer((*WhereLoop)(unsafe.Pointer(pNew)).FaLTerm + uintptr(libc.PostIncUint16(&(*WhereLoop)(unsafe.Pointer(pNew)).FnLTerm, 1))*8)) = pTop *(*U32)(unsafe.Pointer(pNew + 40 /* &.wsFlags */)) |= (U32(0x00000010)) - (*struct { - FnEq U16 - FnBtm U16 - FnTop U16 - FnDistinctCol U16 - FpIndex uintptr - })(unsafe.Pointer(pNew + 24 /* &.u */)).FnTop = U16(1) + *(*U16)(unsafe.Pointer(pNew + 24 /* &.u */ /* &.btree */ + 4 /* &.nTop */)) = U16(1) } } else { *(*U32)(unsafe.Pointer(pNew + 40 /* &.wsFlags */)) |= (U32(0x00000002 | 0x00000010)) - (*struct { - FnEq U16 - FnBtm U16 - FnTop U16 - FnDistinctCol U16 - FpIndex uintptr - })(unsafe.Pointer(pNew + 24 /* &.u */)).FnTop = U16(whereRangeVectorLen(tls, + *(*U16)(unsafe.Pointer(pNew + 24 /* &.u */ /* &.btree */ + 4 /* &.nTop */)) = U16(whereRangeVectorLen(tls, pParse, (*SrcList_item)(unsafe.Pointer(pSrc)).FiCursor, pProbe, int32(saved_nEq), pTerm)) pTop = pTerm if ((*WhereLoop)(unsafe.Pointer(pNew)).FwsFlags & U32(0x00000020)) != U32(0) { @@ -128276,13 +129996,7 @@ func whereLoopAddBtreeIndex(tls *libc.TLS, pBuilder uintptr, pSrc uintptr, pProb // data, using some other estimate. whereRangeScanEst(tls, pParse, pBuilder, pBtm, pTop, pNew) } else { - var nEq int32 = int32(libc.PreIncUint16(&(*struct { - FnEq U16 - FnBtm U16 - FnTop U16 - FnDistinctCol U16 - FpIndex uintptr - })(unsafe.Pointer(pNew+24 /* &.u */)).FnEq, 1)) + var nEq int32 = int32(libc.PreIncUint16(&*(*U16)(unsafe.Pointer(pNew + 24 /* &.u */ /* &.btree */ /* &.nEq */)), 1)) if (int32((*WhereTerm)(unsafe.Pointer(pTerm)).FtruthProb) <= 0) && (int32(*(*I16)(unsafe.Pointer((*Index)(unsafe.Pointer(pProbe)).FaiColumn + uintptr(saved_nEq)*2))) >= 0) { @@ -128292,13 +130006,7 @@ func whereLoopAddBtreeIndex(tls *libc.TLS, pBuilder uintptr, pSrc uintptr, pProb *(*TRowcnt)(unsafe.Pointer(bp + 112 /* nOut */)) = TRowcnt(0) if ((((int32(nInMul) == 0) && ((*Index)(unsafe.Pointer(pProbe)).FnSample != 0)) && - (int32((*struct { - FnEq U16 - FnBtm U16 - FnTop U16 - FnDistinctCol U16 - FpIndex uintptr - })(unsafe.Pointer(pNew+24 /* &.u */)).FnEq) <= (*Index)(unsafe.Pointer(pProbe)).FnSampleCol)) && + (int32(*(*U16)(unsafe.Pointer((pNew + 24 /* &.u */ /* &.btree */) /* &.nEq */))) <= (*Index)(unsafe.Pointer(pProbe)).FnSampleCol)) && (((int32(eOp) & 0x0001) == 0) || !(((*Expr)(unsafe.Pointer(((*WhereTerm)(unsafe.Pointer(pTerm)).FpExpr))).Fflags & (U32(0x000800))) != U32(0)))) && ((int32((*Sqlite3)(unsafe.Pointer((db))).FdbOptFlags) & (0x0800)) == 0) { var pExpr uintptr = (*WhereTerm)(unsafe.Pointer(pTerm)).FpExpr @@ -128371,40 +130079,16 @@ func whereLoopAddBtreeIndex(tls *libc.TLS, pBuilder uintptr, pSrc uintptr, pProb } if (((*WhereLoop)(unsafe.Pointer(pNew)).FwsFlags & U32(0x00000010)) == U32(0)) && - (int32((*struct { - FnEq U16 - FnBtm U16 - FnTop U16 - FnDistinctCol U16 - FpIndex uintptr - })(unsafe.Pointer(pNew+24 /* &.u */)).FnEq) < int32((*Index)(unsafe.Pointer(pProbe)).FnColumn)) { + (int32(*(*U16)(unsafe.Pointer((pNew + 24 /* &.u */ /* &.btree */) /* &.nEq */))) < int32((*Index)(unsafe.Pointer(pProbe)).FnColumn)) { whereLoopAddBtreeIndex(tls, pBuilder, pSrc, pProbe, (int16(int32(nInMul) + nIn))) } (*WhereLoop)(unsafe.Pointer(pNew)).FnOut = saved_nOut (*WhereLoopBuilder)(unsafe.Pointer(pBuilder)).FnRecValid = nRecValid } (*WhereLoop)(unsafe.Pointer(pNew)).Fprereq = saved_prereq - (*struct { - FnEq U16 - FnBtm U16 - FnTop U16 - FnDistinctCol U16 - FpIndex uintptr - })(unsafe.Pointer(pNew + 24 /* &.u */)).FnEq = saved_nEq - (*struct { - FnEq U16 - FnBtm U16 - FnTop U16 - FnDistinctCol U16 - FpIndex uintptr - })(unsafe.Pointer(pNew + 24 /* &.u */)).FnBtm = saved_nBtm - (*struct { - FnEq U16 - FnBtm U16 - FnTop U16 - FnDistinctCol U16 - FpIndex uintptr - })(unsafe.Pointer(pNew + 24 /* &.u */)).FnTop = saved_nTop + *(*U16)(unsafe.Pointer(pNew + 24 /* &.u */ /* &.btree */ /* &.nEq */)) = saved_nEq + *(*U16)(unsafe.Pointer(pNew + 24 /* &.u */ /* &.btree */ + 2 /* &.nBtm */)) = saved_nBtm + *(*U16)(unsafe.Pointer(pNew + 24 /* &.u */ /* &.btree */ + 4 /* &.nTop */)) = saved_nTop (*WhereLoop)(unsafe.Pointer(pNew)).FnSkip = saved_nSkip (*WhereLoop)(unsafe.Pointer(pNew)).FwsFlags = saved_wsFlags (*WhereLoop)(unsafe.Pointer(pNew)).FnOut = saved_nOut @@ -128424,19 +130108,13 @@ func whereLoopAddBtreeIndex(tls *libc.TLS, pBuilder uintptr, pSrc uintptr, pProb if (((((((int32(saved_nEq) == int32(saved_nSkip)) && ((int32(saved_nEq) + 1) < int32((*Index)(unsafe.Pointer(pProbe)).FnKeyCol))) && (int32(saved_nEq) == int32((*WhereLoop)(unsafe.Pointer(pNew)).FnLTerm))) && - (int32(*(*uint16)(unsafe.Pointer(pProbe + 100 /* &.noSkipScan */))&0x40>>6) == 0)) && - (int32(*(*uint16)(unsafe.Pointer(pProbe + 100 /* &.hasStat1 */))&0x80>>7) != 0)) && + ((int32(*(*uint16)(unsafe.Pointer(pProbe + 100 /* &.noSkipScan */)) & 0x40 >> 6)) == 0)) && + ((int32(*(*uint16)(unsafe.Pointer(pProbe + 100 /* &.hasStat1 */)) & 0x80 >> 7)) != 0)) && ((int32((*Sqlite3)(unsafe.Pointer((db))).FdbOptFlags) & (0x4000)) == 0)) && (int32(*(*LogEst)(unsafe.Pointer((*Index)(unsafe.Pointer(pProbe)).FaiRowLogEst + uintptr((int32(saved_nEq)+1))*2))) >= 42)) && // TUNING: Minimum for skip-scan ((libc.AssignInt32(&rc, whereLoopResize(tls, db, pNew, (int32((*WhereLoop)(unsafe.Pointer(pNew)).FnLTerm)+1)))) == 0) { var nIter LogEst - (*struct { - FnEq U16 - FnBtm U16 - FnTop U16 - FnDistinctCol U16 - FpIndex uintptr - })(unsafe.Pointer(pNew+24 /* &.u */)).FnEq++ + *(*U16)(unsafe.Pointer(pNew + 24 /* &.u */ /* &.btree */ /* &.nEq */))++ (*WhereLoop)(unsafe.Pointer(pNew)).FnSkip++ *(*uintptr)(unsafe.Pointer((*WhereLoop)(unsafe.Pointer(pNew)).FaLTerm + uintptr(libc.PostIncUint16(&(*WhereLoop)(unsafe.Pointer(pNew)).FnLTerm, 1))*8)) = uintptr(0) *(*U32)(unsafe.Pointer(pNew + 40 /* &.wsFlags */)) |= (U32(0x00008000)) @@ -128447,13 +130125,7 @@ func whereLoopAddBtreeIndex(tls *libc.TLS, pBuilder uintptr, pSrc uintptr, pProb nIter = int16(int32(nIter) + (5)) whereLoopAddBtreeIndex(tls, pBuilder, pSrc, pProbe, (int16(int32(nIter) + int32(nInMul)))) (*WhereLoop)(unsafe.Pointer(pNew)).FnOut = saved_nOut - (*struct { - FnEq U16 - FnBtm U16 - FnTop U16 - FnDistinctCol U16 - FpIndex uintptr - })(unsafe.Pointer(pNew + 24 /* &.u */)).FnEq = saved_nEq + *(*U16)(unsafe.Pointer(pNew + 24 /* &.u */ /* &.btree */ /* &.nEq */)) = saved_nEq (*WhereLoop)(unsafe.Pointer(pNew)).FnSkip = saved_nSkip (*WhereLoop)(unsafe.Pointer(pNew)).FwsFlags = saved_wsFlags } @@ -128473,7 +130145,7 @@ func indexMightHelpWithOrderBy(tls *libc.TLS, pBuilder uintptr, pIndex uintptr, var ii int32 var jj int32 - if uint32(int32(*(*uint16)(unsafe.Pointer(pIndex + 100 /* &.bUnordered */))&0x4>>2)) != 0 { + if (uint32(int32(*(*uint16)(unsafe.Pointer(pIndex + 100 /* &.bUnordered */)) & 0x4 >> 2))) != 0 { return 0 } if (libc.AssignUintptr(&pOB, (*WhereInfo)(unsafe.Pointer((*WhereLoopBuilder)(unsafe.Pointer(pBuilder)).FpWInfo)).FpOrderBy)) == uintptr(0) { @@ -128631,7 +130303,7 @@ func whereLoopAddBtree(tls *libc.TLS, pBuilder uintptr, mPrereq Bitmask) int32 { *(*LogEst)(unsafe.Pointer(bp + 154 /* &aiRowEstPk[0] */ + uintptr(0)*2)) = (*Table)(unsafe.Pointer(pTab)).FnRowLogEst *(*LogEst)(unsafe.Pointer(bp + 154 /* &aiRowEstPk[0] */ + uintptr(1)*2)) = int16(0) pFirst = (*Table)(unsafe.Pointer((*SrcList_item)(unsafe.Pointer(pSrc)).FpTab)).FpIndex - if int32(*(*uint8)(unsafe.Pointer((pSrc + 60 /* &.fg */) + 4 /* &.notIndexed */))&0x1>>0) == 0 { + if (int32(*(*uint8)(unsafe.Pointer((pSrc + 60 /* &.fg */) + 4 /* &.notIndexed */)) & 0x1 >> 0)) == 0 { // The real indices of the table are only considered if the // NOT INDEXED qualifier is omitted from the FROM clause (*Index)(unsafe.Pointer(bp /* &sPk */)).FpNext = pFirst @@ -128646,10 +130318,10 @@ func whereLoopAddBtree(tls *libc.TLS, pBuilder uintptr, mPrereq Bitmask) int32 { ((int32((*WhereInfo)(unsafe.Pointer(pWInfo)).FwctrlFlags) & 0x0020) == 0)) && (((*Sqlite3)(unsafe.Pointer((*Parse)(unsafe.Pointer((*WhereInfo)(unsafe.Pointer(pWInfo)).FpParse)).Fdb)).Fflags & uint64(0x00008000)) != uint64(0))) && ((*SrcList_item)(unsafe.Pointer(pSrc)).FpIBIndex == uintptr(0))) && // Has no INDEXED BY clause - !(int32(*(*uint8)(unsafe.Pointer(pSrc + 60 /* &.fg */ + 4 /* &.notIndexed */))&0x1>>0) != 0)) && // Has no NOT INDEXED clause + !((int32(*(*uint8)(unsafe.Pointer(pSrc + 60 /* &.fg */ + 4 /* &.notIndexed */)) & 0x1 >> 0)) != 0)) && // Has no NOT INDEXED clause (((*Table)(unsafe.Pointer((pTab))).FtabFlags & U32(0x0080)) == U32(0))) && // Not WITHOUT ROWID table. (FIXME: Why not?) - !(int32(*(*uint8)(unsafe.Pointer(pSrc + 60 /* &.fg */ + 4 /* &.isCorrelated */))&0x8>>3) != 0)) && // Not a correlated subquery - !(int32(*(*uint8)(unsafe.Pointer(pSrc + 60 /* &.fg */ + 4 /* &.isRecursive */))&0x20>>5) != 0) { + !((int32(*(*uint8)(unsafe.Pointer(pSrc + 60 /* &.fg */ + 4 /* &.isCorrelated */)) & 0x8 >> 3)) != 0)) && // Not a correlated subquery + !((int32(*(*uint8)(unsafe.Pointer(pSrc + 60 /* &.fg */ + 4 /* &.isRecursive */)) & 0x20 >> 5)) != 0) { // Generate auto-index WhereLoops var pTerm uintptr var pWCEnd uintptr = ((*WhereClause)(unsafe.Pointer(pWC)).Fa + uintptr((*WhereClause)(unsafe.Pointer(pWC)).FnTerm)*64) @@ -128658,21 +130330,9 @@ func whereLoopAddBtree(tls *libc.TLS, pBuilder uintptr, mPrereq Bitmask) int32 { continue } if termCanDriveIndex(tls, pTerm, pSrc, uint64(0)) != 0 { - (*struct { - FnEq U16 - FnBtm U16 - FnTop U16 - FnDistinctCol U16 - FpIndex uintptr - })(unsafe.Pointer(pNew + 24 /* &.u */)).FnEq = U16(1) + *(*U16)(unsafe.Pointer(pNew + 24 /* &.u */ /* &.btree */ /* &.nEq */)) = U16(1) (*WhereLoop)(unsafe.Pointer(pNew)).FnSkip = U16(0) - (*struct { - FnEq U16 - FnBtm U16 - FnTop U16 - FnDistinctCol U16 - FpIndex uintptr - })(unsafe.Pointer(pNew + 24 /* &.u */)).FpIndex = uintptr(0) + *(*uintptr)(unsafe.Pointer(pNew + 24 /* &.u */ /* &.btree */ + 8 /* &.pIndex */)) = uintptr(0) (*WhereLoop)(unsafe.Pointer(pNew)).FnLTerm = U16(1) *(*uintptr)(unsafe.Pointer((*WhereLoop)(unsafe.Pointer(pNew)).FaLTerm + uintptr(0)*8)) = pTerm // TUNING: One-time cost for computing the automatic index is @@ -128720,49 +130380,25 @@ __1: // See ticket [98d973b8f5] goto __2 } - if uint32(int32(*(*uint16)(unsafe.Pointer(pProbe + 100 /* &.bNoQuery */))&0x100>>8)) != 0 { + if (uint32(int32(*(*uint16)(unsafe.Pointer(pProbe + 100 /* &.bNoQuery */)) & 0x100 >> 8))) != 0 { goto __2 } rSize = *(*LogEst)(unsafe.Pointer((*Index)(unsafe.Pointer(pProbe)).FaiRowLogEst + uintptr(0)*2)) - (*struct { - FnEq U16 - FnBtm U16 - FnTop U16 - FnDistinctCol U16 - FpIndex uintptr - })(unsafe.Pointer(pNew + 24 /* &.u */)).FnEq = U16(0) - (*struct { - FnEq U16 - FnBtm U16 - FnTop U16 - FnDistinctCol U16 - FpIndex uintptr - })(unsafe.Pointer(pNew + 24 /* &.u */)).FnBtm = U16(0) - (*struct { - FnEq U16 - FnBtm U16 - FnTop U16 - FnDistinctCol U16 - FpIndex uintptr - })(unsafe.Pointer(pNew + 24 /* &.u */)).FnTop = U16(0) + *(*U16)(unsafe.Pointer(pNew + 24 /* &.u */ /* &.btree */ /* &.nEq */)) = U16(0) + *(*U16)(unsafe.Pointer(pNew + 24 /* &.u */ /* &.btree */ + 2 /* &.nBtm */)) = U16(0) + *(*U16)(unsafe.Pointer(pNew + 24 /* &.u */ /* &.btree */ + 4 /* &.nTop */)) = U16(0) (*WhereLoop)(unsafe.Pointer(pNew)).FnSkip = U16(0) (*WhereLoop)(unsafe.Pointer(pNew)).FnLTerm = U16(0) (*WhereLoop)(unsafe.Pointer(pNew)).FiSortIdx = U8(0) (*WhereLoop)(unsafe.Pointer(pNew)).FrSetup = int16(0) (*WhereLoop)(unsafe.Pointer(pNew)).Fprereq = mPrereq (*WhereLoop)(unsafe.Pointer(pNew)).FnOut = rSize - (*struct { - FnEq U16 - FnBtm U16 - FnTop U16 - FnDistinctCol U16 - FpIndex uintptr - })(unsafe.Pointer(pNew + 24 /* &.u */)).FpIndex = pProbe + *(*uintptr)(unsafe.Pointer(pNew + 24 /* &.u */ /* &.btree */ + 8 /* &.pIndex */)) = pProbe b = indexMightHelpWithOrderBy(tls, pBuilder, pProbe, (*SrcList_item)(unsafe.Pointer(pSrc)).FiCursor) // The ONEPASS_DESIRED flags never occurs together with ORDER BY - if int32(*(*uint16)(unsafe.Pointer(pProbe + 100 /* &.idxType */))&0x3>>0) == 3 { + if (int32(*(*uint16)(unsafe.Pointer(pProbe + 100 /* &.idxType */)) & 0x3 >> 0)) == 3 { // Integer primary key index (*WhereLoop)(unsafe.Pointer(pNew)).FwsFlags = U32(0x00000100) @@ -128784,7 +130420,7 @@ __1: } } else { var m Bitmask - if uint32(int32(*(*uint16)(unsafe.Pointer(pProbe + 100 /* &.isCovering */))&0x20>>5)) != 0 { + if (uint32(int32(*(*uint16)(unsafe.Pointer(pProbe + 100 /* &.isCovering */)) & 0x20 >> 5))) != 0 { (*WhereLoop)(unsafe.Pointer(pNew)).FwsFlags = (U32(0x00000040 | 0x00000200)) m = uint64(0) } else { @@ -128801,9 +130437,9 @@ __1: if ((((b != 0) || !(((*Table)(unsafe.Pointer((pTab))).FtabFlags & U32(0x0080)) == U32(0))) || ((*Index)(unsafe.Pointer(pProbe)).FpPartIdxWhere != uintptr(0))) || - (uint32(int32(*(*uint8)(unsafe.Pointer((pSrc + 60 /* &.fg */) + 4 /* &.isIndexedBy */))&0x2>>1)) != 0)) || + ((uint32(int32(*(*uint8)(unsafe.Pointer((pSrc + 60 /* &.fg */) + 4 /* &.isIndexedBy */)) & 0x2 >> 1))) != 0)) || ((((((m == uint64(0)) && - (int32(*(*uint16)(unsafe.Pointer(pProbe + 100 /* &.bUnordered */))&0x4>>2) == 0)) && + ((int32(*(*uint16)(unsafe.Pointer(pProbe + 100 /* &.bUnordered */)) & 0x4 >> 2)) == 0)) && (int32((*Index)(unsafe.Pointer(pProbe)).FszIdxRow) < int32((*Table)(unsafe.Pointer(pTab)).FszTabRow))) && ((int32((*WhereInfo)(unsafe.Pointer(pWInfo)).FwctrlFlags) & 0x0004) == 0)) && (Xsqlite3Config.FbUseCis != 0)) && @@ -128977,13 +130613,7 @@ __3: for i = 0; i < nConstraint; i++ { *(*uintptr)(unsafe.Pointer((*WhereLoop)(unsafe.Pointer(pNew)).FaLTerm + uintptr(i)*8)) = uintptr(0) } - (*struct { - FidxNum int32 - FneedFree U8 - FisOrdered I8 - FomitMask U16 - FidxStr uintptr - })(unsafe.Pointer(pNew + 24 /* &.u */)).FomitMask = U16(0) + *(*U16)(unsafe.Pointer(pNew + 24 /* &.u */ /* &.vtab */ + 6 /* &.omitMask */)) = U16(0) pIdxCons = *(*uintptr)(unsafe.Pointer((pIdxInfo + 8 /* &.aConstraint */))) i = 0 __4: @@ -129052,35 +130682,11 @@ __6: } } - (*struct { - FidxNum int32 - FneedFree U8 - FisOrdered I8 - FomitMask U16 - FidxStr uintptr - })(unsafe.Pointer(pNew + 24 /* &.u */)).FidxNum = (*Sqlite3_index_info)(unsafe.Pointer(pIdxInfo)).FidxNum - (*struct { - FidxNum int32 - FneedFree U8 - FisOrdered I8 - FomitMask U16 - FidxStr uintptr - })(unsafe.Pointer(pNew + 24 /* &.u */)).FneedFree = U8((*Sqlite3_index_info)(unsafe.Pointer(pIdxInfo)).FneedToFreeIdxStr) + *(*int32)(unsafe.Pointer(pNew + 24 /* &.u */ /* &.vtab */ /* &.idxNum */)) = (*Sqlite3_index_info)(unsafe.Pointer(pIdxInfo)).FidxNum + *(*U8)(unsafe.Pointer(pNew + 24 /* &.u */ /* &.vtab */ + 4 /* &.needFree */)) = U8((*Sqlite3_index_info)(unsafe.Pointer(pIdxInfo)).FneedToFreeIdxStr) (*Sqlite3_index_info)(unsafe.Pointer(pIdxInfo)).FneedToFreeIdxStr = 0 - (*struct { - FidxNum int32 - FneedFree U8 - FisOrdered I8 - FomitMask U16 - FidxStr uintptr - })(unsafe.Pointer(pNew + 24 /* &.u */)).FidxStr = (*Sqlite3_index_info)(unsafe.Pointer(pIdxInfo)).FidxStr - (*struct { - FidxNum int32 - FneedFree U8 - FisOrdered I8 - FomitMask U16 - FidxStr uintptr - })(unsafe.Pointer(pNew + 24 /* &.u */)).FisOrdered = func() int8 { + *(*uintptr)(unsafe.Pointer(pNew + 24 /* &.u */ /* &.vtab */ + 8 /* &.idxStr */)) = (*Sqlite3_index_info)(unsafe.Pointer(pIdxInfo)).FidxStr + *(*I8)(unsafe.Pointer(pNew + 24 /* &.u */ /* &.vtab */ + 5 /* &.isOrdered */)) = func() int8 { if (*Sqlite3_index_info)(unsafe.Pointer(pIdxInfo)).ForderByConsumed != 0 { return int8((*Sqlite3_index_info)(unsafe.Pointer(pIdxInfo)).FnOrderBy) } @@ -129098,27 +130704,9 @@ __6: *(*U32)(unsafe.Pointer(pNew + 40 /* &.wsFlags */)) &= (^U32(libc.Int32FromInt32(0x00001000))) } rc = whereLoopInsert(tls, pBuilder, pNew) - if (*struct { - FidxNum int32 - FneedFree U8 - FisOrdered I8 - FomitMask U16 - FidxStr uintptr - })(unsafe.Pointer(pNew+24 /* &.u */)).FneedFree != 0 { - Xsqlite3_free(tls, (*struct { - FidxNum int32 - FneedFree U8 - FisOrdered I8 - FomitMask U16 - FidxStr uintptr - })(unsafe.Pointer(pNew+24 /* &.u */)).FidxStr) - (*struct { - FidxNum int32 - FneedFree U8 - FisOrdered I8 - FomitMask U16 - FidxStr uintptr - })(unsafe.Pointer(pNew + 24 /* &.u */)).FneedFree = U8(0) + if *(*U8)(unsafe.Pointer(pNew + 24 /* &.u */ /* &.vtab */ + 4 /* &.needFree */)) != 0 { + Xsqlite3_free(tls, *(*uintptr)(unsafe.Pointer(pNew + 24 /* &.u */ /* &.vtab */ + 8 /* &.idxStr */))) + *(*U8)(unsafe.Pointer(pNew + 24 /* &.u */ /* &.vtab */ + 4 /* &.needFree */)) = U8(0) } return rc @@ -129203,13 +130791,7 @@ func whereLoopAddVirtual(tls *libc.TLS, pBuilder uintptr, mPrereq Bitmask, mUnus (*WhereLoop)(unsafe.Pointer(pNew)).FrSetup = int16(0) (*WhereLoop)(unsafe.Pointer(pNew)).FwsFlags = U32(0x00000400) (*WhereLoop)(unsafe.Pointer(pNew)).FnLTerm = U16(0) - (*struct { - FidxNum int32 - FneedFree U8 - FisOrdered I8 - FomitMask U16 - FidxStr uintptr - })(unsafe.Pointer(pNew + 24 /* &.u */)).FneedFree = U8(0) + *(*U8)(unsafe.Pointer(pNew + 24 /* &.u */ /* &.vtab */ + 4 /* &.needFree */)) = U8(0) nConstraint = (*Sqlite3_index_info)(unsafe.Pointer(p)).FnConstraint if whereLoopResize(tls, (*Parse)(unsafe.Pointer(pParse)).Fdb, pNew, nConstraint) != 0 { Xsqlite3DbFree(tls, (*Parse)(unsafe.Pointer(pParse)).Fdb, p) @@ -129594,24 +131176,12 @@ func wherePathSatisfiesOrderBy(tls *libc.TLS, pWInfo uintptr, pOrderBy uintptr, pLoop = pLast } if ((*WhereLoop)(unsafe.Pointer(pLoop)).FwsFlags & U32(0x00000400)) != 0 { - if ((*struct { - FidxNum int32 - FneedFree U8 - FisOrdered I8 - FomitMask U16 - FidxStr uintptr - })(unsafe.Pointer(pLoop+24 /* &.u */)).FisOrdered != 0) && ((int32(wctrlFlags) & 0x0080) == 0) { + if (*(*I8)(unsafe.Pointer((pLoop + 24 /* &.u */ /* &.vtab */) + 5 /* &.isOrdered */)) != 0) && ((int32(wctrlFlags) & 0x0080) == 0) { obSat = obDone } break } else if (int32(wctrlFlags) & 0x0080) != 0 { - (*struct { - FnEq U16 - FnBtm U16 - FnTop U16 - FnDistinctCol U16 - FpIndex uintptr - })(unsafe.Pointer(pLoop + 24 /* &.u */)).FnDistinctCol = U16(0) + *(*U16)(unsafe.Pointer(pLoop + 24 /* &.u */ /* &.btree */ + 6 /* &.nDistinctCol */)) = U16(0) } iCur = (*SrcList_item)(unsafe.Pointer(((*WhereInfo)(unsafe.Pointer(pWInfo)).FpTabList + 8 /* &.a */) + uintptr((*WhereLoop)(unsafe.Pointer(pLoop)).FiTab)*112)).FiCursor @@ -129663,13 +131233,7 @@ func wherePathSatisfiesOrderBy(tls *libc.TLS, pWInfo uintptr, pOrderBy uintptr, pIndex = uintptr(0) nKeyCol = U16(0) nColumn = U16(1) - } else if ((libc.AssignUintptr(&pIndex, (*struct { - FnEq U16 - FnBtm U16 - FnTop U16 - FnDistinctCol U16 - FpIndex uintptr - })(unsafe.Pointer(pLoop+24 /* &.u */)).FpIndex)) == uintptr(0)) || (uint32(int32(*(*uint16)(unsafe.Pointer(pIndex + 100 /* &.bUnordered */))&0x4>>2)) != 0) { + } else if ((libc.AssignUintptr(&pIndex, *(*uintptr)(unsafe.Pointer(pLoop + 24 /* &.u */ /* &.btree */ + 8 /* &.pIndex */)))) == uintptr(0)) || ((uint32(int32(*(*uint16)(unsafe.Pointer(pIndex + 100 /* &.bUnordered */)) & 0x4 >> 2))) != 0) { return int8(0) } else { nKeyCol = (*Index)(unsafe.Pointer(pIndex)).FnKeyCol @@ -129686,13 +131250,7 @@ func wherePathSatisfiesOrderBy(tls *libc.TLS, pWInfo uintptr, pOrderBy uintptr, for j = 0; j < int32(nColumn); j++ { var bOnce U8 = U8(1) // True to run the ORDER BY search loop - if (j < int32((*struct { - FnEq U16 - FnBtm U16 - FnTop U16 - FnDistinctCol U16 - FpIndex uintptr - })(unsafe.Pointer(pLoop+24 /* &.u */)).FnEq)) && (j >= int32((*WhereLoop)(unsafe.Pointer(pLoop)).FnSkip)) { + if (j < int32(*(*U16)(unsafe.Pointer((pLoop + 24 /* &.u */ /* &.btree */) /* &.nEq */)))) && (j >= int32((*WhereLoop)(unsafe.Pointer(pLoop)).FnSkip)) { var eOp U16 = (*WhereTerm)(unsafe.Pointer(*(*uintptr)(unsafe.Pointer((*WhereLoop)(unsafe.Pointer(pLoop)).FaLTerm + uintptr(j)*8)))).FeOperator // Skip over == and IS and ISNULL terms. (Also skip IN terms when @@ -129718,13 +131276,7 @@ func wherePathSatisfiesOrderBy(tls *libc.TLS, pWInfo uintptr, pOrderBy uintptr, // than WO_IN is captured by the previous "if". So this one // always has to be WO_IN. var pX uintptr = (*WhereTerm)(unsafe.Pointer(*(*uintptr)(unsafe.Pointer((*WhereLoop)(unsafe.Pointer(pLoop)).FaLTerm + uintptr(j)*8)))).FpExpr - for i = (j + 1); i < int32((*struct { - FnEq U16 - FnBtm U16 - FnTop U16 - FnDistinctCol U16 - FpIndex uintptr - })(unsafe.Pointer(pLoop+24 /* &.u */)).FnEq); i++ { + for i = (j + 1); i < int32(*(*U16)(unsafe.Pointer((pLoop + 24 /* &.u */ /* &.btree */) /* &.nEq */))); i++ { if (*WhereTerm)(unsafe.Pointer(*(*uintptr)(unsafe.Pointer((*WhereLoop)(unsafe.Pointer(pLoop)).FaLTerm + uintptr(i)*8)))).FpExpr == pX { bOnce = U8(0) @@ -129751,13 +131303,7 @@ func wherePathSatisfiesOrderBy(tls *libc.TLS, pWInfo uintptr, pOrderBy uintptr, // WhereLoop is not well-ordered if (((isOrderDistinct != 0) && (iColumn >= 0)) && - (j >= int32((*struct { - FnEq U16 - FnBtm U16 - FnTop U16 - FnDistinctCol U16 - FpIndex uintptr - })(unsafe.Pointer(pLoop+24 /* &.u */)).FnEq))) && + (j >= int32(*(*U16)(unsafe.Pointer((pLoop + 24 /* &.u */ /* &.btree */) /* &.nEq */))))) && (int32((*Column)(unsafe.Pointer((*Table)(unsafe.Pointer((*Index)(unsafe.Pointer(pIndex)).FpTable)).FaCol+uintptr(iColumn)*32)).FnotNull) == 0) { isOrderDistinct = U8(0) } @@ -129797,13 +131343,7 @@ func wherePathSatisfiesOrderBy(tls *libc.TLS, pWInfo uintptr, pOrderBy uintptr, } } if (int32(wctrlFlags) & 0x0080) != 0 { - (*struct { - FnEq U16 - FnBtm U16 - FnTop U16 - FnDistinctCol U16 - FpIndex uintptr - })(unsafe.Pointer(pLoop + 24 /* &.u */)).FnDistinctCol = (U16(j + 1)) + *(*U16)(unsafe.Pointer(pLoop + 24 /* &.u */ /* &.btree */ + 6 /* &.nDistinctCol */)) = (U16(j + 1)) } isMatch = U8(1) break @@ -129824,13 +131364,7 @@ func wherePathSatisfiesOrderBy(tls *libc.TLS, pWInfo uintptr, pOrderBy uintptr, } } if (isMatch != 0) && ((int32((*ExprList_item)(unsafe.Pointer((pOrderBy+8 /* &.a */)+uintptr(i)*32)).FsortFlags) & 0x02) != 0) { - if j == int32((*struct { - FnEq U16 - FnBtm U16 - FnTop U16 - FnDistinctCol U16 - FpIndex uintptr - })(unsafe.Pointer(pLoop+24 /* &.u */)).FnEq) { + if j == int32(*(*U16)(unsafe.Pointer((pLoop + 24 /* &.u */ /* &.btree */) /* &.nEq */))) { *(*U32)(unsafe.Pointer(pLoop + 40 /* &.wsFlags */)) |= (U32(0x00080000)) } else { isMatch = U8(0) @@ -129915,7 +131449,7 @@ func wherePathSatisfiesOrderBy(tls *libc.TLS, pWInfo uintptr, pOrderBy uintptr, // SELECT * FROM t1 GROUP BY y,x ORDER BY y,x; -- IsSorted()==0 func Xsqlite3WhereIsSorted(tls *libc.TLS, pWInfo uintptr) int32 { /* sqlite3.c:149626:20: */ - return int32(*(*uint8)(unsafe.Pointer(pWInfo + 68 /* &.sorted */)) & 0x8 >> 3) + return (int32(*(*uint8)(unsafe.Pointer(pWInfo + 68 /* &.sorted */)) & 0x8 >> 3)) } // Return the cost of sorting nRow rows, assuming that the keys have @@ -130381,7 +131915,7 @@ func whereShortCut(tls *libc.TLS, pBuilder uintptr) int32 { /* sqlite3.c:150086: if (*Table)(unsafe.Pointer(pTab)).FnModuleArg != 0 { return 0 } - if uint32(int32(*(*uint8)(unsafe.Pointer(pItem + 60 /* &.fg */ + 4 /* &.isIndexedBy */))&0x2>>1)) != 0 { + if (uint32(int32(*(*uint8)(unsafe.Pointer(pItem + 60 /* &.fg */ + 4 /* &.isIndexedBy */)) & 0x2 >> 1))) != 0 { return 0 } iCur = (*SrcList_item)(unsafe.Pointer(pItem)).FiCursor @@ -130395,13 +131929,7 @@ func whereShortCut(tls *libc.TLS, pBuilder uintptr) int32 { /* sqlite3.c:150086: (*WhereLoop)(unsafe.Pointer(pLoop)).FwsFlags = (U32((0x00000001 | 0x00000100) | 0x00001000)) *(*uintptr)(unsafe.Pointer((*WhereLoop)(unsafe.Pointer(pLoop)).FaLTerm + uintptr(0)*8)) = pTerm (*WhereLoop)(unsafe.Pointer(pLoop)).FnLTerm = U16(1) - (*struct { - FnEq U16 - FnBtm U16 - FnTop U16 - FnDistinctCol U16 - FpIndex uintptr - })(unsafe.Pointer(pLoop + 24 /* &.u */)).FnEq = U16(1) + *(*U16)(unsafe.Pointer(pLoop + 24 /* &.u */ /* &.btree */ /* &.nEq */)) = U16(1) // TUNING: Cost of a rowid lookup is 10 (*WhereLoop)(unsafe.Pointer(pLoop)).FrRun = int16(33) } else { @@ -130413,7 +131941,7 @@ func whereShortCut(tls *libc.TLS, pBuilder uintptr) int32 { /* sqlite3.c:150086: (int32((*Index)(unsafe.Pointer(pIdx)).FnKeyCol) > (int32(uint64(unsafe.Sizeof([3]uintptr{})) / uint64(unsafe.Sizeof(uintptr(0)))))) { continue } - if uint32(int32(*(*uint16)(unsafe.Pointer(pIdx + 100 /* &.uniqNotNull */))&0x8>>3)) != 0 { + if (uint32(int32(*(*uint16)(unsafe.Pointer(pIdx + 100 /* &.uniqNotNull */)) & 0x8 >> 3))) != 0 { opMask = (0x0002 | 0x0080) } else { opMask = 0x0002 @@ -130430,24 +131958,12 @@ func whereShortCut(tls *libc.TLS, pBuilder uintptr) int32 { /* sqlite3.c:150086: continue } (*WhereLoop)(unsafe.Pointer(pLoop)).FwsFlags = (U32((0x00000001 | 0x00001000) | 0x00000200)) - if (uint32(int32(*(*uint16)(unsafe.Pointer(pIdx + 100 /* &.isCovering */))&0x20>>5)) != 0) || (((*SrcList_item)(unsafe.Pointer(pItem)).FcolUsed & (*Index)(unsafe.Pointer(pIdx)).FcolNotIdxed) == uint64(0)) { + if ((uint32(int32(*(*uint16)(unsafe.Pointer(pIdx + 100 /* &.isCovering */)) & 0x20 >> 5))) != 0) || (((*SrcList_item)(unsafe.Pointer(pItem)).FcolUsed & (*Index)(unsafe.Pointer(pIdx)).FcolNotIdxed) == uint64(0)) { *(*U32)(unsafe.Pointer(pLoop + 40 /* &.wsFlags */)) |= (U32(0x00000040)) } (*WhereLoop)(unsafe.Pointer(pLoop)).FnLTerm = U16(j) - (*struct { - FnEq U16 - FnBtm U16 - FnTop U16 - FnDistinctCol U16 - FpIndex uintptr - })(unsafe.Pointer(pLoop + 24 /* &.u */)).FnEq = U16(j) - (*struct { - FnEq U16 - FnBtm U16 - FnTop U16 - FnDistinctCol U16 - FpIndex uintptr - })(unsafe.Pointer(pLoop + 24 /* &.u */)).FpIndex = pIdx + *(*U16)(unsafe.Pointer(pLoop + 24 /* &.u */ /* &.btree */ /* &.nEq */)) = U16(j) + *(*uintptr)(unsafe.Pointer(pLoop + 24 /* &.u */ /* &.btree */ + 8 /* &.pIndex */)) = pIdx // TUNING: Cost of a unique index lookup is 15 (*WhereLoop)(unsafe.Pointer(pLoop)).FrRun = int16(39) // 39==sqlite3LogEst(15) break @@ -131196,17 +132712,11 @@ __60: if !(((*WhereLoop)(unsafe.Pointer(pLoop)).FwsFlags & U32(0x00000200)) != 0) { goto __72 } - pIx = (*struct { - FnEq U16 - FnBtm U16 - FnTop U16 - FnDistinctCol U16 - FpIndex uintptr - })(unsafe.Pointer(pLoop + 24 /* &.u */)).FpIndex + pIx = *(*uintptr)(unsafe.Pointer(pLoop + 24 /* &.u */ /* &.btree */ + 8 /* &.pIndex */)) op1 = 96 // iAuxArg is always set to a positive value if ONEPASS is possible - if !((!(((*Table)(unsafe.Pointer((pTab))).FtabFlags & U32(0x0080)) == U32(0)) && (int32(*(*uint16)(unsafe.Pointer((pIx) + 100 /* &.idxType */))&0x3>>0) == 2)) && + if !((!(((*Table)(unsafe.Pointer((pTab))).FtabFlags & U32(0x0080)) == U32(0)) && ((int32(*(*uint16)(unsafe.Pointer((pIx) + 100 /* &.idxType */)) & 0x3 >> 0)) == 2)) && ((int32(wctrlFlags) & 0x0020) != 0)) { goto __73 } @@ -131383,20 +132893,8 @@ func Xsqlite3WhereEnd(tls *libc.TLS, pWInfo uintptr) { /* sqlite3.c:150895:21: * if (((((int32((*WhereInfo)(unsafe.Pointer(pWInfo)).FeDistinct) == 2) && (i == (int32((*WhereInfo)(unsafe.Pointer(pWInfo)).FnLevel) - 1))) && // Ticket [ef9318757b152e3] 2017-10-21 (((*WhereLoop)(unsafe.Pointer(pLoop)).FwsFlags & U32(0x00000200)) != U32(0))) && - (uint32(int32(*(*uint16)(unsafe.Pointer((libc.AssignUintptr(&pIdx, (*struct { - FnEq U16 - FnBtm U16 - FnTop U16 - FnDistinctCol U16 - FpIndex uintptr - })(unsafe.Pointer(pLoop+24 /* &.u */)).FpIndex)) + 100 /* &.hasStat1 */))&0x80>>7)) != 0)) && - ((libc.AssignInt32(&n, int32((*struct { - FnEq U16 - FnBtm U16 - FnTop U16 - FnDistinctCol U16 - FpIndex uintptr - })(unsafe.Pointer(pLoop+24 /* &.u */)).FnDistinctCol))) > 0)) && + ((uint32(int32(*(*uint16)(unsafe.Pointer((libc.AssignUintptr(&pIdx, *(*uintptr)(unsafe.Pointer(pLoop + 24 /* &.u */ /* &.btree */ + 8 /* &.pIndex */)))) + 100 /* &.hasStat1 */)) & 0x80 >> 7))) != 0)) && + ((libc.AssignInt32(&n, int32(*(*U16)(unsafe.Pointer(pLoop + 24 /* &.u */ /* &.btree */ + 6 /* &.nDistinctCol */))))) > 0)) && (int32(*(*LogEst)(unsafe.Pointer((*Index)(unsafe.Pointer(pIdx)).FaiRowLogEst + uintptr(n)*2))) >= 36) { var r1 int32 = ((*Parse)(unsafe.Pointer(pParse)).FnMem + 1) var j int32 @@ -131429,24 +132927,12 @@ func Xsqlite3WhereEnd(tls *libc.TLS, pWInfo uintptr) { /* sqlite3.c:150895:21: * } else { Xsqlite3VdbeResolveLabel(tls, v, (*WhereLevel)(unsafe.Pointer(pLevel)).FaddrCont) } - if (((*WhereLoop)(unsafe.Pointer(pLoop)).FwsFlags & U32(0x00000800)) != 0) && ((*struct { - FnIn int32 - _ [4]byte - FaInLoop uintptr - })(unsafe.Pointer(pLevel+56 /* &.u */)).FnIn > 0) { + if (((*WhereLoop)(unsafe.Pointer(pLoop)).FwsFlags & U32(0x00000800)) != 0) && (*(*int32)(unsafe.Pointer((pLevel + 56 /* &.u */ /* &.in */) /* &.nIn */)) > 0) { var pIn uintptr var j int32 Xsqlite3VdbeResolveLabel(tls, v, (*WhereLevel)(unsafe.Pointer(pLevel)).FaddrNxt) - j = (*struct { - FnIn int32 - _ [4]byte - FaInLoop uintptr - })(unsafe.Pointer(pLevel + 56 /* &.u */)).FnIn - pIn = ((*struct { - FnIn int32 - _ [4]byte - FaInLoop uintptr - })(unsafe.Pointer(pLevel+56 /* &.u */)).FaInLoop + uintptr((j-1))*20) + j = *(*int32)(unsafe.Pointer(pLevel + 56 /* &.u */ /* &.in */ /* &.nIn */)) + pIn = (*(*uintptr)(unsafe.Pointer((pLevel + 56 /* &.u */ /* &.in */) + 8 /* &.aInLoop */)) + uintptr((j-1))*20) __1: if !(j > 0) { goto __3 @@ -131490,13 +132976,7 @@ func Xsqlite3WhereEnd(tls *libc.TLS, pWInfo uintptr) { /* sqlite3.c:150895:21: * Xsqlite3VdbeResolveLabel(tls, v, (*WhereLevel)(unsafe.Pointer(pLevel)).FaddrBrk) if (*WhereLevel)(unsafe.Pointer(pLevel)).FaddrSkip != 0 { Xsqlite3VdbeGoto(tls, v, (*WhereLevel)(unsafe.Pointer(pLevel)).FaddrSkip) - Xsqlite3VdbeComment(tls, v, ts+23714 /* "next skip-scan o..." */, libc.VaList(bp, (*Index)(unsafe.Pointer((*struct { - FnEq U16 - FnBtm U16 - FnTop U16 - FnDistinctCol U16 - FpIndex uintptr - })(unsafe.Pointer(pLoop+24 /* &.u */)).FpIndex)).FzName)) + Xsqlite3VdbeComment(tls, v, ts+23714 /* "next skip-scan o..." */, libc.VaList(bp, (*Index)(unsafe.Pointer(*(*uintptr)(unsafe.Pointer(pLoop + 24 /* &.u */ /* &.btree */ + 8 /* &.pIndex */)))).FzName)) Xsqlite3VdbeJumpHere(tls, v, (*WhereLevel)(unsafe.Pointer(pLevel)).FaddrSkip) Xsqlite3VdbeJumpHere(tls, v, ((*WhereLevel)(unsafe.Pointer(pLevel)).FaddrSkip - 2)) } @@ -131544,7 +133024,7 @@ __4: // For a co-routine, change all OP_Column references to the table of // the co-routine into OP_Copy of result contained in a register. // OP_Rowid becomes OP_Null. - if uint32(int32(*(*uint8)(unsafe.Pointer(pTabItem + 60 /* &.fg */ + 4 /* &.viaCoroutine */))&0x10>>4)) != 0 { + if (uint32(int32(*(*uint8)(unsafe.Pointer(pTabItem + 60 /* &.fg */ + 4 /* &.viaCoroutine */)) & 0x10 >> 4))) != 0 { translateColumnToCopy(tls, pParse, (*WhereLevel)(unsafe.Pointer(pLevel)).FaddrBody, (*WhereLevel)(unsafe.Pointer(pLevel)).FiTabCur, (*SrcList_item)(unsafe.Pointer(pTabItem)).FregResult, 0) @@ -131562,13 +133042,7 @@ __4: // that reference the table and converts them into opcodes that // reference the index. if ((*WhereLoop)(unsafe.Pointer(pLoop)).FwsFlags & (U32(0x00000200 | 0x00000040))) != 0 { - pIdx = (*struct { - FnEq U16 - FnBtm U16 - FnTop U16 - FnDistinctCol U16 - FpIndex uintptr - })(unsafe.Pointer(pLoop + 24 /* &.u */)).FpIndex + pIdx = *(*uintptr)(unsafe.Pointer(pLoop + 24 /* &.u */ /* &.btree */ + 8 /* &.pIndex */)) } else if ((*WhereLoop)(unsafe.Pointer(pLoop)).FwsFlags & U32(0x00002000)) != 0 { pIdx = *(*uintptr)(unsafe.Pointer(pLevel + 56 /* &.u */)) } @@ -132179,21 +133653,156 @@ func Xsqlite3WindowFunctions(tls *libc.TLS) { /* sqlite3.c:151775:21: */ } var aWindowFuncs = [15]FuncDef{ - {FnArg: int8(0), FfuncFlags: (U32((1 | 0x00010000) | 0)), FpUserData: uintptr(0), FpNext: uintptr(0), FxSFunc: 0, FxFinalize: 0, FxValue: 0, FxInverse: 0, FzName: 0, Fu: struct{ FpHash uintptr }{FpHash: uintptr(0)}}, - {FnArg: int8(0), FfuncFlags: (U32((1 | 0x00010000) | 0)), FpUserData: uintptr(0), FpNext: uintptr(0), FxSFunc: 0, FxFinalize: 0, FxValue: 0, FxInverse: 0, FzName: 0, Fu: struct{ FpHash uintptr }{FpHash: uintptr(0)}}, - {FnArg: int8(0), FfuncFlags: (U32((1 | 0x00010000) | 0)), FpUserData: uintptr(0), FpNext: uintptr(0), FxSFunc: 0, FxFinalize: 0, FxValue: 0, FxInverse: 0, FzName: 0, Fu: struct{ FpHash uintptr }{FpHash: uintptr(0)}}, - {FnArg: int8(0), FfuncFlags: (U32((1 | 0x00010000) | 0)), FpUserData: uintptr(0), FpNext: uintptr(0), FxSFunc: 0, FxFinalize: 0, FxValue: 0, FxInverse: 0, FzName: 0, Fu: struct{ FpHash uintptr }{FpHash: uintptr(0)}}, - {FnArg: int8(0), FfuncFlags: (U32((1 | 0x00010000) | 0)), FpUserData: uintptr(0), FpNext: uintptr(0), FxSFunc: 0, FxFinalize: 0, FxValue: 0, FxInverse: 0, FzName: 0, Fu: struct{ FpHash uintptr }{FpHash: uintptr(0)}}, - {FnArg: int8(1), FfuncFlags: (U32((1 | 0x00010000) | 0)), FpUserData: uintptr(0), FpNext: uintptr(0), FxSFunc: 0, FxFinalize: 0, FxValue: 0, FxInverse: 0, FzName: 0, Fu: struct{ FpHash uintptr }{FpHash: uintptr(0)}}, - {FnArg: int8(1), FfuncFlags: (U32((1 | 0x00010000) | 0)), FpUserData: uintptr(0), FpNext: uintptr(0), FxSFunc: 0, FxFinalize: 0, FxValue: 0, FxInverse: 0, FzName: 0, Fu: struct{ FpHash uintptr }{FpHash: uintptr(0)}}, - {FnArg: int8(2), FfuncFlags: (U32((1 | 0x00010000) | 0)), FpUserData: uintptr(0), FpNext: uintptr(0), FxSFunc: 0, FxFinalize: 0, FxValue: 0, FxInverse: 0, FzName: 0, Fu: struct{ FpHash uintptr }{FpHash: uintptr(0)}}, - {FnArg: int8(1), FfuncFlags: (U32((1 | 0x00010000) | 0)), FpUserData: uintptr(0), FpNext: uintptr(0), FxSFunc: 0, FxFinalize: 0, FxValue: 0, FxInverse: 0, FzName: 0, Fu: struct{ FpHash uintptr }{FpHash: uintptr(0)}}, - {FnArg: int8(1), FfuncFlags: (U32((1 | 0x00010000) | 0)), FpUserData: uintptr(0), FpNext: uintptr(0), FxSFunc: 0, FxFinalize: 0, FxValue: 0, FxInverse: 0, FzName: 0, Fu: struct{ FpHash uintptr }{FpHash: uintptr(0)}}, - {FnArg: int8(2), FfuncFlags: (U32((1 | 0x00010000) | 0)), FpUserData: uintptr(0), FpNext: uintptr(0), FxSFunc: 0, FxFinalize: 0, FxValue: 0, FxInverse: 0, FzName: 0, Fu: struct{ FpHash uintptr }{FpHash: uintptr(0)}}, - {FnArg: int8(3), FfuncFlags: (U32((1 | 0x00010000) | 0)), FpUserData: uintptr(0), FpNext: uintptr(0), FxSFunc: 0, FxFinalize: 0, FxValue: 0, FxInverse: 0, FzName: 0, Fu: struct{ FpHash uintptr }{FpHash: uintptr(0)}}, - {FnArg: int8(1), FfuncFlags: (U32((1 | 0x00010000) | 0)), FpUserData: uintptr(0), FpNext: uintptr(0), FxSFunc: 0, FxFinalize: 0, FxValue: 0, FxInverse: 0, FzName: 0, Fu: struct{ FpHash uintptr }{FpHash: uintptr(0)}}, - {FnArg: int8(2), FfuncFlags: (U32((1 | 0x00010000) | 0)), FpUserData: uintptr(0), FpNext: uintptr(0), FxSFunc: 0, FxFinalize: 0, FxValue: 0, FxInverse: 0, FzName: 0, Fu: struct{ FpHash uintptr }{FpHash: uintptr(0)}}, - {FnArg: int8(3), FfuncFlags: (U32((1 | 0x00010000) | 0)), FpUserData: uintptr(0), FpNext: uintptr(0), FxSFunc: 0, FxFinalize: 0, FxValue: 0, FxInverse: 0, FzName: 0, Fu: struct{ FpHash uintptr }{FpHash: uintptr(0)}}, + { + FnArg: int8(0), + FfuncFlags: (U32((1 | 0x00010000) | 0)), + FpUserData: uintptr(0), + FpNext: uintptr(0), + FxSFunc: 0, + FxFinalize: 0, + FxValue: 0, + FxInverse: 0, + FzName: 0, Fu: struct{ FpHash uintptr }{}}, + { + FnArg: int8(0), + FfuncFlags: (U32((1 | 0x00010000) | 0)), + FpUserData: uintptr(0), + FpNext: uintptr(0), + FxSFunc: 0, + FxFinalize: 0, + FxValue: 0, + FxInverse: 0, + FzName: 0, Fu: struct{ FpHash uintptr }{}}, + { + FnArg: int8(0), + FfuncFlags: (U32((1 | 0x00010000) | 0)), + FpUserData: uintptr(0), + FpNext: uintptr(0), + FxSFunc: 0, + FxFinalize: 0, + FxValue: 0, + FxInverse: 0, + FzName: 0, Fu: struct{ FpHash uintptr }{}}, + { + FnArg: int8(0), + FfuncFlags: (U32((1 | 0x00010000) | 0)), + FpUserData: uintptr(0), + FpNext: uintptr(0), + FxSFunc: 0, + FxFinalize: 0, + FxValue: 0, + FxInverse: 0, + FzName: 0, Fu: struct{ FpHash uintptr }{}}, + { + FnArg: int8(0), + FfuncFlags: (U32((1 | 0x00010000) | 0)), + FpUserData: uintptr(0), + FpNext: uintptr(0), + FxSFunc: 0, + FxFinalize: 0, + FxValue: 0, + FxInverse: 0, + FzName: 0, Fu: struct{ FpHash uintptr }{}}, + { + FnArg: int8(1), + FfuncFlags: (U32((1 | 0x00010000) | 0)), + FpUserData: uintptr(0), + FpNext: uintptr(0), + FxSFunc: 0, + FxFinalize: 0, + FxValue: 0, + FxInverse: 0, + FzName: 0, Fu: struct{ FpHash uintptr }{}}, + { + FnArg: int8(1), + FfuncFlags: (U32((1 | 0x00010000) | 0)), + FpUserData: uintptr(0), + FpNext: uintptr(0), + FxSFunc: 0, + FxFinalize: 0, + FxValue: 0, + FxInverse: 0, + FzName: 0, Fu: struct{ FpHash uintptr }{}}, + { + FnArg: int8(2), + FfuncFlags: (U32((1 | 0x00010000) | 0)), + FpUserData: uintptr(0), + FpNext: uintptr(0), + FxSFunc: 0, + FxFinalize: 0, + FxValue: 0, + FxInverse: 0, + FzName: 0, Fu: struct{ FpHash uintptr }{}}, + { + FnArg: int8(1), + FfuncFlags: (U32((1 | 0x00010000) | 0)), + FpUserData: uintptr(0), + FpNext: uintptr(0), + FxSFunc: 0, + FxFinalize: 0, + FxValue: 0, + FxInverse: 0, + FzName: 0, Fu: struct{ FpHash uintptr }{}}, + { + FnArg: int8(1), + FfuncFlags: (U32((1 | 0x00010000) | 0)), + FpUserData: uintptr(0), + FpNext: uintptr(0), + FxSFunc: 0, + FxFinalize: 0, + FxValue: 0, + FxInverse: 0, + FzName: 0, Fu: struct{ FpHash uintptr }{}}, + { + FnArg: int8(2), + FfuncFlags: (U32((1 | 0x00010000) | 0)), + FpUserData: uintptr(0), + FpNext: uintptr(0), + FxSFunc: 0, + FxFinalize: 0, + FxValue: 0, + FxInverse: 0, + FzName: 0, Fu: struct{ FpHash uintptr }{}}, + { + FnArg: int8(3), + FfuncFlags: (U32((1 | 0x00010000) | 0)), + FpUserData: uintptr(0), + FpNext: uintptr(0), + FxSFunc: 0, + FxFinalize: 0, + FxValue: 0, + FxInverse: 0, + FzName: 0, Fu: struct{ FpHash uintptr }{}}, + { + FnArg: int8(1), + FfuncFlags: (U32((1 | 0x00010000) | 0)), + FpUserData: uintptr(0), + FpNext: uintptr(0), + FxSFunc: 0, + FxFinalize: 0, + FxValue: 0, + FxInverse: 0, + FzName: 0, Fu: struct{ FpHash uintptr }{}}, + { + FnArg: int8(2), + FfuncFlags: (U32((1 | 0x00010000) | 0)), + FpUserData: uintptr(0), + FpNext: uintptr(0), + FxSFunc: 0, + FxFinalize: 0, + FxValue: 0, + FxInverse: 0, + FzName: 0, Fu: struct{ FpHash uintptr }{}}, + { + FnArg: int8(3), + FfuncFlags: (U32((1 | 0x00010000) | 0)), + FpUserData: uintptr(0), + FpNext: uintptr(0), + FxSFunc: 0, + FxFinalize: 0, + FxValue: 0, + FxInverse: 0, + FzName: 0, Fu: struct{ FpHash uintptr }{}}, } /* sqlite3.c:151776:18 */ func windowFind(tls *libc.TLS, pParse uintptr, pList uintptr, zName uintptr) uintptr { /* sqlite3.c:151796:15: */ @@ -132259,14 +133868,46 @@ func Xsqlite3WindowUpdate(tls *libc.TLS, pParse uintptr, pList uintptr, pWin uin ts+24024 /* "FILTER clause ma..." */, 0) } else { *(*[8]WindowUpdate)(unsafe.Pointer(bp /* aUp */)) = [8]WindowUpdate{ - {FzFunc: uintptr(unsafe.Pointer(&row_numberName)), FeFrmType: 76, FeStart: 90, FeEnd: 85}, - {FzFunc: uintptr(unsafe.Pointer(&dense_rankName)), FeFrmType: 89, FeStart: 90, FeEnd: 85}, - {FzFunc: uintptr(unsafe.Pointer(&rankName)), FeFrmType: 89, FeStart: 90, FeEnd: 85}, - {FzFunc: uintptr(unsafe.Pointer(&percent_rankName)), FeFrmType: 92, FeStart: 85, FeEnd: 90}, - {FzFunc: uintptr(unsafe.Pointer(&cume_distName)), FeFrmType: 92, FeStart: 86, FeEnd: 90}, - {FzFunc: uintptr(unsafe.Pointer(&ntileName)), FeFrmType: 76, FeStart: 85, FeEnd: 90}, - {FzFunc: uintptr(unsafe.Pointer(&leadName)), FeFrmType: 76, FeStart: 90, FeEnd: 90}, - {FzFunc: uintptr(unsafe.Pointer(&lagName)), FeFrmType: 76, FeStart: 90, FeEnd: 85}, + { + FzFunc: uintptr(unsafe.Pointer(&row_numberName)), + FeFrmType: 76, + FeStart: 90, + FeEnd: 85}, + { + FzFunc: uintptr(unsafe.Pointer(&dense_rankName)), + FeFrmType: 89, + FeStart: 90, + FeEnd: 85}, + { + FzFunc: uintptr(unsafe.Pointer(&rankName)), + FeFrmType: 89, + FeStart: 90, + FeEnd: 85}, + { + FzFunc: uintptr(unsafe.Pointer(&percent_rankName)), + FeFrmType: 92, + FeStart: 85, + FeEnd: 90}, + { + FzFunc: uintptr(unsafe.Pointer(&cume_distName)), + FeFrmType: 92, + FeStart: 86, + FeEnd: 90}, + { + FzFunc: uintptr(unsafe.Pointer(&ntileName)), + FeFrmType: 76, + FeStart: 85, + FeEnd: 90}, + { + FzFunc: uintptr(unsafe.Pointer(&leadName)), + FeFrmType: 76, + FeStart: 90, + FeEnd: 90}, + { + FzFunc: uintptr(unsafe.Pointer(&lagName)), + FeFrmType: 76, + FeStart: 90, + FeEnd: 85}, } var i int32 for i = 0; i < (int32(uint64(unsafe.Sizeof([8]WindowUpdate{})) / uint64(unsafe.Sizeof(WindowUpdate{})))); i++ { @@ -137012,61 +138653,31 @@ func yy_reduce(tls *libc.TLS, yypParser uintptr, yyruleno uint32, yyLookahead in break case uint32(48): /* refargs ::= refargs refarg */ { - *(*int32)(unsafe.Pointer(yymsp + libc.UintptrFromInt32(-1)*24 + 8 /* &.minor */)) = ((*(*int32)(unsafe.Pointer(yymsp + libc.UintptrFromInt32(-1)*24 + 8 /* &.minor */)) & ^(*struct { - Fvalue int32 - Fmask int32 - })(unsafe.Pointer(yymsp+uintptr(0)*24+8 /* &.minor */)).Fmask) | (*struct { - Fvalue int32 - Fmask int32 - })(unsafe.Pointer(yymsp+uintptr(0)*24+8 /* &.minor */)).Fvalue) + *(*int32)(unsafe.Pointer(yymsp + libc.UintptrFromInt32(-1)*24 + 8 /* &.minor */)) = ((*(*int32)(unsafe.Pointer(yymsp + libc.UintptrFromInt32(-1)*24 + 8 /* &.minor */)) & ^*(*int32)(unsafe.Pointer((yymsp + uintptr(0)*24 + 8 /* &.minor */ /* &.yy207 */) + 4 /* &.mask */))) | *(*int32)(unsafe.Pointer((yymsp + uintptr(0)*24 + 8 /* &.minor */ /* &.yy207 */) /* &.value */))) } break case uint32(49): /* refarg ::= MATCH nm */ { - (*struct { - Fvalue int32 - Fmask int32 - })(unsafe.Pointer(yymsp + libc.UintptrFromInt32(-1)*24 + 8 /* &.minor */)).Fvalue = 0 - (*struct { - Fvalue int32 - Fmask int32 - })(unsafe.Pointer(yymsp + libc.UintptrFromInt32(-1)*24 + 8 /* &.minor */)).Fmask = 0x000000 + *(*int32)(unsafe.Pointer(yymsp + libc.UintptrFromInt32(-1)*24 + 8 /* &.minor */ /* &.yy207 */ /* &.value */)) = 0 + *(*int32)(unsafe.Pointer(yymsp + libc.UintptrFromInt32(-1)*24 + 8 /* &.minor */ /* &.yy207 */ + 4 /* &.mask */)) = 0x000000 } break case uint32(50): /* refarg ::= ON INSERT refact */ { - (*struct { - Fvalue int32 - Fmask int32 - })(unsafe.Pointer(yymsp + libc.UintptrFromInt32(-2)*24 + 8 /* &.minor */)).Fvalue = 0 - (*struct { - Fvalue int32 - Fmask int32 - })(unsafe.Pointer(yymsp + libc.UintptrFromInt32(-2)*24 + 8 /* &.minor */)).Fmask = 0x000000 + *(*int32)(unsafe.Pointer(yymsp + libc.UintptrFromInt32(-2)*24 + 8 /* &.minor */ /* &.yy207 */ /* &.value */)) = 0 + *(*int32)(unsafe.Pointer(yymsp + libc.UintptrFromInt32(-2)*24 + 8 /* &.minor */ /* &.yy207 */ + 4 /* &.mask */)) = 0x000000 } break case uint32(51): /* refarg ::= ON DELETE refact */ { - (*struct { - Fvalue int32 - Fmask int32 - })(unsafe.Pointer(yymsp + libc.UintptrFromInt32(-2)*24 + 8 /* &.minor */)).Fvalue = *(*int32)(unsafe.Pointer(yymsp + uintptr(0)*24 + 8 /* &.minor */)) - (*struct { - Fvalue int32 - Fmask int32 - })(unsafe.Pointer(yymsp + libc.UintptrFromInt32(-2)*24 + 8 /* &.minor */)).Fmask = 0x0000ff + *(*int32)(unsafe.Pointer(yymsp + libc.UintptrFromInt32(-2)*24 + 8 /* &.minor */ /* &.yy207 */ /* &.value */)) = *(*int32)(unsafe.Pointer(yymsp + uintptr(0)*24 + 8 /* &.minor */)) + *(*int32)(unsafe.Pointer(yymsp + libc.UintptrFromInt32(-2)*24 + 8 /* &.minor */ /* &.yy207 */ + 4 /* &.mask */)) = 0x0000ff } break case uint32(52): /* refarg ::= ON UPDATE refact */ { - (*struct { - Fvalue int32 - Fmask int32 - })(unsafe.Pointer(yymsp + libc.UintptrFromInt32(-2)*24 + 8 /* &.minor */)).Fvalue = (*(*int32)(unsafe.Pointer(yymsp + uintptr(0)*24 + 8 /* &.minor */)) << 8) - (*struct { - Fvalue int32 - Fmask int32 - })(unsafe.Pointer(yymsp + libc.UintptrFromInt32(-2)*24 + 8 /* &.minor */)).Fmask = 0x00ff00 + *(*int32)(unsafe.Pointer(yymsp + libc.UintptrFromInt32(-2)*24 + 8 /* &.minor */ /* &.yy207 */ /* &.value */)) = (*(*int32)(unsafe.Pointer(yymsp + uintptr(0)*24 + 8 /* &.minor */)) << 8) + *(*int32)(unsafe.Pointer(yymsp + libc.UintptrFromInt32(-2)*24 + 8 /* &.minor */ /* &.yy207 */ + 4 /* &.mask */)) = 0x00ff00 } break case uint32(53): /* refact ::= SET NULL */ @@ -137194,7 +138805,14 @@ func yy_reduce(tls *libc.TLS, yypParser uintptr, yyruleno uint32, yyLookahead in break case uint32(82): /* cmd ::= select */ { - *(*SelectDest)(unsafe.Pointer(bp + 24 /* dest */)) = SelectDest{FeDest: U8(9), FiSDParm: 0, FiSDParm2: 0, FiSdst: 0, FnSdst: 0, FzAffSdst: uintptr(0), FpOrderBy: uintptr(0)} + *(*SelectDest)(unsafe.Pointer(bp + 24 /* dest */)) = SelectDest{ + FeDest: U8(9), + FiSDParm: 0, + FiSDParm2: 0, + FiSdst: 0, + FnSdst: 0, + FzAffSdst: uintptr(0), + FpOrderBy: uintptr(0)} Xsqlite3Select(tls, pParse, *(*uintptr)(unsafe.Pointer(yymsp + uintptr(0)*24 + 8 /* &.minor */)), bp+24 /* &dest */) Xsqlite3SelectDelete(tls, (*Parse)(unsafe.Pointer(pParse)).Fdb, *(*uintptr)(unsafe.Pointer(yymsp + uintptr(0)*24 + 8 /* &.minor */))) } @@ -137418,7 +139036,7 @@ func yy_reduce(tls *libc.TLS, yypParser uintptr, yyruleno uint32, yyLookahead in (*SrcList_item)(unsafe.Pointer(pNew)).FzName = (*SrcList_item)(unsafe.Pointer(pOld)).FzName (*SrcList_item)(unsafe.Pointer(pNew)).FzDatabase = (*SrcList_item)(unsafe.Pointer(pOld)).FzDatabase (*SrcList_item)(unsafe.Pointer(pNew)).FpSelect = (*SrcList_item)(unsafe.Pointer(pOld)).FpSelect - if uint32(int32(*(*uint8)(unsafe.Pointer(pOld + 60 /* &.fg */ + 4 /* &.isTabFunc */))&0x4>>2)) != 0 { + if (uint32(int32(*(*uint8)(unsafe.Pointer(pOld + 60 /* &.fg */ + 4 /* &.isTabFunc */)) & 0x4 >> 2))) != 0 { *(*uintptr)(unsafe.Pointer(pNew + 96 /* &.u1 */)) = *(*uintptr)(unsafe.Pointer(pOld + 96 /* &.u1 */)) *(*uintptr)(unsafe.Pointer(pOld + 96 /* &.u1 */)) = uintptr(0) libc.SetBitFieldPtr8Uint32(pOld+60 /* &.fg */ +4 /* &.isTabFunc */, uint32(0), 2, 0x4) @@ -140892,22 +142510,54 @@ var aFlagOp = [16]struct { Fop int32 Fmask U32 }{ - {Fop: 1002, Fmask: U32(0x00004000)}, - {Fop: 1003, Fmask: U32(0x00040000)}, - {Fop: 1015, Fmask: 0x80000000}, - {Fop: 1004, Fmask: U32(0x00400000)}, - {Fop: 1005, Fmask: U32(0x00010000)}, - {Fop: 1006, Fmask: U32(0x00000800)}, - {Fop: 1007, Fmask: U32(0x00800000)}, - {Fop: 1008, Fmask: U32(0x01000000)}, - {Fop: 1009, Fmask: U32(0x02000000)}, - {Fop: 1010, Fmask: U32(0x10000000)}, - {Fop: 1011, Fmask: (U32(0x00000001 | 0x08000000))}, - {Fop: 1012, Fmask: U32(0x04000000)}, - {Fop: 1014, Fmask: U32(0x20000000)}, - {Fop: 1013, Fmask: U32(0x40000000)}, - {Fop: 1016, Fmask: U32(0x00000002)}, - {Fop: 1017, Fmask: U32(0x00000080)}, + { + Fop: 1002, + Fmask: U32(0x00004000)}, + { + Fop: 1003, + Fmask: U32(0x00040000)}, + { + Fop: 1015, + Fmask: 0x80000000}, + { + Fop: 1004, + Fmask: U32(0x00400000)}, + { + Fop: 1005, + Fmask: U32(0x00010000)}, + { + Fop: 1006, + Fmask: U32(0x00000800)}, + { + Fop: 1007, + Fmask: U32(0x00800000)}, + { + Fop: 1008, + Fmask: U32(0x01000000)}, + { + Fop: 1009, + Fmask: U32(0x02000000)}, + { + Fop: 1010, + Fmask: U32(0x10000000)}, + { + Fop: 1011, + Fmask: (U32(0x00000001 | 0x08000000))}, + { + Fop: 1012, + Fmask: U32(0x04000000)}, + { + Fop: 1014, + Fmask: U32(0x20000000)}, + { + Fop: 1013, + Fmask: U32(0x40000000)}, + { + Fop: 1016, + Fmask: U32(0x00000002)}, + { + Fop: 1017, + Fmask: U32(0x00000080)}, } /* sqlite3.c:161939:9 */ // This is the default collating function named "BINARY" which is always @@ -142812,16 +144462,28 @@ type OpenMode = struct { } /* sqlite3.c:163946:9 */ var aCacheMode = [3]OpenMode{ - {Fz: ts + 18988 /* "shared" */, Fmode: 0x00020000}, - {Fz: ts + 27631 /* "private" */, Fmode: 0x00040000}, - {Fz: uintptr(0), Fmode: 0}, + { + Fz: ts + 18988, /* "shared" */ + Fmode: 0x00020000}, + { + Fz: ts + 27631, /* "private" */ + Fmode: 0x00040000}, + {}, } /* sqlite3.c:163955:34 */ var aOpenMode = [5]OpenMode{ - {Fz: ts + 27639 /* "ro" */, Fmode: 0x00000001}, - {Fz: ts + 27642 /* "rw" */, Fmode: 0x00000002}, - {Fz: ts + 27645 /* "rwc" */, Fmode: (0x00000002 | 0x00000004)}, - {Fz: ts + 18371 /* "memory" */, Fmode: 0x00000080}, - {Fz: uintptr(0), Fmode: 0}, + { + Fz: ts + 27639, /* "ro" */ + Fmode: 0x00000001}, + { + Fz: ts + 27642, /* "rw" */ + Fmode: 0x00000002}, + { + Fz: ts + 27645, /* "rwc" */ + Fmode: (0x00000002 | 0x00000004)}, + { + Fz: ts + 18371, /* "memory" */ + Fmode: 0x00000080}, + {}, } /* sqlite3.c:163967:34 */ // This routine does the core work of extracting URI parameters from a @@ -147808,57 +149470,105 @@ func jsonEachFilter(tls *libc.TLS, cur uintptr, idxNum int32, idxStr uintptr, ar } // The methods of the json_each virtual table -var jsonEachModule = Sqlite3_module{FiVersion: 0, FxCreate: // iVersion -uintptr(0), FxConnect:// xCreate -0, FxBestIndex:// xConnect -0, FxDisconnect:// xBestIndex -0, FxDestroy:// xDisconnect -uintptr(0), FxOpen:// xDestroy -0, FxClose:// xOpen - open a cursor -0, FxFilter:// xClose - close a cursor -0, FxNext:// xFilter - configure scan constraints -0, FxEof:// xNext - advance a cursor -0, FxColumn:// xEof - check for end of scan -0, FxRowid:// xColumn - read data -0, FxUpdate:// xRowid - read data -uintptr(0), FxBegin:// xUpdate -uintptr(0), FxSync:// xBegin -uintptr(0), FxCommit:// xSync -uintptr(0), FxRollback:// xCommit -uintptr(0), FxFindFunction:// xRollback -uintptr(0), FxRename:// xFindMethod -uintptr(0), FxSavepoint:// xRename -uintptr(0), FxRelease:// xSavepoint -uintptr(0), FxRollbackTo:// xRelease -uintptr(0), FxShadowName:// xRollbackTo -uintptr(0), // xShadowName +var jsonEachModule = Sqlite3_module{ + FiVersion: 0, + FxCreate:// iVersion + uintptr(0), + FxConnect:// xCreate + 0, + FxBestIndex:// xConnect + 0, + FxDisconnect:// xBestIndex + 0, + FxDestroy:// xDisconnect + uintptr(0), + FxOpen:// xDestroy + 0, + FxClose:// xOpen - open a cursor + 0, + FxFilter:// xClose - close a cursor + 0, + FxNext:// xFilter - configure scan constraints + 0, + FxEof:// xNext - advance a cursor + 0, + FxColumn:// xEof - check for end of scan + 0, + FxRowid:// xColumn - read data + 0, + FxUpdate:// xRowid - read data + uintptr(0), + FxBegin:// xUpdate + uintptr(0), + FxSync:// xBegin + uintptr(0), + FxCommit:// xSync + uintptr(0), + FxRollback:// xCommit + uintptr(0), + FxFindFunction:// xRollback + uintptr(0), + FxRename:// xFindMethod + uintptr(0), + FxSavepoint:// xRename + uintptr(0), + FxRelease:// xSavepoint + uintptr(0), + FxRollbackTo:// xRelease + uintptr(0), + FxShadowName:// xRollbackTo + uintptr(0), // xShadowName } /* sqlite3.c:187902:23 */ // The methods of the json_tree virtual table. -var jsonTreeModule = Sqlite3_module{FiVersion: 0, FxCreate: // iVersion -uintptr(0), FxConnect:// xCreate -0, FxBestIndex:// xConnect -0, FxDisconnect:// xBestIndex -0, FxDestroy:// xDisconnect -uintptr(0), FxOpen:// xDestroy -0, FxClose:// xOpen - open a cursor -0, FxFilter:// xClose - close a cursor -0, FxNext:// xFilter - configure scan constraints -0, FxEof:// xNext - advance a cursor -0, FxColumn:// xEof - check for end of scan -0, FxRowid:// xColumn - read data -0, FxUpdate:// xRowid - read data -uintptr(0), FxBegin:// xUpdate -uintptr(0), FxSync:// xBegin -uintptr(0), FxCommit:// xSync -uintptr(0), FxRollback:// xCommit -uintptr(0), FxFindFunction:// xRollback -uintptr(0), FxRename:// xFindMethod -uintptr(0), FxSavepoint:// xRename -uintptr(0), FxRelease:// xSavepoint -uintptr(0), FxRollbackTo:// xRelease -uintptr(0), FxShadowName:// xRollbackTo -uintptr(0), // xShadowName +var jsonTreeModule = Sqlite3_module{ + FiVersion: 0, + FxCreate:// iVersion + uintptr(0), + FxConnect:// xCreate + 0, + FxBestIndex:// xConnect + 0, + FxDisconnect:// xBestIndex + 0, + FxDestroy:// xDisconnect + uintptr(0), + FxOpen:// xDestroy + 0, + FxClose:// xOpen - open a cursor + 0, + FxFilter:// xClose - close a cursor + 0, + FxNext:// xFilter - configure scan constraints + 0, + FxEof:// xNext - advance a cursor + 0, + FxColumn:// xEof - check for end of scan + 0, + FxRowid:// xColumn - read data + 0, + FxUpdate:// xRowid - read data + uintptr(0), + FxBegin:// xUpdate + uintptr(0), + FxSync:// xBegin + uintptr(0), + FxCommit:// xSync + uintptr(0), + FxRollback:// xCommit + uintptr(0), + FxFindFunction:// xRollback + uintptr(0), + FxRename:// xFindMethod + uintptr(0), + FxSavepoint:// xRename + uintptr(0), + FxRelease:// xSavepoint + uintptr(0), + FxRollbackTo:// xRelease + uintptr(0), + FxShadowName:// xRollbackTo + uintptr(0), // xShadowName } /* sqlite3.c:187930:23 */ // *************************************************************************** @@ -147911,21 +149621,81 @@ var aFunc = [15]struct { Fflag int32 FxFunc uintptr }{ - {FzName: ts + 28131 /* "json" */, FnArg: 1, Fflag: 0, FxFunc: 0}, - {FzName: ts + 28136 /* "json_array" */, FnArg: -1, Fflag: 0, FxFunc: 0}, - {FzName: ts + 28147 /* "json_array_lengt..." */, FnArg: 1, Fflag: 0, FxFunc: 0}, - {FzName: ts + 28147 /* "json_array_lengt..." */, FnArg: 2, Fflag: 0, FxFunc: 0}, - {FzName: ts + 28165 /* "json_extract" */, FnArg: -1, Fflag: 0, FxFunc: 0}, - {FzName: ts + 28178 /* "json_insert" */, FnArg: -1, Fflag: 0, FxFunc: 0}, - {FzName: ts + 28190 /* "json_object" */, FnArg: -1, Fflag: 0, FxFunc: 0}, - {FzName: ts + 28202 /* "json_patch" */, FnArg: 2, Fflag: 0, FxFunc: 0}, - {FzName: ts + 28213 /* "json_quote" */, FnArg: 1, Fflag: 0, FxFunc: 0}, - {FzName: ts + 28224 /* "json_remove" */, FnArg: -1, Fflag: 0, FxFunc: 0}, - {FzName: ts + 28236 /* "json_replace" */, FnArg: -1, Fflag: 0, FxFunc: 0}, - {FzName: ts + 28249 /* "json_set" */, FnArg: -1, Fflag: 1, FxFunc: 0}, - {FzName: ts + 28258 /* "json_type" */, FnArg: 1, Fflag: 0, FxFunc: 0}, - {FzName: ts + 28258 /* "json_type" */, FnArg: 2, Fflag: 0, FxFunc: 0}, - {FzName: ts + 28268 /* "json_valid" */, FnArg: 1, Fflag: 0, FxFunc: 0}, + { + FzName: ts + 28131, /* "json" */ + FnArg: 1, + Fflag: 0, + FxFunc: 0}, + { + FzName: ts + 28136, /* "json_array" */ + FnArg: -1, + Fflag: 0, + FxFunc: 0}, + { + FzName: ts + 28147, /* "json_array_lengt..." */ + FnArg: 1, + Fflag: 0, + FxFunc: 0}, + { + FzName: ts + 28147, /* "json_array_lengt..." */ + FnArg: 2, + Fflag: 0, + FxFunc: 0}, + { + FzName: ts + 28165, /* "json_extract" */ + FnArg: -1, + Fflag: 0, + FxFunc: 0}, + { + FzName: ts + 28178, /* "json_insert" */ + FnArg: -1, + Fflag: 0, + FxFunc: 0}, + { + FzName: ts + 28190, /* "json_object" */ + FnArg: -1, + Fflag: 0, + FxFunc: 0}, + { + FzName: ts + 28202, /* "json_patch" */ + FnArg: 2, + Fflag: 0, + FxFunc: 0}, + { + FzName: ts + 28213, /* "json_quote" */ + FnArg: 1, + Fflag: 0, + FxFunc: 0}, + { + FzName: ts + 28224, /* "json_remove" */ + FnArg: -1, + Fflag: 0, + FxFunc: 0}, + { + FzName: ts + 28236, /* "json_replace" */ + FnArg: -1, + Fflag: 0, + FxFunc: 0}, + { + FzName: ts + 28249, /* "json_set" */ + FnArg: -1, + Fflag: 1, + FxFunc: 0}, + { + FzName: ts + 28258, /* "json_type" */ + FnArg: 1, + Fflag: 0, + FxFunc: 0}, + { + FzName: ts + 28258, /* "json_type" */ + FnArg: 2, + Fflag: 0, + FxFunc: 0}, + { + FzName: ts + 28268, /* "json_valid" */ + FnArg: 1, + Fflag: 0, + FxFunc: 0}, } /* sqlite3.c:187972:5 */ var aAgg = [2]struct { FzName uintptr @@ -147935,15 +149705,29 @@ var aAgg = [2]struct { FxFinal uintptr FxValue uintptr }{ - {FzName: ts + 28279 /* "json_group_array" */, FnArg: 1, FxStep: 0, FxFinal: 0, FxValue: 0}, - {FzName: ts + 28296 /* "json_group_objec..." */, FnArg: 2, FxStep: 0, FxFinal: 0, FxValue: 0}, + { + FzName: ts + 28279, /* "json_group_array" */ + FnArg: 1, + FxStep: 0, + FxFinal: 0, + FxValue: 0}, + { + FzName: ts + 28296, /* "json_group_objec..." */ + FnArg: 2, + FxStep: 0, + FxFinal: 0, + FxValue: 0}, } /* sqlite3.c:188001:5 */ var aMod = [2]struct { FzName uintptr FpModule uintptr }{ - {FzName: ts + 28314 /* "json_each" */, FpModule: 0}, - {FzName: ts + 28324 /* "json_tree" */, FpModule: 0}, + { + FzName: ts + 28314, /* "json_each" */ + FpModule: 0}, + { + FzName: ts + 28324, /* "json_tree" */ + FpModule: 0}, } /* sqlite3.c:188011:5 */ var enc int32 = ((1 | 0x000000800) | 0x000200000) /* sqlite3.c:188016:20 */ // In the SQLite core @@ -151199,30 +152983,54 @@ var azName1 = [3]uintptr{ ts + 28733 /* "node" */, ts + 6757 /* "parent" */, ts + 10045, /* "rowid" */ } /* sqlite3.c:191506:21 */ -var rtreeModule = Sqlite3_module{FiVersion: 3, FxCreate: // iVersion -0, FxConnect:// xCreate - create a table -0, FxBestIndex:// xConnect - connect to an existing table -0, FxDisconnect:// xBestIndex - Determine search strategy -0, FxDestroy:// xDisconnect - Disconnect from a table -0, FxOpen:// xDestroy - Drop a table -0, FxClose:// xOpen - open a cursor -0, FxFilter:// xClose - close a cursor -0, FxNext:// xFilter - configure scan constraints -0, FxEof:// xNext - advance a cursor -0, FxColumn:// xEof -0, FxRowid:// xColumn - read data -0, FxUpdate:// xRowid - read data -0, FxBegin:// xUpdate - write data -0, FxSync:// xBegin - begin transaction -0, FxCommit:// xSync - sync transaction -0, FxRollback:// xCommit - commit transaction -0, FxFindFunction:// xRollback - rollback transaction -uintptr(0), FxRename:// xFindFunction - function overloading -0, FxSavepoint:// xRename - rename the table -0, FxRelease:// xSavepoint -uintptr(0), FxRollbackTo:// xRelease -uintptr(0), FxShadowName:// xRollbackTo -0, // xShadowName +var rtreeModule = Sqlite3_module{ + FiVersion: 3, + FxCreate:// iVersion + 0, + FxConnect:// xCreate - create a table + 0, + FxBestIndex:// xConnect - connect to an existing table + 0, + FxDisconnect:// xBestIndex - Determine search strategy + 0, + FxDestroy:// xDisconnect - Disconnect from a table + 0, + FxOpen:// xDestroy - Drop a table + 0, + FxClose:// xOpen - open a cursor + 0, + FxFilter:// xClose - close a cursor + 0, + FxNext:// xFilter - configure scan constraints + 0, + FxEof:// xNext - advance a cursor + 0, + FxColumn:// xEof + 0, + FxRowid:// xColumn - read data + 0, + FxUpdate:// xRowid - read data + 0, + FxBegin:// xUpdate - write data + 0, + FxSync:// xBegin - begin transaction + 0, + FxCommit:// xSync - sync transaction + 0, + FxRollback:// xCommit - commit transaction + 0, + FxFindFunction:// xRollback - rollback transaction + uintptr(0), + FxRename:// xFindFunction - function overloading + 0, + FxSavepoint:// xRename - rename the table + 0, + FxRelease:// xSavepoint + uintptr(0), + FxRollbackTo:// xRelease + uintptr(0), + FxShadowName:// xRollbackTo + 0, // xShadowName } /* sqlite3.c:191516:23 */ func rtreeSqlInit(tls *libc.TLS, pRtree uintptr, db uintptr, zDb uintptr, zPrefix uintptr, isCreate int32) int32 { /* sqlite3.c:191543:12: */ @@ -154279,30 +156087,54 @@ func geopolyFindFunction(tls *libc.TLS, pVtab uintptr, nArg int32, zName uintptr return 0 } -var geopolyModule = Sqlite3_module{FiVersion: 3, FxCreate: // iVersion -0, FxConnect:// xCreate - create a table -0, FxBestIndex:// xConnect - connect to an existing table -0, FxDisconnect:// xBestIndex - Determine search strategy -0, FxDestroy:// xDisconnect - Disconnect from a table -0, FxOpen:// xDestroy - Drop a table -0, FxClose:// xOpen - open a cursor -0, FxFilter:// xClose - close a cursor -0, FxNext:// xFilter - configure scan constraints -0, FxEof:// xNext - advance a cursor -0, FxColumn:// xEof -0, FxRowid:// xColumn - read data -0, FxUpdate:// xRowid - read data -0, FxBegin:// xUpdate - write data -0, FxSync:// xBegin - begin transaction -0, FxCommit:// xSync - sync transaction -0, FxRollback:// xCommit - commit transaction -0, FxFindFunction:// xRollback - rollback transaction -0, FxRename:// xFindFunction - function overloading -0, FxSavepoint:// xRename - rename the table -0, FxRelease:// xSavepoint -uintptr(0), FxRollbackTo:// xRelease -uintptr(0), FxShadowName:// xRollbackTo -0, // xShadowName +var geopolyModule = Sqlite3_module{ + FiVersion: 3, + FxCreate:// iVersion + 0, + FxConnect:// xCreate - create a table + 0, + FxBestIndex:// xConnect - connect to an existing table + 0, + FxDisconnect:// xBestIndex - Determine search strategy + 0, + FxDestroy:// xDisconnect - Disconnect from a table + 0, + FxOpen:// xDestroy - Drop a table + 0, + FxClose:// xOpen - open a cursor + 0, + FxFilter:// xClose - close a cursor + 0, + FxNext:// xFilter - configure scan constraints + 0, + FxEof:// xNext - advance a cursor + 0, + FxColumn:// xEof + 0, + FxRowid:// xColumn - read data + 0, + FxUpdate:// xRowid - read data + 0, + FxBegin:// xUpdate - write data + 0, + FxSync:// xBegin - begin transaction + 0, + FxCommit:// xSync - sync transaction + 0, + FxRollback:// xCommit - commit transaction + 0, + FxFindFunction:// xRollback - rollback transaction + 0, + FxRename:// xFindFunction - function overloading + 0, + FxSavepoint:// xRename - rename the table + 0, + FxRelease:// xSavepoint + uintptr(0), + FxRollbackTo:// xRelease + uintptr(0), + FxShadowName:// xRollbackTo + 0, // xShadowName } /* sqlite3.c:194163:23 */ func sqlite3_geopoly_init(tls *libc.TLS, db uintptr) int32 { /* sqlite3.c:194190:12: */ @@ -154347,25 +156179,76 @@ var aFunc1 = [12]struct { _ [6]byte FzName uintptr }{ - {FxFunc: 0, FnArg: int8(1), FbPure: uint8(1), FzName: ts + 30947 /* "geopoly_area" */}, - {FxFunc: 0, FnArg: int8(1), FbPure: uint8(1), FzName: ts + 30960 /* "geopoly_blob" */}, - {FxFunc: 0, FnArg: int8(1), FbPure: uint8(1), FzName: ts + 30973 /* "geopoly_json" */}, - {FxFunc: 0, FnArg: int8(-1), FbPure: uint8(1), FzName: ts + 30986 /* "geopoly_svg" */}, - {FxFunc: 0, FnArg: int8(2), FbPure: uint8(1), FzName: ts + 30924 /* "geopoly_within" */}, - {FxFunc: 0, FnArg: int8(3), FbPure: uint8(1), FzName: ts + 30998 /* "geopoly_contains..." */}, - {FxFunc: 0, FnArg: int8(2), FbPure: uint8(1), FzName: ts + 30908 /* "geopoly_overlap" */}, - {FxFunc: 0, FnArg: int8(1), FbPure: uint8(0), FzName: ts + 31021 /* "geopoly_debug" */}, - {FxFunc: 0, FnArg: int8(1), FbPure: uint8(1), FzName: ts + 31035 /* "geopoly_bbox" */}, - {FxFunc: 0, FnArg: int8(7), FbPure: uint8(1), FzName: ts + 31048 /* "geopoly_xform" */}, - {FxFunc: 0, FnArg: int8(4), FbPure: uint8(1), FzName: ts + 31062 /* "geopoly_regular" */}, - {FxFunc: 0, FnArg: int8(1), FbPure: uint8(1), FzName: ts + 31078 /* "geopoly_ccw" */}, + { + FxFunc: 0, + FnArg: int8(1), + FbPure: uint8(1), + FzName: ts + 30947 /* "geopoly_area" */}, + { + FxFunc: 0, + FnArg: int8(1), + FbPure: uint8(1), + FzName: ts + 30960 /* "geopoly_blob" */}, + { + FxFunc: 0, + FnArg: int8(1), + FbPure: uint8(1), + FzName: ts + 30973 /* "geopoly_json" */}, + { + FxFunc: 0, + FnArg: int8(-1), + FbPure: uint8(1), + FzName: ts + 30986 /* "geopoly_svg" */}, + { + FxFunc: 0, + FnArg: int8(2), + FbPure: uint8(1), + FzName: ts + 30924 /* "geopoly_within" */}, + { + FxFunc: 0, + FnArg: int8(3), + FbPure: uint8(1), + FzName: ts + 30998 /* "geopoly_contains..." */}, + { + FxFunc: 0, + FnArg: int8(2), + FbPure: uint8(1), + FzName: ts + 30908 /* "geopoly_overlap" */}, + { + FxFunc: 0, + FnArg: int8(1), + FbPure: uint8(0), + FzName: ts + 31021 /* "geopoly_debug" */}, + { + FxFunc: 0, + FnArg: int8(1), + FbPure: uint8(1), + FzName: ts + 31035 /* "geopoly_bbox" */}, + { + FxFunc: 0, + FnArg: int8(7), + FbPure: uint8(1), + FzName: ts + 31048 /* "geopoly_xform" */}, + { + FxFunc: 0, + FnArg: int8(4), + FbPure: uint8(1), + FzName: ts + 31062 /* "geopoly_regular" */}, + { + FxFunc: 0, + FnArg: int8(1), + FbPure: uint8(1), + FzName: ts + 31078 /* "geopoly_ccw" */}, } /* sqlite3.c:194197:5 */ var aAgg1 = [1]struct { FxStep uintptr FxFinal uintptr FzName uintptr }{ - {FxStep: 0, FxFinal: 0, FzName: ts + 31090 /* "geopoly_group_bb..." */}, + { + FxStep: 0, + FxFinal: 0, + FzName: ts + 31090 /* "geopoly_group_bb..." */}, } /* sqlite3.c:194215:5 */ //************* End of geopoly.c ******************************************** @@ -160028,24 +161911,43 @@ func rbuVfsOpen(tls *libc.TLS, pVfs uintptr, zName uintptr, pFile uintptr, flags return rc } -var rbuvfs_io_methods = Sqlite3_io_methods{FiVersion: 2, FxClose: // iVersion -0, FxRead:// xClose -0, FxWrite:// xRead -0, FxTruncate:// xWrite -0, FxSync:// xTruncate -0, FxFileSize:// xSync -0, FxLock:// xFileSize -0, FxUnlock:// xLock -0, FxCheckReservedLock:// xUnlock -0, FxFileControl:// xCheckReservedLock -0, FxSectorSize:// xFileControl -0, FxDeviceCharacteristics:// xSectorSize -0, FxShmMap:// xDeviceCharacteristics -0, FxShmLock:// xShmMap -0, FxShmBarrier:// xShmLock -0, FxShmUnmap:// xShmBarrier -0, FxFetch:// xShmUnmap -uintptr(0), FxUnfetch: uintptr(0), // xFetch, xUnfetch +var rbuvfs_io_methods = Sqlite3_io_methods{ + FiVersion: 2, + FxClose:// iVersion + 0, + FxRead:// xClose + 0, + FxWrite:// xRead + 0, + FxTruncate:// xWrite + 0, + FxSync:// xTruncate + 0, + FxFileSize:// xSync + 0, + FxLock:// xFileSize + 0, + FxUnlock:// xLock + 0, + FxCheckReservedLock:// xUnlock + 0, + FxFileControl:// xCheckReservedLock + 0, + FxSectorSize:// xFileControl + 0, + FxDeviceCharacteristics:// xSectorSize + 0, + FxShmMap:// xDeviceCharacteristics + 0, + FxShmLock:// xShmMap + 0, + FxShmBarrier:// xShmLock + 0, + FxShmUnmap:// xShmBarrier + 0, + FxFetch:// xShmUnmap + uintptr(0), + FxUnfetch: uintptr(0), // xFetch, xUnfetch } /* sqlite3.c:200801:29 */ // Delete the file located at zPath. @@ -160216,28 +162118,50 @@ func Xsqlite3rbu_create_vfs(tls *libc.TLS, zName uintptr, zParent uintptr) int32 return rc } -var vfs_template = Sqlite3_vfs{FiVersion: 1, FszOsFile: // iVersion -0, FmxPathname:// szOsFile -0, FpNext:// mxPathname -uintptr(0), FzName:// pNext -uintptr(0), FpAppData:// zName -uintptr(0), FxOpen:// pAppData -0, FxDelete:// xOpen -0, FxAccess:// xDelete -0, FxFullPathname:// xAccess -0, FxDlOpen:// xFullPathname - -0, FxDlError:// xDlOpen -0, FxDlSym:// xDlError -0, FxDlClose:// xDlSym -0, FxRandomness:// xDlClose - -0, FxSleep:// xRandomness -0, FxCurrentTime:// xSleep -0, FxGetLastError:// xCurrentTime -0, FxCurrentTimeInt64:// xGetLastError -uintptr(0), FxSetSystemCall:// xCurrentTimeInt64 (version 2) -uintptr(0), FxGetSystemCall: uintptr(0), FxNextSystemCall: uintptr(0), // Unimplemented version 3 methods +var vfs_template = Sqlite3_vfs{ + FiVersion: 1, + FszOsFile:// iVersion + 0, + FmxPathname:// szOsFile + 0, + FpNext:// mxPathname + uintptr(0), + FzName:// pNext + uintptr(0), + FpAppData:// zName + uintptr(0), + FxOpen:// pAppData + 0, + FxDelete:// xOpen + 0, + FxAccess:// xDelete + 0, + FxFullPathname:// xAccess + 0, + FxDlOpen:// xFullPathname + + 0, + FxDlError:// xDlOpen + 0, + FxDlSym:// xDlError + 0, + FxDlClose:// xDlSym + 0, + FxRandomness:// xDlClose + + 0, + FxSleep:// xRandomness + 0, + FxCurrentTime:// xSleep + 0, + FxGetLastError:// xCurrentTime + 0, + FxCurrentTimeInt64:// xGetLastError + uintptr(0), + FxSetSystemCall:// xCurrentTimeInt64 (version 2) + uintptr(0), + FxGetSystemCall: uintptr(0), + FxNextSystemCall: uintptr(0), // Unimplemented version 3 methods } /* sqlite3.c:201067:22 */ // Configure the aggregate temp file size limit for this RBU handle. @@ -161282,30 +163206,54 @@ func Xsqlite3DbstatRegister(tls *libc.TLS, db uintptr) int32 { /* sqlite3.c:2019 return Xsqlite3_create_module(tls, db, ts+36067 /* "dbstat" */, uintptr(unsafe.Pointer(&dbstat_module)), uintptr(0)) } -var dbstat_module = Sqlite3_module{FiVersion: 0, FxCreate: // iVersion -0, FxConnect:// xCreate -0, FxBestIndex:// xConnect -0, FxDisconnect:// xBestIndex -0, FxDestroy:// xDisconnect -0, FxOpen:// xDestroy -0, FxClose:// xOpen - open a cursor -0, FxFilter:// xClose - close a cursor -0, FxNext:// xFilter - configure scan constraints -0, FxEof:// xNext - advance a cursor -0, FxColumn:// xEof - check for end of scan -0, FxRowid:// xColumn - read data -0, FxUpdate:// xRowid - read data -uintptr(0), FxBegin:// xUpdate -uintptr(0), FxSync:// xBegin -uintptr(0), FxCommit:// xSync -uintptr(0), FxRollback:// xCommit -uintptr(0), FxFindFunction:// xRollback -uintptr(0), FxRename:// xFindMethod -uintptr(0), FxSavepoint:// xRename -uintptr(0), FxRelease:// xSavepoint -uintptr(0), FxRollbackTo:// xRelease -uintptr(0), FxShadowName:// xRollbackTo -uintptr(0), // xShadowName +var dbstat_module = Sqlite3_module{ + FiVersion: 0, + FxCreate:// iVersion + 0, + FxConnect:// xCreate + 0, + FxBestIndex:// xConnect + 0, + FxDisconnect:// xBestIndex + 0, + FxDestroy:// xDisconnect + 0, + FxOpen:// xDestroy + 0, + FxClose:// xOpen - open a cursor + 0, + FxFilter:// xClose - close a cursor + 0, + FxNext:// xFilter - configure scan constraints + 0, + FxEof:// xNext - advance a cursor + 0, + FxColumn:// xEof - check for end of scan + 0, + FxRowid:// xColumn - read data + 0, + FxUpdate:// xRowid - read data + uintptr(0), + FxBegin:// xUpdate + uintptr(0), + FxSync:// xBegin + uintptr(0), + FxCommit:// xSync + uintptr(0), + FxRollback:// xCommit + uintptr(0), + FxFindFunction:// xRollback + uintptr(0), + FxRename:// xFindMethod + uintptr(0), + FxSavepoint:// xRename + uintptr(0), + FxRelease:// xSavepoint + uintptr(0), + FxRollbackTo:// xRelease + uintptr(0), + FxShadowName:// xRollbackTo + uintptr(0), // xShadowName } /* sqlite3.c:201982:25 */ //************* End of dbstat.c ********************************************* @@ -161744,30 +163692,54 @@ func Xsqlite3DbpageRegister(tls *libc.TLS, db uintptr) int32 { /* sqlite3.c:2024 return Xsqlite3_create_module(tls, db, ts+36225 /* "sqlite_dbpage" */, uintptr(unsafe.Pointer(&dbpage_module)), uintptr(0)) } -var dbpage_module = Sqlite3_module{FiVersion: 0, FxCreate: // iVersion -0, FxConnect:// xCreate -0, FxBestIndex:// xConnect -0, FxDisconnect:// xBestIndex -0, FxDestroy:// xDisconnect -0, FxOpen:// xDestroy -0, FxClose:// xOpen - open a cursor -0, FxFilter:// xClose - close a cursor -0, FxNext:// xFilter - configure scan constraints -0, FxEof:// xNext - advance a cursor -0, FxColumn:// xEof - check for end of scan -0, FxRowid:// xColumn - read data -0, FxUpdate:// xRowid - read data -0, FxBegin:// xUpdate -0, FxSync:// xBegin -uintptr(0), FxCommit:// xSync -uintptr(0), FxRollback:// xCommit -uintptr(0), FxFindFunction:// xRollback -uintptr(0), FxRename:// xFindMethod -uintptr(0), FxSavepoint:// xRename -uintptr(0), FxRelease:// xSavepoint -uintptr(0), FxRollbackTo:// xRelease -uintptr(0), FxShadowName:// xRollbackTo -uintptr(0), // xShadowName +var dbpage_module = Sqlite3_module{ + FiVersion: 0, + FxCreate:// iVersion + 0, + FxConnect:// xCreate + 0, + FxBestIndex:// xConnect + 0, + FxDisconnect:// xBestIndex + 0, + FxDestroy:// xDisconnect + 0, + FxOpen:// xDestroy + 0, + FxClose:// xOpen - open a cursor + 0, + FxFilter:// xClose - close a cursor + 0, + FxNext:// xFilter - configure scan constraints + 0, + FxEof:// xNext - advance a cursor + 0, + FxColumn:// xEof - check for end of scan + 0, + FxRowid:// xColumn - read data + 0, + FxUpdate:// xRowid - read data + 0, + FxBegin:// xUpdate + 0, + FxSync:// xBegin + uintptr(0), + FxCommit:// xSync + uintptr(0), + FxRollback:// xCommit + uintptr(0), + FxFindFunction:// xRollback + uintptr(0), + FxRename:// xFindMethod + uintptr(0), + FxSavepoint:// xRename + uintptr(0), + FxRelease:// xSavepoint + uintptr(0), + FxRollbackTo:// xRelease + uintptr(0), + FxShadowName:// xRollbackTo + uintptr(0), // xShadowName } /* sqlite3.c:202401:25 */ //************* End of dbpage.c ********************************************* @@ -163911,15 +165883,27 @@ func sqlite3Fts5AuxInit(tls *libc.TLS, pApi uintptr) int32 { /* sqlite3.c:211508 defer tls.Free(96) *(*[3]Builtin)(unsafe.Pointer(bp /* aBuiltin */)) = [3]Builtin{ - {FzFunc: ts + 36403 /* "snippet" */, FpUserData: uintptr(0), FxFunc: *(*uintptr)(unsafe.Pointer(&struct { - f func(*libc.TLS, uintptr, uintptr, uintptr, int32, uintptr) - }{fts5SnippetFunction})), FxDestroy: uintptr(0)}, - {FzFunc: ts + 36411 /* "highlight" */, FpUserData: uintptr(0), FxFunc: *(*uintptr)(unsafe.Pointer(&struct { - f func(*libc.TLS, uintptr, uintptr, uintptr, int32, uintptr) - }{fts5HighlightFunction})), FxDestroy: uintptr(0)}, - {FzFunc: ts + 36421 /* "bm25" */, FpUserData: uintptr(0), FxFunc: *(*uintptr)(unsafe.Pointer(&struct { - f func(*libc.TLS, uintptr, uintptr, uintptr, int32, uintptr) - }{fts5Bm25Function})), FxDestroy: uintptr(0)}, + { + FzFunc: ts + 36403, /* "snippet" */ + FpUserData: uintptr(0), + FxFunc: *(*uintptr)(unsafe.Pointer(&struct { + f func(*libc.TLS, uintptr, uintptr, uintptr, int32, uintptr) + }{fts5SnippetFunction})), + FxDestroy: uintptr(0)}, + { + FzFunc: ts + 36411, /* "highlight" */ + FpUserData: uintptr(0), + FxFunc: *(*uintptr)(unsafe.Pointer(&struct { + f func(*libc.TLS, uintptr, uintptr, uintptr, int32, uintptr) + }{fts5HighlightFunction})), + FxDestroy: uintptr(0)}, + { + FzFunc: ts + 36421, /* "bm25" */ + FpUserData: uintptr(0), + FxFunc: *(*uintptr)(unsafe.Pointer(&struct { + f func(*libc.TLS, uintptr, uintptr, uintptr, int32, uintptr) + }{fts5Bm25Function})), + FxDestroy: uintptr(0)}, } var rc int32 = 0 // Return code var i int32 // To iterate through builtin functions @@ -164723,10 +166707,16 @@ func fts5ConfigParseSpecial(tls *libc.TLS, pGlobal uintptr, pConfig uintptr, zCm if Xsqlite3_strnicmp(tls, ts+6772 /* "detail" */, zCmd, nCmd) == 0 { *(*[4]Fts5Enum)(unsafe.Pointer(bp + 48 /* aDetail */)) = [4]Fts5Enum{ - {FzName: ts + 18349 /* "none" */, FeVal: 1}, - {FzName: ts + 18354 /* "full" */, FeVal: 0}, - {FzName: ts + 36754 /* "columns" */, FeVal: 2}, - {FzName: uintptr(0), FeVal: 0}, + { + FzName: ts + 18349, /* "none" */ + FeVal: 1}, + { + FzName: ts + 18354, /* "full" */ + FeVal: 0}, + { + FzName: ts + 36754, /* "columns" */ + FeVal: 2}, + {}, } if libc.AssignPtrInt32(bp+40 /* rc */, fts5ConfigSetEnum(tls, bp+48 /* &aDetail[0] */, zArg, (pConfig+92 /* &.eDetail */))) != 0 { @@ -164824,7 +166814,7 @@ func fts5ConfigMakeExprlist(tls *libc.TLS, p uintptr) int32 { /* sqlite3.c:21242 var i int32 *(*int32)(unsafe.Pointer(bp + 24 /* rc */)) = 0 - *(*Fts5Buffer)(unsafe.Pointer(bp + 32 /* buf */)) = Fts5Buffer{Fp: uintptr(0), Fn: 0, FnSpace: 0} + *(*Fts5Buffer)(unsafe.Pointer(bp + 32 /* buf */)) = Fts5Buffer{} sqlite3Fts5BufferAppendPrintf(tls, bp+24 /* &rc */, bp+32 /* &buf */, ts+36892 /* "T.%Q" */, libc.VaList(bp, (*Fts5Config)(unsafe.Pointer(p)).FzContentRowid)) if (*Fts5Config)(unsafe.Pointer(p)).FeContent != 1 { @@ -165688,7 +167678,7 @@ __3: *(*int32)(unsafe.Pointer(pn)) = (*Fts5PoslistReader)(unsafe.Pointer(aIter + uintptr(0)*32)).Fn goto __10 __9: - *(*Fts5PoslistWriter)(unsafe.Pointer(bp + 128 /* writer */)) = Fts5PoslistWriter{FiPrev: int64(0)} + *(*Fts5PoslistWriter)(unsafe.Pointer(bp + 128 /* writer */)) = Fts5PoslistWriter{} iPrev = int64(-1) sqlite3Fts5BufferZero(tls, pBuf) __11: @@ -165795,7 +167785,7 @@ func fts5ExprPhraseIsMatch(tls *libc.TLS, pNode uintptr, pPhrase uintptr, pbMatc var iAdj I64 var bMatch int32 var iPos I64 - *(*Fts5PoslistWriter)(unsafe.Pointer(bp + 160 /* writer */)) = Fts5PoslistWriter{FiPrev: int64(0)} + *(*Fts5PoslistWriter)(unsafe.Pointer(bp + 160 /* writer */)) = Fts5PoslistWriter{} aIter = bp /* aStatic */ rc = 0 bFirst = int32((*Fts5ExprTerm)(unsafe.Pointer((pPhrase + 32 /* &.aTerm */) + uintptr(0)*32)).FbFirst) @@ -165832,7 +167822,7 @@ __3: if !((*Fts5ExprTerm)(unsafe.Pointer(pTerm)).FpSynonym != 0) { goto __6 } - *(*Fts5Buffer)(unsafe.Pointer(bp + 128 /* buf */)) = Fts5Buffer{Fp: uintptr(0), Fn: 0, FnSpace: 0} + *(*Fts5Buffer)(unsafe.Pointer(bp + 128 /* buf */)) = Fts5Buffer{} rc = fts5ExprSynonymList(tls, pTerm, (*Fts5ExprNode)(unsafe.Pointer(pNode)).FiRowid, bp+128 /* &buf */, bp+144 /* &a */, bp+152 /* &n */) if !(rc != 0) { goto __8 @@ -167213,10 +169203,10 @@ func sqlite3Fts5ExprClonePhrase(tls *libc.TLS, pExpr uintptr, iPhrase int32, ppN bp := tls.Alloc(24) defer tls.Free(24) - *(*int32)(unsafe.Pointer(bp /* rc */)) = 0 // Return code - var pOrig uintptr // The phrase extracted from pExpr - var pNew uintptr = uintptr(0) // Expression to return via *ppNew - *(*TokenCtx)(unsafe.Pointer(bp + 8 /* sCtx */)) = TokenCtx{FpPhrase: uintptr(0), Frc: 0} // Context object for fts5ParseTokenize + *(*int32)(unsafe.Pointer(bp /* rc */)) = 0 // Return code + var pOrig uintptr // The phrase extracted from pExpr + var pNew uintptr = uintptr(0) // Expression to return via *ppNew + *(*TokenCtx)(unsafe.Pointer(bp + 8 /* sCtx */)) = TokenCtx{} // Context object for fts5ParseTokenize pOrig = *(*uintptr)(unsafe.Pointer((*Fts5Expr)(unsafe.Pointer(pExpr)).FapExprPhrase + uintptr(iPhrase)*8)) pNew = sqlite3Fts5MallocZero(tls, bp /* &rc */, int64(unsafe.Sizeof(Fts5Expr{}))) @@ -168133,18 +170123,26 @@ func sqlite3Fts5ExprInit(tls *libc.TLS, pGlobal uintptr, db uintptr) int32 { /* defer tls.Free(64) *(*[4]Fts5ExprFunc)(unsafe.Pointer(bp /* aFunc */)) = [4]Fts5ExprFunc{ - {Fz: ts + 37541 /* "fts5_expr" */, Fx: *(*uintptr)(unsafe.Pointer(&struct { - f func(*libc.TLS, uintptr, int32, uintptr) - }{fts5ExprFunctionHr}))}, - {Fz: ts + 37527 /* "fts5_expr_tcl" */, Fx: *(*uintptr)(unsafe.Pointer(&struct { - f func(*libc.TLS, uintptr, int32, uintptr) - }{fts5ExprFunctionTcl}))}, - {Fz: ts + 37659 /* "fts5_isalnum" */, Fx: *(*uintptr)(unsafe.Pointer(&struct { - f func(*libc.TLS, uintptr, int32, uintptr) - }{fts5ExprIsAlnum}))}, - {Fz: ts + 37672 /* "fts5_fold" */, Fx: *(*uintptr)(unsafe.Pointer(&struct { - f func(*libc.TLS, uintptr, int32, uintptr) - }{fts5ExprFold}))}, + { + Fz: ts + 37541, /* "fts5_expr" */ + Fx: *(*uintptr)(unsafe.Pointer(&struct { + f func(*libc.TLS, uintptr, int32, uintptr) + }{fts5ExprFunctionHr}))}, + { + Fz: ts + 37527, /* "fts5_expr_tcl" */ + Fx: *(*uintptr)(unsafe.Pointer(&struct { + f func(*libc.TLS, uintptr, int32, uintptr) + }{fts5ExprFunctionTcl}))}, + { + Fz: ts + 37659, /* "fts5_isalnum" */ + Fx: *(*uintptr)(unsafe.Pointer(&struct { + f func(*libc.TLS, uintptr, int32, uintptr) + }{fts5ExprIsAlnum}))}, + { + Fz: ts + 37672, /* "fts5_fold" */ + Fx: *(*uintptr)(unsafe.Pointer(&struct { + f func(*libc.TLS, uintptr, int32, uintptr) + }{fts5ExprFold}))}, } var i int32 var rc int32 = 0 @@ -173760,8 +175758,8 @@ func fts5MergePrefixLists(tls *libc.TLS, p uintptr, p1 uintptr, p2 uintptr) { /* // var i2 Fts5DoclistIter at bp+48, 32 - *(*Fts5Buffer)(unsafe.Pointer(bp /* out */)) = Fts5Buffer{Fp: uintptr(0), Fn: 0, FnSpace: 0} - *(*Fts5Buffer)(unsafe.Pointer(bp + 88 /* tmp */)) = Fts5Buffer{Fp: uintptr(0), Fn: 0, FnSpace: 0} + *(*Fts5Buffer)(unsafe.Pointer(bp /* out */)) = Fts5Buffer{} + *(*Fts5Buffer)(unsafe.Pointer(bp + 88 /* tmp */)) = Fts5Buffer{} // The maximum size of the output is equal to the sum of the two // input sizes + 1 varint (9 bytes). The extra varint is because if the @@ -174256,7 +176254,7 @@ func sqlite3Fts5IndexQuery(tls *libc.TLS, p uintptr, pToken uintptr, nToken int3 var pConfig uintptr = (*Fts5Index)(unsafe.Pointer(p)).FpConfig *(*uintptr)(unsafe.Pointer(bp + 16 /* pRet */)) = uintptr(0) - *(*Fts5Buffer)(unsafe.Pointer(bp /* buf */)) = Fts5Buffer{Fp: uintptr(0), Fn: 0, FnSpace: 0} + *(*Fts5Buffer)(unsafe.Pointer(bp /* buf */)) = Fts5Buffer{} // If the QUERY_SCAN flag is set, all other flags must be clear. @@ -174504,8 +176502,8 @@ func fts5IntegrityCheckPgidx(tls *libc.TLS, p uintptr, pLeaf uintptr) { /* sqlit var iTermOff int32 = 0 var ii int32 - *(*Fts5Buffer)(unsafe.Pointer(bp + 8 /* buf1 */)) = Fts5Buffer{Fp: uintptr(0), Fn: 0, FnSpace: 0} - *(*Fts5Buffer)(unsafe.Pointer(bp + 32 /* buf2 */)) = Fts5Buffer{Fp: uintptr(0), Fn: 0, FnSpace: 0} + *(*Fts5Buffer)(unsafe.Pointer(bp + 8 /* buf1 */)) = Fts5Buffer{} + *(*Fts5Buffer)(unsafe.Pointer(bp + 32 /* buf2 */)) = Fts5Buffer{} ii = (*Fts5Data)(unsafe.Pointer(pLeaf)).FszLeaf for (ii < (*Fts5Data)(unsafe.Pointer(pLeaf)).Fnn) && ((*Fts5Index)(unsafe.Pointer(p)).Frc == 0) { @@ -174728,8 +176726,8 @@ func sqlite3Fts5IndexIntegrityCheck(tls *libc.TLS, p uintptr, cksum U64) int32 { defer tls.Free(48) var eDetail int32 = (*Fts5Config)(unsafe.Pointer((*Fts5Index)(unsafe.Pointer(p)).FpConfig)).FeDetail - var cksum2 U64 = uint64(0) // Checksum based on contents of indexes - *(*Fts5Buffer)(unsafe.Pointer(bp + 16 /* poslist */)) = Fts5Buffer{Fp: uintptr(0), Fn: 0, FnSpace: 0} // Buffer used to hold a poslist + var cksum2 U64 = uint64(0) // Checksum based on contents of indexes + *(*Fts5Buffer)(unsafe.Pointer(bp + 16 /* poslist */)) = Fts5Buffer{} // Buffer used to hold a poslist // var pIter uintptr at bp, 8 // Used to iterate through entire index var pStruct uintptr // Index structure @@ -177514,8 +179512,28 @@ func fts5ApiPhraseFirstColumn(tls *libc.TLS, pCtx uintptr, iPhrase int32, pIter return rc } -var sFts5Api = Fts5ExtensionApi{FiVersion: 2, FxUserData: // iVersion -0, FxColumnCount: 0, FxRowCount: 0, FxColumnTotalSize: 0, FxTokenize: 0, FxPhraseCount: 0, FxPhraseSize: 0, FxInstCount: 0, FxInst: 0, FxRowid: 0, FxColumnText: 0, FxColumnSize: 0, FxQueryPhrase: 0, FxSetAuxdata: 0, FxGetAuxdata: 0, FxPhraseFirst: 0, FxPhraseNext: 0, FxPhraseFirstColumn: 0, FxPhraseNextColumn: 0, +var sFts5Api = Fts5ExtensionApi{ + FiVersion: 2, + FxUserData:// iVersion + 0, + FxColumnCount: 0, + FxRowCount: 0, + FxColumnTotalSize: 0, + FxTokenize: 0, + FxPhraseCount: 0, + FxPhraseSize: 0, + FxInstCount: 0, + FxInst: 0, + FxRowid: 0, + FxColumnText: 0, + FxColumnSize: 0, + FxQueryPhrase: 0, + FxSetAuxdata: 0, + FxGetAuxdata: 0, + FxPhraseFirst: 0, + FxPhraseNext: 0, + FxPhraseFirstColumn: 0, + FxPhraseNextColumn: 0, } /* sqlite3.c:225211:31 */ // Implementation of API function xQueryPhrase(). @@ -178029,31 +180047,55 @@ func fts5Init(tls *libc.TLS, db uintptr) int32 { /* sqlite3.c:225746:12: */ return rc } -var fts5Mod = Sqlite3_module{FiVersion: -/* iVersion */ 3, FxCreate: -/* xCreate */ 0, FxConnect: -/* xConnect */ 0, FxBestIndex: -/* xBestIndex */ 0, FxDisconnect: -/* xDisconnect */ 0, FxDestroy: -/* xDestroy */ 0, FxOpen: -/* xOpen */ 0, FxClose: -/* xClose */ 0, FxFilter: -/* xFilter */ 0, FxNext: -/* xNext */ 0, FxEof: -/* xEof */ 0, FxColumn: -/* xColumn */ 0, FxRowid: -/* xRowid */ 0, FxUpdate: -/* xUpdate */ 0, FxBegin: -/* xBegin */ 0, FxSync: -/* xSync */ 0, FxCommit: -/* xCommit */ 0, FxRollback: -/* xRollback */ 0, FxFindFunction: -/* xFindFunction */ 0, FxRename: -/* xRename */ 0, FxSavepoint: -/* xSavepoint */ 0, FxRelease: -/* xRelease */ 0, FxRollbackTo: -/* xRollbackTo */ 0, FxShadowName: -/* xShadowName */ 0, +var fts5Mod = Sqlite3_module{ + FiVersion: + /* iVersion */ 3, + FxCreate: + /* xCreate */ 0, + FxConnect: + /* xConnect */ 0, + FxBestIndex: + /* xBestIndex */ 0, + FxDisconnect: + /* xDisconnect */ 0, + FxDestroy: + /* xDestroy */ 0, + FxOpen: + /* xOpen */ 0, + FxClose: + /* xClose */ 0, + FxFilter: + /* xFilter */ 0, + FxNext: + /* xNext */ 0, + FxEof: + /* xEof */ 0, + FxColumn: + /* xColumn */ 0, + FxRowid: + /* xRowid */ 0, + FxUpdate: + /* xUpdate */ 0, + FxBegin: + /* xBegin */ 0, + FxSync: + /* xSync */ 0, + FxCommit: + /* xCommit */ 0, + FxRollback: + /* xRollback */ 0, + FxFindFunction: + /* xFindFunction */ 0, + FxRename: + /* xRename */ 0, + FxSavepoint: + /* xSavepoint */ 0, + FxRelease: + /* xRelease */ 0, + FxRollbackTo: + /* xRollbackTo */ 0, + FxShadowName: + /* xShadowName */ 0, } /* sqlite3.c:225747:31 */ // The following functions are used to register the module with SQLite. If @@ -178581,7 +180623,7 @@ func sqlite3Fts5StorageRebuild(tls *libc.TLS, p uintptr) int32 { /* sqlite3.c:22 bp := tls.Alloc(44) defer tls.Free(44) - *(*Fts5Buffer)(unsafe.Pointer(bp + 24 /* buf */)) = Fts5Buffer{Fp: uintptr(0), Fn: 0, FnSpace: 0} + *(*Fts5Buffer)(unsafe.Pointer(bp + 24 /* buf */)) = Fts5Buffer{} var pConfig uintptr = (*Fts5Storage)(unsafe.Pointer(p)).FpConfig *(*uintptr)(unsafe.Pointer(bp + 16 /* pScan */)) = uintptr(0) // var ctx Fts5InsertCtx at bp, 16 @@ -180474,21 +182516,33 @@ func sqlite3Fts5TokenizerInit(tls *libc.TLS, pApi uintptr) int32 { /* sqlite3.c: defer tls.Free(96) *(*[3]BuiltinTokenizer)(unsafe.Pointer(bp /* aBuiltin */)) = [3]BuiltinTokenizer{ - {FzName: ts + 40198 /* "unicode61" */, Fx: Fts5_tokenizer{FxCreate: *(*uintptr)(unsafe.Pointer(&struct { - f func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32 - }{fts5UnicodeCreate})), FxDelete: *(*uintptr)(unsafe.Pointer(&struct{ f func(*libc.TLS, uintptr) }{fts5UnicodeDelete})), FxTokenize: *(*uintptr)(unsafe.Pointer(&struct { - f func(*libc.TLS, uintptr, uintptr, int32, uintptr, int32, uintptr) int32 - }{fts5UnicodeTokenize}))}}, - {FzName: ts + 40487 /* "ascii" */, Fx: Fts5_tokenizer{FxCreate: *(*uintptr)(unsafe.Pointer(&struct { - f func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32 - }{fts5AsciiCreate})), FxDelete: *(*uintptr)(unsafe.Pointer(&struct{ f func(*libc.TLS, uintptr) }{fts5AsciiDelete})), FxTokenize: *(*uintptr)(unsafe.Pointer(&struct { - f func(*libc.TLS, uintptr, uintptr, int32, uintptr, int32, uintptr) int32 - }{fts5AsciiTokenize}))}}, - {FzName: ts + 40493 /* "porter" */, Fx: Fts5_tokenizer{FxCreate: *(*uintptr)(unsafe.Pointer(&struct { - f func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32 - }{fts5PorterCreate})), FxDelete: *(*uintptr)(unsafe.Pointer(&struct{ f func(*libc.TLS, uintptr) }{fts5PorterDelete})), FxTokenize: *(*uintptr)(unsafe.Pointer(&struct { - f func(*libc.TLS, uintptr, uintptr, int32, uintptr, int32, uintptr) int32 - }{fts5PorterTokenize}))}}, + { + FzName: ts + 40198 /* "unicode61" */, Fx: Fts5_tokenizer{ + FxCreate: *(*uintptr)(unsafe.Pointer(&struct { + f func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32 + }{fts5UnicodeCreate})), + FxDelete: *(*uintptr)(unsafe.Pointer(&struct{ f func(*libc.TLS, uintptr) }{fts5UnicodeDelete})), + FxTokenize: *(*uintptr)(unsafe.Pointer(&struct { + f func(*libc.TLS, uintptr, uintptr, int32, uintptr, int32, uintptr) int32 + }{fts5UnicodeTokenize}))}}, + { + FzName: ts + 40487 /* "ascii" */, Fx: Fts5_tokenizer{ + FxCreate: *(*uintptr)(unsafe.Pointer(&struct { + f func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32 + }{fts5AsciiCreate})), + FxDelete: *(*uintptr)(unsafe.Pointer(&struct{ f func(*libc.TLS, uintptr) }{fts5AsciiDelete})), + FxTokenize: *(*uintptr)(unsafe.Pointer(&struct { + f func(*libc.TLS, uintptr, uintptr, int32, uintptr, int32, uintptr) int32 + }{fts5AsciiTokenize}))}}, + { + FzName: ts + 40493 /* "porter" */, Fx: Fts5_tokenizer{ + FxCreate: *(*uintptr)(unsafe.Pointer(&struct { + f func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32 + }{fts5PorterCreate})), + FxDelete: *(*uintptr)(unsafe.Pointer(&struct{ f func(*libc.TLS, uintptr) }{fts5PorterDelete})), + FxTokenize: *(*uintptr)(unsafe.Pointer(&struct { + f func(*libc.TLS, uintptr, uintptr, int32, uintptr, int32, uintptr) int32 + }{fts5PorterTokenize}))}}, } var rc int32 = 0 // Return code @@ -180684,61 +182738,550 @@ type TableEntry = struct { } /* sqlite3.c:228431:16 */ var aEntry = [163]TableEntry{ - {FiCode: uint16(65), Fflags: uint8(14), FnRange: uint8(26)}, {FiCode: uint16(181), Fflags: uint8(64), FnRange: uint8(1)}, {FiCode: uint16(192), Fflags: uint8(14), FnRange: uint8(23)}, - {FiCode: uint16(216), Fflags: uint8(14), FnRange: uint8(7)}, {FiCode: uint16(256), Fflags: uint8(1), FnRange: uint8(48)}, {FiCode: uint16(306), Fflags: uint8(1), FnRange: uint8(6)}, - {FiCode: uint16(313), Fflags: uint8(1), FnRange: uint8(16)}, {FiCode: uint16(330), Fflags: uint8(1), FnRange: uint8(46)}, {FiCode: uint16(376), Fflags: uint8(116), FnRange: uint8(1)}, - {FiCode: uint16(377), Fflags: uint8(1), FnRange: uint8(6)}, {FiCode: uint16(383), Fflags: uint8(104), FnRange: uint8(1)}, {FiCode: uint16(385), Fflags: uint8(50), FnRange: uint8(1)}, - {FiCode: uint16(386), Fflags: uint8(1), FnRange: uint8(4)}, {FiCode: uint16(390), Fflags: uint8(44), FnRange: uint8(1)}, {FiCode: uint16(391), Fflags: uint8(0), FnRange: uint8(1)}, - {FiCode: uint16(393), Fflags: uint8(42), FnRange: uint8(2)}, {FiCode: uint16(395), Fflags: uint8(0), FnRange: uint8(1)}, {FiCode: uint16(398), Fflags: uint8(32), FnRange: uint8(1)}, - {FiCode: uint16(399), Fflags: uint8(38), FnRange: uint8(1)}, {FiCode: uint16(400), Fflags: uint8(40), FnRange: uint8(1)}, {FiCode: uint16(401), Fflags: uint8(0), FnRange: uint8(1)}, - {FiCode: uint16(403), Fflags: uint8(42), FnRange: uint8(1)}, {FiCode: uint16(404), Fflags: uint8(46), FnRange: uint8(1)}, {FiCode: uint16(406), Fflags: uint8(52), FnRange: uint8(1)}, - {FiCode: uint16(407), Fflags: uint8(48), FnRange: uint8(1)}, {FiCode: uint16(408), Fflags: uint8(0), FnRange: uint8(1)}, {FiCode: uint16(412), Fflags: uint8(52), FnRange: uint8(1)}, - {FiCode: uint16(413), Fflags: uint8(54), FnRange: uint8(1)}, {FiCode: uint16(415), Fflags: uint8(56), FnRange: uint8(1)}, {FiCode: uint16(416), Fflags: uint8(1), FnRange: uint8(6)}, - {FiCode: uint16(422), Fflags: uint8(60), FnRange: uint8(1)}, {FiCode: uint16(423), Fflags: uint8(0), FnRange: uint8(1)}, {FiCode: uint16(425), Fflags: uint8(60), FnRange: uint8(1)}, - {FiCode: uint16(428), Fflags: uint8(0), FnRange: uint8(1)}, {FiCode: uint16(430), Fflags: uint8(60), FnRange: uint8(1)}, {FiCode: uint16(431), Fflags: uint8(0), FnRange: uint8(1)}, - {FiCode: uint16(433), Fflags: uint8(58), FnRange: uint8(2)}, {FiCode: uint16(435), Fflags: uint8(1), FnRange: uint8(4)}, {FiCode: uint16(439), Fflags: uint8(62), FnRange: uint8(1)}, - {FiCode: uint16(440), Fflags: uint8(0), FnRange: uint8(1)}, {FiCode: uint16(444), Fflags: uint8(0), FnRange: uint8(1)}, {FiCode: uint16(452), Fflags: uint8(2), FnRange: uint8(1)}, - {FiCode: uint16(453), Fflags: uint8(0), FnRange: uint8(1)}, {FiCode: uint16(455), Fflags: uint8(2), FnRange: uint8(1)}, {FiCode: uint16(456), Fflags: uint8(0), FnRange: uint8(1)}, - {FiCode: uint16(458), Fflags: uint8(2), FnRange: uint8(1)}, {FiCode: uint16(459), Fflags: uint8(1), FnRange: uint8(18)}, {FiCode: uint16(478), Fflags: uint8(1), FnRange: uint8(18)}, - {FiCode: uint16(497), Fflags: uint8(2), FnRange: uint8(1)}, {FiCode: uint16(498), Fflags: uint8(1), FnRange: uint8(4)}, {FiCode: uint16(502), Fflags: uint8(122), FnRange: uint8(1)}, - {FiCode: uint16(503), Fflags: uint8(134), FnRange: uint8(1)}, {FiCode: uint16(504), Fflags: uint8(1), FnRange: uint8(40)}, {FiCode: uint16(544), Fflags: uint8(110), FnRange: uint8(1)}, - {FiCode: uint16(546), Fflags: uint8(1), FnRange: uint8(18)}, {FiCode: uint16(570), Fflags: uint8(70), FnRange: uint8(1)}, {FiCode: uint16(571), Fflags: uint8(0), FnRange: uint8(1)}, - {FiCode: uint16(573), Fflags: uint8(108), FnRange: uint8(1)}, {FiCode: uint16(574), Fflags: uint8(68), FnRange: uint8(1)}, {FiCode: uint16(577), Fflags: uint8(0), FnRange: uint8(1)}, - {FiCode: uint16(579), Fflags: uint8(106), FnRange: uint8(1)}, {FiCode: uint16(580), Fflags: uint8(28), FnRange: uint8(1)}, {FiCode: uint16(581), Fflags: uint8(30), FnRange: uint8(1)}, - {FiCode: uint16(582), Fflags: uint8(1), FnRange: uint8(10)}, {FiCode: uint16(837), Fflags: uint8(36), FnRange: uint8(1)}, {FiCode: uint16(880), Fflags: uint8(1), FnRange: uint8(4)}, - {FiCode: uint16(886), Fflags: uint8(0), FnRange: uint8(1)}, {FiCode: uint16(902), Fflags: uint8(18), FnRange: uint8(1)}, {FiCode: uint16(904), Fflags: uint8(16), FnRange: uint8(3)}, - {FiCode: uint16(908), Fflags: uint8(26), FnRange: uint8(1)}, {FiCode: uint16(910), Fflags: uint8(24), FnRange: uint8(2)}, {FiCode: uint16(913), Fflags: uint8(14), FnRange: uint8(17)}, - {FiCode: uint16(931), Fflags: uint8(14), FnRange: uint8(9)}, {FiCode: uint16(962), Fflags: uint8(0), FnRange: uint8(1)}, {FiCode: uint16(975), Fflags: uint8(4), FnRange: uint8(1)}, - {FiCode: uint16(976), Fflags: uint8(140), FnRange: uint8(1)}, {FiCode: uint16(977), Fflags: uint8(142), FnRange: uint8(1)}, {FiCode: uint16(981), Fflags: uint8(146), FnRange: uint8(1)}, - {FiCode: uint16(982), Fflags: uint8(144), FnRange: uint8(1)}, {FiCode: uint16(984), Fflags: uint8(1), FnRange: uint8(24)}, {FiCode: uint16(1008), Fflags: uint8(136), FnRange: uint8(1)}, - {FiCode: uint16(1009), Fflags: uint8(138), FnRange: uint8(1)}, {FiCode: uint16(1012), Fflags: uint8(130), FnRange: uint8(1)}, {FiCode: uint16(1013), Fflags: uint8(128), FnRange: uint8(1)}, - {FiCode: uint16(1015), Fflags: uint8(0), FnRange: uint8(1)}, {FiCode: uint16(1017), Fflags: uint8(152), FnRange: uint8(1)}, {FiCode: uint16(1018), Fflags: uint8(0), FnRange: uint8(1)}, - {FiCode: uint16(1021), Fflags: uint8(110), FnRange: uint8(3)}, {FiCode: uint16(1024), Fflags: uint8(34), FnRange: uint8(16)}, {FiCode: uint16(1040), Fflags: uint8(14), FnRange: uint8(32)}, - {FiCode: uint16(1120), Fflags: uint8(1), FnRange: uint8(34)}, {FiCode: uint16(1162), Fflags: uint8(1), FnRange: uint8(54)}, {FiCode: uint16(1216), Fflags: uint8(6), FnRange: uint8(1)}, - {FiCode: uint16(1217), Fflags: uint8(1), FnRange: uint8(14)}, {FiCode: uint16(1232), Fflags: uint8(1), FnRange: uint8(88)}, {FiCode: uint16(1329), Fflags: uint8(22), FnRange: uint8(38)}, - {FiCode: uint16(4256), Fflags: uint8(66), FnRange: uint8(38)}, {FiCode: uint16(4295), Fflags: uint8(66), FnRange: uint8(1)}, {FiCode: uint16(4301), Fflags: uint8(66), FnRange: uint8(1)}, - {FiCode: uint16(7680), Fflags: uint8(1), FnRange: uint8(150)}, {FiCode: uint16(7835), Fflags: uint8(132), FnRange: uint8(1)}, {FiCode: uint16(7838), Fflags: uint8(96), FnRange: uint8(1)}, - {FiCode: uint16(7840), Fflags: uint8(1), FnRange: uint8(96)}, {FiCode: uint16(7944), Fflags: uint8(150), FnRange: uint8(8)}, {FiCode: uint16(7960), Fflags: uint8(150), FnRange: uint8(6)}, - {FiCode: uint16(7976), Fflags: uint8(150), FnRange: uint8(8)}, {FiCode: uint16(7992), Fflags: uint8(150), FnRange: uint8(8)}, {FiCode: uint16(8008), Fflags: uint8(150), FnRange: uint8(6)}, - {FiCode: uint16(8025), Fflags: uint8(151), FnRange: uint8(8)}, {FiCode: uint16(8040), Fflags: uint8(150), FnRange: uint8(8)}, {FiCode: uint16(8072), Fflags: uint8(150), FnRange: uint8(8)}, - {FiCode: uint16(8088), Fflags: uint8(150), FnRange: uint8(8)}, {FiCode: uint16(8104), Fflags: uint8(150), FnRange: uint8(8)}, {FiCode: uint16(8120), Fflags: uint8(150), FnRange: uint8(2)}, - {FiCode: uint16(8122), Fflags: uint8(126), FnRange: uint8(2)}, {FiCode: uint16(8124), Fflags: uint8(148), FnRange: uint8(1)}, {FiCode: uint16(8126), Fflags: uint8(100), FnRange: uint8(1)}, - {FiCode: uint16(8136), Fflags: uint8(124), FnRange: uint8(4)}, {FiCode: uint16(8140), Fflags: uint8(148), FnRange: uint8(1)}, {FiCode: uint16(8152), Fflags: uint8(150), FnRange: uint8(2)}, - {FiCode: uint16(8154), Fflags: uint8(120), FnRange: uint8(2)}, {FiCode: uint16(8168), Fflags: uint8(150), FnRange: uint8(2)}, {FiCode: uint16(8170), Fflags: uint8(118), FnRange: uint8(2)}, - {FiCode: uint16(8172), Fflags: uint8(152), FnRange: uint8(1)}, {FiCode: uint16(8184), Fflags: uint8(112), FnRange: uint8(2)}, {FiCode: uint16(8186), Fflags: uint8(114), FnRange: uint8(2)}, - {FiCode: uint16(8188), Fflags: uint8(148), FnRange: uint8(1)}, {FiCode: uint16(8486), Fflags: uint8(98), FnRange: uint8(1)}, {FiCode: uint16(8490), Fflags: uint8(92), FnRange: uint8(1)}, - {FiCode: uint16(8491), Fflags: uint8(94), FnRange: uint8(1)}, {FiCode: uint16(8498), Fflags: uint8(12), FnRange: uint8(1)}, {FiCode: uint16(8544), Fflags: uint8(8), FnRange: uint8(16)}, - {FiCode: uint16(8579), Fflags: uint8(0), FnRange: uint8(1)}, {FiCode: uint16(9398), Fflags: uint8(10), FnRange: uint8(26)}, {FiCode: uint16(11264), Fflags: uint8(22), FnRange: uint8(47)}, - {FiCode: uint16(11360), Fflags: uint8(0), FnRange: uint8(1)}, {FiCode: uint16(11362), Fflags: uint8(88), FnRange: uint8(1)}, {FiCode: uint16(11363), Fflags: uint8(102), FnRange: uint8(1)}, - {FiCode: uint16(11364), Fflags: uint8(90), FnRange: uint8(1)}, {FiCode: uint16(11367), Fflags: uint8(1), FnRange: uint8(6)}, {FiCode: uint16(11373), Fflags: uint8(84), FnRange: uint8(1)}, - {FiCode: uint16(11374), Fflags: uint8(86), FnRange: uint8(1)}, {FiCode: uint16(11375), Fflags: uint8(80), FnRange: uint8(1)}, {FiCode: uint16(11376), Fflags: uint8(82), FnRange: uint8(1)}, - {FiCode: uint16(11378), Fflags: uint8(0), FnRange: uint8(1)}, {FiCode: uint16(11381), Fflags: uint8(0), FnRange: uint8(1)}, {FiCode: uint16(11390), Fflags: uint8(78), FnRange: uint8(2)}, - {FiCode: uint16(11392), Fflags: uint8(1), FnRange: uint8(100)}, {FiCode: uint16(11499), Fflags: uint8(1), FnRange: uint8(4)}, {FiCode: uint16(11506), Fflags: uint8(0), FnRange: uint8(1)}, - {FiCode: uint16(42560), Fflags: uint8(1), FnRange: uint8(46)}, {FiCode: uint16(42624), Fflags: uint8(1), FnRange: uint8(24)}, {FiCode: uint16(42786), Fflags: uint8(1), FnRange: uint8(14)}, - {FiCode: uint16(42802), Fflags: uint8(1), FnRange: uint8(62)}, {FiCode: uint16(42873), Fflags: uint8(1), FnRange: uint8(4)}, {FiCode: uint16(42877), Fflags: uint8(76), FnRange: uint8(1)}, - {FiCode: uint16(42878), Fflags: uint8(1), FnRange: uint8(10)}, {FiCode: uint16(42891), Fflags: uint8(0), FnRange: uint8(1)}, {FiCode: uint16(42893), Fflags: uint8(74), FnRange: uint8(1)}, - {FiCode: uint16(42896), Fflags: uint8(1), FnRange: uint8(4)}, {FiCode: uint16(42912), Fflags: uint8(1), FnRange: uint8(10)}, {FiCode: uint16(42922), Fflags: uint8(72), FnRange: uint8(1)}, - {FiCode: uint16(65313), Fflags: uint8(14), FnRange: uint8(26)}, + { + FiCode: uint16(65), + Fflags: uint8(14), + FnRange: uint8(26)}, { + FiCode: uint16(181), + Fflags: uint8(64), + FnRange: uint8(1)}, { + FiCode: uint16(192), + Fflags: uint8(14), + FnRange: uint8(23)}, + { + FiCode: uint16(216), + Fflags: uint8(14), + FnRange: uint8(7)}, { + FiCode: uint16(256), + Fflags: uint8(1), + FnRange: uint8(48)}, { + FiCode: uint16(306), + Fflags: uint8(1), + FnRange: uint8(6)}, + { + FiCode: uint16(313), + Fflags: uint8(1), + FnRange: uint8(16)}, { + FiCode: uint16(330), + Fflags: uint8(1), + FnRange: uint8(46)}, { + FiCode: uint16(376), + Fflags: uint8(116), + FnRange: uint8(1)}, + { + FiCode: uint16(377), + Fflags: uint8(1), + FnRange: uint8(6)}, { + FiCode: uint16(383), + Fflags: uint8(104), + FnRange: uint8(1)}, { + FiCode: uint16(385), + Fflags: uint8(50), + FnRange: uint8(1)}, + { + FiCode: uint16(386), + Fflags: uint8(1), + FnRange: uint8(4)}, { + FiCode: uint16(390), + Fflags: uint8(44), + FnRange: uint8(1)}, { + FiCode: uint16(391), + Fflags: uint8(0), + FnRange: uint8(1)}, + { + FiCode: uint16(393), + Fflags: uint8(42), + FnRange: uint8(2)}, { + FiCode: uint16(395), + Fflags: uint8(0), + FnRange: uint8(1)}, { + FiCode: uint16(398), + Fflags: uint8(32), + FnRange: uint8(1)}, + { + FiCode: uint16(399), + Fflags: uint8(38), + FnRange: uint8(1)}, { + FiCode: uint16(400), + Fflags: uint8(40), + FnRange: uint8(1)}, { + FiCode: uint16(401), + Fflags: uint8(0), + FnRange: uint8(1)}, + { + FiCode: uint16(403), + Fflags: uint8(42), + FnRange: uint8(1)}, { + FiCode: uint16(404), + Fflags: uint8(46), + FnRange: uint8(1)}, { + FiCode: uint16(406), + Fflags: uint8(52), + FnRange: uint8(1)}, + { + FiCode: uint16(407), + Fflags: uint8(48), + FnRange: uint8(1)}, { + FiCode: uint16(408), + Fflags: uint8(0), + FnRange: uint8(1)}, { + FiCode: uint16(412), + Fflags: uint8(52), + FnRange: uint8(1)}, + { + FiCode: uint16(413), + Fflags: uint8(54), + FnRange: uint8(1)}, { + FiCode: uint16(415), + Fflags: uint8(56), + FnRange: uint8(1)}, { + FiCode: uint16(416), + Fflags: uint8(1), + FnRange: uint8(6)}, + { + FiCode: uint16(422), + Fflags: uint8(60), + FnRange: uint8(1)}, { + FiCode: uint16(423), + Fflags: uint8(0), + FnRange: uint8(1)}, { + FiCode: uint16(425), + Fflags: uint8(60), + FnRange: uint8(1)}, + { + FiCode: uint16(428), + Fflags: uint8(0), + FnRange: uint8(1)}, { + FiCode: uint16(430), + Fflags: uint8(60), + FnRange: uint8(1)}, { + FiCode: uint16(431), + Fflags: uint8(0), + FnRange: uint8(1)}, + { + FiCode: uint16(433), + Fflags: uint8(58), + FnRange: uint8(2)}, { + FiCode: uint16(435), + Fflags: uint8(1), + FnRange: uint8(4)}, { + FiCode: uint16(439), + Fflags: uint8(62), + FnRange: uint8(1)}, + { + FiCode: uint16(440), + Fflags: uint8(0), + FnRange: uint8(1)}, { + FiCode: uint16(444), + Fflags: uint8(0), + FnRange: uint8(1)}, { + FiCode: uint16(452), + Fflags: uint8(2), + FnRange: uint8(1)}, + { + FiCode: uint16(453), + Fflags: uint8(0), + FnRange: uint8(1)}, { + FiCode: uint16(455), + Fflags: uint8(2), + FnRange: uint8(1)}, { + FiCode: uint16(456), + Fflags: uint8(0), + FnRange: uint8(1)}, + { + FiCode: uint16(458), + Fflags: uint8(2), + FnRange: uint8(1)}, { + FiCode: uint16(459), + Fflags: uint8(1), + FnRange: uint8(18)}, { + FiCode: uint16(478), + Fflags: uint8(1), + FnRange: uint8(18)}, + { + FiCode: uint16(497), + Fflags: uint8(2), + FnRange: uint8(1)}, { + FiCode: uint16(498), + Fflags: uint8(1), + FnRange: uint8(4)}, { + FiCode: uint16(502), + Fflags: uint8(122), + FnRange: uint8(1)}, + { + FiCode: uint16(503), + Fflags: uint8(134), + FnRange: uint8(1)}, { + FiCode: uint16(504), + Fflags: uint8(1), + FnRange: uint8(40)}, { + FiCode: uint16(544), + Fflags: uint8(110), + FnRange: uint8(1)}, + { + FiCode: uint16(546), + Fflags: uint8(1), + FnRange: uint8(18)}, { + FiCode: uint16(570), + Fflags: uint8(70), + FnRange: uint8(1)}, { + FiCode: uint16(571), + Fflags: uint8(0), + FnRange: uint8(1)}, + { + FiCode: uint16(573), + Fflags: uint8(108), + FnRange: uint8(1)}, { + FiCode: uint16(574), + Fflags: uint8(68), + FnRange: uint8(1)}, { + FiCode: uint16(577), + Fflags: uint8(0), + FnRange: uint8(1)}, + { + FiCode: uint16(579), + Fflags: uint8(106), + FnRange: uint8(1)}, { + FiCode: uint16(580), + Fflags: uint8(28), + FnRange: uint8(1)}, { + FiCode: uint16(581), + Fflags: uint8(30), + FnRange: uint8(1)}, + { + FiCode: uint16(582), + Fflags: uint8(1), + FnRange: uint8(10)}, { + FiCode: uint16(837), + Fflags: uint8(36), + FnRange: uint8(1)}, { + FiCode: uint16(880), + Fflags: uint8(1), + FnRange: uint8(4)}, + { + FiCode: uint16(886), + Fflags: uint8(0), + FnRange: uint8(1)}, { + FiCode: uint16(902), + Fflags: uint8(18), + FnRange: uint8(1)}, { + FiCode: uint16(904), + Fflags: uint8(16), + FnRange: uint8(3)}, + { + FiCode: uint16(908), + Fflags: uint8(26), + FnRange: uint8(1)}, { + FiCode: uint16(910), + Fflags: uint8(24), + FnRange: uint8(2)}, { + FiCode: uint16(913), + Fflags: uint8(14), + FnRange: uint8(17)}, + { + FiCode: uint16(931), + Fflags: uint8(14), + FnRange: uint8(9)}, { + FiCode: uint16(962), + Fflags: uint8(0), + FnRange: uint8(1)}, { + FiCode: uint16(975), + Fflags: uint8(4), + FnRange: uint8(1)}, + { + FiCode: uint16(976), + Fflags: uint8(140), + FnRange: uint8(1)}, { + FiCode: uint16(977), + Fflags: uint8(142), + FnRange: uint8(1)}, { + FiCode: uint16(981), + Fflags: uint8(146), + FnRange: uint8(1)}, + { + FiCode: uint16(982), + Fflags: uint8(144), + FnRange: uint8(1)}, { + FiCode: uint16(984), + Fflags: uint8(1), + FnRange: uint8(24)}, { + FiCode: uint16(1008), + Fflags: uint8(136), + FnRange: uint8(1)}, + { + FiCode: uint16(1009), + Fflags: uint8(138), + FnRange: uint8(1)}, { + FiCode: uint16(1012), + Fflags: uint8(130), + FnRange: uint8(1)}, { + FiCode: uint16(1013), + Fflags: uint8(128), + FnRange: uint8(1)}, + { + FiCode: uint16(1015), + Fflags: uint8(0), + FnRange: uint8(1)}, { + FiCode: uint16(1017), + Fflags: uint8(152), + FnRange: uint8(1)}, { + FiCode: uint16(1018), + Fflags: uint8(0), + FnRange: uint8(1)}, + { + FiCode: uint16(1021), + Fflags: uint8(110), + FnRange: uint8(3)}, { + FiCode: uint16(1024), + Fflags: uint8(34), + FnRange: uint8(16)}, { + FiCode: uint16(1040), + Fflags: uint8(14), + FnRange: uint8(32)}, + { + FiCode: uint16(1120), + Fflags: uint8(1), + FnRange: uint8(34)}, { + FiCode: uint16(1162), + Fflags: uint8(1), + FnRange: uint8(54)}, { + FiCode: uint16(1216), + Fflags: uint8(6), + FnRange: uint8(1)}, + { + FiCode: uint16(1217), + Fflags: uint8(1), + FnRange: uint8(14)}, { + FiCode: uint16(1232), + Fflags: uint8(1), + FnRange: uint8(88)}, { + FiCode: uint16(1329), + Fflags: uint8(22), + FnRange: uint8(38)}, + { + FiCode: uint16(4256), + Fflags: uint8(66), + FnRange: uint8(38)}, { + FiCode: uint16(4295), + Fflags: uint8(66), + FnRange: uint8(1)}, { + FiCode: uint16(4301), + Fflags: uint8(66), + FnRange: uint8(1)}, + { + FiCode: uint16(7680), + Fflags: uint8(1), + FnRange: uint8(150)}, { + FiCode: uint16(7835), + Fflags: uint8(132), + FnRange: uint8(1)}, { + FiCode: uint16(7838), + Fflags: uint8(96), + FnRange: uint8(1)}, + { + FiCode: uint16(7840), + Fflags: uint8(1), + FnRange: uint8(96)}, { + FiCode: uint16(7944), + Fflags: uint8(150), + FnRange: uint8(8)}, { + FiCode: uint16(7960), + Fflags: uint8(150), + FnRange: uint8(6)}, + { + FiCode: uint16(7976), + Fflags: uint8(150), + FnRange: uint8(8)}, { + FiCode: uint16(7992), + Fflags: uint8(150), + FnRange: uint8(8)}, { + FiCode: uint16(8008), + Fflags: uint8(150), + FnRange: uint8(6)}, + { + FiCode: uint16(8025), + Fflags: uint8(151), + FnRange: uint8(8)}, { + FiCode: uint16(8040), + Fflags: uint8(150), + FnRange: uint8(8)}, { + FiCode: uint16(8072), + Fflags: uint8(150), + FnRange: uint8(8)}, + { + FiCode: uint16(8088), + Fflags: uint8(150), + FnRange: uint8(8)}, { + FiCode: uint16(8104), + Fflags: uint8(150), + FnRange: uint8(8)}, { + FiCode: uint16(8120), + Fflags: uint8(150), + FnRange: uint8(2)}, + { + FiCode: uint16(8122), + Fflags: uint8(126), + FnRange: uint8(2)}, { + FiCode: uint16(8124), + Fflags: uint8(148), + FnRange: uint8(1)}, { + FiCode: uint16(8126), + Fflags: uint8(100), + FnRange: uint8(1)}, + { + FiCode: uint16(8136), + Fflags: uint8(124), + FnRange: uint8(4)}, { + FiCode: uint16(8140), + Fflags: uint8(148), + FnRange: uint8(1)}, { + FiCode: uint16(8152), + Fflags: uint8(150), + FnRange: uint8(2)}, + { + FiCode: uint16(8154), + Fflags: uint8(120), + FnRange: uint8(2)}, { + FiCode: uint16(8168), + Fflags: uint8(150), + FnRange: uint8(2)}, { + FiCode: uint16(8170), + Fflags: uint8(118), + FnRange: uint8(2)}, + { + FiCode: uint16(8172), + Fflags: uint8(152), + FnRange: uint8(1)}, { + FiCode: uint16(8184), + Fflags: uint8(112), + FnRange: uint8(2)}, { + FiCode: uint16(8186), + Fflags: uint8(114), + FnRange: uint8(2)}, + { + FiCode: uint16(8188), + Fflags: uint8(148), + FnRange: uint8(1)}, { + FiCode: uint16(8486), + Fflags: uint8(98), + FnRange: uint8(1)}, { + FiCode: uint16(8490), + Fflags: uint8(92), + FnRange: uint8(1)}, + { + FiCode: uint16(8491), + Fflags: uint8(94), + FnRange: uint8(1)}, { + FiCode: uint16(8498), + Fflags: uint8(12), + FnRange: uint8(1)}, { + FiCode: uint16(8544), + Fflags: uint8(8), + FnRange: uint8(16)}, + { + FiCode: uint16(8579), + Fflags: uint8(0), + FnRange: uint8(1)}, { + FiCode: uint16(9398), + Fflags: uint8(10), + FnRange: uint8(26)}, { + FiCode: uint16(11264), + Fflags: uint8(22), + FnRange: uint8(47)}, + { + FiCode: uint16(11360), + Fflags: uint8(0), + FnRange: uint8(1)}, { + FiCode: uint16(11362), + Fflags: uint8(88), + FnRange: uint8(1)}, { + FiCode: uint16(11363), + Fflags: uint8(102), + FnRange: uint8(1)}, + { + FiCode: uint16(11364), + Fflags: uint8(90), + FnRange: uint8(1)}, { + FiCode: uint16(11367), + Fflags: uint8(1), + FnRange: uint8(6)}, { + FiCode: uint16(11373), + Fflags: uint8(84), + FnRange: uint8(1)}, + { + FiCode: uint16(11374), + Fflags: uint8(86), + FnRange: uint8(1)}, { + FiCode: uint16(11375), + Fflags: uint8(80), + FnRange: uint8(1)}, { + FiCode: uint16(11376), + Fflags: uint8(82), + FnRange: uint8(1)}, + { + FiCode: uint16(11378), + Fflags: uint8(0), + FnRange: uint8(1)}, { + FiCode: uint16(11381), + Fflags: uint8(0), + FnRange: uint8(1)}, { + FiCode: uint16(11390), + Fflags: uint8(78), + FnRange: uint8(2)}, + { + FiCode: uint16(11392), + Fflags: uint8(1), + FnRange: uint8(100)}, { + FiCode: uint16(11499), + Fflags: uint8(1), + FnRange: uint8(4)}, { + FiCode: uint16(11506), + Fflags: uint8(0), + FnRange: uint8(1)}, + { + FiCode: uint16(42560), + Fflags: uint8(1), + FnRange: uint8(46)}, { + FiCode: uint16(42624), + Fflags: uint8(1), + FnRange: uint8(24)}, { + FiCode: uint16(42786), + Fflags: uint8(1), + FnRange: uint8(14)}, + { + FiCode: uint16(42802), + Fflags: uint8(1), + FnRange: uint8(62)}, { + FiCode: uint16(42873), + Fflags: uint8(1), + FnRange: uint8(4)}, { + FiCode: uint16(42877), + Fflags: uint8(76), + FnRange: uint8(1)}, + { + FiCode: uint16(42878), + Fflags: uint8(1), + FnRange: uint8(10)}, { + FiCode: uint16(42891), + Fflags: uint8(0), + FnRange: uint8(1)}, { + FiCode: uint16(42893), + Fflags: uint8(74), + FnRange: uint8(1)}, + { + FiCode: uint16(42896), + Fflags: uint8(1), + FnRange: uint8(4)}, { + FiCode: uint16(42912), + Fflags: uint8(1), + FnRange: uint8(10)}, { + FiCode: uint16(42922), + Fflags: uint8(72), + FnRange: uint8(1)}, + { + FiCode: uint16(65313), + Fflags: uint8(14), + FnRange: uint8(26)}, } /* sqlite3.c:228435:5 */ var aiOff = [77]uint16{ uint16(1), uint16(2), uint16(8), uint16(15), uint16(16), uint16(26), uint16(28), uint16(32), @@ -182477,31 +185020,55 @@ func sqlite3Fts5VocabInit(tls *libc.TLS, pGlobal uintptr, db uintptr) int32 { /* return Xsqlite3_create_module_v2(tls, db, ts+40810 /* "fts5vocab" */, uintptr(unsafe.Pointer(&fts5Vocab)), p, uintptr(0)) } -var fts5Vocab = Sqlite3_module{FiVersion: -/* iVersion */ 2, FxCreate: -/* xCreate */ 0, FxConnect: -/* xConnect */ 0, FxBestIndex: -/* xBestIndex */ 0, FxDisconnect: -/* xDisconnect */ 0, FxDestroy: -/* xDestroy */ 0, FxOpen: -/* xOpen */ 0, FxClose: -/* xClose */ 0, FxFilter: -/* xFilter */ 0, FxNext: -/* xNext */ 0, FxEof: -/* xEof */ 0, FxColumn: -/* xColumn */ 0, FxRowid: -/* xRowid */ 0, FxUpdate: -/* xUpdate */ uintptr(0), FxBegin: -/* xBegin */ uintptr(0), FxSync: -/* xSync */ uintptr(0), FxCommit: -/* xCommit */ uintptr(0), FxRollback: -/* xRollback */ uintptr(0), FxFindFunction: -/* xFindFunction */ uintptr(0), FxRename: -/* xRename */ uintptr(0), FxSavepoint: -/* xSavepoint */ uintptr(0), FxRelease: -/* xRelease */ uintptr(0), FxRollbackTo: -/* xRollbackTo */ uintptr(0), FxShadowName: -/* xShadowName */ uintptr(0), +var fts5Vocab = Sqlite3_module{ + FiVersion: + /* iVersion */ 2, + FxCreate: + /* xCreate */ 0, + FxConnect: + /* xConnect */ 0, + FxBestIndex: + /* xBestIndex */ 0, + FxDisconnect: + /* xDisconnect */ 0, + FxDestroy: + /* xDestroy */ 0, + FxOpen: + /* xOpen */ 0, + FxClose: + /* xClose */ 0, + FxFilter: + /* xFilter */ 0, + FxNext: + /* xNext */ 0, + FxEof: + /* xEof */ 0, + FxColumn: + /* xColumn */ 0, + FxRowid: + /* xRowid */ 0, + FxUpdate: + /* xUpdate */ uintptr(0), + FxBegin: + /* xBegin */ uintptr(0), + FxSync: + /* xSync */ uintptr(0), + FxCommit: + /* xCommit */ uintptr(0), + FxRollback: + /* xRollback */ uintptr(0), + FxFindFunction: + /* xFindFunction */ uintptr(0), + FxRename: + /* xRename */ uintptr(0), + FxSavepoint: + /* xSavepoint */ uintptr(0), + FxRelease: + /* xRelease */ uintptr(0), + FxRollbackTo: + /* xRollbackTo */ uintptr(0), + FxShadowName: + /* xShadowName */ uintptr(0), } /* sqlite3.c:230172:31 */ //************* End of fts5.c *********************************************** @@ -182737,30 +185304,54 @@ func stmtBestIndex(tls *libc.TLS, tab uintptr, pIdxInfo uintptr) int32 { /* sqli // This following structure defines all the methods for the // stmt virtual table. -var stmtModule = Sqlite3_module{FiVersion: 0, FxCreate: // iVersion -uintptr(0), FxConnect:// xCreate -0, FxBestIndex:// xConnect -0, FxDisconnect:// xBestIndex -0, FxDestroy:// xDisconnect -uintptr(0), FxOpen:// xDestroy -0, FxClose:// xOpen - open a cursor -0, FxFilter:// xClose - close a cursor -0, FxNext:// xFilter - configure scan constraints -0, FxEof:// xNext - advance a cursor -0, FxColumn:// xEof - check for end of scan -0, FxRowid:// xColumn - read data -0, FxUpdate:// xRowid - read data -uintptr(0), FxBegin:// xUpdate -uintptr(0), FxSync:// xBegin -uintptr(0), FxCommit:// xSync -uintptr(0), FxRollback:// xCommit -uintptr(0), FxFindFunction:// xRollback -uintptr(0), FxRename:// xFindMethod -uintptr(0), FxSavepoint:// xRename -uintptr(0), FxRelease:// xSavepoint -uintptr(0), FxRollbackTo:// xRelease -uintptr(0), FxShadowName:// xRollbackTo -uintptr(0), // xShadowName +var stmtModule = Sqlite3_module{ + FiVersion: 0, + FxCreate:// iVersion + uintptr(0), + FxConnect:// xCreate + 0, + FxBestIndex:// xConnect + 0, + FxDisconnect:// xBestIndex + 0, + FxDestroy:// xDisconnect + uintptr(0), + FxOpen:// xDestroy + 0, + FxClose:// xOpen - open a cursor + 0, + FxFilter:// xClose - close a cursor + 0, + FxNext:// xFilter - configure scan constraints + 0, + FxEof:// xNext - advance a cursor + 0, + FxColumn:// xEof - check for end of scan + 0, + FxRowid:// xColumn - read data + 0, + FxUpdate:// xRowid - read data + uintptr(0), + FxBegin:// xUpdate + uintptr(0), + FxSync:// xBegin + uintptr(0), + FxCommit:// xSync + uintptr(0), + FxRollback:// xCommit + uintptr(0), + FxFindFunction:// xRollback + uintptr(0), + FxRename:// xFindMethod + uintptr(0), + FxSavepoint:// xRename + uintptr(0), + FxRelease:// xSavepoint + uintptr(0), + FxRollbackTo:// xRelease + uintptr(0), + FxShadowName:// xRollbackTo + uintptr(0), // xShadowName } /* sqlite3.c:230454:23 */ func Xsqlite3StmtVtabInit(tls *libc.TLS, db uintptr) int32 { /* sqlite3.c:230483:20: */ diff --git a/speedtest1/main_linux_amd64.go b/speedtest1/main_linux_amd64.go index f0a1604..4a2d0e8 100644 --- a/speedtest1/main_linux_amd64.go +++ b/speedtest1/main_linux_amd64.go @@ -4370,15 +4370,33 @@ var aMult = [9]struct { iMult int32 _ [4]byte }{ - {zSuffix: ts + 2190 /* "KiB" */, iMult: 1024}, - {zSuffix: ts + 2194 /* "MiB" */, iMult: (1024 * 1024)}, - {zSuffix: ts + 2198 /* "GiB" */, iMult: ((1024 * 1024) * 1024)}, - {zSuffix: ts + 2202 /* "KB" */, iMult: 1000}, - {zSuffix: ts + 2205 /* "MB" */, iMult: 1000000}, - {zSuffix: ts + 2208 /* "GB" */, iMult: 1000000000}, - {zSuffix: ts + 2211 /* "K" */, iMult: 1000}, - {zSuffix: ts + 2213 /* "M" */, iMult: 1000000}, - {zSuffix: ts + 2215 /* "G" */, iMult: 1000000000}, + { + zSuffix: ts + 2190, /* "KiB" */ + iMult: 1024}, + { + zSuffix: ts + 2194, /* "MiB" */ + iMult: (1024 * 1024)}, + { + zSuffix: ts + 2198, /* "GiB" */ + iMult: ((1024 * 1024) * 1024)}, + { + zSuffix: ts + 2202, /* "KB" */ + iMult: 1000}, + { + zSuffix: ts + 2205, /* "MB" */ + iMult: 1000000}, + { + zSuffix: ts + 2208, /* "GB" */ + iMult: 1000000000}, + { + zSuffix: ts + 2211, /* "K" */ + iMult: 1000}, + { + zSuffix: ts + 2213, /* "M" */ + iMult: 1000000}, + { + zSuffix: ts + 2215, /* "G" */ + iMult: 1000000000}, } /* speedtest1.c:212:53 */ // Return the current wall-clock time, in milliseconds @@ -5933,13 +5951,27 @@ var aTrans = [7]struct { zPattern uintptr zDesc uintptr }{ - {zPattern: ts + 22739 /* "rchar: " */, zDesc: ts + 22747 /* "Bytes received b..." */}, - {zPattern: ts + 22773 /* "wchar: " */, zDesc: ts + 22781 /* "Bytes sent to wr..." */}, - {zPattern: ts + 22804 /* "syscr: " */, zDesc: ts + 22812 /* "Read() system ca..." */}, - {zPattern: ts + 22833 /* "syscw: " */, zDesc: ts + 22841 /* "Write() system c..." */}, - {zPattern: ts + 22863 /* "read_bytes: " */, zDesc: ts + 22876 /* "Bytes rcvd from ..." */}, - {zPattern: ts + 22901 /* "write_bytes: " */, zDesc: ts + 22915 /* "Bytes sent to st..." */}, - {zPattern: ts + 22938 /* "cancelled_write_..." */, zDesc: ts + 22962 /* "Cancelled write ..." */}, + { + zPattern: ts + 22739, /* "rchar: " */ + zDesc: ts + 22747 /* "Bytes received b..." */}, + { + zPattern: ts + 22773, /* "wchar: " */ + zDesc: ts + 22781 /* "Bytes sent to wr..." */}, + { + zPattern: ts + 22804, /* "syscr: " */ + zDesc: ts + 22812 /* "Read() system ca..." */}, + { + zPattern: ts + 22833, /* "syscw: " */ + zDesc: ts + 22841 /* "Write() system c..." */}, + { + zPattern: ts + 22863, /* "read_bytes: " */ + zDesc: ts + 22876 /* "Bytes rcvd from ..." */}, + { + zPattern: ts + 22901, /* "write_bytes: " */ + zDesc: ts + 22915 /* "Bytes sent to st..." */}, + { + zPattern: ts + 22938, /* "cancelled_write_..." */ + zDesc: ts + 22962 /* "Cancelled write ..." */}, } /* speedtest1.c:2112:7 */ func xCompileOptions(tls *libc.TLS, pCtx uintptr, nVal int32, azVal uintptr, azCol uintptr) int32 { /* speedtest1.c:2138:12: */ diff --git a/tcl_test.go b/tcl_test.go index c4fe4af..ced057d 100644 --- a/tcl_test.go +++ b/tcl_test.go @@ -4,8 +4,6 @@ package sqlite // import "modernc.org/sqlite" -//TODO linuux/amd64: 1 failure on windows branch: swarmvtab3-3.2.2 - import ( "flag" "fmt" diff --git a/testdata/testlog-linux-amd64 b/testdata/testlog-linux-amd64 deleted file mode 100644 index 72e3cb1..0000000 --- a/testdata/testlog-linux-amd64 +++ /dev/null @@ -1,1314 +0,0 @@ -go version go1.15.2 linux/amd64 -Linux 3900x 4.19.0-10-amd64 #1 SMP Debian 4.19.132-1 (2020-07-24) x86_64 GNU/Linux -test binary compiled for linux/amd64 -=== RUN TestScalar ---- PASS: TestScalar (0.00s) -=== RUN TestBlob ---- PASS: TestBlob (0.00s) -=== RUN TestIssue11 ---- PASS: TestIssue11 (0.07s) -=== RUN TestMemDB ---- PASS: TestMemDB (2.35s) -=== RUN TestConcurrentGoroutines - all_test.go:507: 8 goroutines concurrently inserted 40000 rows in 351.361066ms ---- PASS: TestConcurrentGoroutines (0.39s) -=== RUN TestConcurrentProcesses - all_test.go:588: config01.test: Summary: 0 errors out of 163 tests - all_test.go:588: config02.test: Summary: 0 errors out of 627 tests - all_test.go:588: crash01.test: Summary: 0 errors out of 94 tests - all_test.go:588: multiwrite01.test: Summary: 0 errors out of 81 tests ---- PASS: TestConcurrentProcesses (16.70s) -=== RUN TestIssue19 ---- PASS: TestIssue19 (0.01s) -=== RUN TestIssue20 ---- PASS: TestIssue20 (6.00s) -=== RUN TestNoRows ---- PASS: TestNoRows (0.00s) -=== RUN TestNamedParameters ---- PASS: TestNamedParameters (0.00s) -=== RUN TestTclTest -Time: 8_3_names.test 6 ms -Time: affinity2.test 9 ms -Time: affinity3.test 8 ms -Time: aggerror.test 7 ms -Time: aggnested.test 16 ms -Time: alias.test 6 ms -Time: alter.test 41 ms -Time: alter2.test 20 ms -Time: alter3.test 41 ms -Time: alter4.test 26 ms -Time: alterauth.test 7 ms -Time: alterauth2.test 7 ms -Time: altercol.test 77 ms -Time: alterlegacy.test 42 ms -Time: altermalloc.test 25673 ms -Time: altermalloc2.test 3090 ms -Time: altertab.test 37 ms -Time: altertab2.test 29 ms -Time: altertab3.test 30 ms -Time: amatch1.test 5 ms -Time: analyze.test 18 ms -Time: analyze3.test 50 ms -Time: analyze4.test 11 ms -Time: analyze5.test 105 ms -Time: analyze6.test 10 ms -Time: analyze7.test 8 ms -Time: analyze8.test 69 ms - (nByte=3631 nByte2=4631)Time: analyze9.test 468 ms -Time: analyzeC.test 10 ms -Time: analyzeD.test 60 ms -Time: analyzeE.test 16 ms -Time: analyzeF.test 37 ms -Time: analyzeG.test 7 ms -analyzer1 cannot run because /tmp/sqlite-test-786332100/sqlite3_analyzer is not available -Time: analyzer1.test 5 ms -Skipping async2 tests: not compiled with required features -Time: async2.test 5 ms -Skipping async3 tests: not compiled with required features -Time: async3.test 5 ms -Time: async4.test 5 ms -Time: async5.test 5 ms -Time: atof1.test 5 ms -No f2fs atomic-batch-write support. Skipping tests... -Time: atomic.test 5 ms -No f2fs atomic-batch-write support. Skipping tests... -Time: atomic2.test 6 ms -Time: attach.test 21 ms -Time: attach2.test 11 ms -Time: attach3.test 10 ms -Testing with SQLITE_MAX_ATTACHED=10 -Time: attach4.test 11 ms -Time: attachmalloc.test 2343 ms -Time: auth.test 38 ms -Time: auth2.test 7 ms -Time: auth3.test 7 ms -Time: autoanalyze1.test 5 ms -Time: autoinc.test 24 ms -Time: autoindex1.test 66 ms -Time: autoindex2.test 11 ms -Time: autoindex3.test 8 ms -Time: autoindex4.test 7 ms -Time: autoindex5.test 10 ms -Time: autovacuum.test 222 ms -Time: autovacuum_ioerr2.test 906 ms -Time: avtrans.test 3826 ms -WARNING: No historical binaries to test against. -WARNING: Omitting backwards-compatibility tests -Time: backcompat.test 7 ms -Time: backup.test 880 ms -Time: backup2.test 317 ms -Time: backup4.test 11 ms -Time: backup5.test 7 ms -Time: backup_ioerr.test 205622 ms -Time: backup_malloc.test 9596 ms -Time: badutf.test 7 ms -Time: badutf2.test 8 ms -Time: bestindex1.test 11 ms -Time: bestindex2.test 7 ms -Time: bestindex3.test 9 ms -Time: bestindex4.test 196 ms -Time: bestindex5.test 11 ms -Time: bestindex6.test 7 ms -Time: bestindex7.test 7 ms -Time: between.test 13 ms -Time: bigfile.test 9 ms -Time: bigfile2.test 7 ms -Skipping bigmmap.test - requires SQLITE_MAX_MMAP_SIZE >= 8G -Time: bigmmap.test 6 ms -Time: bigrow.test 107 ms -Time: bigsort.test 44441 ms -Time: bind.test 422 ms -Time: bindxfer.test 6 ms -Time: bitvec.test 1304 ms -Time: blob.test 8 ms -Time: boundary1.test 105 ms -Time: boundary2.test 241 ms -Time: boundary3.test 186 ms -Time: boundary4.test 16 ms -Time: btree01.test 356 ms -Time: btree02.test 8 ms -Time: btreefault.test 307 ms -Time: busy.test 6 ms -Time: busy2.test 6054 ms -Time: cache.test 20 ms -Time: cacheflush.test 24 ms -Time: cachespill.test 13 ms -Time: capi2.test 21 ms -Time: capi3.test 112 ms -Time: capi3b.test 8 ms -Time: capi3c.test 107 ms -Time: capi3d.test 191 ms -Time: capi3e.test 12 ms -Time: cast.test 12 ms -Time: cffault.test 584 ms -Time: check.test 20 ms -Time: checkfault.test 32 ms -Time: chunksize.test 7 ms -Time: close.test 13 ms -Time: closure01.test 819 ms -Time: coalesce.test 7 ms -Time: collate1.test 17 ms -Time: collate2.test 28 ms -Time: collate3.test 16 ms -Time: collate4.test 30 ms -Time: collate5.test 65 ms -Time: collate6.test 8 ms -Time: collate7.test 6 ms -Time: collate8.test 7 ms -Time: collate9.test 8 ms -Time: collateA.test 11 ms -Time: collateB.test 8 ms -Time: colmeta.test 13 ms -Time: colname.test 14 ms -Time: conflict.test 54 ms -Time: conflict2.test 61 ms -Time: conflict3.test 17 ms -Time: contrib01.test 8 ms -Time: corrupt.test 3431 ms -Time: corrupt2.test 33 ms -Time: corrupt3.test 7 ms -Time: corrupt4.test 6 ms -Time: corrupt5.test 6 ms -Time: corrupt6.test 10 ms -Time: corrupt7.test 7 ms -Time: corrupt8.test 38 ms -Time: corrupt9.test 12 ms -Time: corruptA.test 7 ms -Time: corruptB.test 78 ms -Time: corruptC.test 11489 ms -Time: corruptD.test 14 ms -Time: corruptE.test 14 ms -Time: corruptF.test 108 ms -Time: corruptG.test 7 ms -Time: corruptH.test 9 ms -Time: corruptI.test 18 ms -Time: corruptJ.test 12 ms -Time: corruptK.test 11 ms -Time: corruptL.test 35 ms -Time: corruptM.test 11 ms -Time: cost.test 23 ms -Time: count.test 193 ms -Time: countofview.test 7 ms -Time: coveridxscan.test 9 ms -Time: crash.test 8442 ms -Time: crash2.test 2657 ms -Time: crash3.test 6977 ms -Time: crash4.test 4265 ms -Time: crash5.test 3431 ms -Time: crash6.test 3767 ms -Time: crash7.test 9675 ms -Time: crash8.test 375 ms -Time: crashM.test 8 ms -Time: createtab.test 55 ms -Time: cse.test 37 ms -Time: csv01.test 16 ms -Time: ctime.test 9 ms -Time: cursorhint.test 5 ms -Time: cursorhint2.test 5 ms -Time: dataversion1.test 12 ms -Time: date.test 334 ms -Time: date2.test 21 ms -Time: dbdata.test 5 ms -Time: dbfuzz001.test 17 ms -Time: dbpage.test 9 ms -Time: dbstatus.test 8 ms -Time: dbstatus2.test 14 ms -Time: decimal.test 36 ms -Time: default.test 15 ms -Time: delete.test 87 ms -Time: delete2.test 7 ms -Time: delete3.test 595 ms -Time: delete4.test 18 ms -Time: delete_db.test 25 ms -Time: descidx1.test 14 ms -Time: descidx2.test 15 ms -Time: descidx3.test 14 ms -Time: diskfull.test 599 ms -Time: distinct.test 20 ms -Time: distinct2.test 27 ms -Time: distinctagg.test 7 ms -Time: e_blobbytes.test 363 ms -Time: e_blobclose.test 12 ms -Time: e_blobopen.test 18 ms -Time: e_blobwrite.test 18 ms -Time: e_changes.test 30 ms -Time: e_createtable.test 216 ms -Time: e_delete.test 14 ms -Time: e_droptrigger.test 109 ms -Time: e_dropview.test 37 ms -Time: e_expr.test 964 ms -Time: e_fkey.test 2765 ms -Time: e_fts3.test 6 ms -Time: e_insert.test 28 ms -Time: e_reindex.test 20 ms -Time: e_resolve.test 14 ms -Time: e_select.test 76 ms -Time: e_select2.test 108 ms -Time: e_totalchanges.test 17 ms -Time: e_update.test 20 ms -Time: e_uri.test 21 ms -Time: e_vacuum.test 94 ms -Time: e_wal.test 10 ms -Time: e_walauto.test 686 ms -Time: e_walckpt.test 108 ms -Time: e_walhook.test 8 ms -Time: emptytable.test 8 ms -Time: enc.test 30 ms -Time: enc2.test 19 ms -Time: enc3.test 7 ms -Time: enc4.test 57 ms -Time: eqp.test 16 ms -Time: errmsg.test 7 ms -Time: eval.test 8 ms -Time: exclusive.test 12 ms -Time: exclusive2.test 10 ms -Time: exec.test 6 ms -Time: exists.test 158 ms -Time: expr.test 78 ms -Time: expr2.test 6 ms -Time: extension01.test 7 ms -Time: fallocate.test 25 ms -Time: filectrl.test 14 ms -Time: filefmt.test 21 ms -Time: filter1.test 13 ms -Time: filter2.test 16 ms -Time: filterfault.test 95 ms -Time: fkey1.test 12 ms -Time: fkey2.test 136 ms -Time: fkey3.test 12 ms -Time: fkey4.test 7 ms -Time: fkey5.test 32 ms -Time: fkey6.test 12 ms -Time: fkey7.test 16 ms -Time: fkey8.test 28 ms -Time: fkey_malloc.test 3928 ms -Time: fordelete.test 12 ms -Time: format4.test 6 ms -Time: fts-9fd058691.test 5 ms -Time: fts1a.test 5 ms -Time: fts1b.test 5 ms -Time: fts1c.test 6 ms -Time: fts1d.test 6 ms -Time: fts1e.test 5 ms -Time: fts1f.test 5 ms -Time: fts1i.test 5 ms -Time: fts1j.test 5 ms -Time: fts1k.test 5 ms -Time: fts1l.test 5 ms -Time: fts1m.test 5 ms -Time: fts1n.test 5 ms -Time: fts1o.test 5 ms -Time: fts1porter.test 13 ms -Time: fts2.test 5 ms -Time: fts2a.test 5 ms -Time: fts2b.test 5 ms -Time: fts2c.test 7 ms -Time: fts2d.test 6 ms -Time: fts2e.test 6 ms -Time: fts2f.test 6 ms -Time: fts2g.test 6 ms -Time: fts2h.test 5 ms -Time: fts2i.test 5 ms -Time: fts2j.test 6 ms -Time: fts2k.test 11 ms -Time: fts2l.test 7 ms -Time: fts2m.test 6 ms -Time: fts2n.test 6 ms -Time: fts2o.test 6 ms -Time: fts2p.test 6 ms -Time: fts2q.test 6 ms -Time: fts2r.test 6 ms -Time: fts2token.test 6 ms -Time: fts3aa.test 6 ms -Time: fts3ab.test 6 ms -Time: fts3ac.test 6 ms -Time: fts3ad.test 6 ms -Time: fts3ae.test 6 ms -Time: fts3af.test 5 ms -Time: fts3ag.test 6 ms -Time: fts3ah.test 6 ms -Time: fts3ai.test 5 ms -Time: fts3aj.test 6 ms -Time: fts3ak.test 6 ms -Time: fts3al.test 6 ms -Time: fts3am.test 6 ms -Time: fts3an.test 6 ms -Time: fts3ao.test 6 ms -Time: fts3atoken.test 6 ms -Time: fts3auto.test 6 ms -Time: fts3aux1.test 7 ms -Time: fts3aux2.test 6 ms -Time: fts3b.test 6 ms -Time: fts3c.test 7 ms -Time: fts3comp1.test 6 ms -Time: fts3conf.test 6 ms -Time: fts3corrupt.test 6 ms -Time: fts3corrupt2.test 6 ms -Time: fts3corrupt3.test 6 ms -Time: fts3corrupt4.test 12 ms -Time: fts3corrupt5.test 6 ms -Time: fts3corrupt6.test 6 ms -Time: fts3cov.test 6 ms -Time: fts3d.test 6 ms -Time: fts3defer.test 7 ms -Time: fts3defer2.test 6 ms -Time: fts3defer3.test 7 ms -Time: fts3drop.test 7 ms -Time: fts3e.test 7 ms -Time: fts3expr.test 6 ms -Time: fts3expr2.test 6 ms -Time: fts3expr3.test 7 ms -Time: fts3expr4.test 5 ms -Time: fts3expr5.test 5 ms -Time: fts3fault.test 5 ms -Time: fts3fault2.test 5 ms -Time: fts3first.test 6 ms -Time: fts3fuzz001.test 5 ms -Time: fts3join.test 5 ms -Time: fts3malloc.test 5 ms -Time: fts3matchinfo.test 6 ms -Time: fts3matchinfo2.test 5 ms -Time: fts3misc.test 6 ms -Time: fts3near.test 6 ms -Time: fts3offsets.test 5 ms -Time: fts3prefix.test 5 ms -Time: fts3prefix2.test 6 ms -Time: fts3query.test 5 ms -Time: fts3rank.test 5 ms -Time: fts3rnd.test 5 ms -Time: fts3shared.test 5 ms -Time: fts3snippet.test 5 ms -Time: fts3snippet2.test 5 ms -Time: fts3sort.test 5 ms -Time: fts3tok1.test 5 ms -Time: fts3tok_err.test 6 ms -Time: fts3varint.test 5 ms -Time: fts4aa.test 5 ms -Time: fts4check.test 5 ms -Time: fts4content.test 6 ms -Time: fts4docid.test 5 ms -Time: fts4growth.test 5 ms -Time: fts4growth2.test 5 ms -Time: fts4incr.test 5 ms -Time: fts4langid.test 5 ms -Time: fts4lastrowid.test 5 ms -Time: fts4merge.test 5 ms -Time: fts4merge2.test 6 ms -Time: fts4merge3.test 6 ms -Time: fts4merge4.test 7 ms -Time: fts4merge5.test 5 ms -Time: fts4min.test 5 ms -Time: fts4noti.test 5 ms -Time: fts4onepass.test 5 ms -Time: fts4opt.test 5 ms -Time: fts4record.test 5 ms -Time: fts4rename.test 5 ms -Time: fts4umlaut.test 5 ms -Time: fts4unicode.test 6 ms -Time: fts4upfrom.test 5 ms -Time: func.test 539 ms -Time: func2.test 12 ms -Time: func3.test 8 ms -Time: func4.test 20 ms -Time: func5.test 7 ms -Time: func6.test 28 ms -Time: fuzz-oss1.test 47 ms -Time: fuzz.test 197106 ms -Time: fuzz2.test 7 ms -Time: fuzz3.test 16412 ms -Time: fuzz4.test 8 ms -Time: fuzz_malloc.test 4270 ms -Time: fuzzer1.test 87 ms -This test is slow - perhaps around 7 seconds on an average pc -Time: fuzzer2.test 3405 ms -Time: fuzzerfault.test 944 ms -Time: gcfault.test 39 ms -Time: gencol1.test 29 ms -Time: having.test 13 ms -Time: hexlit.test 11 ms -Time: hidden.test 5 ms -Time: hook.test 31 ms -Time: hook2.test 10 ms -Time: icu.test 7 ms -Time: ieee754.test 7 ms -Time: imposter1.test 9 ms -Time: in.test 19 ms -Time: in2.test 5284 ms -Time: in3.test 18 ms -Time: in4.test 14 ms -Time: in5.test 13 ms -Time: in6.test 8 ms -Time: incrblob.test 24 ms -Time: incrblob2.test 49 ms -Time: incrblob3.test 17 ms -Time: incrblob4.test 12 ms -Time: incrblob_err.test 10963 ms -Time: incrblobfault.test 39 ms -Time: incrcorrupt.test 8 ms -Time: incrvacuum.test 147 ms -Time: incrvacuum2.test 287 ms -Time: incrvacuum3.test 329 ms -nFree=21 nPage=24 -nFree=21 nPage=24 -nFree=21 nPage=24 -nFree=21 nPage=24 -nFree=21 nPage=24 -nFree=21 nPage=24 -nFree=21 nPage=24 -nFree=21 nPage=24 -nFree=21 nPage=24 -nFree=21 nPage=24 -nFree=21 nPage=24 -nFree=21 nPage=24 -nFree=21 nPage=24 -nFree=21 nPage=24 -nFree=21 nPage=24 -nFree=21 nPage=24 -nFree=21 nPage=24 -nFree=21 nPage=24 -nFree=21 nPage=24 -nFree=21 nPage=24 -nFree=21 nPage=24 -nFree=21 nPage=24 -nFree=21 nPage=24 -nFree=21 nPage=24 -nFree=21 nPage=24 -nFree=21 nPage=24 -nFree=21 nPage=24 -nFree=21 nPage=24 -nFree=16 nPage=19 -nFree=11 nPage=14 -nFree=6 nPage=9 -nFree=6 nPage=9 -nFree=6 nPage=9 -nFree=6 nPage=9 -nFree=6 nPage=9 -nFree=6 nPage=9 -nFree=6 nPage=9 -nFree=6 nPage=9 -nFree=6 nPage=9 -nFree=6 nPage=9 -nFree=6 nPage=9 -nFree=6 nPage=9 -nFree=1 nPage=4 -Time: incrvacuum_ioerr.test 4200 ms -Time: index.test 55 ms -Time: index2.test 234 ms -Time: index3.test 8 ms -Time: index4.test 1352 ms -Time: index5.test 4058 ms -Time: index6.test 32 ms -Time: index7.test 25 ms -Time: index8.test 7 ms -Time: index9.test 9 ms -Time: indexedby.test 14 ms -Time: indexexpr1.test 25 ms -Time: indexexpr2.test 19 ms -Time: indexfault.test 7257 ms -Time: init.test 9 ms -Time: insert.test 21 ms -Time: insert2.test 13 ms -Time: insert3.test 74 ms -Time: insert4.test 30 ms -Time: insert5.test 8 ms -Time: insertfault.test 43 ms -Time: instr.test 12 ms -Time: instrfault.test 20 ms -Time: intarray.test 66 ms -Time: interrupt.test 472 ms -Time: interrupt2.test 14 ms -Time: intpkey.test 15 ms -Time: intreal.test 7 ms -Time: io.test 47 ms -Time: ioerr.test 3891 ms -Time: ioerr2.test 2862 ms -Time: ioerr3.test 103 ms -Time: ioerr4.test 33 ms -Time: ioerr5.test 29 ms -skipping tests - not compiled with SQLITE_ENABLE_ATOMIC_WRITE... -Time: ioerr6.test 6 ms -Time: istrue.test 12 ms -Time: join.test 31 ms -Time: join2.test 15 ms -Time: join3.test 105 ms -Time: join4.test 7 ms -Time: join5.test 316 ms -Time: join6.test 9 ms -Time: journal1.test 7 ms -Time: journal2.test 16 ms -Time: journal3.test 8 ms -Time: jrnlmode.test 19 ms -Time: jrnlmode2.test 7 ms -Time: jrnlmode3.test 21 ms -Time: json101.test 18 ms -Time: json102.test 14 ms -Time: json103.test 8 ms -Time: json104.test 7 ms -Time: json105.test 9 ms -Time: keyword1.test 41 ms -Time: lastinsert.test 12 ms -Time: laststmtchanges.test 13 ms - (14 ms - want less than 1000) (19 ms - want less than 1000) Time: like.test 32 ms -Time: like2.test 29 ms -Time: like3.test 5 ms -Time: limit.test 43 ms -Time: limit2.test 19 ms -Time: loadext.test 5 ms -Time: loadext2.test 5 ms -Time: lock.test 817 ms -Time: lock2.test 17 ms -Time: lock3.test 11 ms -Time: lock4.test 52 ms -Time: lock5.test 11 ms -Time: lock6.test 6 ms -Time: lock7.test 6 ms -Time: lookaside.test 7 ms -VERSION: 3.33.0 2020-08-14 13:23:32 fca8dc8b578f215a969cd899336378966156154710873e68b3d9ac5881b0ff3f -Time: main.test 9 ms -This is a test. Ignore the error that follows: -Memory dump to file memdump.txt... -open-file-count=0 -Time: malloc.test 20849 ms -Time: malloc3.test 1845 ms -Time: malloc4.test 7 ms -Highwater mark: 4691200 - (Highwater mark: 1708136) (Highwater mark: 87832) Time: malloc5.test 119 ms -Time: malloc6.test 441 ms -open-file-count=0 -Time: malloc7.test 87 ms -Time: malloc8.test 423 ms -Time: malloc9.test 128 ms -Time: mallocA.test 7668 ms -Time: mallocB.test 160 ms -Time: mallocC.test 771 ms -Time: mallocD.test 716 ms -Time: mallocE.test 287 ms -Time: mallocF.test 451 ms -Time: mallocG.test 454 ms -Time: mallocH.test 373 ms -Time: mallocI.test 649 ms -Time: mallocJ.test 390 ms -Time: mallocK.test 6541 ms -Time: mallocL.test 844 ms -Time: mallocM.test 22 ms -Time: manydb.test 272 ms -Time: mem5.test 5 ms -Time: memdb.test 188 ms -Time: memdb1.test 42 ms -Time: memsubsys1.test 113 ms -Time: memsubsys2.test 6 ms -Time: minmax.test 19 ms -Time: minmax2.test 20 ms -Time: minmax3.test 14 ms -Time: minmax4.test 14 ms -Time: misc1.test 135 ms -Time: misc2.test 17 ms -Time: misc3.test 24 ms -Time: misc4.test 11 ms -Time: misc5.test 78 ms -Time: misc6.test 6 ms -Time: misc7.test 3029 ms -Time: misc8.test 10 ms -Time: misuse.test 8 ms -Time: mjournal.test 13 ms -Time: mmap1.test 250 ms -Time: mmap2.test 176 ms -Time: mmap3.test 16 ms -Time: mmap4.test 10103 ms -Time: mmapfault.test 648 ms -Time: mmapwarm.test 52 ms -Time: multiplex.test 661 ms -Time: multiplex2.test 136 ms -SQLite compiled without SQLITE_ENABLE_8_3_NAMES. Skipping tests multiplex3-*. -Time: multiplex3.test 6 ms -Time: multiplex4.test 12 ms -Time: mutex1.test 8 ms -Time: mutex2.test 6 ms -Time: nan.test 14 ms -Time: nockpt.test 9 ms -Time: nolock.test 10 ms -Time: normalize.test 6 ms -Time: notify1.test 304 ms -WARNING: Multi-threaded tests skipped: Linked against a non-threadsafe Tcl build -Time: notify2.test 5 ms -Time: notify3.test 10 ms -Time: notnull.test 22 ms -Time: null.test 10 ms -Time: nulls1.test 17 ms -Time: numcast.test 7 ms -Time: numindex1.test 10 ms -Time: offset1.test 17 ms -Time: openv2.test 8 ms -Time: orderby1.test 169 ms -Time: orderby2.test 9 ms -Time: orderby3.test 7 ms -Time: orderby4.test 7 ms -Time: orderby5.test 10 ms -Time: orderby6.test 81 ms -Time: orderby7.test 5 ms -Time: orderby8.test 118 ms -Time: orderby9.test 7 ms -Time: orderbyA.test 16 ms -Time: oserror.test 102 ms -Time: ovfl.test 49 ms -Time: pager1.test 1137 ms -Time: pager2.test 2026 ms -Time: pager3.test 7 ms -Time: pager4.test 8 ms -Time: pagerfault.test 32095 ms -Time: pagerfault2.test 42122 ms -Time: pagerfault3.test 32 ms -Time: pageropt.test 9 ms -Time: pagesize.test 80 ms -Time: parser1.test 7 ms -Time: pcache.test 8 ms -Time: pcache2.test 8 ms -Time: percentile.test 1490 ms -Time: pragma.test 64 ms -Time: pragma2.test 16 ms -Time: pragma3.test 17 ms -Time: pragma4.test 72 ms -Time: pragma5.test 7 ms -Time: pragmafault.test 121 ms -Time: prefixes.test 7 ms -Time: printf.test 297 ms -Time: printf2.test 9 ms -Time: progress.test 8 ms -Time: ptrchng.test 8 ms -Time: pushdown.test 7 ms -Time: queryonly.test 7 ms -Time: quota-glob.test 8 ms -Time: quota.test 268 ms -Time: quota2.test 10 ms -Time: quote.test 8 ms -Time: randexpr1.test 532 ms -Time: rdonly.test 7 ms -Time: recover.test 5 ms -Time: regexp1.test 9 ms -Time: regexp2.test 9 ms -Time: reindex.test 10 ms -Time: resetdb.test 13 ms -Time: resolver01.test 9 ms -Time: rollback.test 7 ms -Time: rollback2.test 36 ms -Time: rollbackfault.test 25 ms -Time: round1.test 4214 ms -Time: rowallock.test 23 ms -Time: rowhash.test 1193 ms -Time: rowid.test 53 ms -Time: rowvalue.test 32 ms -Time: rowvalue2.test 582 ms -Time: rowvalue3.test 20 ms -Time: rowvalue4.test 42 ms -Time: rowvalue5.test 7 ms -Time: rowvalue6.test 6 ms -Time: rowvalue7.test 7 ms -Time: rowvalue8.test 6 ms -Time: rowvalue9.test 18 ms -Time: rowvaluefault.test 27 ms -Time: rowvaluevtab.test 25 ms -Time: savepoint.test 142 ms -Time: savepoint2.test 844 ms -Time: savepoint4.test 29779 ms -Time: savepoint5.test 11 ms -Time: savepoint6.test 86179 ms -Time: savepoint7.test 54 ms -Time: savepointfault.test 3331 ms -Time: scanstatus.test 5 ms -Time: schema.test 11 ms -Time: schema2.test 12 ms -Time: schema3.test 55 ms -Time: schema4.test 14 ms -Time: schema5.test 7 ms -Time: schema6.test 17 ms -Time: schemafault.test 10 ms -Time: securedel.test 6 ms -Time: securedel2.test 15829 ms -Time: select1.test 29 ms -time with cache: 100315 microseconds per iteration -time without cache: 257614 microseconds per iteration -Time: select2.test 388 ms -Time: select3.test 25 ms -Time: select4.test 21 ms -Time: select5.test 10 ms -Time: select6.test 17 ms -Time: select7.test 13 ms -Time: select8.test 6 ms -Time: select9.test 3437 ms -Time: selectA.test 36 ms -Time: selectB.test 32 ms -Time: selectC.test 10 ms -Time: selectD.test 12 ms -Time: selectE.test 7 ms -Time: selectF.test 6 ms -Time: selectG.test 595 ms -Time: server1.test 5 ms -Time: shared.test 144 ms -Time: shared2.test 25 ms -Time: shared3.test 15 ms -Time: shared4.test 9 ms -Time: shared6.test 9 ms -Time: shared7.test 6 ms -Time: shared8.test 7 ms -Time: shared9.test 17 ms -WARNING: Multi-threaded tests skipped: Linked against a non-threadsafe Tcl build -Time: sharedA.test 8 ms -WARNING: Multi-threaded tests skipped: Linked against a non-threadsafe Tcl build -Time: sharedB.test 5 ms -Time: shared_err.test 21580 ms -Time: sharedlock.test 8 ms -Time: shell1.test 7 ms -Time: shell2.test 6 ms -Time: shell3.test 5 ms -Time: shell4.test 13 ms -Time: shell5.test 6 ms -Time: shell6.test 5 ms -Time: shell7.test 5 ms -Time: shell8.test 12 ms -Time: shmlock.test 1044 ms -Time: shortread1.test 6 ms -Time: shrink.test 21 ms -Time: sidedelete.test 146 ms -Time: skipscan1.test 22 ms -Time: skipscan2.test 73 ms -Time: skipscan3.test 13 ms -Time: skipscan5.test 68 ms -Time: skipscan6.test 14 ms -Time: snapshot.test 27 ms -Time: snapshot2.test 19 ms -Time: snapshot3.test 7 ms -Time: snapshot4.test 16 ms -Time: snapshot_fault.test 1628 ms -Time: snapshot_up.test 8 ms -Time: softheap1.test 7 ms -Time: sort.test 773 ms -Time: sort2.test 7745 ms -Time: sort3.test 43095 ms -Time: sort4.test 10673 ms -Time: sort5.test 346 ms -Time: sorterref.test 8 ms -singlethread -singlethread -singlethread -singlethread -Time: sortfault.test 120929 ms -SQLite 2020-08-14 13:23:32 fca8dc8b578f215a969cd899336378966156154710873e68b3d9ac5881b0ff3f -speed1-insert1... 253994 uS 196855.04382 row/s -speed1-insert2... 455473 uS 109775.99111 row/s -speed1-select1... 271412 uS 9211088.67699 row/s -speed1-select2... 1240644 uS 2015082.48942 row/s -speed1-createidx... 121422 uS 1235360.97248 row/s -speed1-select3... 133263 uS 37519.79169 stmt/s -speed1-select4... 621367 uS 160935.48579 row/s -speed1-select5... 867888 uS 115222.24066 row/s -speed1-select6... 433680 uS 115292.38148 row/s -speed1-vacuum... 204014 uS 490162.43983 row/s -speed1-update1... 90455 uS 55276.10414 stmt/s -speed1-update2... 591414 uS 84543.14575 row/s -speed1-update3... 174644 uS 286296.69499 row/s -speed1-update4... 754917 uS 66232.44675 row/s -speed1-delete1... 8124 uS 6154603.64353 row/s -speed1-copy1... 242811 uS 205921.47802 row/s -speed1-delete2... 174025 uS 287315.04094 row/s -speed1-copy2... 241344 uS 207173.16362 row/s -speed1-drop1... 8017 uS 6236746.91281 row/s -speed1-copy3... 24541 uS 2037406.78864 row/s -speed1-random1... 59081 uS 846295.76344 row/s -speed1-random-del1... 94994 uS 210539.61303 row/s -speed1-random-del2... 73567 uS 271861.02464 row/s -speed1 7141091 uS TOTAL -Time: speed1.test 9021 ms -SQLite 2020-08-14 13:23:32 fca8dc8b578f215a969cd899336378966156154710873e68b3d9ac5881b0ff3f -speed1p-insert1... 201785 uS 247788.48775 row/s -speed1p-insert2... 356843 uS 140117.64277 row/s -speed1p-select1... 363460 uS 6878335.99296 row/s -speed1p-select2... 1378528 uS 1813528.63344 row/s -speed1p-createidx... 153276 uS 978626.79089 row/s -speed1p-select3... 102680 uS 48694.97468 stmt/s -speed1p-select4... 363662 uS 274980.61387 row/s -speed1p-select5... 507385 uS 197088.99554 row/s -speed1p-select6... 232433 uS 215115.75379 row/s -speed1p-vacuum... 192921 uS 518346.88810 row/s -speed1p-update1... 67420 uS 74161.96974 stmt/s -speed1p-update2... 443711 uS 112685.96001 row/s -speed1p-update3... 292629 uS 170864.81518 row/s -speed1p-update4... 643145 uS 77742.96621 row/s -speed1p-delete1... 9273 uS 5391998.27456 row/s -speed1p-copy1... 426460 uS 117244.29020 row/s -speed1p-delete2... 377473 uS 132459.80507 row/s -speed1p-copy2... 423233 uS 118138.23591 row/s -speed1p-drop1... 9889 uS 5056122.96491 row/s -speed1p-copy3... 24266 uS 2060496.16748 row/s -speed1p-random1... 62484 uS 800204.85244 row/s -speed1p-random-del1.. 101238 uS 197554.27804 row/s -speed1p-random-del2.. 77800 uS 257069.40874 row/s -speed1 6811994 uS TOTAL -Time: speed1p.test 8653 ms -SQLite 2020-08-14 13:23:32 fca8dc8b578f215a969cd899336378966156154710873e68b3d9ac5881b0ff3f -speed2-insert1... 275892 uS 181230.33651 row/s -speed2-insert2... 487626 uS 102537.60054 row/s -speed2-select1a... 266730 uS 9372773.96618 row/s -speed2-select2a... 1237380 uS 2020397.93758 row/s -speed2-vacuum1... 109664 uS 911876.27663 row/s -speed2-select1b... 285767 uS 8748385.92280 row/s -speed2-select2b... 1252616 uS 1995823.14133 row/s -speed2-createidx... 133044 uS 1127446.55903 row/s -speed2-select3a... 160435 uS 31165.26942 stmt/s -speed2-select4a... 792579 uS 126170.38806 row/s -speed2-select5a... 969176 uS 103180.43369 row/s -speed2-select6a... 501119 uS 99776.69975 row/s -speed2-vacuum2... 193569 uS 516611.64753 row/s -speed2-select3b... 141061 uS 35445.65826 stmt/s -speed2-select4b... 773968 uS 129204.30819 row/s -speed2-select5b... 1024602 uS 97598.87254 row/s -speed2-select6b... 497692 uS 100463.74063 row/s -speed2-update1... 93815 uS 53296.38118 stmt/s -speed2-update2... 632776 uS 79016.90330 row/s -speed2-update3... 193370 uS 258571.65020 row/s -speed2-update4... 773048 uS 64679.03675 row/s -speed2-delete1... 8840 uS 5656108.59729 row/s -speed2-copy1... 267302 uS 187054.34303 row/s -speed2-delete2... 194434 uS 257156.67013 row/s -speed2-copy2... 252694 uS 197867.77684 row/s -speed2-drop1... 8820 uS 5668934.24036 row/s -speed2-copy3... 31685 uS 1578033.76992 row/s -speed2-random1... 77543 uS 644803.52836 row/s -speed2-random-del1... 103292 uS 193625.83743 row/s -speed2-random-del2... 81222 uS 246238.70380 row/s -speed2 11821761 uS TOTAL -Time: speed2.test 14225 ms -SQLite 2020-08-14 13:23:32 fca8dc8b578f215a969cd899336378966156154710873e68b3d9ac5881b0ff3f -speed3-1.incrvacuum.. 6221 uS 160745.86079 row/s -speed3-1.normal... 10489 uS 95337.97311 row/s -Incrvacuum: Read 1098, wrote 94 -Normal : Read 9014, wrote 43 -speed3-2.incrvacuum.. 4645 uS 215285.25296 row/s -speed3-2.normal... 9867 uS 101347.92743 row/s -Incrvacuum: Read 2841, wrote 1 -Normal : Read 9993, wrote 0 -Time: speed3.test 274 ms -SQLite 2020-08-14 13:23:32 fca8dc8b578f215a969cd899336378966156154710873e68b3d9ac5881b0ff3f -speed4-join1... 39665 uS 1260557.16627 row/s -speed4-join2... 307423 uS 162642.35272 row/s -speed4-view1... 161497 uS 61920.65487 stmt/s -speed4-table1... 119228 uS 83872.91576 stmt/s -speed4-subselect1... 268478 uS 37246.99975 stmt/s -speed4-trigger1... 250005 uS 39999.20002 stmt/s -speed4-trigger2... 136240 uS 73399.88256 stmt/s -speed4-trigger3... 120528 uS 82968.27293 stmt/s -speed4-notrigger1... 55506 uS 180160.70335 stmt/s -speed4-notrigger2... 62249 uS 160645.15093 stmt/s -speed4-notrigger3... 44155 uS 226474.91790 stmt/s -speed4 1564974 uS TOTAL -Time: speed4.test 4094 ms -SQLite 2020-08-14 13:23:32 fca8dc8b578f215a969cd899336378966156154710873e68b3d9ac5881b0ff3f -speed4p-join1... 39704 uS 1259318.96031 row/s -speed4p-join2... 243808 uS 205079.40675 row/s -speed4p-view1... 55201 uS 181156.13848 stmt/s -speed4p-table1... 49909 uS 200364.66369 stmt/s -speed4p-subselect1... 61935 uS 161459.59474 stmt/s -speed4p-rowid-update. 32967 uS 303333.63667 stmt/s -speed4p-insert-ignore 107454 uS 465315.39077 row/s -speed4p-unique-update 137442 uS 229114.82662 stmt/s -speed4p-trigger1... 67827 uS 147433.91275 stmt/s -speed4p-trigger2... 58675 uS 170430.33660 stmt/s -speed4p-trigger3... 33573 uS 297858.39812 stmt/s -speed4p-notrigger1... 31566 uS 316796.55325 stmt/s -speed4p-notrigger2... 43417 uS 230324.52726 stmt/s -speed4p-notrigger3... 24976 uS 400384.36899 stmt/s -speed4 988454 uS TOTAL -Time: speed4p.test 3494 ms -Time: spellfix.test 71 ms -Time: spellfix2.test 10 ms -Time: spellfix3.test 6 ms -Time: spellfix4.test 166 ms -Time: sqldiff1.test 5 ms -Time: sqllimits1.test 876 ms -Time: sqllog.test 6 ms -Time: stat.test 17 ms -Time: statfault.test 246 ms -Time: stmt.test 7 ms -Time: stmtvtab1.test 7 ms -Time: subjournal.test 18 ms -Time: subquery.test 15 ms -Time: subquery2.test 10 ms -Time: subselect.test 9 ms -Time: substr.test 15 ms -Time: subtype1.test 6 ms -Time: superlock.test 46 ms -Time: swarmvtab.test 1396 ms -Time: swarmvtab2.test 15 ms -Time: swarmvtab3.test 182 ms -Time: swarmvtabfault.test 1452 ms -Time: symlink.test 16 ms -Time: symlink2.test 8 ms -Time: sync.test 10 ms -Time: sync2.test 14 ms -Time: syscall.test 85 ms -Time: sysfault.test 1188 ms -Time: tabfunc01.test 10 ms -Time: table.test 730 ms -Time: tableapi.test 143 ms -Time: tableopts.test 7 ms -Time: tclsqlite.test 16 ms -Time: tempdb.test 7 ms -Time: tempdb2.test 10 ms -Time: tempfault.test 17522 ms -Time: temptable.test 15 ms -Time: temptable2.test 4065 ms -Time: temptable3.test 7 ms -Time: temptrigger.test 12 ms -WARNING: Multi-threaded tests skipped: Linked against a non-threadsafe Tcl build -Time: thread001.test 11 ms -WARNING: Multi-threaded tests skipped: Linked against a non-threadsafe Tcl build -Time: thread002.test 6 ms -WARNING: Multi-threaded tests skipped: Linked against a non-threadsafe Tcl build -Time: thread003.test 7 ms -WARNING: Multi-threaded tests skipped: Linked against a non-threadsafe Tcl build -Time: thread004.test 5 ms -WARNING: Multi-threaded tests skipped: Linked against a non-threadsafe Tcl build -Time: thread005.test 11 ms -WARNING: Multi-threaded tests skipped: Linked against a non-threadsafe Tcl build -Time: thread1.test 6 ms -WARNING: Multi-threaded tests skipped: Linked against a non-threadsafe Tcl build -Time: thread2.test 6 ms -Time: tkt-02a8e81d44.test 6 ms -Time: tkt-18458b1a.test 13 ms -Time: tkt-26ff0c2d1e.test 8 ms -Time: tkt-2a5629202f.test 7 ms -Time: tkt-2d1a5c67d.test 62 ms -Time: tkt-2ea2425d34.test 6 ms -Time: tkt-31338dca7e.test 11 ms -Time: tkt-313723c356.test 43 ms -Time: tkt-385a5b56b9.test 14 ms -Time: tkt-38cb5df375.test 32 ms -Time: tkt-3998683a16.test 7 ms -Time: tkt-3a77c9714e.test 8 ms -Time: tkt-3fe897352e.test 12 ms -Time: tkt-4a03edc4c8.test 6 ms -Time: tkt-4c86b126f2.test 14 ms -Time: tkt-4dd95f6943.test 43 ms -Time: tkt-4ef7e3cfca.test 12 ms -Time: tkt-54844eea3f.test 8 ms -Time: tkt-5d863f876e.test 35 ms -Time: tkt-5e10420e8d.test 13 ms -Time: tkt-5ee23731f.test 13 ms -Time: tkt-6bfb98dfc0.test 7 ms -Time: tkt-752e1646fc.test 6 ms -Time: tkt-78e04e52ea.test 7 ms -Time: tkt-7a31705a7e6.test 14 ms -Time: tkt-7bbfb7d442.test 9 ms -Time: tkt-80ba201079.test 19 ms -Time: tkt-80e031a00f.test 16 ms -Time: tkt-8454a207b9.test 10 ms -Time: tkt-868145d012.test 7 ms -Time: tkt-8c63ff0ec.test 6 ms -Time: tkt-91e2e8ba6f.test 6 ms -Time: tkt-94c04eaadb.test 5 ms -Time: tkt-9a8b09f8e6.test 9 ms -Time: tkt-9d68c883.test 52 ms -Time: tkt-9f2eb3abac.test 103 ms -Time: tkt-a7b7803e.test 7 ms -Time: tkt-a7debbe0.test 11 ms -Time: tkt-a8a0d2996a.test 7 ms -Time: tkt-b1d3a2e531.test 9 ms -Time: tkt-b351d95f9.test 7 ms -Time: tkt-b72787b1.test 6 ms -Time: tkt-b75a9ca6b0.test 8 ms -Time: tkt-ba7cbfaedc.test 9 ms -Time: tkt-bd484a090c.test 6 ms -Time: tkt-bdc6bbbb38.test 5 ms -Time: tkt-c48d99d690.test 6 ms -Time: tkt-c694113d5.test 6 ms -Time: tkt-cbd054fa6b.test 9 ms -Time: tkt-d11f09d36e.test 119 ms -Time: tkt-d635236375.test 6 ms -Time: tkt-d82e3f3721.test 8 ms -Time: tkt-f3e5abed55.test 9 ms -Time: tkt-f67b41381a.test 10 ms -Time: tkt-f777251dc7a.test 8 ms -Time: tkt-f7b4edec.test 6 ms -Time: tkt-f973c7ac31.test 7 ms -Time: tkt-fa7bf5ec.test 6 ms -Time: tkt-fc62af4523.test 225 ms -Time: tkt-fc7bd6358f.test 16 ms -Time: tkt1435.test 8 ms -Time: tkt1443.test 11 ms -Time: tkt1444.test 9 ms -Time: tkt1449.test 16 ms -Time: tkt1473.test 18 ms -Time: tkt1501.test 6 ms -Time: tkt1512.test 7 ms -Time: tkt1514.test 11 ms -Time: tkt1536.test 6 ms -Time: tkt1537.test 13 ms -Time: tkt1567.test 30 ms -Time: tkt1644.test 9 ms -Time: tkt1667.test 189 ms -Time: tkt1873.test 7 ms -Time: tkt2141.test 7 ms -Time: tkt2192.test 10 ms -Time: tkt2213.test 6 ms -Time: tkt2251.test 7 ms -Time: tkt2285.test 13 ms -Time: tkt2332.test 48 ms -Time: tkt2339.test 11 ms -Time: tkt2391.test 6 ms -Time: tkt2409.test 199 ms -Time: tkt2450.test 11 ms -Time: tkt2565.test 17 ms -Time: tkt2640.test 7 ms -Time: tkt2643.test 6 ms -Time: tkt2686.test 2689 ms -Time: tkt2767.test 7 ms -Time: tkt2817.test 7 ms -Time: tkt2820.test 9 ms -Time: tkt2822.test 9 ms -Time: tkt2832.test 7 ms -Time: tkt2854.test 7 ms -Time: tkt2920.test 7 ms -Time: tkt2927.test 12 ms -Time: tkt2942.test 6 ms -Time: tkt3080.test 7 ms -Time: tkt3093.test 6 ms -Time: tkt3121.test 6 ms -Time: tkt3201.test 8 ms -Time: tkt3292.test 7 ms -Time: tkt3298.test 7 ms -Time: tkt3334.test 7 ms -Time: tkt3346.test 6 ms -Time: tkt3357.test 6 ms -Time: tkt3419.test 7 ms -Time: tkt3424.test 6 ms -Time: tkt3442.test 6 ms -Time: tkt3457.test 7 ms -Time: tkt3461.test 6 ms -Time: tkt3493.test 8 ms -Time: tkt3508.test 6 ms -Time: tkt3522.test 6 ms -Time: tkt3527.test 7 ms -Time: tkt3541.test 6 ms -Time: tkt3554.test 6 ms -Time: tkt3581.test 6 ms -Time: tkt35xx.test 7 ms -Time: tkt3630.test 6 ms -Time: tkt3718.test 16 ms -Time: tkt3731.test 7 ms -Time: tkt3757.test 8 ms -Time: tkt3761.test 6 ms -Time: tkt3762.test 12 ms -Time: tkt3773.test 6 ms -Time: tkt3791.test 6 ms -Time: tkt3793.test 14 ms -Time: tkt3810.test 7 ms -Time: tkt3824.test 8 ms -Time: tkt3832.test 6 ms -Time: tkt3838.test 8 ms -Time: tkt3841.test 6 ms -Time: tkt3871.test 9 ms -Time: tkt3879.test 6 ms -Time: tkt3911.test 6 ms -Time: tkt3918.test 7 ms -Time: tkt3922.test 7 ms -Time: tkt3929.test 12 ms -Time: tkt3935.test 6 ms -Time: tkt3992.test 7 ms -Time: tkt3997.test 6 ms -Time: tkt4018.test 610 ms -Time: tokenize.test 9 ms -Time: tpch01.test 11 ms -Time: trace.test 10 ms -Time: trace2.test 6 ms -Time: trace3.test 10 ms -Time: trans.test 3723 ms -Time: trans2.test 8274 ms -Time: trans3.test 8 ms -Time: transitive1.test 19 ms -Time: trigger1.test 24 ms -Time: trigger2.test 79 ms -Time: trigger3.test 10 ms -Time: trigger4.test 12 ms -Time: trigger5.test 7 ms -Time: trigger6.test 7 ms -Time: trigger7.test 9 ms -Time: trigger8.test 6 ms -Time: trigger9.test 19 ms -Time: triggerA.test 247 ms -Time: triggerB.test 69 ms -Time: triggerC.test 1531 ms -Time: triggerD.test 10 ms -Time: triggerE.test 8 ms -Time: triggerF.test 10 ms -Time: triggerG.test 8 ms -Time: triggerupfrom.test 11 ms -Time: trustschema1.test 12 ms -Time: types.test 36 ms -Time: types2.test 34 ms -Time: types3.test 6 ms -Time: unionvtab.test 29 ms -Time: unionvtabfault.test 1491 ms -Time: unique.test 11 ms -Time: unique2.test 11 ms -Time: unixexcl.test 59 ms -Time: unordered.test 12 ms -Time: update.test 79 ms -Time: update2.test 19 ms -Time: upfrom1.test 12 ms -Time: upfrom2.test 25 ms -Time: upfrom3.test 20 ms -Time: upfromfault.test 780 ms -Time: upsert1.test 15 ms -Time: upsert2.test 11 ms -Time: upsert3.test 7 ms -Time: upsert4.test 33 ms -Time: upsertfault.test 80 ms -Time: uri.test 24 ms -Time: uri2.test 5 ms -Time: userauth01.test 5 ms -Time: utf16align.test 8 ms -Time: vacuum-into.test 14 ms -Time: vacuum.test 36 ms -Time: vacuum2.test 14 ms -Time: vacuum3.test 9956 ms -Time: vacuum4.test 7 ms -Time: vacuum5.test 51 ms -Time: vacuummem.test 11 ms -Time: varint.test 84 ms -Time: view.test 1211 ms -Time: vtab1.test 160 ms -Time: vtab2.test 8 ms -Time: vtab3.test 8 ms -Time: vtab4.test 8 ms -Time: vtab5.test 9 ms -Time: vtab6.test 486 ms -Time: vtab7.test 9 ms -Time: vtab8.test 8 ms -Time: vtab9.test 7 ms -Time: vtabA.test 13 ms -Time: vtabB.test 7 ms -Time: vtabC.test 1460 ms -Time: vtabD.test 1002 ms -Time: vtabE.test 7 ms -Time: vtabF.test 7 ms -Time: vtabH.test 25 ms -Time: vtabI.test 9 ms -Time: vtabJ.test 9 ms -Time: vtab_alter.test 9 ms -Time: vtab_err.test 29046 ms -Time: vtab_shared.test 23 ms -Time: vtabdrop.test 9 ms -Time: wal.test 729 ms -Time: wal2.test 156 ms -Time: wal3.test 3173 ms -Time: wal4.test 111 ms -Time: wal5.test 764 ms -Time: wal6.test 24 ms -Time: wal64k.test 360 ms -Time: wal7.test 15 ms -Time: wal8.test 9 ms -Time: wal9.test 379 ms -Time: walbak.test 33 ms -Time: walbig.test 8 ms -Time: walblock.test 5 ms -Time: walcksum.test 51 ms -Time: walcrash.test 6363 ms -Time: walcrash2.test 6525 ms -Time: walcrash3.test 119244 ms -Time: walcrash4.test 1502 ms -Time: walfault.test 9545 ms -Time: walfault2.test 890 ms -Time: walhook.test 7 ms -Time: walmode.test 25 ms -Time: walnoshm.test 9 ms -Time: waloverwrite.test 40 ms -Time: walpersist.test 21 ms -# Warning: This next test case causes SQLite to call xSleep(1) 100 times. -# Normally this equates to a delay of roughly 10 seconds, but if SQLite -# is built on unix without HAVE_USLEEP defined, it may be much longer. -# Warning: Same again! -# Warning: Third time! -# Warning: Another slow test! -# Warning: Last one! -Time: walprotocol.test 19950 ms -Time: walprotocol2.test 12 ms -Time: walro.test 57 ms -Time: walro2.test 85 ms -Time: walrofault.test 150 ms -Time: walsetlk.test 26064 ms -Time: walshared.test 10 ms -Time: walslow.test 11564 ms -WARNING: Multi-threaded tests skipped: Linked against a non-threadsafe Tcl build -Time: walthread.test 9 ms -# WARNING: This next test takes around 12 seconds -Time: walvfs.test 9990 ms -Time: where.test 47 ms -Time: where2.test 30 ms -Time: where3.test 23 ms -Time: where4.test 12 ms -Time: where5.test 8 ms -Time: where6.test 8 ms -Time: where7.test 322 ms -Time: where8.test 2295 ms -Time: where9.test 33 ms -Time: whereA.test 9 ms -Time: whereB.test 15 ms -Time: whereC.test 10 ms -Time: whereD.test 21 ms -Time: whereE.test 21 ms -Time: whereF.test 16 ms -Time: whereG.test 21 ms -Time: whereH.test 10 ms -Time: whereI.test 8 ms -Time: whereJ.test 112 ms -Time: whereK.test 7 ms -Time: whereL.test 10 ms -Time: wherefault.test 2753 ms -Time: wherelfault.test 6 ms -Time: wherelimit.test 5 ms -Time: wherelimit2.test 5 ms -Time: win32heap.test 1 ms -Time: win32lock.test 2 ms -Time: win32longpath.test 2 ms -Time: win32nolock.test 1 ms -Time: window1.test 75 ms -Time: window2.test 25 ms -Time: window3.test 1532 ms -Time: window4.test 43 ms -Time: window5.test 7 ms -Time: window6.test 18 ms -Time: window7.test 9 ms -Time: window8.test 415 ms -Time: window9.test 12 ms -Time: windowA.test 9 ms -Time: windowB.test 15 ms -Time: windowerr.test 7 ms -Time: windowfault.test 2422 ms -Time: with1.test 1827 ms -Time: with2.test 26 ms -Time: with3.test 12 ms -Time: with4.test 6 ms -Time: withM.test 83 ms -Time: without_rowid1.test 23 ms -Time: without_rowid2.test 8 ms -Time: without_rowid3.test 123 ms -Time: without_rowid4.test 72 ms -Time: without_rowid5.test 9 ms -Time: without_rowid6.test 14 ms -Time: without_rowid7.test 7 ms -Time: writecrash.test 23202 ms -Time: zeroblob.test 17 ms -Time: zerodamage.test 12 ms -Time: zipfile.test 208 ms -Time: zipfile2.test 11 ms -Time: zipfilefault.test 346 ms -SQLite 2020-08-14 13:23:32 fca8dc8b578f215a969cd899336378966156154710873e68b3d9ac5881b0ff3f -0 errors out of 928256 tests on 3900x Linux 64-bit little-endian -WARNING: Multi-threaded tests skipped: Linked against a non-threadsafe Tcl build -All memory allocations freed - no leaks -Maximum memory usage: 9156360 bytes -Current memory usage: 0 bytes -Number of malloc() : -1 calls ---- PASS: TestTclTest (1537.41s) -PASS -ok modernc.org/sqlite 1562.931s -Sun Sep 13 11:14:39 CEST 2020 diff --git a/testdata/testlog-linux-amd64-on-linux-amd64 b/testdata/testlog-linux-amd64-on-linux-amd64 new file mode 100644 index 0000000..5091a10 --- /dev/null +++ b/testdata/testlog-linux-amd64-on-linux-amd64 @@ -0,0 +1,1323 @@ +go version go1.15.2 linux/amd64 +Linux 3900x 4.19.0-10-amd64 #1 SMP Debian 4.19.132-1 (2020-07-24) x86_64 GNU/Linux +test binary compiled for linux/amd64 +=== RUN TestScalar +--- PASS: TestScalar (0.01s) +=== RUN TestBlob +--- PASS: TestBlob (0.01s) +=== RUN TestIssue11 +--- PASS: TestIssue11 (0.05s) +=== RUN TestMemDB +--- PASS: TestMemDB (2.48s) +=== RUN TestConcurrentGoroutines + all_test.go:507: 8 goroutines concurrently inserted 40000 rows in 455.820038ms +--- PASS: TestConcurrentGoroutines (0.51s) +=== RUN TestConcurrentProcesses + all_test.go:588: config01.test: Summary: 0 errors out of 163 tests + all_test.go:588: config02.test: Summary: 0 errors out of 627 tests + all_test.go:588: crash01.test: Summary: 0 errors out of 94 tests + all_test.go:588: multiwrite01.test: Summary: 0 errors out of 81 tests +--- PASS: TestConcurrentProcesses (17.11s) +=== RUN TestIssue19 +--- PASS: TestIssue19 (0.01s) +=== RUN TestIssue20 +--- PASS: TestIssue20 (4.41s) +=== RUN TestNoRows +--- PASS: TestNoRows (0.00s) +=== RUN TestIssue28 +--- PASS: TestIssue28 (0.00s) +=== RUN TestIssue30 + all_test.go:891: Col 0: DatabaseTypeName "INTEGER", DecimalSize 0 0 false, Length 0 false, Name "uid", Nullable true true, ScanType "int64" + Col 1: DatabaseTypeName "VARCHAR(64)", DecimalSize 0 0 false, Length 9223372036854775807 true, Name "username", Nullable true true, ScanType "string" + Col 2: DatabaseTypeName "VARCHAR(64)", DecimalSize 0 0 false, Length 9223372036854775807 true, Name "departname", Nullable true true, ScanType "string" + Col 3: DatabaseTypeName "DATE", DecimalSize 0 0 false, Length 9223372036854775807 true, Name "created", Nullable true true, ScanType "string" + +--- PASS: TestIssue30 (0.00s) +=== RUN TestNamedParameters +--- PASS: TestNamedParameters (0.00s) +=== RUN TestTclTest +Time: 8_3_names.test 8 ms +Time: affinity2.test 10 ms +Time: affinity3.test 9 ms +Time: aggerror.test 8 ms +Time: aggnested.test 13 ms +Time: alias.test 10 ms +Time: alter.test 39 ms +Time: alter2.test 15 ms +Time: alter3.test 35 ms +Time: alter4.test 28 ms +Time: alterauth.test 7 ms +Time: alterauth2.test 8 ms +Time: altercol.test 75 ms +Time: alterlegacy.test 32 ms +Time: altermalloc.test 27094 ms +Time: altermalloc2.test 3357 ms +Time: altertab.test 41 ms +Time: altertab2.test 33 ms +Time: altertab3.test 32 ms +Time: amatch1.test 8 ms +Time: analyze.test 21 ms +Time: analyze3.test 57 ms +Time: analyze4.test 14 ms +Time: analyze5.test 120 ms +Time: analyze6.test 14 ms +Time: analyze7.test 16 ms +Time: analyze8.test 77 ms + (nByte=3631 nByte2=4631)Time: analyze9.test 494 ms +Time: analyzeC.test 11 ms +Time: analyzeD.test 63 ms +Time: analyzeE.test 17 ms +Time: analyzeF.test 48 ms +Time: analyzeG.test 7 ms +analyzer1 cannot run because /tmp/sqlite-test-283494627/sqlite3_analyzer is not available +Time: analyzer1.test 5 ms +Skipping async2 tests: not compiled with required features +Time: async2.test 5 ms +Skipping async3 tests: not compiled with required features +Time: async3.test 5 ms +Time: async4.test 5 ms +Time: async5.test 5 ms +Time: atof1.test 5 ms +No f2fs atomic-batch-write support. Skipping tests... +Time: atomic.test 7 ms +No f2fs atomic-batch-write support. Skipping tests... +Time: atomic2.test 6 ms +Time: attach.test 21 ms +Time: attach2.test 11 ms +Time: attach3.test 11 ms +Testing with SQLITE_MAX_ATTACHED=10 +Time: attach4.test 13 ms +Time: attachmalloc.test 2652 ms +Time: auth.test 44 ms +Time: auth2.test 8 ms +Time: auth3.test 8 ms +Time: autoanalyze1.test 5 ms +Time: autoinc.test 26 ms +Time: autoindex1.test 70 ms +Time: autoindex2.test 11 ms +Time: autoindex3.test 8 ms +Time: autoindex4.test 8 ms +Time: autoindex5.test 10 ms +Time: autovacuum.test 238 ms +Time: autovacuum_ioerr2.test 986 ms +Time: avtrans.test 4096 ms +WARNING: No historical binaries to test against. +WARNING: Omitting backwards-compatibility tests +Time: backcompat.test 8 ms +Time: backup.test 922 ms +Time: backup2.test 319 ms +Time: backup4.test 8 ms +Time: backup5.test 7 ms +Time: backup_ioerr.test 206162 ms +Time: backup_malloc.test 9014 ms +Time: badutf.test 7 ms +Time: badutf2.test 8 ms +Time: bestindex1.test 11 ms +Time: bestindex2.test 7 ms +Time: bestindex3.test 9 ms +Time: bestindex4.test 181 ms +Time: bestindex5.test 10 ms +Time: bestindex6.test 7 ms +Time: bestindex7.test 7 ms +Time: between.test 12 ms +Time: bigfile.test 9 ms +Time: bigfile2.test 7 ms +Skipping bigmmap.test - requires SQLITE_MAX_MMAP_SIZE >= 8G +Time: bigmmap.test 5 ms +Time: bigrow.test 105 ms +Time: bigsort.test 41879 ms +Time: bind.test 408 ms +Time: bindxfer.test 6 ms +Time: bitvec.test 1247 ms +Time: blob.test 7 ms +Time: boundary1.test 103 ms +Time: boundary2.test 222 ms +Time: boundary3.test 187 ms +Time: boundary4.test 16 ms +Time: btree01.test 365 ms +Time: btree02.test 9 ms +Time: btreefault.test 306 ms +Time: busy.test 6 ms +Time: busy2.test 6064 ms +Time: cache.test 19 ms +Time: cacheflush.test 14 ms +Time: cachespill.test 10 ms +Time: capi2.test 14 ms +Time: capi3.test 102 ms +Time: capi3b.test 11 ms +Time: capi3c.test 108 ms +Time: capi3d.test 162 ms +Time: capi3e.test 11 ms +Time: cast.test 10 ms +Time: cffault.test 490 ms +Time: check.test 18 ms +Time: checkfault.test 21 ms +Time: chunksize.test 6 ms +Time: close.test 7 ms +Time: closure01.test 766 ms +Time: coalesce.test 7 ms +Time: collate1.test 14 ms +Time: collate2.test 16 ms +Time: collate3.test 14 ms +Time: collate4.test 20 ms +Time: collate5.test 61 ms +Time: collate6.test 8 ms +Time: collate7.test 6 ms +Time: collate8.test 7 ms +Time: collate9.test 8 ms +Time: collateA.test 9 ms +Time: collateB.test 8 ms +Time: colmeta.test 12 ms +Time: colname.test 13 ms +Time: conflict.test 50 ms +Time: conflict2.test 49 ms +Time: conflict3.test 16 ms +Time: contrib01.test 7 ms +Time: corrupt.test 3222 ms +Time: corrupt2.test 31 ms +Time: corrupt3.test 6 ms +Time: corrupt4.test 6 ms +Time: corrupt5.test 6 ms +Time: corrupt6.test 9 ms +Time: corrupt7.test 6 ms +Time: corrupt8.test 37 ms +Time: corrupt9.test 11 ms +Time: corruptA.test 6 ms +Time: corruptB.test 73 ms +Time: corruptC.test 11171 ms +Time: corruptD.test 9 ms +Time: corruptE.test 14 ms +Time: corruptF.test 101 ms +Time: corruptG.test 6 ms +Time: corruptH.test 9 ms +Time: corruptI.test 13 ms +Time: corruptJ.test 7 ms +Time: corruptK.test 10 ms +Time: corruptL.test 34 ms +Time: corruptM.test 10 ms +Time: cost.test 21 ms +Time: count.test 183 ms +Time: countofview.test 7 ms +Time: coveridxscan.test 9 ms +Time: crash.test 8795 ms +Time: crash2.test 2697 ms +Time: crash3.test 6855 ms +Time: crash4.test 4362 ms +Time: crash5.test 3574 ms +Time: crash6.test 3844 ms +Time: crash7.test 9276 ms +Time: crash8.test 348 ms +Time: crashM.test 5 ms +Time: createtab.test 41 ms +Time: cse.test 30 ms +Time: csv01.test 10 ms +Time: ctime.test 8 ms +Time: cursorhint.test 5 ms +Time: cursorhint2.test 5 ms +Time: dataversion1.test 6 ms +Time: date.test 300 ms +Time: date2.test 18 ms +Time: dbdata.test 5 ms +Time: dbfuzz001.test 11 ms +Time: dbpage.test 8 ms +Time: dbstatus.test 8 ms +Time: dbstatus2.test 7 ms +Time: decimal.test 28 ms +Time: default.test 8 ms +Time: delete.test 80 ms +Time: delete2.test 7 ms +Time: delete3.test 572 ms +Time: delete4.test 17 ms +Time: delete_db.test 17 ms +Time: descidx1.test 13 ms +Time: descidx2.test 8 ms +Time: descidx3.test 8 ms +Time: diskfull.test 543 ms +Time: distinct.test 20 ms +Time: distinct2.test 18 ms +Time: distinctagg.test 6 ms +Time: e_blobbytes.test 336 ms +Time: e_blobclose.test 12 ms +Time: e_blobopen.test 19 ms +Time: e_blobwrite.test 9 ms +Time: e_changes.test 27 ms +Time: e_createtable.test 195 ms +Time: e_delete.test 14 ms +Time: e_droptrigger.test 86 ms +Time: e_dropview.test 30 ms +Time: e_expr.test 956 ms +Time: e_fkey.test 2487 ms +Time: e_fts3.test 6 ms +Time: e_insert.test 24 ms +Time: e_reindex.test 20 ms +Time: e_resolve.test 14 ms +Time: e_select.test 77 ms +Time: e_select2.test 112 ms +Time: e_totalchanges.test 16 ms +Time: e_update.test 19 ms +Time: e_uri.test 21 ms +Time: e_vacuum.test 97 ms +Time: e_wal.test 10 ms +Time: e_walauto.test 682 ms +Time: e_walckpt.test 109 ms +Time: e_walhook.test 11 ms +Time: emptytable.test 11 ms +Time: enc.test 29 ms +Time: enc2.test 19 ms +Time: enc3.test 7 ms +Time: enc4.test 55 ms +Time: eqp.test 16 ms +Time: errmsg.test 7 ms +Time: eval.test 8 ms +Time: exclusive.test 11 ms +Time: exclusive2.test 10 ms +Time: exec.test 6 ms +Time: exists.test 162 ms +Time: expr.test 103 ms +Time: expr2.test 6 ms +Time: extension01.test 7 ms +Time: fallocate.test 35 ms +Time: filectrl.test 17 ms +Time: filefmt.test 15 ms +Time: filter1.test 24 ms +Time: filter2.test 8 ms +Time: filterfault.test 71 ms +Time: fkey1.test 12 ms +Time: fkey2.test 117 ms +Time: fkey3.test 13 ms +Time: fkey4.test 7 ms +Time: fkey5.test 18 ms +Time: fkey6.test 10 ms +Time: fkey7.test 9 ms +Time: fkey8.test 18 ms +Time: fkey_malloc.test 3508 ms +Time: fordelete.test 11 ms +Time: format4.test 6 ms +Time: fts-9fd058691.test 5 ms +Time: fts1a.test 6 ms +Time: fts1b.test 5 ms +Time: fts1c.test 6 ms +Time: fts1d.test 5 ms +Time: fts1e.test 5 ms +Time: fts1f.test 9 ms +Time: fts1i.test 6 ms +Time: fts1j.test 5 ms +Time: fts1k.test 5 ms +Time: fts1l.test 5 ms +Time: fts1m.test 5 ms +Time: fts1n.test 5 ms +Time: fts1o.test 8 ms +Time: fts1porter.test 15 ms +Time: fts2.test 5 ms +Time: fts2a.test 5 ms +Time: fts2b.test 5 ms +Time: fts2c.test 6 ms +Time: fts2d.test 5 ms +Time: fts2e.test 5 ms +Time: fts2f.test 5 ms +Time: fts2g.test 5 ms +Time: fts2h.test 5 ms +Time: fts2i.test 5 ms +Time: fts2j.test 5 ms +Time: fts2k.test 5 ms +Time: fts2l.test 5 ms +Time: fts2m.test 8 ms +Time: fts2n.test 9 ms +Time: fts2o.test 6 ms +Time: fts2p.test 5 ms +Time: fts2q.test 5 ms +Time: fts2r.test 5 ms +Time: fts2token.test 5 ms +Time: fts3aa.test 5 ms +Time: fts3ab.test 5 ms +Time: fts3ac.test 6 ms +Time: fts3ad.test 5 ms +Time: fts3ae.test 5 ms +Time: fts3af.test 5 ms +Time: fts3ag.test 6 ms +Time: fts3ah.test 5 ms +Time: fts3ai.test 9 ms +Time: fts3aj.test 5 ms +Time: fts3ak.test 5 ms +Time: fts3al.test 5 ms +Time: fts3am.test 5 ms +Time: fts3an.test 5 ms +Time: fts3ao.test 5 ms +Time: fts3atoken.test 5 ms +Time: fts3auto.test 5 ms +Time: fts3aux1.test 5 ms +Time: fts3aux2.test 5 ms +Time: fts3b.test 5 ms +Time: fts3c.test 6 ms +Time: fts3comp1.test 6 ms +Time: fts3conf.test 7 ms +Time: fts3corrupt.test 5 ms +Time: fts3corrupt2.test 5 ms +Time: fts3corrupt3.test 5 ms +Time: fts3corrupt4.test 10 ms +Time: fts3corrupt5.test 5 ms +Time: fts3corrupt6.test 5 ms +Time: fts3cov.test 5 ms +Time: fts3d.test 6 ms +Time: fts3defer.test 6 ms +Time: fts3defer2.test 6 ms +Time: fts3defer3.test 6 ms +Time: fts3drop.test 5 ms +Time: fts3e.test 5 ms +Time: fts3expr.test 6 ms +Time: fts3expr2.test 5 ms +Time: fts3expr3.test 6 ms +Time: fts3expr4.test 5 ms +Time: fts3expr5.test 5 ms +Time: fts3fault.test 5 ms +Time: fts3fault2.test 5 ms +Time: fts3first.test 6 ms +Time: fts3fuzz001.test 5 ms +Time: fts3join.test 5 ms +Time: fts3malloc.test 5 ms +Time: fts3matchinfo.test 5 ms +Time: fts3matchinfo2.test 5 ms +Time: fts3misc.test 5 ms +Time: fts3near.test 5 ms +Time: fts3offsets.test 6 ms +Time: fts3prefix.test 5 ms +Time: fts3prefix2.test 5 ms +Time: fts3query.test 5 ms +Time: fts3rank.test 6 ms +Time: fts3rnd.test 5 ms +Time: fts3shared.test 5 ms +Time: fts3snippet.test 5 ms +Time: fts3snippet2.test 5 ms +Time: fts3sort.test 5 ms +Time: fts3tok1.test 5 ms +Time: fts3tok_err.test 6 ms +Time: fts3varint.test 5 ms +Time: fts4aa.test 5 ms +Time: fts4check.test 5 ms +Time: fts4content.test 6 ms +Time: fts4docid.test 5 ms +Time: fts4growth.test 5 ms +Time: fts4growth2.test 5 ms +Time: fts4incr.test 5 ms +Time: fts4langid.test 6 ms +Time: fts4lastrowid.test 5 ms +Time: fts4merge.test 6 ms +Time: fts4merge2.test 6 ms +Time: fts4merge3.test 5 ms +Time: fts4merge4.test 5 ms +Time: fts4merge5.test 5 ms +Time: fts4min.test 5 ms +Time: fts4noti.test 5 ms +Time: fts4onepass.test 5 ms +Time: fts4opt.test 5 ms +Time: fts4record.test 5 ms +Time: fts4rename.test 5 ms +Time: fts4umlaut.test 5 ms +Time: fts4unicode.test 5 ms +Time: fts4upfrom.test 5 ms +Time: func.test 523 ms +Time: func2.test 10 ms +Time: func3.test 7 ms +Time: func4.test 17 ms +Time: func5.test 6 ms +Time: func6.test 25 ms +Time: fuzz-oss1.test 41 ms +Time: fuzz.test 191373 ms +Time: fuzz2.test 7 ms +Time: fuzz3.test 15859 ms +Time: fuzz4.test 8 ms +Time: fuzz_malloc.test 4167 ms +Time: fuzzer1.test 86 ms +This test is slow - perhaps around 7 seconds on an average pc +Time: fuzzer2.test 3447 ms +Time: fuzzerfault.test 919 ms +Time: gcfault.test 38 ms +Time: gencol1.test 28 ms +Time: having.test 12 ms +Time: hexlit.test 11 ms +Time: hidden.test 5 ms +Time: hook.test 28 ms +Time: hook2.test 10 ms +Time: icu.test 6 ms +Time: ieee754.test 7 ms +Time: imposter1.test 8 ms +Time: in.test 19 ms +Time: in2.test 5255 ms +Time: in3.test 18 ms +Time: in4.test 14 ms +Time: in5.test 13 ms +Time: in6.test 8 ms +Time: incrblob.test 25 ms +Time: incrblob2.test 48 ms +Time: incrblob3.test 19 ms +Time: incrblob4.test 13 ms +Time: incrblob_err.test 10579 ms +Time: incrblobfault.test 37 ms +Time: incrcorrupt.test 8 ms +Time: incrvacuum.test 145 ms +Time: incrvacuum2.test 279 ms +Time: incrvacuum3.test 330 ms +nFree=21 nPage=24 +nFree=21 nPage=24 +nFree=21 nPage=24 +nFree=21 nPage=24 +nFree=21 nPage=24 +nFree=21 nPage=24 +nFree=21 nPage=24 +nFree=21 nPage=24 +nFree=21 nPage=24 +nFree=21 nPage=24 +nFree=21 nPage=24 +nFree=21 nPage=24 +nFree=21 nPage=24 +nFree=21 nPage=24 +nFree=21 nPage=24 +nFree=21 nPage=24 +nFree=21 nPage=24 +nFree=21 nPage=24 +nFree=21 nPage=24 +nFree=21 nPage=24 +nFree=21 nPage=24 +nFree=21 nPage=24 +nFree=21 nPage=24 +nFree=21 nPage=24 +nFree=21 nPage=24 +nFree=21 nPage=24 +nFree=21 nPage=24 +nFree=21 nPage=24 +nFree=16 nPage=19 +nFree=11 nPage=14 +nFree=6 nPage=9 +nFree=6 nPage=9 +nFree=6 nPage=9 +nFree=6 nPage=9 +nFree=6 nPage=9 +nFree=6 nPage=9 +nFree=6 nPage=9 +nFree=6 nPage=9 +nFree=6 nPage=9 +nFree=6 nPage=9 +nFree=6 nPage=9 +nFree=6 nPage=9 +nFree=1 nPage=4 +Time: incrvacuum_ioerr.test 4135 ms +Time: index.test 45 ms +Time: index2.test 226 ms +Time: index3.test 8 ms +Time: index4.test 1287 ms +Time: index5.test 4042 ms +Time: index6.test 31 ms +Time: index7.test 26 ms +Time: index8.test 7 ms +Time: index9.test 9 ms +Time: indexedby.test 14 ms +Time: indexexpr1.test 23 ms +Time: indexexpr2.test 18 ms +Time: indexfault.test 7092 ms +Time: init.test 8 ms +Time: insert.test 21 ms +Time: insert2.test 13 ms +Time: insert3.test 77 ms +Time: insert4.test 29 ms +Time: insert5.test 7 ms +Time: insertfault.test 42 ms +Time: instr.test 13 ms +Time: instrfault.test 20 ms +Time: intarray.test 67 ms +Time: interrupt.test 462 ms +Time: interrupt2.test 20 ms +Time: intpkey.test 15 ms +Time: intreal.test 7 ms +Time: io.test 46 ms +Time: ioerr.test 3829 ms +Time: ioerr2.test 2770 ms +Time: ioerr3.test 106 ms +Time: ioerr4.test 32 ms +Time: ioerr5.test 28 ms +skipping tests - not compiled with SQLITE_ENABLE_ATOMIC_WRITE... +Time: ioerr6.test 6 ms +Time: istrue.test 13 ms +Time: join.test 31 ms +Time: join2.test 15 ms +Time: join3.test 100 ms +Time: join4.test 7 ms +Time: join5.test 306 ms +Time: join6.test 9 ms +Time: journal1.test 6 ms +Time: journal2.test 15 ms +Time: journal3.test 8 ms +Time: jrnlmode.test 18 ms +Time: jrnlmode2.test 7 ms +Time: jrnlmode3.test 20 ms +Time: json101.test 18 ms +Time: json102.test 14 ms +Time: json103.test 8 ms +Time: json104.test 7 ms +Time: json105.test 9 ms +Time: keyword1.test 40 ms +Time: lastinsert.test 11 ms +Time: laststmtchanges.test 11 ms + (14 ms - want less than 1000) (15 ms - want less than 1000) Time: like.test 31 ms +Time: like2.test 28 ms +Time: like3.test 5 ms +Time: limit.test 42 ms +Time: limit2.test 18 ms +Time: loadext.test 5 ms +Time: loadext2.test 5 ms +Time: lock.test 819 ms +Time: lock2.test 18 ms +Time: lock3.test 9 ms +Time: lock4.test 53 ms +Time: lock5.test 11 ms +Time: lock6.test 5 ms +Time: lock7.test 6 ms +Time: lookaside.test 7 ms +VERSION: 3.33.0 2020-08-14 13:23:32 fca8dc8b578f215a969cd899336378966156154710873e68b3d9ac5881b0ff3f +Time: main.test 9 ms +This is a test. Ignore the error that follows: +Memory dump to file memdump.txt... +open-file-count=0 +Time: malloc.test 20411 ms +Time: malloc3.test 1730 ms +Time: malloc4.test 7 ms +Highwater mark: 4691200 + (Highwater mark: 1708136) (Highwater mark: 87832) Time: malloc5.test 119 ms +Time: malloc6.test 437 ms +open-file-count=0 +Time: malloc7.test 85 ms +Time: malloc8.test 402 ms +Time: malloc9.test 117 ms +Time: mallocA.test 7398 ms +Time: mallocB.test 139 ms +Time: mallocC.test 738 ms +Time: mallocD.test 648 ms +Time: mallocE.test 260 ms +Time: mallocF.test 415 ms +Time: mallocG.test 420 ms +Time: mallocH.test 346 ms +Time: mallocI.test 612 ms +Time: mallocJ.test 353 ms +Time: mallocK.test 6007 ms +Time: mallocL.test 800 ms +Time: mallocM.test 21 ms +Time: manydb.test 297 ms +Time: mem5.test 5 ms +Time: memdb.test 177 ms +Time: memdb1.test 33 ms +Time: memsubsys1.test 105 ms +Time: memsubsys2.test 6 ms +Time: minmax.test 18 ms +Time: minmax2.test 13 ms +Time: minmax3.test 12 ms +Time: minmax4.test 13 ms +Time: misc1.test 127 ms +Time: misc2.test 16 ms +Time: misc3.test 15 ms +Time: misc4.test 10 ms +Time: misc5.test 62 ms +Time: misc6.test 5 ms +Time: misc7.test 2963 ms +Time: misc8.test 10 ms +Time: misuse.test 8 ms +Time: mjournal.test 8 ms +Time: mmap1.test 239 ms +Time: mmap2.test 151 ms +Time: mmap3.test 15 ms +Time: mmap4.test 9891 ms +Time: mmapfault.test 638 ms +Time: mmapwarm.test 55 ms +Time: multiplex.test 624 ms +Time: multiplex2.test 155 ms +SQLite compiled without SQLITE_ENABLE_8_3_NAMES. Skipping tests multiplex3-*. +Time: multiplex3.test 6 ms +Time: multiplex4.test 13 ms +Time: mutex1.test 8 ms +Time: mutex2.test 6 ms +Time: nan.test 27 ms +Time: nockpt.test 17 ms +Time: nolock.test 22 ms +Time: normalize.test 6 ms +Time: notify1.test 400 ms +WARNING: Multi-threaded tests skipped: Linked against a non-threadsafe Tcl build +Time: notify2.test 5 ms +Time: notify3.test 9 ms +Time: notnull.test 21 ms +Time: null.test 9 ms +Time: nulls1.test 16 ms +Time: numcast.test 7 ms +Time: numindex1.test 8 ms +Time: offset1.test 8 ms +Time: openv2.test 6 ms +Time: orderby1.test 164 ms +Time: orderby2.test 9 ms +Time: orderby3.test 7 ms +Time: orderby4.test 7 ms +Time: orderby5.test 10 ms +Time: orderby6.test 79 ms +Time: orderby7.test 5 ms +Time: orderby8.test 114 ms +Time: orderby9.test 7 ms +Time: orderbyA.test 15 ms +Time: oserror.test 92 ms +Time: ovfl.test 47 ms +Time: pager1.test 1224 ms +Time: pager2.test 2268 ms +Time: pager3.test 8 ms +Time: pager4.test 7 ms +Time: pagerfault.test 32501 ms +Time: pagerfault2.test 40716 ms +Time: pagerfault3.test 32 ms +Time: pageropt.test 8 ms +Time: pagesize.test 78 ms +Time: parser1.test 7 ms +Time: pcache.test 8 ms +Time: pcache2.test 8 ms +Time: percentile.test 1444 ms +Time: pragma.test 57 ms +Time: pragma2.test 16 ms +Time: pragma3.test 16 ms +Time: pragma4.test 72 ms +Time: pragma5.test 7 ms +Time: pragmafault.test 116 ms +Time: prefixes.test 7 ms +Time: printf.test 289 ms +Time: printf2.test 8 ms +Time: progress.test 8 ms +Time: ptrchng.test 8 ms +Time: pushdown.test 7 ms +Time: queryonly.test 7 ms +Time: quota-glob.test 8 ms +Time: quota.test 270 ms +Time: quota2.test 10 ms +Time: quote.test 9 ms +Time: randexpr1.test 510 ms +Time: rdonly.test 7 ms +Time: recover.test 5 ms +Time: regexp1.test 9 ms +Time: regexp2.test 8 ms +Time: reindex.test 10 ms +Time: resetdb.test 13 ms +Time: resolver01.test 10 ms +Time: rollback.test 7 ms +Time: rollback2.test 35 ms +Time: rollbackfault.test 25 ms +Time: round1.test 4069 ms +Time: rowallock.test 28 ms +Time: rowhash.test 1155 ms +Time: rowid.test 43 ms +Time: rowvalue.test 30 ms +Time: rowvalue2.test 552 ms +Time: rowvalue3.test 20 ms +Time: rowvalue4.test 41 ms +Time: rowvalue5.test 7 ms +Time: rowvalue6.test 6 ms +Time: rowvalue7.test 7 ms +Time: rowvalue8.test 6 ms +Time: rowvalue9.test 18 ms +Time: rowvaluefault.test 27 ms +Time: rowvaluevtab.test 25 ms +Time: savepoint.test 130 ms +Time: savepoint2.test 787 ms +Time: savepoint4.test 29488 ms +Time: savepoint5.test 11 ms +Time: savepoint6.test 84091 ms +Time: savepoint7.test 44 ms +Time: savepointfault.test 3233 ms +Time: scanstatus.test 5 ms +Time: schema.test 10 ms +Time: schema2.test 10 ms +Time: schema3.test 47 ms +Time: schema4.test 13 ms +Time: schema5.test 7 ms +Time: schema6.test 15 ms +Time: schemafault.test 9 ms +Time: securedel.test 6 ms +Time: securedel2.test 15146 ms +Time: select1.test 35 ms +time with cache: 111504 microseconds per iteration +time without cache: 290876 microseconds per iteration +Time: select2.test 436 ms +Time: select3.test 25 ms +Time: select4.test 23 ms +Time: select5.test 11 ms +Time: select6.test 18 ms +Time: select7.test 13 ms +Time: select8.test 6 ms +Time: select9.test 4086 ms +Time: selectA.test 35 ms +Time: selectB.test 31 ms +Time: selectC.test 11 ms +Time: selectD.test 12 ms +Time: selectE.test 8 ms +Time: selectF.test 6 ms +Time: selectG.test 620 ms +Time: server1.test 5 ms +Time: shared.test 161 ms +Time: shared2.test 25 ms +Time: shared3.test 13 ms +Time: shared4.test 9 ms +Time: shared6.test 10 ms +Time: shared7.test 7 ms +Time: shared8.test 7 ms +Time: shared9.test 16 ms +WARNING: Multi-threaded tests skipped: Linked against a non-threadsafe Tcl build +Time: sharedA.test 9 ms +WARNING: Multi-threaded tests skipped: Linked against a non-threadsafe Tcl build +Time: sharedB.test 5 ms +Time: shared_err.test 21532 ms +Time: sharedlock.test 7 ms +Time: shell1.test 6 ms +Time: shell2.test 5 ms +Time: shell3.test 5 ms +Time: shell4.test 5 ms +Time: shell5.test 5 ms +Time: shell6.test 5 ms +Time: shell7.test 5 ms +Time: shell8.test 5 ms +Time: shmlock.test 1005 ms +Time: shortread1.test 6 ms +Time: shrink.test 20 ms +Time: sidedelete.test 120 ms +Time: skipscan1.test 19 ms +Time: skipscan2.test 59 ms +Time: skipscan3.test 13 ms +Time: skipscan5.test 52 ms +Time: skipscan6.test 13 ms +Time: snapshot.test 19 ms +Time: snapshot2.test 11 ms +Time: snapshot3.test 6 ms +Time: snapshot4.test 7 ms +Time: snapshot_fault.test 1604 ms +Time: snapshot_up.test 8 ms +Time: softheap1.test 7 ms +Time: sort.test 804 ms +Time: sort2.test 7661 ms +Time: sort3.test 43257 ms +Time: sort4.test 10793 ms +Time: sort5.test 352 ms +Time: sorterref.test 19 ms +singlethread +singlethread +singlethread +singlethread +Time: sortfault.test 119059 ms +SQLite 2020-08-14 13:23:32 fca8dc8b578f215a969cd899336378966156154710873e68b3d9ac5881b0ff3f +speed1-insert1... 248901 uS 200883.08203 row/s +speed1-insert2... 430291 uS 116200.43180 row/s +speed1-select1... 278449 uS 8978304.82422 row/s +speed1-select2... 1137023 uS 2198724.21226 row/s +speed1-createidx... 122436 uS 1225129.86377 row/s +speed1-select3... 127382 uS 39252.01363 stmt/s +speed1-select4... 624361 uS 160163.75142 row/s +speed1-select5... 871717 uS 114716.12920 row/s +speed1-select6... 441793 uS 113175.17480 row/s +speed1-vacuum... 202687 uS 493371.55318 row/s +speed1-update1... 87514 uS 57133.71575 stmt/s +speed1-update2... 577432 uS 86590.28249 row/s +speed1-update3... 176566 uS 283180.22722 row/s +speed1-update4... 738474 uS 67707.19077 row/s +speed1-delete1... 8512 uS 5874060.15038 row/s +speed1-copy1... 248160 uS 201482.91425 row/s +speed1-delete2... 169480 uS 295020.06136 row/s +speed1-copy2... 237278 uS 210723.28661 row/s +speed1-drop1... 10065 uS 4967709.88574 row/s +speed1-copy3... 25776 uS 1939788.95096 row/s +speed1-random1... 60246 uS 829930.61780 row/s +speed1-random-del1... 93988 uS 212793.12253 row/s +speed1-random-del2... 72519 uS 275789.79302 row/s +speed1 6991050 uS TOTAL +Time: speed1.test 8822 ms +SQLite 2020-08-14 13:23:32 fca8dc8b578f215a969cd899336378966156154710873e68b3d9ac5881b0ff3f +speed1p-insert1... 195707 uS 255483.96327 row/s +speed1p-insert2... 363167 uS 137677.70750 row/s +speed1p-select1... 357620 uS 6990660.47760 row/s +speed1p-select2... 1210162 uS 2065839.11906 row/s +speed1p-createidx... 146275 uS 1025465.73235 row/s +speed1p-select3... 94878 uS 52699.25589 stmt/s +speed1p-select4... 361310 uS 276770.64017 row/s +speed1p-select5... 494396 uS 202267.00863 row/s +speed1p-select6... 258370 uS 193520.91961 row/s +speed1p-vacuum... 197715 uS 505778.51959 row/s +speed1p-update1... 66596 uS 75079.58436 stmt/s +speed1p-update2... 441695 uS 113200.28526 row/s +speed1p-update3... 282371 uS 177072.00810 row/s +speed1p-update4... 630399 uS 79314.84663 row/s +speed1p-delete1... 9353 uS 5345878.32781 row/s +speed1p-copy1... 431113 uS 115978.87329 row/s +speed1p-delete2... 357336 uS 139924.32892 row/s +speed1p-copy2... 435815 uS 114727.57936 row/s +speed1p-drop1... 10183 uS 4910144.35824 row/s +speed1p-copy3... 24586 uS 2033677.70276 row/s +speed1p-random1... 63307 uS 789802.07560 row/s +speed1p-random-del1.. 101823 uS 196419.27659 row/s +speed1p-random-del2.. 77913 uS 256696.57182 row/s +speed1 6612090 uS TOTAL +Time: speed1p.test 8409 ms +SQLite 2020-08-14 13:23:32 fca8dc8b578f215a969cd899336378966156154710873e68b3d9ac5881b0ff3f +speed2-insert1... 277566 uS 180137.33671 row/s +speed2-insert2... 465669 uS 107372.40400 row/s +speed2-select1a... 280267 uS 8920065.50896 row/s +speed2-select2a... 1188440 uS 2103597.99401 row/s +speed2-vacuum1... 103240 uS 968616.81519 row/s +speed2-select1b... 277987 uS 8993226.30195 row/s +speed2-select2b... 1188388 uS 2103690.04063 row/s +speed2-createidx... 133075 uS 1127183.91884 row/s +speed2-select3a... 146862 uS 34045.56659 stmt/s +speed2-select4a... 820320 uS 121903.64736 row/s +speed2-select5a... 1013170 uS 98700.11943 row/s +speed2-select6a... 501009 uS 99798.60641 row/s +speed2-vacuum2... 193667 uS 516350.23003 row/s +speed2-select3b... 137660 uS 36321.37149 stmt/s +speed2-select4b... 792706 uS 126150.17421 row/s +speed2-select5b... 990849 uS 100923.55142 row/s +speed2-select6b... 477650 uS 104679.15838 row/s +speed2-update1... 90447 uS 55280.99329 stmt/s +speed2-update2... 631125 uS 79223.60864 row/s +speed2-update3... 172404 uS 290016.47294 row/s +speed2-update4... 787604 uS 63483.67962 row/s +speed2-delete1... 8274 uS 6043026.34759 row/s +speed2-copy1... 247097 uS 202349.68454 row/s +speed2-delete2... 174370 uS 286746.57338 row/s +speed2-copy2... 246299 uS 203005.29032 row/s +speed2-drop1... 8303 uS 6021919.78803 row/s +speed2-copy3... 23905 uS 2091612.63334 row/s +speed2-random1... 60381 uS 828075.05672 row/s +speed2-random-del1... 95661 uS 209071.61748 row/s +speed2-random-del2... 74299 uS 269182.62695 row/s +speed2 11608694 uS TOTAL +Time: speed2.test 13964 ms +SQLite 2020-08-14 13:23:32 fca8dc8b578f215a969cd899336378966156154710873e68b3d9ac5881b0ff3f +speed3-1.incrvacuum.. 6245 uS 160128.10248 row/s +speed3-1.normal... 10106 uS 98951.11815 row/s +Incrvacuum: Read 1098, wrote 94 +Normal : Read 9014, wrote 43 +speed3-2.incrvacuum.. 4610 uS 216919.73970 row/s +speed3-2.normal... 8680 uS 115207.37327 row/s +Incrvacuum: Read 2841, wrote 1 +Normal : Read 9993, wrote 0 +Time: speed3.test 248 ms +SQLite 2020-08-14 13:23:32 fca8dc8b578f215a969cd899336378966156154710873e68b3d9ac5881b0ff3f +speed4-join1... 38191 uS 1309208.97594 row/s +speed4-join2... 294957 uS 169516.23457 row/s +speed4-view1... 153461 uS 65163.13591 stmt/s +speed4-table1... 108996 uS 91746.48611 stmt/s +speed4-subselect1... 274492 uS 36430.93423 stmt/s +speed4-trigger1... 222928 uS 44857.53248 stmt/s +speed4-trigger2... 135336 uS 73890.16965 stmt/s +speed4-trigger3... 128308 uS 77937.46298 stmt/s +speed4-notrigger1... 64184 uS 155802.06905 stmt/s +speed4-notrigger2... 64303 uS 155513.73964 stmt/s +speed4-notrigger3... 45303 uS 220735.93360 stmt/s +speed4 1530459 uS TOTAL +Time: speed4.test 4040 ms +SQLite 2020-08-14 13:23:32 fca8dc8b578f215a969cd899336378966156154710873e68b3d9ac5881b0ff3f +speed4p-join1... 39390 uS 1269357.70500 row/s +speed4p-join2... 256000 uS 195312.50000 row/s +speed4p-view1... 64052 uS 156123.14994 stmt/s +speed4p-table1... 50315 uS 198747.88830 stmt/s +speed4p-subselect1... 63196 uS 158237.86316 stmt/s +speed4p-rowid-update. 32183 uS 310723.05254 stmt/s +speed4p-insert-ignore 109408 uS 457004.97221 row/s +speed4p-unique-update 137642 uS 228781.91250 stmt/s +speed4p-trigger1... 61838 uS 161712.86264 stmt/s +speed4p-trigger2... 52786 uS 189444.17080 stmt/s +speed4p-trigger3... 33711 uS 296639.07923 stmt/s +speed4p-notrigger1... 30983 uS 322757.64129 stmt/s +speed4p-notrigger2... 43046 uS 232309.62226 stmt/s +speed4p-notrigger3... 24440 uS 409165.30278 stmt/s +speed4 998990 uS TOTAL +Time: speed4p.test 3506 ms +Time: spellfix.test 70 ms +Time: spellfix2.test 10 ms +Time: spellfix3.test 6 ms +Time: spellfix4.test 163 ms +Time: sqldiff1.test 5 ms +Time: sqllimits1.test 910 ms +Time: sqllog.test 6 ms +Time: stat.test 23 ms +Time: statfault.test 259 ms +Time: stmt.test 9 ms +Time: stmtvtab1.test 7 ms +Time: subjournal.test 19 ms +Time: subquery.test 15 ms +Time: subquery2.test 11 ms +Time: subselect.test 9 ms +Time: substr.test 15 ms +Time: subtype1.test 6 ms +Time: superlock.test 37 ms +Time: swarmvtab.test 1427 ms +Time: swarmvtab2.test 19 ms +Time: swarmvtab3.test 195 ms +Time: swarmvtabfault.test 1436 ms +Time: symlink.test 18 ms +Time: symlink2.test 7 ms +Time: sync.test 7 ms +Time: sync2.test 7 ms +Time: syscall.test 76 ms +Time: sysfault.test 1134 ms +Time: tabfunc01.test 12 ms +Time: table.test 726 ms +Time: tableapi.test 136 ms +Time: tableopts.test 7 ms +Time: tclsqlite.test 17 ms +Time: tempdb.test 7 ms +Time: tempdb2.test 10 ms +Time: tempfault.test 17327 ms +Time: temptable.test 13 ms +Time: temptable2.test 3808 ms +Time: temptable3.test 8 ms +Time: temptrigger.test 11 ms +WARNING: Multi-threaded tests skipped: Linked against a non-threadsafe Tcl build +Time: thread001.test 5 ms +WARNING: Multi-threaded tests skipped: Linked against a non-threadsafe Tcl build +Time: thread002.test 5 ms +WARNING: Multi-threaded tests skipped: Linked against a non-threadsafe Tcl build +Time: thread003.test 5 ms +WARNING: Multi-threaded tests skipped: Linked against a non-threadsafe Tcl build +Time: thread004.test 5 ms +WARNING: Multi-threaded tests skipped: Linked against a non-threadsafe Tcl build +Time: thread005.test 5 ms +WARNING: Multi-threaded tests skipped: Linked against a non-threadsafe Tcl build +Time: thread1.test 7 ms +WARNING: Multi-threaded tests skipped: Linked against a non-threadsafe Tcl build +Time: thread2.test 5 ms +Time: tkt-02a8e81d44.test 6 ms +Time: tkt-18458b1a.test 7 ms +Time: tkt-26ff0c2d1e.test 6 ms +Time: tkt-2a5629202f.test 8 ms +Time: tkt-2d1a5c67d.test 51 ms +Time: tkt-2ea2425d34.test 6 ms +Time: tkt-31338dca7e.test 10 ms +Time: tkt-313723c356.test 35 ms +Time: tkt-385a5b56b9.test 7 ms +Time: tkt-38cb5df375.test 24 ms +Time: tkt-3998683a16.test 6 ms +Time: tkt-3a77c9714e.test 7 ms +Time: tkt-3fe897352e.test 7 ms +Time: tkt-4a03edc4c8.test 6 ms +Time: tkt-4c86b126f2.test 7 ms +Time: tkt-4dd95f6943.test 38 ms +Time: tkt-4ef7e3cfca.test 8 ms +Time: tkt-54844eea3f.test 7 ms +Time: tkt-5d863f876e.test 26 ms +Time: tkt-5e10420e8d.test 14 ms +Time: tkt-5ee23731f.test 6 ms +Time: tkt-6bfb98dfc0.test 7 ms +Time: tkt-752e1646fc.test 6 ms +Time: tkt-78e04e52ea.test 8 ms +Time: tkt-7a31705a7e6.test 6 ms +Time: tkt-7bbfb7d442.test 9 ms +Time: tkt-80ba201079.test 10 ms +Time: tkt-80e031a00f.test 15 ms +Time: tkt-8454a207b9.test 8 ms +Time: tkt-868145d012.test 6 ms +Time: tkt-8c63ff0ec.test 6 ms +Time: tkt-91e2e8ba6f.test 6 ms +Time: tkt-94c04eaadb.test 5 ms +Time: tkt-9a8b09f8e6.test 10 ms +Time: tkt-9d68c883.test 52 ms +Time: tkt-9f2eb3abac.test 99 ms +Time: tkt-a7b7803e.test 9 ms +Time: tkt-a7debbe0.test 11 ms +Time: tkt-a8a0d2996a.test 7 ms +Time: tkt-b1d3a2e531.test 9 ms +Time: tkt-b351d95f9.test 6 ms +Time: tkt-b72787b1.test 6 ms +Time: tkt-b75a9ca6b0.test 7 ms +Time: tkt-ba7cbfaedc.test 9 ms +Time: tkt-bd484a090c.test 5 ms +Time: tkt-bdc6bbbb38.test 5 ms +Time: tkt-c48d99d690.test 6 ms +Time: tkt-c694113d5.test 6 ms +Time: tkt-cbd054fa6b.test 9 ms +Time: tkt-d11f09d36e.test 116 ms +Time: tkt-d635236375.test 6 ms +Time: tkt-d82e3f3721.test 8 ms +Time: tkt-f3e5abed55.test 8 ms +Time: tkt-f67b41381a.test 10 ms +Time: tkt-f777251dc7a.test 8 ms +Time: tkt-f7b4edec.test 6 ms +Time: tkt-f973c7ac31.test 7 ms +Time: tkt-fa7bf5ec.test 6 ms +Time: tkt-fc62af4523.test 223 ms +Time: tkt-fc7bd6358f.test 13 ms +Time: tkt1435.test 6 ms +Time: tkt1443.test 6 ms +Time: tkt1444.test 6 ms +Time: tkt1449.test 14 ms +Time: tkt1473.test 11 ms +Time: tkt1501.test 6 ms +Time: tkt1512.test 6 ms +Time: tkt1514.test 6 ms +Time: tkt1536.test 6 ms +Time: tkt1537.test 8 ms +Time: tkt1567.test 23 ms +Time: tkt1644.test 7 ms +Time: tkt1667.test 156 ms +Time: tkt1873.test 6 ms +Time: tkt2141.test 10 ms +Time: tkt2192.test 11 ms +Time: tkt2213.test 5 ms +Time: tkt2251.test 7 ms +Time: tkt2285.test 6 ms +Time: tkt2332.test 42 ms +Time: tkt2339.test 7 ms +Time: tkt2391.test 6 ms +Time: tkt2409.test 212 ms +Time: tkt2450.test 6 ms +Time: tkt2565.test 13 ms +Time: tkt2640.test 8 ms +Time: tkt2643.test 6 ms +Time: tkt2686.test 2641 ms +Time: tkt2767.test 7 ms +Time: tkt2817.test 8 ms +Time: tkt2820.test 8 ms +Time: tkt2822.test 9 ms +Time: tkt2832.test 7 ms +Time: tkt2854.test 8 ms +Time: tkt2920.test 7 ms +Time: tkt2927.test 12 ms +Time: tkt2942.test 6 ms +Time: tkt3080.test 7 ms +Time: tkt3093.test 6 ms +Time: tkt3121.test 7 ms +Time: tkt3201.test 7 ms +Time: tkt3292.test 7 ms +Time: tkt3298.test 7 ms +Time: tkt3334.test 7 ms +Time: tkt3346.test 7 ms +Time: tkt3357.test 6 ms +Time: tkt3419.test 7 ms +Time: tkt3424.test 6 ms +Time: tkt3442.test 6 ms +Time: tkt3457.test 6 ms +Time: tkt3461.test 6 ms +Time: tkt3493.test 9 ms +Time: tkt3508.test 6 ms +Time: tkt3522.test 6 ms +Time: tkt3527.test 7 ms +Time: tkt3541.test 7 ms +Time: tkt3554.test 7 ms +Time: tkt3581.test 6 ms +Time: tkt35xx.test 7 ms +Time: tkt3630.test 6 ms +Time: tkt3718.test 16 ms +Time: tkt3731.test 6 ms +Time: tkt3757.test 6 ms +Time: tkt3761.test 6 ms +Time: tkt3762.test 12 ms +Time: tkt3773.test 6 ms +Time: tkt3791.test 6 ms +Time: tkt3793.test 14 ms +Time: tkt3810.test 7 ms +Time: tkt3824.test 8 ms +Time: tkt3832.test 6 ms +Time: tkt3838.test 7 ms +Time: tkt3841.test 6 ms +Time: tkt3871.test 9 ms +Time: tkt3879.test 6 ms +Time: tkt3911.test 6 ms +Time: tkt3918.test 7 ms +Time: tkt3922.test 6 ms +Time: tkt3929.test 11 ms +Time: tkt3935.test 6 ms +Time: tkt3992.test 7 ms +Time: tkt3997.test 6 ms +Time: tkt4018.test 606 ms +Time: tokenize.test 12 ms +Time: tpch01.test 11 ms +Time: trace.test 10 ms +Time: trace2.test 6 ms +Time: trace3.test 9 ms +Time: trans.test 3619 ms +Time: trans2.test 8266 ms +Time: trans3.test 8 ms +Time: transitive1.test 18 ms +Time: trigger1.test 23 ms +Time: trigger2.test 78 ms +Time: trigger3.test 10 ms +Time: trigger4.test 12 ms +Time: trigger5.test 6 ms +Time: trigger6.test 6 ms +Time: trigger7.test 8 ms +Time: trigger8.test 6 ms +Time: trigger9.test 11 ms +Time: triggerA.test 237 ms +Time: triggerB.test 68 ms +Time: triggerC.test 1538 ms +Time: triggerD.test 10 ms +Time: triggerE.test 8 ms +Time: triggerF.test 10 ms +Time: triggerG.test 8 ms +Time: triggerupfrom.test 10 ms +Time: trustschema1.test 13 ms +Time: types.test 36 ms +Time: types2.test 41 ms +Time: types3.test 7 ms +Time: unionvtab.test 30 ms +Time: unionvtabfault.test 1393 ms +Time: unique.test 11 ms +Time: unique2.test 11 ms +Time: unixexcl.test 55 ms +Time: unordered.test 9 ms +Time: update.test 76 ms +Time: update2.test 17 ms +Time: upfrom1.test 13 ms +Time: upfrom2.test 24 ms +Time: upfrom3.test 19 ms +Time: upfromfault.test 788 ms +Time: upsert1.test 15 ms +Time: upsert2.test 11 ms +Time: upsert3.test 7 ms +Time: upsert4.test 29 ms +Time: upsertfault.test 81 ms +Time: uri.test 26 ms +Time: uri2.test 5 ms +Time: userauth01.test 5 ms +Time: utf16align.test 8 ms +Time: vacuum-into.test 15 ms +Time: vacuum.test 41 ms +Time: vacuum2.test 15 ms +Time: vacuum3.test 9928 ms +Time: vacuum4.test 7 ms +Time: vacuum5.test 50 ms +Time: vacuummem.test 5 ms +Time: varint.test 80 ms +Time: view.test 1203 ms +Time: vtab1.test 156 ms +Time: vtab2.test 8 ms +Time: vtab3.test 8 ms +Time: vtab4.test 8 ms +Time: vtab5.test 8 ms +Time: vtab6.test 468 ms +Time: vtab7.test 10 ms +Time: vtab8.test 8 ms +Time: vtab9.test 7 ms +Time: vtabA.test 11 ms +Time: vtabB.test 7 ms +Time: vtabC.test 1432 ms +Time: vtabD.test 1123 ms +Time: vtabE.test 7 ms +Time: vtabF.test 7 ms +Time: vtabH.test 23 ms +Time: vtabI.test 10 ms +Time: vtabJ.test 9 ms +Time: vtab_alter.test 9 ms +Time: vtab_err.test 28735 ms +Time: vtab_shared.test 17 ms +Time: vtabdrop.test 9 ms +Time: wal.test 730 ms +Time: wal2.test 154 ms +Time: wal3.test 3140 ms +Time: wal4.test 113 ms +Time: wal5.test 785 ms +Time: wal6.test 17 ms +Time: wal64k.test 306 ms +Time: wal7.test 15 ms +Time: wal8.test 8 ms +Time: wal9.test 352 ms +Time: walbak.test 32 ms +Time: walbig.test 8 ms +Time: walblock.test 5 ms +Time: walcksum.test 42 ms +Time: walcrash.test 7153 ms +Time: walcrash2.test 6956 ms +Time: walcrash3.test 137354 ms +Time: walcrash4.test 1600 ms +Time: walfault.test 9859 ms +Time: walfault2.test 884 ms +Time: walhook.test 8 ms +Time: walmode.test 18 ms +Time: walnoshm.test 10 ms +Time: waloverwrite.test 39 ms +Time: walpersist.test 21 ms +# Warning: This next test case causes SQLite to call xSleep(1) 100 times. +# Normally this equates to a delay of roughly 10 seconds, but if SQLite +# is built on unix without HAVE_USLEEP defined, it may be much longer. +# Warning: Same again! +# Warning: Third time! +# Warning: Another slow test! +# Warning: Last one! +Time: walprotocol.test 19983 ms +Time: walprotocol2.test 10 ms +Time: walro.test 59 ms +Time: walro2.test 94 ms +Time: walrofault.test 146 ms +Time: walsetlk.test 26072 ms +Time: walshared.test 16 ms +Time: walslow.test 12073 ms +WARNING: Multi-threaded tests skipped: Linked against a non-threadsafe Tcl build +Time: walthread.test 9 ms +# WARNING: This next test takes around 12 seconds +Time: walvfs.test 10003 ms +Time: where.test 48 ms +Time: where2.test 33 ms +Time: where3.test 23 ms +Time: where4.test 12 ms +Time: where5.test 9 ms +Time: where6.test 8 ms +Time: where7.test 316 ms +Time: where8.test 2268 ms +Time: where9.test 31 ms +Time: whereA.test 9 ms +Time: whereB.test 16 ms +Time: whereC.test 10 ms +Time: whereD.test 20 ms +Time: whereE.test 23 ms +Time: whereF.test 16 ms +Time: whereG.test 21 ms +Time: whereH.test 11 ms +Time: whereI.test 8 ms +Time: whereJ.test 119 ms +Time: whereK.test 7 ms +Time: whereL.test 11 ms +Time: wherefault.test 2765 ms +Time: wherelfault.test 6 ms +Time: wherelimit.test 5 ms +Time: wherelimit2.test 5 ms +Time: win32heap.test 1 ms +Time: win32lock.test 2 ms +Time: win32longpath.test 2 ms +Time: win32nolock.test 1 ms +Time: window1.test 79 ms +Time: window2.test 25 ms +Time: window3.test 1579 ms +Time: window4.test 44 ms +Time: window5.test 7 ms +Time: window6.test 19 ms +Time: window7.test 9 ms +Time: window8.test 408 ms +Time: window9.test 12 ms +Time: windowA.test 9 ms +Time: windowB.test 14 ms +Time: windowerr.test 8 ms +Time: windowfault.test 2384 ms +Time: with1.test 1912 ms +Time: with2.test 25 ms +Time: with3.test 12 ms +Time: with4.test 7 ms +Time: withM.test 87 ms +Time: without_rowid1.test 24 ms +Time: without_rowid2.test 8 ms +Time: without_rowid3.test 127 ms +Time: without_rowid4.test 72 ms +Time: without_rowid5.test 9 ms +Time: without_rowid6.test 16 ms +Time: without_rowid7.test 7 ms +Time: writecrash.test 18607 ms +Time: zeroblob.test 19 ms +Time: zerodamage.test 8 ms +Time: zipfile.test 183 ms +Time: zipfile2.test 11 ms +Time: zipfilefault.test 350 ms +SQLite 2020-08-14 13:23:32 fca8dc8b578f215a969cd899336378966156154710873e68b3d9ac5881b0ff3f +0 errors out of 928259 tests on 3900x Linux 64-bit little-endian +WARNING: Multi-threaded tests skipped: Linked against a non-threadsafe Tcl build +All memory allocations freed - no leaks +Maximum memory usage: 9156360 bytes +Current memory usage: 0 bytes +Number of malloc() : -1 calls +--- PASS: TestTclTest (1535.30s) +PASS +ok modernc.org/sqlite 1559.895s +Sun Sep 27 13:33:14 CEST 2020 diff --git a/testdata/testlog-linux-arm b/testdata/testlog-linux-arm deleted file mode 100644 index 998c9d6..0000000 --- a/testdata/testlog-linux-arm +++ /dev/null @@ -1,1313 +0,0 @@ -go version go1.15.2 linux/arm -Linux pi32 5.4.0-1018-raspi #20-Ubuntu SMP Sun Sep 6 05:15:38 UTC 2020 armv7l armv7l armv7l GNU/Linux -test binary compiled for linux/arm -=== RUN TestScalar ---- PASS: TestScalar (0.18s) -=== RUN TestBlob ---- PASS: TestBlob (0.07s) -=== RUN TestIssue11 ---- PASS: TestIssue11 (2.32s) -=== RUN TestMemDB ---- PASS: TestMemDB (24.46s) -=== RUN TestConcurrentGoroutines - all_test.go:507: 8 goroutines concurrently inserted 40000 rows in 13.833980248s ---- PASS: TestConcurrentGoroutines (17.00s) -=== RUN TestConcurrentProcesses - all_test.go:588: config01.test: Summary: 0 errors out of 163 tests - all_test.go:588: config02.test: Summary: 0 errors out of 627 tests - all_test.go:588: crash01.test: Summary: 0 errors out of 94 tests - all_test.go:588: multiwrite01.test: Summary: 0 errors out of 81 tests ---- PASS: TestConcurrentProcesses (63.90s) -=== RUN TestIssue19 ---- PASS: TestIssue19 (0.08s) -=== RUN TestIssue20 ---- PASS: TestIssue20 (7.97s) -=== RUN TestNoRows ---- PASS: TestNoRows (0.02s) -=== RUN TestNamedParameters ---- PASS: TestNamedParameters (0.03s) -=== RUN TestTclTest -Time: 8_3_names.test 43 ms -Time: affinity2.test 70 ms -Time: affinity3.test 62 ms -Time: aggerror.test 52 ms -Time: aggnested.test 97 ms -Time: alias.test 37 ms -Time: alter.test 261 ms -Time: alter2.test 113 ms -Time: alter3.test 305 ms -Time: alter4.test 179 ms -Time: alterauth.test 50 ms -Time: alterauth2.test 52 ms -Time: altercol.test 495 ms -Time: alterlegacy.test 212 ms -Time: altermalloc.test 162142 ms -Time: altermalloc2.test 23773 ms -Time: altertab.test 271 ms -Time: altertab2.test 206 ms -Time: altertab3.test 218 ms -Time: amatch1.test 36 ms -Time: analyze.test 133 ms -Time: analyze3.test 380 ms -Time: analyze4.test 83 ms -Time: analyze5.test 772 ms -Time: analyze6.test 74 ms -Time: analyze7.test 55 ms -Time: analyze8.test 648 ms - (nByte=2731 nByte2=3731)Time: analyze9.test 3589 ms -Time: analyzeC.test 73 ms -Time: analyzeD.test 497 ms -Time: analyzeE.test 103 ms -Time: analyzeF.test 237 ms -Time: analyzeG.test 48 ms -analyzer1 cannot run because /tmp/sqlite-test-601168668/sqlite3_analyzer is not available -Time: analyzer1.test 37 ms -Skipping async2 tests: not compiled with required features -Time: async2.test 36 ms -Skipping async3 tests: not compiled with required features -Time: async3.test 36 ms -Time: async4.test 37 ms -Time: async5.test 36 ms -Time: atof1.test 36 ms -No f2fs atomic-batch-write support. Skipping tests... -Time: atomic.test 37 ms -No f2fs atomic-batch-write support. Skipping tests... -Time: atomic2.test 39 ms -Time: attach.test 149 ms -Time: attach2.test 78 ms -Time: attach3.test 75 ms -Testing with SQLITE_MAX_ATTACHED=10 -Time: attach4.test 113 ms -Time: attachmalloc.test 17078 ms -Time: auth.test 271 ms -Time: auth2.test 50 ms -Time: auth3.test 53 ms -Time: autoanalyze1.test 36 ms -Time: autoinc.test 184 ms -Time: autoindex1.test 419 ms -Time: autoindex2.test 77 ms -Time: autoindex3.test 57 ms -Time: autoindex4.test 52 ms -Time: autoindex5.test 68 ms -Time: autovacuum.test 1537 ms -Time: autovacuum_ioerr2.test 7316 ms -Time: avtrans.test 34407 ms -WARNING: No historical binaries to test against. -WARNING: Omitting backwards-compatibility tests -Time: backcompat.test 367 ms -Time: backup.test 7148 ms -Time: backup2.test 397 ms -Time: backup4.test 57 ms -Time: backup5.test 49 ms -Time: backup_ioerr.test 1576738 ms -Time: backup_malloc.test 70406 ms -Time: badutf.test 47 ms -Time: badutf2.test 53 ms -Time: bestindex1.test 77 ms -Time: bestindex2.test 51 ms -Time: bestindex3.test 65 ms -Time: bestindex4.test 1371 ms -Time: bestindex5.test 73 ms -Time: bestindex6.test 50 ms -Time: bestindex7.test 51 ms -Time: between.test 79 ms -Time: bigfile.test 64 ms -Time: bigfile2.test 47 ms -Skipping bigmmap.test - requires SQLITE_MAX_MMAP_SIZE >= 8G -Time: bigmmap.test 38 ms -Time: bigrow.test 876 ms -Time: bind.test 125 ms -Time: bindxfer.test 41 ms -Time: bitvec.test 4626 ms -Time: blob.test 53 ms -Time: boundary1.test 671 ms -Time: boundary2.test 1400 ms -Time: boundary3.test 1134 ms -Time: boundary4.test 119 ms -Time: btree01.test 3128 ms -Time: btree02.test 60 ms -Time: btreefault.test 2698 ms -Time: busy.test 45 ms -Time: busy2.test 6237 ms -Time: cache.test 101 ms -Time: cacheflush.test 111 ms -Time: cachespill.test 70 ms -Time: capi2.test 102 ms -Time: capi3.test 239 ms -Time: capi3b.test 50 ms -Time: capi3c.test 259 ms -Time: capi3d.test 1155 ms -Time: capi3e.test 79 ms -Time: cast.test 75 ms -Time: cffault.test 4393 ms -Time: check.test 137 ms -Time: checkfault.test 160 ms -Time: chunksize.test 47 ms -Time: close.test 49 ms -Time: closure01.test 4845 ms -Time: coalesce.test 50 ms -Time: collate1.test 111 ms -Time: collate2.test 120 ms -Time: collate3.test 105 ms -Time: collate4.test 161 ms -Time: collate5.test 408 ms -Time: collate6.test 60 ms -Time: collate7.test 43 ms -Time: collate8.test 52 ms -Time: collate9.test 53 ms -Time: collateA.test 63 ms -Time: collateB.test 56 ms -Time: colmeta.test 84 ms -Time: colname.test 95 ms -Time: conflict.test 402 ms -Time: conflict2.test 396 ms -Time: conflict3.test 120 ms -Time: contrib01.test 56 ms -Time: corrupt.test 28665 ms -Time: corrupt2.test 239 ms -Time: corrupt3.test 48 ms -Time: corrupt4.test 45 ms -Time: corrupt5.test 42 ms -Time: corrupt6.test 66 ms -Time: corrupt7.test 46 ms -Time: corrupt8.test 248 ms -Time: corrupt9.test 77 ms -Time: corruptA.test 49 ms -Time: corruptB.test 573 ms -Time: corruptC.test 81529 ms -Time: corruptD.test 70 ms -Time: corruptE.test 98 ms -Time: corruptF.test 853 ms -Time: corruptG.test 46 ms -Time: corruptH.test 68 ms -Time: corruptI.test 105 ms -Time: corruptJ.test 52 ms -Time: corruptK.test 79 ms -Time: corruptL.test 252 ms -Time: corruptM.test 78 ms -Time: cost.test 167 ms -Time: count.test 1115 ms -Time: countofview.test 49 ms -Time: coveridxscan.test 60 ms -Time: crash.test 49937 ms -Time: crash2.test 15862 ms -Time: crash3.test 35888 ms -Time: crash4.test 20913 ms -Time: crash5.test 16174 ms -Time: crash6.test 23769 ms -Time: crash7.test 73863 ms -Time: crash8.test 1880 ms -Time: crashM.test 37 ms -Time: createtab.test 280 ms -Time: cse.test 197 ms -Time: csv01.test 67 ms -Time: ctime.test 57 ms -Time: cursorhint.test 37 ms -Time: cursorhint2.test 37 ms -Time: dataversion1.test 46 ms -Time: date.test 906 ms -Time: date2.test 106 ms -Time: dbdata.test 37 ms -Time: dbfuzz001.test 82 ms -Time: dbpage.test 56 ms -Time: dbstatus.test 57 ms -Time: dbstatus2.test 54 ms -Time: decimal.test 178 ms -Time: default.test 63 ms -Time: delete.test 567 ms -Time: delete2.test 50 ms -Time: delete3.test 3709 ms -Time: delete4.test 130 ms -Time: delete_db.test 134 ms -Time: descidx1.test 95 ms -Time: descidx2.test 56 ms -Time: descidx3.test 56 ms -Time: diskfull.test 4495 ms -Time: distinct.test 140 ms -Time: distinct2.test 127 ms -Time: distinctagg.test 46 ms -Time: e_blobbytes.test 2302 ms -Time: e_blobclose.test 429 ms -Time: e_blobopen.test 128 ms -Time: e_blobwrite.test 69 ms -Time: e_changes.test 169 ms -Time: e_createtable.test 1434 ms -Time: e_delete.test 101 ms -Time: e_droptrigger.test 656 ms -Time: e_dropview.test 234 ms -Time: e_expr.test 6278 ms -Time: e_fkey.test 18740 ms -Time: e_fts3.test 42 ms -Time: e_insert.test 186 ms -Time: e_reindex.test 146 ms -Time: e_resolve.test 104 ms -Time: e_select.test 538 ms -Time: e_select2.test 758 ms -Time: e_totalchanges.test 125 ms -Time: e_update.test 147 ms -Time: e_uri.test 158 ms -Time: e_vacuum.test 767 ms -Time: e_wal.test 72 ms -Time: e_walauto.test 6760 ms -Time: e_walckpt.test 815 ms -Time: e_walhook.test 55 ms -Time: emptytable.test 51 ms -Time: enc.test 170 ms -Time: enc2.test 142 ms -Time: enc3.test 51 ms -Time: enc4.test 398 ms -Time: eqp.test 113 ms -Time: errmsg.test 51 ms -Time: eval.test 59 ms -Time: exclusive.test 85 ms -Time: exclusive2.test 72 ms -Time: exec.test 44 ms -Time: exists.test 755 ms -Time: expr.test 551 ms -Time: expr2.test 44 ms -Time: extension01.test 46 ms -Time: fallocate.test 213 ms -Time: filectrl.test 44 ms -Time: filefmt.test 111 ms -Time: filter1.test 88 ms -Time: filter2.test 54 ms -Time: filterfault.test 589 ms -Time: fkey1.test 85 ms -Time: fkey2.test 934 ms -Time: fkey3.test 85 ms -Time: fkey4.test 45 ms -Time: fkey5.test 137 ms -Time: fkey6.test 79 ms -Time: fkey7.test 73 ms -Time: fkey8.test 141 ms -Time: fkey_malloc.test 26495 ms -Time: fordelete.test 82 ms -Time: format4.test 46 ms -Time: fts-9fd058691.test 37 ms -Time: fts1a.test 37 ms -Time: fts1b.test 37 ms -Time: fts1c.test 40 ms -Time: fts1d.test 37 ms -Time: fts1e.test 39 ms -Time: fts1f.test 37 ms -Time: fts1i.test 37 ms -Time: fts1j.test 37 ms -Time: fts1k.test 37 ms -Time: fts1l.test 37 ms -Time: fts1m.test 37 ms -Time: fts1n.test 36 ms -Time: fts1o.test 37 ms -Time: fts1porter.test 86 ms -Time: fts2.test 36 ms -Time: fts2a.test 37 ms -Time: fts2b.test 37 ms -Time: fts2c.test 40 ms -Time: fts2d.test 36 ms -Time: fts2e.test 37 ms -Time: fts2f.test 37 ms -Time: fts2g.test 37 ms -Time: fts2h.test 37 ms -Time: fts2i.test 37 ms -Time: fts2j.test 37 ms -Time: fts2k.test 37 ms -Time: fts2l.test 37 ms -Time: fts2m.test 37 ms -Time: fts2n.test 37 ms -Time: fts2o.test 46 ms -Time: fts2p.test 39 ms -Time: fts2q.test 38 ms -Time: fts2r.test 37 ms -Time: fts2token.test 37 ms -Time: fts3aa.test 38 ms -Time: fts3ab.test 37 ms -Time: fts3ac.test 40 ms -Time: fts3ad.test 37 ms -Time: fts3ae.test 37 ms -Time: fts3af.test 38 ms -Time: fts3ag.test 37 ms -Time: fts3ah.test 37 ms -Time: fts3ai.test 37 ms -Time: fts3aj.test 37 ms -Time: fts3ak.test 37 ms -Time: fts3al.test 37 ms -Time: fts3am.test 37 ms -Time: fts3an.test 37 ms -Time: fts3ao.test 37 ms -Time: fts3atoken.test 37 ms -Time: fts3auto.test 38 ms -Time: fts3aux1.test 39 ms -Time: fts3aux2.test 37 ms -Time: fts3b.test 37 ms -Time: fts3c.test 39 ms -Time: fts3comp1.test 37 ms -Time: fts3conf.test 37 ms -Time: fts3corrupt.test 37 ms -Time: fts3corrupt2.test 37 ms -Time: fts3corrupt3.test 37 ms -Time: fts3corrupt4.test 68 ms -Time: fts3corrupt5.test 38 ms -Time: fts3corrupt6.test 38 ms -Time: fts3cov.test 38 ms -Time: fts3d.test 39 ms -Time: fts3defer.test 41 ms -Time: fts3defer2.test 40 ms -Time: fts3defer3.test 39 ms -Time: fts3drop.test 37 ms -Time: fts3e.test 37 ms -Time: fts3expr.test 40 ms -Time: fts3expr2.test 37 ms -Time: fts3expr3.test 40 ms -Time: fts3expr4.test 37 ms -Time: fts3expr5.test 38 ms -Time: fts3fault.test 38 ms -Time: fts3fault2.test 38 ms -Time: fts3first.test 40 ms -Time: fts3fuzz001.test 37 ms -Time: fts3join.test 37 ms -Time: fts3malloc.test 37 ms -Time: fts3matchinfo.test 39 ms -Time: fts3matchinfo2.test 37 ms -Time: fts3misc.test 38 ms -Time: fts3near.test 39 ms -Time: fts3offsets.test 37 ms -Time: fts3prefix.test 38 ms -Time: fts3prefix2.test 37 ms -Time: fts3query.test 38 ms -Time: fts3rank.test 37 ms -Time: fts3rnd.test 38 ms -Time: fts3shared.test 37 ms -Time: fts3snippet.test 38 ms -Time: fts3snippet2.test 37 ms -Time: fts3sort.test 37 ms -Time: fts3tok1.test 37 ms -Time: fts3tok_err.test 39 ms -Time: fts3varint.test 38 ms -Time: fts4aa.test 38 ms -Time: fts4check.test 38 ms -Time: fts4content.test 39 ms -Time: fts4docid.test 38 ms -Time: fts4growth.test 38 ms -Time: fts4growth2.test 37 ms -Time: fts4incr.test 38 ms -Time: fts4langid.test 39 ms -Time: fts4lastrowid.test 37 ms -Time: fts4merge.test 38 ms -Time: fts4merge2.test 40 ms -Time: fts4merge3.test 40 ms -Time: fts4merge4.test 38 ms -Time: fts4merge5.test 37 ms -Time: fts4min.test 38 ms -Time: fts4noti.test 37 ms -Time: fts4onepass.test 38 ms -Time: fts4opt.test 38 ms -Time: fts4record.test 38 ms -Time: fts4rename.test 38 ms -Time: fts4umlaut.test 36 ms -Time: fts4unicode.test 38 ms -Time: fts4upfrom.test 37 ms -Time: func.test 3929 ms -Time: func2.test 72 ms -Time: func3.test 52 ms -Time: func4.test 119 ms -Time: func5.test 47 ms -Time: func6.test 194 ms -Time: fuzz-oss1.test 292 ms -Time: fuzz.test 1374320 ms -Time: fuzz2.test 52 ms -Time: fuzz3.test 120498 ms -Time: fuzz4.test 55 ms -Time: fuzz_malloc.test 28945 ms -Time: fuzzer1.test 552 ms -This test is slow - perhaps around 7 seconds on an average pc -Time: fuzzer2.test 26658 ms -Time: fuzzerfault.test 7096 ms -Time: gcfault.test 271 ms -Time: gencol1.test 197 ms -Time: having.test 88 ms -Time: hexlit.test 80 ms -Time: hidden.test 37 ms -Time: hook.test 222 ms -Time: hook2.test 75 ms -Time: icu.test 37 ms -Time: ieee754.test 47 ms -Time: imposter1.test 61 ms -Time: in.test 140 ms -Time: in2.test 31266 ms -Time: in3.test 135 ms -Time: in4.test 106 ms -Time: in5.test 97 ms -Time: in6.test 59 ms -Time: incrblob.test 180 ms -Time: incrblob2.test 378 ms -Time: incrblob3.test 141 ms -Time: incrblob4.test 91 ms -Time: incrblob_err.test 71073 ms -Time: incrblobfault.test 273 ms -Time: incrcorrupt.test 58 ms -Time: incrvacuum.test 1148 ms -Time: incrvacuum2.test 1999 ms -Time: incrvacuum3.test 2737 ms -nFree=21 nPage=24 -nFree=21 nPage=24 -nFree=21 nPage=24 -nFree=21 nPage=24 -nFree=21 nPage=24 -nFree=21 nPage=24 -nFree=21 nPage=24 -nFree=21 nPage=24 -nFree=21 nPage=24 -nFree=21 nPage=24 -nFree=21 nPage=24 -nFree=21 nPage=24 -nFree=21 nPage=24 -nFree=21 nPage=24 -nFree=21 nPage=24 -nFree=21 nPage=24 -nFree=21 nPage=24 -nFree=21 nPage=24 -nFree=21 nPage=24 -nFree=21 nPage=24 -nFree=21 nPage=24 -nFree=21 nPage=24 -nFree=21 nPage=24 -nFree=21 nPage=24 -nFree=21 nPage=24 -nFree=21 nPage=24 -nFree=21 nPage=24 -nFree=21 nPage=24 -nFree=16 nPage=19 -nFree=11 nPage=14 -nFree=6 nPage=9 -nFree=6 nPage=9 -nFree=6 nPage=9 -nFree=6 nPage=9 -nFree=6 nPage=9 -nFree=6 nPage=9 -nFree=6 nPage=9 -nFree=6 nPage=9 -nFree=6 nPage=9 -nFree=6 nPage=9 -nFree=6 nPage=9 -nFree=6 nPage=9 -nFree=1 nPage=4 -Time: incrvacuum_ioerr.test 33461 ms -Time: index.test 347 ms -Time: index2.test 1365 ms -Time: index3.test 57 ms -Time: index4.test 12597 ms -Time: index5.test 24815 ms -Time: index6.test 215 ms -Time: index7.test 168 ms -Time: index8.test 47 ms -Time: index9.test 64 ms -Time: indexedby.test 104 ms -Time: indexexpr1.test 170 ms -Time: indexexpr2.test 129 ms -Time: indexfault.test 60078 ms -Time: init.test 59 ms -Time: insert.test 150 ms -Time: insert2.test 95 ms -Time: insert3.test 666 ms -Time: insert4.test 236 ms -Time: insert5.test 51 ms -Time: insertfault.test 323 ms -Time: instr.test 85 ms -Time: instrfault.test 137 ms -Time: intarray.test 527 ms -Time: interrupt.test 2782 ms -Time: interrupt2.test 103 ms -Time: intpkey.test 111 ms -Time: intreal.test 53 ms -Time: io.test 321 ms -Time: ioerr.test 26431 ms -Time: ioerr2.test 23812 ms -Time: ioerr3.test 712 ms -Time: ioerr4.test 252 ms -Time: ioerr5.test 218 ms -skipping tests - not compiled with SQLITE_ENABLE_ATOMIC_WRITE... -Time: ioerr6.test 40 ms -Time: istrue.test 94 ms -Time: join.test 224 ms -Time: join2.test 109 ms -Time: join3.test 662 ms -Time: join4.test 45 ms -Time: join5.test 1796 ms -Time: join6.test 72 ms -Time: journal1.test 47 ms -Time: journal2.test 119 ms -Time: journal3.test 58 ms -Time: jrnlmode.test 135 ms -Time: jrnlmode2.test 49 ms -Time: jrnlmode3.test 147 ms -Time: json101.test 123 ms -Time: json102.test 93 ms -Time: json103.test 55 ms -Time: json104.test 53 ms -Time: json105.test 63 ms -Time: keyword1.test 314 ms -Time: lastinsert.test 82 ms -Time: laststmtchanges.test 78 ms - (81 ms - want less than 1000) (128 ms - want less than 1000) Time: like.test 206 ms -Time: like2.test 200 ms -Time: like3.test 38 ms -Time: limit.test 265 ms -Time: limit2.test 128 ms -Time: loadext.test 38 ms -Time: loadext2.test 37 ms -Time: lock.test 898 ms -Time: lock2.test 76 ms -Time: lock3.test 48 ms -Time: lock4.test 131 ms -Time: lock5.test 49 ms -Time: lock6.test 38 ms -Time: lock7.test 45 ms -Time: lookaside.test 50 ms -VERSION: 3.33.0 2020-08-14 13:23:32 fca8dc8b578f215a969cd899336378966156154710873e68b3d9ac5881b0ff3f -Time: main.test 69 ms -This is a test. Ignore the error that follows: -Memory dump to file memdump.txt... -open-file-count=0 -Time: malloc.test 142142 ms -Time: malloc3.test 17051 ms -Time: malloc4.test 49 ms -Highwater mark: 4479336 - (Highwater mark: 1562688) (Highwater mark: 73216) Time: malloc5.test 833 ms -Time: malloc6.test 2979 ms -open-file-count=0 -Time: malloc7.test 627 ms -Time: malloc8.test 3037 ms -Time: malloc9.test 836 ms -Time: mallocA.test 51691 ms -Time: mallocB.test 1014 ms -Time: mallocC.test 5252 ms -Time: mallocD.test 4996 ms -Time: mallocE.test 1985 ms -Time: mallocF.test 3296 ms -Time: mallocG.test 3160 ms -Time: mallocH.test 2554 ms -Time: mallocI.test 4628 ms -Time: mallocJ.test 2726 ms -Time: mallocK.test 46387 ms -Time: mallocL.test 5552 ms -Time: mallocM.test 150 ms -Time: manydb.test 1273 ms -Time: mem5.test 37 ms -Time: memdb.test 1132 ms -Time: memdb1.test 221 ms -Time: memsubsys1.test 757 ms -Time: memsubsys2.test 44 ms -Time: minmax.test 129 ms -Time: minmax2.test 97 ms -Time: minmax3.test 95 ms -Time: minmax4.test 91 ms -Time: misc1.test 275 ms -Time: misc2.test 129 ms -Time: misc3.test 107 ms -Time: misc4.test 74 ms -Time: misc5.test 465 ms -Time: misc6.test 40 ms -Time: misc7.test 9999 ms -Time: misc8.test 70 ms -Time: misuse.test 55 ms -Time: mjournal.test 56 ms -Time: mmap1.test 1310 ms -Time: mmap2.test 1073 ms -Time: mmap3.test 103 ms -Time: mmap4.test 48066 ms -Time: mmapfault.test 4961 ms -Time: mmapwarm.test 369 ms -Time: multiplex.test 4558 ms -Time: multiplex2.test 800 ms -SQLite compiled without SQLITE_ENABLE_8_3_NAMES. Skipping tests multiplex3-*. -Time: multiplex3.test 45 ms -Time: multiplex4.test 85 ms -Time: mutex1.test 57 ms -Time: mutex2.test 42 ms -Time: nan.test 108 ms -Time: nockpt.test 68 ms -Time: nolock.test 72 ms -Time: normalize.test 41 ms -Time: notify1.test 2435 ms -WARNING: Multi-threaded tests skipped: Linked against a non-threadsafe Tcl build -Time: notify2.test 38 ms -Time: notify3.test 70 ms -Time: notnull.test 177 ms -Time: null.test 70 ms -Time: nulls1.test 133 ms -Time: numcast.test 51 ms -Time: numindex1.test 62 ms -Time: offset1.test 55 ms -Time: openv2.test 45 ms -Time: orderby1.test 1383 ms -Time: orderby2.test 68 ms -Time: orderby3.test 53 ms -Time: orderby4.test 50 ms -Time: orderby5.test 74 ms -Time: orderby6.test 459 ms -Time: orderby7.test 37 ms -Time: orderby8.test 772 ms -Time: orderby9.test 55 ms -Time: orderbyA.test 114 ms -Time: oserror.test 756 ms -Time: ovfl.test 394 ms -Time: pager1.test 12011 ms -Time: pager2.test 18195 ms -Time: pager3.test 48 ms -Time: pager4.test 51 ms -Time: pagerfault.test 259282 ms -Time: pagerfault2.test 481811 ms -Time: pagerfault3.test 237 ms -Time: pageropt.test 61 ms -Time: pagesize.test 612 ms -Time: parser1.test 51 ms -Time: pcache.test 59 ms -Time: pcache2.test 58 ms -Time: percentile.test 10146 ms -Time: pragma.test 394 ms -Time: pragma2.test 135 ms -Time: pragma3.test 91 ms -Time: pragma4.test 608 ms -Time: pragma5.test 46 ms -Time: pragmafault.test 922 ms -Time: prefixes.test 47 ms -Time: printf.test 1629 ms -Time: printf2.test 59 ms -Time: progress.test 59 ms -Time: ptrchng.test 53 ms -Time: pushdown.test 51 ms -Time: queryonly.test 48 ms -Time: quota-glob.test 57 ms -Time: quota.test 2031 ms -Time: quota2.test 69 ms -Time: quote.test 60 ms -Time: randexpr1.test 2955 ms -Time: rdonly.test 47 ms -Time: recover.test 37 ms -Time: regexp1.test 60 ms -Time: regexp2.test 62 ms -Time: reindex.test 74 ms -Time: resetdb.test 90 ms -Time: resolver01.test 63 ms -Time: rollback.test 53 ms -Time: rollback2.test 282 ms -Time: rollbackfault.test 187 ms -Time: round1.test 27945 ms -Time: rowallock.test 119 ms -Time: rowhash.test 8068 ms -Time: rowid.test 361 ms -Time: rowvalue.test 220 ms -Time: rowvalue2.test 3601 ms -Time: rowvalue3.test 145 ms -Time: rowvalue4.test 283 ms -Time: rowvalue5.test 52 ms -Time: rowvalue6.test 45 ms -Time: rowvalue7.test 53 ms -Time: rowvalue8.test 44 ms -Time: rowvalue9.test 132 ms -Time: rowvaluefault.test 152 ms -Time: rowvaluevtab.test 161 ms -Time: savepoint.test 872 ms -Time: savepoint2.test 7009 ms -Time: savepoint4.test 171953 ms -Time: savepoint5.test 43 ms -Time: savepoint6.test 683848 ms -Time: savepoint7.test 317 ms -Time: savepointfault.test 21027 ms -Time: scanstatus.test 38 ms -Time: schema.test 74 ms -Time: schema2.test 71 ms -Time: schema3.test 280 ms -Time: schema4.test 89 ms -Time: schema5.test 49 ms -Time: schema6.test 116 ms -Time: schemafault.test 61 ms -Time: securedel.test 43 ms -Time: securedel2.test 56955 ms -Time: select1.test 204 ms -time with cache: 740212 microseconds per iteration -time without cache: 1824316 microseconds per iteration -Time: select2.test 2743 ms -Time: select3.test 186 ms -Time: select4.test 144 ms -Time: select5.test 72 ms -Time: select6.test 109 ms -Time: select7.test 89 ms -Time: select8.test 45 ms -Time: select9.test 20744 ms -Time: selectA.test 245 ms -Time: selectB.test 203 ms -Time: selectC.test 83 ms -Time: selectD.test 85 ms -Time: selectE.test 49 ms -Time: selectF.test 43 ms -Time: selectG.test 3720 ms -Time: server1.test 40 ms -Time: shared.test 999 ms -Time: shared2.test 134 ms -Time: shared3.test 79 ms -Time: shared4.test 65 ms -Time: shared6.test 67 ms -Time: shared7.test 44 ms -Time: shared8.test 51 ms -Time: shared9.test 93 ms -WARNING: Multi-threaded tests skipped: Linked against a non-threadsafe Tcl build -Time: sharedA.test 43 ms -WARNING: Multi-threaded tests skipped: Linked against a non-threadsafe Tcl build -Time: sharedB.test 38 ms -Time: shared_err.test 180327 ms -Time: sharedlock.test 54 ms -Time: shell1.test 41 ms -Time: shell2.test 39 ms -Time: shell3.test 37 ms -Time: shell4.test 38 ms -Time: shell5.test 39 ms -Time: shell6.test 38 ms -Time: shell7.test 37 ms -Time: shell8.test 38 ms -Time: shmlock.test 6898 ms -Time: shortread1.test 42 ms -Time: shrink.test 156 ms -Time: sidedelete.test 923 ms -Time: skipscan1.test 144 ms -Time: skipscan2.test 526 ms -Time: skipscan3.test 85 ms -Time: skipscan5.test 416 ms -Time: skipscan6.test 99 ms -Time: snapshot.test 138 ms -Time: snapshot2.test 81 ms -Time: snapshot3.test 48 ms -Time: snapshot4.test 54 ms -Time: snapshot_fault.test 14901 ms -Time: snapshot_up.test 59 ms -Time: softheap1.test 45 ms -Time: sort.test 5036 ms -Time: sort2.test 53942 ms -Time: sort3.test 453158 ms -Time: sort4.test 95374 ms -Time: sort5.test 2245 ms -Time: sorterref.test 49 ms -singlethread -singlethread -singlethread -singlethread -Time: sortfault.test 802068 ms -SQLite 2020-08-14 13:23:32 fca8dc8b578f215a969cd899336378966156154710873e68b3d9ac5881b0ff3f -speed1-insert1... 1634263 uS 30594.83082 row/s -speed1-insert2... 2767452 uS 18067.16070 row/s -speed1-select1... 1336966 uS 1869905.44262 row/s -speed1-select2... 5750746 uS 434726.20770 row/s -speed1-createidx... 671921 uS 223240.52976 row/s -speed1-select3... 726830 uS 6879.18771 stmt/s -speed1-select4... 4459749 uS 22422.78657 row/s -speed1-select5... 6187099 uS 16162.66363 row/s -speed1-select6... 3012927 uS 16595.15813 row/s -speed1-vacuum... 3023840 uS 33070.53283 row/s -speed1-update1... 598550 uS 8353.52101 stmt/s -speed1-update2... 4071742 uS 12279.75643 row/s -speed1-update3... 1202281 uS 41587.61554 row/s -speed1-update4... 4810482 uS 10393.96884 row/s -speed1-delete1... 32665 uS 1530690.34134 row/s -speed1-copy1... 1491046 uS 33533.50601 row/s -speed1-delete2... 1162461 uS 43012.19568 row/s -speed1-copy2... 1496378 uS 33414.01705 row/s -speed1-drop1... 37473 uS 1334294.02503 row/s -speed1-copy3... 178961 uS 279390.48173 row/s -speed1-random1... 349217 uS 143177.45127 row/s -speed1-random-del1... 642503 uS 31128.25932 row/s -speed1-random-del2... 455937 uS 43865.70952 row/s -speed1 46101489 uS TOTAL -Time: speed1.test 58851 ms -SQLite 2020-08-14 13:23:32 fca8dc8b578f215a969cd899336378966156154710873e68b3d9ac5881b0ff3f -speed1p-insert1... 1477552 uS 33839.75657 row/s -speed1p-insert2... 2318899 uS 21561.95677 row/s -speed1p-select1... 2799617 uS 892979.28967 row/s -speed1p-select2... 7345658 uS 340337.10799 row/s -speed1p-createidx... 911656 uS 164535.74594 row/s -speed1p-select3... 526047 uS 9504.85413 stmt/s -speed1p-select4... 3347448 uS 29873.50364 row/s -speed1p-select5... 4714725 uS 21210.14481 row/s -speed1p-select6... 2069692 uS 24158.18392 row/s -speed1p-vacuum... 1923920 uS 51977.21319 row/s -speed1p-update1... 1538109 uS 3250.74491 stmt/s -speed1p-update2... 3834998 uS 13037.81645 row/s -speed1p-update3... 2637786 uS 18955.29054 row/s -speed1p-update4... 5080084 uS 9842.35694 row/s -speed1p-delete1... 98855 uS 505791.31051 row/s -speed1p-copy1... 3662688 uS 13651.17640 row/s -speed1p-delete2... 3508989 uS 14249.11848 row/s -speed1p-copy2... 3675659 uS 13603.00289 row/s -speed1p-drop1... 101067 uS 494721.32348 row/s -speed1p-copy3... 177560 uS 281594.95382 row/s -speed1p-random1... 393647 uS 127017.35311 row/s -speed1p-random-del1.. 702487 uS 28470.27774 row/s -speed1p-random-del2.. 531403 uS 37636.21959 row/s -speed1 53378546 uS TOTAL -Time: speed1p.test 65476 ms -SQLite 2020-08-14 13:23:32 fca8dc8b578f215a969cd899336378966156154710873e68b3d9ac5881b0ff3f -speed2-insert1... 1740699 uS 28724.09302 row/s -speed2-insert2... 2968945 uS 16840.99908 row/s -speed2-select1a... 1321743 uS 1891441.83098 row/s -speed2-select2a... 5797991 uS 431183.83592 row/s -speed2-vacuum1... 774382 uS 129135.23300 row/s -speed2-select1b... 1322074 uS 1890968.28165 row/s -speed2-select2b... 5699646 uS 438623.73207 row/s -speed2-createidx... 671954 uS 223229.56631 row/s -speed2-select3a... 772315 uS 6474.04233 stmt/s -speed2-select4a... 5626130 uS 17774.20714 row/s -speed2-select5a... 6948689 uS 14391.20387 row/s -speed2-select6a... 3383518 uS 14777.51855 row/s -speed2-vacuum2... 2839692 uS 35215.08671 row/s -speed2-select3b... 762455 uS 6557.76406 stmt/s -speed2-select4b... 5639234 uS 17732.90486 row/s -speed2-select5b... 6913750 uS 14463.93057 row/s -speed2-select6b... 3379396 uS 14795.54335 row/s -speed2-update1... 625510 uS 7993.47732 stmt/s -speed2-update2... 4240011 uS 11792.42224 row/s -speed2-update3... 1174485 uS 42571.85064 row/s -speed2-update4... 5098792 uS 9806.24430 row/s -speed2-delete1... 32542 uS 1536475.93879 row/s -speed2-copy1... 1540876 uS 32449.07442 row/s -speed2-delete2... 1151183 uS 43433.58093 row/s -speed2-copy2... 1490296 uS 33550.38194 row/s -speed2-drop1... 37096 uS 1347854.21609 row/s -speed2-copy3... 174245 uS 286952.27984 row/s -speed2-random1... 351974 uS 142055.94731 row/s -speed2-random-del1... 626701 uS 31913.14518 row/s -speed2-random-del2... 459544 uS 43521.40383 row/s -speed2 73565868 uS TOTAL -Time: speed2.test 89679 ms -SQLite 2020-08-14 13:23:32 fca8dc8b578f215a969cd899336378966156154710873e68b3d9ac5881b0ff3f -speed3-1.incrvacuum.. 52416 uS 19078.14408 row/s -speed3-1.normal... 126618 uS 7897.77125 row/s -Incrvacuum: Read 1098, wrote 94 -Normal : Read 9014, wrote 43 -speed3-2.incrvacuum.. 53075 uS 18841.26236 row/s -speed3-2.normal... 112407 uS 8896.24312 row/s -Incrvacuum: Read 2841, wrote 1 -Normal : Read 9993, wrote 0 -Time: speed3.test 1831 ms -SQLite 2020-08-14 13:23:32 fca8dc8b578f215a969cd899336378966156154710873e68b3d9ac5881b0ff3f -speed4-join1... 236738 uS 211203.94698 row/s -speed4-join2... 2432484 uS 20555.11979 row/s -speed4-view1... 1115819 uS 8962.02700 stmt/s -speed4-table1... 909019 uS 11000.87017 stmt/s -speed4-subselect1... 1672517 uS 5979.01247 stmt/s -speed4-trigger1... 1794201 uS 5573.51155 stmt/s -speed4-trigger2... 790761 uS 12646.04602 stmt/s -speed4-trigger3... 731357 uS 13673.21295 stmt/s -speed4-notrigger1... 351095 uS 28482.31960 stmt/s -speed4-notrigger2... 427684 uS 23381.74914 stmt/s -speed4-notrigger3... 326624 uS 30616.24375 stmt/s -speed4 10788299 uS TOTAL -Time: speed4.test 29369 ms -SQLite 2020-08-14 13:23:32 fca8dc8b578f215a969cd899336378966156154710873e68b3d9ac5881b0ff3f -speed4p-join1... 236876 uS 211080.90309 row/s -speed4p-join2... 1536922 uS 32532.55533 row/s -speed4p-view1... 427320 uS 23401.66620 stmt/s -speed4p-table1... 372215 uS 26866.19293 stmt/s -speed4p-subselect1... 442390 uS 22604.48925 stmt/s -speed4p-rowid-update. 268519 uS 37241.31253 stmt/s -speed4p-insert-ignore 634133 uS 78847.81268 row/s -speed4p-unique-update 1085746 uS 29003.10017 stmt/s -speed4p-trigger1... 437234 uS 22871.04845 stmt/s -speed4p-trigger2... 371681 uS 26904.79201 stmt/s -speed4p-trigger3... 250117 uS 39981.28876 stmt/s -speed4p-notrigger1... 250112 uS 39982.08802 stmt/s -speed4p-notrigger2... 325308 uS 30740.09861 stmt/s -speed4p-notrigger3... 191672 uS 52172.46129 stmt/s -speed4 6830245 uS TOTAL -Time: speed4p.test 26887 ms -Time: spellfix.test 528 ms -Time: spellfix2.test 68 ms -Time: spellfix3.test 43 ms -Time: spellfix4.test 801 ms -Time: sqldiff1.test 38 ms -Time: sqllimits1.test 6314 ms -Time: sqllog.test 40 ms -Time: stat.test 121 ms -Time: statfault.test 1857 ms -Time: stmt.test 51 ms -Time: stmtvtab1.test 49 ms -Time: subjournal.test 159 ms -Time: subquery.test 108 ms -Time: subquery2.test 74 ms -Time: subselect.test 61 ms -Time: substr.test 113 ms -Time: subtype1.test 41 ms -Time: superlock.test 232 ms -Time: swarmvtab.test 9654 ms -Time: swarmvtab2.test 102 ms -Time: swarmvtab3.test 1413 ms -Time: swarmvtabfault.test 10009 ms -Time: symlink.test 88 ms -Time: symlink2.test 38 ms -Time: sync.test 49 ms -Time: sync2.test 54 ms -Time: syscall.test 487 ms -Time: sysfault.test 9088 ms -Time: tabfunc01.test 70 ms -Time: table.test 4175 ms -Time: tableapi.test 1013 ms -Time: tableopts.test 51 ms -Time: tclsqlite.test 117 ms -Time: tempdb.test 48 ms -Time: tempdb2.test 75 ms -Time: tempfault.test 148426 ms -Time: temptable.test 94 ms -Time: temptable2.test 48649 ms -Time: temptable3.test 47 ms -Time: temptrigger.test 82 ms -WARNING: Multi-threaded tests skipped: Linked against a non-threadsafe Tcl build -Time: thread001.test 39 ms -WARNING: Multi-threaded tests skipped: Linked against a non-threadsafe Tcl build -Time: thread002.test 39 ms -WARNING: Multi-threaded tests skipped: Linked against a non-threadsafe Tcl build -Time: thread003.test 39 ms -WARNING: Multi-threaded tests skipped: Linked against a non-threadsafe Tcl build -Time: thread004.test 38 ms -WARNING: Multi-threaded tests skipped: Linked against a non-threadsafe Tcl build -Time: thread005.test 39 ms -WARNING: Multi-threaded tests skipped: Linked against a non-threadsafe Tcl build -Time: thread1.test 39 ms -WARNING: Multi-threaded tests skipped: Linked against a non-threadsafe Tcl build -Time: thread2.test 38 ms -Time: tkt-02a8e81d44.test 43 ms -Time: tkt-18458b1a.test 51 ms -Time: tkt-26ff0c2d1e.test 40 ms -Time: tkt-2a5629202f.test 51 ms -Time: tkt-2d1a5c67d.test 397 ms -Time: tkt-2ea2425d34.test 45 ms -Time: tkt-31338dca7e.test 75 ms -Time: tkt-313723c356.test 364 ms -Time: tkt-385a5b56b9.test 50 ms -Time: tkt-38cb5df375.test 156 ms -Time: tkt-3998683a16.test 48 ms -Time: tkt-3a77c9714e.test 55 ms -Time: tkt-3fe897352e.test 43 ms -Time: tkt-4a03edc4c8.test 43 ms -Time: tkt-4c86b126f2.test 48 ms -Time: tkt-4dd95f6943.test 257 ms -Time: tkt-4ef7e3cfca.test 57 ms -Time: tkt-54844eea3f.test 52 ms -Time: tkt-5d863f876e.test 132 ms -Time: tkt-5e10420e8d.test 83 ms -Time: tkt-5ee23731f.test 47 ms -Time: tkt-6bfb98dfc0.test 51 ms -Time: tkt-752e1646fc.test 43 ms -Time: tkt-78e04e52ea.test 49 ms -Time: tkt-7a31705a7e6.test 43 ms -Time: tkt-7bbfb7d442.test 63 ms -Time: tkt-80ba201079.test 73 ms -Time: tkt-80e031a00f.test 109 ms -Time: tkt-8454a207b9.test 51 ms -Time: tkt-868145d012.test 47 ms -Time: tkt-8c63ff0ec.test 46 ms -Time: tkt-91e2e8ba6f.test 46 ms -Time: tkt-94c04eaadb.test 38 ms -Time: tkt-9a8b09f8e6.test 64 ms -Time: tkt-9d68c883.test 418 ms -Time: tkt-9f2eb3abac.test 759 ms -Time: tkt-a7b7803e.test 51 ms -Time: tkt-a7debbe0.test 81 ms -Time: tkt-a8a0d2996a.test 54 ms -Time: tkt-b1d3a2e531.test 70 ms -Time: tkt-b351d95f9.test 49 ms -Time: tkt-b72787b1.test 45 ms -Time: tkt-b75a9ca6b0.test 55 ms -Time: tkt-ba7cbfaedc.test 65 ms -Time: tkt-bd484a090c.test 42 ms -Time: tkt-bdc6bbbb38.test 37 ms -Time: tkt-c48d99d690.test 47 ms -Time: tkt-c694113d5.test 42 ms -Time: tkt-cbd054fa6b.test 64 ms -Time: tkt-d11f09d36e.test 903 ms -Time: tkt-d635236375.test 44 ms -Time: tkt-d82e3f3721.test 56 ms -Time: tkt-f3e5abed55.test 62 ms -Time: tkt-f67b41381a.test 73 ms -Time: tkt-f777251dc7a.test 58 ms -Time: tkt-f7b4edec.test 46 ms -Time: tkt-f973c7ac31.test 50 ms -Time: tkt-fa7bf5ec.test 42 ms -Time: tkt-fc62af4523.test 369 ms -Time: tkt-fc7bd6358f.test 66 ms -Time: tkt1435.test 47 ms -Time: tkt1443.test 47 ms -Time: tkt1444.test 47 ms -Time: tkt1449.test 94 ms -Time: tkt1473.test 80 ms -Time: tkt1501.test 44 ms -Time: tkt1512.test 46 ms -Time: tkt1514.test 42 ms -Time: tkt1536.test 43 ms -Time: tkt1537.test 58 ms -Time: tkt1567.test 178 ms -Time: tkt1644.test 51 ms -Time: tkt1667.test 1222 ms -Time: tkt1873.test 47 ms -Time: tkt2141.test 46 ms -Time: tkt2192.test 65 ms -Time: tkt2213.test 40 ms -Time: tkt2251.test 52 ms -Time: tkt2285.test 43 ms -Time: tkt2332.test 323 ms -Time: tkt2339.test 52 ms -Time: tkt2391.test 44 ms -Time: tkt2409.test 1524 ms -Time: tkt2450.test 44 ms -Time: tkt2565.test 106 ms -Time: tkt2640.test 51 ms -Time: tkt2643.test 46 ms -Time: tkt2686.test 16550 ms -Time: tkt2767.test 48 ms -Time: tkt2817.test 52 ms -Time: tkt2820.test 63 ms -Time: tkt2822.test 68 ms -Time: tkt2832.test 52 ms -Time: tkt2854.test 53 ms -Time: tkt2920.test 50 ms -Time: tkt2927.test 84 ms -Time: tkt2942.test 44 ms -Time: tkt3080.test 50 ms -Time: tkt3093.test 46 ms -Time: tkt3121.test 47 ms -Time: tkt3201.test 55 ms -Time: tkt3292.test 50 ms -Time: tkt3298.test 53 ms -Time: tkt3334.test 48 ms -Time: tkt3346.test 46 ms -Time: tkt3357.test 45 ms -Time: tkt3419.test 50 ms -Time: tkt3424.test 47 ms -Time: tkt3442.test 44 ms -Time: tkt3457.test 49 ms -Time: tkt3461.test 45 ms -Time: tkt3493.test 55 ms -Time: tkt3508.test 41 ms -Time: tkt3522.test 43 ms -Time: tkt3527.test 54 ms -Time: tkt3541.test 42 ms -Time: tkt3554.test 47 ms -Time: tkt3581.test 45 ms -Time: tkt35xx.test 56 ms -Time: tkt3630.test 45 ms -Time: tkt3718.test 126 ms -Time: tkt3731.test 48 ms -Time: tkt3757.test 47 ms -Time: tkt3761.test 43 ms -Time: tkt3762.test 106 ms -Time: tkt3773.test 44 ms -Time: tkt3791.test 42 ms -Time: tkt3793.test 98 ms -Time: tkt3810.test 51 ms -Time: tkt3824.test 57 ms -Time: tkt3832.test 44 ms -Time: tkt3838.test 54 ms -Time: tkt3841.test 46 ms -Time: tkt3871.test 71 ms -Time: tkt3879.test 46 ms -Time: tkt3911.test 48 ms -Time: tkt3918.test 54 ms -Time: tkt3922.test 49 ms -Time: tkt3929.test 95 ms -Time: tkt3935.test 45 ms -Time: tkt3992.test 52 ms -Time: tkt3997.test 46 ms -Time: tkt4018.test 4042 ms -Time: tokenize.test 46 ms -Time: tpch01.test 81 ms -Time: trace.test 70 ms -Time: trace2.test 44 ms -Time: trace3.test 68 ms -Time: trans.test 31014 ms -Time: trans2.test 91148 ms -Time: trans3.test 55 ms -Time: transitive1.test 133 ms -Time: trigger1.test 170 ms -Time: trigger2.test 603 ms -Time: trigger3.test 69 ms -Time: trigger4.test 85 ms -Time: trigger5.test 45 ms -Time: trigger6.test 49 ms -Time: trigger7.test 60 ms -Time: trigger8.test 44 ms -Time: trigger9.test 84 ms -Time: triggerA.test 1521 ms -Time: triggerB.test 499 ms -Time: triggerC.test 8005 ms -Time: triggerD.test 77 ms -Time: triggerE.test 61 ms -Time: triggerF.test 74 ms -Time: triggerG.test 59 ms -Time: triggerupfrom.test 79 ms -Time: trustschema1.test 93 ms -Time: types.test 266 ms -Time: types2.test 240 ms -Time: types3.test 43 ms -Time: unionvtab.test 202 ms -Time: unionvtabfault.test 10002 ms -Time: unique.test 77 ms -Time: unique2.test 86 ms -Time: unixexcl.test 250 ms -Time: unordered.test 63 ms -Time: update.test 477 ms -Time: update2.test 129 ms -Time: upfrom1.test 86 ms -Time: upfrom2.test 160 ms -Time: upfrom3.test 147 ms -Time: upfromfault.test 5891 ms -Time: upsert1.test 114 ms -Time: upsert2.test 80 ms -Time: upsert3.test 50 ms -Time: upsert4.test 202 ms -Time: upsertfault.test 612 ms -Time: uri.test 179 ms -Time: uri2.test 38 ms -Time: userauth01.test 38 ms -Time: utf16align.test 57 ms -Time: vacuum-into.test 102 ms -Time: vacuum.test 252 ms -Time: vacuum2.test 104 ms -Time: vacuum3.test 69039 ms -Time: vacuum4.test 51 ms -Time: vacuum5.test 399 ms -Time: vacuummem.test 38 ms -Time: varint.test 423 ms -Time: view.test 8262 ms -Time: vtab1.test 1438 ms -Time: vtab2.test 56 ms -Time: vtab3.test 55 ms -Time: vtab4.test 62 ms -Time: vtab5.test 63 ms -Time: vtab6.test 2824 ms -Time: vtab7.test 68 ms -Time: vtab8.test 55 ms -Time: vtab9.test 50 ms -Time: vtabA.test 82 ms -Time: vtabB.test 50 ms -Time: vtabC.test 10970 ms -Time: vtabD.test 7356 ms -Time: vtabE.test 49 ms -Time: vtabF.test 52 ms -Time: vtabH.test 98 ms -Time: vtabI.test 66 ms -Time: vtabJ.test 63 ms -Time: vtab_alter.test 61 ms -Time: vtab_err.test 221487 ms -Time: vtab_shared.test 112 ms -Time: vtabdrop.test 63 ms -Time: wal.test 5408 ms -Time: wal2.test 1196 ms -Time: wal3.test 36316 ms -Time: wal4.test 876 ms -Time: wal5.test 4035 ms -Time: wal6.test 114 ms -Time: wal64k.test 3127 ms -Time: wal7.test 125 ms -Time: wal8.test 60 ms -Time: wal9.test 3187 ms -Time: walbak.test 255 ms -Time: walbig.test 59 ms -Time: walblock.test 39 ms -Time: walcksum.test 388 ms -Time: walcrash.test 34174 ms -Time: walcrash2.test 32994 ms -Time: walcrash3.test 689442 ms -Time: walcrash4.test 9013 ms -Time: walfault.test 113998 ms -Time: walfault2.test 7705 ms -Time: walhook.test 55 ms -Time: walmode.test 136 ms -Time: walnoshm.test 70 ms -Time: waloverwrite.test 375 ms -Time: walpersist.test 166 ms -# Warning: This next test case causes SQLite to call xSleep(1) 100 times. -# Normally this equates to a delay of roughly 10 seconds, but if SQLite -# is built on unix without HAVE_USLEEP defined, it may be much longer. -# Warning: Same again! -# Warning: Third time! -# Warning: Another slow test! -# Warning: Last one! -Time: walprotocol.test 20064 ms -Time: walprotocol2.test 51 ms -Time: walro.test 245 ms -Time: walro2.test 514 ms -Time: walrofault.test 1145 ms -Time: walsetlk.test 26273 ms -Time: walshared.test 51 ms -Time: walslow.test 102777 ms -WARNING: Multi-threaded tests skipped: Linked against a non-threadsafe Tcl build -Time: walthread.test 67 ms -# WARNING: This next test takes around 12 seconds -Time: walvfs.test 10105 ms -Time: where.test 309 ms -Time: where2.test 202 ms -Time: where3.test 164 ms -Time: where4.test 85 ms -Time: where5.test 60 ms -Time: where6.test 59 ms -Time: where7.test 1925 ms -Time: where8.test 14118 ms -Time: where9.test 222 ms -Time: whereA.test 66 ms -Time: whereB.test 112 ms -Time: whereC.test 72 ms -Time: whereD.test 151 ms -Time: whereE.test 142 ms -Time: whereF.test 109 ms -Time: whereG.test 158 ms -Time: whereH.test 78 ms -Time: whereI.test 59 ms -Time: whereJ.test 979 ms -Time: whereK.test 50 ms -Time: whereL.test 74 ms -Time: wherefault.test 20521 ms -Time: wherelfault.test 40 ms -Time: wherelimit.test 37 ms -Time: wherelimit2.test 38 ms -Time: win32heap.test 14 ms -Time: win32lock.test 14 ms -Time: win32longpath.test 14 ms -Time: win32nolock.test 13 ms -Time: window1.test 511 ms -Time: window2.test 166 ms -Time: window3.test 10018 ms -Time: window4.test 284 ms -Time: window5.test 49 ms -Time: window6.test 131 ms -Time: window7.test 59 ms -Time: window8.test 2078 ms -Time: window9.test 87 ms -Time: windowA.test 63 ms -Time: windowB.test 108 ms -Time: windowerr.test 50 ms -Time: windowfault.test 13828 ms -Time: with1.test 7804 ms -Time: with2.test 176 ms -Time: with3.test 77 ms -Time: with4.test 45 ms -Time: withM.test 500 ms -Time: without_rowid1.test 173 ms -Time: without_rowid2.test 59 ms -Time: without_rowid3.test 947 ms -Time: without_rowid4.test 568 ms -Time: without_rowid5.test 69 ms -Time: without_rowid6.test 93 ms -Time: without_rowid7.test 49 ms -Time: writecrash.test 212030 ms -Time: zeroblob.test 102 ms -Time: zerodamage.test 63 ms -Time: zipfile.test 811 ms -Time: zipfile2.test 78 ms -Time: zipfilefault.test 2416 ms -SQLite 2020-08-14 13:23:32 fca8dc8b578f215a969cd899336378966156154710873e68b3d9ac5881b0ff3f -0 errors out of 927880 tests on pi32 Linux 32-bit little-endian -WARNING: Multi-threaded tests skipped: Linked against a non-threadsafe Tcl build -All memory allocations freed - no leaks -Maximum memory usage: 9209976 bytes -Current memory usage: 0 bytes -Number of malloc() : -1 calls ---- PASS: TestTclTest (10507.82s) -PASS -ok modernc.org/sqlite 10623.858s -Sun Sep 13 00:32:59 UTC 2020 diff --git a/testdata/testlog-linux-arm64 b/testdata/testlog-linux-arm64 deleted file mode 100644 index c79dfa7..0000000 --- a/testdata/testlog-linux-arm64 +++ /dev/null @@ -1,1314 +0,0 @@ -go version go1.15.2 linux/arm64 -Linux pi64 5.4.0-1018-raspi #20-Ubuntu SMP Sun Sep 6 05:11:16 UTC 2020 aarch64 aarch64 aarch64 GNU/Linux -test binary compiled for linux/arm64 -=== RUN TestScalar ---- PASS: TestScalar (0.04s) -=== RUN TestBlob ---- PASS: TestBlob (0.04s) -=== RUN TestIssue11 ---- PASS: TestIssue11 (0.29s) -=== RUN TestMemDB ---- PASS: TestMemDB (18.56s) -=== RUN TestConcurrentGoroutines - all_test.go:507: 8 goroutines concurrently inserted 40000 rows in 1.56998227s ---- PASS: TestConcurrentGoroutines (1.76s) -=== RUN TestConcurrentProcesses - all_test.go:588: config01.test: Summary: 0 errors out of 163 tests - all_test.go:588: config02.test: Summary: 0 errors out of 627 tests - all_test.go:588: crash01.test: Summary: 0 errors out of 94 tests - all_test.go:588: multiwrite01.test: Summary: 0 errors out of 81 tests ---- PASS: TestConcurrentProcesses (96.67s) -=== RUN TestIssue19 ---- PASS: TestIssue19 (0.08s) -=== RUN TestIssue20 ---- PASS: TestIssue20 (16.64s) -=== RUN TestNoRows ---- PASS: TestNoRows (0.02s) -=== RUN TestNamedParameters ---- PASS: TestNamedParameters (0.03s) -=== RUN TestTclTest -Time: 8_3_names.test 38 ms -Time: affinity2.test 65 ms -Time: affinity3.test 58 ms -Time: aggerror.test 48 ms -Time: aggnested.test 92 ms -Time: alias.test 35 ms -Time: alter.test 246 ms -Time: alter2.test 112 ms -Time: alter3.test 226 ms -Time: alter4.test 161 ms -Time: alterauth.test 49 ms -Time: alterauth2.test 52 ms -Time: altercol.test 507 ms -Time: alterlegacy.test 213 ms -Time: altermalloc.test 185520 ms -Time: altermalloc2.test 24873 ms -Time: altertab.test 278 ms -Time: altertab2.test 205 ms -Time: altertab3.test 223 ms -Time: amatch1.test 36 ms -Time: analyze.test 135 ms -Time: analyze3.test 346 ms -Time: analyze4.test 83 ms -Time: analyze5.test 829 ms -Time: analyze6.test 75 ms -Time: analyze7.test 56 ms -Time: analyze8.test 683 ms - (nByte=3631 nByte2=4631)Time: analyze9.test 3511 ms -Time: analyzeC.test 72 ms -Time: analyzeD.test 527 ms -Time: analyzeE.test 107 ms -Time: analyzeF.test 216 ms -Time: analyzeG.test 48 ms -analyzer1 cannot run because /tmp/sqlite-test-076456148/sqlite3_analyzer is not available -Time: analyzer1.test 36 ms -Skipping async2 tests: not compiled with required features -Time: async2.test 36 ms -Skipping async3 tests: not compiled with required features -Time: async3.test 36 ms -Time: async4.test 37 ms -Time: async5.test 36 ms -Time: atof1.test 36 ms -No f2fs atomic-batch-write support. Skipping tests... -Time: atomic.test 36 ms -No f2fs atomic-batch-write support. Skipping tests... -Time: atomic2.test 41 ms -Time: attach.test 154 ms -Time: attach2.test 78 ms -Time: attach3.test 76 ms -Testing with SQLITE_MAX_ATTACHED=10 -Time: attach4.test 86 ms -Time: attachmalloc.test 17757 ms -Time: auth.test 268 ms -Time: auth2.test 50 ms -Time: auth3.test 53 ms -Time: autoanalyze1.test 36 ms -Time: autoinc.test 190 ms -Time: autoindex1.test 400 ms -Time: autoindex2.test 79 ms -Time: autoindex3.test 58 ms -Time: autoindex4.test 60 ms -Time: autoindex5.test 68 ms -Time: autovacuum.test 1410 ms -Time: autovacuum_ioerr2.test 7325 ms -Time: avtrans.test 29929 ms -WARNING: No historical binaries to test against. -WARNING: Omitting backwards-compatibility tests -Time: backcompat.test 57 ms -Time: backup.test 7306 ms -Time: backup2.test 397 ms -Time: backup4.test 58 ms -Time: backup5.test 52 ms -Time: backup_ioerr.test 1529493 ms -Time: backup_malloc.test 68071 ms -Time: badutf.test 46 ms -Time: badutf2.test 55 ms -Time: bestindex1.test 80 ms -Time: bestindex2.test 52 ms -Time: bestindex3.test 66 ms -Time: bestindex4.test 1358 ms -Time: bestindex5.test 71 ms -Time: bestindex6.test 50 ms -Time: bestindex7.test 52 ms -Time: between.test 84 ms -Time: bigfile.test 65 ms -Time: bigfile2.test 47 ms -Skipping bigmmap.test - requires SQLITE_MAX_MMAP_SIZE >= 8G -Time: bigmmap.test 38 ms -Time: bigrow.test 773 ms -Time: bigsort.test 51 ms -Time: bind.test 117 ms -Time: bindxfer.test 41 ms -Time: bitvec.test 5758 ms -Time: blob.test 52 ms -Time: boundary1.test 643 ms -Time: boundary2.test 1317 ms -Time: boundary3.test 1065 ms -Time: boundary4.test 112 ms -Time: btree01.test 3202 ms -Time: btree02.test 59 ms -Time: btreefault.test 2823 ms -Time: busy.test 44 ms -Time: busy2.test 6236 ms -Time: cache.test 97 ms -Time: cacheflush.test 112 ms -Time: cachespill.test 70 ms -Time: capi2.test 100 ms -Time: capi3.test 235 ms -Time: capi3b.test 50 ms -Time: capi3c.test 253 ms -Time: capi3d.test 1046 ms -Time: capi3e.test 78 ms -Time: cast.test 72 ms -Time: cffault.test 4624 ms -Time: check.test 139 ms -Time: checkfault.test 161 ms -Time: chunksize.test 48 ms -Time: close.test 48 ms -Time: closure01.test 4314 ms -Time: coalesce.test 48 ms -Time: collate1.test 107 ms -Time: collate2.test 117 ms -Time: collate3.test 105 ms -Time: collate4.test 165 ms -Time: collate5.test 384 ms -Time: collate6.test 59 ms -Time: collate7.test 43 ms -Time: collate8.test 52 ms -Time: collate9.test 53 ms -Time: collateA.test 63 ms -Time: collateB.test 56 ms -Time: colmeta.test 82 ms -Time: colname.test 93 ms -Time: conflict.test 424 ms -Time: conflict2.test 413 ms -Time: conflict3.test 122 ms -Time: contrib01.test 56 ms -Time: corrupt.test 27847 ms -Time: corrupt2.test 238 ms -Time: corrupt3.test 48 ms -Time: corrupt4.test 45 ms -Time: corrupt5.test 42 ms -Time: corrupt6.test 65 ms -Time: corrupt7.test 46 ms -Time: corrupt8.test 245 ms -Time: corrupt9.test 76 ms -Time: corruptA.test 48 ms -Time: corruptB.test 504 ms -Time: corruptC.test 82342 ms -Time: corruptD.test 72 ms -Time: corruptE.test 98 ms -Time: corruptF.test 960 ms -Time: corruptG.test 46 ms -Time: corruptH.test 69 ms -Time: corruptI.test 105 ms -Time: corruptJ.test 51 ms -Time: corruptK.test 79 ms -Time: corruptL.test 263 ms -Time: corruptM.test 80 ms -Time: cost.test 168 ms -Time: count.test 1008 ms -Time: countofview.test 49 ms -Time: coveridxscan.test 60 ms -Time: crash.test 33309 ms -Time: crash2.test 11173 ms -Time: crash3.test 33311 ms -Time: crash4.test 20675 ms -Time: crash5.test 16475 ms -Time: crash6.test 17668 ms -Time: crash7.test 65914 ms -Time: crash8.test 1744 ms -Time: crashM.test 37 ms -Time: createtab.test 258 ms -Time: cse.test 190 ms -Time: csv01.test 64 ms -Time: ctime.test 55 ms -Time: cursorhint.test 36 ms -Time: cursorhint2.test 36 ms -Time: dataversion1.test 46 ms -Time: date.test 864 ms -Time: date2.test 101 ms -Time: dbdata.test 37 ms -Time: dbfuzz001.test 75 ms -Time: dbpage.test 55 ms -Time: dbstatus.test 57 ms -Time: dbstatus2.test 54 ms -Time: decimal.test 167 ms -Time: default.test 62 ms -Time: delete.test 544 ms -Time: delete2.test 51 ms -Time: delete3.test 3413 ms -Time: delete4.test 131 ms -Time: delete_db.test 134 ms -Time: descidx1.test 96 ms -Time: descidx2.test 56 ms -Time: descidx3.test 56 ms -Time: diskfull.test 4395 ms -Time: distinct.test 131 ms -Time: distinct2.test 124 ms -Time: distinctagg.test 46 ms -Time: e_blobbytes.test 2215 ms -Time: e_blobclose.test 78 ms -Time: e_blobopen.test 127 ms -Time: e_blobwrite.test 68 ms -Time: e_changes.test 170 ms -Time: e_createtable.test 1377 ms -Time: e_delete.test 102 ms -Time: e_droptrigger.test 658 ms -Time: e_dropview.test 233 ms -Time: e_expr.test 5650 ms -Time: e_fkey.test 18626 ms -Time: e_fts3.test 41 ms -Time: e_insert.test 183 ms -Time: e_reindex.test 145 ms -Time: e_resolve.test 104 ms -Time: e_select.test 539 ms -Time: e_select2.test 714 ms -Time: e_totalchanges.test 124 ms -Time: e_update.test 147 ms -Time: e_uri.test 160 ms -Time: e_vacuum.test 720 ms -Time: e_wal.test 72 ms -Time: e_walauto.test 6201 ms -Time: e_walckpt.test 814 ms -Time: e_walhook.test 54 ms -Time: emptytable.test 49 ms -Time: enc.test 170 ms -Time: enc2.test 142 ms -Time: enc3.test 50 ms -Time: enc4.test 362 ms -Time: eqp.test 111 ms -Time: errmsg.test 53 ms -Time: eval.test 59 ms -Time: exclusive.test 84 ms -Time: exclusive2.test 72 ms -Time: exec.test 43 ms -Time: exists.test 754 ms -Time: expr.test 515 ms -Time: expr2.test 43 ms -Time: extension01.test 45 ms -Time: fallocate.test 197 ms -Time: filectrl.test 43 ms -Time: filefmt.test 111 ms -Time: filter1.test 91 ms -Time: filter2.test 53 ms -Time: filterfault.test 653 ms -Time: fkey1.test 86 ms -Time: fkey2.test 935 ms -Time: fkey3.test 88 ms -Time: fkey4.test 45 ms -Time: fkey5.test 141 ms -Time: fkey6.test 79 ms -Time: fkey7.test 68 ms -Time: fkey8.test 143 ms -Time: fkey_malloc.test 28106 ms -Time: fordelete.test 81 ms -Time: format4.test 46 ms -Time: fts-9fd058691.test 36 ms -Time: fts1a.test 37 ms -Time: fts1b.test 37 ms -Time: fts1c.test 39 ms -Time: fts1d.test 36 ms -Time: fts1e.test 36 ms -Time: fts1f.test 36 ms -Time: fts1i.test 36 ms -Time: fts1j.test 36 ms -Time: fts1k.test 36 ms -Time: fts1l.test 36 ms -Time: fts1m.test 36 ms -Time: fts1n.test 36 ms -Time: fts1o.test 36 ms -Time: fts1porter.test 82 ms -Time: fts2.test 36 ms -Time: fts2a.test 37 ms -Time: fts2b.test 37 ms -Time: fts2c.test 39 ms -Time: fts2d.test 36 ms -Time: fts2e.test 38 ms -Time: fts2f.test 37 ms -Time: fts2g.test 37 ms -Time: fts2h.test 37 ms -Time: fts2i.test 36 ms -Time: fts2j.test 36 ms -Time: fts2k.test 36 ms -Time: fts2l.test 36 ms -Time: fts2m.test 36 ms -Time: fts2n.test 37 ms -Time: fts2o.test 36 ms -Time: fts2p.test 39 ms -Time: fts2q.test 38 ms -Time: fts2r.test 36 ms -Time: fts2token.test 37 ms -Time: fts3aa.test 37 ms -Time: fts3ab.test 37 ms -Time: fts3ac.test 39 ms -Time: fts3ad.test 36 ms -Time: fts3ae.test 36 ms -Time: fts3af.test 36 ms -Time: fts3ag.test 36 ms -Time: fts3ah.test 36 ms -Time: fts3ai.test 36 ms -Time: fts3aj.test 36 ms -Time: fts3ak.test 37 ms -Time: fts3al.test 36 ms -Time: fts3am.test 36 ms -Time: fts3an.test 37 ms -Time: fts3ao.test 37 ms -Time: fts3atoken.test 37 ms -Time: fts3auto.test 40 ms -Time: fts3aux1.test 39 ms -Time: fts3aux2.test 37 ms -Time: fts3b.test 37 ms -Time: fts3c.test 39 ms -Time: fts3comp1.test 36 ms -Time: fts3conf.test 37 ms -Time: fts3corrupt.test 37 ms -Time: fts3corrupt2.test 36 ms -Time: fts3corrupt3.test 36 ms -Time: fts3corrupt4.test 66 ms -Time: fts3corrupt5.test 37 ms -Time: fts3corrupt6.test 37 ms -Time: fts3cov.test 37 ms -Time: fts3d.test 39 ms -Time: fts3defer.test 40 ms -Time: fts3defer2.test 39 ms -Time: fts3defer3.test 39 ms -Time: fts3drop.test 36 ms -Time: fts3e.test 36 ms -Time: fts3expr.test 40 ms -Time: fts3expr2.test 37 ms -Time: fts3expr3.test 40 ms -Time: fts3expr4.test 36 ms -Time: fts3expr5.test 36 ms -Time: fts3fault.test 37 ms -Time: fts3fault2.test 37 ms -Time: fts3first.test 39 ms -Time: fts3fuzz001.test 36 ms -Time: fts3join.test 36 ms -Time: fts3malloc.test 37 ms -Time: fts3matchinfo.test 39 ms -Time: fts3matchinfo2.test 38 ms -Time: fts3misc.test 37 ms -Time: fts3near.test 39 ms -Time: fts3offsets.test 37 ms -Time: fts3prefix.test 37 ms -Time: fts3prefix2.test 36 ms -Time: fts3query.test 37 ms -Time: fts3rank.test 36 ms -Time: fts3rnd.test 37 ms -Time: fts3shared.test 37 ms -Time: fts3snippet.test 37 ms -Time: fts3snippet2.test 36 ms -Time: fts3sort.test 36 ms -Time: fts3tok1.test 36 ms -Time: fts3tok_err.test 39 ms -Time: fts3varint.test 37 ms -Time: fts4aa.test 37 ms -Time: fts4check.test 38 ms -Time: fts4content.test 39 ms -Time: fts4docid.test 38 ms -Time: fts4growth.test 38 ms -Time: fts4growth2.test 36 ms -Time: fts4incr.test 37 ms -Time: fts4langid.test 38 ms -Time: fts4lastrowid.test 36 ms -Time: fts4merge.test 38 ms -Time: fts4merge2.test 40 ms -Time: fts4merge3.test 38 ms -Time: fts4merge4.test 38 ms -Time: fts4merge5.test 36 ms -Time: fts4min.test 39 ms -Time: fts4noti.test 37 ms -Time: fts4onepass.test 38 ms -Time: fts4opt.test 38 ms -Time: fts4record.test 38 ms -Time: fts4rename.test 37 ms -Time: fts4umlaut.test 36 ms -Time: fts4unicode.test 38 ms -Time: fts4upfrom.test 36 ms -Time: func.test 3447 ms -Time: func2.test 69 ms -Time: func3.test 50 ms -Time: func4.test 108 ms -Time: func5.test 47 ms -Time: func6.test 178 ms -Time: fuzz-oss1.test 282 ms -Time: fuzz.test 1247273 ms -Time: fuzz2.test 51 ms -Time: fuzz3.test 114745 ms -Time: fuzz4.test 55 ms -Time: fuzz_malloc.test 26019 ms -Time: fuzzer1.test 519 ms -This test is slow - perhaps around 7 seconds on an average pc -Time: fuzzer2.test 23410 ms -Time: fuzzerfault.test 8046 ms -Time: gcfault.test 250 ms -Time: gencol1.test 190 ms -Time: having.test 86 ms -Time: hexlit.test 77 ms -Time: hidden.test 37 ms -Time: hook.test 225 ms -Time: hook2.test 74 ms -Time: icu.test 36 ms -Time: ieee754.test 46 ms -Time: imposter1.test 62 ms -Time: in.test 142 ms -Time: in2.test 26884 ms -Time: in3.test 137 ms -Time: in4.test 107 ms -Time: in5.test 98 ms -Time: in6.test 60 ms -Time: incrblob.test 171 ms -Time: incrblob2.test 358 ms -Time: incrblob3.test 129 ms -Time: incrblob4.test 94 ms -Time: incrblob_err.test 65016 ms -Time: incrblobfault.test 264 ms -Time: incrcorrupt.test 79 ms -Time: incrvacuum.test 1076 ms -Time: incrvacuum2.test 1962 ms -Time: incrvacuum3.test 2366 ms -nFree=21 nPage=24 -nFree=21 nPage=24 -nFree=21 nPage=24 -nFree=21 nPage=24 -nFree=21 nPage=24 -nFree=21 nPage=24 -nFree=21 nPage=24 -nFree=21 nPage=24 -nFree=21 nPage=24 -nFree=21 nPage=24 -nFree=21 nPage=24 -nFree=21 nPage=24 -nFree=21 nPage=24 -nFree=21 nPage=24 -nFree=21 nPage=24 -nFree=21 nPage=24 -nFree=21 nPage=24 -nFree=21 nPage=24 -nFree=21 nPage=24 -nFree=21 nPage=24 -nFree=21 nPage=24 -nFree=21 nPage=24 -nFree=21 nPage=24 -nFree=21 nPage=24 -nFree=21 nPage=24 -nFree=21 nPage=24 -nFree=21 nPage=24 -nFree=21 nPage=24 -nFree=16 nPage=19 -nFree=11 nPage=14 -nFree=6 nPage=9 -nFree=6 nPage=9 -nFree=6 nPage=9 -nFree=6 nPage=9 -nFree=6 nPage=9 -nFree=6 nPage=9 -nFree=6 nPage=9 -nFree=6 nPage=9 -nFree=6 nPage=9 -nFree=6 nPage=9 -nFree=6 nPage=9 -nFree=6 nPage=9 -nFree=1 nPage=4 -Time: incrvacuum_ioerr.test 33400 ms -Time: index.test 356 ms -Time: index2.test 1203 ms -Time: index3.test 58 ms -Time: index4.test 10045 ms -Time: index5.test 30206 ms -Time: index6.test 211 ms -Time: index7.test 166 ms -Time: index8.test 47 ms -Time: index9.test 63 ms -Time: indexedby.test 103 ms -Time: indexexpr1.test 170 ms -Time: indexexpr2.test 128 ms -Time: indexfault.test 59121 ms -Time: init.test 59 ms -Time: insert.test 151 ms -Time: insert2.test 96 ms -Time: insert3.test 612 ms -Time: insert4.test 239 ms -Time: insert5.test 50 ms -Time: insertfault.test 361 ms -Time: instr.test 78 ms -Time: instrfault.test 131 ms -Time: intarray.test 557 ms -Time: interrupt.test 2910 ms -Time: interrupt2.test 104 ms -Time: intpkey.test 114 ms -Time: intreal.test 53 ms -Time: io.test 306 ms -Time: ioerr.test 26118 ms -Time: ioerr2.test 22767 ms -Time: ioerr3.test 720 ms -Time: ioerr4.test 253 ms -Time: ioerr5.test 221 ms -skipping tests - not compiled with SQLITE_ENABLE_ATOMIC_WRITE... -Time: ioerr6.test 39 ms -Time: istrue.test 90 ms -Time: join.test 224 ms -Time: join2.test 109 ms -Time: join3.test 622 ms -Time: join4.test 44 ms -Time: join5.test 1624 ms -Time: join6.test 65 ms -Time: journal1.test 47 ms -Time: journal2.test 116 ms -Time: journal3.test 58 ms -Time: jrnlmode.test 135 ms -Time: jrnlmode2.test 49 ms -Time: jrnlmode3.test 149 ms -Time: json101.test 121 ms -Time: json102.test 88 ms -Time: json103.test 55 ms -Time: json104.test 58 ms -Time: json105.test 62 ms -Time: keyword1.test 327 ms -Time: lastinsert.test 82 ms -Time: laststmtchanges.test 78 ms - (80 ms - want less than 1000) (164 ms - want less than 1000) Time: like.test 235 ms -Time: like2.test 200 ms -Time: like3.test 37 ms -Time: limit.test 247 ms -Time: limit2.test 127 ms -Time: loadext.test 37 ms -Time: loadext2.test 37 ms -Time: lock.test 898 ms -Time: lock2.test 78 ms -Time: lock3.test 48 ms -Time: lock4.test 109 ms -Time: lock5.test 50 ms -Time: lock6.test 37 ms -Time: lock7.test 44 ms -Time: lookaside.test 49 ms -VERSION: 3.33.0 2020-08-14 13:23:32 fca8dc8b578f215a969cd899336378966156154710873e68b3d9ac5881b0ff3f -Time: main.test 67 ms -This is a test. Ignore the error that follows: -Memory dump to file memdump.txt... -open-file-count=0 -Time: malloc.test 144046 ms -Time: malloc3.test 15338 ms -Time: malloc4.test 48 ms -Highwater mark: 4691200 - (Highwater mark: 1708136) (Highwater mark: 87832) Time: malloc5.test 799 ms -Time: malloc6.test 3181 ms -open-file-count=0 -Time: malloc7.test 671 ms -Time: malloc8.test 3295 ms -Time: malloc9.test 890 ms -Time: mallocA.test 50391 ms -Time: mallocB.test 1062 ms -Time: mallocC.test 4936 ms -Time: mallocD.test 5390 ms -Time: mallocE.test 2121 ms -Time: mallocF.test 3529 ms -Time: mallocG.test 3357 ms -Time: mallocH.test 2736 ms -Time: mallocI.test 4950 ms -Time: mallocJ.test 2938 ms -Time: mallocK.test 49920 ms -Time: mallocL.test 4783 ms -Time: mallocM.test 138 ms -Time: manydb.test 1338 ms -Time: mem5.test 37 ms -Time: memdb.test 986 ms -Time: memdb1.test 205 ms -Time: memsubsys1.test 656 ms -Time: memsubsys2.test 43 ms -Time: minmax.test 129 ms -Time: minmax2.test 96 ms -Time: minmax3.test 96 ms -Time: minmax4.test 91 ms -Time: misc1.test 274 ms -Time: misc2.test 127 ms -Time: misc3.test 108 ms -Time: misc4.test 74 ms -Time: misc5.test 468 ms -Time: misc6.test 43 ms -Time: misc7.test 10197 ms -Time: misc8.test 70 ms -Time: misuse.test 54 ms -Time: mjournal.test 55 ms -Time: mmap1.test 1196 ms -Time: mmap2.test 1047 ms -Time: mmap3.test 101 ms -Time: mmap4.test 45907 ms -Time: mmapfault.test 4650 ms -Time: mmapwarm.test 352 ms -Time: multiplex.test 4680 ms -Time: multiplex2.test 782 ms -SQLite compiled without SQLITE_ENABLE_8_3_NAMES. Skipping tests multiplex3-*. -Time: multiplex3.test 41 ms -Time: multiplex4.test 83 ms -Time: mutex1.test 55 ms -Time: mutex2.test 41 ms -Time: nan.test 112 ms -Time: nockpt.test 67 ms -Time: nolock.test 71 ms -Time: normalize.test 40 ms -Time: notify1.test 2086 ms -WARNING: Multi-threaded tests skipped: Linked against a non-threadsafe Tcl build -Time: notify2.test 37 ms -Time: notify3.test 68 ms -Time: notnull.test 176 ms -Time: null.test 73 ms -Time: nulls1.test 124 ms -Time: numcast.test 50 ms -Time: numindex1.test 63 ms -Time: offset1.test 54 ms -Time: openv2.test 44 ms -Time: orderby1.test 1300 ms -Time: orderby2.test 61 ms -Time: orderby3.test 52 ms -Time: orderby4.test 50 ms -Time: orderby5.test 73 ms -Time: orderby6.test 447 ms -Time: orderby7.test 36 ms -Time: orderby8.test 688 ms -Time: orderby9.test 50 ms -Time: orderbyA.test 111 ms -Time: oserror.test 659 ms -Time: ovfl.test 351 ms -Time: pager1.test 9388 ms -Time: pager2.test 15112 ms -Time: pager3.test 47 ms -Time: pager4.test 49 ms -Time: pagerfault.test 263543 ms -Time: pagerfault2.test 373518 ms -Time: pagerfault3.test 256 ms -Time: pageropt.test 62 ms -Time: pagesize.test 594 ms -Time: parser1.test 51 ms -Time: pcache.test 58 ms -Time: pcache2.test 57 ms -Time: percentile.test 7778 ms -Time: pragma.test 388 ms -Time: pragma2.test 132 ms -Time: pragma3.test 98 ms -Time: pragma4.test 565 ms -Time: pragma5.test 46 ms -Time: pragmafault.test 1121 ms -Time: prefixes.test 46 ms -Time: printf.test 1391 ms -Time: printf2.test 57 ms -Time: progress.test 58 ms -Time: ptrchng.test 52 ms -Time: pushdown.test 51 ms -Time: queryonly.test 47 ms -Time: quota-glob.test 57 ms -Time: quota.test 2254 ms -Time: quota2.test 67 ms -Time: quote.test 61 ms -Time: randexpr1.test 2891 ms -Time: rdonly.test 46 ms -Time: recover.test 37 ms -Time: regexp1.test 59 ms -Time: regexp2.test 62 ms -Time: reindex.test 75 ms -Time: resetdb.test 92 ms -Time: resolver01.test 63 ms -Time: rollback.test 53 ms -Time: rollback2.test 267 ms -Time: rollbackfault.test 182 ms -Time: round1.test 24251 ms -Time: rowallock.test 127 ms -Time: rowhash.test 7279 ms -Time: rowid.test 369 ms -Time: rowvalue.test 219 ms -Time: rowvalue2.test 3469 ms -Time: rowvalue3.test 144 ms -Time: rowvalue4.test 279 ms -Time: rowvalue5.test 51 ms -Time: rowvalue6.test 45 ms -Time: rowvalue7.test 53 ms -Time: rowvalue8.test 44 ms -Time: rowvalue9.test 134 ms -Time: rowvaluefault.test 176 ms -Time: rowvaluevtab.test 150 ms -Time: savepoint.test 875 ms -Time: savepoint2.test 6175 ms -Time: savepoint4.test 153382 ms -Time: savepoint5.test 41 ms -Time: savepoint6.test 596261 ms -Time: savepoint7.test 295 ms -Time: savepointfault.test 21497 ms -Time: scanstatus.test 38 ms -Time: schema.test 74 ms -Time: schema2.test 71 ms -Time: schema3.test 274 ms -Time: schema4.test 89 ms -Time: schema5.test 49 ms -Time: schema6.test 119 ms -Time: schemafault.test 63 ms -Time: securedel.test 42 ms -Time: securedel2.test 57415 ms -Time: select1.test 203 ms -time with cache: 668756 microseconds per iteration -time without cache: 1722258 microseconds per iteration -Time: select2.test 2562 ms -Time: select3.test 192 ms -Time: select4.test 145 ms -Time: select5.test 73 ms -Time: select6.test 109 ms -Time: select7.test 90 ms -Time: select8.test 45 ms -Time: select9.test 19378 ms -Time: selectA.test 227 ms -Time: selectB.test 198 ms -Time: selectC.test 77 ms -Time: selectD.test 91 ms -Time: selectE.test 48 ms -Time: selectF.test 42 ms -Time: selectG.test 3122 ms -Time: server1.test 38 ms -Time: shared.test 945 ms -Time: shared2.test 126 ms -Time: shared3.test 78 ms -Time: shared4.test 67 ms -Time: shared6.test 67 ms -Time: shared7.test 44 ms -Time: shared8.test 51 ms -Time: shared9.test 95 ms -WARNING: Multi-threaded tests skipped: Linked against a non-threadsafe Tcl build -Time: sharedA.test 43 ms -WARNING: Multi-threaded tests skipped: Linked against a non-threadsafe Tcl build -Time: sharedB.test 37 ms -Time: shared_err.test 158069 ms -Time: sharedlock.test 54 ms -Time: shell1.test 41 ms -Time: shell2.test 37 ms -Time: shell3.test 37 ms -Time: shell4.test 37 ms -Time: shell5.test 38 ms -Time: shell6.test 37 ms -Time: shell7.test 37 ms -Time: shell8.test 37 ms -Time: shmlock.test 6490 ms -Time: shortread1.test 42 ms -Time: shrink.test 141 ms -Time: sidedelete.test 943 ms -Time: skipscan1.test 140 ms -Time: skipscan2.test 569 ms -Time: skipscan3.test 82 ms -Time: skipscan5.test 418 ms -Time: skipscan6.test 102 ms -Time: snapshot.test 138 ms -Time: snapshot2.test 81 ms -Time: snapshot3.test 47 ms -Time: snapshot4.test 53 ms -Time: snapshot_fault.test 14848 ms -Time: snapshot_up.test 59 ms -Time: softheap1.test 45 ms -Time: sort.test 4875 ms -Time: sort2.test 47528 ms -Time: sort3.test 271608 ms -Time: sort4.test 70978 ms -Time: sort5.test 2001 ms -Time: sorterref.test 49 ms -singlethread -singlethread -singlethread -singlethread -Time: sortfault.test 781053 ms -SQLite 2020-08-14 13:23:32 fca8dc8b578f215a969cd899336378966156154710873e68b3d9ac5881b0ff3f -speed1-insert1... 1595799 uS 31332.26678 row/s -speed1-insert2... 2608311 uS 19169.49321 row/s -speed1-select1... 1311546 uS 1906147.40162 row/s -speed1-select2... 5115691 uS 488692.53440 row/s -speed1-createidx... 610531 uS 245687.77015 row/s -speed1-select3... 697635 uS 7167.07161 stmt/s -speed1-select4... 4250547 uS 23526.38378 row/s -speed1-select5... 5911933 uS 16914.94136 row/s -speed1-select6... 2876852 uS 17380.10854 row/s -speed1-vacuum... 1517851 uS 65882.61957 row/s -speed1-update1... 566449 uS 8826.91999 stmt/s -speed1-update2... 3902298 uS 12812.96303 row/s -speed1-update3... 1105691 uS 45220.59056 row/s -speed1-update4... 4588194 uS 10897.53398 row/s -speed1-delete1... 33481 uS 1493384.30752 row/s -speed1-copy1... 1409489 uS 35473.84903 row/s -speed1-delete2... 1131204 uS 44200.69236 row/s -speed1-copy2... 1418720 uS 35243.03598 row/s -speed1-drop1... 38143 uS 1310856.51365 row/s -speed1-copy3... 169355 uS 295237.81406 row/s -speed1-random1... 319723 uS 156385.37109 row/s -speed1-random-del1... 594801 uS 33624.69128 row/s -speed1-random-del2... 416102 uS 48065.13787 row/s -speed1 42190346 uS TOTAL -Time: speed1.test 53065 ms -SQLite 2020-08-14 13:23:32 fca8dc8b578f215a969cd899336378966156154710873e68b3d9ac5881b0ff3f -speed1p-insert1... 1329726 uS 37601.73148 row/s -speed1p-insert2... 2123352 uS 23547.67368 row/s -speed1p-select1... 2574261 uS 971152.49775 row/s -speed1p-select2... 6726344 uS 371672.93258 row/s -speed1p-createidx... 854113 uS 175620.79022 row/s -speed1p-select3... 550882 uS 9076.35392 stmt/s -speed1p-select4... 3060849 uS 32670.67405 row/s -speed1p-select5... 4302122 uS 23244.34314 row/s -speed1p-select6... 1891151 uS 26438.92529 row/s -speed1p-vacuum... 1593176 uS 62767.70426 row/s -speed1p-update1... 553127 uS 9039.51534 stmt/s -speed1p-update2... 3676270 uS 13600.74206 row/s -speed1p-update3... 2480922 uS 20153.79766 row/s -speed1p-update4... 4817254 uS 10379.35720 row/s -speed1p-delete1... 91432 uS 546854.49296 row/s -speed1p-copy1... 3510786 uS 14241.82505 row/s -speed1p-delete2... 3356915 uS 14894.62795 row/s -speed1p-copy2... 3529215 uS 14167.45650 row/s -speed1p-drop1... 93991 uS 531965.82652 row/s -speed1p-copy3... 168572 uS 296609.16404 row/s -speed1p-random1... 356848 uS 140115.67950 row/s -speed1p-random-del1.. 655527 uS 30509.80356 row/s -speed1p-random-del2.. 478766 uS 41774.06081 row/s -speed1 48775601 uS TOTAL -Time: speed1p.test 59334 ms -SQLite 2020-08-14 13:23:32 fca8dc8b578f215a969cd899336378966156154710873e68b3d9ac5881b0ff3f -speed2-insert1... 1711849 uS 29208.18367 row/s -speed2-insert2... 2775980 uS 18011.65714 row/s -speed2-select1a... 1309743 uS 1908771.41546 row/s -speed2-select2a... 5217125 uS 479191.12538 row/s -speed2-vacuum1... 722494 uS 138409.45392 row/s -speed2-select1b... 1345850 uS 1857562.13545 row/s -speed2-select2b... 5376955 uS 464947.16805 row/s -speed2-createidx... 612442 uS 244921.15172 row/s -speed2-select3a... 738838 uS 6767.38338 stmt/s -speed2-select4a... 5280360 uS 18938.10271 row/s -speed2-select5a... 6515444 uS 15348.14818 row/s -speed2-select6a... 3157831 uS 15833.65291 row/s -speed2-vacuum2... 1390265 uS 71928.73301 row/s -speed2-select3b... 749951 uS 6667.10225 stmt/s -speed2-select4b... 5285544 uS 18919.52843 row/s -speed2-select5b... 6462415 uS 15474.09134 row/s -speed2-select6b... 3166383 uS 15790.88822 row/s -speed2-update1... 573306 uS 8721.34602 stmt/s -speed2-update2... 4002305 uS 12492.80102 row/s -speed2-update3... 1081204 uS 46244.74197 row/s -speed2-update4... 4749387 uS 10527.67441 row/s -speed2-delete1... 33373 uS 1498217.12163 row/s -speed2-copy1... 1400049 uS 35713.03576 row/s -speed2-delete2... 1119490 uS 44663.19485 row/s -speed2-copy2... 1407453 uS 35525.16496 row/s -speed2-drop1... 37446 uS 1335256.10212 row/s -speed2-copy3... 162795 uS 307134.74001 row/s -speed2-random1... 322438 uS 155068.57132 row/s -speed2-random-del1... 588995 uS 33956.14564 row/s -speed2-random-del2... 415380 uS 48148.68313 row/s -speed2 67713090 uS TOTAL -Time: speed2.test 81420 ms -SQLite 2020-08-14 13:23:32 fca8dc8b578f215a969cd899336378966156154710873e68b3d9ac5881b0ff3f -speed3-1.incrvacuum.. 45295 uS 22077.49200 row/s -speed3-1.normal... 104915 uS 9531.52552 row/s -Incrvacuum: Read 1098, wrote 94 -Normal : Read 9014, wrote 43 -speed3-2.incrvacuum.. 41174 uS 24287.17152 row/s -speed3-2.normal... 92190 uS 10847.16347 row/s -Incrvacuum: Read 2841, wrote 1 -Normal : Read 9993, wrote 0 -Time: speed3.test 1644 ms -SQLite 2020-08-14 13:23:32 fca8dc8b578f215a969cd899336378966156154710873e68b3d9ac5881b0ff3f -speed4-join1... 225914 uS 221323.15837 row/s -speed4-join2... 2238430 uS 22337.08447 row/s -speed4-view1... 1374111 uS 7277.43246 stmt/s -speed4-table1... 1160737 uS 8615.21602 stmt/s -speed4-subselect1... 1919447 uS 5209.83387 stmt/s -speed4-trigger1... 1382103 uS 7235.35077 stmt/s -speed4-trigger2... 770186 uS 12983.87662 stmt/s -speed4-trigger3... 706542 uS 14153.44028 stmt/s -speed4-notrigger1... 345338 uS 28957.13764 stmt/s -speed4-notrigger2... 402182 uS 24864.36489 stmt/s -speed4-notrigger3... 298720 uS 33476.16497 stmt/s -speed4 10823710 uS TOTAL -Time: speed4.test 26912 ms -SQLite 2020-08-14 13:23:32 fca8dc8b578f215a969cd899336378966156154710873e68b3d9ac5881b0ff3f -speed4p-join1... 224949 uS 222272.60401 row/s -speed4p-join2... 1415720 uS 35317.71819 row/s -speed4p-view1... 376996 uS 26525.48038 stmt/s -speed4p-table1... 322203 uS 31036.33424 stmt/s -speed4p-subselect1... 380134 uS 26306.51297 stmt/s -speed4p-rowid-update. 233664 uS 42796.49411 stmt/s -speed4p-insert-ignore 568256 uS 87988.51222 row/s -speed4p-unique-update 980403 uS 32119.44476 stmt/s -speed4p-trigger1... 386545 uS 25870.20916 stmt/s -speed4p-trigger2... 329019 uS 30393.38154 stmt/s -speed4p-trigger3... 218149 uS 45840.22847 stmt/s -speed4p-notrigger1... 218830 uS 45697.57346 stmt/s -speed4p-notrigger2... 287019 uS 34840.89903 stmt/s -speed4p-notrigger3... 162735 uS 61449.59597 stmt/s -speed4 6104622 uS TOTAL -Time: speed4p.test 22132 ms -Time: spellfix.test 554 ms -Time: spellfix2.test 68 ms -Time: spellfix3.test 42 ms -Time: spellfix4.test 799 ms -Time: sqldiff1.test 37 ms -Time: sqllimits1.test 5127 ms -Time: sqllog.test 38 ms -Time: stat.test 121 ms -Time: statfault.test 2334 ms -Time: stmt.test 50 ms -Time: stmtvtab1.test 49 ms -Time: subjournal.test 148 ms -Time: subquery.test 110 ms -Time: subquery2.test 74 ms -Time: subselect.test 61 ms -Time: substr.test 114 ms -Time: subtype1.test 40 ms -Time: superlock.test 221 ms -Time: swarmvtab.test 9950 ms -Time: swarmvtab2.test 102 ms -Time: swarmvtab3.test 1484 ms -Time: swarmvtabfault.test 11644 ms -Time: symlink.test 87 ms -Time: symlink2.test 37 ms -Time: sync.test 48 ms -Time: sync2.test 53 ms -Time: syscall.test 526 ms -Time: sysfault.test 10953 ms -Time: tabfunc01.test 71 ms -Time: table.test 3780 ms -Time: tableapi.test 1118 ms -Time: tableopts.test 52 ms -Time: tclsqlite.test 119 ms -Time: tempdb.test 48 ms -Time: tempdb2.test 72 ms -Time: tempfault.test 133210 ms -Time: temptable.test 93 ms -Time: temptable2.test 39039 ms -Time: temptable3.test 47 ms -Time: temptrigger.test 84 ms -WARNING: Multi-threaded tests skipped: Linked against a non-threadsafe Tcl build -Time: thread001.test 38 ms -WARNING: Multi-threaded tests skipped: Linked against a non-threadsafe Tcl build -Time: thread002.test 38 ms -WARNING: Multi-threaded tests skipped: Linked against a non-threadsafe Tcl build -Time: thread003.test 38 ms -WARNING: Multi-threaded tests skipped: Linked against a non-threadsafe Tcl build -Time: thread004.test 37 ms -WARNING: Multi-threaded tests skipped: Linked against a non-threadsafe Tcl build -Time: thread005.test 38 ms -WARNING: Multi-threaded tests skipped: Linked against a non-threadsafe Tcl build -Time: thread1.test 38 ms -WARNING: Multi-threaded tests skipped: Linked against a non-threadsafe Tcl build -Time: thread2.test 38 ms -Time: tkt-02a8e81d44.test 42 ms -Time: tkt-18458b1a.test 50 ms -Time: tkt-26ff0c2d1e.test 39 ms -Time: tkt-2a5629202f.test 51 ms -Time: tkt-2d1a5c67d.test 378 ms -Time: tkt-2ea2425d34.test 43 ms -Time: tkt-31338dca7e.test 75 ms -Time: tkt-313723c356.test 331 ms -Time: tkt-385a5b56b9.test 49 ms -Time: tkt-38cb5df375.test 157 ms -Time: tkt-3998683a16.test 49 ms -Time: tkt-3a77c9714e.test 57 ms -Time: tkt-3fe897352e.test 41 ms -Time: tkt-4a03edc4c8.test 43 ms -Time: tkt-4c86b126f2.test 48 ms -Time: tkt-4dd95f6943.test 241 ms -Time: tkt-4ef7e3cfca.test 57 ms -Time: tkt-54844eea3f.test 52 ms -Time: tkt-5d863f876e.test 138 ms -Time: tkt-5e10420e8d.test 78 ms -Time: tkt-5ee23731f.test 45 ms -Time: tkt-6bfb98dfc0.test 50 ms -Time: tkt-752e1646fc.test 42 ms -Time: tkt-78e04e52ea.test 49 ms -Time: tkt-7a31705a7e6.test 42 ms -Time: tkt-7bbfb7d442.test 63 ms -Time: tkt-80ba201079.test 72 ms -Time: tkt-80e031a00f.test 117 ms -Time: tkt-8454a207b9.test 50 ms -Time: tkt-868145d012.test 47 ms -Time: tkt-8c63ff0ec.test 45 ms -Time: tkt-91e2e8ba6f.test 46 ms -Time: tkt-94c04eaadb.test 38 ms -Time: tkt-9a8b09f8e6.test 64 ms -Time: tkt-9d68c883.test 420 ms -Time: tkt-9f2eb3abac.test 944 ms -Time: tkt-a7b7803e.test 47 ms -Time: tkt-a7debbe0.test 78 ms -Time: tkt-a8a0d2996a.test 51 ms -Time: tkt-b1d3a2e531.test 69 ms -Time: tkt-b351d95f9.test 49 ms -Time: tkt-b72787b1.test 45 ms -Time: tkt-b75a9ca6b0.test 53 ms -Time: tkt-ba7cbfaedc.test 65 ms -Time: tkt-bd484a090c.test 40 ms -Time: tkt-bdc6bbbb38.test 38 ms -Time: tkt-c48d99d690.test 47 ms -Time: tkt-c694113d5.test 41 ms -Time: tkt-cbd054fa6b.test 65 ms -Time: tkt-d11f09d36e.test 819 ms -Time: tkt-d635236375.test 43 ms -Time: tkt-d82e3f3721.test 56 ms -Time: tkt-f3e5abed55.test 65 ms -Time: tkt-f67b41381a.test 72 ms -Time: tkt-f777251dc7a.test 58 ms -Time: tkt-f7b4edec.test 45 ms -Time: tkt-f973c7ac31.test 50 ms -Time: tkt-fa7bf5ec.test 42 ms -Time: tkt-fc62af4523.test 364 ms -Time: tkt-fc7bd6358f.test 64 ms -Time: tkt1435.test 45 ms -Time: tkt1443.test 46 ms -Time: tkt1444.test 47 ms -Time: tkt1449.test 87 ms -Time: tkt1473.test 78 ms -Time: tkt1501.test 41 ms -Time: tkt1512.test 45 ms -Time: tkt1514.test 40 ms -Time: tkt1536.test 42 ms -Time: tkt1537.test 60 ms -Time: tkt1567.test 182 ms -Time: tkt1644.test 50 ms -Time: tkt1667.test 1190 ms -Time: tkt1873.test 46 ms -Time: tkt2141.test 45 ms -Time: tkt2192.test 64 ms -Time: tkt2213.test 39 ms -Time: tkt2251.test 52 ms -Time: tkt2285.test 42 ms -Time: tkt2332.test 288 ms -Time: tkt2339.test 50 ms -Time: tkt2391.test 44 ms -Time: tkt2409.test 1421 ms -Time: tkt2450.test 43 ms -Time: tkt2565.test 110 ms -Time: tkt2640.test 51 ms -Time: tkt2643.test 46 ms -Time: tkt2686.test 17088 ms -Time: tkt2767.test 48 ms -Time: tkt2817.test 51 ms -Time: tkt2820.test 63 ms -Time: tkt2822.test 66 ms -Time: tkt2832.test 51 ms -Time: tkt2854.test 52 ms -Time: tkt2920.test 48 ms -Time: tkt2927.test 82 ms -Time: tkt2942.test 44 ms -Time: tkt3080.test 50 ms -Time: tkt3093.test 45 ms -Time: tkt3121.test 46 ms -Time: tkt3201.test 55 ms -Time: tkt3292.test 50 ms -Time: tkt3298.test 55 ms -Time: tkt3334.test 48 ms -Time: tkt3346.test 46 ms -Time: tkt3357.test 45 ms -Time: tkt3419.test 50 ms -Time: tkt3424.test 46 ms -Time: tkt3442.test 43 ms -Time: tkt3457.test 49 ms -Time: tkt3461.test 44 ms -Time: tkt3493.test 54 ms -Time: tkt3508.test 41 ms -Time: tkt3522.test 42 ms -Time: tkt3527.test 53 ms -Time: tkt3541.test 41 ms -Time: tkt3554.test 46 ms -Time: tkt3581.test 44 ms -Time: tkt35xx.test 55 ms -Time: tkt3630.test 44 ms -Time: tkt3718.test 127 ms -Time: tkt3731.test 48 ms -Time: tkt3757.test 46 ms -Time: tkt3761.test 42 ms -Time: tkt3762.test 99 ms -Time: tkt3773.test 43 ms -Time: tkt3791.test 41 ms -Time: tkt3793.test 94 ms -Time: tkt3810.test 52 ms -Time: tkt3824.test 59 ms -Time: tkt3832.test 44 ms -Time: tkt3838.test 54 ms -Time: tkt3841.test 45 ms -Time: tkt3871.test 67 ms -Time: tkt3879.test 46 ms -Time: tkt3911.test 47 ms -Time: tkt3918.test 53 ms -Time: tkt3922.test 49 ms -Time: tkt3929.test 97 ms -Time: tkt3935.test 44 ms -Time: tkt3992.test 51 ms -Time: tkt3997.test 45 ms -Time: tkt4018.test 3808 ms -Time: tokenize.test 42 ms -Time: tpch01.test 80 ms -Time: trace.test 70 ms -Time: trace2.test 43 ms -Time: trace3.test 67 ms -Time: trans.test 27592 ms -Time: trans2.test 79028 ms -Time: trans3.test 50 ms -Time: transitive1.test 139 ms -Time: trigger1.test 173 ms -Time: trigger2.test 628 ms -Time: trigger3.test 69 ms -Time: trigger4.test 85 ms -Time: trigger5.test 44 ms -Time: trigger6.test 49 ms -Time: trigger7.test 59 ms -Time: trigger8.test 43 ms -Time: trigger9.test 83 ms -Time: triggerA.test 1850 ms -Time: triggerB.test 475 ms -Time: triggerC.test 8272 ms -Time: triggerD.test 81 ms -Time: triggerE.test 61 ms -Time: triggerF.test 75 ms -Time: triggerG.test 58 ms -Time: triggerupfrom.test 79 ms -Time: trustschema1.test 92 ms -Time: types.test 238 ms -Time: types2.test 238 ms -Time: types3.test 42 ms -Time: unionvtab.test 199 ms -Time: unionvtabfault.test 11617 ms -Time: unique.test 77 ms -Time: unique2.test 87 ms -Time: unixexcl.test 261 ms -Time: unordered.test 62 ms -Time: update.test 432 ms -Time: update2.test 131 ms -Time: upfrom1.test 88 ms -Time: upfrom2.test 170 ms -Time: upfrom3.test 152 ms -Time: upfromfault.test 7357 ms -Time: upsert1.test 117 ms -Time: upsert2.test 80 ms -Time: upsert3.test 49 ms -Time: upsert4.test 205 ms -Time: upsertfault.test 745 ms -Time: uri.test 178 ms -Time: uri2.test 36 ms -Time: userauth01.test 37 ms -Time: utf16align.test 56 ms -Time: vacuum-into.test 102 ms -Time: vacuum.test 252 ms -Time: vacuum2.test 105 ms -Time: vacuum3.test 70249 ms -Time: vacuum4.test 50 ms -Time: vacuum5.test 368 ms -Time: vacuummem.test 37 ms -Time: varint.test 383 ms -Time: view.test 7058 ms -Time: vtab1.test 1481 ms -Time: vtab2.test 56 ms -Time: vtab3.test 55 ms -Time: vtab4.test 61 ms -Time: vtab5.test 63 ms -Time: vtab6.test 2764 ms -Time: vtab7.test 68 ms -Time: vtab8.test 54 ms -Time: vtab9.test 49 ms -Time: vtabA.test 81 ms -Time: vtabB.test 49 ms -Time: vtabC.test 11144 ms -Time: vtabD.test 6271 ms -Time: vtabE.test 46 ms -Time: vtabF.test 51 ms -Time: vtabH.test 127 ms -Time: vtabI.test 63 ms -Time: vtabJ.test 61 ms -Time: vtab_alter.test 61 ms -Time: vtab_err.test 241467 ms -Time: vtab_shared.test 112 ms -Time: vtabdrop.test 63 ms -Time: wal.test 4818 ms -Time: wal2.test 1142 ms -Time: wal3.test 28141 ms -Time: wal4.test 1087 ms -Time: wal5.test 3701 ms -Time: wal6.test 112 ms -Time: wal64k.test 2522 ms -Time: wal7.test 115 ms -Time: wal8.test 59 ms -Time: wal9.test 2411 ms -Time: walbak.test 245 ms -Time: walbig.test 57 ms -Time: walblock.test 37 ms -Time: walcksum.test 328 ms -Time: walcrash.test 31467 ms -Time: walcrash2.test 30858 ms -Time: walcrash3.test 642409 ms -Time: walcrash4.test 7686 ms -Time: walfault.test 88379 ms -Time: walfault2.test 7863 ms -Time: walhook.test 54 ms -Time: walmode.test 138 ms -Time: walnoshm.test 69 ms -Time: waloverwrite.test 332 ms -Time: walpersist.test 160 ms -# Warning: This next test case causes SQLite to call xSleep(1) 100 times. -# Normally this equates to a delay of roughly 10 seconds, but if SQLite -# is built on unix without HAVE_USLEEP defined, it may be much longer. -# Warning: Same again! -# Warning: Third time! -# Warning: Another slow test! -# Warning: Last one! -Time: walprotocol.test 20055 ms -Time: walprotocol2.test 50 ms -Time: walro.test 231 ms -Time: walro2.test 498 ms -Time: walrofault.test 1412 ms -Time: walsetlk.test 26263 ms -Time: walshared.test 51 ms -Time: walslow.test 94093 ms -WARNING: Multi-threaded tests skipped: Linked against a non-threadsafe Tcl build -Time: walthread.test 56 ms -# WARNING: This next test takes around 12 seconds -Time: walvfs.test 10104 ms -Time: where.test 309 ms -Time: where2.test 198 ms -Time: where3.test 156 ms -Time: where4.test 86 ms -Time: where5.test 59 ms -Time: where6.test 59 ms -Time: where7.test 1776 ms -Time: where8.test 12916 ms -Time: where9.test 226 ms -Time: whereA.test 66 ms -Time: whereB.test 114 ms -Time: whereC.test 71 ms -Time: whereD.test 152 ms -Time: whereE.test 127 ms -Time: whereF.test 109 ms -Time: whereG.test 162 ms -Time: whereH.test 77 ms -Time: whereI.test 59 ms -Time: whereJ.test 1053 ms -Time: whereK.test 48 ms -Time: whereL.test 74 ms -Time: wherefault.test 18987 ms -Time: wherelfault.test 39 ms -Time: wherelimit.test 36 ms -Time: wherelimit2.test 36 ms -Time: win32heap.test 12 ms -Time: win32lock.test 13 ms -Time: win32longpath.test 13 ms -Time: win32nolock.test 12 ms -Time: window1.test 506 ms -Time: window2.test 160 ms -Time: window3.test 8580 ms -Time: window4.test 275 ms -Time: window5.test 48 ms -Time: window6.test 136 ms -Time: window7.test 58 ms -Time: window8.test 1999 ms -Time: window9.test 88 ms -Time: windowA.test 59 ms -Time: windowB.test 111 ms -Time: windowerr.test 49 ms -Time: windowfault.test 22025 ms -Time: with1.test 5878 ms -Time: with2.test 168 ms -Time: with3.test 78 ms -Time: with4.test 44 ms -Time: withM.test 563 ms -Time: without_rowid1.test 174 ms -Time: without_rowid2.test 59 ms -Time: without_rowid3.test 949 ms -Time: without_rowid4.test 589 ms -Time: without_rowid5.test 69 ms -Time: without_rowid6.test 90 ms -Time: without_rowid7.test 48 ms -Time: writecrash.test 246743 ms -Time: zeroblob.test 98 ms -Time: zerodamage.test 61 ms -Time: zipfile.test 745 ms -Time: zipfile2.test 72 ms -Time: zipfilefault.test 2983 ms -SQLite 2020-08-14 13:23:32 fca8dc8b578f215a969cd899336378966156154710873e68b3d9ac5881b0ff3f -0 errors out of 928209 tests on pi64 Linux 64-bit little-endian -WARNING: Multi-threaded tests skipped: Linked against a non-threadsafe Tcl build -All memory allocations freed - no leaks -Maximum memory usage: 9222848 bytes -Current memory usage: 0 bytes -Number of malloc() : -1 calls ---- PASS: TestTclTest (9744.91s) -PASS -ok modernc.org/sqlite 9879.055s -Sun Sep 13 11:34:23 UTC 2020 |