regenerate linux/amd64

This commit is contained in:
Dan Peterson
2021-03-13 14:42:27 +00:00
parent 4d0d114b6e
commit c22ee6e16d
9 changed files with 48441 additions and 40553 deletions

View File

@@ -1,4 +1,4 @@
// Code generated by 'ccgo -export-defines "" -o internal/mptest/main_linux_amd64.go -trace-translation-units testdata/sqlite-src-3330000/mptest/mptest.c -Itestdata/sqlite-amalgamation-3330000 -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_MUTEX_NOOP -DSQLITE_SOUNDEX -DSQLITE_THREADSAFE=1 -DSQLITE_OS_UNIX=1', DO NOT EDIT.
// Code generated by 'ccgo -export-defines "" -o internal/mptest/main_linux_amd64.go -trace-translation-units testdata/sqlite-src-3350000/mptest/mptest.c -Itestdata/sqlite-amalgamation-3350000 -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_MUTEX_NOOP -DSQLITE_SOUNDEX -DSQLITE_THREADSAFE=1 -DSQLITE_OS_UNIX=1', DO NOT EDIT.
package main
@@ -443,6 +443,7 @@ const (
SQLITE_IOERR_CLOSE = 4106
SQLITE_IOERR_COMMIT_ATOMIC = 7690
SQLITE_IOERR_CONVPATH = 6666
SQLITE_IOERR_CORRUPTFS = 8458
SQLITE_IOERR_DATA = 8202
SQLITE_IOERR_DELETE = 2570
SQLITE_IOERR_DELETE_NOENT = 5898
@@ -581,7 +582,7 @@ const (
SQLITE_SHM_SHARED = 4
SQLITE_SHM_UNLOCK = 1
SQLITE_SOUNDEX = 1
SQLITE_SOURCE_ID = "2020-08-14 13:23:32 fca8dc8b578f215a969cd899336378966156154710873e68b3d9ac5881b0ff3f"
SQLITE_SOURCE_ID = "2021-03-12 15:10:09 acd63062eb06748bfe9e4886639e4f2b54ea6a496a83f10716abbaba4115500b"
SQLITE_STATUS_MALLOC_COUNT = 9
SQLITE_STATUS_MALLOC_SIZE = 5
SQLITE_STATUS_MEMORY_USED = 0
@@ -618,7 +619,7 @@ const (
SQLITE_TESTCTRL_INTERNAL_FUNCTIONS = 17
SQLITE_TESTCTRL_ISINIT = 23
SQLITE_TESTCTRL_ISKEYWORD = 16
SQLITE_TESTCTRL_LAST = 29
SQLITE_TESTCTRL_LAST = 31
SQLITE_TESTCTRL_LOCALTIME_FAULT = 18
SQLITE_TESTCTRL_NEVER_CORRUPT = 20
SQLITE_TESTCTRL_ONCE_RESET_THRESHOLD = 19
@@ -632,7 +633,9 @@ const (
SQLITE_TESTCTRL_RESERVE = 14
SQLITE_TESTCTRL_RESULT_INTREAL = 27
SQLITE_TESTCTRL_SCRATCHMALLOC = 17
SQLITE_TESTCTRL_SEEK_COUNT = 30
SQLITE_TESTCTRL_SORTER_MMAP = 24
SQLITE_TESTCTRL_TRACEFLAGS = 31
SQLITE_TESTCTRL_VDBE_COVERAGE = 21
SQLITE_TEXT = 3
SQLITE_THREADSAFE = 1
@@ -642,14 +645,17 @@ const (
SQLITE_TRACE_ROW = 0x04
SQLITE_TRACE_STMT = 0x01
SQLITE_TRANSACTION = 22
SQLITE_TXN_NONE = 0
SQLITE_TXN_READ = 1
SQLITE_TXN_WRITE = 2
SQLITE_UPDATE = 23
SQLITE_UTF16 = 4
SQLITE_UTF16BE = 3
SQLITE_UTF16LE = 2
SQLITE_UTF16_ALIGNED = 8
SQLITE_UTF8 = 1
SQLITE_VERSION = "3.33.0"
SQLITE_VERSION_NUMBER = 3033000
SQLITE_VERSION = "3.35.0"
SQLITE_VERSION_NUMBER = 3035000
SQLITE_VTAB_CONSTRAINT_SUPPORT = 1
SQLITE_VTAB_DIRECTONLY = 3
SQLITE_VTAB_INNOCUOUS = 2
@@ -679,11 +685,14 @@ const (
X_BITS_ERRNO_H = 1
X_BITS_FLOATN_COMMON_H = 0
X_BITS_FLOATN_H = 0
X_BITS_G_CONFIG_H = 1
X_BITS_LIBIO_H = 1
X_BITS_POSIX_OPT_H = 1
X_BITS_PTHREADTYPES_ARCH_H = 1
X_BITS_PTHREADTYPES_COMMON_H = 1
X_BITS_STDINT_INTN_H = 1
X_BITS_STDIO_LIM_H = 1
X_BITS_SYSMACROS_H = 1
X_BITS_TYPESIZES_H = 1
X_BITS_TYPES_H = 1
X_BITS_TYPES_LOCALE_T_H = 1
@@ -702,11 +711,62 @@ const (
X_GCC_WCHAR_T = 0
X_GETOPT_CORE_H = 1
X_GETOPT_POSIX_H = 1
X_G_BUFSIZ = 8192
X_G_HAVE_MMAP = 1
X_G_HAVE_MREMAP = 1
X_G_HAVE_ST_BLKSIZE = 0
X_G_IO_IO_FILE_VERSION = 0x20001
X_IOFBF = 0
X_IOLBF = 1
X_IONBF = 2
X_IO_EOF_SEEN = 0x0010
X_IO_ERR_SEEN = 0x0020
X_IOS_APPEND = 8
X_IOS_ATEND = 4
X_IOS_BIN = 128
X_IOS_INPUT = 1
X_IOS_NOCREATE = 32
X_IOS_NOREPLACE = 64
X_IOS_OUTPUT = 2
X_IOS_TRUNC = 16
X_IO_BAD_SEEN = 0x4000
X_IO_BOOLALPHA = 0200000
X_IO_BUFSIZ = 8192
X_IO_CURRENTLY_PUTTING = 0x800
X_IO_DEC = 020
X_IO_DELETE_DONT_CLOSE = 0x40
X_IO_DONT_CLOSE = 0100000
X_IO_EOF_SEEN = 0x10
X_IO_ERR_SEEN = 0x20
X_IO_FIXED = 010000
X_IO_FLAGS2_MMAP = 1
X_IO_FLAGS2_NOTCANCEL = 2
X_IO_FLAGS2_USER_WBUF = 8
X_IO_HAVE_ST_BLKSIZE = 0
X_IO_HEX = 0100
X_IO_INTERNAL = 010
X_IO_IN_BACKUP = 0x100
X_IO_IS_APPENDING = 0x1000
X_IO_IS_FILEBUF = 0x2000
X_IO_LEFT = 02
X_IO_LINE_BUF = 0x200
X_IO_LINKED = 0x80
X_IO_MAGIC = 0xFBAD0000
X_IO_MAGIC_MASK = 0xFFFF0000
X_IO_NO_READS = 4
X_IO_NO_WRITES = 8
X_IO_OCT = 040
X_IO_RIGHT = 04
X_IO_SCIENTIFIC = 04000
X_IO_SHOWBASE = 0200
X_IO_SHOWPOINT = 0400
X_IO_SHOWPOS = 02000
X_IO_SKIPWS = 01
X_IO_STDIO = 040000
X_IO_TIED_PUT_GET = 0x400
X_IO_UNBUFFERED = 2
X_IO_UNIFIED_JUMPTABLES = 1
X_IO_UNITBUF = 020000
X_IO_UPPERCASE = 01000
X_IO_USER_BUF = 1
X_IO_USER_LOCK = 0x8000
X_LFS64_ASYNCHRONOUS_IO = 1
X_LFS64_LARGEFILE = 1
@@ -714,6 +774,7 @@ const (
X_LFS_ASYNCHRONOUS_IO = 1
X_LFS_LARGEFILE = 1
X_LP64 = 1
X_OLD_STDIO_MAGIC = 0xFABC0000
X_POSIX2_CHAR_TERM = 200809
X_POSIX2_C_BIND = 200809
X_POSIX2_C_DEV = 200809
@@ -790,6 +851,7 @@ const (
X_STDARG_H = 0
X_STDC_PREDEF_H = 1
X_STDIO_H = 1
X_STDIO_USES_IOSTREAM = 0
X_STDLIB_H = 1
X_STRINGS_H = 1
X_STRING_H = 1
@@ -797,6 +859,7 @@ const (
X_SYS_CDEFS_H = 1
X_SYS_SELECT_H = 1
X_SYS_SIZE_T_H = 0
X_SYS_SYSMACROS_H = 1
X_SYS_TYPES_H = 1
X_THREAD_SHARED_TYPES_H = 1
X_T_SIZE = 0
@@ -816,6 +879,7 @@ const (
X_WCHAR_T_H = 0
X_XBS5_LP64_OFF64 = 1
X_XBS5_LPBIG_OFFBIG = -1
X_XOPEN_CRYPT = 1
X_XOPEN_ENH_I18N = 1
X_XOPEN_LEGACY = 1
X_XOPEN_REALTIME = 1
@@ -1342,6 +1406,14 @@ const ( /* confname.h:71:1: */
_SC_THREAD_ROBUST_PRIO_PROTECT = 248
)
// This is the structure from the libstdc++ codecvt class.
const ( /* libio.h:180:1: */
__codecvt_ok = 0
__codecvt_partial = 1
__codecvt_error = 2
__codecvt_noconv = 3
)
// In 4.3bsd-net2, leave these undefined to indicate that size_t, etc.
// are already defined.
// BSD/OS 3.1 and FreeBSD [23].x require the MACHINE_ANSI_H check here.
@@ -1542,7 +1614,7 @@ type sqlite3_callback = uintptr /* sqlite3.h:338:13 */
// for their own use. The pMethods entry is a pointer to an
// [sqlite3_io_methods] object that defines methods for performing
// I/O operations on the open file.
type sqlite3_file1 = struct{ pMethods uintptr } /* sqlite3.h:683:9 */
type sqlite3_file1 = struct{ pMethods uintptr } /* sqlite3.h:684:9 */
// CAPI3REF: Result Codes
// KEYWORDS: {result code definitions}
@@ -1653,7 +1725,7 @@ type sqlite3_file1 = struct{ pMethods uintptr } /* sqlite3.h:683:9 */
// for their own use. The pMethods entry is a pointer to an
// [sqlite3_io_methods] object that defines methods for performing
// I/O operations on the open file.
type sqlite3_file = sqlite3_file1 /* sqlite3.h:683:29 */
type sqlite3_file = sqlite3_file1 /* sqlite3.h:684:29 */
type sqlite3_io_methods1 = struct {
iVersion int32
_ [4]byte
@@ -1675,7 +1747,7 @@ type sqlite3_io_methods1 = struct {
xShmUnmap uintptr
xFetch uintptr
xUnfetch uintptr
} /* sqlite3.h:683:9 */
} /* sqlite3.h:684:9 */
// CAPI3REF: OS Interface File Virtual Methods Object
//
@@ -1769,7 +1841,7 @@ type sqlite3_io_methods1 = struct {
// fails to zero-fill short reads might seem to work. However,
// failure to zero-fill short reads will eventually lead to
// database corruption.
type sqlite3_io_methods = sqlite3_io_methods1 /* sqlite3.h:782:35 */
type sqlite3_io_methods = sqlite3_io_methods1 /* sqlite3.h:783:35 */
// CAPI3REF: OS Interface Object
//
@@ -1962,7 +2034,7 @@ type sqlite3_vfs1 = struct {
xSetSystemCall uintptr
xGetSystemCall uintptr
xNextSystemCall uintptr
} /* sqlite3.h:1367:9 */
} /* sqlite3.h:1368:9 */
// CAPI3REF: OS Interface Object
//
@@ -2131,8 +2203,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:1367:28 */
type sqlite3_syscall_ptr = uintptr /* sqlite3.h:1368:14 */
type sqlite3_vfs = sqlite3_vfs1 /* sqlite3.h:1368:28 */
type sqlite3_syscall_ptr = uintptr /* sqlite3.h:1369:14 */
// CAPI3REF: Memory Allocation Routines
//
@@ -2204,7 +2276,7 @@ type sqlite3_mem_methods1 = struct {
xInit uintptr
xShutdown uintptr
pAppData uintptr
} /* sqlite3.h:1665:9 */
} /* sqlite3.h:1666:9 */
// CAPI3REF: Memory Allocation Routines
//
@@ -2267,7 +2339,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:1665:36 */
type sqlite3_mem_methods = sqlite3_mem_methods1 /* sqlite3.h:1666:36 */
// CAPI3REF: Constants Defining Special Destructor Behavior
//
@@ -2281,7 +2353,7 @@ type sqlite3_mem_methods = sqlite3_mem_methods1 /* sqlite3.h:1665:36 */
//
// The typedef is necessary to work around problems in certain
// C++ compilers.
type sqlite3_destructor_type = uintptr /* sqlite3.h:5621:14 */
type sqlite3_destructor_type = uintptr /* sqlite3.h:5635:14 */
// The interface to the virtual-table mechanism is currently considered
// to be experimental. The interface might change in incompatible ways.
@@ -2296,7 +2368,7 @@ type sqlite3_vtab1 = struct {
nRef int32
_ [4]byte
zErrMsg uintptr
} /* sqlite3.h:6689:9 */
} /* sqlite3.h:6754:9 */
// The interface to the virtual-table mechanism is currently considered
// to be experimental. The interface might change in incompatible ways.
@@ -2306,7 +2378,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:6689:29 */
type sqlite3_vtab = sqlite3_vtab1 /* sqlite3.h:6754:29 */
type sqlite3_index_info1 = struct {
nConstraint int32
_ [4]byte
@@ -2325,12 +2397,12 @@ type sqlite3_index_info1 = struct {
idxFlags int32
_ [4]byte
colUsed sqlite3_uint64
} /* sqlite3.h:6690:9 */
} /* sqlite3.h:6755:9 */
type sqlite3_index_info = sqlite3_index_info1 /* sqlite3.h:6690:35 */
type sqlite3_vtab_cursor1 = struct{ pVtab uintptr } /* sqlite3.h:6691: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_vtab_cursor = sqlite3_vtab_cursor1 /* sqlite3.h:6691:36 */
type sqlite3_vtab_cursor = sqlite3_vtab_cursor1 /* sqlite3.h:6756:36 */
type sqlite3_module1 = struct {
iVersion int32
_ [4]byte
@@ -2357,9 +2429,9 @@ type sqlite3_module1 = struct {
xRelease uintptr
xRollbackTo uintptr
xShadowName uintptr
} /* sqlite3.h:6689:9 */
} /* sqlite3.h:6754:9 */
type sqlite3_module = sqlite3_module1 /* sqlite3.h:6692:31 */
type sqlite3_module = sqlite3_module1 /* sqlite3.h:6757:31 */
// CAPI3REF: Virtual Table Indexing Information
// KEYWORDS: sqlite3_index_info
@@ -2467,7 +2539,7 @@ type sqlite3_index_constraint = struct {
usable uint8
_ [2]byte
iTermOffset int32
} /* sqlite3.h:6690:9 */
} /* sqlite3.h:6755:9 */
// CAPI3REF: Virtual Table Indexing Information
// KEYWORDS: sqlite3_index_info
@@ -2573,7 +2645,7 @@ type sqlite3_index_orderby = struct {
iColumn int32
desc uint8
_ [3]byte
} /* sqlite3.h:6690:9 */
} /* sqlite3.h:6755:9 */
// CAPI3REF: Virtual Table Indexing Information
// KEYWORDS: sqlite3_index_info
@@ -2679,7 +2751,7 @@ type sqlite3_index_constraint_usage = struct {
argvIndex int32
omit uint8
_ [3]byte
} /* sqlite3.h:6690:9 */
} /* sqlite3.h:6755:9 */
// CAPI3REF: Mutex Methods Object
//
@@ -2754,7 +2826,7 @@ type sqlite3_mutex_methods1 = struct {
xMutexLeave uintptr
xMutexHeld uintptr
xMutexNotheld uintptr
} /* sqlite3.h:7524:9 */
} /* sqlite3.h:7589:9 */
// CAPI3REF: Mutex Methods Object
//
@@ -2819,7 +2891,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:7524:38 */
type sqlite3_mutex_methods = sqlite3_mutex_methods1 /* sqlite3.h:7589:38 */
// CAPI3REF: Custom Page Cache Object
//
@@ -2832,7 +2904,7 @@ type sqlite3_mutex_methods = sqlite3_mutex_methods1 /* sqlite3.h:7524:38 */
type sqlite3_pcache_page1 = struct {
pBuf uintptr
pExtra uintptr
} /* sqlite3.h:8277:9 */
} /* sqlite3.h:8344:9 */
// CAPI3REF: Custom Page Cache Object
//
@@ -2842,7 +2914,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:8277:36 */
type sqlite3_pcache_page = sqlite3_pcache_page1 /* sqlite3.h:8344:36 */
// CAPI3REF: Application Defined Page Cache.
// KEYWORDS: {page cache}
@@ -3016,7 +3088,7 @@ type sqlite3_pcache_methods21 = struct {
xTruncate uintptr
xDestroy uintptr
xShrink uintptr
} /* sqlite3.h:8442:9 */
} /* sqlite3.h:8509:9 */
// CAPI3REF: Application Defined Page Cache.
// KEYWORDS: {page cache}
@@ -3175,7 +3247,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:8442:40 */
type sqlite3_pcache_methods2 = sqlite3_pcache_methods21 /* sqlite3.h:8509: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
@@ -3192,12 +3264,12 @@ type sqlite3_pcache_methods1 = struct {
xRekey uintptr
xTruncate uintptr
xDestroy uintptr
} /* sqlite3.h:8465:9 */
} /* sqlite3.h:8532: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:8465:39 */
type sqlite3_pcache_methods = sqlite3_pcache_methods1 /* sqlite3.h:8532:39 */
// CAPI3REF: Database Snapshot
// KEYWORDS: {snapshot} {sqlite3_snapshot}
@@ -3217,7 +3289,7 @@ type sqlite3_pcache_methods = sqlite3_pcache_methods1 /* sqlite3.h:8465: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:9512:9 */
type sqlite3_snapshot1 = struct{ hidden [48]uint8 } /* sqlite3.h:9589:9 */
// CAPI3REF: Database Snapshot
// KEYWORDS: {snapshot} {sqlite3_snapshot}
@@ -3237,7 +3309,7 @@ type sqlite3_snapshot1 = struct{ hidden [48]uint8 } /* sqlite3.h:9512: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:9514:3 */
type sqlite3_snapshot = sqlite3_snapshot1 /* sqlite3.h:9591:3 */
// CAPI3REF: Flags for sqlite3_deserialize()
//
@@ -3281,7 +3353,7 @@ type sqlite3_rtree_geometry1 = struct {
aParam uintptr
pUser uintptr
xDelUser uintptr
} /* sqlite3.h:9839:9 */
} /* sqlite3.h:9916:9 */
// CAPI3REF: Flags for sqlite3_deserialize()
//
@@ -3318,7 +3390,7 @@ type sqlite3_rtree_geometry1 = struct {
//
//
type sqlite3_rtree_geometry = sqlite3_rtree_geometry1 /* sqlite3.h:9839:39 */
type sqlite3_rtree_geometry = sqlite3_rtree_geometry1 /* sqlite3.h:9916:39 */
type sqlite3_rtree_query_info1 = struct {
pContext uintptr
nParam int32
@@ -3338,13 +3410,13 @@ type sqlite3_rtree_query_info1 = struct {
eWithin int32
rScore sqlite3_rtree_dbl
apSqlParam uintptr
} /* sqlite3.h:9840:9 */
} /* sqlite3.h:9917:9 */
type sqlite3_rtree_query_info = sqlite3_rtree_query_info1 /* sqlite3.h:9840:41 */
type sqlite3_rtree_query_info = sqlite3_rtree_query_info1 /* sqlite3.h:9917: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:9848:18 */
type sqlite3_rtree_dbl = float64 /* sqlite3.h:9925:18 */
// Allowed values for sqlite3_rtree_query.eWithin and .eParentWithin.
@@ -3399,7 +3471,7 @@ type Fts5ExtensionApi1 = struct {
xPhraseNext uintptr
xPhraseFirstColumn uintptr
xPhraseNextColumn uintptr
} /* sqlite3.h:11634:9 */
} /* sqlite3.h:11724:9 */
// Allowed values for sqlite3_rtree_query.eWithin and .eParentWithin.
@@ -3432,22 +3504,22 @@ type Fts5ExtensionApi1 = struct {
// Virtual table implementations may overload SQL functions by implementing
// the sqlite3_module.xFindFunction() method.
type Fts5ExtensionApi = Fts5ExtensionApi1 /* sqlite3.h:11634:33 */
type Fts5ExtensionApi = Fts5ExtensionApi1 /* sqlite3.h:11724:33 */
type Fts5PhraseIter1 = struct {
a uintptr
b uintptr
} /* sqlite3.h:11636:9 */
} /* sqlite3.h:11726:9 */
type Fts5PhraseIter = Fts5PhraseIter1 /* sqlite3.h:11636:31 */
type Fts5PhraseIter = Fts5PhraseIter1 /* sqlite3.h:11726:31 */
type fts5_extension_function = uintptr /* sqlite3.h:11638:14 */
type fts5_extension_function = uintptr /* sqlite3.h:11728:14 */
type fts5_tokenizer1 = struct {
xCreate uintptr
xDelete uintptr
xTokenize uintptr
} /* sqlite3.h:12097:9 */
} /* sqlite3.h:12187:9 */
type fts5_tokenizer = fts5_tokenizer1 /* sqlite3.h:12097:31 */
type fts5_tokenizer = fts5_tokenizer1 /* sqlite3.h:12187:31 */
// Flags that may be passed as the third argument to xTokenize()
@@ -3467,7 +3539,7 @@ type fts5_api1 = struct {
xCreateTokenizer uintptr
xFindTokenizer uintptr
xCreateFunction uintptr
} /* sqlite3.h:12133:9 */
} /* sqlite3.h:12223:9 */
// Flags that may be passed as the third argument to xTokenize()
@@ -3481,51 +3553,9 @@ type fts5_api1 = struct {
// ************************************************************************
//
// FTS5 EXTENSION REGISTRATION API
type fts5_api = fts5_api1 /* sqlite3.h:12133:25 */
type fts5_api = fts5_api1 /* sqlite3.h:12223:25 */
// The tag name of this struct is _G_fpos_t to preserve historic
// C++ mangled names for functions taking fpos_t arguments.
// That name should not be used in new code.
type _G_fpos_t = struct {
__pos int64
__state struct {
__count int32
__value struct{ __wch uint32 }
}
} /* __fpos_t.h:10:9 */
// bits/types.h -- definitions of __*_t types underlying *_t types.
// Copyright (C) 2002-2018 Free Software Foundation, Inc.
// This file is part of the GNU C Library.
//
// The GNU C Library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// version 2.1 of the License, or (at your option) any later version.
//
// The GNU C Library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
// Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
// <http://www.gnu.org/licenses/>.
// Never include this file directly; use <sys/types.h> instead.
// The tag name of this struct is _G_fpos64_t to preserve historic
// C++ mangled names for functions taking fpos_t and/or fpos64_t
// arguments. That name should not be used in new code.
type _G_fpos64_t = struct {
__pos int64
__state struct {
__count int32
__value struct{ __wch uint32 }
}
} /* __fpos64_t.h:10:9 */
type _IO_FILE = struct {
type _IO_FILE1 = struct {
_flags int32
_ [4]byte
_IO_read_ptr uintptr
@@ -3550,28 +3580,50 @@ type _IO_FILE = struct {
_ [4]byte
_lock uintptr
_offset int64
_codecvt uintptr
_wide_data uintptr
_freeres_list uintptr
_freeres_buf uintptr
__pad1 uintptr
__pad2 uintptr
__pad3 uintptr
__pad4 uintptr
__pad5 size_t
_mode int32
_unused2 [20]int8
} /* __FILE.h:4:1 */
// The opaque type of streams. This is the definition used elsewhere.
type FILE = _IO_FILE /* FILE.h:7:25 */
type FILE = _IO_FILE1 /* FILE.h:7:25 */
// These macros are used by bits/stdio.h and internal headers.
type _G_fpos_t = struct {
__pos int64
__state struct {
__count int32
__value struct{ __wch uint32 }
}
} /* _G_config.h:30:3 */
type _G_fpos64_t = struct {
__pos int64
__state struct {
__count int32
__value struct{ __wch uint32 }
}
} /* _G_config.h:35:3 */
// Many more flag bits are defined internally.
// A streammarker remembers a position in a buffer.
type off_t = int64 /* stdio.h:65:19 */
type _IO_marker = struct {
_next uintptr
_sbuf uintptr
_pos int32
_ [4]byte
} /* __FILE.h:4:1 */
type ssize_t = int64 /* stdio.h:77:19 */
type _IO_FILE = _IO_FILE1 /* libio.h:314:25 */
type off_t = int64 /* stdio.h:59:19 */
type ssize_t = int64 /* stdio.h:71:19 */
// The type of the second argument to `fgetpos' and `fsetpos'.
type fpos_t = _G_fpos64_t /* stdio.h:86:20 */
type fpos_t = _G_fpos64_t /* stdio.h:80:21 */
// If we are compiling with optimizing read this file. It contains
// several optimizing inline functions and macros.
@@ -3646,6 +3698,8 @@ type fpos_t = _G_fpos64_t /* stdio.h:86:20 */
// The X/Open Unix extensions are available.
// Encryption is present.
// The enhanced internationalization capabilities according to XPG4.2
// are present.
@@ -3937,7 +3991,7 @@ type fpos_t = _G_fpos64_t /* stdio.h:86:20 */
// Never include this file directly; use <sys/types.h> instead.
// Copyright (C) 1989-2018 Free Software Foundation, Inc.
// Copyright (C) 1989-2017 Free Software Foundation, Inc.
//
// This file is part of GCC.
//
@@ -4021,17 +4075,17 @@ type fpos_t = _G_fpos64_t /* stdio.h:86:20 */
// The Single Unix specification says that some more types are
// available here.
type gid_t = uint32 /* unistd.h:232:17 */
type gid_t = uint32 /* unistd.h:235:17 */
type uid_t = uint32 /* unistd.h:237:17 */
type uid_t = uint32 /* unistd.h:240:17 */
type useconds_t = uint32 /* unistd.h:255:22 */
type useconds_t = uint32 /* unistd.h:258:22 */
type pid_t = int32 /* unistd.h:260:17 */
type pid_t = int32 /* unistd.h:263:17 */
type intptr_t = int64 /* unistd.h:267:20 */
type intptr_t = int64 /* unistd.h:270:20 */
type socklen_t = uint32 /* unistd.h:274:21 */
type socklen_t = uint32 /* unistd.h:277:21 */
// In 4.3bsd-net2, leave these undefined to indicate that size_t, etc.
// are already defined.
@@ -4265,11 +4319,6 @@ type idtype_t = uint32 /* waitflags.h:57:3 */
// configurations support _Float128x or, as of GCC 7, have compiler
// support for a type meeting the requirements for _Float128x.
// Defined to 1 if the corresponding _FloatN type is not binary compatible
// with the corresponding ISO C type in the current compilation unit as
// opposed to __HAVE_DISTINCT_FLOATN, which indicates the default types built
// in glibc.
// Defined to 1 if any _FloatN or _FloatNx types that are not
// ABI-distinct are however distinct types at the C language level (so
// for the purposes of __builtin_types_compatible_p and _Generic).
@@ -4370,22 +4419,23 @@ type u_long = uint64 /* types.h:36:18 */
type quad_t = int64 /* types.h:37:18 */
type u_quad_t = uint64 /* types.h:38:20 */
type fsid_t = struct{ __val [2]int32 } /* types.h:39:18 */
type loff_t = int64 /* types.h:42:18 */
type ino_t = uint64 /* types.h:49:19 */
type loff_t = int64 /* types.h:44:18 */
type dev_t = uint64 /* types.h:59:17 */
type ino_t = uint64 /* types.h:50:19 */
type mode_t = uint32 /* types.h:69:18 */
type dev_t = uint64 /* types.h:60:17 */
type nlink_t = uint64 /* types.h:74:19 */
type mode_t = uint32 /* types.h:70:18 */
type id_t = uint32 /* types.h:103:16 */
type nlink_t = uint64 /* types.h:75:19 */
type daddr_t = int32 /* types.h:114:19 */
type caddr_t = uintptr /* types.h:115:19 */
type id_t = uint32 /* types.h:104:16 */
type key_t = int32 /* types.h:121:17 */
type daddr_t = int32 /* types.h:115:19 */
type caddr_t = uintptr /* types.h:116:19 */
type key_t = int32 /* types.h:122:17 */
// bits/types.h -- definitions of __*_t types underlying *_t types.
// Copyright (C) 2002-2018 Free Software Foundation, Inc.
@@ -4479,7 +4529,7 @@ type time_t = int64 /* time_t.h:7:18 */
// Timer ID returned by `timer_create'.
type timer_t = uintptr /* timer_t.h:7:19 */
// Copyright (C) 1989-2018 Free Software Foundation, Inc.
// Copyright (C) 1989-2017 Free Software Foundation, Inc.
//
// This file is part of GCC.
//
@@ -4562,9 +4612,9 @@ type timer_t = uintptr /* timer_t.h:7:19 */
// A null pointer constant.
// Old compatibility names for C types.
type ulong = uint64 /* types.h:148:27 */
type ushort = uint16 /* types.h:149:28 */
type uint = uint32 /* types.h:150:22 */
type ulong = uint64 /* types.h:149:27 */
type ushort = uint16 /* types.h:150:28 */
type uint = uint32 /* types.h:151:22 */
// These size-specific names are used by some of the inet code.
@@ -4613,12 +4663,12 @@ type int64_t = int64 /* stdint-intn.h:27:19 */
// For GCC 2.7 and later, we can use specific type-size attributes.
type u_int8_t = uint32 /* types.h:177:1 */
type u_int16_t = uint32 /* types.h:178:1 */
type u_int32_t = uint32 /* types.h:179:1 */
type u_int64_t = uint32 /* types.h:180:1 */
type u_int8_t = uint32 /* types.h:178:1 */
type u_int16_t = uint32 /* types.h:179:1 */
type u_int32_t = uint32 /* types.h:180:1 */
type u_int64_t = uint32 /* types.h:181:1 */
type register_t = int32 /* types.h:182:13 */
type register_t = int32 /* types.h:183:13 */
// A set of signals to be blocked, unblocked, or waited for.
type sigset_t = struct{ __val [16]uint64 } /* sigset_t.h:7:20 */
@@ -4694,14 +4744,12 @@ type fd_set = struct{ __fds_bits [16]int64 } /* select.h:70:5 */
// Sometimes the fd_set member is assumed to have this type.
type fd_mask = int64 /* select.h:77:19 */
// Define some inlines helping to catch common problems.
type blksize_t = int64 /* types.h:202:21 */
type blksize_t = int64 /* types.h:212:21 */
// Types from the Large File Support interface.
type blkcnt_t = int64 /* types.h:222:22 */ // Type to count number of disk blocks.
type fsblkcnt_t = uint64 /* types.h:226:24 */ // Type to count file system blocks.
type fsfilcnt_t = uint64 /* types.h:230:24 */ // Type to count file system inodes.
type blkcnt_t = int64 /* types.h:232:22 */ // Type to count number of disk blocks.
type fsblkcnt_t = uint64 /* types.h:236:24 */ // Type to count file system blocks.
type fsfilcnt_t = uint64 /* types.h:240:24 */ // Type to count file system inodes.
// Now add the thread types.
// Declaration of common pthread types for all architectures.
@@ -6321,11 +6369,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 /* "2020-08-14 13:23..." */) != 0 {
if libc.Xstrcmp(tls, sqlite3.Xsqlite3_sourceid(tls), ts+2330 /* "2021-03-12 15:10..." */) != 0 {
libc.Xfprintf(tls, libc.Xstderr,
ts+2415, /* "SQLite library a..." */
libc.VaList(bp, sqlite3.Xsqlite3_sourceid(tls), ts+2330 /* "2020-08-14 13:23..." */))
libc.VaList(bp, sqlite3.Xsqlite3_sourceid(tls), ts+2330 /* "2021-03-12 15:10..." */))
libc.Xexit(tls, 1)
}
*(*int32)(unsafe.Pointer(bp + 232 /* n */)) = (argc - 2)
@@ -6384,7 +6432,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.33..." */, 0)
libc.Xprintf(tls, ts+2617 /* "With SQLite 3.35..." */, 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))
}
@@ -6531,5 +6579,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\x002020-08-14 13:23:32 fca8dc8b578f215a969cd899336378966156154710873e68b3d9ac5881b0ff3f\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.33.0 2020-08-14 13:23:32 fca8dc8b578f215a969cd899336378966156154710873e68b3d9ac5881b0ff3f\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-03-12 15:10:09 acd63062eb06748bfe9e4886639e4f2b54ea6a496a83f10716abbaba4115500b\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.0 2021-03-12 15:10:09 acd63062eb06748bfe9e4886639e4f2b54ea6a496a83f10716abbaba4115500b\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

View File

@@ -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_linux_amd64.go -trace-translation-units testdata/sqlite-amalgamation-3330000/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_MUTEX_NOOP -DSQLITE_SOUNDEX -DSQLITE_THREADSAFE=1 -DSQLITE_OS_UNIX=1', 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_linux_amd64.go -trace-translation-units testdata/sqlite-amalgamation-3350000/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_MUTEX_NOOP -DSQLITE_SOUNDEX -DSQLITE_THREADSAFE=1 -DSQLITE_OS_UNIX=1', DO NOT EDIT.
package sqlite3
@@ -13,10 +13,12 @@ var CAPI = map[string]struct{}{
"sqlite3AddInt64": {},
"sqlite3AddNotNull": {},
"sqlite3AddPrimaryKey": {},
"sqlite3AddReturning": {},
"sqlite3AffinityType": {},
"sqlite3AggInfoPersistWalkerInit": {},
"sqlite3AllocateIndexObject": {},
"sqlite3AlterBeginAddColumn": {},
"sqlite3AlterDropColumn": {},
"sqlite3AlterFinishAddColumn": {},
"sqlite3AlterFunctions": {},
"sqlite3AlterRenameColumn": {},
@@ -100,8 +102,6 @@ var CAPI = map[string]struct{}{
"sqlite3BtreeIntegerKey": {},
"sqlite3BtreeIntegrityCheck": {},
"sqlite3BtreeIsInBackup": {},
"sqlite3BtreeIsInReadTrans": {},
"sqlite3BtreeIsInTrans": {},
"sqlite3BtreeIsReadonly": {},
"sqlite3BtreeLast": {},
"sqlite3BtreeLastPage": {},
@@ -137,7 +137,9 @@ var CAPI = map[string]struct{}{
"sqlite3BtreeSetSpillSize": {},
"sqlite3BtreeSetVersion": {},
"sqlite3BtreeSharable": {},
"sqlite3BtreeTransferRow": {},
"sqlite3BtreeTripAllCursors": {},
"sqlite3BtreeTxnState": {},
"sqlite3BtreeUpdateMeta": {},
"sqlite3BuiltinFunctions": {},
"sqlite3CantopenError": {},
@@ -157,6 +159,7 @@ var CAPI = map[string]struct{}{
"sqlite3CodeVerifySchema": {},
"sqlite3CollapseDatabaseArray": {},
"sqlite3ColumnDefault": {},
"sqlite3ColumnIndex": {},
"sqlite3ColumnType": {},
"sqlite3ColumnsFromExprList": {},
"sqlite3CommitInternalChanges": {},
@@ -174,6 +177,8 @@ var CAPI = map[string]struct{}{
"sqlite3CreateFunc": {},
"sqlite3CreateIndex": {},
"sqlite3CreateView": {},
"sqlite3CteDelete": {},
"sqlite3CteNew": {},
"sqlite3CtypeMap": {},
"sqlite3DbFree": {},
"sqlite3DbFreeNN": {},
@@ -210,6 +215,7 @@ var CAPI = map[string]struct{}{
"sqlite3EndTransaction": {},
"sqlite3ErrStr": {},
"sqlite3Error": {},
"sqlite3ErrorClear": {},
"sqlite3ErrorMsg": {},
"sqlite3ErrorToParser": {},
"sqlite3ErrorWithMsg": {},
@@ -297,7 +303,6 @@ var CAPI = map[string]struct{}{
"sqlite3FinishCoding": {},
"sqlite3FinishTrigger": {},
"sqlite3FixExpr": {},
"sqlite3FixExprList": {},
"sqlite3FixInit": {},
"sqlite3FixSelect": {},
"sqlite3FixSrcList": {},
@@ -526,6 +531,7 @@ var CAPI = map[string]struct{}{
"sqlite3PagerWrite": {},
"sqlite3ParseUri": {},
"sqlite3Parser": {},
"sqlite3ParserAddCleanup": {},
"sqlite3ParserFallback": {},
"sqlite3ParserFinalize": {},
"sqlite3ParserInit": {},
@@ -620,7 +626,9 @@ var CAPI = map[string]struct{}{
"sqlite3SelectDup": {},
"sqlite3SelectExprHeight": {},
"sqlite3SelectNew": {},
"sqlite3SelectOpName": {},
"sqlite3SelectPrep": {},
"sqlite3SelectTrace": {},
"sqlite3SelectWalkFail": {},
"sqlite3SelectWalkNoop": {},
"sqlite3SelectWrongNumTermsError": {},
@@ -689,6 +697,8 @@ var CAPI = map[string]struct{}{
"sqlite3UpsertDoUpdate": {},
"sqlite3UpsertDup": {},
"sqlite3UpsertNew": {},
"sqlite3UpsertNextIsIPK": {},
"sqlite3UpsertOfIndex": {},
"sqlite3Utf16ByteLen": {},
"sqlite3Utf16to8": {},
"sqlite3Utf8CharLen": {},
@@ -916,11 +926,13 @@ var CAPI = map[string]struct{}{
"sqlite3WhereIsDistinct": {},
"sqlite3WhereIsOrdered": {},
"sqlite3WhereIsSorted": {},
"sqlite3WhereMinMaxOptEarlyOut": {},
"sqlite3WhereOkOnePass": {},
"sqlite3WhereOrderByLimitOptLabel": {},
"sqlite3WhereOutputRowCount": {},
"sqlite3WhereSplit": {},
"sqlite3WhereTabFuncArgs": {},
"sqlite3WhereTrace": {},
"sqlite3WhereUsesDeferredSeek": {},
"sqlite3WindowAlloc": {},
"sqlite3WindowAssemble": {},
@@ -1177,8 +1189,8 @@ var CAPI = map[string]struct{}{
"sqlite3_trace": {},
"sqlite3_trace_v2": {},
"sqlite3_transfer_bindings": {},
"sqlite3_txn_state": {},
"sqlite3_unlock_notify": {},
"sqlite3_unsupported_selecttrace": {},
"sqlite3_update_hook": {},
"sqlite3_uri_boolean": {},
"sqlite3_uri_int64": {},

View File

@@ -119281,7 +119281,6 @@ func Xsqlite3GenerateConstraintChecks(tls *libc.TLS, pParse uintptr, pTab uintpt
goto __4
goto __6
__6:
}
}
@@ -174506,7 +174505,6 @@ __15:
goto __14
goto __16
__16:
}
// This is a helper function for rbuObjIterCacheTableInfo(). It populates

File diff suppressed because one or more lines are too long

View File

@@ -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_linux_amd64.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-3330000/sqlite3.c -DNDEBUG -DHAVE_USLEEP -DLONGDOUBLE_TYPE=double -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_MUTEX_NOOP -DSQLITE_SOUNDEX -DSQLITE_TEMP_STORE=1 -DSQLITE_TEST -DSQLITE_THREADSAFE=1', 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_linux_amd64.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-3350000/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_MUTEX_NOOP -DSQLITE_SOUNDEX -DSQLITE_TEMP_STORE=1 -DSQLITE_TEST -DSQLITE_THREADSAFE=1', DO NOT EDIT.
package sqlite3
@@ -15,10 +15,12 @@ var CAPI = map[string]struct{}{
"sqlite3AddInt64": {},
"sqlite3AddNotNull": {},
"sqlite3AddPrimaryKey": {},
"sqlite3AddReturning": {},
"sqlite3AffinityType": {},
"sqlite3AggInfoPersistWalkerInit": {},
"sqlite3AllocateIndexObject": {},
"sqlite3AlterBeginAddColumn": {},
"sqlite3AlterDropColumn": {},
"sqlite3AlterFinishAddColumn": {},
"sqlite3AlterFunctions": {},
"sqlite3AlterRenameColumn": {},
@@ -102,8 +104,6 @@ var CAPI = map[string]struct{}{
"sqlite3BtreeIntegerKey": {},
"sqlite3BtreeIntegrityCheck": {},
"sqlite3BtreeIsInBackup": {},
"sqlite3BtreeIsInReadTrans": {},
"sqlite3BtreeIsInTrans": {},
"sqlite3BtreeIsReadonly": {},
"sqlite3BtreeLast": {},
"sqlite3BtreeLastPage": {},
@@ -139,7 +139,9 @@ var CAPI = map[string]struct{}{
"sqlite3BtreeSetSpillSize": {},
"sqlite3BtreeSetVersion": {},
"sqlite3BtreeSharable": {},
"sqlite3BtreeTransferRow": {},
"sqlite3BtreeTripAllCursors": {},
"sqlite3BtreeTxnState": {},
"sqlite3BtreeUpdateMeta": {},
"sqlite3BuiltinFunctions": {},
"sqlite3CantopenError": {},
@@ -159,6 +161,7 @@ var CAPI = map[string]struct{}{
"sqlite3CodeVerifySchema": {},
"sqlite3CollapseDatabaseArray": {},
"sqlite3ColumnDefault": {},
"sqlite3ColumnIndex": {},
"sqlite3ColumnType": {},
"sqlite3ColumnsFromExprList": {},
"sqlite3CommitInternalChanges": {},
@@ -176,6 +179,8 @@ var CAPI = map[string]struct{}{
"sqlite3CreateFunc": {},
"sqlite3CreateIndex": {},
"sqlite3CreateView": {},
"sqlite3CteDelete": {},
"sqlite3CteNew": {},
"sqlite3CtypeMap": {},
"sqlite3DbFree": {},
"sqlite3DbFreeNN": {},
@@ -216,6 +221,7 @@ var CAPI = map[string]struct{}{
"sqlite3ErrName": {},
"sqlite3ErrStr": {},
"sqlite3Error": {},
"sqlite3ErrorClear": {},
"sqlite3ErrorMsg": {},
"sqlite3ErrorToParser": {},
"sqlite3ErrorWithMsg": {},
@@ -303,7 +309,6 @@ var CAPI = map[string]struct{}{
"sqlite3FinishCoding": {},
"sqlite3FinishTrigger": {},
"sqlite3FixExpr": {},
"sqlite3FixExprList": {},
"sqlite3FixInit": {},
"sqlite3FixSelect": {},
"sqlite3FixSrcList": {},
@@ -536,6 +541,7 @@ var CAPI = map[string]struct{}{
"sqlite3PagerWrite": {},
"sqlite3ParseUri": {},
"sqlite3Parser": {},
"sqlite3ParserAddCleanup": {},
"sqlite3ParserFallback": {},
"sqlite3ParserFinalize": {},
"sqlite3ParserInit": {},
@@ -632,7 +638,9 @@ var CAPI = map[string]struct{}{
"sqlite3SelectDup": {},
"sqlite3SelectExprHeight": {},
"sqlite3SelectNew": {},
"sqlite3SelectOpName": {},
"sqlite3SelectPrep": {},
"sqlite3SelectTrace": {},
"sqlite3SelectWalkFail": {},
"sqlite3SelectWalkNoop": {},
"sqlite3SelectWrongNumTermsError": {},
@@ -703,6 +711,8 @@ var CAPI = map[string]struct{}{
"sqlite3UpsertDoUpdate": {},
"sqlite3UpsertDup": {},
"sqlite3UpsertNew": {},
"sqlite3UpsertNextIsIPK": {},
"sqlite3UpsertOfIndex": {},
"sqlite3Utf16ByteLen": {},
"sqlite3Utf16to8": {},
"sqlite3Utf8CharLen": {},
@@ -935,6 +945,7 @@ var CAPI = map[string]struct{}{
"sqlite3WhereIsDistinct": {},
"sqlite3WhereIsOrdered": {},
"sqlite3WhereIsSorted": {},
"sqlite3WhereMinMaxOptEarlyOut": {},
"sqlite3WhereOkOnePass": {},
"sqlite3WhereOrderByLimitOptLabel": {},
"sqlite3WhereOutputRowCount": {},
@@ -1221,8 +1232,8 @@ var CAPI = map[string]struct{}{
"sqlite3_trace": {},
"sqlite3_trace_v2": {},
"sqlite3_transfer_bindings": {},
"sqlite3_txn_state": {},
"sqlite3_unlock_notify": {},
"sqlite3_unsupported_selecttrace": {},
"sqlite3_update_hook": {},
"sqlite3_uri_boolean": {},
"sqlite3_uri_int64": {},

View File

@@ -120511,7 +120511,6 @@ func Xsqlite3GenerateConstraintChecks(tls *libc.TLS, pParse uintptr, pTab uintpt
goto __4
goto __6
__6:
}
}
@@ -176195,7 +176194,6 @@ __15:
goto __14
goto __16
__16:
}
// This is a helper function for rbuObjIterCacheTableInfo(). It populates

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long