mirror of
https://github.com/glebarez/go-sqlite.git
synced 2025-11-03 10:00:54 +08:00
upgrade darwin/arm64 to SQLite 3.36.0
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
// Code generated by 'ccgo -export-defines "" -o internal/mptest/main_darwin_arm64.go -trace-translation-units testdata/sqlite-src-3350500/mptest/mptest.c -Itestdata/sqlite-amalgamation-3350500 -l modernc.org/sqlite/lib -DNDEBUG -DHAVE_USLEEP -DLONGDOUBLE_TYPE=double -DSQLITE_CORE -DSQLITE_ENABLE_COLUMN_METADATA -DSQLITE_ENABLE_FTS5 -DSQLITE_ENABLE_GEOPOLY -DSQLITE_ENABLE_JSON1 -DSQLITE_ENABLE_MEMORY_MANAGEMENT -DSQLITE_ENABLE_OFFSET_SQL_FUNC -DSQLITE_ENABLE_PREUPDATE_HOOK -DSQLITE_ENABLE_RBU -DSQLITE_ENABLE_RTREE -DSQLITE_ENABLE_SNAPSHOT -DSQLITE_ENABLE_STAT4 -DSQLITE_ENABLE_UNLOCK_NOTIFY -DSQLITE_LIKE_DOESNT_MATCH_BLOBS -DSQLITE_MUTEX_APPDEF=1 -DSQLITE_SOUNDEX -DSQLITE_THREADSAFE=1 -DSQLITE_MUTEX_NOOP -DSQLITE_OS_UNIX=1 -DSQLITE_WITHOUT_ZONEMALLOC', DO NOT EDIT.
|
||||
// Code generated by 'ccgo -export-defines "" -o internal/mptest/main_darwin_arm64.go -trace-translation-units testdata/sqlite-src-3360000/mptest/mptest.c -Itestdata/sqlite-amalgamation-3360000 -l modernc.org/sqlite/lib -DNDEBUG -DHAVE_USLEEP -DLONGDOUBLE_TYPE=double -DSQLITE_CORE -DSQLITE_ENABLE_COLUMN_METADATA -DSQLITE_ENABLE_FTS5 -DSQLITE_ENABLE_GEOPOLY -DSQLITE_ENABLE_JSON1 -DSQLITE_ENABLE_MEMORY_MANAGEMENT -DSQLITE_ENABLE_OFFSET_SQL_FUNC -DSQLITE_ENABLE_PREUPDATE_HOOK -DSQLITE_ENABLE_RBU -DSQLITE_ENABLE_RTREE -DSQLITE_ENABLE_SNAPSHOT -DSQLITE_ENABLE_STAT4 -DSQLITE_ENABLE_UNLOCK_NOTIFY -DSQLITE_LIKE_DOESNT_MATCH_BLOBS -DSQLITE_MUTEX_APPDEF=1 -DSQLITE_SOUNDEX -DSQLITE_THREADSAFE=1 -DSQLITE_MUTEX_NOOP -DSQLITE_OS_UNIX=1 -DSQLITE_WITHOUT_ZONEMALLOC', DO NOT EDIT.
|
||||
|
||||
package main
|
||||
|
||||
@@ -572,9 +572,11 @@ const (
|
||||
SQLITE_FCNTL_CHUNK_SIZE = 6
|
||||
SQLITE_FCNTL_CKPT_DONE = 37
|
||||
SQLITE_FCNTL_CKPT_START = 39
|
||||
SQLITE_FCNTL_CKSM_FILE = 41
|
||||
SQLITE_FCNTL_COMMIT_ATOMIC_WRITE = 32
|
||||
SQLITE_FCNTL_COMMIT_PHASETWO = 22
|
||||
SQLITE_FCNTL_DATA_VERSION = 35
|
||||
SQLITE_FCNTL_EXTERNAL_READER = 40
|
||||
SQLITE_FCNTL_FILE_POINTER = 7
|
||||
SQLITE_FCNTL_GET_LOCKPROXYFILE = 2
|
||||
SQLITE_FCNTL_HAS_MOVED = 20
|
||||
@@ -795,7 +797,7 @@ const (
|
||||
SQLITE_SHM_SHARED = 4
|
||||
SQLITE_SHM_UNLOCK = 1
|
||||
SQLITE_SOUNDEX = 1
|
||||
SQLITE_SOURCE_ID = "2021-04-19 18:32:05 1b256d97b553a9611efca188a3d995a2fff712759044ba480f9a0c9e98fae886"
|
||||
SQLITE_SOURCE_ID = "2021-06-18 18:36:39 5c9a6c06871cb9fe42814af9c039eb6da5427a6ec28f187af7ebfb62eafa66e5"
|
||||
SQLITE_STATUS_MALLOC_COUNT = 9
|
||||
SQLITE_STATUS_MALLOC_SIZE = 5
|
||||
SQLITE_STATUS_MEMORY_USED = 0
|
||||
@@ -832,7 +834,7 @@ const (
|
||||
SQLITE_TESTCTRL_INTERNAL_FUNCTIONS = 17
|
||||
SQLITE_TESTCTRL_ISINIT = 23
|
||||
SQLITE_TESTCTRL_ISKEYWORD = 16
|
||||
SQLITE_TESTCTRL_LAST = 31
|
||||
SQLITE_TESTCTRL_LAST = 32
|
||||
SQLITE_TESTCTRL_LOCALTIME_FAULT = 18
|
||||
SQLITE_TESTCTRL_NEVER_CORRUPT = 20
|
||||
SQLITE_TESTCTRL_ONCE_RESET_THRESHOLD = 19
|
||||
@@ -849,6 +851,7 @@ const (
|
||||
SQLITE_TESTCTRL_SEEK_COUNT = 30
|
||||
SQLITE_TESTCTRL_SORTER_MMAP = 24
|
||||
SQLITE_TESTCTRL_TRACEFLAGS = 31
|
||||
SQLITE_TESTCTRL_TUNE = 32
|
||||
SQLITE_TESTCTRL_VDBE_COVERAGE = 21
|
||||
SQLITE_TEXT = 3
|
||||
SQLITE_THREADSAFE = 1
|
||||
@@ -867,8 +870,8 @@ const (
|
||||
SQLITE_UTF16LE = 2
|
||||
SQLITE_UTF16_ALIGNED = 8
|
||||
SQLITE_UTF8 = 1
|
||||
SQLITE_VERSION = "3.35.5"
|
||||
SQLITE_VERSION_NUMBER = 3035005
|
||||
SQLITE_VERSION = "3.36.0"
|
||||
SQLITE_VERSION_NUMBER = 3036000
|
||||
SQLITE_VTAB_CONSTRAINT_SUPPORT = 1
|
||||
SQLITE_VTAB_DIRECTONLY = 3
|
||||
SQLITE_VTAB_INNOCUOUS = 2
|
||||
@@ -2274,7 +2277,7 @@ type sqlite3_vfs1 = struct {
|
||||
xSetSystemCall uintptr
|
||||
xGetSystemCall uintptr
|
||||
xNextSystemCall uintptr
|
||||
} /* sqlite3.h:1368:9 */
|
||||
} /* sqlite3.h:1387:9 */
|
||||
|
||||
// CAPI3REF: OS Interface Object
|
||||
//
|
||||
@@ -2443,8 +2446,8 @@ type sqlite3_vfs1 = struct {
|
||||
// or all of these interfaces to be NULL or for their behavior to change
|
||||
// from one release to the next. Applications must not attempt to access
|
||||
// any of these methods if the iVersion of the VFS is less than 3.
|
||||
type sqlite3_vfs = sqlite3_vfs1 /* sqlite3.h:1368:28 */
|
||||
type sqlite3_syscall_ptr = uintptr /* sqlite3.h:1369:14 */
|
||||
type sqlite3_vfs = sqlite3_vfs1 /* sqlite3.h:1387:28 */
|
||||
type sqlite3_syscall_ptr = uintptr /* sqlite3.h:1388:14 */
|
||||
|
||||
// CAPI3REF: Memory Allocation Routines
|
||||
//
|
||||
@@ -2516,7 +2519,7 @@ type sqlite3_mem_methods1 = struct {
|
||||
xInit uintptr
|
||||
xShutdown uintptr
|
||||
pAppData uintptr
|
||||
} /* sqlite3.h:1666:9 */
|
||||
} /* sqlite3.h:1685:9 */
|
||||
|
||||
// CAPI3REF: Memory Allocation Routines
|
||||
//
|
||||
@@ -2579,7 +2582,7 @@ type sqlite3_mem_methods1 = struct {
|
||||
//
|
||||
// SQLite will never invoke xInit() more than once without an intervening
|
||||
// call to xShutdown().
|
||||
type sqlite3_mem_methods = sqlite3_mem_methods1 /* sqlite3.h:1666:36 */
|
||||
type sqlite3_mem_methods = sqlite3_mem_methods1 /* sqlite3.h:1685:36 */
|
||||
|
||||
// CAPI3REF: Constants Defining Special Destructor Behavior
|
||||
//
|
||||
@@ -2593,7 +2596,7 @@ type sqlite3_mem_methods = sqlite3_mem_methods1 /* sqlite3.h:1666:36 */
|
||||
//
|
||||
// The typedef is necessary to work around problems in certain
|
||||
// C++ compilers.
|
||||
type sqlite3_destructor_type = uintptr /* sqlite3.h:5635:14 */
|
||||
type sqlite3_destructor_type = uintptr /* sqlite3.h:5665:14 */
|
||||
|
||||
// The interface to the virtual-table mechanism is currently considered
|
||||
// to be experimental. The interface might change in incompatible ways.
|
||||
@@ -2608,7 +2611,7 @@ type sqlite3_vtab1 = struct {
|
||||
nRef int32
|
||||
_ [4]byte
|
||||
zErrMsg uintptr
|
||||
} /* sqlite3.h:6754:9 */
|
||||
} /* sqlite3.h:6784:9 */
|
||||
|
||||
// The interface to the virtual-table mechanism is currently considered
|
||||
// to be experimental. The interface might change in incompatible ways.
|
||||
@@ -2618,7 +2621,7 @@ type sqlite3_vtab1 = struct {
|
||||
// interface fixed, support it indefinitely, and remove this comment.
|
||||
|
||||
// Structures used by the virtual table interface
|
||||
type sqlite3_vtab = sqlite3_vtab1 /* sqlite3.h:6754:29 */
|
||||
type sqlite3_vtab = sqlite3_vtab1 /* sqlite3.h:6784:29 */
|
||||
type sqlite3_index_info1 = struct {
|
||||
nConstraint int32
|
||||
_ [4]byte
|
||||
@@ -2637,12 +2640,12 @@ type sqlite3_index_info1 = struct {
|
||||
idxFlags int32
|
||||
_ [4]byte
|
||||
colUsed sqlite3_uint64
|
||||
} /* sqlite3.h:6755:9 */
|
||||
} /* sqlite3.h:6785:9 */
|
||||
|
||||
type sqlite3_index_info = sqlite3_index_info1 /* sqlite3.h:6755:35 */
|
||||
type sqlite3_vtab_cursor1 = struct{ pVtab uintptr } /* sqlite3.h:6756:9 */
|
||||
type sqlite3_index_info = sqlite3_index_info1 /* sqlite3.h:6785:35 */
|
||||
type sqlite3_vtab_cursor1 = struct{ pVtab uintptr } /* sqlite3.h:6786:9 */
|
||||
|
||||
type sqlite3_vtab_cursor = sqlite3_vtab_cursor1 /* sqlite3.h:6756:36 */
|
||||
type sqlite3_vtab_cursor = sqlite3_vtab_cursor1 /* sqlite3.h:6786:36 */
|
||||
type sqlite3_module1 = struct {
|
||||
iVersion int32
|
||||
_ [4]byte
|
||||
@@ -2669,9 +2672,9 @@ type sqlite3_module1 = struct {
|
||||
xRelease uintptr
|
||||
xRollbackTo uintptr
|
||||
xShadowName uintptr
|
||||
} /* sqlite3.h:6754:9 */
|
||||
} /* sqlite3.h:6784:9 */
|
||||
|
||||
type sqlite3_module = sqlite3_module1 /* sqlite3.h:6757:31 */
|
||||
type sqlite3_module = sqlite3_module1 /* sqlite3.h:6787:31 */
|
||||
|
||||
// CAPI3REF: Virtual Table Indexing Information
|
||||
// KEYWORDS: sqlite3_index_info
|
||||
@@ -2779,7 +2782,7 @@ type sqlite3_index_constraint = struct {
|
||||
usable uint8
|
||||
_ [2]byte
|
||||
iTermOffset int32
|
||||
} /* sqlite3.h:6755:9 */
|
||||
} /* sqlite3.h:6785:9 */
|
||||
|
||||
// CAPI3REF: Virtual Table Indexing Information
|
||||
// KEYWORDS: sqlite3_index_info
|
||||
@@ -2885,7 +2888,7 @@ type sqlite3_index_orderby = struct {
|
||||
iColumn int32
|
||||
desc uint8
|
||||
_ [3]byte
|
||||
} /* sqlite3.h:6755:9 */
|
||||
} /* sqlite3.h:6785:9 */
|
||||
|
||||
// CAPI3REF: Virtual Table Indexing Information
|
||||
// KEYWORDS: sqlite3_index_info
|
||||
@@ -2991,7 +2994,7 @@ type sqlite3_index_constraint_usage = struct {
|
||||
argvIndex int32
|
||||
omit uint8
|
||||
_ [3]byte
|
||||
} /* sqlite3.h:6755:9 */
|
||||
} /* sqlite3.h:6785:9 */
|
||||
|
||||
// CAPI3REF: Mutex Methods Object
|
||||
//
|
||||
@@ -3066,7 +3069,7 @@ type sqlite3_mutex_methods1 = struct {
|
||||
xMutexLeave uintptr
|
||||
xMutexHeld uintptr
|
||||
xMutexNotheld uintptr
|
||||
} /* sqlite3.h:7589:9 */
|
||||
} /* sqlite3.h:7619:9 */
|
||||
|
||||
// CAPI3REF: Mutex Methods Object
|
||||
//
|
||||
@@ -3131,7 +3134,7 @@ type sqlite3_mutex_methods1 = struct {
|
||||
// called, but only if the prior call to xMutexInit returned SQLITE_OK.
|
||||
// If xMutexInit fails in any way, it is expected to clean up after itself
|
||||
// prior to returning.
|
||||
type sqlite3_mutex_methods = sqlite3_mutex_methods1 /* sqlite3.h:7589:38 */
|
||||
type sqlite3_mutex_methods = sqlite3_mutex_methods1 /* sqlite3.h:7619:38 */
|
||||
|
||||
// CAPI3REF: Custom Page Cache Object
|
||||
//
|
||||
@@ -3144,7 +3147,7 @@ type sqlite3_mutex_methods = sqlite3_mutex_methods1 /* sqlite3.h:7589:38 */
|
||||
type sqlite3_pcache_page1 = struct {
|
||||
pBuf uintptr
|
||||
pExtra uintptr
|
||||
} /* sqlite3.h:8344:9 */
|
||||
} /* sqlite3.h:8375:9 */
|
||||
|
||||
// CAPI3REF: Custom Page Cache Object
|
||||
//
|
||||
@@ -3154,7 +3157,7 @@ type sqlite3_pcache_page1 = struct {
|
||||
// of this object as parameters or as their return value.
|
||||
//
|
||||
// See [sqlite3_pcache_methods2] for additional information.
|
||||
type sqlite3_pcache_page = sqlite3_pcache_page1 /* sqlite3.h:8344:36 */
|
||||
type sqlite3_pcache_page = sqlite3_pcache_page1 /* sqlite3.h:8375:36 */
|
||||
|
||||
// CAPI3REF: Application Defined Page Cache.
|
||||
// KEYWORDS: {page cache}
|
||||
@@ -3328,7 +3331,7 @@ type sqlite3_pcache_methods21 = struct {
|
||||
xTruncate uintptr
|
||||
xDestroy uintptr
|
||||
xShrink uintptr
|
||||
} /* sqlite3.h:8509:9 */
|
||||
} /* sqlite3.h:8540:9 */
|
||||
|
||||
// CAPI3REF: Application Defined Page Cache.
|
||||
// KEYWORDS: {page cache}
|
||||
@@ -3487,7 +3490,7 @@ type sqlite3_pcache_methods21 = struct {
|
||||
// free up as much of heap memory as possible. The page cache implementation
|
||||
// is not obligated to free any memory, but well-behaved implementations should
|
||||
// do their best.
|
||||
type sqlite3_pcache_methods2 = sqlite3_pcache_methods21 /* sqlite3.h:8509:40 */
|
||||
type sqlite3_pcache_methods2 = sqlite3_pcache_methods21 /* sqlite3.h:8540:40 */
|
||||
|
||||
// This is the obsolete pcache_methods object that has now been replaced
|
||||
// by sqlite3_pcache_methods2. This object is not used by SQLite. It is
|
||||
@@ -3504,12 +3507,12 @@ type sqlite3_pcache_methods1 = struct {
|
||||
xRekey uintptr
|
||||
xTruncate uintptr
|
||||
xDestroy uintptr
|
||||
} /* sqlite3.h:8532:9 */
|
||||
} /* sqlite3.h:8563:9 */
|
||||
|
||||
// This is the obsolete pcache_methods object that has now been replaced
|
||||
// by sqlite3_pcache_methods2. This object is not used by SQLite. It is
|
||||
// retained in the header file for backwards compatibility only.
|
||||
type sqlite3_pcache_methods = sqlite3_pcache_methods1 /* sqlite3.h:8532:39 */
|
||||
type sqlite3_pcache_methods = sqlite3_pcache_methods1 /* sqlite3.h:8563:39 */
|
||||
|
||||
// CAPI3REF: Database Snapshot
|
||||
// KEYWORDS: {snapshot} {sqlite3_snapshot}
|
||||
@@ -3529,7 +3532,7 @@ type sqlite3_pcache_methods = sqlite3_pcache_methods1 /* sqlite3.h:8532:39 */
|
||||
// version of the database file so that it is possible to later open a new read
|
||||
// transaction that sees that historical version of the database rather than
|
||||
// the most recent version.
|
||||
type sqlite3_snapshot1 = struct{ hidden [48]uint8 } /* sqlite3.h:9589:9 */
|
||||
type sqlite3_snapshot1 = struct{ hidden [48]uint8 } /* sqlite3.h:9630:9 */
|
||||
|
||||
// CAPI3REF: Database Snapshot
|
||||
// KEYWORDS: {snapshot} {sqlite3_snapshot}
|
||||
@@ -3549,7 +3552,7 @@ type sqlite3_snapshot1 = struct{ hidden [48]uint8 } /* sqlite3.h:9589:9 */
|
||||
// version of the database file so that it is possible to later open a new read
|
||||
// transaction that sees that historical version of the database rather than
|
||||
// the most recent version.
|
||||
type sqlite3_snapshot = sqlite3_snapshot1 /* sqlite3.h:9591:3 */
|
||||
type sqlite3_snapshot = sqlite3_snapshot1 /* sqlite3.h:9632:3 */
|
||||
|
||||
// CAPI3REF: Flags for sqlite3_deserialize()
|
||||
//
|
||||
@@ -3593,7 +3596,7 @@ type sqlite3_rtree_geometry1 = struct {
|
||||
aParam uintptr
|
||||
pUser uintptr
|
||||
xDelUser uintptr
|
||||
} /* sqlite3.h:9916:9 */
|
||||
} /* sqlite3.h:9957:9 */
|
||||
|
||||
// CAPI3REF: Flags for sqlite3_deserialize()
|
||||
//
|
||||
@@ -3630,7 +3633,7 @@ type sqlite3_rtree_geometry1 = struct {
|
||||
//
|
||||
//
|
||||
|
||||
type sqlite3_rtree_geometry = sqlite3_rtree_geometry1 /* sqlite3.h:9916:39 */
|
||||
type sqlite3_rtree_geometry = sqlite3_rtree_geometry1 /* sqlite3.h:9957:39 */
|
||||
type sqlite3_rtree_query_info1 = struct {
|
||||
pContext uintptr
|
||||
nParam int32
|
||||
@@ -3650,13 +3653,13 @@ type sqlite3_rtree_query_info1 = struct {
|
||||
eWithin int32
|
||||
rScore sqlite3_rtree_dbl
|
||||
apSqlParam uintptr
|
||||
} /* sqlite3.h:9917:9 */
|
||||
} /* sqlite3.h:9958:9 */
|
||||
|
||||
type sqlite3_rtree_query_info = sqlite3_rtree_query_info1 /* sqlite3.h:9917:41 */
|
||||
type sqlite3_rtree_query_info = sqlite3_rtree_query_info1 /* sqlite3.h:9958:41 */
|
||||
|
||||
// The double-precision datatype used by RTree depends on the
|
||||
// SQLITE_RTREE_INT_ONLY compile-time option.
|
||||
type sqlite3_rtree_dbl = float64 /* sqlite3.h:9925:18 */
|
||||
type sqlite3_rtree_dbl = float64 /* sqlite3.h:9966:18 */
|
||||
|
||||
// Allowed values for sqlite3_rtree_query.eWithin and .eParentWithin.
|
||||
|
||||
@@ -3711,7 +3714,7 @@ type Fts5ExtensionApi1 = struct {
|
||||
xPhraseNext uintptr
|
||||
xPhraseFirstColumn uintptr
|
||||
xPhraseNextColumn uintptr
|
||||
} /* sqlite3.h:11724:9 */
|
||||
} /* sqlite3.h:11813:9 */
|
||||
|
||||
// Allowed values for sqlite3_rtree_query.eWithin and .eParentWithin.
|
||||
|
||||
@@ -3744,22 +3747,22 @@ type Fts5ExtensionApi1 = struct {
|
||||
// Virtual table implementations may overload SQL functions by implementing
|
||||
// the sqlite3_module.xFindFunction() method.
|
||||
|
||||
type Fts5ExtensionApi = Fts5ExtensionApi1 /* sqlite3.h:11724:33 */
|
||||
type Fts5ExtensionApi = Fts5ExtensionApi1 /* sqlite3.h:11813:33 */
|
||||
type Fts5PhraseIter1 = struct {
|
||||
a uintptr
|
||||
b uintptr
|
||||
} /* sqlite3.h:11726:9 */
|
||||
} /* sqlite3.h:11815:9 */
|
||||
|
||||
type Fts5PhraseIter = Fts5PhraseIter1 /* sqlite3.h:11726:31 */
|
||||
type Fts5PhraseIter = Fts5PhraseIter1 /* sqlite3.h:11815:31 */
|
||||
|
||||
type fts5_extension_function = uintptr /* sqlite3.h:11728:14 */
|
||||
type fts5_extension_function = uintptr /* sqlite3.h:11817:14 */
|
||||
type fts5_tokenizer1 = struct {
|
||||
xCreate uintptr
|
||||
xDelete uintptr
|
||||
xTokenize uintptr
|
||||
} /* sqlite3.h:12187:9 */
|
||||
} /* sqlite3.h:12276:9 */
|
||||
|
||||
type fts5_tokenizer = fts5_tokenizer1 /* sqlite3.h:12187:31 */
|
||||
type fts5_tokenizer = fts5_tokenizer1 /* sqlite3.h:12276:31 */
|
||||
|
||||
// Flags that may be passed as the third argument to xTokenize()
|
||||
|
||||
@@ -3779,7 +3782,7 @@ type fts5_api1 = struct {
|
||||
xCreateTokenizer uintptr
|
||||
xFindTokenizer uintptr
|
||||
xCreateFunction uintptr
|
||||
} /* sqlite3.h:12223:9 */
|
||||
} /* sqlite3.h:12312:9 */
|
||||
|
||||
// Flags that may be passed as the third argument to xTokenize()
|
||||
|
||||
@@ -3793,7 +3796,7 @@ type fts5_api1 = struct {
|
||||
// ************************************************************************
|
||||
//
|
||||
// FTS5 EXTENSION REGISTRATION API
|
||||
type fts5_api = fts5_api1 /* sqlite3.h:12223:25 */
|
||||
type fts5_api = fts5_api1 /* sqlite3.h:12312:25 */
|
||||
|
||||
// Copyright (c) 2003-2013 Apple Inc. All rights reserved.
|
||||
//
|
||||
@@ -12256,11 +12259,11 @@ func main1(tls *libc.TLS, argc int32, argv uintptr) int32 { /* mptest.c:1279:18:
|
||||
if strglob(tls, ts+2323 /* "*.test" */, g.zDbFile) != 0 {
|
||||
usage(tls, *(*uintptr)(unsafe.Pointer(argv)))
|
||||
}
|
||||
if libc.Xstrcmp(tls, sqlite3.Xsqlite3_sourceid(tls), ts+2330 /* "2021-04-19 18:32..." */) != 0 {
|
||||
if libc.Xstrcmp(tls, sqlite3.Xsqlite3_sourceid(tls), ts+2330 /* "2021-06-18 18:36..." */) != 0 {
|
||||
libc.Xfprintf(tls, libc.X__stderrp,
|
||||
|
||||
ts+2415, /* "SQLite library a..." */
|
||||
libc.VaList(bp, sqlite3.Xsqlite3_sourceid(tls), ts+2330 /* "2021-04-19 18:32..." */))
|
||||
libc.VaList(bp, sqlite3.Xsqlite3_sourceid(tls), ts+2330 /* "2021-06-18 18:36..." */))
|
||||
libc.Xexit(tls, 1)
|
||||
}
|
||||
*(*int32)(unsafe.Pointer(bp + 232 /* n */)) = (argc - 2)
|
||||
@@ -12319,7 +12322,7 @@ func main1(tls *libc.TLS, argc int32, argv uintptr) int32 { /* mptest.c:1279:18:
|
||||
libc.Xprintf(tls, ts+2317 /* " %s" */, libc.VaList(bp+72, *(*uintptr)(unsafe.Pointer(argv + uintptr(i)*8))))
|
||||
}
|
||||
libc.Xprintf(tls, ts+2321 /* "\n" */, 0)
|
||||
libc.Xprintf(tls, ts+2617 /* "With SQLite 3.35..." */, 0)
|
||||
libc.Xprintf(tls, ts+2617 /* "With SQLite 3.36..." */, 0)
|
||||
for i = 0; (libc.AssignUintptr(&zCOption, sqlite3.Xsqlite3_compileoption_get(tls, i))) != uintptr(0); i++ {
|
||||
libc.Xprintf(tls, ts+2722 /* "-DSQLITE_%s\n" */, libc.VaList(bp+80, zCOption))
|
||||
}
|
||||
@@ -12466,5 +12469,5 @@ func main1(tls *libc.TLS, argc int32, argv uintptr) int32 { /* mptest.c:1279:18:
|
||||
return (libc.Bool32(g.nError > 0))
|
||||
}
|
||||
|
||||
var ts1 = "%s%.*s\n\x00%s:ERROR: \x00%s:FATAL: \x00UPDATE client SET wantHalt=1;\x00%s: \x00main\x00timeout after %dms\x00[%.*s]\x00(info) %s\x00(errcode=%d) %s\x00%s\n%s\n\x00out of memory\x00 \x00nil\x00'\x00error(%d)\x00BEGIN IMMEDIATE\x00in startScript: %s\x00UPDATE counters SET nError=nError+%d, nTest=nTest+%d\x00SELECT 1 FROM client WHERE id=%d AND wantHalt\x00DELETE FROM client WHERE id=%d\x00COMMIT TRANSACTION;\x00SELECT script, id, name FROM task WHERE client=%d AND starttime IS NULL ORDER BY id LIMIT 1\x00%s\x00UPDATE task SET starttime=strftime('%%Y-%%m-%%d %%H:%%M:%%f','now') WHERE id=%d;\x00Waited over 30 seconds with no work. Giving up.\x00DELETE FROM client WHERE id=%d; COMMIT;\x00COMMIT\x00UPDATE task SET endtime=strftime('%%Y-%%m-%%d %%H:%%M:%%f','now') WHERE id=%d;\x00INSERT OR IGNORE INTO client VALUES(%d,0)\x00%s \"%s\" --client %d --trace %d\x00%z --sqltrace\x00%z --sync\x00%z --vfs \"%s\"\x00system('%q')\x00%z &\x00system() fails with error code %d\x00rb\x00cannot open \"%s\" for reading\x00--end\x00--endif\x00--else\x00--if\x00SELECT 1 FROM task WHERE client=%d AND client IN (SELECT id FROM client) AND endtime IS NULL\x00SELECT 1 FROM task WHERE client IN (SELECT id FROM client) AND endtime IS NULL\x00\x00%stimeout waiting for client %d\x00%stimeout waiting for all clients\x00on\x00yes\x00off\x00no\x00unknown boolean: [%s]\x00%.*s\x00sleep\x00exit\x00testcase\x00finish\x00reset\x00match\x00line %d of %s:\nExpected [%.*s]\n Got [%s]\x00glob\x00notglob\x00line %d of %s:\nExpected [%s]\n Got [%s]\x00output\x00source\x00%.*s/%s\x00begin script [%s]\n\x00end script [%s]\n\x00print\x00if\x00SELECT %.*s\x00else\x00endif\x00start\x00wait\x00line %d of %s\n\x00task\x00line %d of %s: bad client number: %d\x00%s:%d\x00INSERT INTO task(client,script,name) VALUES(%d,'%q',%Q)\x00breakpoint\x00show-sql-errors\x00line %d of %s: unknown command --%s\x00command-line option \"--%s\" requires an argument\x00Usage: %s DATABASE ?OPTIONS? ?SCRIPT?\n\x00Options:\n --errlog FILENAME Write errors to FILENAME\n --journalmode MODE Use MODE as the journal_mode\n --log FILENAME Log messages to FILENAME\n --quiet Suppress unnecessary output\n --vfs NAME Use NAME as the VFS\n --repeat N Repeat the test N times\n --sqltrace Enable SQL tracing\n --sync Enable synchronous disk writes\n --timeout MILLISEC Busy timeout is MILLISEC\n --trace BOOLEAN Enable or disable tracing\n\x00%s: unrecognized arguments:\x00 %s\x00\n\x00*.test\x002021-04-19 18:32:05 1b256d97b553a9611efca188a3d995a2fff712759044ba480f9a0c9e98fae886\x00SQLite library and header mismatch\nLibrary: %s\nHeader: %s\n\x00%05d.mptest\x00journalmode\x00repeat\x00vfs\x00client\x00errlog\x00log\x00trace\x00quiet\x00timeout\x00sqltrace\x00sync\x00a\x00illegal client number: %d\n\x00%05d.client%02d\x00BEGIN: %s\x00With SQLite 3.35.5 2021-04-19 18:32:05 1b256d97b553a9611efca188a3d995a2fff712759044ba480f9a0c9e98fae886\n\x00-DSQLITE_%s\n\x00... %strying to unlink '%s'\n\x00still \x00unable to unlink '%s' after %d attempts\n\x00cannot open [%s]\x00PRAGMA journal_mode=%Q;\x00PRAGMA synchronous=OFF\x00vfsname\x00eval\x00start-client\x00begin %s (%d)\x00end %s (%d)\x00end-client\x00missing script filename\x00DROP TABLE IF EXISTS task;\nDROP TABLE IF EXISTS counters;\nDROP TABLE IF EXISTS client;\nCREATE TABLE task(\n id INTEGER PRIMARY KEY,\n name TEXT,\n client INTEGER,\n starttime DATE,\n endtime DATE,\n script TEXT\n);CREATE INDEX task_i1 ON task(client, starttime);\nCREATE INDEX task_i2 ON task(client, endtime);\nCREATE TABLE counters(nError,nTest);\nINSERT INTO counters VALUES(0,0);\nCREATE TABLE client(id INTEGER PRIMARY KEY, wantHalt);\n\x00begin script [%s] cycle %d\n\x00end script [%s] cycle %d\n\x00during shutdown...\n\x00UPDATE client SET wantHalt=1\x00SELECT 1 FROM client\x00SELECT nError, nTest FROM counters\x00Summary: %d errors out of %d tests\n\x00END: %s\x00"
|
||||
var ts1 = "%s%.*s\n\x00%s:ERROR: \x00%s:FATAL: \x00UPDATE client SET wantHalt=1;\x00%s: \x00main\x00timeout after %dms\x00[%.*s]\x00(info) %s\x00(errcode=%d) %s\x00%s\n%s\n\x00out of memory\x00 \x00nil\x00'\x00error(%d)\x00BEGIN IMMEDIATE\x00in startScript: %s\x00UPDATE counters SET nError=nError+%d, nTest=nTest+%d\x00SELECT 1 FROM client WHERE id=%d AND wantHalt\x00DELETE FROM client WHERE id=%d\x00COMMIT TRANSACTION;\x00SELECT script, id, name FROM task WHERE client=%d AND starttime IS NULL ORDER BY id LIMIT 1\x00%s\x00UPDATE task SET starttime=strftime('%%Y-%%m-%%d %%H:%%M:%%f','now') WHERE id=%d;\x00Waited over 30 seconds with no work. Giving up.\x00DELETE FROM client WHERE id=%d; COMMIT;\x00COMMIT\x00UPDATE task SET endtime=strftime('%%Y-%%m-%%d %%H:%%M:%%f','now') WHERE id=%d;\x00INSERT OR IGNORE INTO client VALUES(%d,0)\x00%s \"%s\" --client %d --trace %d\x00%z --sqltrace\x00%z --sync\x00%z --vfs \"%s\"\x00system('%q')\x00%z &\x00system() fails with error code %d\x00rb\x00cannot open \"%s\" for reading\x00--end\x00--endif\x00--else\x00--if\x00SELECT 1 FROM task WHERE client=%d AND client IN (SELECT id FROM client) AND endtime IS NULL\x00SELECT 1 FROM task WHERE client IN (SELECT id FROM client) AND endtime IS NULL\x00\x00%stimeout waiting for client %d\x00%stimeout waiting for all clients\x00on\x00yes\x00off\x00no\x00unknown boolean: [%s]\x00%.*s\x00sleep\x00exit\x00testcase\x00finish\x00reset\x00match\x00line %d of %s:\nExpected [%.*s]\n Got [%s]\x00glob\x00notglob\x00line %d of %s:\nExpected [%s]\n Got [%s]\x00output\x00source\x00%.*s/%s\x00begin script [%s]\n\x00end script [%s]\n\x00print\x00if\x00SELECT %.*s\x00else\x00endif\x00start\x00wait\x00line %d of %s\n\x00task\x00line %d of %s: bad client number: %d\x00%s:%d\x00INSERT INTO task(client,script,name) VALUES(%d,'%q',%Q)\x00breakpoint\x00show-sql-errors\x00line %d of %s: unknown command --%s\x00command-line option \"--%s\" requires an argument\x00Usage: %s DATABASE ?OPTIONS? ?SCRIPT?\n\x00Options:\n --errlog FILENAME Write errors to FILENAME\n --journalmode MODE Use MODE as the journal_mode\n --log FILENAME Log messages to FILENAME\n --quiet Suppress unnecessary output\n --vfs NAME Use NAME as the VFS\n --repeat N Repeat the test N times\n --sqltrace Enable SQL tracing\n --sync Enable synchronous disk writes\n --timeout MILLISEC Busy timeout is MILLISEC\n --trace BOOLEAN Enable or disable tracing\n\x00%s: unrecognized arguments:\x00 %s\x00\n\x00*.test\x002021-06-18 18:36:39 5c9a6c06871cb9fe42814af9c039eb6da5427a6ec28f187af7ebfb62eafa66e5\x00SQLite library and header mismatch\nLibrary: %s\nHeader: %s\n\x00%05d.mptest\x00journalmode\x00repeat\x00vfs\x00client\x00errlog\x00log\x00trace\x00quiet\x00timeout\x00sqltrace\x00sync\x00a\x00illegal client number: %d\n\x00%05d.client%02d\x00BEGIN: %s\x00With SQLite 3.36.0 2021-06-18 18:36:39 5c9a6c06871cb9fe42814af9c039eb6da5427a6ec28f187af7ebfb62eafa66e5\n\x00-DSQLITE_%s\n\x00... %strying to unlink '%s'\n\x00still \x00unable to unlink '%s' after %d attempts\n\x00cannot open [%s]\x00PRAGMA journal_mode=%Q;\x00PRAGMA synchronous=OFF\x00vfsname\x00eval\x00start-client\x00begin %s (%d)\x00end %s (%d)\x00end-client\x00missing script filename\x00DROP TABLE IF EXISTS task;\nDROP TABLE IF EXISTS counters;\nDROP TABLE IF EXISTS client;\nCREATE TABLE task(\n id INTEGER PRIMARY KEY,\n name TEXT,\n client INTEGER,\n starttime DATE,\n endtime DATE,\n script TEXT\n);CREATE INDEX task_i1 ON task(client, starttime);\nCREATE INDEX task_i2 ON task(client, endtime);\nCREATE TABLE counters(nError,nTest);\nINSERT INTO counters VALUES(0,0);\nCREATE TABLE client(id INTEGER PRIMARY KEY, wantHalt);\n\x00begin script [%s] cycle %d\n\x00end script [%s] cycle %d\n\x00during shutdown...\n\x00UPDATE client SET wantHalt=1\x00SELECT 1 FROM client\x00SELECT nError, nTest FROM counters\x00Summary: %d errors out of %d tests\n\x00END: %s\x00"
|
||||
var ts = (*reflect.StringHeader)(unsafe.Pointer(&ts1)).Data
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -1,4 +1,4 @@
|
||||
// Code generated by 'ccgo -DSQLITE_PRIVATE= -export-defines -export-enums -export-externs X -export-fields F -export-typedefs -pkgname sqlite3 -o lib/sqlite_darwin_arm64.go -trace-translation-units testdata/sqlite-amalgamation-3350500/sqlite3.c -DNDEBUG -DHAVE_USLEEP -DLONGDOUBLE_TYPE=double -DSQLITE_CORE -DSQLITE_ENABLE_COLUMN_METADATA -DSQLITE_ENABLE_FTS5 -DSQLITE_ENABLE_GEOPOLY -DSQLITE_ENABLE_JSON1 -DSQLITE_ENABLE_MEMORY_MANAGEMENT -DSQLITE_ENABLE_OFFSET_SQL_FUNC -DSQLITE_ENABLE_PREUPDATE_HOOK -DSQLITE_ENABLE_RBU -DSQLITE_ENABLE_RTREE -DSQLITE_ENABLE_SNAPSHOT -DSQLITE_ENABLE_STAT4 -DSQLITE_ENABLE_UNLOCK_NOTIFY -DSQLITE_LIKE_DOESNT_MATCH_BLOBS -DSQLITE_MUTEX_APPDEF=1 -DSQLITE_SOUNDEX -DSQLITE_THREADSAFE=1 -DSQLITE_MUTEX_NOOP -DSQLITE_OS_UNIX=1 -DSQLITE_WITHOUT_ZONEMALLOC', DO NOT EDIT.
|
||||
// Code generated by 'ccgo -DSQLITE_PRIVATE= -export-defines -export-enums -export-externs X -export-fields F -export-typedefs -pkgname sqlite3 -o lib/sqlite_darwin_arm64.go -trace-translation-units testdata/sqlite-amalgamation-3360000/sqlite3.c -DNDEBUG -DHAVE_USLEEP -DLONGDOUBLE_TYPE=double -DSQLITE_CORE -DSQLITE_ENABLE_COLUMN_METADATA -DSQLITE_ENABLE_FTS5 -DSQLITE_ENABLE_GEOPOLY -DSQLITE_ENABLE_JSON1 -DSQLITE_ENABLE_MEMORY_MANAGEMENT -DSQLITE_ENABLE_OFFSET_SQL_FUNC -DSQLITE_ENABLE_PREUPDATE_HOOK -DSQLITE_ENABLE_RBU -DSQLITE_ENABLE_RTREE -DSQLITE_ENABLE_SNAPSHOT -DSQLITE_ENABLE_STAT4 -DSQLITE_ENABLE_UNLOCK_NOTIFY -DSQLITE_LIKE_DOESNT_MATCH_BLOBS -DSQLITE_MUTEX_APPDEF=1 -DSQLITE_SOUNDEX -DSQLITE_THREADSAFE=1 -DSQLITE_MUTEX_NOOP -DSQLITE_OS_UNIX=1 -DSQLITE_WITHOUT_ZONEMALLOC', DO NOT EDIT.
|
||||
|
||||
package sqlite3
|
||||
|
||||
@@ -273,6 +273,8 @@ var CAPI = map[string]struct{}{
|
||||
"sqlite3ExprIsTableConstant": {},
|
||||
"sqlite3ExprIsVector": {},
|
||||
"sqlite3ExprListAppend": {},
|
||||
"sqlite3ExprListAppendGrow": {},
|
||||
"sqlite3ExprListAppendNew": {},
|
||||
"sqlite3ExprListAppendVector": {},
|
||||
"sqlite3ExprListCheckLength": {},
|
||||
"sqlite3ExprListCompare": {},
|
||||
@@ -320,6 +322,7 @@ var CAPI = map[string]struct{}{
|
||||
"sqlite3Fts5Init": {},
|
||||
"sqlite3FunctionSearch": {},
|
||||
"sqlite3FunctionUsesThisSrc": {},
|
||||
"sqlite3GenerateColumnNames": {},
|
||||
"sqlite3GenerateConstraintChecks": {},
|
||||
"sqlite3GenerateIndexKey": {},
|
||||
"sqlite3GenerateRowDelete": {},
|
||||
@@ -406,6 +409,7 @@ var CAPI = map[string]struct{}{
|
||||
"sqlite3MemCompare": {},
|
||||
"sqlite3MemJournalOpen": {},
|
||||
"sqlite3MemSetDefault": {},
|
||||
"sqlite3MemdbInit": {},
|
||||
"sqlite3MisuseError": {},
|
||||
"sqlite3MulInt64": {},
|
||||
"sqlite3MultiWrite": {},
|
||||
@@ -628,6 +632,7 @@ var CAPI = map[string]struct{}{
|
||||
"sqlite3SelectExprHeight": {},
|
||||
"sqlite3SelectNew": {},
|
||||
"sqlite3SelectOpName": {},
|
||||
"sqlite3SelectPopWith": {},
|
||||
"sqlite3SelectPrep": {},
|
||||
"sqlite3SelectTrace": {},
|
||||
"sqlite3SelectWalkFail": {},
|
||||
@@ -908,6 +913,7 @@ var CAPI = map[string]struct{}{
|
||||
"sqlite3WalkSelect": {},
|
||||
"sqlite3WalkSelectExpr": {},
|
||||
"sqlite3WalkSelectFrom": {},
|
||||
"sqlite3WalkWinDefnDummyCallback": {},
|
||||
"sqlite3WalkerDepthDecrease": {},
|
||||
"sqlite3WalkerDepthIncrease": {},
|
||||
"sqlite3WhereBegin": {},
|
||||
@@ -953,6 +959,7 @@ var CAPI = map[string]struct{}{
|
||||
"sqlite3WindowUpdate": {},
|
||||
"sqlite3WithAdd": {},
|
||||
"sqlite3WithDelete": {},
|
||||
"sqlite3WithDup": {},
|
||||
"sqlite3WithPush": {},
|
||||
"sqlite3WritableSchema": {},
|
||||
"sqlite3_aggregate_context": {},
|
||||
@@ -1044,6 +1051,7 @@ var CAPI = map[string]struct{}{
|
||||
"sqlite3_db_release_memory": {},
|
||||
"sqlite3_db_status": {},
|
||||
"sqlite3_declare_vtab": {},
|
||||
"sqlite3_deserialize": {},
|
||||
"sqlite3_drop_modules": {},
|
||||
"sqlite3_enable_load_extension": {},
|
||||
"sqlite3_enable_shared_cache": {},
|
||||
@@ -1064,7 +1072,6 @@ var CAPI = map[string]struct{}{
|
||||
"sqlite3_free": {},
|
||||
"sqlite3_free_filename": {},
|
||||
"sqlite3_free_table": {},
|
||||
"sqlite3_fts5_may_be_corrupt": {},
|
||||
"sqlite3_get_autocommit": {},
|
||||
"sqlite3_get_auxdata": {},
|
||||
"sqlite3_get_table": {},
|
||||
@@ -1106,6 +1113,7 @@ var CAPI = map[string]struct{}{
|
||||
"sqlite3_prepare16_v3": {},
|
||||
"sqlite3_prepare_v2": {},
|
||||
"sqlite3_prepare_v3": {},
|
||||
"sqlite3_preupdate_blobwrite": {},
|
||||
"sqlite3_preupdate_count": {},
|
||||
"sqlite3_preupdate_depth": {},
|
||||
"sqlite3_preupdate_hook": {},
|
||||
@@ -1143,6 +1151,7 @@ var CAPI = map[string]struct{}{
|
||||
"sqlite3_rollback_hook": {},
|
||||
"sqlite3_rtree_geometry_callback": {},
|
||||
"sqlite3_rtree_query_callback": {},
|
||||
"sqlite3_serialize": {},
|
||||
"sqlite3_set_authorizer": {},
|
||||
"sqlite3_set_auxdata": {},
|
||||
"sqlite3_set_last_insert_rowid": {},
|
||||
@@ -1230,6 +1239,9 @@ var CAPI = map[string]struct{}{
|
||||
"sqlite3_wal_checkpoint": {},
|
||||
"sqlite3_wal_checkpoint_v2": {},
|
||||
"sqlite3_wal_hook": {},
|
||||
"sqlite3aEQb": {},
|
||||
"sqlite3aGTb": {},
|
||||
"sqlite3aLTb": {},
|
||||
"sqlite3rbu_bp_progress": {},
|
||||
"sqlite3rbu_close": {},
|
||||
"sqlite3rbu_create_vfs": {},
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -1,4 +1,4 @@
|
||||
// Code generated by 'ccgo -DSQLITE_PRIVATE= -export-defines -export-enums -export-externs X -export-fields F -export-typedefs -pkgname sqlite3 -o libtest/sqlite_darwin_arm64.go -trace-translation-units -volatile=sqlite3_io_error_pending,sqlite3_open_file_count,sqlite3_pager_readdb_count,sqlite3_pager_writedb_count,sqlite3_pager_writej_count,sqlite3_search_count,sqlite3_sort_count,saved_cnt testdata/sqlite-amalgamation-3350500/sqlite3.c -DNDEBUG -DHAVE_USLEEP -DLONGDOUBLE_TYPE=double -DSQLITE_CKSUMVFS_STATIC -DSQLITE_CORE -DSQLITE_DEFAULT_MEMSTATUS=0 -DSQLITE_DEFAULT_PAGE_SIZE=1024 -DSQLITE_ENABLE_BYTECODE_VTAB -DSQLITE_ENABLE_COLUMN_METADATA -DSQLITE_ENABLE_DBPAGE_VTAB -DSQLITE_ENABLE_DBSTAT_VTAB -DSQLITE_ENABLE_DESERIALIZE -DSQLITE_ENABLE_EXPLAIN_COMMENTS -DSQLITE_ENABLE_FTS5 -DSQLITE_ENABLE_GEOPOLY -DSQLITE_ENABLE_JSON1 -DSQLITE_ENABLE_MEMORY_MANAGEMENT -DSQLITE_ENABLE_OFFSET_SQL_FUNC -DSQLITE_ENABLE_PREUPDATE_HOOK -DSQLITE_ENABLE_RBU -DSQLITE_ENABLE_RTREE -DSQLITE_ENABLE_SNAPSHOT -DSQLITE_ENABLE_STAT4 -DSQLITE_ENABLE_STMTVTAB -DSQLITE_ENABLE_UNLOCK_NOTIFY -DSQLITE_HAVE_ZLIB=1 -DSQLITE_LIKE_DOESNT_MATCH_BLOBS -DSQLITE_MUTEX_APPDEF=1 -DSQLITE_SOUNDEX -DSQLITE_TEMP_STORE=1 -DSQLITE_TEST -DSQLITE_THREADSAFE=1 -DSQLITE_MUTEX_NOOP -DSQLITE_OS_UNIX=1 -DSQLITE_WITHOUT_ZONEMALLOC', DO NOT EDIT.
|
||||
// Code generated by 'ccgo -DSQLITE_PRIVATE= -export-defines -export-enums -export-externs X -export-fields F -export-typedefs -pkgname sqlite3 -o libtest/sqlite_darwin_arm64.go -trace-translation-units -volatile=sqlite3_io_error_pending,sqlite3_open_file_count,sqlite3_pager_readdb_count,sqlite3_pager_writedb_count,sqlite3_pager_writej_count,sqlite3_search_count,sqlite3_sort_count,saved_cnt testdata/sqlite-amalgamation-3360000/sqlite3.c -DNDEBUG -DHAVE_USLEEP -DLONGDOUBLE_TYPE=double -DSQLITE_CKSUMVFS_STATIC -DSQLITE_CORE -DSQLITE_DEFAULT_MEMSTATUS=0 -DSQLITE_DEFAULT_PAGE_SIZE=1024 -DSQLITE_ENABLE_BYTECODE_VTAB -DSQLITE_ENABLE_COLUMN_METADATA -DSQLITE_ENABLE_DBPAGE_VTAB -DSQLITE_ENABLE_DBSTAT_VTAB -DSQLITE_ENABLE_DESERIALIZE -DSQLITE_ENABLE_EXPLAIN_COMMENTS -DSQLITE_ENABLE_FTS5 -DSQLITE_ENABLE_GEOPOLY -DSQLITE_ENABLE_JSON1 -DSQLITE_ENABLE_MEMORY_MANAGEMENT -DSQLITE_ENABLE_OFFSET_SQL_FUNC -DSQLITE_ENABLE_PREUPDATE_HOOK -DSQLITE_ENABLE_RBU -DSQLITE_ENABLE_RTREE -DSQLITE_ENABLE_SNAPSHOT -DSQLITE_ENABLE_STAT4 -DSQLITE_ENABLE_STMTVTAB -DSQLITE_ENABLE_UNLOCK_NOTIFY -DSQLITE_HAVE_ZLIB=1 -DSQLITE_LIKE_DOESNT_MATCH_BLOBS -DSQLITE_MUTEX_APPDEF=1 -DSQLITE_SOUNDEX -DSQLITE_TEMP_STORE=1 -DSQLITE_TEST -DSQLITE_THREADSAFE=1 -DSQLITE_MUTEX_NOOP -DSQLITE_OS_UNIX=1 -DSQLITE_WITHOUT_ZONEMALLOC', DO NOT EDIT.
|
||||
|
||||
package sqlite3
|
||||
|
||||
@@ -279,6 +279,8 @@ var CAPI = map[string]struct{}{
|
||||
"sqlite3ExprIsTableConstant": {},
|
||||
"sqlite3ExprIsVector": {},
|
||||
"sqlite3ExprListAppend": {},
|
||||
"sqlite3ExprListAppendGrow": {},
|
||||
"sqlite3ExprListAppendNew": {},
|
||||
"sqlite3ExprListAppendVector": {},
|
||||
"sqlite3ExprListCheckLength": {},
|
||||
"sqlite3ExprListCompare": {},
|
||||
@@ -326,6 +328,7 @@ var CAPI = map[string]struct{}{
|
||||
"sqlite3Fts5Init": {},
|
||||
"sqlite3FunctionSearch": {},
|
||||
"sqlite3FunctionUsesThisSrc": {},
|
||||
"sqlite3GenerateColumnNames": {},
|
||||
"sqlite3GenerateConstraintChecks": {},
|
||||
"sqlite3GenerateIndexKey": {},
|
||||
"sqlite3GenerateRowDelete": {},
|
||||
@@ -640,6 +643,7 @@ var CAPI = map[string]struct{}{
|
||||
"sqlite3SelectExprHeight": {},
|
||||
"sqlite3SelectNew": {},
|
||||
"sqlite3SelectOpName": {},
|
||||
"sqlite3SelectPopWith": {},
|
||||
"sqlite3SelectPrep": {},
|
||||
"sqlite3SelectTrace": {},
|
||||
"sqlite3SelectWalkFail": {},
|
||||
@@ -927,6 +931,7 @@ var CAPI = map[string]struct{}{
|
||||
"sqlite3WalkSelect": {},
|
||||
"sqlite3WalkSelectExpr": {},
|
||||
"sqlite3WalkSelectFrom": {},
|
||||
"sqlite3WalkWinDefnDummyCallback": {},
|
||||
"sqlite3WalkerDepthDecrease": {},
|
||||
"sqlite3WalkerDepthIncrease": {},
|
||||
"sqlite3WhereBegin": {},
|
||||
@@ -972,6 +977,7 @@ var CAPI = map[string]struct{}{
|
||||
"sqlite3WindowUpdate": {},
|
||||
"sqlite3WithAdd": {},
|
||||
"sqlite3WithDelete": {},
|
||||
"sqlite3WithDup": {},
|
||||
"sqlite3WithPush": {},
|
||||
"sqlite3WritableSchema": {},
|
||||
"sqlite3_aggregate_context": {},
|
||||
@@ -1088,7 +1094,6 @@ var CAPI = map[string]struct{}{
|
||||
"sqlite3_free": {},
|
||||
"sqlite3_free_filename": {},
|
||||
"sqlite3_free_table": {},
|
||||
"sqlite3_fts5_may_be_corrupt": {},
|
||||
"sqlite3_fullsync_count": {},
|
||||
"sqlite3_get_autocommit": {},
|
||||
"sqlite3_get_auxdata": {},
|
||||
@@ -1146,6 +1151,7 @@ var CAPI = map[string]struct{}{
|
||||
"sqlite3_prepare16_v3": {},
|
||||
"sqlite3_prepare_v2": {},
|
||||
"sqlite3_prepare_v3": {},
|
||||
"sqlite3_preupdate_blobwrite": {},
|
||||
"sqlite3_preupdate_count": {},
|
||||
"sqlite3_preupdate_depth": {},
|
||||
"sqlite3_preupdate_hook": {},
|
||||
@@ -1275,6 +1281,9 @@ var CAPI = map[string]struct{}{
|
||||
"sqlite3_wal_checkpoint_v2": {},
|
||||
"sqlite3_wal_hook": {},
|
||||
"sqlite3_xferopt_count": {},
|
||||
"sqlite3aEQb": {},
|
||||
"sqlite3aGTb": {},
|
||||
"sqlite3aLTb": {},
|
||||
"sqlite3rbu_bp_progress": {},
|
||||
"sqlite3rbu_close": {},
|
||||
"sqlite3rbu_create_vfs": {},
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -1,4 +1,4 @@
|
||||
// Code generated by 'ccgo -export-defines "" -o speedtest1/main_darwin_arm64.go -trace-translation-units testdata/sqlite-src-3350500/test/speedtest1.c -Itestdata/sqlite-amalgamation-3350500 -l modernc.org/sqlite/lib -DNDEBUG -DHAVE_USLEEP -DLONGDOUBLE_TYPE=double -DSQLITE_CORE -DSQLITE_ENABLE_COLUMN_METADATA -DSQLITE_ENABLE_FTS5 -DSQLITE_ENABLE_GEOPOLY -DSQLITE_ENABLE_JSON1 -DSQLITE_ENABLE_MEMORY_MANAGEMENT -DSQLITE_ENABLE_OFFSET_SQL_FUNC -DSQLITE_ENABLE_PREUPDATE_HOOK -DSQLITE_ENABLE_RBU -DSQLITE_ENABLE_RTREE -DSQLITE_ENABLE_SNAPSHOT -DSQLITE_ENABLE_STAT4 -DSQLITE_ENABLE_UNLOCK_NOTIFY -DSQLITE_LIKE_DOESNT_MATCH_BLOBS -DSQLITE_MUTEX_APPDEF=1 -DSQLITE_SOUNDEX -DSQLITE_THREADSAFE=1 -DSQLITE_MUTEX_NOOP -DSQLITE_OS_UNIX=1 -DSQLITE_WITHOUT_ZONEMALLOC', DO NOT EDIT.
|
||||
// Code generated by 'ccgo -export-defines "" -o speedtest1/main_darwin_arm64.go -trace-translation-units testdata/sqlite-src-3360000/test/speedtest1.c -Itestdata/sqlite-amalgamation-3360000 -l modernc.org/sqlite/lib -DNDEBUG -DHAVE_USLEEP -DLONGDOUBLE_TYPE=double -DSQLITE_CORE -DSQLITE_ENABLE_COLUMN_METADATA -DSQLITE_ENABLE_FTS5 -DSQLITE_ENABLE_GEOPOLY -DSQLITE_ENABLE_JSON1 -DSQLITE_ENABLE_MEMORY_MANAGEMENT -DSQLITE_ENABLE_OFFSET_SQL_FUNC -DSQLITE_ENABLE_PREUPDATE_HOOK -DSQLITE_ENABLE_RBU -DSQLITE_ENABLE_RTREE -DSQLITE_ENABLE_SNAPSHOT -DSQLITE_ENABLE_STAT4 -DSQLITE_ENABLE_UNLOCK_NOTIFY -DSQLITE_LIKE_DOESNT_MATCH_BLOBS -DSQLITE_MUTEX_APPDEF=1 -DSQLITE_SOUNDEX -DSQLITE_THREADSAFE=1 -DSQLITE_MUTEX_NOOP -DSQLITE_OS_UNIX=1 -DSQLITE_WITHOUT_ZONEMALLOC', DO NOT EDIT.
|
||||
|
||||
package main
|
||||
|
||||
@@ -463,9 +463,11 @@ const (
|
||||
SQLITE_FCNTL_CHUNK_SIZE = 6
|
||||
SQLITE_FCNTL_CKPT_DONE = 37
|
||||
SQLITE_FCNTL_CKPT_START = 39
|
||||
SQLITE_FCNTL_CKSM_FILE = 41
|
||||
SQLITE_FCNTL_COMMIT_ATOMIC_WRITE = 32
|
||||
SQLITE_FCNTL_COMMIT_PHASETWO = 22
|
||||
SQLITE_FCNTL_DATA_VERSION = 35
|
||||
SQLITE_FCNTL_EXTERNAL_READER = 40
|
||||
SQLITE_FCNTL_FILE_POINTER = 7
|
||||
SQLITE_FCNTL_GET_LOCKPROXYFILE = 2
|
||||
SQLITE_FCNTL_HAS_MOVED = 20
|
||||
@@ -686,7 +688,7 @@ const (
|
||||
SQLITE_SHM_SHARED = 4
|
||||
SQLITE_SHM_UNLOCK = 1
|
||||
SQLITE_SOUNDEX = 1
|
||||
SQLITE_SOURCE_ID = "2021-04-19 18:32:05 1b256d97b553a9611efca188a3d995a2fff712759044ba480f9a0c9e98fae886"
|
||||
SQLITE_SOURCE_ID = "2021-06-18 18:36:39 5c9a6c06871cb9fe42814af9c039eb6da5427a6ec28f187af7ebfb62eafa66e5"
|
||||
SQLITE_STATUS_MALLOC_COUNT = 9
|
||||
SQLITE_STATUS_MALLOC_SIZE = 5
|
||||
SQLITE_STATUS_MEMORY_USED = 0
|
||||
@@ -723,7 +725,7 @@ const (
|
||||
SQLITE_TESTCTRL_INTERNAL_FUNCTIONS = 17
|
||||
SQLITE_TESTCTRL_ISINIT = 23
|
||||
SQLITE_TESTCTRL_ISKEYWORD = 16
|
||||
SQLITE_TESTCTRL_LAST = 31
|
||||
SQLITE_TESTCTRL_LAST = 32
|
||||
SQLITE_TESTCTRL_LOCALTIME_FAULT = 18
|
||||
SQLITE_TESTCTRL_NEVER_CORRUPT = 20
|
||||
SQLITE_TESTCTRL_ONCE_RESET_THRESHOLD = 19
|
||||
@@ -740,6 +742,7 @@ const (
|
||||
SQLITE_TESTCTRL_SEEK_COUNT = 30
|
||||
SQLITE_TESTCTRL_SORTER_MMAP = 24
|
||||
SQLITE_TESTCTRL_TRACEFLAGS = 31
|
||||
SQLITE_TESTCTRL_TUNE = 32
|
||||
SQLITE_TESTCTRL_VDBE_COVERAGE = 21
|
||||
SQLITE_TEXT = 3
|
||||
SQLITE_THREADSAFE = 1
|
||||
@@ -758,8 +761,8 @@ const (
|
||||
SQLITE_UTF16LE = 2
|
||||
SQLITE_UTF16_ALIGNED = 8
|
||||
SQLITE_UTF8 = 1
|
||||
SQLITE_VERSION = "3.35.5"
|
||||
SQLITE_VERSION_NUMBER = 3035005
|
||||
SQLITE_VERSION = "3.36.0"
|
||||
SQLITE_VERSION_NUMBER = 3036000
|
||||
SQLITE_VTAB_CONSTRAINT_SUPPORT = 1
|
||||
SQLITE_VTAB_DIRECTONLY = 3
|
||||
SQLITE_VTAB_INNOCUOUS = 2
|
||||
@@ -2145,7 +2148,7 @@ type sqlite3_vfs1 = struct {
|
||||
xSetSystemCall uintptr
|
||||
xGetSystemCall uintptr
|
||||
xNextSystemCall uintptr
|
||||
} /* sqlite3.h:1368:9 */
|
||||
} /* sqlite3.h:1387:9 */
|
||||
|
||||
// CAPI3REF: OS Interface Object
|
||||
//
|
||||
@@ -2314,8 +2317,8 @@ type sqlite3_vfs1 = struct {
|
||||
// or all of these interfaces to be NULL or for their behavior to change
|
||||
// from one release to the next. Applications must not attempt to access
|
||||
// any of these methods if the iVersion of the VFS is less than 3.
|
||||
type sqlite3_vfs = sqlite3_vfs1 /* sqlite3.h:1368:28 */
|
||||
type sqlite3_syscall_ptr = uintptr /* sqlite3.h:1369:14 */
|
||||
type sqlite3_vfs = sqlite3_vfs1 /* sqlite3.h:1387:28 */
|
||||
type sqlite3_syscall_ptr = uintptr /* sqlite3.h:1388:14 */
|
||||
|
||||
// CAPI3REF: Memory Allocation Routines
|
||||
//
|
||||
@@ -2387,7 +2390,7 @@ type sqlite3_mem_methods1 = struct {
|
||||
xInit uintptr
|
||||
xShutdown uintptr
|
||||
pAppData uintptr
|
||||
} /* sqlite3.h:1666:9 */
|
||||
} /* sqlite3.h:1685:9 */
|
||||
|
||||
// CAPI3REF: Memory Allocation Routines
|
||||
//
|
||||
@@ -2450,7 +2453,7 @@ type sqlite3_mem_methods1 = struct {
|
||||
//
|
||||
// SQLite will never invoke xInit() more than once without an intervening
|
||||
// call to xShutdown().
|
||||
type sqlite3_mem_methods = sqlite3_mem_methods1 /* sqlite3.h:1666:36 */
|
||||
type sqlite3_mem_methods = sqlite3_mem_methods1 /* sqlite3.h:1685:36 */
|
||||
|
||||
// CAPI3REF: Constants Defining Special Destructor Behavior
|
||||
//
|
||||
@@ -2464,7 +2467,7 @@ type sqlite3_mem_methods = sqlite3_mem_methods1 /* sqlite3.h:1666:36 */
|
||||
//
|
||||
// The typedef is necessary to work around problems in certain
|
||||
// C++ compilers.
|
||||
type sqlite3_destructor_type = uintptr /* sqlite3.h:5635:14 */
|
||||
type sqlite3_destructor_type = uintptr /* sqlite3.h:5665:14 */
|
||||
|
||||
// The interface to the virtual-table mechanism is currently considered
|
||||
// to be experimental. The interface might change in incompatible ways.
|
||||
@@ -2479,7 +2482,7 @@ type sqlite3_vtab1 = struct {
|
||||
nRef int32
|
||||
_ [4]byte
|
||||
zErrMsg uintptr
|
||||
} /* sqlite3.h:6754:9 */
|
||||
} /* sqlite3.h:6784:9 */
|
||||
|
||||
// The interface to the virtual-table mechanism is currently considered
|
||||
// to be experimental. The interface might change in incompatible ways.
|
||||
@@ -2489,7 +2492,7 @@ type sqlite3_vtab1 = struct {
|
||||
// interface fixed, support it indefinitely, and remove this comment.
|
||||
|
||||
// Structures used by the virtual table interface
|
||||
type sqlite3_vtab = sqlite3_vtab1 /* sqlite3.h:6754:29 */
|
||||
type sqlite3_vtab = sqlite3_vtab1 /* sqlite3.h:6784:29 */
|
||||
type sqlite3_index_info1 = struct {
|
||||
nConstraint int32
|
||||
_ [4]byte
|
||||
@@ -2508,12 +2511,12 @@ type sqlite3_index_info1 = struct {
|
||||
idxFlags int32
|
||||
_ [4]byte
|
||||
colUsed sqlite3_uint64
|
||||
} /* sqlite3.h:6755:9 */
|
||||
} /* sqlite3.h:6785:9 */
|
||||
|
||||
type sqlite3_index_info = sqlite3_index_info1 /* sqlite3.h:6755:35 */
|
||||
type sqlite3_vtab_cursor1 = struct{ pVtab uintptr } /* sqlite3.h:6756:9 */
|
||||
type sqlite3_index_info = sqlite3_index_info1 /* sqlite3.h:6785:35 */
|
||||
type sqlite3_vtab_cursor1 = struct{ pVtab uintptr } /* sqlite3.h:6786:9 */
|
||||
|
||||
type sqlite3_vtab_cursor = sqlite3_vtab_cursor1 /* sqlite3.h:6756:36 */
|
||||
type sqlite3_vtab_cursor = sqlite3_vtab_cursor1 /* sqlite3.h:6786:36 */
|
||||
type sqlite3_module1 = struct {
|
||||
iVersion int32
|
||||
_ [4]byte
|
||||
@@ -2540,9 +2543,9 @@ type sqlite3_module1 = struct {
|
||||
xRelease uintptr
|
||||
xRollbackTo uintptr
|
||||
xShadowName uintptr
|
||||
} /* sqlite3.h:6754:9 */
|
||||
} /* sqlite3.h:6784:9 */
|
||||
|
||||
type sqlite3_module = sqlite3_module1 /* sqlite3.h:6757:31 */
|
||||
type sqlite3_module = sqlite3_module1 /* sqlite3.h:6787:31 */
|
||||
|
||||
// CAPI3REF: Virtual Table Indexing Information
|
||||
// KEYWORDS: sqlite3_index_info
|
||||
@@ -2650,7 +2653,7 @@ type sqlite3_index_constraint = struct {
|
||||
usable uint8
|
||||
_ [2]byte
|
||||
iTermOffset int32
|
||||
} /* sqlite3.h:6755:9 */
|
||||
} /* sqlite3.h:6785:9 */
|
||||
|
||||
// CAPI3REF: Virtual Table Indexing Information
|
||||
// KEYWORDS: sqlite3_index_info
|
||||
@@ -2756,7 +2759,7 @@ type sqlite3_index_orderby = struct {
|
||||
iColumn int32
|
||||
desc uint8
|
||||
_ [3]byte
|
||||
} /* sqlite3.h:6755:9 */
|
||||
} /* sqlite3.h:6785:9 */
|
||||
|
||||
// CAPI3REF: Virtual Table Indexing Information
|
||||
// KEYWORDS: sqlite3_index_info
|
||||
@@ -2862,7 +2865,7 @@ type sqlite3_index_constraint_usage = struct {
|
||||
argvIndex int32
|
||||
omit uint8
|
||||
_ [3]byte
|
||||
} /* sqlite3.h:6755:9 */
|
||||
} /* sqlite3.h:6785:9 */
|
||||
|
||||
// CAPI3REF: Mutex Methods Object
|
||||
//
|
||||
@@ -2937,7 +2940,7 @@ type sqlite3_mutex_methods1 = struct {
|
||||
xMutexLeave uintptr
|
||||
xMutexHeld uintptr
|
||||
xMutexNotheld uintptr
|
||||
} /* sqlite3.h:7589:9 */
|
||||
} /* sqlite3.h:7619:9 */
|
||||
|
||||
// CAPI3REF: Mutex Methods Object
|
||||
//
|
||||
@@ -3002,7 +3005,7 @@ type sqlite3_mutex_methods1 = struct {
|
||||
// called, but only if the prior call to xMutexInit returned SQLITE_OK.
|
||||
// If xMutexInit fails in any way, it is expected to clean up after itself
|
||||
// prior to returning.
|
||||
type sqlite3_mutex_methods = sqlite3_mutex_methods1 /* sqlite3.h:7589:38 */
|
||||
type sqlite3_mutex_methods = sqlite3_mutex_methods1 /* sqlite3.h:7619:38 */
|
||||
|
||||
// CAPI3REF: Custom Page Cache Object
|
||||
//
|
||||
@@ -3015,7 +3018,7 @@ type sqlite3_mutex_methods = sqlite3_mutex_methods1 /* sqlite3.h:7589:38 */
|
||||
type sqlite3_pcache_page1 = struct {
|
||||
pBuf uintptr
|
||||
pExtra uintptr
|
||||
} /* sqlite3.h:8344:9 */
|
||||
} /* sqlite3.h:8375:9 */
|
||||
|
||||
// CAPI3REF: Custom Page Cache Object
|
||||
//
|
||||
@@ -3025,7 +3028,7 @@ type sqlite3_pcache_page1 = struct {
|
||||
// of this object as parameters or as their return value.
|
||||
//
|
||||
// See [sqlite3_pcache_methods2] for additional information.
|
||||
type sqlite3_pcache_page = sqlite3_pcache_page1 /* sqlite3.h:8344:36 */
|
||||
type sqlite3_pcache_page = sqlite3_pcache_page1 /* sqlite3.h:8375:36 */
|
||||
|
||||
// CAPI3REF: Application Defined Page Cache.
|
||||
// KEYWORDS: {page cache}
|
||||
@@ -3199,7 +3202,7 @@ type sqlite3_pcache_methods21 = struct {
|
||||
xTruncate uintptr
|
||||
xDestroy uintptr
|
||||
xShrink uintptr
|
||||
} /* sqlite3.h:8509:9 */
|
||||
} /* sqlite3.h:8540:9 */
|
||||
|
||||
// CAPI3REF: Application Defined Page Cache.
|
||||
// KEYWORDS: {page cache}
|
||||
@@ -3358,7 +3361,7 @@ type sqlite3_pcache_methods21 = struct {
|
||||
// free up as much of heap memory as possible. The page cache implementation
|
||||
// is not obligated to free any memory, but well-behaved implementations should
|
||||
// do their best.
|
||||
type sqlite3_pcache_methods2 = sqlite3_pcache_methods21 /* sqlite3.h:8509:40 */
|
||||
type sqlite3_pcache_methods2 = sqlite3_pcache_methods21 /* sqlite3.h:8540:40 */
|
||||
|
||||
// This is the obsolete pcache_methods object that has now been replaced
|
||||
// by sqlite3_pcache_methods2. This object is not used by SQLite. It is
|
||||
@@ -3375,12 +3378,12 @@ type sqlite3_pcache_methods1 = struct {
|
||||
xRekey uintptr
|
||||
xTruncate uintptr
|
||||
xDestroy uintptr
|
||||
} /* sqlite3.h:8532:9 */
|
||||
} /* sqlite3.h:8563:9 */
|
||||
|
||||
// This is the obsolete pcache_methods object that has now been replaced
|
||||
// by sqlite3_pcache_methods2. This object is not used by SQLite. It is
|
||||
// retained in the header file for backwards compatibility only.
|
||||
type sqlite3_pcache_methods = sqlite3_pcache_methods1 /* sqlite3.h:8532:39 */
|
||||
type sqlite3_pcache_methods = sqlite3_pcache_methods1 /* sqlite3.h:8563:39 */
|
||||
|
||||
// CAPI3REF: Database Snapshot
|
||||
// KEYWORDS: {snapshot} {sqlite3_snapshot}
|
||||
@@ -3400,7 +3403,7 @@ type sqlite3_pcache_methods = sqlite3_pcache_methods1 /* sqlite3.h:8532:39 */
|
||||
// version of the database file so that it is possible to later open a new read
|
||||
// transaction that sees that historical version of the database rather than
|
||||
// the most recent version.
|
||||
type sqlite3_snapshot1 = struct{ hidden [48]uint8 } /* sqlite3.h:9589:9 */
|
||||
type sqlite3_snapshot1 = struct{ hidden [48]uint8 } /* sqlite3.h:9630:9 */
|
||||
|
||||
// CAPI3REF: Database Snapshot
|
||||
// KEYWORDS: {snapshot} {sqlite3_snapshot}
|
||||
@@ -3420,7 +3423,7 @@ type sqlite3_snapshot1 = struct{ hidden [48]uint8 } /* sqlite3.h:9589:9 */
|
||||
// version of the database file so that it is possible to later open a new read
|
||||
// transaction that sees that historical version of the database rather than
|
||||
// the most recent version.
|
||||
type sqlite3_snapshot = sqlite3_snapshot1 /* sqlite3.h:9591:3 */
|
||||
type sqlite3_snapshot = sqlite3_snapshot1 /* sqlite3.h:9632:3 */
|
||||
|
||||
// CAPI3REF: Flags for sqlite3_deserialize()
|
||||
//
|
||||
@@ -3464,7 +3467,7 @@ type sqlite3_rtree_geometry1 = struct {
|
||||
aParam uintptr
|
||||
pUser uintptr
|
||||
xDelUser uintptr
|
||||
} /* sqlite3.h:9916:9 */
|
||||
} /* sqlite3.h:9957:9 */
|
||||
|
||||
// CAPI3REF: Flags for sqlite3_deserialize()
|
||||
//
|
||||
@@ -3501,7 +3504,7 @@ type sqlite3_rtree_geometry1 = struct {
|
||||
//
|
||||
//
|
||||
|
||||
type sqlite3_rtree_geometry = sqlite3_rtree_geometry1 /* sqlite3.h:9916:39 */
|
||||
type sqlite3_rtree_geometry = sqlite3_rtree_geometry1 /* sqlite3.h:9957:39 */
|
||||
type sqlite3_rtree_query_info1 = struct {
|
||||
pContext uintptr
|
||||
nParam int32
|
||||
@@ -3521,13 +3524,13 @@ type sqlite3_rtree_query_info1 = struct {
|
||||
eWithin int32
|
||||
rScore sqlite3_rtree_dbl
|
||||
apSqlParam uintptr
|
||||
} /* sqlite3.h:9917:9 */
|
||||
} /* sqlite3.h:9958:9 */
|
||||
|
||||
type sqlite3_rtree_query_info = sqlite3_rtree_query_info1 /* sqlite3.h:9917:41 */
|
||||
type sqlite3_rtree_query_info = sqlite3_rtree_query_info1 /* sqlite3.h:9958:41 */
|
||||
|
||||
// The double-precision datatype used by RTree depends on the
|
||||
// SQLITE_RTREE_INT_ONLY compile-time option.
|
||||
type sqlite3_rtree_dbl = float64 /* sqlite3.h:9925:18 */
|
||||
type sqlite3_rtree_dbl = float64 /* sqlite3.h:9966:18 */
|
||||
|
||||
// Allowed values for sqlite3_rtree_query.eWithin and .eParentWithin.
|
||||
|
||||
@@ -3582,7 +3585,7 @@ type Fts5ExtensionApi1 = struct {
|
||||
xPhraseNext uintptr
|
||||
xPhraseFirstColumn uintptr
|
||||
xPhraseNextColumn uintptr
|
||||
} /* sqlite3.h:11724:9 */
|
||||
} /* sqlite3.h:11813:9 */
|
||||
|
||||
// Allowed values for sqlite3_rtree_query.eWithin and .eParentWithin.
|
||||
|
||||
@@ -3615,22 +3618,22 @@ type Fts5ExtensionApi1 = struct {
|
||||
// Virtual table implementations may overload SQL functions by implementing
|
||||
// the sqlite3_module.xFindFunction() method.
|
||||
|
||||
type Fts5ExtensionApi = Fts5ExtensionApi1 /* sqlite3.h:11724:33 */
|
||||
type Fts5ExtensionApi = Fts5ExtensionApi1 /* sqlite3.h:11813:33 */
|
||||
type Fts5PhraseIter1 = struct {
|
||||
a uintptr
|
||||
b uintptr
|
||||
} /* sqlite3.h:11726:9 */
|
||||
} /* sqlite3.h:11815:9 */
|
||||
|
||||
type Fts5PhraseIter = Fts5PhraseIter1 /* sqlite3.h:11726:31 */
|
||||
type Fts5PhraseIter = Fts5PhraseIter1 /* sqlite3.h:11815:31 */
|
||||
|
||||
type fts5_extension_function = uintptr /* sqlite3.h:11728:14 */
|
||||
type fts5_extension_function = uintptr /* sqlite3.h:11817:14 */
|
||||
type fts5_tokenizer1 = struct {
|
||||
xCreate uintptr
|
||||
xDelete uintptr
|
||||
xTokenize uintptr
|
||||
} /* sqlite3.h:12187:9 */
|
||||
} /* sqlite3.h:12276:9 */
|
||||
|
||||
type fts5_tokenizer = fts5_tokenizer1 /* sqlite3.h:12187:31 */
|
||||
type fts5_tokenizer = fts5_tokenizer1 /* sqlite3.h:12276:31 */
|
||||
|
||||
// Flags that may be passed as the third argument to xTokenize()
|
||||
|
||||
@@ -3650,7 +3653,7 @@ type fts5_api1 = struct {
|
||||
xCreateTokenizer uintptr
|
||||
xFindTokenizer uintptr
|
||||
xCreateFunction uintptr
|
||||
} /* sqlite3.h:12223:9 */
|
||||
} /* sqlite3.h:12312:9 */
|
||||
|
||||
// Flags that may be passed as the third argument to xTokenize()
|
||||
|
||||
@@ -3664,7 +3667,7 @@ type fts5_api1 = struct {
|
||||
// ************************************************************************
|
||||
//
|
||||
// FTS5 EXTENSION REGISTRATION API
|
||||
type fts5_api = fts5_api1 /* sqlite3.h:12223:25 */
|
||||
type fts5_api = fts5_api1 /* sqlite3.h:12312:25 */
|
||||
|
||||
// Copyright (c) 2003-2013 Apple Inc. All rights reserved.
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user