diff --git a/Makefile b/Makefile
index 1439887..f53dedd 100644
--- a/Makefile
+++ b/Makefile
@@ -23,6 +23,7 @@ all: editor
GOOS=linux GOARCH=amd64 go build -v ./...
GOOS=linux GOARCH=arm go build -v ./...
GOOS=linux GOARCH=arm64 go build -v ./...
+ GOOS=linux GOARCH=s390x go build -v ./...
GOOS=windows GOARCH=386 go build -v ./...
GOOS=windows GOARCH=amd64 go build -v ./...
golint 2>&1 | grep -v $(ngrep) || true
@@ -42,8 +43,8 @@ build_all_targets:
GOOS=linux GOARCH=amd64 go build -v ./...
GOOS=linux GOARCH=arm go build -v ./...
GOOS=linux GOARCH=arm64 go build -v ./...
+ GOOS=linux GOARCH=s390x go build -v ./...
GOOS=netbsd GOARCH=amd64 go build -v ./...
- #TODO GOOS=linux GOARCH=s390x go build -v ./...
GOOS=windows GOARCH=386 go build -v ./...
GOOS=windows GOARCH=amd64 go build -v ./...
echo done
diff --git a/go.mod b/go.mod
index f8765cb..28942e6 100644
--- a/go.mod
+++ b/go.mod
@@ -5,9 +5,9 @@ go 1.15
require (
github.com/mattn/go-sqlite3 v1.14.8
golang.org/x/sys v0.0.0-20210902050250-f475640dd07b
- modernc.org/ccgo/v3 v3.12.7
- modernc.org/libc v1.11.13
+ modernc.org/ccgo/v3 v3.12.10
+ modernc.org/libc v1.11.15
modernc.org/mathutil v1.4.1
- modernc.org/tcl v1.6.0
- modernc.org/z v1.1.3
+ modernc.org/tcl v1.7.0
+ modernc.org/z v1.2.0
)
diff --git a/go.sum b/go.sum
index 0c526b0..0e9752b 100644
--- a/go.sum
+++ b/go.sum
@@ -55,8 +55,10 @@ modernc.org/ccgo/v3 v3.11.1/go.mod h1:lWHxfsn13L3f7hgGsGlU28D9eUOf6y3ZYHKoPaKU0a
modernc.org/ccgo/v3 v3.11.3/go.mod h1:0oHunRBMBiXOKdaglfMlRPBALQqsfrCKXgw9okQ3GEw=
modernc.org/ccgo/v3 v3.12.4/go.mod h1:Bk+m6m2tsooJchP/Yk5ji56cClmN6R1cqc9o/YtbgBQ=
modernc.org/ccgo/v3 v3.12.6/go.mod h1:0Ji3ruvpFPpz+yu+1m0wk68pdr/LENABhTrDkMDWH6c=
-modernc.org/ccgo/v3 v3.12.7 h1:gcMawTkfKjw9CKV2CbZE7dYFSBEawoTQ5p/PYPikO1M=
-modernc.org/ccgo/v3 v3.12.7/go.mod h1:Hq9keM4ZfjCDuDXxaHptpv9N24JhgBZmUG5q60iLgUo=
+modernc.org/ccgo/v3 v3.12.8/go.mod h1:Hq9keM4ZfjCDuDXxaHptpv9N24JhgBZmUG5q60iLgUo=
+modernc.org/ccgo/v3 v3.12.9/go.mod h1:/yFavGwdJi0JkaXQwbrKWMmLMu9Z+uhJBEE9INyO7KY=
+modernc.org/ccgo/v3 v3.12.10 h1:8HiDyTcnxiI+aamE1SlvGROGhD294tRS2c/ir7iOOIk=
+modernc.org/ccgo/v3 v3.12.10/go.mod h1:/yFavGwdJi0JkaXQwbrKWMmLMu9Z+uhJBEE9INyO7KY=
modernc.org/httpfs v1.0.6 h1:AAgIpFZRXuYnkjftxTAZwMIiwEqAfk8aVB2/oA6nAeM=
modernc.org/httpfs v1.0.6/go.mod h1:7dosgurJGp0sPaRanU53W4xZYKh14wfzX420oZADeHM=
modernc.org/libc v1.9.8/go.mod h1:U1eq8YWr/Kc1RWCMFUWEdkTg8OTcfLw2kY8EDwl039w=
@@ -66,8 +68,9 @@ modernc.org/libc v1.11.2/go.mod h1:ioIyrl3ETkugDO3SGZ+6EOKvlP3zSOycUETe4XM4n8M=
modernc.org/libc v1.11.5/go.mod h1:k3HDCP95A6U111Q5TmG3nAyUcp3kR5YFZTeDS9v8vSU=
modernc.org/libc v1.11.6/go.mod h1:ddqmzR6p5i4jIGK1d/EiSw97LBcE3dK24QEwCFvgNgE=
modernc.org/libc v1.11.11/go.mod h1:lXEp9QOOk4qAYOtL3BmMve99S5Owz7Qyowzvg6LiZso=
-modernc.org/libc v1.11.13 h1:D38X+lInBsmq9LYZUWOVY4X0O4569GZGXhSZ4p/j0Y4=
modernc.org/libc v1.11.13/go.mod h1:ZYawJWlXIzXy2Pzghaf7YfM8OKacP3eZQI81PDLFdY8=
+modernc.org/libc v1.11.15 h1:shVeqow3h0u2XVFja3//vCcG+4bLQIxR88OiGN2lJyY=
+modernc.org/libc v1.11.15/go.mod h1:+DJquzYi+DMRUtWI1YNxrlQO6TcA5+dRRiq8HWBWRC8=
modernc.org/mathutil v1.1.1/go.mod h1:mZW8CKdRPY1v87qxC/wUdX5O1qDzXMP5TH3wjfpga6E=
modernc.org/mathutil v1.2.2/go.mod h1:mZW8CKdRPY1v87qxC/wUdX5O1qDzXMP5TH3wjfpga6E=
modernc.org/mathutil v1.4.0/go.mod h1:mZW8CKdRPY1v87qxC/wUdX5O1qDzXMP5TH3wjfpga6E=
@@ -80,9 +83,9 @@ modernc.org/opt v0.1.1 h1:/0RX92k9vwVeDXj+Xn23DKp2VJubL7k8qNffND6qn3A=
modernc.org/opt v0.1.1/go.mod h1:WdSiB5evDcignE70guQKxYUl14mgWtbClRi5wmkkTX0=
modernc.org/strutil v1.1.1 h1:xv+J1BXY3Opl2ALrBwyfEikFAj8pmqcpnfmuwUwcozs=
modernc.org/strutil v1.1.1/go.mod h1:DE+MQQ/hjKBZS2zNInV5hhcipt5rLPWkmpbGeW5mmdw=
-modernc.org/tcl v1.6.0 h1:s7GY9KIdNsqdI9spYrLAd3g9bQWEU1n1Y62S8bWFtQA=
-modernc.org/tcl v1.6.0/go.mod h1:cXRqaBK2zDfeEcVntrhph2Ac0lRZ4EFYhpVeVT+5kxg=
+modernc.org/tcl v1.7.0 h1:Y0/V0I5CsQp1Zo9FZBXG+gQZ/D1282wqk+40MHOLg6U=
+modernc.org/tcl v1.7.0/go.mod h1:Og+pkP9nQuZD66T58v6N/82h/hVgyOd/ORe17A9dVYM=
modernc.org/token v1.0.0 h1:a0jaWiNMDhDUtqOj09wvjWWAqd3q7WpBulmL9H2egsk=
modernc.org/token v1.0.0/go.mod h1:UGzOrNV1mAFSEB63lOFHIpNRUVMvYTc6yu1SMY/XTDM=
-modernc.org/z v1.1.3 h1:9dRGDjXZsufTUenaOrJV0DJ84WoOJ8xuSvzNm2W7eP8=
-modernc.org/z v1.1.3/go.mod h1:WdTpNodeZgXniBwc57KsEy+4LSFc0VJoUXQlvn22MUk=
+modernc.org/z v1.2.0 h1:6YQhT2uIAT7VXSVPuXWWgSEh4b5dvEtStuCB9yY3FPQ=
+modernc.org/z v1.2.0/go.mod h1:6UZRpgwqLmBKzQPqu5KjzgZoDNLJM0A2u+Wvks5NOcE=
diff --git a/internal/mptest/main_linux_s390x.go b/internal/mptest/main_linux_s390x.go
index d52585a..812eac5 100644
--- a/internal/mptest/main_linux_s390x.go
+++ b/internal/mptest/main_linux_s390x.go
@@ -1,4 +1,4 @@
-// Code generated by 'ccgo -export-defines "" -o internal/mptest/main_linux_s390x.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', DO NOT EDIT.
+// Code generated by 'ccgo -export-defines "" -o internal/mptest/main_linux_s390x.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_SESSION -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', DO NOT EDIT.
package main
@@ -224,6 +224,17 @@ const (
SQLITE_CANTOPEN_NOTEMPDIR = 270
SQLITE_CANTOPEN_SYMLINK = 1550
SQLITE_CDECL = 0
+ SQLITE_CHANGESETAPPLY_INVERT = 0x0002
+ SQLITE_CHANGESETAPPLY_NOSAVEPOINT = 0x0001
+ SQLITE_CHANGESETSTART_INVERT = 0x0002
+ SQLITE_CHANGESET_ABORT = 2
+ SQLITE_CHANGESET_CONFLICT = 3
+ SQLITE_CHANGESET_CONSTRAINT = 4
+ SQLITE_CHANGESET_DATA = 1
+ SQLITE_CHANGESET_FOREIGN_KEY = 5
+ SQLITE_CHANGESET_NOTFOUND = 2
+ SQLITE_CHANGESET_OMIT = 0
+ SQLITE_CHANGESET_REPLACE = 1
SQLITE_CHECKPOINT_FULL = 1
SQLITE_CHECKPOINT_PASSIVE = 0
SQLITE_CHECKPOINT_RESTART = 2
@@ -345,6 +356,7 @@ const (
SQLITE_ENABLE_PREUPDATE_HOOK = 1
SQLITE_ENABLE_RBU = 1
SQLITE_ENABLE_RTREE = 1
+ SQLITE_ENABLE_SESSION = 1
SQLITE_ENABLE_SNAPSHOT = 1
SQLITE_ENABLE_STAT4 = 1
SQLITE_ENABLE_UNLOCK_NOTIFY = 1
@@ -359,9 +371,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
@@ -575,6 +589,8 @@ const (
SQLITE_SCHEMA = 17
SQLITE_SELECT = 21
SQLITE_SERIALIZE_NOCOPY = 0x001
+ SQLITE_SESSION_CONFIG_STRMSIZE = 1
+ SQLITE_SESSION_OBJCONFIG_SIZE = 1
SQLITE_SET_LOCKPROXYFILE = 3
SQLITE_SHM_EXCLUSIVE = 8
SQLITE_SHM_LOCK = 2
@@ -582,7 +598,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
@@ -619,7 +635,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
@@ -636,6 +652,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
@@ -654,8 +671,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
@@ -682,6 +699,8 @@ const (
X_ASSERT_H = 1
X_ATFILE_SOURCE = 1
X_BITS_BYTESWAP_H = 1
+ X_BITS_ENDIANNESS_H = 1
+ X_BITS_ENDIAN_H = 1
X_BITS_ERRNO_H = 1
X_BITS_FLOATN_COMMON_H = 0
X_BITS_FLOATN_H = 0
@@ -690,6 +709,7 @@ const (
X_BITS_PTHREADTYPES_COMMON_H = 1
X_BITS_STDINT_INTN_H = 1
X_BITS_STDIO_LIM_H = 1
+ X_BITS_TIME64_H = 1
X_BITS_TYPESIZES_H = 1
X_BITS_TYPES_H = 1
X_BITS_TYPES_LOCALE_T_H = 1
@@ -786,6 +806,7 @@ const (
X_POSIX_V7_LPBIG_OFFBIG = -1
X_POSIX_VDISABLE = 0
X_POSIX_VERSION = 200809
+ X_RWLOCK_INTERNAL_H = 0
X_SIZET_ = 0
X_SIZE_T = 0
X_SIZE_T_ = 0
@@ -804,6 +825,7 @@ const (
X_SYS_SELECT_H = 1
X_SYS_SIZE_T_H = 0
X_SYS_TYPES_H = 1
+ X_THREAD_MUTEX_INTERNAL_H = 1
X_THREAD_SHARED_TYPES_H = 1
X_T_SIZE = 0
X_T_SIZE_ = 0
@@ -841,7 +863,7 @@ const (
// the `_SC_*' symbols for the NAME argument to `sysconf';
// and the `_CS_*' symbols for the NAME argument to `confstr'.
// `sysconf', `pathconf', and `confstr' NAME values. Generic version.
-// Copyright (C) 1993-2018 Free Software Foundation, Inc.
+// Copyright (C) 1993-2020 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
@@ -856,7 +878,7 @@ const (
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// Values for the NAME argument to `pathconf' and `fpathconf'.
const ( /* confname.h:24:1: */
@@ -1205,16 +1227,7 @@ const ( /* confname.h:71:1: */
_SC_THREAD_ROBUST_PRIO_PROTECT = 248
)
-// 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.
-// NetBSD 5 requires the I386_ANSI_H and X86_64_ANSI_H checks here.
-
-// A null pointer constant.
-
-// XPG requires a few symbols from being defined.
-// Definitions of flag bits for `waitpid' et al.
-// Copyright (C) 1992-2018 Free Software Foundation, Inc.
+// Copyright (C) 1991-2020 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
@@ -1229,43 +1242,11 @@ const ( /* confname.h:71:1: */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
-
-// Bits in the third argument to `waitpid'.
-
-// Bits in the fourth argument to `waitid'.
-
-// The following values are used by the `waitid' function.
-
-// The Linux kernel defines these bare, rather than an enum,
-// which causes a conflict if the include order is reversed.
-
-const ( /* waitflags.h:52:1: */
- P_ALL = 0 // Wait for any child.
- P_PID = 1 // Wait for specified process.
- P_PGID = 2
-)
-
-// Copyright (C) 1991-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
-// .
+// .
// ISO C99 Standard: 7.2 Diagnostics
-// Copyright (C) 1991-2018 Free Software Foundation, Inc.
+// Copyright (C) 1991-2020 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
@@ -1280,7 +1261,7 @@ const ( /* waitflags.h:52:1: */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// void assert (int expression);
//
@@ -1293,7 +1274,7 @@ const ( /* waitflags.h:52:1: */
// error message with the error text for ERRNUM and abort.
// (This is a GNU extension.)
-// Copyright (C) 1991-2018 Free Software Foundation, Inc.
+// Copyright (C) 1991-2020 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
@@ -1308,11 +1289,11 @@ const ( /* waitflags.h:52:1: */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// ISO C99 Standard 7.4: Character handling
-// Copyright (C) 1991-2018 Free Software Foundation, Inc.
+// Copyright (C) 1991-2020 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
@@ -1327,10 +1308,10 @@ const ( /* waitflags.h:52:1: */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// bits/types.h -- definitions of __*_t types underlying *_t types.
-// Copyright (C) 2002-2018 Free Software Foundation, Inc.
+// Copyright (C) 2002-2020 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
@@ -1345,7 +1326,7 @@ const ( /* waitflags.h:52:1: */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// Never include this file directly; use instead.
@@ -1357,7 +1338,8 @@ const ( /* waitflags.h:52:1: */
// endian). We define the bit value interpretations here dependent on the
// machine's byte order.
-// Copyright (C) 1992-2018 Free Software Foundation, Inc.
+// Endian macros for string.h functions
+// Copyright (C) 1992-2020 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
@@ -1968,7 +1950,7 @@ type sqlite3_vfs1 = struct {
xSetSystemCall uintptr
xGetSystemCall uintptr
xNextSystemCall uintptr
-} /* sqlite3.h:1368:9 */
+} /* sqlite3.h:1387:9 */
// CAPI3REF: OS Interface Object
//
@@ -2137,8 +2119,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
//
@@ -2210,7 +2192,7 @@ type sqlite3_mem_methods1 = struct {
xInit uintptr
xShutdown uintptr
pAppData uintptr
-} /* sqlite3.h:1666:9 */
+} /* sqlite3.h:1685:9 */
// CAPI3REF: Memory Allocation Routines
//
@@ -2273,7 +2255,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
//
@@ -2287,7 +2269,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.
@@ -2302,7 +2284,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.
@@ -2312,7 +2294,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
@@ -2331,12 +2313,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
@@ -2363,9 +2345,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
@@ -2473,7 +2455,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
@@ -2579,7 +2561,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
@@ -2685,7 +2667,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
//
@@ -2760,7 +2742,7 @@ type sqlite3_mutex_methods1 = struct {
xMutexLeave uintptr
xMutexHeld uintptr
xMutexNotheld uintptr
-} /* sqlite3.h:7589:9 */
+} /* sqlite3.h:7619:9 */
// CAPI3REF: Mutex Methods Object
//
@@ -2825,7 +2807,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
//
@@ -2838,7 +2820,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
//
@@ -2848,7 +2830,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}
@@ -3022,7 +3004,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}
@@ -3181,7 +3163,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
@@ -3198,12 +3180,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}
@@ -3223,7 +3205,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}
@@ -3243,7 +3225,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()
//
@@ -3287,7 +3269,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()
//
@@ -3324,7 +3306,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
@@ -3344,18 +3326,17 @@ 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.
+// CAPI3REF: Values for sqlite3session_config().
-//******* End of sqlite3rtree.h ********
-//******* Begin file sqlite3session.h ********
+// Make sure we can call this stuff from C++.
//******* End of sqlite3session.h ********
//******* Begin file fts5.h ********
@@ -3405,12 +3386,11 @@ 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.
+// CAPI3REF: Values for sqlite3session_config().
-//******* End of sqlite3rtree.h ********
-//******* Begin file sqlite3session.h ********
+// Make sure we can call this stuff from C++.
//******* End of sqlite3session.h ********
//******* Begin file fts5.h ********
@@ -3438,22 +3418,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()
@@ -3473,7 +3453,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()
@@ -3487,7 +3467,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 */
// The tag name of this struct is _G_fpos_t to preserve historic
// C++ mangled names for functions taking fpos_t arguments.
@@ -3501,7 +3481,7 @@ type _G_fpos_t = struct {
} /* __fpos_t.h:10:9 */
// bits/types.h -- definitions of __*_t types underlying *_t types.
-// Copyright (C) 2002-2018 Free Software Foundation, Inc.
+// Copyright (C) 2002-2020 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
@@ -3516,7 +3496,7 @@ type _G_fpos_t = struct {
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// Never include this file directly; use instead.
@@ -3582,7 +3562,7 @@ type fpos_t = _G_fpos64_t /* stdio.h:86:20 */
// If we are compiling with optimizing read this file. It contains
// several optimizing inline functions and macros.
-// Copyright (C) 1991-2018 Free Software Foundation, Inc.
+// Copyright (C) 1991-2020 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
@@ -3597,11 +3577,11 @@ type fpos_t = _G_fpos64_t /* stdio.h:86:20 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// POSIX Standard: 2.10 Symbolic Constants
-// Copyright (C) 1991-2018 Free Software Foundation, Inc.
+// Copyright (C) 1991-2020 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
@@ -3616,7 +3596,7 @@ type fpos_t = _G_fpos64_t /* stdio.h:86:20 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// These may be used to determine what facilities are present at compile time.
// Their values can be obtained at run time from `sysconf'.
@@ -3742,7 +3722,7 @@ type fpos_t = _G_fpos64_t /* stdio.h:86:20 */
//
// Define POSIX options for Linux.
-// Copyright (C) 1996-2018 Free Software Foundation, Inc.
+// Copyright (C) 1996-2020 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
@@ -3757,13 +3737,16 @@ type fpos_t = _G_fpos64_t /* stdio.h:86:20 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; see the file COPYING.LIB. If
-// not, see .
+// not, see .
// Job control is supported.
// Processes have a saved set-user-ID and a saved set-group-ID.
-// Priority scheduling is supported.
+// Priority scheduling is not supported with the correct semantics,
+// but GNU/Linux applications expect that the corresponding interfaces
+// are available, even though the semantics do not meet the POSIX
+// requirements. See glibc bug 14829.
// Synchronizing file data is supported.
@@ -3866,7 +3849,7 @@ type fpos_t = _G_fpos64_t /* stdio.h:86:20 */
// Typed memory objects are not available.
// Get the environment definitions from Unix98.
-// Copyright (C) 1999-2018 Free Software Foundation, Inc.
+// Copyright (C) 1999-2020 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
@@ -3881,7 +3864,7 @@ type fpos_t = _G_fpos64_t /* stdio.h:86:20 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// Determine the wordsize from the preprocessor defines.
@@ -3922,7 +3905,7 @@ type fpos_t = _G_fpos64_t /* stdio.h:86:20 */
// All functions that are not declared anywhere else.
// bits/types.h -- definitions of __*_t types underlying *_t types.
-// Copyright (C) 2002-2018 Free Software Foundation, Inc.
+// Copyright (C) 2002-2020 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
@@ -3937,11 +3920,11 @@ type fpos_t = _G_fpos64_t /* stdio.h:86:20 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// Never include this file directly; use instead.
-// Copyright (C) 1989-2018 Free Software Foundation, Inc.
+// Copyright (C) 1989-2017 Free Software Foundation, Inc.
//
// This file is part of GCC.
//
@@ -4046,7 +4029,7 @@ type socklen_t = uint32 /* unistd.h:274:21 */
// XPG requires a few symbols from being defined.
// Definitions of flag bits for `waitpid' et al.
-// Copyright (C) 1992-2018 Free Software Foundation, Inc.
+// Copyright (C) 1992-2020 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
@@ -4061,20 +4044,14 @@ type socklen_t = uint32 /* unistd.h:274:21 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// Bits in the third argument to `waitpid'.
// Bits in the fourth argument to `waitid'.
-// The following values are used by the `waitid' function.
-
-// The Linux kernel defines these bare, rather than an enum,
-// which causes a conflict if the include order is reversed.
-
-type idtype_t = uint32 /* waitflags.h:57:3 */
// Definitions of status bits for `wait' et al.
-// Copyright (C) 1992-2018 Free Software Foundation, Inc.
+// Copyright (C) 1992-2020 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
@@ -4089,7 +4066,7 @@ type idtype_t = uint32 /* waitflags.h:57:3 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// Everything extant so far uses these same bits.
@@ -4116,7 +4093,7 @@ type idtype_t = uint32 /* waitflags.h:57:3 */
// _FloatN API tests for enablement.
// Macros to control TS 18661-3 glibc features on ldbl-128 platforms.
-// Copyright (C) 2017-2018 Free Software Foundation, Inc.
+// Copyright (C) 2017-2020 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
@@ -4131,9 +4108,9 @@ type idtype_t = uint32 /* waitflags.h:57:3 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
-// Copyright (C) 1991-2018 Free Software Foundation, Inc.
+// Copyright (C) 1991-2020 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
@@ -4148,10 +4125,10 @@ type idtype_t = uint32 /* waitflags.h:57:3 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// Properties of long double type. ldbl-opt version.
-// Copyright (C) 2016-2018 Free Software Foundation, Inc.
+// Copyright (C) 2016-2020 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
@@ -4166,7 +4143,7 @@ type idtype_t = uint32 /* waitflags.h:57:3 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// Defined to 1 if the current compiler invocation provides a
// floating-point type with the IEEE 754 binary128 format, and this
@@ -4197,7 +4174,7 @@ type idtype_t = uint32 /* waitflags.h:57:3 */
// Macros to control TS 18661-3 glibc features where the same
// definitions are appropriate for all platforms.
-// Copyright (C) 2017-2018 Free Software Foundation, Inc.
+// Copyright (C) 2017-2020 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
@@ -4212,9 +4189,9 @@ type idtype_t = uint32 /* waitflags.h:57:3 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
-// Copyright (C) 1991-2018 Free Software Foundation, Inc.
+// Copyright (C) 1991-2020 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
@@ -4229,10 +4206,10 @@ type idtype_t = uint32 /* waitflags.h:57:3 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// Properties of long double type. ldbl-opt version.
-// Copyright (C) 2016-2018 Free Software Foundation, Inc.
+// Copyright (C) 2016-2020 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
@@ -4247,7 +4224,7 @@ type idtype_t = uint32 /* waitflags.h:57:3 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// This header should be included at the bottom of each bits/floatn.h.
// It defines the following macros for each _FloatN and _FloatNx type,
@@ -4313,7 +4290,7 @@ type lldiv_t = struct {
rem int64
} /* stdlib.h:80:5 */
-// Copyright (C) 1991-2018 Free Software Foundation, Inc.
+// Copyright (C) 1991-2020 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
@@ -4328,11 +4305,11 @@ type lldiv_t = struct {
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// POSIX Standard: 2.6 Primitive System Data Types
-// Copyright (C) 1991-2018 Free Software Foundation, Inc.
+// Copyright (C) 1991-2020 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
@@ -4347,10 +4324,10 @@ type lldiv_t = struct {
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// bits/types.h -- definitions of __*_t types underlying *_t types.
-// Copyright (C) 2002-2018 Free Software Foundation, Inc.
+// Copyright (C) 2002-2020 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
@@ -4365,7 +4342,7 @@ type lldiv_t = struct {
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// Never include this file directly; use instead.
@@ -4394,7 +4371,7 @@ type caddr_t = uintptr /* types.h:115:19 */
type key_t = int32 /* types.h:121:17 */
// bits/types.h -- definitions of __*_t types underlying *_t types.
-// Copyright (C) 2002-2018 Free Software Foundation, Inc.
+// Copyright (C) 2002-2020 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
@@ -4409,7 +4386,7 @@ type key_t = int32 /* types.h:121:17 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// Never include this file directly; use instead.
@@ -4417,7 +4394,7 @@ type key_t = int32 /* types.h:121:17 */
type clock_t = int64 /* clock_t.h:7:19 */
// bits/types.h -- definitions of __*_t types underlying *_t types.
-// Copyright (C) 2002-2018 Free Software Foundation, Inc.
+// Copyright (C) 2002-2020 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
@@ -4432,7 +4409,7 @@ type clock_t = int64 /* clock_t.h:7:19 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// Never include this file directly; use instead.
@@ -4440,7 +4417,7 @@ type clock_t = int64 /* clock_t.h:7:19 */
type clockid_t = int32 /* clockid_t.h:7:21 */
// bits/types.h -- definitions of __*_t types underlying *_t types.
-// Copyright (C) 2002-2018 Free Software Foundation, Inc.
+// Copyright (C) 2002-2020 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
@@ -4455,7 +4432,7 @@ type clockid_t = int32 /* clockid_t.h:7:21 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// Never include this file directly; use instead.
@@ -4463,7 +4440,7 @@ type clockid_t = int32 /* clockid_t.h:7:21 */
type time_t = int64 /* time_t.h:7:18 */
// bits/types.h -- definitions of __*_t types underlying *_t types.
-// Copyright (C) 2002-2018 Free Software Foundation, Inc.
+// Copyright (C) 2002-2020 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
@@ -4478,14 +4455,14 @@ type time_t = int64 /* time_t.h:7:18 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// Never include this file directly; use instead.
// 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.
//
@@ -4575,7 +4552,7 @@ type uint = uint32 /* types.h:150:22 */
// These size-specific names are used by some of the inet code.
// Define intN_t types.
-// Copyright (C) 2017-2018 Free Software Foundation, Inc.
+// Copyright (C) 2017-2020 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
@@ -4590,10 +4567,10 @@ type uint = uint32 /* types.h:150:22 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// bits/types.h -- definitions of __*_t types underlying *_t types.
-// Copyright (C) 2002-2018 Free Software Foundation, Inc.
+// Copyright (C) 2002-2020 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
@@ -4608,7 +4585,7 @@ type uint = uint32 /* types.h:150:22 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// Never include this file directly; use instead.
@@ -4617,14 +4594,13 @@ type int16_t = int16 /* stdint-intn.h:25:19 */
type int32_t = int32 /* stdint-intn.h:26:19 */
type int64_t = int64 /* stdint-intn.h:27:19 */
-// For GCC 2.7 and later, we can use specific type-size attributes.
+// These were defined by ISO C without the first `_'.
+type u_int8_t = uint8 /* types.h:158:19 */
+type u_int16_t = uint16 /* types.h:159:20 */
+type u_int32_t = uint32 /* types.h:160:20 */
+type u_int64_t = uint64 /* types.h:161:20 */
-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 register_t = int32 /* types.h:182:13 */
+type register_t = int32 /* types.h:164:13 */
// A set of signals to be blocked, unblocked, or waited for.
type sigset_t = struct{ __val [16]uint64 } /* sigset_t.h:7:20 */
@@ -4632,7 +4608,7 @@ type sigset_t = struct{ __val [16]uint64 } /* sigset_t.h:7:20 */
// Get definition of timer specification structures.
// bits/types.h -- definitions of __*_t types underlying *_t types.
-// Copyright (C) 2002-2018 Free Software Foundation, Inc.
+// Copyright (C) 2002-2020 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
@@ -4647,7 +4623,7 @@ type sigset_t = struct{ __val [16]uint64 } /* sigset_t.h:7:20 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// Never include this file directly; use instead.
@@ -4661,7 +4637,27 @@ type timeval = struct {
// NB: Include guard matches what uses.
// bits/types.h -- definitions of __*_t types underlying *_t types.
-// Copyright (C) 2002-2018 Free Software Foundation, Inc.
+// Copyright (C) 2002-2020 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
+// .
+
+// Never include this file directly; use instead.
+
+// Endian macros for string.h functions
+// Copyright (C) 1992-2020 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
@@ -4678,14 +4674,12 @@ type timeval = struct {
// License along with the GNU C Library; if not, see
// .
-// Never include this file directly; use instead.
-
// POSIX.1b structure for a time value. This is like a `struct timeval' but
// has nanoseconds instead of microseconds.
type timespec = struct {
tv_sec int64
tv_nsec int64
-} /* struct_timespec.h:9:1 */
+} /* struct_timespec.h:10:1 */
type suseconds_t = int64 /* select.h:43:23 */
@@ -4702,16 +4696,16 @@ 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:185: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:205:22 */ // Type to count number of disk blocks.
+type fsblkcnt_t = uint64 /* types.h:209:24 */ // Type to count file system blocks.
+type fsfilcnt_t = uint64 /* types.h:213:24 */ // Type to count file system inodes.
// Now add the thread types.
// Declaration of common pthread types for all architectures.
-// Copyright (C) 2017-2018 Free Software Foundation, Inc.
+// Copyright (C) 2017-2020 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
@@ -4726,11 +4720,11 @@ type fsfilcnt_t = uint64 /* types.h:230:24 */ // Type to count file system inode
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// For internal mutex and condition variable definitions.
// Common threading primitives definitions for both POSIX and C11.
-// Copyright (C) 2017-2018 Free Software Foundation, Inc.
+// Copyright (C) 2017-2020 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
@@ -4745,7 +4739,7 @@ type fsfilcnt_t = uint64 /* types.h:230:24 */ // Type to count file system inode
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// Arch-specific definitions. Each architecture must define the following
// macros to define the expected sizes of pthread data types:
@@ -4760,36 +4754,6 @@ type fsfilcnt_t = uint64 /* types.h:230:24 */ // Type to count file system inode
// __SIZEOF_PTHREAD_BARRIER_T - size of pthread_barrier_t.
// __SIZEOF_PTHREAD_BARRIERATTR_T - size of pthread_barrierattr_t.
//
-// Also, the following macros must be define for internal pthread_mutex_t
-// struct definitions (struct __pthread_mutex_s):
-//
-// __PTHREAD_COMPAT_PADDING_MID - any additional members after 'kind'
-// and before '__spin' (for 64 bits) or
-// '__nusers' (for 32 bits).
-// __PTHREAD_COMPAT_PADDING_END - any additional members at the end of
-// the internal structure.
-// __PTHREAD_MUTEX_LOCK_ELISION - 1 if the architecture supports lock
-// elision or 0 otherwise.
-// __PTHREAD_MUTEX_NUSERS_AFTER_KIND - control where to put __nusers. The
-// preferred value for new architectures
-// is 0.
-// __PTHREAD_MUTEX_USE_UNION - control whether internal __spins and
-// __list will be place inside a union for
-// linuxthreads compatibility.
-// The preferred value for new architectures
-// is 0.
-//
-// For a new port the preferred values for the required defines are:
-//
-// #define __PTHREAD_COMPAT_PADDING_MID
-// #define __PTHREAD_COMPAT_PADDING_END
-// #define __PTHREAD_MUTEX_LOCK_ELISION 0
-// #define __PTHREAD_MUTEX_NUSERS_AFTER_KIND 0
-// #define __PTHREAD_MUTEX_USE_UNION 0
-//
-// __PTHREAD_MUTEX_LOCK_ELISION can be set to 1 if the hardware plans to
-// eventually support lock elision using transactional memory.
-//
// The additional macro defines any constraint for the lock alignment
// inside the thread structures:
//
@@ -4798,11 +4762,10 @@ type fsfilcnt_t = uint64 /* types.h:230:24 */ // Type to count file system inode
// Same idea but for the once locking primitive:
//
// __ONCE_ALIGNMENT - for pthread_once_t/once_flag definition.
+
+// Machine-specific pthread type layouts. Generic version.
+// Copyright (C) 2019-2020 Free Software Foundation, Inc.
//
-// And finally the internal pthread_rwlock_t (struct __pthread_rwlock_arch_t)
-// must be defined.
-//
-// Copyright (C) 2003-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
@@ -4821,7 +4784,90 @@ type fsfilcnt_t = uint64 /* types.h:230:24 */ // Type to count file system inode
// Determine the wordsize from the preprocessor defines.
-// Definitions for internal mutex struct.
+// Common definition of pthread_mutex_t.
+
+type __pthread_internal_list = struct {
+ __prev uintptr
+ __next uintptr
+} /* thread-shared-types.h:49:9 */
+
+type __pthread_internal_slist = struct{ __next uintptr } /* thread-shared-types.h:55:9 */
+
+// Arch-specific mutex definitions. A generic implementation is provided
+// by sysdeps/nptl/bits/struct_mutex.h. If required, an architecture
+// can override it by defining:
+//
+// 1. struct __pthread_mutex_s (used on both pthread_mutex_t and mtx_t
+// definition). It should contains at least the internal members
+// defined in the generic version.
+//
+// 2. __LOCK_ALIGNMENT for any extra attribute for internal lock used with
+// atomic operations.
+//
+// 3. The macro __PTHREAD_MUTEX_INITIALIZER used for static initialization.
+// It should initialize the mutex internal flag.
+
+// S390 internal mutex struct definitions.
+// Copyright (C) 2019-2020 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
+// .
+
+type __pthread_mutex_s = struct {
+ __lock int32
+ __count uint32
+ __owner int32
+ __nusers uint32
+ __kind int32
+ __spins int16
+ __elision int16
+ __list struct {
+ __prev uintptr
+ __next uintptr
+ }
+} /* struct_mutex.h:22:1 */
+
+// Arch-sepecific read-write lock definitions. A generic implementation is
+// provided by struct_rwlock.h. If required, an architecture can override it
+// by defining:
+//
+// 1. struct __pthread_rwlock_arch_t (used on pthread_rwlock_t definition).
+// It should contain at least the internal members defined in the
+// generic version.
+//
+// 2. The macro __PTHREAD_RWLOCK_INITIALIZER used for static initialization.
+// It should initialize the rwlock internal type.
+
+// S390 internal rwlock struct definitions.
+// Copyright (C) 2019-2020 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
+// .
type __pthread_rwlock_arch_t = struct {
__readers uint32
@@ -4836,30 +4882,7 @@ type __pthread_rwlock_arch_t = struct {
__pad2 uint64
__flags uint32
_ [4]byte
-} /* pthreadtypes-arch.h:50:1 */
-
-// Common definition of pthread_mutex_t.
-
-type __pthread_internal_list = struct {
- __prev uintptr
- __next uintptr
-} /* thread-shared-types.h:82:9 */
-
-// Lock elision support.
-
-type __pthread_mutex_s = struct {
- __lock int32
- __count uint32
- __owner int32
- __nusers uint32
- __kind int32
- __spins int16
- __elision int16
- __list struct {
- __prev uintptr
- __next uintptr
- }
-} /* thread-shared-types.h:118:1 */
+} /* struct_rwlock.h:23:1 */
// Common definition of pthread_cond_t.
@@ -4871,7 +4894,7 @@ type __pthread_cond_s = struct {
__g1_orig_size uint32
__wrefs uint32
__g_signals [2]uint32
-} /* thread-shared-types.h:171:1 */
+} /* thread-shared-types.h:92:1 */
// Thread identifiers. The structure of the attribute type is not
// exposed on purpose.
@@ -4960,7 +4983,7 @@ type drand48_data = struct {
// POSIX.1-2008 extended locale interface (see locale.h).
// Definition of locale_t.
-// Copyright (C) 2017-2018 Free Software Foundation, Inc.
+// Copyright (C) 2017-2020 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
@@ -4975,10 +4998,10 @@ type drand48_data = struct {
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// Definition of struct __locale_struct and __locale_t.
-// Copyright (C) 1997-2018 Free Software Foundation, Inc.
+// Copyright (C) 1997-2020 Free Software Foundation, Inc.
// This file is part of the GNU C Library.
// Contributed by Ulrich Drepper , 1997.
//
@@ -4994,7 +5017,7 @@ type drand48_data = struct {
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// POSIX.1-2008: the locale_t type, representing a locale context
// (implementation-namespace version). This type should be treated
@@ -6324,11 +6347,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.Xstderr,
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)
@@ -6387,7 +6410,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))
}
@@ -6534,5 +6557,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
diff --git a/internal/testfixture/testfixture_linux_s390x.go b/internal/testfixture/testfixture_linux_s390x.go
index f5820cd..e18aeb5 100644
--- a/internal/testfixture/testfixture_linux_s390x.go
+++ b/internal/testfixture/testfixture_linux_s390x.go
@@ -1,4 +1,4 @@
-// Code generated by 'ccgo -DSQLITE_OMIT_LOAD_EXTENSION -DSQLITE_SERIES_CONSTRAINT_VERIFY=1 -DSQLITE_SERVER=1 -DTCLSH_INIT_PROC=sqlite3TestInit -D_HAVE_SQLITE_CONFIG_H -I/usr/include/tcl8.6 -export-defines "" -export-fields F -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 -lmodernc.org/sqlite/libtest -lmodernc.org/tcl/lib -lmodernc.org/z/lib -o internal/testfixture/testfixture_linux_s390x.go -Itestdata/sqlite-src-3350500/ext/async -Itestdata/sqlite-src-3350500/ext/fts3 -Itestdata/sqlite-src-3350500/ext/icu -Itestdata/sqlite-src-3350500/ext/rtree -Itestdata/sqlite-src-3350500/ext/session -Itestdata/sqlite-src-3350500/ext/userauth -Itestdata/sqlite-src-3350500/src -Itestdata/sqlite-amalgamation-3350500 -Itestdata/sqlite-src-3350500 testdata/sqlite-src-3350500/ext/expert/sqlite3expert.c testdata/sqlite-src-3350500/ext/expert/test_expert.c testdata/sqlite-src-3350500/ext/fts3/fts3_term.c testdata/sqlite-src-3350500/ext/fts3/fts3_test.c testdata/sqlite-src-3350500/ext/fts5/fts5_tcl.c testdata/sqlite-src-3350500/ext/fts5/fts5_test_mi.c testdata/sqlite-src-3350500/ext/fts5/fts5_test_tok.c testdata/sqlite-src-3350500/ext/misc/appendvfs.c testdata/sqlite-src-3350500/ext/misc/amatch.c testdata/sqlite-src-3350500/ext/misc/carray.c testdata/sqlite-src-3350500/ext/misc/cksumvfs.c testdata/sqlite-src-3350500/ext/misc/closure.c testdata/sqlite-src-3350500/ext/misc/csv.c testdata/sqlite-src-3350500/ext/misc/decimal.c testdata/sqlite-src-3350500/ext/misc/eval.c testdata/sqlite-src-3350500/ext/misc/explain.c testdata/sqlite-src-3350500/ext/misc/fileio.c testdata/sqlite-src-3350500/ext/misc/fuzzer.c testdata/sqlite-src-3350500/ext/misc/ieee754.c testdata/sqlite-src-3350500/ext/misc/mmapwarm.c testdata/sqlite-src-3350500/ext/misc/nextchar.c testdata/sqlite-src-3350500/ext/misc/normalize.c testdata/sqlite-src-3350500/ext/misc/percentile.c testdata/sqlite-src-3350500/ext/misc/prefixes.c testdata/sqlite-src-3350500/ext/misc/regexp.c testdata/sqlite-src-3350500/ext/misc/remember.c testdata/sqlite-src-3350500/ext/misc/series.c testdata/sqlite-src-3350500/ext/misc/spellfix.c testdata/sqlite-src-3350500/ext/misc/totype.c testdata/sqlite-src-3350500/ext/misc/unionvtab.c testdata/sqlite-src-3350500/ext/misc/wholenumber.c testdata/sqlite-src-3350500/ext/misc/zipfile.c testdata/sqlite-src-3350500/ext/rbu/test_rbu.c testdata/sqlite-src-3350500/ext/userauth/userauth.c testdata/sqlite-src-3350500/src/tclsqlite.c testdata/sqlite-src-3350500/src/test1.c testdata/sqlite-src-3350500/src/test2.c testdata/sqlite-src-3350500/src/test3.c testdata/sqlite-src-3350500/src/test4.c testdata/sqlite-src-3350500/src/test5.c testdata/sqlite-src-3350500/src/test6.c testdata/sqlite-src-3350500/src/test7.c testdata/sqlite-src-3350500/src/test8.c testdata/sqlite-src-3350500/src/test9.c testdata/sqlite-src-3350500/src/test_async.c testdata/sqlite-src-3350500/src/test_autoext.c testdata/sqlite-src-3350500/src/test_backup.c testdata/sqlite-src-3350500/src/test_bestindex.c testdata/sqlite-src-3350500/src/test_blob.c testdata/sqlite-src-3350500/src/test_btree.c testdata/sqlite-src-3350500/src/test_config.c testdata/sqlite-src-3350500/src/test_delete.c testdata/sqlite-src-3350500/src/test_demovfs.c testdata/sqlite-src-3350500/src/test_devsym.c testdata/sqlite-src-3350500/src/test_fs.c testdata/sqlite-src-3350500/src/test_func.c testdata/sqlite-src-3350500/src/test_hexio.c testdata/sqlite-src-3350500/src/test_init.c testdata/sqlite-src-3350500/src/test_intarray.c testdata/sqlite-src-3350500/src/test_journal.c testdata/sqlite-src-3350500/src/test_malloc.c testdata/sqlite-src-3350500/src/test_md5.c testdata/sqlite-src-3350500/src/test_multiplex.c testdata/sqlite-src-3350500/src/test_mutex.c testdata/sqlite-src-3350500/src/test_onefile.c testdata/sqlite-src-3350500/src/test_osinst.c testdata/sqlite-src-3350500/src/test_pcache.c testdata/sqlite-src-3350500/src/test_quota.c testdata/sqlite-src-3350500/src/test_rtree.c testdata/sqlite-src-3350500/src/test_schema.c testdata/sqlite-src-3350500/src/test_server.c testdata/sqlite-src-3350500/src/test_superlock.c testdata/sqlite-src-3350500/src/test_syscall.c testdata/sqlite-src-3350500/src/test_tclsh.c testdata/sqlite-src-3350500/src/test_tclvar.c testdata/sqlite-src-3350500/src/test_thread.c testdata/sqlite-src-3350500/src/test_vdbecov.c testdata/sqlite-src-3350500/src/test_vfs.c testdata/sqlite-src-3350500/src/test_windirent.c testdata/sqlite-src-3350500/src/test_window.c testdata/sqlite-src-3350500/src/test_wsd.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 -lmodernc.org/sqlite/internal/libc2', DO NOT EDIT.
+// Code generated by 'ccgo -DSQLITE_OMIT_LOAD_EXTENSION -DSQLITE_SERIES_CONSTRAINT_VERIFY=1 -DSQLITE_SERVER=1 -DTCLSH_INIT_PROC=sqlite3TestInit -D_HAVE_SQLITE_CONFIG_H -I/usr/include/tcl8.6 -export-defines "" -export-fields F -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 -lmodernc.org/sqlite/libtest -lmodernc.org/tcl/lib -lmodernc.org/z/lib -o internal/testfixture/testfixture_linux_s390x.go -Itestdata/sqlite-src-3360000/ext/async -Itestdata/sqlite-src-3360000/ext/fts3 -Itestdata/sqlite-src-3360000/ext/icu -Itestdata/sqlite-src-3360000/ext/rtree -Itestdata/sqlite-src-3360000/ext/session -Itestdata/sqlite-src-3360000/ext/userauth -Itestdata/sqlite-src-3360000/src -Itestdata/sqlite-amalgamation-3360000 -Itestdata/sqlite-src-3360000 testdata/sqlite-src-3360000/ext/expert/sqlite3expert.c testdata/sqlite-src-3360000/ext/expert/test_expert.c testdata/sqlite-src-3360000/ext/fts3/fts3_term.c testdata/sqlite-src-3360000/ext/fts3/fts3_test.c testdata/sqlite-src-3360000/ext/fts5/fts5_tcl.c testdata/sqlite-src-3360000/ext/fts5/fts5_test_mi.c testdata/sqlite-src-3360000/ext/fts5/fts5_test_tok.c testdata/sqlite-src-3360000/ext/misc/appendvfs.c testdata/sqlite-src-3360000/ext/misc/amatch.c testdata/sqlite-src-3360000/ext/misc/carray.c testdata/sqlite-src-3360000/ext/misc/cksumvfs.c testdata/sqlite-src-3360000/ext/misc/closure.c testdata/sqlite-src-3360000/ext/misc/csv.c testdata/sqlite-src-3360000/ext/misc/decimal.c testdata/sqlite-src-3360000/ext/misc/eval.c testdata/sqlite-src-3360000/ext/misc/explain.c testdata/sqlite-src-3360000/ext/misc/fileio.c testdata/sqlite-src-3360000/ext/misc/fuzzer.c testdata/sqlite-src-3360000/ext/misc/ieee754.c testdata/sqlite-src-3360000/ext/misc/mmapwarm.c testdata/sqlite-src-3360000/ext/misc/nextchar.c testdata/sqlite-src-3360000/ext/misc/normalize.c testdata/sqlite-src-3360000/ext/misc/percentile.c testdata/sqlite-src-3360000/ext/misc/prefixes.c testdata/sqlite-src-3360000/ext/misc/regexp.c testdata/sqlite-src-3360000/ext/misc/remember.c testdata/sqlite-src-3360000/ext/misc/series.c testdata/sqlite-src-3360000/ext/misc/spellfix.c testdata/sqlite-src-3360000/ext/misc/totype.c testdata/sqlite-src-3360000/ext/misc/unionvtab.c testdata/sqlite-src-3360000/ext/misc/wholenumber.c testdata/sqlite-src-3360000/ext/misc/zipfile.c testdata/sqlite-src-3360000/ext/rbu/test_rbu.c testdata/sqlite-src-3360000/ext/session/test_session.c testdata/sqlite-src-3360000/ext/userauth/userauth.c testdata/sqlite-src-3360000/src/tclsqlite.c testdata/sqlite-src-3360000/src/test1.c testdata/sqlite-src-3360000/src/test2.c testdata/sqlite-src-3360000/src/test3.c testdata/sqlite-src-3360000/src/test4.c testdata/sqlite-src-3360000/src/test5.c testdata/sqlite-src-3360000/src/test6.c testdata/sqlite-src-3360000/src/test7.c testdata/sqlite-src-3360000/src/test8.c testdata/sqlite-src-3360000/src/test9.c testdata/sqlite-src-3360000/src/test_async.c testdata/sqlite-src-3360000/src/test_autoext.c testdata/sqlite-src-3360000/src/test_backup.c testdata/sqlite-src-3360000/src/test_bestindex.c testdata/sqlite-src-3360000/src/test_blob.c testdata/sqlite-src-3360000/src/test_btree.c testdata/sqlite-src-3360000/src/test_config.c testdata/sqlite-src-3360000/src/test_delete.c testdata/sqlite-src-3360000/src/test_demovfs.c testdata/sqlite-src-3360000/src/test_devsym.c testdata/sqlite-src-3360000/src/test_fs.c testdata/sqlite-src-3360000/src/test_func.c testdata/sqlite-src-3360000/src/test_hexio.c testdata/sqlite-src-3360000/src/test_init.c testdata/sqlite-src-3360000/src/test_intarray.c testdata/sqlite-src-3360000/src/test_journal.c testdata/sqlite-src-3360000/src/test_malloc.c testdata/sqlite-src-3360000/src/test_md5.c testdata/sqlite-src-3360000/src/test_multiplex.c testdata/sqlite-src-3360000/src/test_mutex.c testdata/sqlite-src-3360000/src/test_onefile.c testdata/sqlite-src-3360000/src/test_osinst.c testdata/sqlite-src-3360000/src/test_pcache.c testdata/sqlite-src-3360000/src/test_quota.c testdata/sqlite-src-3360000/src/test_rtree.c testdata/sqlite-src-3360000/src/test_schema.c testdata/sqlite-src-3360000/src/test_server.c testdata/sqlite-src-3360000/src/test_superlock.c testdata/sqlite-src-3360000/src/test_syscall.c testdata/sqlite-src-3360000/src/test_tclsh.c testdata/sqlite-src-3360000/src/test_tclvar.c testdata/sqlite-src-3360000/src/test_thread.c testdata/sqlite-src-3360000/src/test_vdbecov.c testdata/sqlite-src-3360000/src/test_vfs.c testdata/sqlite-src-3360000/src/test_windirent.c testdata/sqlite-src-3360000/src/test_window.c testdata/sqlite-src-3360000/src/test_wsd.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_SESSION -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 -lmodernc.org/sqlite/internal/libc2', DO NOT EDIT.
package main
@@ -80,6 +80,17 @@ const (
SQLITE_CANTOPEN_NOTEMPDIR = 270
SQLITE_CANTOPEN_SYMLINK = 1550
SQLITE_CDECL = 0
+ SQLITE_CHANGESETAPPLY_INVERT = 0x0002
+ SQLITE_CHANGESETAPPLY_NOSAVEPOINT = 0x0001
+ SQLITE_CHANGESETSTART_INVERT = 0x0002
+ SQLITE_CHANGESET_ABORT = 2
+ SQLITE_CHANGESET_CONFLICT = 3
+ SQLITE_CHANGESET_CONSTRAINT = 4
+ SQLITE_CHANGESET_DATA = 1
+ SQLITE_CHANGESET_FOREIGN_KEY = 5
+ SQLITE_CHANGESET_NOTFOUND = 2
+ SQLITE_CHANGESET_OMIT = 0
+ SQLITE_CHANGESET_REPLACE = 1
SQLITE_CHECKPOINT_FULL = 1
SQLITE_CHECKPOINT_PASSIVE = 0
SQLITE_CHECKPOINT_RESTART = 2
@@ -209,6 +220,7 @@ const (
SQLITE_ENABLE_PREUPDATE_HOOK = 1
SQLITE_ENABLE_RBU = 1
SQLITE_ENABLE_RTREE = 1
+ SQLITE_ENABLE_SESSION = 1
SQLITE_ENABLE_SNAPSHOT = 1
SQLITE_ENABLE_STAT4 = 1
SQLITE_ENABLE_STMTVTAB = 1
@@ -224,9 +236,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
@@ -443,6 +457,8 @@ const (
SQLITE_SERIALIZE_NOCOPY = 0x001
SQLITE_SERIES_CONSTRAINT_VERIFY = 1
SQLITE_SERVER = 1
+ SQLITE_SESSION_CONFIG_STRMSIZE = 1
+ SQLITE_SESSION_OBJCONFIG_SIZE = 1
SQLITE_SET_LOCKPROXYFILE = 3
SQLITE_SHM_EXCLUSIVE = 8
SQLITE_SHM_LOCK = 2
@@ -450,7 +466,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
@@ -489,7 +505,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
@@ -506,6 +522,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
@@ -524,8 +541,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
@@ -539,6 +556,7 @@ const (
X_ASSERT_H = 1
X_ATFILE_SOURCE = 1
X_BITS_STDIO_LIM_H = 1
+ X_BITS_TIME64_H = 1
X_BITS_TYPESIZES_H = 1
X_BITS_TYPES_H = 1
X_BITS_TYPES_LOCALE_T_H = 1
@@ -704,7 +722,7 @@ const (
TCL_PARSE_QUOTE_EXTRA = 1
TCL_PARSE_SUCCESS = 0
TCL_PARSE_SYNTAX = 8
- TCL_PATCH_LEVEL = "8.6.9"
+ TCL_PATCH_LEVEL = "8.6.7"
TCL_READABLE = 2
TCL_REG_ADVANCED = 000003
TCL_REG_ADVF = 000002
@@ -721,7 +739,7 @@ const (
TCL_REG_NOTEOL = 0002
TCL_REG_QUOTE = 000004
TCL_RELEASE_LEVEL = 2
- TCL_RELEASE_SERIAL = 9
+ TCL_RELEASE_SERIAL = 7
TCL_RESULT_SIZE = 200
TCL_RETURN = 2
TCL_SERVICE_ALL = 1
@@ -819,6 +837,8 @@ const (
WUNTRACED = 2
X_ALLOCA_H = 1
X_BITS_BYTESWAP_H = 1
+ X_BITS_ENDIANNESS_H = 1
+ X_BITS_ENDIAN_H = 1
X_BITS_FLOATN_COMMON_H = 0
X_BITS_FLOATN_H = 0
X_BITS_PTHREADTYPES_ARCH_H = 1
@@ -828,10 +848,12 @@ const (
X_CTYPE_H = 1
X_ENDIAN_H = 1
X_GCC_WCHAR_T = 0
+ X_RWLOCK_INTERNAL_H = 0
X_STDLIB_H = 1
X_STRUCT_TIMESPEC = 1
X_SYS_SELECT_H = 1
X_SYS_TYPES_H = 1
+ X_THREAD_MUTEX_INTERNAL_H = 1
X_THREAD_SHARED_TYPES_H = 1
X_T_WCHAR = 0
X_T_WCHAR_ = 0
@@ -1549,6 +1571,7 @@ const (
SQLITE_RBU_STATE_MOVE = 2
SQLITE_RBU_STATE_OAL = 1
X_SQLITE3RBU_H = 0
+ SESSION_STREAM_TCL_VAR = "sqlite3session_streams"
MAX_PREPARED_STMTS = 100
MINSIGSTKSZ = 2048
NGREG = 27
@@ -1729,7 +1752,7 @@ const (
EP_xIsSelect = 0x000800
EXCLUSIVE_LOCK = 4
EXPRDUP_REDUCE = 0x0001
- GCC_VERSION = 8003000
+ GCC_VERSION = 7005000
HAVE_DLFCN_H = 1
HAVE_FCHOWN = 1
HAVE_FDATASYNC = 1
@@ -1875,6 +1898,7 @@ const (
NC_IsCheck = 0x00004
NC_IsDDL = 0x10000
NC_MinMaxAgg = 0x01000
+ NC_NoSelect = 0x80000
NC_PartIdx = 0x00002
NC_SelfRef = 0x0002e
NC_UAggInfo = 0x00100
@@ -1924,15 +1948,15 @@ const (
OPFLG_JUMP = 0x01
OPFLG_OUT2 = 0x10
OPFLG_OUT3 = 0x20
- OP_Abortable = 178
+ OP_Abortable = 179
OP_Add = 106
OP_AddImm = 83
- OP_Affinity = 91
- OP_AggFinal = 160
- OP_AggInverse = 156
- OP_AggStep = 157
- OP_AggStep1 = 158
- OP_AggValue = 159
+ OP_Affinity = 92
+ OP_AggFinal = 161
+ OP_AggInverse = 157
+ OP_AggStep = 158
+ OP_AggStep1 = 159
+ OP_AggValue = 160
OP_And = 44
OP_AutoCommit = 1
OP_BitAnd = 102
@@ -1942,34 +1966,34 @@ const (
OP_Cast = 85
OP_Checkpoint = 6
OP_ChngCntRow = 80
- OP_Clear = 140
- OP_Close = 117
+ OP_Clear = 141
+ OP_Close = 118
OP_CollSeq = 82
- OP_Column = 90
- OP_ColumnsUsed = 118
+ OP_Column = 91
+ OP_ColumnsUsed = 119
OP_Compare = 87
OP_Concat = 111
OP_Copy = 77
- OP_Count = 93
- OP_CreateBtree = 142
- OP_CursorHint = 174
- OP_CursorLock = 162
- OP_CursorUnlock = 163
+ OP_Count = 94
+ OP_CreateBtree = 143
+ OP_CursorHint = 175
+ OP_CursorLock = 163
+ OP_CursorUnlock = 164
OP_DecrJumpZero = 59
- OP_DeferredSeek = 136
- OP_Delete = 125
- OP_Destroy = 139
+ OP_DeferredSeek = 137
+ OP_Delete = 126
+ OP_Destroy = 140
OP_Divide = 109
- OP_DropIndex = 147
- OP_DropTable = 146
- OP_DropTrigger = 148
- OP_ElseNotEq = 58
+ OP_DropIndex = 148
+ OP_DropTable = 147
+ OP_DropTrigger = 149
+ OP_ElseEq = 58
OP_EndCoroutine = 66
OP_Eq = 53
- OP_Expire = 161
- OP_Explain = 177
- OP_FinishSeek = 138
- OP_FkCounter = 153
+ OP_Expire = 162
+ OP_Explain = 178
+ OP_FinishSeek = 139
+ OP_FkCounter = 154
OP_FkIfZero = 47
OP_Found = 30
OP_Function = 64
@@ -1979,13 +2003,13 @@ const (
OP_Gt = 54
OP_Halt = 68
OP_HaltIfNull = 67
- OP_IdxDelete = 135
+ OP_IdxDelete = 136
OP_IdxGE = 41
OP_IdxGT = 39
- OP_IdxInsert = 133
+ OP_IdxInsert = 134
OP_IdxLE = 38
OP_IdxLT = 40
- OP_IdxRowid = 137
+ OP_IdxRowid = 138
OP_If = 18
OP_IfNoHope = 27
OP_IfNot = 20
@@ -1997,112 +2021,113 @@ const (
OP_IncrVacuum = 60
OP_Init = 62
OP_InitCoroutine = 13
- OP_Insert = 123
+ OP_Insert = 124
OP_Int64 = 70
OP_IntCopy = 79
OP_Integer = 69
- OP_IntegrityCk = 149
+ OP_IntegrityCk = 150
OP_IsNull = 50
OP_IsTrue = 88
OP_JournalMode = 7
OP_Jump = 16
OP_Last = 33
OP_Le = 55
- OP_LoadAnalysis = 145
+ OP_LoadAnalysis = 146
OP_Lt = 56
- OP_MakeRecord = 92
- OP_MaxPgcnt = 172
- OP_MemMax = 154
+ OP_MakeRecord = 93
+ OP_MaxPgcnt = 173
+ OP_MemMax = 155
OP_Move = 76
OP_Multiply = 108
OP_MustBeInt = 15
OP_Ne = 52
- OP_NewRowid = 122
+ OP_NewRowid = 123
OP_Next = 5
OP_NoConflict = 28
- OP_Noop = 176
+ OP_Noop = 177
OP_Not = 19
OP_NotExists = 32
OP_NotFound = 29
OP_NotNull = 51
OP_Null = 72
- OP_NullRow = 131
- OP_Offset = 89
- OP_OffsetLimit = 155
+ OP_NullRow = 132
+ OP_Offset = 90
+ OP_OffsetLimit = 156
OP_Once = 17
- OP_OpenAutoindex = 100
- OP_OpenDup = 99
- OP_OpenEphemeral = 101
- OP_OpenPseudo = 115
- OP_OpenRead = 97
- OP_OpenWrite = 98
+ OP_OpenAutoindex = 101
+ OP_OpenDup = 100
+ OP_OpenEphemeral = 112
+ OP_OpenPseudo = 117
+ OP_OpenRead = 98
+ OP_OpenWrite = 99
OP_Or = 43
- OP_Pagecount = 171
- OP_Param = 151
- OP_ParseSchema = 144
+ OP_Pagecount = 172
+ OP_Param = 153
+ OP_ParseSchema = 145
OP_Permutation = 86
OP_Prev = 4
OP_Program = 46
OP_PureFunc = 63
- OP_ReadCookie = 94
+ OP_ReadCookie = 95
OP_Real = 152
OP_RealAffinity = 84
- OP_ReleaseReg = 175
+ OP_ReleaseReg = 176
OP_Remainder = 110
- OP_ReopenIdx = 96
- OP_ResetCount = 126
- OP_ResetSorter = 141
+ OP_ReopenIdx = 97
+ OP_ResetCount = 127
+ OP_ResetSorter = 142
OP_ResultRow = 81
OP_Return = 65
OP_Rewind = 37
- OP_RowCell = 124
- OP_RowData = 129
- OP_RowSetAdd = 150
+ OP_RowCell = 125
+ OP_RowData = 130
+ OP_RowSetAdd = 151
OP_RowSetRead = 42
OP_RowSetTest = 45
- OP_Rowid = 130
+ OP_Rowid = 131
OP_SCopy = 78
OP_Savepoint = 0
- OP_SeekEnd = 132
+ OP_SeekEnd = 133
OP_SeekGE = 24
OP_SeekGT = 25
- OP_SeekHit = 120
+ OP_SeekHit = 121
OP_SeekLE = 23
OP_SeekLT = 22
OP_SeekRowid = 31
- OP_SeekScan = 119
- OP_Sequence = 121
- OP_SequenceTest = 114
- OP_SetCookie = 95
+ OP_SeekScan = 120
+ OP_Sequence = 122
+ OP_SequenceTest = 115
+ OP_SetCookie = 96
OP_ShiftLeft = 104
OP_ShiftRight = 105
OP_SoftNull = 73
OP_Sort = 36
- OP_SorterCompare = 127
- OP_SorterData = 128
- OP_SorterInsert = 134
+ OP_SorterCompare = 128
+ OP_SorterData = 129
+ OP_SorterInsert = 135
OP_SorterNext = 3
- OP_SorterOpen = 112
+ OP_SorterOpen = 114
OP_SorterSort = 35
- OP_SqlExec = 143
+ OP_SqlExec = 144
OP_String = 71
OP_String8 = 116
OP_Subtract = 107
- OP_TableLock = 164
- OP_Trace = 173
+ OP_TableLock = 165
+ OP_Trace = 174
OP_Transaction = 2
- OP_VBegin = 165
- OP_VColumn = 169
- OP_VCreate = 166
- OP_VDestroy = 167
+ OP_VBegin = 166
+ OP_VColumn = 170
+ OP_VCreate = 167
+ OP_VDestroy = 168
OP_VFilter = 9
OP_VNext = 61
- OP_VOpen = 168
- OP_VRename = 170
+ OP_VOpen = 169
+ OP_VRename = 171
OP_VUpdate = 10
OP_Vacuum = 8
OP_Variable = 75
OP_Yield = 14
+ OP_ZeroOrNull = 89
OS_VXWORKS = 0
P4_ADVANCE = -5
P4_COLLSEQ = -2
@@ -2130,7 +2155,7 @@ const (
P5_ConstraintUnique = 2
PACKAGE_BUGREPORT = ""
PACKAGE_NAME = "sqlite"
- PACKAGE_STRING = "sqlite 3.35.5"
+ PACKAGE_STRING = "sqlite 3.36.0"
PACKAGE_TARNAME = "sqlite"
PAGER_CACHESPILL = 0x20
PAGER_CKPT_FULLFSYNC = 0x10
@@ -2269,6 +2294,7 @@ const (
SF_ComplexResult = 0x0040000
SF_Compound = 0x0000100
SF_Converted = 0x0010000
+ SF_CopyCte = 0x4000000
SF_Distinct = 0x0000001
SF_Expanded = 0x0000040
SF_FixedLimit = 0x0004000
@@ -2344,7 +2370,6 @@ const (
SQLITE_EnableQPSG = 0x00800000
SQLITE_EnableTrigger = 0x00040000
SQLITE_EnableView = 0x80000000
- SQLITE_ExistsToIN = 0x00020000
SQLITE_FAULTINJECTOR_COUNT = 1
SQLITE_FAULTINJECTOR_MALLOC = 0
SQLITE_FCNTL_DB_UNCHANGED = 0xca093fa0
@@ -2386,7 +2411,6 @@ const (
SQLITE_IOERR_NOMEM_BKPT = 3082
SQLITE_IgnoreChecks = 0x00000200
SQLITE_JUMPIFNULL = 0x10
- SQLITE_KEEPNULL = 0x08
SQLITE_LegacyAlter = 0x04000000
SQLITE_LegacyFileFmt = 0x00000002
SQLITE_LoadExtFunc = 0x00020000
@@ -2411,6 +2435,7 @@ const (
SQLITE_MAX_MMAP_SIZE = 0x7fff0000
SQLITE_MAX_PAGE_COUNT = 1073741823
SQLITE_MAX_PAGE_SIZE = 65536
+ SQLITE_MAX_PATHLEN = 4096
SQLITE_MAX_SCHEMA_RETRY = 50
SQLITE_MAX_SQL_LENGTH = 1000000000
SQLITE_MAX_TRIGGER_DEPTH = 1000
@@ -2423,6 +2448,7 @@ const (
SQLITE_NEED_ERR_NAME = 0
SQLITE_NOMEM_BKPT = 7
SQLITE_NOTNULL = 0x90
+ SQLITE_NTUNE = 6
SQLITE_NULLEQ = 0x80
SQLITE_N_BTREE_META = 16
SQLITE_N_LIMIT = 12
@@ -2454,8 +2480,8 @@ const (
SQLITE_SO_ASC = 0
SQLITE_SO_DESC = 1
SQLITE_SO_UNDEFINED = -1
- SQLITE_STOREP2 = 0x20
SQLITE_SYSTEM_MALLOC = 1
+ SQLITE_SeekScan = 0x00020000
SQLITE_ShortColNames = 0x00000040
SQLITE_SimplifyJoin = 0x00002000
SQLITE_SkipScan = 0x00004000
@@ -2495,6 +2521,7 @@ const (
STDC_HEADERS = 1
TF_Autoincrement = 0x0008
TF_Ephemeral = 0x4000
+ TF_Eponymous = 0x8000
TF_HasGenerated = 0x0060
TF_HasHidden = 0x0002
TF_HasNotNull = 0x0800
@@ -2700,6 +2727,7 @@ const (
WCHAR_MAX = 2147483647
WCHAR_MIN = -2147483648
WCHAR_WIDTH = 32
+ WHERE_AGG_DISTINCT = 0x0400
WHERE_DISTINCTBY = 0x0080
WHERE_DISTINCT_NOOP = 0
WHERE_DISTINCT_ORDERED = 2
@@ -2731,6 +2759,7 @@ const (
X_GNU_SOURCE = 0
X_INTTYPES_H = 1
X_ISOC11_SOURCE = 1
+ X_ISOC2X_SOURCE = 1
X_ISOC95_SOURCE = 1
X_ISOC99_SOURCE = 1
X_LARGEFILE64_SOURCE = 1
@@ -2806,6 +2835,7 @@ const (
CLONE_NEWUTS = 0x04000000
CLONE_PARENT = 0x00008000
CLONE_PARENT_SETTID = 0x00100000
+ CLONE_PIDFD = 0x00001000
CLONE_PTRACE = 0x00002000
CLONE_SETTLS = 0x00080000
CLONE_SIGHAND = 0x00000800
@@ -2870,6 +2900,7 @@ const (
WRITECRASH_NAME = "writecrash"
AT_EMPTY_PATH = 0x1000
AT_NO_AUTOMOUNT = 0x800
+ AT_RECURSIVE = 0x8000
AT_STATX_DONT_SYNC = 0x4000
AT_STATX_FORCE_SYNC = 0x2000
AT_STATX_SYNC_AS_STAT = 0x0000
@@ -2900,6 +2931,7 @@ const (
F_OFD_GETLK = 36
F_OFD_SETLK = 37
F_OFD_SETLKW = 38
+ F_SEAL_FUTURE_WRITE = 0x0010
F_SEAL_GROW = 0x0004
F_SEAL_SEAL = 0x0001
F_SEAL_SHRINK = 0x0002
@@ -2930,31 +2962,33 @@ const (
SPLICE_F_MORE = 4
SPLICE_F_MOVE = 1
SPLICE_F_NONBLOCK = 2
- STATX_ALL = 0x0fff
- STATX_ATIME = 0x0020
- STATX_ATTR_APPEND = 0x0020
- STATX_ATTR_AUTOMOUNT = 0x1000
- STATX_ATTR_COMPRESSED = 0x0004
- STATX_ATTR_ENCRYPTED = 0x0800
- STATX_ATTR_IMMUTABLE = 0x0010
- STATX_ATTR_NODUMP = 0x0040
- STATX_BASIC_STATS = 0x07ff
- STATX_BLOCKS = 0x0400
- STATX_BTIME = 0x0800
- STATX_CTIME = 0x0080
- STATX_GID = 0x0010
- STATX_INO = 0x0100
- STATX_MODE = 0x0002
- STATX_MTIME = 0x0040
- STATX_NLINK = 0x0004
- STATX_SIZE = 0x0200
- STATX_TYPE = 0x0001
- STATX_UID = 0x0008
+ STATX_ALL = 0x00000fff
+ STATX_ATIME = 0x00000020
+ STATX_ATTR_APPEND = 0x00000020
+ STATX_ATTR_AUTOMOUNT = 0x00001000
+ STATX_ATTR_COMPRESSED = 0x00000004
+ STATX_ATTR_ENCRYPTED = 0x00000800
+ STATX_ATTR_IMMUTABLE = 0x00000010
+ STATX_ATTR_NODUMP = 0x00000040
+ STATX_BASIC_STATS = 0x000007ff
+ STATX_BLOCKS = 0x00000400
+ STATX_BTIME = 0x00000800
+ STATX_CTIME = 0x00000080
+ STATX_GID = 0x00000010
+ STATX_INO = 0x00000100
+ STATX_MODE = 0x00000002
+ STATX_MTIME = 0x00000040
+ STATX_NLINK = 0x00000004
+ STATX_SIZE = 0x00000200
+ STATX_TYPE = 0x00000001
+ STATX_UID = 0x00000008
STATX__RESERVED = 0x80000000
SYNC_FILE_RANGE_WAIT_AFTER = 4
SYNC_FILE_RANGE_WAIT_BEFORE = 1
SYNC_FILE_RANGE_WRITE = 2
+ SYNC_FILE_RANGE_WRITE_AND_WAIT = 7
X_FALLOC_H_ = 0
+ X_LINUX_STAT_H = 0
X_POSIX_FD_SETSIZE = 20
X_POSIX_HIWAT = 512
X_POSIX_QLIMIT = 1
@@ -3017,6 +3051,7 @@ const (
MSG_Prepare = 2
MSG_Reset = 4
MSG_Step = 3
+ MADV_COLD = 20
MADV_DODUMP = 17
MADV_DOFORK = 11
MADV_DONTDUMP = 16
@@ -3029,6 +3064,7 @@ const (
MADV_MERGEABLE = 12
MADV_NOHUGEPAGE = 15
MADV_NORMAL = 0
+ MADV_PAGEOUT = 21
MADV_RANDOM = 1
MADV_REMOVE = 9
MADV_SEQUENTIAL = 2
@@ -3113,63 +3149,11 @@ const (
TESTVFS_WRITE_MASK = 0x00001000
)
-// Positions to pass to Tcl_QueueEvent:
-
-const ( /* tcl.h:1387:1: */
- TCL_QUEUE_TAIL = 0
- TCL_QUEUE_HEAD = 1
- TCL_QUEUE_MARK = 2
-)
-
-// The following flags determine whether the blockModeProc above should set
-// the channel into blocking or nonblocking mode. They are passed as arguments
-// to the blockModeProc function in the above structure.
-
-//----------------------------------------------------------------------------
-// Enum for different types of file paths.
-
-const ( /* tcl.h:1609:1: */
- TCL_PATH_ABSOLUTE = 0
- TCL_PATH_RELATIVE = 1
- TCL_PATH_VOLUME_RELATIVE = 2
-)
-
-//----------------------------------------------------------------------------
-// When a TCL command returns, the interpreter contains a result from the
-// command. Programmers are strongly encouraged to use one of the functions
-// Tcl_GetObjResult() or Tcl_GetStringResult() to read the interpreter's
-// result. See the SetResult man page for details. Besides this result, the
-// command function returns an integer code, which is one of the following:
-//
-// TCL_OK Command completed normally; the interpreter's result
-// contains the command's result.
-// TCL_ERROR The command couldn't be completed successfully; the
-// interpreter's result describes what went wrong.
-// TCL_RETURN The command requests that the current function return;
-// the interpreter's result contains the function's
-// return value.
-// TCL_BREAK The command requests that the innermost loop be
-// exited; the interpreter's result is meaningless.
-// TCL_CONTINUE Go on to the next iteration of the current loop; the
-// interpreter's result is meaningless.
-
-//----------------------------------------------------------------------------
-// Flags to control what substitutions are performed by Tcl_SubstObj():
-
-// Argument descriptors for math function callbacks in expressions:
-
-const ( /* tcl.h:690:1: */
- TCL_INT = 0
- TCL_DOUBLE = 1
- TCL_EITHER = 2
- TCL_WIDE_INT = 3
-)
-
// Get the `_PC_*' symbols for the NAME argument to `pathconf' and `fpathconf';
// the `_SC_*' symbols for the NAME argument to `sysconf';
// and the `_CS_*' symbols for the NAME argument to `confstr'.
// `sysconf', `pathconf', and `confstr' NAME values. Generic version.
-// Copyright (C) 1993-2018 Free Software Foundation, Inc.
+// Copyright (C) 1993-2020 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
@@ -3184,7 +3168,7 @@ const ( /* tcl.h:690:1: */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// Values for the NAME argument to `pathconf' and `fpathconf'.
const ( /* confname.h:24:1: */
@@ -3580,10 +3564,6 @@ const ( /* resource.h:158:1: */
// All of its terminated child processes.
RUSAGE_CHILDREN = -1
-)
-
-// Whose usage statistics do you want?
-const ( /* resource.h:158:1: */
// The calling thread.
RUSAGE_THREAD = 1
)
@@ -3598,10 +3578,16 @@ const ( /* resource.h:187:1: */
PRIO_USER = 2
)
-// Convenience macros for operations on timevals.
-// NOTE: `timercmp' does not work for >= or <=.
+// end block for C++
-// Copyright (C) 1992-2018 Free Software Foundation, Inc.
+// Local Variables:
+// mode: c
+// c-basic-offset: 4
+// fill-column: 78
+// End:
+
+// Needed for the setrlimit() system call on unix
+// Copyright (C) 1992-2020 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
@@ -3616,9 +3602,9 @@ const ( /* resource.h:187:1: */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
-// Copyright (C) 1991-2018 Free Software Foundation, Inc.
+// Copyright (C) 1991-2020 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
@@ -3633,11 +3619,11 @@ const ( /* resource.h:187:1: */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// Get the system-dependent definitions of structures and bit values.
// Bit values & structures for resource limits. Linux version.
-// Copyright (C) 1994-2018 Free Software Foundation, Inc.
+// Copyright (C) 1994-2020 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
@@ -3652,10 +3638,10 @@ const ( /* resource.h:187:1: */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// bits/types.h -- definitions of __*_t types underlying *_t types.
-// Copyright (C) 2002-2018 Free Software Foundation, Inc.
+// Copyright (C) 2002-2020 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
@@ -3670,7 +3656,7 @@ const ( /* resource.h:187:1: */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// Never include this file directly; use instead.
@@ -3745,7 +3731,7 @@ const ( /* resource.h:31:1: */
// POSIX names to access some of the members.
// sigevent constants. Linux version.
-// Copyright (C) 1997-2018 Free Software Foundation, Inc.
+// Copyright (C) 1997-2020 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
@@ -3760,7 +3746,7 @@ const ( /* resource.h:31:1: */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// `sigev_notify' values.
const ( /* sigevent-consts.h:27:1: */
@@ -3772,15 +3758,18 @@ const ( /* sigevent-consts.h:27:1: */
)
// `si_code' values for SIGSEGV signal.
-const ( /* siginfo-consts.h:110:1: */
- SEGV_MAPERR = 1 // Address not mapped to object.
- SEGV_ACCERR = 2 // Invalid permissions for mapped object.
- SEGV_BNDERR = 3 // Bounds checking failure.
- SEGV_PKUERR = 4
+const ( /* siginfo-consts.h:119:1: */
+ SEGV_MAPERR = 1 // Address not mapped to object.
+ SEGV_ACCERR = 2 // Invalid permissions for mapped object.
+ SEGV_BNDERR = 3 // Bounds checking failure.
+ SEGV_PKUERR = 4 // Protection key checking failure.
+ SEGV_ACCADI = 5 // ADI not enabled for mapped object.
+ SEGV_ADIDERR = 6 // Disrupting MCD error.
+ SEGV_ADIPERR = 7
)
// `si_code' values for SIGBUS signal.
-const ( /* siginfo-consts.h:123:1: */
+const ( /* siginfo-consts.h:138:1: */
BUS_ADRALN = 1 // Invalid address alignment.
BUS_ADRERR = 2 // Non-existant physical address.
BUS_OBJERR = 3 // Object specific hardware error.
@@ -3789,7 +3778,7 @@ const ( /* siginfo-consts.h:123:1: */
)
// `si_code' values for SIGCHLD signal.
-const ( /* siginfo-consts.h:151:1: */
+const ( /* siginfo-consts.h:172:1: */
CLD_EXITED = 1 // Child has exited.
CLD_KILLED = 2 // Child was killed.
CLD_DUMPED = 3 // Child terminated abnormally.
@@ -3799,7 +3788,7 @@ const ( /* siginfo-consts.h:151:1: */
)
// `si_code' values for SIGPOLL signal.
-const ( /* siginfo-consts.h:168:1: */
+const ( /* siginfo-consts.h:189:1: */
POLL_IN = 1 // Data input available.
POLL_OUT = 2 // Output buffers available.
POLL_MSG = 3 // Input message available.
@@ -3811,7 +3800,7 @@ const ( /* siginfo-consts.h:168:1: */
// X/Open requires some more fields with fixed names.
// siginfo constants. Linux version.
-// Copyright (C) 1997-2018 Free Software Foundation, Inc.
+// Copyright (C) 1997-2020 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
@@ -3826,7 +3815,7 @@ const ( /* siginfo-consts.h:168:1: */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// Most of these constants are uniform across all architectures, but there
// is one exception.
@@ -3835,43 +3824,48 @@ const ( /* siginfo-consts.h:168:1: */
// Values for `si_code'. Positive values are reserved for kernel-generated
// signals.
const ( /* siginfo-consts.h:35:1: */
- SI_ASYNCNL = -60 // Sent by asynch name lookup completion.
- SI_TKILL = -6 // Sent by tkill.
- SI_SIGIO = -5 // Sent by queued SIGIO.
- SI_ASYNCIO = -4 // Sent by AIO completion.
- SI_MESGQ = -3 // Sent by real time mesq state change.
- SI_TIMER = -2 // Sent by timer expiration.
- SI_QUEUE = -1 // Sent by sigqueue.
- SI_USER = 0 // Sent by kill, sigsend.
+ SI_ASYNCNL = -60 // Sent by asynch name lookup completion.
+ SI_DETHREAD = -7 // Sent by execve killing subsidiary
+ // threads.
+ SI_TKILL = -6 // Sent by tkill.
+ SI_SIGIO = -5 // Sent by queued SIGIO.
+ SI_ASYNCIO = -4 // Sent by AIO completion.
+ SI_MESGQ = -3 // Sent by real time mesq state change.
+ SI_TIMER = -2 // Sent by timer expiration.
+ SI_QUEUE = -1 // Sent by sigqueue.
+ SI_USER = 0 // Sent by kill, sigsend.
SI_KERNEL = 128
)
// `si_code' values for SIGILL signal.
-const ( /* siginfo-consts.h:68:1: */
- ILL_ILLOPC = 1 // Illegal opcode.
- ILL_ILLOPN = 2 // Illegal operand.
- ILL_ILLADR = 3 // Illegal addressing mode.
- ILL_ILLTRP = 4 // Illegal trap.
- ILL_PRVOPC = 5 // Privileged opcode.
- ILL_PRVREG = 6 // Privileged register.
- ILL_COPROC = 7 // Coprocessor error.
- ILL_BADSTK = 8
+const ( /* siginfo-consts.h:71:1: */
+ ILL_ILLOPC = 1 // Illegal opcode.
+ ILL_ILLOPN = 2 // Illegal operand.
+ ILL_ILLADR = 3 // Illegal addressing mode.
+ ILL_ILLTRP = 4 // Illegal trap.
+ ILL_PRVOPC = 5 // Privileged opcode.
+ ILL_PRVREG = 6 // Privileged register.
+ ILL_COPROC = 7 // Coprocessor error.
+ ILL_BADSTK = 8 // Internal stack error.
+ ILL_BADIADDR = 9
)
// `si_code' values for SIGFPE signal.
-const ( /* siginfo-consts.h:89:1: */
- FPE_INTDIV = 1 // Integer divide by zero.
- FPE_INTOVF = 2 // Integer overflow.
- FPE_FLTDIV = 3 // Floating point divide by zero.
- FPE_FLTOVF = 4 // Floating point overflow.
- FPE_FLTUND = 5 // Floating point underflow.
- FPE_FLTRES = 6 // Floating point inexact result.
- FPE_FLTINV = 7 // Floating point invalid operation.
- FPE_FLTSUB = 8
+const ( /* siginfo-consts.h:94:1: */
+ FPE_INTDIV = 1 // Integer divide by zero.
+ FPE_INTOVF = 2 // Integer overflow.
+ FPE_FLTDIV = 3 // Floating point divide by zero.
+ FPE_FLTOVF = 4 // Floating point overflow.
+ FPE_FLTUND = 5 // Floating point underflow.
+ FPE_FLTRES = 6 // Floating point inexact result.
+ FPE_FLTINV = 7 // Floating point invalid operation.
+ FPE_FLTSUB = 8 // Subscript out of range.
+ FPE_FLTUNK = 14 // Undiagnosed floating-point exception.
+ FPE_CONDTRAP = 15
)
// sigstack, sigaltstack definitions.
-// Copyright (C) 1998-2018 Free Software Foundation, Inc.
+// Copyright (C) 1998-2020 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
@@ -3886,14 +3880,14 @@ const ( /* siginfo-consts.h:89:1: */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// Minimum stack size for a signal handler.
// System default stack size.
// ss_flags values for stack_t. Linux version.
-// Copyright (C) 1998-2018 Free Software Foundation, Inc.
+// Copyright (C) 1998-2020 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
@@ -3908,7 +3902,7 @@ const ( /* siginfo-consts.h:89:1: */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// Possible values for `ss_flags'.
const ( /* ss_flags.h:27:1: */
@@ -3916,16 +3910,10 @@ const ( /* ss_flags.h:27:1: */
SS_DISABLE = 2
)
-// 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.
-// NetBSD 5 requires the I386_ANSI_H and X86_64_ANSI_H checks here.
+// If we are compiling with optimizing read this file. It contains
+// several optimizing inline functions and macros.
-// A null pointer constant.
-
-// XPG requires a few symbols from being defined.
-// Definitions of flag bits for `waitpid' et al.
-// Copyright (C) 1992-2018 Free Software Foundation, Inc.
+// Copyright (C) 1991-2020 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
@@ -3940,61 +3928,11 @@ const ( /* ss_flags.h:27:1: */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
-
-// Bits in the third argument to `waitpid'.
-
-// Bits in the fourth argument to `waitid'.
-
-// The following values are used by the `waitid' function.
-
-// The Linux kernel defines these bare, rather than an enum,
-// which causes a conflict if the include order is reversed.
-
-const ( /* waitflags.h:52:1: */
- P_ALL = 0 // Wait for any child.
- P_PID = 1 // Wait for specified process.
- P_PGID = 2
-)
-
-// Definitions for POSIX 1003.1b-1993 (aka POSIX.4) scheduling interface.
-// Copyright (C) 1996-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
-// .
-
-// Copyright (C) 1991-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
-// .
+// .
// ISO C99 Standard 7.4: Character handling
-// Copyright (C) 1991-2018 Free Software Foundation, Inc.
+// Copyright (C) 1991-2020 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
@@ -4009,10 +3947,10 @@ const ( /* waitflags.h:52:1: */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// bits/types.h -- definitions of __*_t types underlying *_t types.
-// Copyright (C) 2002-2018 Free Software Foundation, Inc.
+// Copyright (C) 2002-2020 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
@@ -4027,7 +3965,7 @@ const ( /* waitflags.h:52:1: */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// Never include this file directly; use instead.
@@ -4039,7 +3977,8 @@ const ( /* waitflags.h:52:1: */
// endian). We define the bit value interpretations here dependent on the
// machine's byte order.
-// Copyright (C) 1992-2018 Free Software Foundation, Inc.
+// Endian macros for string.h functions
+// Copyright (C) 1992-2020 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
@@ -4101,43 +4040,39 @@ const ( /* dirent.h:97:1: */
)
// Read-write lock types.
-const ( /* pthread.h:115:1: */
+const ( /* pthread.h:100:1: */
PTHREAD_RWLOCK_PREFER_READER_NP = 0
PTHREAD_RWLOCK_PREFER_WRITER_NP = 1
PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP = 2
PTHREAD_RWLOCK_DEFAULT_NP = 0
)
-// Define __PTHREAD_RWLOCK_INT_FLAGS_SHARED to 1 if pthread_rwlock_t
-// has the shared field. All 64-bit architectures have the shared field
-// in pthread_rwlock_t.
-
// Read-write lock initializers.
// Scheduler inheritance.
-const ( /* pthread.h:156:1: */
+const ( /* pthread.h:120:1: */
PTHREAD_INHERIT_SCHED = 0
PTHREAD_EXPLICIT_SCHED = 1
)
// Scope handling.
-const ( /* pthread.h:166:1: */
+const ( /* pthread.h:130:1: */
PTHREAD_SCOPE_SYSTEM = 0
PTHREAD_SCOPE_PROCESS = 1
)
// Process shared or private flag.
-const ( /* pthread.h:176:1: */
+const ( /* pthread.h:140:1: */
PTHREAD_PROCESS_PRIVATE = 0
PTHREAD_PROCESS_SHARED = 1
)
// Cancellation
-const ( /* pthread.h:200:1: */
+const ( /* pthread.h:164:1: */
PTHREAD_CANCEL_ENABLE = 0
PTHREAD_CANCEL_DISABLE = 1
)
-const ( /* pthread.h:207:1: */
+const ( /* pthread.h:171:1: */
PTHREAD_CANCEL_DEFERRED = 0
PTHREAD_CANCEL_ASYNCHRONOUS = 1
)
@@ -4181,7 +4116,7 @@ const ( /* pthread.h:77:1: */
)
// Values for the first argument to `getitimer' and `setitimer'.
-const ( /* time.h:88:1: */
+const ( /* time.h:89:1: */
// Timers run in real time.
ITIMER_REAL = 0
// Timers run only when the process is executing.
@@ -4191,6 +4126,58 @@ const ( /* time.h:88:1: */
ITIMER_PROF = 2
)
+// Positions to pass to Tcl_QueueEvent:
+
+const ( /* tcl.h:1391:1: */
+ TCL_QUEUE_TAIL = 0
+ TCL_QUEUE_HEAD = 1
+ TCL_QUEUE_MARK = 2
+)
+
+// The following flags determine whether the blockModeProc above should set
+// the channel into blocking or nonblocking mode. They are passed as arguments
+// to the blockModeProc function in the above structure.
+
+//----------------------------------------------------------------------------
+// Enum for different types of file paths.
+
+const ( /* tcl.h:1613:1: */
+ TCL_PATH_ABSOLUTE = 0
+ TCL_PATH_RELATIVE = 1
+ TCL_PATH_VOLUME_RELATIVE = 2
+)
+
+//----------------------------------------------------------------------------
+// When a TCL command returns, the interpreter contains a result from the
+// command. Programmers are strongly encouraged to use one of the functions
+// Tcl_GetObjResult() or Tcl_GetStringResult() to read the interpreter's
+// result. See the SetResult man page for details. Besides this result, the
+// command function returns an integer code, which is one of the following:
+//
+// TCL_OK Command completed normally; the interpreter's result
+// contains the command's result.
+// TCL_ERROR The command couldn't be completed successfully; the
+// interpreter's result describes what went wrong.
+// TCL_RETURN The command requests that the current function return;
+// the interpreter's result contains the function's
+// return value.
+// TCL_BREAK The command requests that the innermost loop be
+// exited; the interpreter's result is meaningless.
+// TCL_CONTINUE Go on to the next iteration of the current loop; the
+// interpreter's result is meaningless.
+
+//----------------------------------------------------------------------------
+// Flags to control what substitutions are performed by Tcl_SubstObj():
+
+// Argument descriptors for math function callbacks in expressions:
+
+const ( /* tcl.h:694:1: */
+ TCL_INT = 0
+ TCL_DOUBLE = 1
+ TCL_EITHER = 2
+ TCL_WIDE_INT = 3
+)
+
type ptrdiff_t = int64 /* :3:26 */
type size_t = uint64 /* :9:23 */
@@ -4236,16 +4223,16 @@ type sqlite32 = struct {
Fmutex uintptr
FaDb uintptr
FnDb int32
- FmDbFlags u322
+ FmDbFlags u32
Fflags u64
FlastRowid i64
FszMmap i64
- FnSchemaLock u322
+ FnSchemaLock u32
FopenFlags uint32
FerrCode int32
FerrMask int32
FiSysErrno int32
- FdbOptFlags u322
+ FdbOptFlags u32
Fenc u8
FautoCommit u8
Ftemp_store u8
@@ -4261,7 +4248,7 @@ type sqlite32 = struct {
FnSqlExec u8
_ [3]byte
FnextPagesize int32
- Fmagic u322
+ Fmagic u32
FnChange int32
FnTotalChange int32
FaLimit [12]int32
@@ -4272,7 +4259,7 @@ type sqlite32 = struct {
FiDb u8
Fbusy u8
_ [2]byte
- ForphanTrigger uint8 /* unsigned orphanTrigger: 1, unsigned imposterTable: 1, unsigned reopenMemdb: 1, unsigned bDropColumn: 1 */
+ ForphanTrigger uint8 /* unsigned orphanTrigger: 1, unsigned imposterTable: 1, unsigned reopenMemdb: 1 */
_ [7]byte
FazInit uintptr
}
@@ -5020,6 +5007,23 @@ type sqlite3_io_methods = sqlite3_io_methods1 /* sqlite3.h:783:35 */
// file to the database file, but before the *-shm file is updated to
// record the fact that the pages have been checkpointed.
//
+//
+// [[SQLITE_FCNTL_EXTERNAL_READER]]
+// The EXPERIMENTAL [SQLITE_FCNTL_EXTERNAL_READER] opcode is used to detect
+// whether or not there is a database client in another process with a wal-mode
+// transaction open on the database or not. It is only available on unix.The
+// (void*) argument passed with this file-control should be a pointer to a
+// value of type (int). The integer value is set to 1 if the database is a wal
+// mode database and there exists at least one client in another process that
+// currently has an SQL transaction open on the database. It is set to 0 if
+// the database is not a wal-mode db, or if there is no such connection in any
+// other process. This opcode cannot be used to detect transactions opened
+// by clients within the current process, only within other processes.
+//
+//
+// [[SQLITE_FCNTL_CKSM_FILE]]
+// Used by the cksmvfs VFS module only.
+//
// deprecated names
@@ -5035,7 +5039,7 @@ type sqlite3_mutex1 = struct {
FpReal uintptr
FeType int32
_ [4]byte
-} /* sqlite3.h:1187:9 */
+} /* sqlite3.h:1206:9 */
// CAPI3REF: Loadable Extension Thunk
//
@@ -5297,7 +5301,7 @@ type sqlite3_api_routines1 = struct {
Ffree_filename uintptr
Fdatabase_file_object uintptr
Ftxn_state uintptr
-} /* sqlite3.h:1197:9 */
+} /* sqlite3.h:1216:9 */
// CAPI3REF: OS Interface Object
//
@@ -5490,7 +5494,7 @@ type sqlite3_vfs1 = struct {
FxSetSystemCall uintptr
FxGetSystemCall uintptr
FxNextSystemCall uintptr
-} /* sqlite3.h:1368:9 */
+} /* sqlite3.h:1387:9 */
// CAPI3REF: OS Interface Object
//
@@ -5659,8 +5663,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
//
@@ -5732,7 +5736,7 @@ type sqlite3_mem_methods1 = struct {
FxInit uintptr
FxShutdown uintptr
FpAppData uintptr
-} /* sqlite3.h:1666:9 */
+} /* sqlite3.h:1685:9 */
// CAPI3REF: Memory Allocation Routines
//
@@ -5795,7 +5799,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: Dynamically Typed Value Object
// KEYWORDS: {protected sqlite3_value} {unprotected sqlite3_value}
@@ -5844,7 +5848,7 @@ type sqlite3_value1 = struct {
Fz uintptr
FzMalloc uintptr
FszMalloc int32
- FuTemp u322
+ FuTemp u32
Fdb uintptr
FxDel uintptr
} /* sqlite3.h:249:9 */
@@ -5884,7 +5888,7 @@ type sqlite3_context1 = struct {
//
// 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.
@@ -5899,7 +5903,7 @@ type sqlite3_vtab1 = struct {
FnRef int32
_ [4]byte
FzErrMsg 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.
@@ -5909,7 +5913,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 {
FnConstraint int32
_ [4]byte
@@ -5928,12 +5932,12 @@ type sqlite3_index_info1 = struct {
FidxFlags int32
_ [4]byte
FcolUsed 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{ FpVtab uintptr } /* sqlite3.h:6756:9 */
+type sqlite3_index_info = sqlite3_index_info1 /* sqlite3.h:6785:35 */
+type sqlite3_vtab_cursor1 = struct{ FpVtab 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 {
FiVersion int32
_ [4]byte
@@ -5960,9 +5964,9 @@ type sqlite3_module1 = struct {
FxRelease uintptr
FxRollbackTo uintptr
FxShadowName 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
@@ -6070,7 +6074,7 @@ type sqlite3_index_constraint = struct {
Fusable uint8
_ [2]byte
FiTermOffset int32
-} /* sqlite3.h:6755:9 */
+} /* sqlite3.h:6785:9 */
// CAPI3REF: Virtual Table Indexing Information
// KEYWORDS: sqlite3_index_info
@@ -6176,7 +6180,7 @@ type sqlite3_index_orderby = struct {
FiColumn int32
Fdesc uint8
_ [3]byte
-} /* sqlite3.h:6755:9 */
+} /* sqlite3.h:6785:9 */
// CAPI3REF: Virtual Table Indexing Information
// KEYWORDS: sqlite3_index_info
@@ -6282,7 +6286,7 @@ type sqlite3_index_constraint_usage = struct {
FargvIndex int32
Fomit uint8
_ [3]byte
-} /* sqlite3.h:6755:9 */
+} /* sqlite3.h:6785:9 */
// CAPI3REF: Mutex Methods Object
//
@@ -6357,7 +6361,7 @@ type sqlite3_mutex_methods1 = struct {
FxMutexLeave uintptr
FxMutexHeld uintptr
FxMutexNotheld uintptr
-} /* sqlite3.h:7589:9 */
+} /* sqlite3.h:7619:9 */
// CAPI3REF: Mutex Methods Object
//
@@ -6422,7 +6426,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: Dynamic String Object
// KEYWORDS: {dynamic string}
@@ -6441,13 +6445,13 @@ type sqlite3_mutex_methods = sqlite3_mutex_methods1 /* sqlite3.h:7589:38 */
type sqlite3_str1 = struct {
Fdb uintptr
FzText uintptr
- FnAlloc u322
- FmxAlloc u322
- FnChar u322
+ FnAlloc u32
+ FmxAlloc u32
+ FnChar u32
FaccError u8
FprintfFlags u8
_ [2]byte
-} /* sqlite3.h:7851:9 */
+} /* sqlite3.h:7882:9 */
// CAPI3REF: Custom Page Cache Object
//
@@ -6460,7 +6464,7 @@ type sqlite3_str1 = struct {
type sqlite3_pcache_page1 = struct {
FpBuf uintptr
FpExtra uintptr
-} /* sqlite3.h:8344:9 */
+} /* sqlite3.h:8375:9 */
// CAPI3REF: Custom Page Cache Object
//
@@ -6470,7 +6474,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}
@@ -6644,7 +6648,7 @@ type sqlite3_pcache_methods21 = struct {
FxTruncate uintptr
FxDestroy uintptr
FxShrink uintptr
-} /* sqlite3.h:8509:9 */
+} /* sqlite3.h:8540:9 */
// CAPI3REF: Application Defined Page Cache.
// KEYWORDS: {page cache}
@@ -6803,7 +6807,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
@@ -6820,12 +6824,12 @@ type sqlite3_pcache_methods1 = struct {
FxRekey uintptr
FxTruncate uintptr
FxDestroy 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}
@@ -6845,7 +6849,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{ Fhidden [48]uint8 } /* sqlite3.h:9589:9 */
+type sqlite3_snapshot1 = struct{ Fhidden [48]uint8 } /* sqlite3.h:9630:9 */
// CAPI3REF: Database Snapshot
// KEYWORDS: {snapshot} {sqlite3_snapshot}
@@ -6865,7 +6869,7 @@ type sqlite3_snapshot1 = struct{ Fhidden [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()
//
@@ -6909,7 +6913,7 @@ type sqlite3_rtree_geometry1 = struct {
FaParam uintptr
FpUser uintptr
FxDelUser uintptr
-} /* sqlite3.h:9916:9 */
+} /* sqlite3.h:9957:9 */
// CAPI3REF: Flags for sqlite3_deserialize()
//
@@ -6946,7 +6950,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 {
FpContext uintptr
FnParam int32
@@ -6966,18 +6970,17 @@ type sqlite3_rtree_query_info1 = struct {
FeWithin int32
FrScore sqlite3_rtree_dbl
FapSqlParam 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.
+// CAPI3REF: Values for sqlite3session_config().
-//******* End of sqlite3rtree.h ********
-//******* Begin file sqlite3session.h ********
+// Make sure we can call this stuff from C++.
//******* End of sqlite3session.h ********
//******* Begin file fts5.h ********
@@ -7027,12 +7030,11 @@ type Fts5ExtensionApi1 = struct {
FxPhraseNext uintptr
FxPhraseFirstColumn uintptr
FxPhraseNextColumn uintptr
-} /* sqlite3.h:11724:9 */
+} /* sqlite3.h:11813:9 */
-// Allowed values for sqlite3_rtree_query.eWithin and .eParentWithin.
+// CAPI3REF: Values for sqlite3session_config().
-//******* End of sqlite3rtree.h ********
-//******* Begin file sqlite3session.h ********
+// Make sure we can call this stuff from C++.
//******* End of sqlite3session.h ********
//******* Begin file fts5.h ********
@@ -7060,22 +7062,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 {
Fa uintptr
Fb 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 {
FxCreate uintptr
FxDelete uintptr
FxTokenize 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()
@@ -7095,7 +7097,7 @@ type fts5_api1 = struct {
FxCreateTokenizer uintptr
FxFindTokenizer uintptr
FxCreateFunction uintptr
-} /* sqlite3.h:12223:9 */
+} /* sqlite3.h:12312:9 */
// Flags that may be passed as the third argument to xTokenize()
@@ -7109,7 +7111,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 */
//
// END OF REGISTRATION API
@@ -7146,7 +7148,7 @@ type sqlite3expert = sqlite3expert1 /* sqlite3expert.h:17:30 */
// POSIX.1-2008 extended locale interface (see locale.h).
// Definition of locale_t.
-// Copyright (C) 2017-2018 Free Software Foundation, Inc.
+// Copyright (C) 2017-2020 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
@@ -7161,10 +7163,10 @@ type sqlite3expert = sqlite3expert1 /* sqlite3expert.h:17:30 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// Definition of struct __locale_struct and __locale_t.
-// Copyright (C) 1997-2018 Free Software Foundation, Inc.
+// Copyright (C) 1997-2020 Free Software Foundation, Inc.
// This file is part of the GNU C Library.
// Contributed by Ulrich Drepper , 1997.
//
@@ -7180,7 +7182,7 @@ type sqlite3expert = sqlite3expert1 /* sqlite3expert.h:17:30 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// POSIX.1-2008: the locale_t type, representing a locale context
// (implementation-namespace version). This type should be treated
@@ -7209,7 +7211,7 @@ type _G_fpos_t = struct {
} /* __fpos_t.h:10:9 */
// bits/types.h -- definitions of __*_t types underlying *_t types.
-// Copyright (C) 2002-2018 Free Software Foundation, Inc.
+// Copyright (C) 2002-2020 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
@@ -7224,7 +7226,7 @@ type _G_fpos_t = struct {
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// Never include this file directly; use instead.
@@ -9260,7 +9262,7 @@ func sqlite3_expert_destroy(tls *libc.TLS, p uintptr) { /* sqlite3expert.c:1948:
//
// New code should just directly be written to use stdarg.h conventions.
-// Copyright (C) 1989-2018 Free Software Foundation, Inc.
+// Copyright (C) 1989-2017 Free Software Foundation, Inc.
//
// This file is part of GCC.
//
@@ -9337,7 +9339,7 @@ func sqlite3_expert_destroy(tls *libc.TLS, p uintptr) { /* sqlite3expert.c:1948:
// Miscellaneous declarations.
-type ClientData = uintptr /* tcl.h:340:15 */
+type ClientData = uintptr /* tcl.h:344:15 */
// Darwin specific configure overrides (to support fat compiles, where
// configure runs only once for multiple architectures):
@@ -9361,8 +9363,8 @@ type ClientData = uintptr /* tcl.h:340:15 */
// tclObj.c) depends on the function
// sprintf(...,"%" TCL_LL_MODIFIER "d",...).
-type Tcl_WideInt = int64 /* tcl.h:415:28 */
-type Tcl_WideUInt = uint64 /* tcl.h:416:36 */
+type Tcl_WideInt = int64 /* tcl.h:419:28 */
+type Tcl_WideUInt = uint64 /* tcl.h:420:36 */
// The next short section of defines are only done when not running on Windows
// or some other strange platform.
@@ -9417,7 +9419,7 @@ type Tcl_Interp1 = struct {
FfreeProcDontUse uintptr
FerrorLineDontUse int32
_ [4]byte
-} /* tcl.h:493:9 */
+} /* tcl.h:497:9 */
//----------------------------------------------------------------------------
// Data structures defined opaquely in this module. The definitions below just
@@ -9437,33 +9439,33 @@ type Tcl_Interp1 = struct {
// Instead, they set a Tcl_Obj member in the "real" structure that can be
// accessed with Tcl_GetObjResult() and Tcl_SetObjResult().
-type Tcl_Interp = Tcl_Interp1 /* tcl.h:525:1 */
+type Tcl_Interp = Tcl_Interp1 /* tcl.h:529:1 */
-type Tcl_AsyncHandler = uintptr /* tcl.h:527:34 */
-type Tcl_Channel = uintptr /* tcl.h:528:29 */
-type Tcl_ChannelTypeVersion = uintptr /* tcl.h:529:40 */
-type Tcl_Command = uintptr /* tcl.h:530:29 */
-type Tcl_Condition = uintptr /* tcl.h:531:31 */
-type Tcl_Dict = uintptr /* tcl.h:532:26 */
-type Tcl_EncodingState = uintptr /* tcl.h:533:35 */
-type Tcl_Encoding = uintptr /* tcl.h:534:30 */
+type Tcl_AsyncHandler = uintptr /* tcl.h:531:34 */
+type Tcl_Channel = uintptr /* tcl.h:532:29 */
+type Tcl_ChannelTypeVersion = uintptr /* tcl.h:533:40 */
+type Tcl_Command = uintptr /* tcl.h:534:29 */
+type Tcl_Condition = uintptr /* tcl.h:535:31 */
+type Tcl_Dict = uintptr /* tcl.h:536:26 */
+type Tcl_EncodingState = uintptr /* tcl.h:537:35 */
+type Tcl_Encoding = uintptr /* tcl.h:538:30 */
type Tcl_Event1 = struct {
Fproc uintptr
FnextPtr uintptr
-} /* tcl.h:535:9 */
+} /* tcl.h:539:9 */
-type Tcl_Event = Tcl_Event1 /* tcl.h:535:26 */
-type Tcl_InterpState = uintptr /* tcl.h:536:33 */
-type Tcl_LoadHandle = uintptr /* tcl.h:537:32 */
-type Tcl_Mutex = uintptr /* tcl.h:538:27 */
-type Tcl_Pid = uintptr /* tcl.h:539:25 */
-type Tcl_RegExp = uintptr /* tcl.h:540:28 */
-type Tcl_ThreadDataKey = uintptr /* tcl.h:541:35 */
-type Tcl_ThreadId = uintptr /* tcl.h:542:30 */
-type Tcl_TimerToken = uintptr /* tcl.h:543:32 */
-type Tcl_Trace = uintptr /* tcl.h:544:27 */
-type Tcl_Var = uintptr /* tcl.h:545:25 */
-type Tcl_ZlibStream = uintptr /* tcl.h:546:32 */
+type Tcl_Event = Tcl_Event1 /* tcl.h:539:26 */
+type Tcl_InterpState = uintptr /* tcl.h:540:33 */
+type Tcl_LoadHandle = uintptr /* tcl.h:541:32 */
+type Tcl_Mutex = uintptr /* tcl.h:542:27 */
+type Tcl_Pid = uintptr /* tcl.h:543:25 */
+type Tcl_RegExp = uintptr /* tcl.h:544:28 */
+type Tcl_ThreadDataKey = uintptr /* tcl.h:545:35 */
+type Tcl_ThreadId = uintptr /* tcl.h:546:30 */
+type Tcl_TimerToken = uintptr /* tcl.h:547:32 */
+type Tcl_Trace = uintptr /* tcl.h:548:27 */
+type Tcl_Var = uintptr /* tcl.h:549:25 */
+type Tcl_ZlibStream = uintptr /* tcl.h:550:32 */
// Threading function return types used for abstracting away platform
// differences when writing a Tcl_ThreadCreateProc. See the NewThread function
@@ -9485,7 +9487,7 @@ type Tcl_ZlibStream = uintptr /* tcl.h:546:32 */
type Tcl_RegExpIndices1 = struct {
Fstart int64
Fend int64
-} /* tcl.h:623:9 */
+} /* tcl.h:627:9 */
// Threading function return types used for abstracting away platform
// differences when writing a Tcl_ThreadCreateProc. See the NewThread function
@@ -9504,7 +9506,7 @@ type Tcl_RegExpIndices1 = struct {
// relative to the start of the match string, not the beginning of the entire
// string.
-type Tcl_RegExpIndices = Tcl_RegExpIndices1 /* tcl.h:628:3 */
+type Tcl_RegExpIndices = Tcl_RegExpIndices1 /* tcl.h:632:3 */
type Tcl_RegExpInfo1 = struct {
Fnsubs int32
@@ -9512,15 +9514,15 @@ type Tcl_RegExpInfo1 = struct {
Fmatches uintptr
FextendStart int64
Freserved int64
-} /* tcl.h:630:9 */
+} /* tcl.h:634:9 */
-type Tcl_RegExpInfo = Tcl_RegExpInfo1 /* tcl.h:637:3 */
+type Tcl_RegExpInfo = Tcl_RegExpInfo1 /* tcl.h:641:3 */
// Picky compilers complain if this typdef doesn't appear before the struct's
// reference in tclDecls.h.
-type Tcl_Stat_ = uintptr /* tcl.h:644:21 */
-type Tcl_OldStat_ = uintptr /* tcl.h:645:21 */
+type Tcl_Stat_ = uintptr /* tcl.h:648:21 */
+type Tcl_OldStat_ = uintptr /* tcl.h:649:21 */
//----------------------------------------------------------------------------
// When a TCL command returns, the interpreter contains a result from the
@@ -9546,7 +9548,7 @@ type Tcl_OldStat_ = uintptr /* tcl.h:645:21 */
// Argument descriptors for math function callbacks in expressions:
-type Tcl_ValueType = uint32 /* tcl.h:692:3 */
+type Tcl_ValueType = uint32 /* tcl.h:696:3 */
type Tcl_Value1 = struct {
Ftype Tcl_ValueType
@@ -9554,9 +9556,9 @@ type Tcl_Value1 = struct {
FintValue int64
FdoubleValue float64
FwideValue Tcl_WideInt
-} /* tcl.h:694:9 */
+} /* tcl.h:698:9 */
-type Tcl_Value = Tcl_Value1 /* tcl.h:700:3 */
+type Tcl_Value = Tcl_Value1 /* tcl.h:704:3 */
// Forward declaration of Tcl_Obj to prevent an error when the forward
// reference to Tcl_Obj is encountered in the function types declared below.
@@ -9572,7 +9574,7 @@ type Tcl_Obj1 = struct {
FlongValue int64
_ [8]byte
}
-} /* tcl.h:707:1 */
+} /* tcl.h:711:1 */
//----------------------------------------------------------------------------
// The following structure represents a type of object, which is a particular
@@ -9585,20 +9587,20 @@ type Tcl_ObjType1 = struct {
FdupIntRepProc uintptr
FupdateStringProc uintptr
FsetFromAnyProc uintptr
-} /* tcl.h:707:1 */
+} /* tcl.h:711:1 */
//----------------------------------------------------------------------------
// The following structure represents a type of object, which is a particular
// internal representation for an object plus a set of functions that provide
// standard operations on objects of that type.
-type Tcl_ObjType = Tcl_ObjType1 /* tcl.h:796:3 */
+type Tcl_ObjType = Tcl_ObjType1 /* tcl.h:800:3 */
// One of the following structures exists for each object in the Tcl system.
// An object stores a value as either a string, some internal representation,
// or both.
-type Tcl_Obj = Tcl_Obj1 /* tcl.h:843:3 */
+type Tcl_Obj = Tcl_Obj1 /* tcl.h:847:3 */
//----------------------------------------------------------------------------
// The following structure contains the state needed by Tcl_SaveResult. No-one
@@ -9614,14 +9616,14 @@ type Tcl_SavedResult1 = struct {
FappendUsed int32
FresultSpace [201]int8
_ [7]byte
-} /* tcl.h:864:9 */
+} /* tcl.h:868:9 */
//----------------------------------------------------------------------------
// The following structure contains the state needed by Tcl_SaveResult. No-one
// outside of Tcl should access any of these fields. This structure is
// typically allocated on the stack.
-type Tcl_SavedResult = Tcl_SavedResult1 /* tcl.h:872:3 */
+type Tcl_SavedResult = Tcl_SavedResult1 /* tcl.h:876:3 */
//----------------------------------------------------------------------------
// The following definitions support Tcl's namespace facility. Note: the first
@@ -9634,14 +9636,14 @@ type Tcl_Namespace1 = struct {
FclientData ClientData
FdeleteProc uintptr
FparentPtr uintptr
-} /* tcl.h:881:9 */
+} /* tcl.h:885:9 */
//----------------------------------------------------------------------------
// The following definitions support Tcl's namespace facility. Note: the first
// five fields must match exactly the fields in a Namespace structure (see
// tclInt.h).
-type Tcl_Namespace = Tcl_Namespace1 /* tcl.h:897:3 */
+type Tcl_Namespace = Tcl_Namespace1 /* tcl.h:901:3 */
//----------------------------------------------------------------------------
// The following structure represents a call frame, or activation record. A
@@ -9681,7 +9683,7 @@ type Tcl_CallFrame1 = struct {
Fdummy11 uintptr
Fdummy12 uintptr
Fdummy13 uintptr
-} /* tcl.h:922:9 */
+} /* tcl.h:926:9 */
//----------------------------------------------------------------------------
// The following structure represents a call frame, or activation record. A
@@ -9704,7 +9706,7 @@ type Tcl_CallFrame1 = struct {
// WARNING!! The structure definition must be kept consistent with the
// CallFrame structure in tclInt.h. If you change one, change the other.
-type Tcl_CallFrame = Tcl_CallFrame1 /* tcl.h:937:3 */
+type Tcl_CallFrame = Tcl_CallFrame1 /* tcl.h:941:3 */
//----------------------------------------------------------------------------
// Information about commands that is returned by Tcl_GetCommandInfo and
@@ -9729,7 +9731,7 @@ type Tcl_CmdInfo1 = struct {
FdeleteProc uintptr
FdeleteData ClientData
FnamespacePtr uintptr
-} /* tcl.h:954:9 */
+} /* tcl.h:958:9 */
//----------------------------------------------------------------------------
// Information about commands that is returned by Tcl_GetCommandInfo and
@@ -9744,7 +9746,7 @@ type Tcl_CmdInfo1 = struct {
// wrapper that does string-to-object or object-to-string argument conversions
// then calls the other function.
-type Tcl_CmdInfo = Tcl_CmdInfo1 /* tcl.h:973:3 */
+type Tcl_CmdInfo = Tcl_CmdInfo1 /* tcl.h:977:3 */
//----------------------------------------------------------------------------
// The structure defined below is used to hold dynamic strings. The only
@@ -9756,14 +9758,14 @@ type Tcl_DString1 = struct {
Flength int32
FspaceAvl int32
FstaticSpace [200]int8
-} /* tcl.h:983:9 */
+} /* tcl.h:987:9 */
//----------------------------------------------------------------------------
// The structure defined below is used to hold dynamic strings. The only
// fields that clients should use are string and length, accessible via the
// macros Tcl_DStringValue and Tcl_DStringLength.
-type Tcl_DString = Tcl_DString1 /* tcl.h:993:3 */
+type Tcl_DString = Tcl_DString1 /* tcl.h:997:3 */
// Definitions for the maximum number of digits of precision that may be
// specified in the "tcl_precision" variable, and the number of bytes of
@@ -9835,7 +9837,7 @@ type Tcl_HashKeyType1 = struct {
FcompareKeysProc uintptr
FallocEntryProc uintptr
FfreeEntryProc uintptr
-} /* tcl.h:1152:9 */
+} /* tcl.h:1156:9 */
// Definitions for the maximum number of digits of precision that may be
// specified in the "tcl_precision" variable, and the number of bytes of
@@ -9900,7 +9902,7 @@ type Tcl_HashKeyType1 = struct {
//----------------------------------------------------------------------------
// Forward declarations of Tcl_HashTable and related types.
-type Tcl_HashKeyType = Tcl_HashKeyType1 /* tcl.h:1152:32 */
+type Tcl_HashKeyType = Tcl_HashKeyType1 /* tcl.h:1156:32 */
type Tcl_HashTable1 = struct {
Fbuckets uintptr
FstaticBuckets [4]uintptr
@@ -9913,18 +9915,18 @@ type Tcl_HashTable1 = struct {
FfindProc uintptr
FcreateProc uintptr
FtypePtr uintptr
-} /* tcl.h:1153:9 */
+} /* tcl.h:1157:9 */
-type Tcl_HashTable = Tcl_HashTable1 /* tcl.h:1153:30 */
+type Tcl_HashTable = Tcl_HashTable1 /* tcl.h:1157:30 */
type Tcl_HashEntry1 = struct {
FnextPtr uintptr
FtablePtr uintptr
Fhash uintptr
FclientData ClientData
Fkey struct{ FoneWordValue uintptr }
-} /* tcl.h:1153:9 */
+} /* tcl.h:1157:9 */
-type Tcl_HashEntry = Tcl_HashEntry1 /* tcl.h:1154:30 */
+type Tcl_HashEntry = Tcl_HashEntry1 /* tcl.h:1158:30 */
// Structure definition for information used to keep track of searches through
// hash tables:
@@ -9934,12 +9936,12 @@ type Tcl_HashSearch1 = struct {
FnextIndex int32
_ [4]byte
FnextEntryPtr uintptr
-} /* tcl.h:1308:9 */
+} /* tcl.h:1312:9 */
// Structure definition for information used to keep track of searches through
// hash tables:
-type Tcl_HashSearch = Tcl_HashSearch1 /* tcl.h:1314:3 */
+type Tcl_HashSearch = Tcl_HashSearch1 /* tcl.h:1318:3 */
// Acceptable key types for hash tables:
//
@@ -9969,11 +9971,11 @@ type Tcl_DictSearch = struct {
Fepoch int32
_ [4]byte
FdictionaryPtr Tcl_Dict
-} /* tcl.h:1354:3 */
+} /* tcl.h:1358:3 */
// Positions to pass to Tcl_QueueEvent:
-type Tcl_QueuePosition = uint32 /* tcl.h:1389:3 */
+type Tcl_QueuePosition = uint32 /* tcl.h:1393:3 */
// Values to pass to Tcl_SetServiceMode to specify the behavior of notifier
// event routines.
@@ -9985,7 +9987,7 @@ type Tcl_QueuePosition = uint32 /* tcl.h:1389:3 */
type Tcl_Time1 = struct {
Fsec int64
Fusec int64
-} /* tcl.h:1405:9 */
+} /* tcl.h:1409:9 */
// Values to pass to Tcl_SetServiceMode to specify the behavior of notifier
// event routines.
@@ -9994,7 +9996,7 @@ type Tcl_Time1 = struct {
// absolute time (the number of seconds from the epoch) or as an elapsed time.
// On Unix systems the epoch is Midnight Jan 1, 1970 GMT.
-type Tcl_Time = Tcl_Time1 /* tcl.h:1408:3 */
+type Tcl_Time = Tcl_Time1 /* tcl.h:1412:3 */
// struct Tcl_ChannelType:
//
@@ -10023,7 +10025,7 @@ type Tcl_ChannelType1 = struct {
FwideSeekProc uintptr
FthreadActionProc uintptr
FtruncateProc uintptr
-} /* tcl.h:1524:9 */
+} /* tcl.h:1528:9 */
// struct Tcl_ChannelType:
//
@@ -10034,7 +10036,7 @@ type Tcl_ChannelType1 = struct {
// It is recommend that the Tcl_Channel* functions are used to access elements
// of this structure, instead of direct accessing.
-type Tcl_ChannelType = Tcl_ChannelType1 /* tcl.h:1592:3 */
+type Tcl_ChannelType = Tcl_ChannelType1 /* tcl.h:1596:3 */
// The following flags determine whether the blockModeProc above should set
// the channel into blocking or nonblocking mode. They are passed as arguments
@@ -10043,7 +10045,7 @@ type Tcl_ChannelType = Tcl_ChannelType1 /* tcl.h:1592:3 */
//----------------------------------------------------------------------------
// Enum for different types of file paths.
-type Tcl_PathType = uint32 /* tcl.h:1613:3 */
+type Tcl_PathType = uint32 /* tcl.h:1617:3 */
// The following structure is used to pass glob type data amongst the various
// glob routines and Tcl_FSMatchInDirectory.
@@ -10053,19 +10055,19 @@ type Tcl_GlobTypeData1 = struct {
Fperm int32
FmacType uintptr
FmacCreator uintptr
-} /* tcl.h:1620:9 */
+} /* tcl.h:1624:9 */
// The following structure is used to pass glob type data amongst the various
// glob routines and Tcl_FSMatchInDirectory.
-type Tcl_GlobTypeData = Tcl_GlobTypeData1 /* tcl.h:1625:3 */
+type Tcl_GlobTypeData = Tcl_GlobTypeData1 /* tcl.h:1629:3 */
// We have to declare the utime structure here.
type utimbuf = struct {
Factime int64
Fmodtime int64
} /* utime.h:36:1 */
-type Tcl_FSVersion = uintptr /* tcl.h:1700:31 */
+type Tcl_FSVersion = uintptr /* tcl.h:1704:31 */
//----------------------------------------------------------------------------
// Data structures related to hooking into the filesystem
@@ -10116,7 +10118,7 @@ type Tcl_Filesystem1 = struct {
FloadFileProc uintptr
FgetCwdProc uintptr
FchdirProc uintptr
-} /* tcl.h:1726:9 */
+} /* tcl.h:1730:9 */
//----------------------------------------------------------------------------
// Data structures related to hooking into the filesystem
@@ -10134,7 +10136,7 @@ type Tcl_Filesystem1 = struct {
// However, a complete filesystem should provide all of these functions. The
// explanations in the structure show the importance of each function.
-type Tcl_Filesystem = Tcl_Filesystem1 /* tcl.h:1873:3 */
+type Tcl_Filesystem = Tcl_Filesystem1 /* tcl.h:1877:3 */
// The following definitions are used as values for the 'linkAction' flag to
// Tcl_FSLink, or the linkProc of any filesystem. Any combination of flags can
@@ -10157,7 +10159,7 @@ type Tcl_NotifierProcs1 = struct {
FfinalizeNotifierProc uintptr
FalertNotifierProc uintptr
FserviceModeHookProc uintptr
-} /* tcl.h:1894:9 */
+} /* tcl.h:1898:9 */
// The following definitions are used as values for the 'linkAction' flag to
// Tcl_FSLink, or the linkProc of any filesystem. Any combination of flags can
@@ -10171,7 +10173,7 @@ type Tcl_NotifierProcs1 = struct {
// The following structure represents the Notifier functions that you can
// override with the Tcl_SetNotifier call.
-type Tcl_NotifierProcs = Tcl_NotifierProcs1 /* tcl.h:1903:3 */
+type Tcl_NotifierProcs = Tcl_NotifierProcs1 /* tcl.h:1907:3 */
//----------------------------------------------------------------------------
// The following data structures and declarations are for the new Tcl parser.
@@ -10186,7 +10188,7 @@ type Tcl_Token1 = struct {
Fstart uintptr
Fsize int32
FnumComponents int32
-} /* tcl.h:1914:9 */
+} /* tcl.h:1918:9 */
//----------------------------------------------------------------------------
// The following data structures and declarations are for the new Tcl parser.
@@ -10195,7 +10197,7 @@ type Tcl_Token1 = struct {
// reference, one of the following structures is created to describe the
// token.
-type Tcl_Token = Tcl_Token1 /* tcl.h:1924:3 */
+type Tcl_Token = Tcl_Token1 /* tcl.h:1928:3 */
// Type values defined for Tcl_Token structures. These values are defined as
// mask bits so that it's easy to check for collections of types.
@@ -10255,7 +10257,7 @@ type Tcl_Token = Tcl_Token1 /* tcl.h:1924:3 */
// TCL_TOKEN_OPERATOR - The token describes one expression operator.
// An operator might be the name of a math
// function such as "abs". A TCL_TOKEN_OPERATOR
-// token is always preceded by one
+// token is always preceeded by one
// TCL_TOKEN_SUB_EXPR token for the operator's
// subexpression, and is followed by zero or more
// TCL_TOKEN_SUB_EXPR tokens for the operator's
@@ -10291,7 +10293,7 @@ type Tcl_Parse1 = struct {
Fincomplete int32
_ [4]byte
FstaticTokens [20]Tcl_Token
-} /* tcl.h:2030:9 */
+} /* tcl.h:2034:9 */
// Type values defined for Tcl_Token structures. These values are defined as
// mask bits so that it's easy to check for collections of types.
@@ -10351,7 +10353,7 @@ type Tcl_Parse1 = struct {
// TCL_TOKEN_OPERATOR - The token describes one expression operator.
// An operator might be the name of a math
// function such as "abs". A TCL_TOKEN_OPERATOR
-// token is always preceded by one
+// token is always preceeded by one
// TCL_TOKEN_SUB_EXPR token for the operator's
// subexpression, and is followed by zero or more
// TCL_TOKEN_SUB_EXPR tokens for the operator's
@@ -10368,7 +10370,7 @@ type Tcl_Parse1 = struct {
// A structure of the following type is filled in by Tcl_ParseCommand. It
// describes a single command parsed from an input string.
-type Tcl_Parse = Tcl_Parse1 /* tcl.h:2083:3 */
+type Tcl_Parse = Tcl_Parse1 /* tcl.h:2087:3 */
//----------------------------------------------------------------------------
// The following structure represents a user-defined encoding. It collects
@@ -10382,13 +10384,13 @@ type Tcl_EncodingType1 = struct {
FclientData ClientData
FnullSize int32
_ [4]byte
-} /* tcl.h:2091:9 */
+} /* tcl.h:2095:9 */
//----------------------------------------------------------------------------
// The following structure represents a user-defined encoding. It collects
// together all the functions that are used by the specific encoding.
-type Tcl_EncodingType = Tcl_EncodingType1 /* tcl.h:2111:3 */
+type Tcl_EncodingType = Tcl_EncodingType1 /* tcl.h:2115:3 */
// The following definitions are used as values for the conversion control
// flags argument when converting text from one character set to another:
@@ -10470,7 +10472,7 @@ type Tcl_EncodingType = Tcl_EncodingType1 /* tcl.h:2111:3 */
// This represents a Unicode character. Any changes to this should also be
// reflected in regcustom.h.
-type Tcl_UniChar = uint16 /* tcl.h:2228:24 */
+type Tcl_UniChar = uint16 /* tcl.h:2232:24 */
//----------------------------------------------------------------------------
// TIP #59: The following structure is used in calls 'Tcl_RegisterConfig' to
@@ -10479,14 +10481,14 @@ type Tcl_UniChar = uint16 /* tcl.h:2228:24 */
type Tcl_Config1 = struct {
Fkey uintptr
Fvalue uintptr
-} /* tcl.h:2237:9 */
+} /* tcl.h:2241:9 */
//----------------------------------------------------------------------------
// TIP #59: The following structure is used in calls 'Tcl_RegisterConfig' to
// provide the system with the embedded configuration data.
-type Tcl_Config = Tcl_Config1 /* tcl.h:2242:3 */
-type mp_digit = uint32 /* tcl.h:2268:22 */
+type Tcl_Config = Tcl_Config1 /* tcl.h:2246:3 */
+type mp_digit = uint32 /* tcl.h:2272:22 */
//----------------------------------------------------------------------------
// Definitions needed for Tcl_ParseArgvObj routines.
@@ -10501,7 +10503,7 @@ type Tcl_ArgvInfo = struct {
FdstPtr uintptr
FhelpStr uintptr
FclientData ClientData
-} /* tcl.h:2289:3 */
+} /* tcl.h:2293:3 */
type TclPlatStubs1 = struct {
Fmagic int32
@@ -11434,7 +11436,7 @@ func TestExpert_Init(tls *libc.TLS, interp uintptr) int32 { /* test_expert.c:202
// SQLITE_ENABLE_FTS3 macro. But to avoid confusion we also all
// the SQLITE_ENABLE_FTS4 macro to serve as an alisse for SQLITE_ENABLE_FTS3.
-// Copyright (C) 1991-2018 Free Software Foundation, Inc.
+// Copyright (C) 1991-2020 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
@@ -11449,11 +11451,11 @@ func TestExpert_Init(tls *libc.TLS, interp uintptr) int32 { /* test_expert.c:202
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// ISO C99 Standard: 7.2 Diagnostics
-// Copyright (C) 1991-2018 Free Software Foundation, Inc.
+// Copyright (C) 1991-2020 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
@@ -11468,7 +11470,7 @@ func TestExpert_Init(tls *libc.TLS, interp uintptr) int32 { /* test_expert.c:202
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// void assert (int expression);
//
@@ -11482,7 +11484,7 @@ func TestExpert_Init(tls *libc.TLS, interp uintptr) int32 { /* test_expert.c:202
// (This is a GNU extension.)
// Decode a pointer to an sqlite3 object.
-func f5tDbPointer(tls *libc.TLS, interp uintptr, pObj uintptr, ppDb uintptr) int32 { /* fts5_tcl.c:52:12: */
+func f5tDbPointer(tls *libc.TLS, interp uintptr, pObj uintptr, ppDb uintptr) int32 { /* fts5_tcl.c:54:12: */
bp := tls.Alloc(64)
defer tls.Free(64)
@@ -11501,7 +11503,7 @@ func f5tDbPointer(tls *libc.TLS, interp uintptr, pObj uintptr, ppDb uintptr) int
// End of code that accesses the SqliteDb struct.
//
-func f5tResultToErrorCode(tls *libc.TLS, zRes uintptr) int32 { /* fts5_tcl.c:67:12: */
+func f5tResultToErrorCode(tls *libc.TLS, zRes uintptr) int32 { /* fts5_tcl.c:69:12: */
bp := tls.Alloc(64)
defer tls.Free(64)
@@ -11526,9 +11528,9 @@ type ErrorCode = struct {
Frc int32
_ [4]byte
FzError uintptr
-} /* fts5_tcl.c:68:3 */
+} /* fts5_tcl.c:70:3 */
-func f5tDbAndApi(tls *libc.TLS, interp uintptr, pObj uintptr, ppDb uintptr, ppApi uintptr) int32 { /* fts5_tcl.c:88:26: */
+func f5tDbAndApi(tls *libc.TLS, interp uintptr, pObj uintptr, ppDb uintptr, ppApi uintptr) int32 { /* fts5_tcl.c:90:26: */
bp := tls.Alloc(72)
defer tls.Free(72)
@@ -11563,16 +11565,16 @@ func f5tDbAndApi(tls *libc.TLS, interp uintptr, pObj uintptr, ppDb uintptr, ppAp
type F5tFunction1 = struct {
Finterp uintptr
FpScript uintptr
-} /* fts5_tcl.c:122:9 */
+} /* fts5_tcl.c:124:9 */
-type F5tFunction = F5tFunction1 /* fts5_tcl.c:122:28 */
+type F5tFunction = F5tFunction1 /* fts5_tcl.c:124:28 */
type F5tApi1 = struct {
FpApi uintptr
FpFts uintptr
-} /* fts5_tcl.c:128:9 */
+} /* fts5_tcl.c:130:9 */
-type F5tApi = F5tApi1 /* fts5_tcl.c:128:23 */
+type F5tApi = F5tApi1 /* fts5_tcl.c:130:23 */
// An object of this type is used with the xSetAuxdata() and xGetAuxdata()
// API test wrappers. The tcl interface allows a single tcl value to be
@@ -11580,7 +11582,7 @@ type F5tApi = F5tApi1 /* fts5_tcl.c:128:23 */
// tcl object, the code in this file wraps it in an sqlite3_malloc'd
// instance of the following struct so that if the destructor is not
// correctly invoked it will be reported as an SQLite memory leak.
-type F5tAuxData1 = struct{ FpObj uintptr } /* fts5_tcl.c:142:9 */
+type F5tAuxData1 = struct{ FpObj uintptr } /* fts5_tcl.c:144:9 */
// An object of this type is used with the xSetAuxdata() and xGetAuxdata()
// API test wrappers. The tcl interface allows a single tcl value to be
@@ -11588,9 +11590,9 @@ type F5tAuxData1 = struct{ FpObj uintptr } /* fts5_tcl.c:142:9 */
// tcl object, the code in this file wraps it in an sqlite3_malloc'd
// instance of the following struct so that if the destructor is not
// correctly invoked it will be reported as an SQLite memory leak.
-type F5tAuxData = F5tAuxData1 /* fts5_tcl.c:142:27 */
+type F5tAuxData = F5tAuxData1 /* fts5_tcl.c:144:27 */
-func xTokenizeCb(tls *libc.TLS, pCtx uintptr, tflags int32, zToken uintptr, nToken int32, iStart int32, iEnd int32) int32 { /* fts5_tcl.c:147:12: */
+func xTokenizeCb(tls *libc.TLS, pCtx uintptr, tflags int32, zToken uintptr, nToken int32, iStart int32, iEnd int32) int32 { /* fts5_tcl.c:149:12: */
var p uintptr = pCtx
var pEval uintptr = tcl.XTcl_DuplicateObj(tls, (*F5tFunction)(unsafe.Pointer(p)).FpScript)
var rc int32
@@ -11614,7 +11616,7 @@ func xTokenizeCb(tls *libc.TLS, pCtx uintptr, tflags int32, zToken uintptr, nTok
return rc
}
-func xQueryPhraseCb(tls *libc.TLS, pApi uintptr, pFts uintptr, pCtx uintptr) int32 { /* fts5_tcl.c:173:12: */
+func xQueryPhraseCb(tls *libc.TLS, pApi uintptr, pFts uintptr, pCtx uintptr) int32 { /* fts5_tcl.c:175:12: */
bp := tls.Alloc(88)
defer tls.Free(88)
@@ -11651,9 +11653,9 @@ func xQueryPhraseCb(tls *libc.TLS, pApi uintptr, pFts uintptr, pCtx uintptr) int
return rc
}
-var iCmd1 sqlite3_int64 = int64(0) /* fts5_tcl.c:179:24 */
+var iCmd1 sqlite3_int64 = int64(0) /* fts5_tcl.c:181:24 */
-func xSetAuxdataDestructor(tls *libc.TLS, p uintptr) { /* fts5_tcl.c:205:13: */
+func xSetAuxdataDestructor(tls *libc.TLS, p uintptr) { /* fts5_tcl.c:207:13: */
var pData uintptr = p
for ok := true; ok; ok = 0 != 0 {
var _objPtr uintptr = (*F5tAuxData)(unsafe.Pointer(pData)).FpObj
@@ -11667,7 +11669,7 @@ func xSetAuxdataDestructor(tls *libc.TLS, p uintptr) { /* fts5_tcl.c:205:13: */
// api sub-command...
//
// Description...
-func xF5tApi(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* fts5_tcl.c:216:26: */
+func xF5tApi(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* fts5_tcl.c:218:26: */
bp := tls.Alloc(684)
defer tls.Free(684)
@@ -12047,9 +12049,9 @@ type Sub = struct {
FnArg int32
_ [4]byte
FzMsg uintptr
-} /* fts5_tcl.c:222:3 */
+} /* fts5_tcl.c:224:3 */
-func xF5tFunction(tls *libc.TLS, pApi uintptr, pFts uintptr, pCtx uintptr, nVal int32, apVal uintptr) { /* fts5_tcl.c:515:13: */
+func xF5tFunction(tls *libc.TLS, pApi uintptr, pFts uintptr, pCtx uintptr, nVal int32, apVal uintptr) { /* fts5_tcl.c:517:13: */
bp := tls.Alloc(112)
defer tls.Free(112)
@@ -12142,9 +12144,9 @@ func xF5tFunction(tls *libc.TLS, pApi uintptr, pFts uintptr, pCtx uintptr, nVal
}
}
-var iCmd2 sqlite3_int64 = int64(0) /* fts5_tcl.c:527:24 */
+var iCmd2 sqlite3_int64 = int64(0) /* fts5_tcl.c:529:24 */
-func xF5tDestroy(tls *libc.TLS, pCtx uintptr) { /* fts5_tcl.c:598:13: */
+func xF5tDestroy(tls *libc.TLS, pCtx uintptr) { /* fts5_tcl.c:600:13: */
var p uintptr = pCtx
for ok := true; ok; ok = 0 != 0 {
var _objPtr uintptr = (*F5tFunction)(unsafe.Pointer(p)).FpScript
@@ -12158,7 +12160,7 @@ func xF5tDestroy(tls *libc.TLS, pCtx uintptr) { /* fts5_tcl.c:598:13: */
// sqlite3_fts5_create_function DB NAME SCRIPT
//
// Description...
-func f5tCreateFunction(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* fts5_tcl.c:609:26: */
+func f5tCreateFunction(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* fts5_tcl.c:611:26: */
bp := tls.Alloc(40)
defer tls.Free(40)
@@ -12201,11 +12203,11 @@ type F5tTokenizeCtx1 = struct {
FbSubst int32
_ [4]byte
FzInput uintptr
-} /* fts5_tcl.c:646:9 */
+} /* fts5_tcl.c:648:9 */
-type F5tTokenizeCtx = F5tTokenizeCtx1 /* fts5_tcl.c:646:31 */
+type F5tTokenizeCtx = F5tTokenizeCtx1 /* fts5_tcl.c:648:31 */
-func xTokenizeCb2(tls *libc.TLS, pCtx uintptr, tflags int32, zToken uintptr, nToken int32, iStart int32, iEnd int32) int32 { /* fts5_tcl.c:653:12: */
+func xTokenizeCb2(tls *libc.TLS, pCtx uintptr, tflags int32, zToken uintptr, nToken int32, iStart int32, iEnd int32) int32 { /* fts5_tcl.c:655:12: */
var p uintptr = pCtx
if (*F5tTokenizeCtx)(unsafe.Pointer(p)).FbSubst != 0 {
tcl.XTcl_ListObjAppendElement(tls, uintptr(0), (*F5tTokenizeCtx)(unsafe.Pointer(p)).FpRet, tcl.XTcl_NewStringObj(tls, zToken, nToken))
@@ -12222,7 +12224,7 @@ func xTokenizeCb2(tls *libc.TLS, pCtx uintptr, tflags int32, zToken uintptr, nTo
// sqlite3_fts5_tokenize DB TOKENIZER TEXT
//
// Description...
-func f5tTokenize(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* fts5_tcl.c:679:26: */
+func f5tTokenize(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* fts5_tcl.c:681:26: */
bp := tls.Alloc(200)
defer tls.Free(200)
@@ -12319,29 +12321,29 @@ func f5tTokenize(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32,
type F5tTokenizerContext1 = struct {
FpCtx uintptr
FxToken uintptr
-} /* fts5_tcl.c:759:9 */
+} /* fts5_tcl.c:761:9 */
// ************************************************************************
//
// Start of tokenizer wrapper.
-type F5tTokenizerContext = F5tTokenizerContext1 /* fts5_tcl.c:759:36 */
+type F5tTokenizerContext = F5tTokenizerContext1 /* fts5_tcl.c:761:36 */
type F5tTokenizerModule1 = struct {
Finterp uintptr
FpScript uintptr
FpContext uintptr
-} /* fts5_tcl.c:761:9 */
+} /* fts5_tcl.c:763:9 */
-type F5tTokenizerModule = F5tTokenizerModule1 /* fts5_tcl.c:761:35 */
+type F5tTokenizerModule = F5tTokenizerModule1 /* fts5_tcl.c:763:35 */
type F5tTokenizerInstance1 = struct {
Finterp uintptr
FpScript uintptr
FpContext uintptr
-} /* fts5_tcl.c:762:9 */
+} /* fts5_tcl.c:764:9 */
-type F5tTokenizerInstance = F5tTokenizerInstance1 /* fts5_tcl.c:762:37 */
+type F5tTokenizerInstance = F5tTokenizerInstance1 /* fts5_tcl.c:764:37 */
-func f5tTokenizerCreate(tls *libc.TLS, pCtx uintptr, azArg uintptr, nArg int32, ppOut uintptr) int32 { /* fts5_tcl.c:781:12: */
+func f5tTokenizerCreate(tls *libc.TLS, pCtx uintptr, azArg uintptr, nArg int32, ppOut uintptr) int32 { /* fts5_tcl.c:783:12: */
var pMod uintptr = pCtx
var pEval uintptr
var rc int32 = TCL_OK
@@ -12378,7 +12380,7 @@ func f5tTokenizerCreate(tls *libc.TLS, pCtx uintptr, azArg uintptr, nArg int32,
return rc
}
-func f5tTokenizerDelete(tls *libc.TLS, p uintptr) { /* fts5_tcl.c:819:13: */
+func f5tTokenizerDelete(tls *libc.TLS, p uintptr) { /* fts5_tcl.c:821:13: */
var pInst uintptr = p
for ok := true; ok; ok = 0 != 0 {
var _objPtr uintptr = (*F5tTokenizerInstance)(unsafe.Pointer(pInst)).FpScript
@@ -12389,7 +12391,7 @@ func f5tTokenizerDelete(tls *libc.TLS, p uintptr) { /* fts5_tcl.c:819:13: */
tcl.XTcl_Free(tls, pInst)
}
-func f5tTokenizerTokenize(tls *libc.TLS, p uintptr, pCtx uintptr, flags int32, pText uintptr, nText int32, xToken uintptr) int32 { /* fts5_tcl.c:825:12: */
+func f5tTokenizerTokenize(tls *libc.TLS, p uintptr, pCtx uintptr, flags int32, pText uintptr, nText int32, xToken uintptr) int32 { /* fts5_tcl.c:827:12: */
var pInst uintptr = p
var pOldCtx uintptr
var xOldToken uintptr
@@ -12440,7 +12442,7 @@ func f5tTokenizerTokenize(tls *libc.TLS, p uintptr, pCtx uintptr, flags int32, p
}
// sqlite3_fts5_token ?-colocated? TEXT START END
-func f5tTokenizerReturn(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* fts5_tcl.c:885:26: */
+func f5tTokenizerReturn(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* fts5_tcl.c:887:26: */
bp := tls.Alloc(32)
defer tls.Free(32)
@@ -12514,7 +12516,7 @@ usage:
return TCL_ERROR
}
-func f5tDelTokenizer(tls *libc.TLS, pCtx uintptr) { /* fts5_tcl.c:934:13: */
+func f5tDelTokenizer(tls *libc.TLS, pCtx uintptr) { /* fts5_tcl.c:936:13: */
var pMod uintptr = pCtx
for ok := true; ok; ok = 0 != 0 {
var _objPtr uintptr = (*F5tTokenizerModule)(unsafe.Pointer(pMod)).FpScript
@@ -12539,7 +12541,7 @@ func f5tDelTokenizer(tls *libc.TLS, pCtx uintptr) { /* fts5_tcl.c:934:13: */
//
// SCRIPT2 should invoke the [sqlite3_fts5_token] command once for each
// token within the tokenized text.
-func f5tCreateTokenizer(tls *libc.TLS, clientData ClientData, interp uintptr, objc int32, objv uintptr) int32 { /* fts5_tcl.c:956:26: */
+func f5tCreateTokenizer(tls *libc.TLS, clientData ClientData, interp uintptr, objc int32, objv uintptr) int32 { /* fts5_tcl.c:958:26: */
bp := tls.Alloc(56)
defer tls.Free(56)
@@ -12587,37 +12589,18 @@ func f5tCreateTokenizer(tls *libc.TLS, clientData ClientData, interp uintptr, ob
return TCL_OK
}
-func xF5tFree(tls *libc.TLS, clientData ClientData) { /* fts5_tcl.c:999:27: */
+func xF5tFree(tls *libc.TLS, clientData ClientData) { /* fts5_tcl.c:1001:27: */
tcl.XTcl_Free(tls, clientData)
}
// sqlite3_fts5_may_be_corrupt BOOLEAN
//
// Set or clear the global "may-be-corrupt" flag. Return the old value.
-func f5tMayBeCorrupt(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* fts5_tcl.c:1008:26: */
- bp := tls.Alloc(4)
- defer tls.Free(4)
-
- var bOld int32 = sqlite3.Xsqlite3_fts5_may_be_corrupt
-
- if (objc != 2) && (objc != 1) {
- tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+2761 /* "?BOOLEAN?" */)
- return TCL_ERROR
- }
- if objc == 2 {
- // var bNew int32 at bp, 4
-
- if tcl.XTcl_GetBooleanFromObj(tls, interp, *(*uintptr)(unsafe.Pointer(objv + 1*8)), bp /* &bNew */) != 0 {
- return TCL_ERROR
- }
- sqlite3.Xsqlite3_fts5_may_be_corrupt = *(*int32)(unsafe.Pointer(bp /* bNew */))
- }
-
- tcl.XTcl_SetObjResult(tls, interp, tcl.XTcl_NewIntObj(tls, bOld))
+func f5tMayBeCorrupt(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* fts5_tcl.c:1010:26: */
return TCL_OK
}
-func f5t_fts5HashKey(tls *libc.TLS, nSlot int32, p uintptr, n int32) uint32 { /* fts5_tcl.c:1031:21: */
+func f5t_fts5HashKey(tls *libc.TLS, nSlot int32, p uintptr, n int32) uint32 { /* fts5_tcl.c:1035:21: */
var i int32
var h uint32 = uint32(13)
for i = (n - 1); i >= 0; i-- {
@@ -12626,7 +12609,7 @@ func f5t_fts5HashKey(tls *libc.TLS, nSlot int32, p uintptr, n int32) uint32 { /*
return (h % uint32(nSlot))
}
-func f5tTokenHash(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* fts5_tcl.c:1040:26: */
+func f5tTokenHash(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* fts5_tcl.c:1044:26: */
bp := tls.Alloc(8)
defer tls.Free(8)
@@ -12637,7 +12620,7 @@ func f5tTokenHash(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32,
// var nSlot int32 at bp, 4
if objc != 3 {
- tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+2771 /* "NSLOT TOKEN" */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+2761 /* "NSLOT TOKEN" */)
return TCL_ERROR
}
if tcl.XTcl_GetIntFromObj(tls, interp, *(*uintptr)(unsafe.Pointer(objv + 1*8)), bp /* &nSlot */) != 0 {
@@ -12650,7 +12633,7 @@ func f5tTokenHash(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32,
return TCL_OK
}
-func f5tRegisterMatchinfo(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* fts5_tcl.c:1065:26: */
+func f5tRegisterMatchinfo(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* fts5_tcl.c:1069:26: */
bp := tls.Alloc(8)
defer tls.Free(8)
@@ -12673,7 +12656,7 @@ func f5tRegisterMatchinfo(tls *libc.TLS, clientData uintptr, interp uintptr, obj
return TCL_OK
}
-func f5tRegisterTok(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* fts5_tcl.c:1090:26: */
+func f5tRegisterTok(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* fts5_tcl.c:1094:26: */
bp := tls.Alloc(16)
defer tls.Free(16)
@@ -12698,7 +12681,7 @@ func f5tRegisterTok(tls *libc.TLS, clientData uintptr, interp uintptr, objc int3
}
// Entry point.
-func Fts5tcl_Init(tls *libc.TLS, interp uintptr) int32 { /* fts5_tcl.c:1119:5: */
+func Fts5tcl_Init(tls *libc.TLS, interp uintptr) int32 { /* fts5_tcl.c:1123:5: */
var i int32
var pContext uintptr
@@ -12748,15 +12731,15 @@ var aCmd = [8]struct {
FbTokenizeCtx int32
_ [4]byte
}{
- {FzName: ts + 2783 /* "sqlite3_fts5_cre..." */, FxProc: 0, FbTokenizeCtx: 1},
- {FzName: ts + 2813 /* "sqlite3_fts5_tok..." */, FxProc: 0, FbTokenizeCtx: 1},
- {FzName: ts + 2832 /* "sqlite3_fts5_tok..." */, FxProc: 0},
- {FzName: ts + 2854 /* "sqlite3_fts5_cre..." */, FxProc: 0},
- {FzName: ts + 2883 /* "sqlite3_fts5_may..." */, FxProc: 0},
- {FzName: ts + 2911 /* "sqlite3_fts5_tok..." */, FxProc: 0},
- {FzName: ts + 2935 /* "sqlite3_fts5_reg..." */, FxProc: 0},
- {FzName: ts + 2967 /* "sqlite3_fts5_reg..." */, FxProc: 0},
-} /* fts5_tcl.c:1124:5 */
+ {FzName: ts + 2773 /* "sqlite3_fts5_cre..." */, FxProc: 0, FbTokenizeCtx: 1},
+ {FzName: ts + 2803 /* "sqlite3_fts5_tok..." */, FxProc: 0, FbTokenizeCtx: 1},
+ {FzName: ts + 2822 /* "sqlite3_fts5_tok..." */, FxProc: 0},
+ {FzName: ts + 2844 /* "sqlite3_fts5_cre..." */, FxProc: 0},
+ {FzName: ts + 2873 /* "sqlite3_fts5_may..." */, FxProc: 0},
+ {FzName: ts + 2901 /* "sqlite3_fts5_tok..." */, FxProc: 0},
+ {FzName: ts + 2925 /* "sqlite3_fts5_reg..." */, FxProc: 0},
+ {FzName: ts + 2957 /* "sqlite3_fts5_reg..." */, FxProc: 0},
+} /* fts5_tcl.c:1128:5 */
type Fts5MatchinfoCtx1 = struct {
FnCol int32
@@ -13076,7 +13059,7 @@ func fts5MatchinfoNew(tls *libc.TLS, pApi uintptr, pFts uintptr, pCtx uintptr, z
for i = 0; *(*int8)(unsafe.Pointer(zArg + uintptr(i))) != 0; i++ {
var n int32 = fts5MatchinfoFlagsize(tls, nCol, nPhrase, *(*int8)(unsafe.Pointer(zArg + uintptr(i))))
if n < 0 {
- var zErr uintptr = sqlite3.Xsqlite3_mprintf(tls, ts+3002 /* "unrecognized mat..." */, libc.VaList(bp, int32(*(*int8)(unsafe.Pointer(zArg + uintptr(i))))))
+ var zErr uintptr = sqlite3.Xsqlite3_mprintf(tls, ts+2992 /* "unrecognized mat..." */, libc.VaList(bp, int32(*(*int8)(unsafe.Pointer(zArg + uintptr(i))))))
sqlite3.Xsqlite3_result_error(tls, pCtx, zErr, -1)
sqlite3.Xsqlite3_free(tls, zErr)
return uintptr(0)
@@ -13121,7 +13104,7 @@ func fts5MatchinfoFunc(tls *libc.TLS, pApi uintptr, pFts uintptr, pCtx uintptr,
if nVal > 0 {
zArg = sqlite3.Xsqlite3_value_text(tls, *(*uintptr)(unsafe.Pointer(apVal)))
} else {
- zArg = ts + 3034 /* "pcx" */
+ zArg = ts + 3024 /* "pcx" */
}
p = (*(*func(*libc.TLS, uintptr, int32) uintptr)(unsafe.Pointer((pApi + 120 /* &.xGetAuxdata */))))(tls, pFts, 0)
@@ -13174,14 +13157,14 @@ func sqlite3Fts5TestRegisterMatchinfo(tls *libc.TLS, db uintptr) int32 { /* fts5
}
// Register the implementation of matchinfo()
- rc = (*(*func(*libc.TLS, uintptr, uintptr, uintptr, fts5_extension_function, uintptr) int32)(unsafe.Pointer((*(*uintptr)(unsafe.Pointer(bp /* pApi */)) + 24 /* &.xCreateFunction */))))(tls, *(*uintptr)(unsafe.Pointer(bp /* pApi */)), ts+3038 /* "matchinfo" */, uintptr(0), *(*uintptr)(unsafe.Pointer(&struct {
+ rc = (*(*func(*libc.TLS, uintptr, uintptr, uintptr, fts5_extension_function, uintptr) int32)(unsafe.Pointer((*(*uintptr)(unsafe.Pointer(bp /* pApi */)) + 24 /* &.xCreateFunction */))))(tls, *(*uintptr)(unsafe.Pointer(bp /* pApi */)), ts+3028 /* "matchinfo" */, uintptr(0), *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, uintptr, uintptr, int32, uintptr)
}{fts5MatchinfoFunc})), uintptr(0))
return rc
}
-// Copyright (C) 1991-2018 Free Software Foundation, Inc.
+// Copyright (C) 1991-2020 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
@@ -13196,11 +13179,11 @@ func sqlite3Fts5TestRegisterMatchinfo(tls *libc.TLS, db uintptr) int32 { /* fts5
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// ISO C99 Standard: 7.2 Diagnostics
-// Copyright (C) 1991-2018 Free Software Foundation, Inc.
+// Copyright (C) 1991-2020 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
@@ -13215,7 +13198,7 @@ func sqlite3Fts5TestRegisterMatchinfo(tls *libc.TLS, db uintptr) int32 { /* fts5
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// void assert (int expression);
//
@@ -13234,7 +13217,7 @@ type Fts5tokTable1 = struct {
FpTok uintptr
} /* fts5_test_tok.c:47:9 */
-// Copyright (C) 1991-2018 Free Software Foundation, Inc.
+// Copyright (C) 1991-2020 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
@@ -13249,11 +13232,11 @@ type Fts5tokTable1 = struct {
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// ISO C99 Standard: 7.2 Diagnostics
-// Copyright (C) 1991-2018 Free Software Foundation, Inc.
+// Copyright (C) 1991-2020 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
@@ -13268,7 +13251,7 @@ type Fts5tokTable1 = struct {
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// void assert (int expression);
//
@@ -13397,7 +13380,7 @@ func fts5tokConnectMethod(tls *libc.TLS, db uintptr, pCtx uintptr, argc int32, a
var nDequote int32 = 0
rc = sqlite3.Xsqlite3_declare_vtab(tls, db,
- ts+3048 /* "CREATE TABLE x(i..." */)
+ ts+3038 /* "CREATE TABLE x(i..." */)
if rc == SQLITE_OK {
nDequote = (argc - 3)
@@ -13643,7 +13626,7 @@ func fts5tokRowidMethod(tls *libc.TLS, pCursor uintptr, pRowid uintptr) int32 {
func sqlite3Fts5TestRegisterTok(tls *libc.TLS, db uintptr, pApi uintptr) int32 { /* fts5_test_tok.c:450:5: */
var rc int32 // Return code
- rc = sqlite3.Xsqlite3_create_module(tls, db, ts+3106 /* "fts5tokenize" */, uintptr(unsafe.Pointer(&fts5tok_module)), pApi)
+ rc = sqlite3.Xsqlite3_create_module(tls, db, ts+3096 /* "fts5tokenize" */, uintptr(unsafe.Pointer(&fts5tok_module)), pApi)
return rc
}
@@ -13668,13 +13651,13 @@ var fts5tok_module = sqlite3_module{ // iVersion
// the third parameter to entry points of [loadable extensions]. This
// structure must be typedefed in order to work around compiler warnings
// on some platforms.
-type sqlite3_api_routines = sqlite3_api_routines1 /* sqlite3.h:1197:37 */
+type sqlite3_api_routines = sqlite3_api_routines1 /* sqlite3.h:1216:37 */
// This is the function signature used for all extension entry points. It
// is also defined in the file "loadext.c".
type sqlite3_loadext_entry = uintptr /* sqlite3ext.h:346:13 */
-// Copyright (C) 1991-2018 Free Software Foundation, Inc.
+// Copyright (C) 1991-2020 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
@@ -13689,11 +13672,11 @@ type sqlite3_loadext_entry = uintptr /* sqlite3ext.h:346:13 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// ISO C99 Standard: 7.2 Diagnostics
-// Copyright (C) 1991-2018 Free Software Foundation, Inc.
+// Copyright (C) 1991-2020 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
@@ -13708,7 +13691,7 @@ type sqlite3_loadext_entry = uintptr /* sqlite3ext.h:346:13 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// void assert (int expression);
//
@@ -13747,7 +13730,7 @@ type ApndFile = ApndFile1 /* appendvfs.c:86:25 */
var apnd_vfs = sqlite3_vfs{
FiVersion: 3, // szOsFile (set when registered)
FmxPathname: 1024, // pNext
- FzName: ts + 3119, /* "apndvfs" */ /* pAppData (set when registered) */
+ FzName: ts + 3109, /* "apndvfs" */ /* pAppData (set when registered) */
FxOpen: 0, // xOpen
FxDelete: 0, // xDelete
FxAccess: 0, // xAccess
@@ -13814,7 +13797,7 @@ func apndWriteMark(tls *libc.TLS, paf uintptr, pFile uintptr, iWriteEnd sqlite_i
var i int32 = APND_MARK_FOS_SZ
var rc int32
- libc.Xmemcpy(tls, bp /* &a[0] */, ts+3127 /* "Start-Of-SQLite3..." */, uint64(APND_MARK_PREFIX_SZ))
+ libc.Xmemcpy(tls, bp /* &a[0] */, ts+3117 /* "Start-Of-SQLite3..." */, uint64(APND_MARK_PREFIX_SZ))
for libc.PreDecInt32(&i, 1) >= 0 {
*(*uint8)(unsafe.Pointer(bp /* &a[0] */ + uintptr((APND_MARK_PREFIX_SZ + i)))) = (uint8(iPgOne & int64(0xff)))
iPgOne >>= 8
@@ -13906,7 +13889,7 @@ func apndFileControl(tls *libc.TLS, pFile uintptr, op int32, pArg uintptr) int32
}
rc = (*(*func(*libc.TLS, uintptr, int32, uintptr) int32)(unsafe.Pointer(((*sqlite3_file)(unsafe.Pointer(pFile)).FpMethods + 80 /* &.xFileControl */))))(tls, pFile, op, pArg)
if (rc == SQLITE_OK) && (op == SQLITE_FCNTL_VFSNAME) {
- *(*uintptr)(unsafe.Pointer(pArg)) = sqlite3.Xsqlite3_mprintf(tls, ts+3145 /* "apnd(%lld)/%z" */, libc.VaList(bp, (*ApndFile)(unsafe.Pointer(paf)).FiPgOne, *(*uintptr)(unsafe.Pointer(pArg))))
+ *(*uintptr)(unsafe.Pointer(pArg)) = sqlite3.Xsqlite3_mprintf(tls, ts+3135 /* "apnd(%lld)/%z" */, libc.VaList(bp, (*ApndFile)(unsafe.Pointer(paf)).FiPgOne, *(*uintptr)(unsafe.Pointer(pArg))))
}
return rc
}
@@ -13988,7 +13971,7 @@ func apndReadMark(tls *libc.TLS, sz sqlite3_int64, pFile uintptr) sqlite3_int64
if rc != 0 {
return int64(-1)
}
- if libc.Xmemcmp(tls, bp /* &a[0] */, ts+3127 /* "Start-Of-SQLite3..." */, uint64(APND_MARK_PREFIX_SZ)) != 0 {
+ if libc.Xmemcmp(tls, bp /* &a[0] */, ts+3117 /* "Start-Of-SQLite3..." */, uint64(APND_MARK_PREFIX_SZ)) != 0 {
return int64(-1)
}
iMark = ((sqlite3_int64(int32(*(*uint8)(unsafe.Pointer(bp /* &a[0] */ + 17))) & 0x7f)) << msbs)
@@ -14005,7 +13988,7 @@ func apndReadMark(tls *libc.TLS, sz sqlite3_int64, pFile uintptr) sqlite3_int64
return iMark
}
-var apvfsSqliteHdr = *(*[16]int8)(unsafe.Pointer(ts + 3159 /* "SQLite format 3" */)) /* appendvfs.c:461:19 */
+var apvfsSqliteHdr = *(*[16]int8)(unsafe.Pointer(ts + 3149 /* "SQLite format 3" */)) /* appendvfs.c:461:19 */
// Check to see if the file is an appendvfs SQLite database file.
// Return true iff it is such. Parameter sz is the file's size.
@@ -14074,9 +14057,11 @@ func apndOpen(tls *libc.TLS, pApndVfs uintptr, zName uintptr, pFile uintptr, fla
rc = (*(*func(*libc.TLS, uintptr, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer((pBaseVfs + 40 /* &.xOpen */))))(tls, pBaseVfs, zName, pBaseFile, flags, pOutFlags)
if rc == SQLITE_OK {
rc = (*(*func(*libc.TLS, uintptr, uintptr) int32)(unsafe.Pointer(((*sqlite3_file)(unsafe.Pointer(pBaseFile)).FpMethods + 48 /* &.xFileSize */))))(tls, pBaseFile, bp /* &sz */)
+ if rc != 0 {
+ (*(*func(*libc.TLS, uintptr) int32)(unsafe.Pointer(((*sqlite3_file)(unsafe.Pointer(pBaseFile)).FpMethods + 8 /* &.xClose */))))(tls, pBaseFile)
+ }
}
if rc != 0 {
- (*(*func(*libc.TLS, uintptr) int32)(unsafe.Pointer(((*sqlite3_file)(unsafe.Pointer(pBaseFile)).FpMethods + 8 /* &.xClose */))))(tls, pBaseFile)
(*sqlite3_file)(unsafe.Pointer(pFile)).FpMethods = uintptr(0)
return rc
}
@@ -14109,70 +14094,70 @@ func apndOpen(tls *libc.TLS, pApndVfs uintptr, zName uintptr, pFile uintptr, fla
// For an appendvfs, this could mean delete the appendvfs portion,
// leaving the appendee as it was before it gained an appendvfs.
// For now, this code deletes the underlying file too.
-func apndDelete(tls *libc.TLS, pVfs uintptr, zPath uintptr, dirSync int32) int32 { /* appendvfs.c:572:12: */
+func apndDelete(tls *libc.TLS, pVfs uintptr, zPath uintptr, dirSync int32) int32 { /* appendvfs.c:574:12: */
return (*(*func(*libc.TLS, uintptr, uintptr, int32) int32)(unsafe.Pointer(((*sqlite3_vfs)(unsafe.Pointer(pVfs)).FpAppData + 48 /* &.xDelete */))))(tls, (*sqlite3_vfs)(unsafe.Pointer(pVfs)).FpAppData, zPath, dirSync)
}
// All other VFS methods are pass-thrus.
-func apndAccess(tls *libc.TLS, pVfs uintptr, zPath uintptr, flags int32, pResOut uintptr) int32 { /* appendvfs.c:579:12: */
+func apndAccess(tls *libc.TLS, pVfs uintptr, zPath uintptr, flags int32, pResOut uintptr) int32 { /* appendvfs.c:581:12: */
return (*(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(((*sqlite3_vfs)(unsafe.Pointer(pVfs)).FpAppData + 56 /* &.xAccess */))))(tls, (*sqlite3_vfs)(unsafe.Pointer(pVfs)).FpAppData, zPath, flags, pResOut)
}
-func apndFullPathname(tls *libc.TLS, pVfs uintptr, zPath uintptr, nOut int32, zOut uintptr) int32 { /* appendvfs.c:587:12: */
+func apndFullPathname(tls *libc.TLS, pVfs uintptr, zPath uintptr, nOut int32, zOut uintptr) int32 { /* appendvfs.c:589:12: */
return (*(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(((*sqlite3_vfs)(unsafe.Pointer(pVfs)).FpAppData + 64 /* &.xFullPathname */))))(tls, (*sqlite3_vfs)(unsafe.Pointer(pVfs)).FpAppData, zPath, nOut, zOut)
}
-func apndDlOpen(tls *libc.TLS, pVfs uintptr, zPath uintptr) uintptr { /* appendvfs.c:595:13: */
+func apndDlOpen(tls *libc.TLS, pVfs uintptr, zPath uintptr) uintptr { /* appendvfs.c:597:13: */
return (*(*func(*libc.TLS, uintptr, uintptr) uintptr)(unsafe.Pointer(((*sqlite3_vfs)(unsafe.Pointer(pVfs)).FpAppData + 72 /* &.xDlOpen */))))(tls, (*sqlite3_vfs)(unsafe.Pointer(pVfs)).FpAppData, zPath)
}
-func apndDlError(tls *libc.TLS, pVfs uintptr, nByte int32, zErrMsg uintptr) { /* appendvfs.c:598:13: */
+func apndDlError(tls *libc.TLS, pVfs uintptr, nByte int32, zErrMsg uintptr) { /* appendvfs.c:600:13: */
(*(*func(*libc.TLS, uintptr, int32, uintptr))(unsafe.Pointer(((*sqlite3_vfs)(unsafe.Pointer(pVfs)).FpAppData + 80 /* &.xDlError */))))(tls, (*sqlite3_vfs)(unsafe.Pointer(pVfs)).FpAppData, nByte, zErrMsg)
}
-func apndDlSym(tls *libc.TLS, pVfs uintptr, p uintptr, zSym uintptr) uintptr { /* appendvfs.c:601:13: */
+func apndDlSym(tls *libc.TLS, pVfs uintptr, p uintptr, zSym uintptr) uintptr { /* appendvfs.c:603:13: */
return (*(*func(*libc.TLS, uintptr, uintptr, uintptr) uintptr)(unsafe.Pointer(((*sqlite3_vfs)(unsafe.Pointer(pVfs)).FpAppData + 88 /* &.xDlSym */))))(tls, (*sqlite3_vfs)(unsafe.Pointer(pVfs)).FpAppData, p, zSym)
}
-func apndDlClose(tls *libc.TLS, pVfs uintptr, pHandle uintptr) { /* appendvfs.c:604:13: */
+func apndDlClose(tls *libc.TLS, pVfs uintptr, pHandle uintptr) { /* appendvfs.c:606:13: */
(*(*func(*libc.TLS, uintptr, uintptr))(unsafe.Pointer(((*sqlite3_vfs)(unsafe.Pointer(pVfs)).FpAppData + 96 /* &.xDlClose */))))(tls, (*sqlite3_vfs)(unsafe.Pointer(pVfs)).FpAppData, pHandle)
}
-func apndRandomness(tls *libc.TLS, pVfs uintptr, nByte int32, zBufOut uintptr) int32 { /* appendvfs.c:607:12: */
+func apndRandomness(tls *libc.TLS, pVfs uintptr, nByte int32, zBufOut uintptr) int32 { /* appendvfs.c:609:12: */
return (*(*func(*libc.TLS, uintptr, int32, uintptr) int32)(unsafe.Pointer(((*sqlite3_vfs)(unsafe.Pointer(pVfs)).FpAppData + 104 /* &.xRandomness */))))(tls, (*sqlite3_vfs)(unsafe.Pointer(pVfs)).FpAppData, nByte, zBufOut)
}
-func apndSleep(tls *libc.TLS, pVfs uintptr, nMicro int32) int32 { /* appendvfs.c:610:12: */
+func apndSleep(tls *libc.TLS, pVfs uintptr, nMicro int32) int32 { /* appendvfs.c:612:12: */
return (*(*func(*libc.TLS, uintptr, int32) int32)(unsafe.Pointer(((*sqlite3_vfs)(unsafe.Pointer(pVfs)).FpAppData + 112 /* &.xSleep */))))(tls, (*sqlite3_vfs)(unsafe.Pointer(pVfs)).FpAppData, nMicro)
}
-func apndCurrentTime(tls *libc.TLS, pVfs uintptr, pTimeOut uintptr) int32 { /* appendvfs.c:613:12: */
+func apndCurrentTime(tls *libc.TLS, pVfs uintptr, pTimeOut uintptr) int32 { /* appendvfs.c:615:12: */
return (*(*func(*libc.TLS, uintptr, uintptr) int32)(unsafe.Pointer(((*sqlite3_vfs)(unsafe.Pointer(pVfs)).FpAppData + 120 /* &.xCurrentTime */))))(tls, (*sqlite3_vfs)(unsafe.Pointer(pVfs)).FpAppData, pTimeOut)
}
-func apndGetLastError(tls *libc.TLS, pVfs uintptr, a int32, b uintptr) int32 { /* appendvfs.c:616:12: */
+func apndGetLastError(tls *libc.TLS, pVfs uintptr, a int32, b uintptr) int32 { /* appendvfs.c:618:12: */
return (*(*func(*libc.TLS, uintptr, int32, uintptr) int32)(unsafe.Pointer(((*sqlite3_vfs)(unsafe.Pointer(pVfs)).FpAppData + 128 /* &.xGetLastError */))))(tls, (*sqlite3_vfs)(unsafe.Pointer(pVfs)).FpAppData, a, b)
}
-func apndCurrentTimeInt64(tls *libc.TLS, pVfs uintptr, p uintptr) int32 { /* appendvfs.c:619:12: */
+func apndCurrentTimeInt64(tls *libc.TLS, pVfs uintptr, p uintptr) int32 { /* appendvfs.c:621:12: */
return (*(*func(*libc.TLS, uintptr, uintptr) int32)(unsafe.Pointer(((*sqlite3_vfs)(unsafe.Pointer(pVfs)).FpAppData + 136 /* &.xCurrentTimeInt64 */))))(tls, (*sqlite3_vfs)(unsafe.Pointer(pVfs)).FpAppData, p)
}
-func apndSetSystemCall(tls *libc.TLS, pVfs uintptr, zName uintptr, pCall sqlite3_syscall_ptr) int32 { /* appendvfs.c:622:12: */
+func apndSetSystemCall(tls *libc.TLS, pVfs uintptr, zName uintptr, pCall sqlite3_syscall_ptr) int32 { /* appendvfs.c:624:12: */
return (*(*func(*libc.TLS, uintptr, uintptr, sqlite3_syscall_ptr) int32)(unsafe.Pointer(((*sqlite3_vfs)(unsafe.Pointer(pVfs)).FpAppData + 144 /* &.xSetSystemCall */))))(tls, (*sqlite3_vfs)(unsafe.Pointer(pVfs)).FpAppData, zName, pCall)
}
-func apndGetSystemCall(tls *libc.TLS, pVfs uintptr, zName uintptr) sqlite3_syscall_ptr { /* appendvfs.c:629:28: */
+func apndGetSystemCall(tls *libc.TLS, pVfs uintptr, zName uintptr) sqlite3_syscall_ptr { /* appendvfs.c:631:28: */
return (*(*func(*libc.TLS, uintptr, uintptr) sqlite3_syscall_ptr)(unsafe.Pointer(((*sqlite3_vfs)(unsafe.Pointer(pVfs)).FpAppData + 152 /* &.xGetSystemCall */))))(tls, (*sqlite3_vfs)(unsafe.Pointer(pVfs)).FpAppData, zName)
}
-func apndNextSystemCall(tls *libc.TLS, pVfs uintptr, zName uintptr) uintptr { /* appendvfs.c:635:19: */
+func apndNextSystemCall(tls *libc.TLS, pVfs uintptr, zName uintptr) uintptr { /* appendvfs.c:637:19: */
return (*(*func(*libc.TLS, uintptr, uintptr) uintptr)(unsafe.Pointer(((*sqlite3_vfs)(unsafe.Pointer(pVfs)).FpAppData + 160 /* &.xNextSystemCall */))))(tls, (*sqlite3_vfs)(unsafe.Pointer(pVfs)).FpAppData, zName)
}
// This routine is called when the extension is loaded.
// Register the new VFS.
-func sqlite3_appendvfs_init(tls *libc.TLS, db uintptr, pzErrMsg uintptr, pApi uintptr) int32 { /* appendvfs.c:647:5: */
+func sqlite3_appendvfs_init(tls *libc.TLS, db uintptr, pzErrMsg uintptr, pApi uintptr) int32 { /* appendvfs.c:649:5: */
var rc int32 = SQLITE_OK
var pOrig uintptr
_ = pApi
@@ -14180,6 +14165,9 @@ func sqlite3_appendvfs_init(tls *libc.TLS, db uintptr, pzErrMsg uintptr, pApi ui
_ = pzErrMsg
_ = db
pOrig = sqlite3.Xsqlite3_vfs_find(tls, uintptr(0))
+ if pOrig == uintptr(0) {
+ return SQLITE_ERROR
+ }
apnd_vfs.FiVersion = (*sqlite3_vfs)(unsafe.Pointer(pOrig)).FiVersion
apnd_vfs.FpAppData = pOrig
apnd_vfs.FszOsFile = (int32(uint64((*sqlite3_vfs)(unsafe.Pointer(pOrig)).FszOsFile) + uint64(unsafe.Sizeof(ApndFile{}))))
@@ -14199,7 +14187,7 @@ func sqlite3_appendvfs_init(tls *libc.TLS, db uintptr, pzErrMsg uintptr, pApi ui
// XPG requires a few symbols from being defined.
// Definitions of flag bits for `waitpid' et al.
-// Copyright (C) 1992-2018 Free Software Foundation, Inc.
+// Copyright (C) 1992-2020 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
@@ -14214,20 +14202,14 @@ func sqlite3_appendvfs_init(tls *libc.TLS, db uintptr, pzErrMsg uintptr, pApi ui
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// Bits in the third argument to `waitpid'.
// Bits in the fourth argument to `waitid'.
-// The following values are used by the `waitid' function.
-
-// The Linux kernel defines these bare, rather than an enum,
-// which causes a conflict if the include order is reversed.
-
-type idtype_t = uint32 /* waitflags.h:57:3 */
// Definitions of status bits for `wait' et al.
-// Copyright (C) 1992-2018 Free Software Foundation, Inc.
+// Copyright (C) 1992-2020 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
@@ -14242,7 +14224,7 @@ type idtype_t = uint32 /* waitflags.h:57:3 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// Everything extant so far uses these same bits.
@@ -14269,7 +14251,7 @@ type idtype_t = uint32 /* waitflags.h:57:3 */
// _FloatN API tests for enablement.
// Macros to control TS 18661-3 glibc features on ldbl-128 platforms.
-// Copyright (C) 2017-2018 Free Software Foundation, Inc.
+// Copyright (C) 2017-2020 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
@@ -14284,9 +14266,9 @@ type idtype_t = uint32 /* waitflags.h:57:3 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
-// Copyright (C) 1991-2018 Free Software Foundation, Inc.
+// Copyright (C) 1991-2020 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
@@ -14301,10 +14283,10 @@ type idtype_t = uint32 /* waitflags.h:57:3 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// Properties of long double type. ldbl-opt version.
-// Copyright (C) 2016-2018 Free Software Foundation, Inc.
+// Copyright (C) 2016-2020 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
@@ -14319,7 +14301,7 @@ type idtype_t = uint32 /* waitflags.h:57:3 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// Defined to 1 if the current compiler invocation provides a
// floating-point type with the IEEE 754 binary128 format, and this
@@ -14350,7 +14332,7 @@ type idtype_t = uint32 /* waitflags.h:57:3 */
// Macros to control TS 18661-3 glibc features where the same
// definitions are appropriate for all platforms.
-// Copyright (C) 2017-2018 Free Software Foundation, Inc.
+// Copyright (C) 2017-2020 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
@@ -14365,9 +14347,9 @@ type idtype_t = uint32 /* waitflags.h:57:3 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
-// Copyright (C) 1991-2018 Free Software Foundation, Inc.
+// Copyright (C) 1991-2020 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
@@ -14382,10 +14364,10 @@ type idtype_t = uint32 /* waitflags.h:57:3 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// Properties of long double type. ldbl-opt version.
-// Copyright (C) 2016-2018 Free Software Foundation, Inc.
+// Copyright (C) 2016-2020 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
@@ -14400,7 +14382,7 @@ type idtype_t = uint32 /* waitflags.h:57:3 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// This header should be included at the bottom of each bits/floatn.h.
// It defines the following macros for each _FloatN and _FloatNx type,
@@ -14466,6 +14448,10 @@ type lldiv_t = struct {
Frem int64
} /* stdlib.h:80:5 */
+// Seconds since the Epoch, visible to user code when time_t is too
+// narrow only for consistency with the old way of widening too-narrow
+// types. User code should never use __time64_t.
+
type u_char = uint8 /* types.h:33:18 */
type u_short = uint16 /* types.h:34:19 */
type u_int = uint32 /* types.h:35:17 */
@@ -14497,7 +14483,7 @@ type caddr_t = uintptr /* types.h:115:19 */
type key_t = int32 /* types.h:121:17 */
// bits/types.h -- definitions of __*_t types underlying *_t types.
-// Copyright (C) 2002-2018 Free Software Foundation, Inc.
+// Copyright (C) 2002-2020 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
@@ -14512,7 +14498,7 @@ type key_t = int32 /* types.h:121:17 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// Never include this file directly; use instead.
@@ -14520,7 +14506,7 @@ type key_t = int32 /* types.h:121:17 */
type clock_t = int64 /* clock_t.h:7:19 */
// bits/types.h -- definitions of __*_t types underlying *_t types.
-// Copyright (C) 2002-2018 Free Software Foundation, Inc.
+// Copyright (C) 2002-2020 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
@@ -14535,7 +14521,7 @@ type clock_t = int64 /* clock_t.h:7:19 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// Never include this file directly; use instead.
@@ -14543,7 +14529,7 @@ type clock_t = int64 /* clock_t.h:7:19 */
type clockid_t = int32 /* clockid_t.h:7:21 */
// bits/types.h -- definitions of __*_t types underlying *_t types.
-// Copyright (C) 2002-2018 Free Software Foundation, Inc.
+// Copyright (C) 2002-2020 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
@@ -14558,7 +14544,7 @@ type clockid_t = int32 /* clockid_t.h:7:21 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// Never include this file directly; use instead.
@@ -14566,7 +14552,7 @@ type clockid_t = int32 /* clockid_t.h:7:21 */
type time_t = int64 /* time_t.h:7:18 */
// bits/types.h -- definitions of __*_t types underlying *_t types.
-// Copyright (C) 2002-2018 Free Software Foundation, Inc.
+// Copyright (C) 2002-2020 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
@@ -14581,14 +14567,14 @@ type time_t = int64 /* time_t.h:7:18 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// Never include this file directly; use instead.
// 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.
//
@@ -14678,7 +14664,7 @@ type uint = uint32 /* types.h:150:22 */
// These size-specific names are used by some of the inet code.
// Define intN_t types.
-// Copyright (C) 2017-2018 Free Software Foundation, Inc.
+// Copyright (C) 2017-2020 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
@@ -14693,10 +14679,10 @@ type uint = uint32 /* types.h:150:22 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// bits/types.h -- definitions of __*_t types underlying *_t types.
-// Copyright (C) 2002-2018 Free Software Foundation, Inc.
+// Copyright (C) 2002-2020 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
@@ -14711,7 +14697,7 @@ type uint = uint32 /* types.h:150:22 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// Never include this file directly; use instead.
@@ -14720,14 +14706,13 @@ type int16_t = int16 /* stdint-intn.h:25:19 */
type int32_t = int32 /* stdint-intn.h:26:19 */
type int64_t = int64 /* stdint-intn.h:27:19 */
-// For GCC 2.7 and later, we can use specific type-size attributes.
+// These were defined by ISO C without the first `_'.
+type u_int8_t = uint8 /* types.h:158:19 */
+type u_int16_t = uint16 /* types.h:159:20 */
+type u_int32_t = uint32 /* types.h:160:20 */
+type u_int64_t = uint64 /* types.h:161:20 */
-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 register_t = int32 /* types.h:182:13 */
+type register_t = int32 /* types.h:164:13 */
// A set of signals to be blocked, unblocked, or waited for.
type sigset_t = struct{ F__val [16]uint64 } /* sigset_t.h:7:20 */
@@ -14735,7 +14720,7 @@ type sigset_t = struct{ F__val [16]uint64 } /* sigset_t.h:7:20 */
// Get definition of timer specification structures.
// bits/types.h -- definitions of __*_t types underlying *_t types.
-// Copyright (C) 2002-2018 Free Software Foundation, Inc.
+// Copyright (C) 2002-2020 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
@@ -14750,7 +14735,7 @@ type sigset_t = struct{ F__val [16]uint64 } /* sigset_t.h:7:20 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// Never include this file directly; use instead.
@@ -14764,7 +14749,27 @@ type timeval = struct {
// NB: Include guard matches what uses.
// bits/types.h -- definitions of __*_t types underlying *_t types.
-// Copyright (C) 2002-2018 Free Software Foundation, Inc.
+// Copyright (C) 2002-2020 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
+// .
+
+// Never include this file directly; use instead.
+
+// Endian macros for string.h functions
+// Copyright (C) 1992-2020 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
@@ -14781,14 +14786,12 @@ type timeval = struct {
// License along with the GNU C Library; if not, see
// .
-// Never include this file directly; use instead.
-
// POSIX.1b structure for a time value. This is like a `struct timeval' but
// has nanoseconds instead of microseconds.
type timespec = struct {
Ftv_sec int64
Ftv_nsec int64
-} /* struct_timespec.h:9:1 */
+} /* struct_timespec.h:10:1 */
type suseconds_t = int64 /* select.h:43:23 */
@@ -14805,16 +14808,16 @@ 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:185: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:205:22 */ // Type to count number of disk blocks.
+type fsblkcnt_t = uint64 /* types.h:209:24 */ // Type to count file system blocks.
+type fsfilcnt_t = uint64 /* types.h:213:24 */ // Type to count file system inodes.
// Now add the thread types.
// Declaration of common pthread types for all architectures.
-// Copyright (C) 2017-2018 Free Software Foundation, Inc.
+// Copyright (C) 2017-2020 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
@@ -14829,11 +14832,11 @@ type fsfilcnt_t = uint64 /* types.h:230:24 */ // Type to count file system inode
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// For internal mutex and condition variable definitions.
// Common threading primitives definitions for both POSIX and C11.
-// Copyright (C) 2017-2018 Free Software Foundation, Inc.
+// Copyright (C) 2017-2020 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
@@ -14848,7 +14851,7 @@ type fsfilcnt_t = uint64 /* types.h:230:24 */ // Type to count file system inode
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// Arch-specific definitions. Each architecture must define the following
// macros to define the expected sizes of pthread data types:
@@ -14863,36 +14866,6 @@ type fsfilcnt_t = uint64 /* types.h:230:24 */ // Type to count file system inode
// __SIZEOF_PTHREAD_BARRIER_T - size of pthread_barrier_t.
// __SIZEOF_PTHREAD_BARRIERATTR_T - size of pthread_barrierattr_t.
//
-// Also, the following macros must be define for internal pthread_mutex_t
-// struct definitions (struct __pthread_mutex_s):
-//
-// __PTHREAD_COMPAT_PADDING_MID - any additional members after 'kind'
-// and before '__spin' (for 64 bits) or
-// '__nusers' (for 32 bits).
-// __PTHREAD_COMPAT_PADDING_END - any additional members at the end of
-// the internal structure.
-// __PTHREAD_MUTEX_LOCK_ELISION - 1 if the architecture supports lock
-// elision or 0 otherwise.
-// __PTHREAD_MUTEX_NUSERS_AFTER_KIND - control where to put __nusers. The
-// preferred value for new architectures
-// is 0.
-// __PTHREAD_MUTEX_USE_UNION - control whether internal __spins and
-// __list will be place inside a union for
-// linuxthreads compatibility.
-// The preferred value for new architectures
-// is 0.
-//
-// For a new port the preferred values for the required defines are:
-//
-// #define __PTHREAD_COMPAT_PADDING_MID
-// #define __PTHREAD_COMPAT_PADDING_END
-// #define __PTHREAD_MUTEX_LOCK_ELISION 0
-// #define __PTHREAD_MUTEX_NUSERS_AFTER_KIND 0
-// #define __PTHREAD_MUTEX_USE_UNION 0
-//
-// __PTHREAD_MUTEX_LOCK_ELISION can be set to 1 if the hardware plans to
-// eventually support lock elision using transactional memory.
-//
// The additional macro defines any constraint for the lock alignment
// inside the thread structures:
//
@@ -14901,11 +14874,10 @@ type fsfilcnt_t = uint64 /* types.h:230:24 */ // Type to count file system inode
// Same idea but for the once locking primitive:
//
// __ONCE_ALIGNMENT - for pthread_once_t/once_flag definition.
+
+// Machine-specific pthread type layouts. Generic version.
+// Copyright (C) 2019-2020 Free Software Foundation, Inc.
//
-// And finally the internal pthread_rwlock_t (struct __pthread_rwlock_arch_t)
-// must be defined.
-//
-// Copyright (C) 2003-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
@@ -14924,7 +14896,90 @@ type fsfilcnt_t = uint64 /* types.h:230:24 */ // Type to count file system inode
// Determine the wordsize from the preprocessor defines.
-// Definitions for internal mutex struct.
+// Common definition of pthread_mutex_t.
+
+type __pthread_internal_list = struct {
+ F__prev uintptr
+ F__next uintptr
+} /* thread-shared-types.h:49:9 */
+
+type __pthread_internal_slist = struct{ F__next uintptr } /* thread-shared-types.h:55:9 */
+
+// Arch-specific mutex definitions. A generic implementation is provided
+// by sysdeps/nptl/bits/struct_mutex.h. If required, an architecture
+// can override it by defining:
+//
+// 1. struct __pthread_mutex_s (used on both pthread_mutex_t and mtx_t
+// definition). It should contains at least the internal members
+// defined in the generic version.
+//
+// 2. __LOCK_ALIGNMENT for any extra attribute for internal lock used with
+// atomic operations.
+//
+// 3. The macro __PTHREAD_MUTEX_INITIALIZER used for static initialization.
+// It should initialize the mutex internal flag.
+
+// S390 internal mutex struct definitions.
+// Copyright (C) 2019-2020 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
+// .
+
+type __pthread_mutex_s = struct {
+ F__lock int32
+ F__count uint32
+ F__owner int32
+ F__nusers uint32
+ F__kind int32
+ F__spins int16
+ F__elision int16
+ F__list struct {
+ F__prev uintptr
+ F__next uintptr
+ }
+} /* struct_mutex.h:22:1 */
+
+// Arch-sepecific read-write lock definitions. A generic implementation is
+// provided by struct_rwlock.h. If required, an architecture can override it
+// by defining:
+//
+// 1. struct __pthread_rwlock_arch_t (used on pthread_rwlock_t definition).
+// It should contain at least the internal members defined in the
+// generic version.
+//
+// 2. The macro __PTHREAD_RWLOCK_INITIALIZER used for static initialization.
+// It should initialize the rwlock internal type.
+
+// S390 internal rwlock struct definitions.
+// Copyright (C) 2019-2020 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
+// .
type __pthread_rwlock_arch_t = struct {
F__readers uint32
@@ -14939,30 +14994,7 @@ type __pthread_rwlock_arch_t = struct {
F__pad2 uint64
F__flags uint32
_ [4]byte
-} /* pthreadtypes-arch.h:50:1 */
-
-// Common definition of pthread_mutex_t.
-
-type __pthread_internal_list = struct {
- F__prev uintptr
- F__next uintptr
-} /* thread-shared-types.h:82:9 */
-
-// Lock elision support.
-
-type __pthread_mutex_s = struct {
- F__lock int32
- F__count uint32
- F__owner int32
- F__nusers uint32
- F__kind int32
- F__spins int16
- F__elision int16
- F__list struct {
- F__prev uintptr
- F__next uintptr
- }
-} /* thread-shared-types.h:118:1 */
+} /* struct_rwlock.h:23:1 */
// Common definition of pthread_cond_t.
@@ -14974,7 +15006,7 @@ type __pthread_cond_s = struct {
F__g1_orig_size uint32
F__wrefs uint32
F__g_signals [2]uint32
-} /* thread-shared-types.h:171:1 */
+} /* thread-shared-types.h:92:1 */
// Thread identifiers. The structure of the attribute type is not
// exposed on purpose.
@@ -15449,22 +15481,22 @@ func amatchLoadOneRule(tls *libc.TLS, p uintptr, pStmt uintptr, ppRule uintptr,
}
if (rCost <= 0) || (rCost > AMATCH_MX_COST) {
- *(*uintptr)(unsafe.Pointer(pzErr)) = sqlite3.Xsqlite3_mprintf(tls, ts+3175, /* "%s: cost must be..." */
+ *(*uintptr)(unsafe.Pointer(pzErr)) = sqlite3.Xsqlite3_mprintf(tls, ts+3165, /* "%s: cost must be..." */
libc.VaList(bp, (*amatch_vtab)(unsafe.Pointer(p)).FzClassName, AMATCH_MX_COST))
rc = SQLITE_ERROR
} else if (nFrom > AMATCH_MX_LENGTH) || (nTo > AMATCH_MX_LENGTH) {
- *(*uintptr)(unsafe.Pointer(pzErr)) = sqlite3.Xsqlite3_mprintf(tls, ts+3209, /* "%s: maximum stri..." */
+ *(*uintptr)(unsafe.Pointer(pzErr)) = sqlite3.Xsqlite3_mprintf(tls, ts+3199, /* "%s: maximum stri..." */
libc.VaList(bp+16, (*amatch_vtab)(unsafe.Pointer(p)).FzClassName, AMATCH_MX_LENGTH))
rc = SQLITE_ERROR
} else if (iLang < int64(0)) || (iLang > int64(AMATCH_MX_LANGID)) {
- *(*uintptr)(unsafe.Pointer(pzErr)) = sqlite3.Xsqlite3_mprintf(tls, ts+3241, /* "%s: iLang must b..." */
+ *(*uintptr)(unsafe.Pointer(pzErr)) = sqlite3.Xsqlite3_mprintf(tls, ts+3231, /* "%s: iLang must b..." */
libc.VaList(bp+32, (*amatch_vtab)(unsafe.Pointer(p)).FzClassName, AMATCH_MX_LANGID))
rc = SQLITE_ERROR
- } else if (libc.Xstrcmp(tls, zFrom, ts+489 /* "" */) == 0) && (libc.Xstrcmp(tls, zTo, ts+3276 /* "?" */) == 0) {
+ } else if (libc.Xstrcmp(tls, zFrom, ts+489 /* "" */) == 0) && (libc.Xstrcmp(tls, zTo, ts+3266 /* "?" */) == 0) {
if ((*amatch_vtab)(unsafe.Pointer(p)).FrIns == 0) || ((*amatch_vtab)(unsafe.Pointer(p)).FrIns > rCost) {
(*amatch_vtab)(unsafe.Pointer(p)).FrIns = rCost
}
- } else if (libc.Xstrcmp(tls, zFrom, ts+3276 /* "?" */) == 0) && (libc.Xstrcmp(tls, zTo, ts+489 /* "" */) == 0) {
+ } else if (libc.Xstrcmp(tls, zFrom, ts+3266 /* "?" */) == 0) && (libc.Xstrcmp(tls, zTo, ts+489 /* "" */) == 0) {
if ((*amatch_vtab)(unsafe.Pointer(p)).FrDel == 0) || ((*amatch_vtab)(unsafe.Pointer(p)).FrDel > rCost) {
(*amatch_vtab)(unsafe.Pointer(p)).FrDel = rCost
}
@@ -15507,7 +15539,7 @@ func amatchLoadRules(tls *libc.TLS, db uintptr, p uintptr, pzErr uintptr) int32
var zSql uintptr // SELECT used to read from rules table
var pHead uintptr = uintptr(0)
- zSql = sqlite3.Xsqlite3_mprintf(tls, ts+3278 /* "SELECT * FROM %Q..." */, libc.VaList(bp, (*amatch_vtab)(unsafe.Pointer(p)).FzDb, (*amatch_vtab)(unsafe.Pointer(p)).FzCostTab))
+ zSql = sqlite3.Xsqlite3_mprintf(tls, ts+3268 /* "SELECT * FROM %Q..." */, libc.VaList(bp, (*amatch_vtab)(unsafe.Pointer(p)).FzDb, (*amatch_vtab)(unsafe.Pointer(p)).FzCostTab))
if zSql == uintptr(0) {
rc = SQLITE_NOMEM
} else {
@@ -15515,9 +15547,9 @@ func amatchLoadRules(tls *libc.TLS, db uintptr, p uintptr, pzErr uintptr) int32
*(*uintptr)(unsafe.Pointer(bp + 56 /* pStmt */)) = uintptr(0)
rc = sqlite3.Xsqlite3_prepare_v2(tls, db, zSql, -1, bp+56 /* &pStmt */, uintptr(0))
if rc != SQLITE_OK {
- *(*uintptr)(unsafe.Pointer(pzErr)) = sqlite3.Xsqlite3_mprintf(tls, ts+3298 /* "%s: %s" */, libc.VaList(bp+16, (*amatch_vtab)(unsafe.Pointer(p)).FzClassName, sqlite3.Xsqlite3_errmsg(tls, db)))
+ *(*uintptr)(unsafe.Pointer(pzErr)) = sqlite3.Xsqlite3_mprintf(tls, ts+3288 /* "%s: %s" */, libc.VaList(bp+16, (*amatch_vtab)(unsafe.Pointer(p)).FzClassName, sqlite3.Xsqlite3_errmsg(tls, db)))
} else if sqlite3.Xsqlite3_column_count(tls, *(*uintptr)(unsafe.Pointer(bp + 56 /* pStmt */))) != 4 {
- *(*uintptr)(unsafe.Pointer(pzErr)) = sqlite3.Xsqlite3_mprintf(tls, ts+3305, /* "%s: %s has %d co..." */
+ *(*uintptr)(unsafe.Pointer(pzErr)) = sqlite3.Xsqlite3_mprintf(tls, ts+3295, /* "%s: %s has %d co..." */
libc.VaList(bp+32, (*amatch_vtab)(unsafe.Pointer(p)).FzClassName, (*amatch_vtab)(unsafe.Pointer(p)).FzCostTab, sqlite3.Xsqlite3_column_count(tls, *(*uintptr)(unsafe.Pointer(bp + 56 /* pStmt */)))))
rc = SQLITE_ERROR
} else {
@@ -15734,7 +15766,7 @@ __5:
if !(i < argc) {
goto __7
}
- zVal = amatchValueOfKey(tls, ts+3339 /* "vocabulary_table" */, *(*uintptr)(unsafe.Pointer(argv + uintptr(i)*8)))
+ zVal = amatchValueOfKey(tls, ts+3329 /* "vocabulary_table" */, *(*uintptr)(unsafe.Pointer(argv + uintptr(i)*8)))
if !(zVal != 0) {
goto __8
}
@@ -15749,7 +15781,7 @@ __9:
goto __6
__8:
;
- zVal = amatchValueOfKey(tls, ts+3356 /* "vocabulary_word" */, *(*uintptr)(unsafe.Pointer(argv + uintptr(i)*8)))
+ zVal = amatchValueOfKey(tls, ts+3346 /* "vocabulary_word" */, *(*uintptr)(unsafe.Pointer(argv + uintptr(i)*8)))
if !(zVal != 0) {
goto __10
}
@@ -15764,7 +15796,7 @@ __11:
goto __6
__10:
;
- zVal = amatchValueOfKey(tls, ts+3372 /* "vocabulary_langu..." */, *(*uintptr)(unsafe.Pointer(argv + uintptr(i)*8)))
+ zVal = amatchValueOfKey(tls, ts+3362 /* "vocabulary_langu..." */, *(*uintptr)(unsafe.Pointer(argv + uintptr(i)*8)))
if !(zVal != 0) {
goto __12
}
@@ -15779,7 +15811,7 @@ __13:
goto __6
__12:
;
- zVal = amatchValueOfKey(tls, ts+3392 /* "edit_distances" */, *(*uintptr)(unsafe.Pointer(argv + uintptr(i)*8)))
+ zVal = amatchValueOfKey(tls, ts+3382 /* "edit_distances" */, *(*uintptr)(unsafe.Pointer(argv + uintptr(i)*8)))
if !(zVal != 0) {
goto __14
}
@@ -15794,7 +15826,7 @@ __15:
goto __6
__14:
;
- *(*uintptr)(unsafe.Pointer(pzErr)) = sqlite3.Xsqlite3_mprintf(tls, ts+3407 /* "unrecognized arg..." */, libc.VaList(bp+24, *(*uintptr)(unsafe.Pointer(argv + uintptr(i)*8))))
+ *(*uintptr)(unsafe.Pointer(pzErr)) = sqlite3.Xsqlite3_mprintf(tls, ts+3397 /* "unrecognized arg..." */, libc.VaList(bp+24, *(*uintptr)(unsafe.Pointer(argv + uintptr(i)*8))))
amatchFree(tls, pNew)
*(*uintptr)(unsafe.Pointer(ppVtab)) = uintptr(0)
return SQLITE_ERROR
@@ -15809,7 +15841,7 @@ __7:
if !((*amatch_vtab)(unsafe.Pointer(pNew)).FzCostTab == uintptr(0)) {
goto __16
}
- *(*uintptr)(unsafe.Pointer(pzErr)) = sqlite3.Xsqlite3_mprintf(tls, ts+3436 /* "no edit_distance..." */, 0)
+ *(*uintptr)(unsafe.Pointer(pzErr)) = sqlite3.Xsqlite3_mprintf(tls, ts+3426 /* "no edit_distance..." */, 0)
rc = SQLITE_ERROR
goto __17
__16:
@@ -15822,7 +15854,7 @@ __17:
sqlite3.Xsqlite3_vtab_config(tls, db, SQLITE_VTAB_INNOCUOUS, 0)
rc = sqlite3.Xsqlite3_declare_vtab(tls, db,
- ts+3470 /* "CREATE TABLE x(w..." */)
+ ts+3460 /* "CREATE TABLE x(w..." */)
__18:
;
if !(rc != SQLITE_OK) {
@@ -15894,7 +15926,7 @@ func amatchEncodeInt(tls *libc.TLS, x int32, z uintptr) { /* amatch.c:978:13: */
*(*int8)(unsafe.Pointer(z + 3)) = a[(x & 0x3f)]
}
-var a = *(*[65]int8)(unsafe.Pointer(ts + 3537 /* "0123456789ABCDEF..." */)) /* amatch.c:979:21 */
+var a = *(*[65]int8)(unsafe.Pointer(ts + 3527 /* "0123456789ABCDEF..." */)) /* amatch.c:979:21 */
// Write the zCost[] field for a amatch_word object
func amatchWriteCost(tls *libc.TLS, pWord uintptr) { /* amatch.c:996:13: */
@@ -16014,15 +16046,15 @@ func amatchNext(tls *libc.TLS, cur uintptr) int32 { /* amatch.c:1102:12: */
var zSql uintptr
if ((*amatch_vtab)(unsafe.Pointer(p)).FzVocabLang != 0) && (*(*int8)(unsafe.Pointer((*amatch_vtab)(unsafe.Pointer(p)).FzVocabLang)) != 0) {
zSql = sqlite3.Xsqlite3_mprintf(tls,
- ts+3602, /* "SELECT \"%w\" FROM..." */
+ ts+3592, /* "SELECT \"%w\" FROM..." */
- libc.VaList(bp, ts+3624, /* " WHERE \"%w\">=?1 ..." */
+ libc.VaList(bp, ts+3614, /* " WHERE \"%w\">=?1 ..." */
(*amatch_vtab)(unsafe.Pointer(p)).FzVocabWord, (*amatch_vtab)(unsafe.Pointer(p)).FzVocabTab,
(*amatch_vtab)(unsafe.Pointer(p)).FzVocabWord, (*amatch_vtab)(unsafe.Pointer(p)).FzVocabLang))
} else {
zSql = sqlite3.Xsqlite3_mprintf(tls,
- ts+3663, /* "SELECT \"%w\" FROM..." */
+ ts+3653, /* "SELECT \"%w\" FROM..." */
libc.VaList(bp+40, (*amatch_vtab)(unsafe.Pointer(p)).FzVocabWord, (*amatch_vtab)(unsafe.Pointer(p)).FzVocabTab,
(*amatch_vtab)(unsafe.Pointer(p)).FzVocabWord))
}
@@ -16148,7 +16180,7 @@ func amatchFilter(tls *libc.TLS, pVtabCursor uintptr, idxNum int32, idxStr uintp
defer tls.Free(8)
var pCur uintptr = pVtabCursor
- var zWord uintptr = ts + 3711 /* "*" */
+ var zWord uintptr = ts + 3701 /* "*" */
var idx int32
amatchClearCursor(tls, pCur)
@@ -16332,12 +16364,12 @@ func amatchUpdate(tls *libc.TLS, pVTab uintptr, argc int32, argv uintptr, pRowid
var zCmd uintptr
_ = pRowid
if argc == 1 {
- (*sqlite3_vtab)(unsafe.Pointer(pVTab)).FzErrMsg = sqlite3.Xsqlite3_mprintf(tls, ts+3713, /* "DELETE from %s i..." */
+ (*sqlite3_vtab)(unsafe.Pointer(pVTab)).FzErrMsg = sqlite3.Xsqlite3_mprintf(tls, ts+3703, /* "DELETE from %s i..." */
libc.VaList(bp, (*amatch_vtab)(unsafe.Pointer(p)).FzSelf))
return SQLITE_ERROR
}
if sqlite3.Xsqlite3_value_type(tls, *(*uintptr)(unsafe.Pointer(argv))) != SQLITE_NULL {
- (*sqlite3_vtab)(unsafe.Pointer(pVTab)).FzErrMsg = sqlite3.Xsqlite3_mprintf(tls, ts+3743, /* "UPDATE of %s is ..." */
+ (*sqlite3_vtab)(unsafe.Pointer(pVTab)).FzErrMsg = sqlite3.Xsqlite3_mprintf(tls, ts+3733, /* "UPDATE of %s is ..." */
libc.VaList(bp+8, (*amatch_vtab)(unsafe.Pointer(p)).FzSelf))
return SQLITE_ERROR
}
@@ -16345,7 +16377,7 @@ func amatchUpdate(tls *libc.TLS, pVTab uintptr, argc int32, argv uintptr, pRowid
(sqlite3.Xsqlite3_value_type(tls, *(*uintptr)(unsafe.Pointer(argv + 3*8))) != SQLITE_NULL)) ||
(sqlite3.Xsqlite3_value_type(tls, *(*uintptr)(unsafe.Pointer(argv + 4*8))) != SQLITE_NULL) {
(*sqlite3_vtab)(unsafe.Pointer(pVTab)).FzErrMsg = sqlite3.Xsqlite3_mprintf(tls,
- ts+3771 /* "INSERT INTO %s a..." */, libc.VaList(bp+16, (*amatch_vtab)(unsafe.Pointer(p)).FzSelf))
+ ts+3761 /* "INSERT INTO %s a..." */, libc.VaList(bp+16, (*amatch_vtab)(unsafe.Pointer(p)).FzSelf))
return SQLITE_ERROR
}
zCmd = sqlite3.Xsqlite3_value_text(tls, *(*uintptr)(unsafe.Pointer(argv + 5*8)))
@@ -16379,7 +16411,7 @@ func sqlite3_amatch_init(tls *libc.TLS, db uintptr, pzErrMsg uintptr, pApi uintp
_ = pApi
_ = pzErrMsg // Not used
- rc = sqlite3.Xsqlite3_create_module(tls, db, ts+3820 /* "approximate_matc..." */, uintptr(unsafe.Pointer(&amatchModule)), uintptr(0))
+ rc = sqlite3.Xsqlite3_create_module(tls, db, ts+3810 /* "approximate_matc..." */, uintptr(unsafe.Pointer(&amatchModule)), uintptr(0))
return rc
}
@@ -16387,7 +16419,7 @@ func sqlite3_amatch_init(tls *libc.TLS, db uintptr, pzErrMsg uintptr, pApi uintp
// Must exactly match the definitions in carray.h.
// Names of allowed datatypes
-var azType = [4]uintptr{ts + 3838 /* "int32" */, ts + 3844 /* "int64" */, ts + 2423 /* "double" */, ts + 3850 /* "char*" */} /* carray.c:73:19 */
+var azType = [4]uintptr{ts + 3828 /* "int32" */, ts + 3834 /* "int64" */, ts + 2423 /* "double" */, ts + 3840 /* "char*" */} /* carray.c:73:19 */
// Structure used to hold the sqlite3_carray_bind() information
type carray_bind1 = struct {
@@ -16435,7 +16467,7 @@ func carrayConnect(tls *libc.TLS, db uintptr, pAux uintptr, argc int32, argv uin
// Column numbers
rc = sqlite3.Xsqlite3_declare_vtab(tls, db,
- ts+3856 /* "CREATE TABLE x(v..." */)
+ ts+3846 /* "CREATE TABLE x(v..." */)
if rc == SQLITE_OK {
pNew = libc.AssignPtrUintptr(ppVtab, sqlite3.Xsqlite3_malloc(tls, int32(unsafe.Sizeof(sqlite3_vtab{}))))
if pNew == uintptr(0) {
@@ -16560,7 +16592,7 @@ func carrayFilter(tls *libc.TLS, pVtabCursor uintptr, idxNum int32, idxStr uintp
switch idxNum {
case 1:
{
- var pBind uintptr = sqlite3.Xsqlite3_value_pointer(tls, *(*uintptr)(unsafe.Pointer(argv)), ts+3919 /* "carray-bind" */)
+ var pBind uintptr = sqlite3.Xsqlite3_value_pointer(tls, *(*uintptr)(unsafe.Pointer(argv)), ts+3909 /* "carray-bind" */)
if pBind == uintptr(0) {
break
}
@@ -16574,7 +16606,7 @@ func carrayFilter(tls *libc.TLS, pVtabCursor uintptr, idxNum int32, idxStr uintp
fallthrough
case 3:
{
- (*carray_cursor)(unsafe.Pointer(pCur)).FpPtr = sqlite3.Xsqlite3_value_pointer(tls, *(*uintptr)(unsafe.Pointer(argv)), ts+3931 /* "carray" */)
+ (*carray_cursor)(unsafe.Pointer(pCur)).FpPtr = sqlite3.Xsqlite3_value_pointer(tls, *(*uintptr)(unsafe.Pointer(argv)), ts+3921 /* "carray" */)
(*carray_cursor)(unsafe.Pointer(pCur)).FiCnt = func() int64 {
if (*carray_cursor)(unsafe.Pointer(pCur)).FpPtr != 0 {
return sqlite3.Xsqlite3_value_int64(tls, *(*uintptr)(unsafe.Pointer(argv + 1*8)))
@@ -16593,7 +16625,7 @@ func carrayFilter(tls *libc.TLS, pVtabCursor uintptr, idxNum int32, idxStr uintp
}
if uint64(i) >= (uint64(unsafe.Sizeof(azType)) / uint64(unsafe.Sizeof(uintptr(0)))) {
(*sqlite3_vtab)(unsafe.Pointer((*sqlite3_vtab_cursor)(unsafe.Pointer(pVtabCursor)).FpVtab)).FzErrMsg = sqlite3.Xsqlite3_mprintf(tls,
- ts+3938 /* "unknown datatype..." */, libc.VaList(bp, zType))
+ ts+3928 /* "unknown datatype..." */, libc.VaList(bp, zType))
return SQLITE_ERROR
} else {
(*carray_cursor)(unsafe.Pointer(pCur)).FeType = i
@@ -16783,7 +16815,7 @@ func sqlite3_carray_bind(tls *libc.TLS, pStmt uintptr, idx int32, aData uintptr,
(*carray_bind)(unsafe.Pointer(pNew)).FaData = aData
(*carray_bind)(unsafe.Pointer(pNew)).FxDel = xDestroy
}
- return sqlite3.Xsqlite3_bind_pointer(tls, pStmt, idx, pNew, ts+3919 /* "carray-bind" */, *(*uintptr)(unsafe.Pointer(&struct{ f func(*libc.TLS, uintptr) }{carrayBindDel})))
+ return sqlite3.Xsqlite3_bind_pointer(tls, pStmt, idx, pNew, ts+3909 /* "carray-bind" */, *(*uintptr)(unsafe.Pointer(&struct{ f func(*libc.TLS, uintptr) }{carrayBindDel})))
}
// For testing purpose in the TCL test harness, we need a method for
@@ -16808,16 +16840,16 @@ func inttoptrFunc(tls *libc.TLS, context uintptr, argc int32, argv uintptr) { /*
*(*int32)(unsafe.Pointer(bp + 16 /* i32 */)) = (int32(*(*sqlite3_int64)(unsafe.Pointer(bp + 8 /* i64 */)) & int64(0xffffffff)))
libc.Xmemcpy(tls, bp /* &p */, bp+16 /* &i32 */, uint64(unsafe.Sizeof(uintptr(0))))
}
- sqlite3.Xsqlite3_result_pointer(tls, context, *(*uintptr)(unsafe.Pointer(bp /* p */)), ts+3931 /* "carray" */, uintptr(0))
+ sqlite3.Xsqlite3_result_pointer(tls, context, *(*uintptr)(unsafe.Pointer(bp /* p */)), ts+3921 /* "carray" */, uintptr(0))
}
func sqlite3_carray_init(tls *libc.TLS, db uintptr, pzErrMsg uintptr, pApi uintptr) int32 { /* carray.c:504:5: */
var rc int32 = SQLITE_OK
_ = pApi
- rc = sqlite3.Xsqlite3_create_module(tls, db, ts+3931 /* "carray" */, uintptr(unsafe.Pointer(&carrayModule)), uintptr(0))
+ rc = sqlite3.Xsqlite3_create_module(tls, db, ts+3921 /* "carray" */, uintptr(unsafe.Pointer(&carrayModule)), uintptr(0))
if rc == SQLITE_OK {
- rc = sqlite3.Xsqlite3_create_function(tls, db, ts+3959 /* "inttoptr" */, 1, SQLITE_UTF8, uintptr(0),
+ rc = sqlite3.Xsqlite3_create_function(tls, db, ts+3949 /* "inttoptr" */, 1, SQLITE_UTF8, uintptr(0),
*(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, int32, uintptr)
}{inttoptrFunc})), uintptr(0), uintptr(0))
@@ -16825,7 +16857,7 @@ func sqlite3_carray_init(tls *libc.TLS, db uintptr, pzErrMsg uintptr, pApi uintp
return rc
}
-// Copyright (C) 1991-2018 Free Software Foundation, Inc.
+// Copyright (C) 1991-2020 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
@@ -16840,11 +16872,11 @@ func sqlite3_carray_init(tls *libc.TLS, db uintptr, pzErrMsg uintptr, pApi uintp
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// ISO C99 Standard: 7.2 Diagnostics
-// Copyright (C) 1991-2018 Free Software Foundation, Inc.
+// Copyright (C) 1991-2020 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
@@ -16859,7 +16891,7 @@ func sqlite3_carray_init(tls *libc.TLS, db uintptr, pzErrMsg uintptr, pApi uintp
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// void assert (int expression);
//
@@ -16893,7 +16925,7 @@ type u8 = uint8 /* cksumvfs.c:183:25 */
var cksm_vfs = sqlite3_vfs{
FiVersion: 3, // szOsFile (set when registered)
FmxPathname: 1024, // pNext
- FzName: ts + 3968, /* "cksmvfs" */ /* pAppData (set when registered) */
+ FzName: ts + 3958, /* "cksmvfs" */ /* pAppData (set when registered) */
FxOpen: 0, // xOpen
FxDelete: 0, // xDelete
FxAccess: 0, // xAccess
@@ -17029,7 +17061,7 @@ func cksmRead(tls *libc.TLS, pFile uintptr, zBuf uintptr, iAmt int32, iOfst sqli
pFile = ((pFile) + uintptr(1)*32)
rc = (*(*func(*libc.TLS, uintptr, uintptr, int32, sqlite3_int64) int32)(unsafe.Pointer(((*sqlite3_file)(unsafe.Pointer(pFile)).FpMethods + 16 /* &.xRead */))))(tls, pFile, zBuf, iAmt, iOfst)
if rc == SQLITE_OK {
- if ((iOfst == int64(0)) && (iAmt >= 100)) && ((libc.Xmemcmp(tls, zBuf, ts+3159 /* "SQLite format 3" */, uint64(16)) == 0) || (libc.Xmemcmp(tls, zBuf, ts+3976 /* "ZV-" */, uint64(3)) == 0)) {
+ if ((iOfst == int64(0)) && (iAmt >= 100)) && ((libc.Xmemcmp(tls, zBuf, ts+3149 /* "SQLite format 3" */, uint64(16)) == 0) || (libc.Xmemcmp(tls, zBuf, ts+3966 /* "ZV-" */, uint64(3)) == 0)) {
var d uintptr = zBuf
var hasCorrectReserveSize int8 = (int8(libc.Bool32(int32(*(*u8)(unsafe.Pointer(d + 20))) == 8)))
cksmSetFlags(tls, p, int32(hasCorrectReserveSize))
@@ -17047,7 +17079,7 @@ func cksmRead(tls *libc.TLS, pFile uintptr, zBuf uintptr, iAmt int32, iOfst sqli
cksmCompute(tls, zBuf, (iAmt - 8), bp+16 /* &cksum[0] */)
if libc.Xmemcmp(tls, ((zBuf+uintptr(iAmt))-uintptr(8)), bp+16 /* &cksum[0] */, uint64(8)) != 0 {
sqlite3.Xsqlite3_log(tls, (SQLITE_IOERR | (int32(32) << 8)),
- ts+3980, /* "checksum fault o..." */
+ ts+3970, /* "checksum fault o..." */
libc.VaList(bp, iOfst, (*CksmFile)(unsafe.Pointer(p)).FzFName))
rc = (SQLITE_IOERR | (int32(32) << 8))
}
@@ -17060,7 +17092,7 @@ func cksmRead(tls *libc.TLS, pFile uintptr, zBuf uintptr, iAmt int32, iOfst sqli
func cksmWrite(tls *libc.TLS, pFile uintptr, zBuf uintptr, iAmt int32, iOfst sqlite_int64) int32 { /* cksumvfs.c:469:12: */
var p uintptr = pFile
pFile = ((pFile) + uintptr(1)*32)
- if ((iOfst == int64(0)) && (iAmt >= 100)) && ((libc.Xmemcmp(tls, zBuf, ts+3159 /* "SQLite format 3" */, uint64(16)) == 0) || (libc.Xmemcmp(tls, zBuf, ts+3976 /* "ZV-" */, uint64(3)) == 0)) {
+ if ((iOfst == int64(0)) && (iAmt >= 100)) && ((libc.Xmemcmp(tls, zBuf, ts+3149 /* "SQLite format 3" */, uint64(16)) == 0) || (libc.Xmemcmp(tls, zBuf, ts+3966 /* "ZV-" */, uint64(3)) == 0)) {
var d uintptr = zBuf
var hasCorrectReserveSize int8 = (int8(libc.Bool32(int32(*(*u8)(unsafe.Pointer(d + 20))) == 8)))
cksmSetFlags(tls, p, int32(hasCorrectReserveSize))
@@ -17126,13 +17158,13 @@ func cksmFileControl(tls *libc.TLS, pFile uintptr, op int32, pArg uintptr) int32
if op == SQLITE_FCNTL_PRAGMA {
var azArg uintptr = pArg
- if sqlite3.Xsqlite3_stricmp(tls, *(*uintptr)(unsafe.Pointer(azArg + 1*8)), ts+4015 /* "checksum_verific..." */) == 0 {
+ if sqlite3.Xsqlite3_stricmp(tls, *(*uintptr)(unsafe.Pointer(azArg + 1*8)), ts+4005 /* "checksum_verific..." */) == 0 {
var zArg uintptr = *(*uintptr)(unsafe.Pointer(azArg + 2*8))
if zArg != uintptr(0) {
if ((((int32(*(*int8)(unsafe.Pointer(zArg))) >= '1') && (int32(*(*int8)(unsafe.Pointer(zArg))) <= '9')) ||
- (sqlite3.Xsqlite3_strlike(tls, ts+4037 /* "enable%" */, zArg, uint32(0)) == 0)) ||
- (sqlite3.Xsqlite3_stricmp(tls, ts+4045 /* "yes" */, zArg) == 0)) ||
- (sqlite3.Xsqlite3_stricmp(tls, ts+4049 /* "on" */, zArg) == 0) {
+ (sqlite3.Xsqlite3_strlike(tls, ts+4027 /* "enable%" */, zArg, uint32(0)) == 0)) ||
+ (sqlite3.Xsqlite3_stricmp(tls, ts+4035 /* "yes" */, zArg) == 0)) ||
+ (sqlite3.Xsqlite3_stricmp(tls, ts+4039 /* "on" */, zArg) == 0) {
(*CksmFile)(unsafe.Pointer(p)).FverifyCksm = (*CksmFile)(unsafe.Pointer(p)).FcomputeCksm
} else {
(*CksmFile)(unsafe.Pointer(p)).FverifyCksm = int8(0)
@@ -17144,7 +17176,7 @@ func cksmFileControl(tls *libc.TLS, pFile uintptr, op int32, pArg uintptr) int32
*(*uintptr)(unsafe.Pointer(azArg)) = sqlite3.Xsqlite3_mprintf(tls, ts+1238 /* "%d" */, libc.VaList(bp, int32((*CksmFile)(unsafe.Pointer(p)).FverifyCksm)))
return SQLITE_OK
} else if (((*CksmFile)(unsafe.Pointer(p)).FcomputeCksm != 0) && (*(*uintptr)(unsafe.Pointer(azArg + 2*8)) != uintptr(0))) &&
- (sqlite3.Xsqlite3_stricmp(tls, *(*uintptr)(unsafe.Pointer(azArg + 1*8)), ts+4052 /* "page_size" */) == 0) {
+ (sqlite3.Xsqlite3_stricmp(tls, *(*uintptr)(unsafe.Pointer(azArg + 1*8)), ts+4042 /* "page_size" */) == 0) {
// Do not allow page size changes on a checksum database
return SQLITE_OK
}
@@ -17153,52 +17185,64 @@ func cksmFileControl(tls *libc.TLS, pFile uintptr, op int32, pArg uintptr) int32
if (*CksmFile)(unsafe.Pointer(p)).FpPartner != 0 {
(*CksmFile)(unsafe.Pointer((*CksmFile)(unsafe.Pointer(p)).FpPartner)).FinCkpt = (*CksmFile)(unsafe.Pointer(p)).FinCkpt
}
+ } else if op == SQLITE_FCNTL_CKSM_FILE {
+ // This VFS needs to obtain a pointer to the corresponding database
+ // file handle from within xOpen() calls to open wal files. To do this,
+ // it uses the sqlite3_database_file_object() API to obtain a pointer
+ // to the file-handle used by SQLite to access the db file. This is
+ // fine if cksmvfs happens to be the top-level VFS, but not if there
+ // are one or more wrapper VFS. To handle this case, this file-control
+ // is used to extract the cksmvfs file-handle from any wrapper file
+ // handle.
+ var ppFile uintptr = pArg
+ *(*uintptr)(unsafe.Pointer(ppFile)) = p
+ return SQLITE_OK
}
rc = (*(*func(*libc.TLS, uintptr, int32, uintptr) int32)(unsafe.Pointer(((*sqlite3_file)(unsafe.Pointer(pFile)).FpMethods + 80 /* &.xFileControl */))))(tls, pFile, op, pArg)
if (rc == SQLITE_OK) && (op == SQLITE_FCNTL_VFSNAME) {
- *(*uintptr)(unsafe.Pointer(pArg)) = sqlite3.Xsqlite3_mprintf(tls, ts+4062 /* "cksm/%z" */, libc.VaList(bp+8, *(*uintptr)(unsafe.Pointer(pArg))))
+ *(*uintptr)(unsafe.Pointer(pArg)) = sqlite3.Xsqlite3_mprintf(tls, ts+4052 /* "cksm/%z" */, libc.VaList(bp+8, *(*uintptr)(unsafe.Pointer(pArg))))
}
return rc
}
// Return the sector-size in bytes for a cksm-file.
-func cksmSectorSize(tls *libc.TLS, pFile uintptr) int32 { /* cksumvfs.c:593:12: */
+func cksmSectorSize(tls *libc.TLS, pFile uintptr) int32 { /* cksumvfs.c:605:12: */
pFile = ((pFile) + uintptr(1)*32)
return (*(*func(*libc.TLS, uintptr) int32)(unsafe.Pointer(((*sqlite3_file)(unsafe.Pointer(pFile)).FpMethods + 88 /* &.xSectorSize */))))(tls, pFile)
}
// Return the device characteristic flags supported by a cksm-file.
-func cksmDeviceCharacteristics(tls *libc.TLS, pFile uintptr) int32 { /* cksumvfs.c:601:12: */
+func cksmDeviceCharacteristics(tls *libc.TLS, pFile uintptr) int32 { /* cksumvfs.c:613:12: */
pFile = ((pFile) + uintptr(1)*32)
return (*(*func(*libc.TLS, uintptr) int32)(unsafe.Pointer(((*sqlite3_file)(unsafe.Pointer(pFile)).FpMethods + 96 /* &.xDeviceCharacteristics */))))(tls, pFile)
}
// Create a shared memory file mapping
-func cksmShmMap(tls *libc.TLS, pFile uintptr, iPg int32, pgsz int32, bExtend int32, pp uintptr) int32 { /* cksumvfs.c:607:12: */
+func cksmShmMap(tls *libc.TLS, pFile uintptr, iPg int32, pgsz int32, bExtend int32, pp uintptr) int32 { /* cksumvfs.c:619:12: */
pFile = ((pFile) + uintptr(1)*32)
return (*(*func(*libc.TLS, uintptr, int32, int32, int32, uintptr) int32)(unsafe.Pointer(((*sqlite3_file)(unsafe.Pointer(pFile)).FpMethods + 104 /* &.xShmMap */))))(tls, pFile, iPg, pgsz, bExtend, libc.AtomicLoadUintptr(&pp))
}
// Perform locking on a shared-memory segment
-func cksmShmLock(tls *libc.TLS, pFile uintptr, offset int32, n int32, flags int32) int32 { /* cksumvfs.c:619:12: */
+func cksmShmLock(tls *libc.TLS, pFile uintptr, offset int32, n int32, flags int32) int32 { /* cksumvfs.c:631:12: */
pFile = ((pFile) + uintptr(1)*32)
return (*(*func(*libc.TLS, uintptr, int32, int32, int32) int32)(unsafe.Pointer(((*sqlite3_file)(unsafe.Pointer(pFile)).FpMethods + 112 /* &.xShmLock */))))(tls, pFile, offset, n, flags)
}
// Memory barrier operation on shared memory
-func cksmShmBarrier(tls *libc.TLS, pFile uintptr) { /* cksumvfs.c:625:13: */
+func cksmShmBarrier(tls *libc.TLS, pFile uintptr) { /* cksumvfs.c:637:13: */
pFile = ((pFile) + uintptr(1)*32)
(*(*func(*libc.TLS, uintptr))(unsafe.Pointer(((*sqlite3_file)(unsafe.Pointer(pFile)).FpMethods + 120 /* &.xShmBarrier */))))(tls, pFile)
}
// Unmap a shared memory segment
-func cksmShmUnmap(tls *libc.TLS, pFile uintptr, deleteFlag int32) int32 { /* cksumvfs.c:631:12: */
+func cksmShmUnmap(tls *libc.TLS, pFile uintptr, deleteFlag int32) int32 { /* cksumvfs.c:643:12: */
pFile = ((pFile) + uintptr(1)*32)
return (*(*func(*libc.TLS, uintptr, int32) int32)(unsafe.Pointer(((*sqlite3_file)(unsafe.Pointer(pFile)).FpMethods + 128 /* &.xShmUnmap */))))(tls, pFile, deleteFlag)
}
// Fetch a page of a memory-mapped file
-func cksmFetch(tls *libc.TLS, pFile uintptr, iOfst sqlite3_int64, iAmt int32, pp uintptr) int32 { /* cksumvfs.c:637:12: */
+func cksmFetch(tls *libc.TLS, pFile uintptr, iOfst sqlite3_int64, iAmt int32, pp uintptr) int32 { /* cksumvfs.c:649:12: */
var p uintptr = pFile
if (*CksmFile)(unsafe.Pointer(p)).FcomputeCksm != 0 {
*(*uintptr)(unsafe.Pointer(pp)) = uintptr(0)
@@ -17213,7 +17257,7 @@ func cksmFetch(tls *libc.TLS, pFile uintptr, iOfst sqlite3_int64, iAmt int32, pp
}
// Release a memory-mapped page
-func cksmUnfetch(tls *libc.TLS, pFile uintptr, iOfst sqlite3_int64, pPage uintptr) int32 { /* cksumvfs.c:657:12: */
+func cksmUnfetch(tls *libc.TLS, pFile uintptr, iOfst sqlite3_int64, pPage uintptr) int32 { /* cksumvfs.c:669:12: */
pFile = ((pFile) + uintptr(1)*32)
if ((*sqlite3_io_methods1)(unsafe.Pointer((*sqlite3_file)(unsafe.Pointer(pFile)).FpMethods)).FiVersion > 2) && ((*sqlite3_io_methods1)(unsafe.Pointer((*sqlite3_file)(unsafe.Pointer(pFile)).FpMethods)).FxUnfetch != 0) {
return (*(*func(*libc.TLS, uintptr, sqlite3_int64, uintptr) int32)(unsafe.Pointer(((*sqlite3_file)(unsafe.Pointer(pFile)).FpMethods + 144 /* &.xUnfetch */))))(tls, pFile, iOfst, pPage)
@@ -17222,12 +17266,16 @@ func cksmUnfetch(tls *libc.TLS, pFile uintptr, iOfst sqlite3_int64, pPage uintpt
}
// Open a cksm file handle.
-func cksmOpen(tls *libc.TLS, pVfs uintptr, zName uintptr, pFile uintptr, flags int32, pOutFlags uintptr) int32 { /* cksumvfs.c:668:12: */
+func cksmOpen(tls *libc.TLS, pVfs uintptr, zName uintptr, pFile uintptr, flags int32, pOutFlags uintptr) int32 { /* cksumvfs.c:680:12: */
+ bp := tls.Alloc(8)
+ defer tls.Free(8)
+
var p uintptr
var pSubFile uintptr
var pSubVfs uintptr
var rc int32
- var pDb uintptr
+ // var pDb uintptr at bp, 8
+
pSubVfs = (*sqlite3_vfs)(unsafe.Pointer(pVfs)).FpAppData
if !((flags & (SQLITE_OPEN_MAIN_DB | SQLITE_OPEN_WAL)) == 0) {
goto __1
@@ -17249,8 +17297,10 @@ __2:
if !((flags & SQLITE_OPEN_WAL) != 0) {
goto __3
}
- pDb = sqlite3.Xsqlite3_database_file_object(tls, zName)
- (*CksmFile)(unsafe.Pointer(p)).FpPartner = pDb
+ *(*uintptr)(unsafe.Pointer(bp /* pDb */)) = sqlite3.Xsqlite3_database_file_object(tls, zName)
+ rc = (*(*func(*libc.TLS, uintptr, int32, uintptr) int32)(unsafe.Pointer(((*sqlite3_file)(unsafe.Pointer(*(*uintptr)(unsafe.Pointer(bp /* pDb */)))).FpMethods + 80 /* &.xFileControl */))))(tls, *(*uintptr)(unsafe.Pointer(bp /* pDb */)), SQLITE_FCNTL_CKSM_FILE, bp /* &pDb */)
+
+ (*CksmFile)(unsafe.Pointer(p)).FpPartner = *(*uintptr)(unsafe.Pointer(bp /* pDb */))
(*CksmFile)(unsafe.Pointer((*CksmFile)(unsafe.Pointer(p)).FpPartner)).FpPartner = p
(*CksmFile)(unsafe.Pointer(p)).FisWal = int8(1)
@@ -17273,51 +17323,51 @@ __5:
}
// All other VFS methods are pass-thrus.
-func cksmDelete(tls *libc.TLS, pVfs uintptr, zPath uintptr, dirSync int32) int32 { /* cksumvfs.c:709:12: */
+func cksmDelete(tls *libc.TLS, pVfs uintptr, zPath uintptr, dirSync int32) int32 { /* cksumvfs.c:723:12: */
return (*(*func(*libc.TLS, uintptr, uintptr, int32) int32)(unsafe.Pointer(((*sqlite3_vfs)(unsafe.Pointer(pVfs)).FpAppData + 48 /* &.xDelete */))))(tls, (*sqlite3_vfs)(unsafe.Pointer(pVfs)).FpAppData, zPath, dirSync)
}
-func cksmAccess(tls *libc.TLS, pVfs uintptr, zPath uintptr, flags int32, pResOut uintptr) int32 { /* cksumvfs.c:712:12: */
+func cksmAccess(tls *libc.TLS, pVfs uintptr, zPath uintptr, flags int32, pResOut uintptr) int32 { /* cksumvfs.c:726:12: */
return (*(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(((*sqlite3_vfs)(unsafe.Pointer(pVfs)).FpAppData + 56 /* &.xAccess */))))(tls, (*sqlite3_vfs)(unsafe.Pointer(pVfs)).FpAppData, zPath, flags, pResOut)
}
-func cksmFullPathname(tls *libc.TLS, pVfs uintptr, zPath uintptr, nOut int32, zOut uintptr) int32 { /* cksumvfs.c:720:12: */
+func cksmFullPathname(tls *libc.TLS, pVfs uintptr, zPath uintptr, nOut int32, zOut uintptr) int32 { /* cksumvfs.c:734:12: */
return (*(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(((*sqlite3_vfs)(unsafe.Pointer(pVfs)).FpAppData + 64 /* &.xFullPathname */))))(tls, (*sqlite3_vfs)(unsafe.Pointer(pVfs)).FpAppData, zPath, nOut, zOut)
}
-func cksmDlOpen(tls *libc.TLS, pVfs uintptr, zPath uintptr) uintptr { /* cksumvfs.c:728:13: */
+func cksmDlOpen(tls *libc.TLS, pVfs uintptr, zPath uintptr) uintptr { /* cksumvfs.c:742:13: */
return (*(*func(*libc.TLS, uintptr, uintptr) uintptr)(unsafe.Pointer(((*sqlite3_vfs)(unsafe.Pointer(pVfs)).FpAppData + 72 /* &.xDlOpen */))))(tls, (*sqlite3_vfs)(unsafe.Pointer(pVfs)).FpAppData, zPath)
}
-func cksmDlError(tls *libc.TLS, pVfs uintptr, nByte int32, zErrMsg uintptr) { /* cksumvfs.c:731:13: */
+func cksmDlError(tls *libc.TLS, pVfs uintptr, nByte int32, zErrMsg uintptr) { /* cksumvfs.c:745:13: */
(*(*func(*libc.TLS, uintptr, int32, uintptr))(unsafe.Pointer(((*sqlite3_vfs)(unsafe.Pointer(pVfs)).FpAppData + 80 /* &.xDlError */))))(tls, (*sqlite3_vfs)(unsafe.Pointer(pVfs)).FpAppData, nByte, zErrMsg)
}
-func cksmDlSym(tls *libc.TLS, pVfs uintptr, p uintptr, zSym uintptr) uintptr { /* cksumvfs.c:734:13: */
+func cksmDlSym(tls *libc.TLS, pVfs uintptr, p uintptr, zSym uintptr) uintptr { /* cksumvfs.c:748:13: */
return (*(*func(*libc.TLS, uintptr, uintptr, uintptr) uintptr)(unsafe.Pointer(((*sqlite3_vfs)(unsafe.Pointer(pVfs)).FpAppData + 88 /* &.xDlSym */))))(tls, (*sqlite3_vfs)(unsafe.Pointer(pVfs)).FpAppData, p, zSym)
}
-func cksmDlClose(tls *libc.TLS, pVfs uintptr, pHandle uintptr) { /* cksumvfs.c:737:13: */
+func cksmDlClose(tls *libc.TLS, pVfs uintptr, pHandle uintptr) { /* cksumvfs.c:751:13: */
(*(*func(*libc.TLS, uintptr, uintptr))(unsafe.Pointer(((*sqlite3_vfs)(unsafe.Pointer(pVfs)).FpAppData + 96 /* &.xDlClose */))))(tls, (*sqlite3_vfs)(unsafe.Pointer(pVfs)).FpAppData, pHandle)
}
-func cksmRandomness(tls *libc.TLS, pVfs uintptr, nByte int32, zBufOut uintptr) int32 { /* cksumvfs.c:740:12: */
+func cksmRandomness(tls *libc.TLS, pVfs uintptr, nByte int32, zBufOut uintptr) int32 { /* cksumvfs.c:754:12: */
return (*(*func(*libc.TLS, uintptr, int32, uintptr) int32)(unsafe.Pointer(((*sqlite3_vfs)(unsafe.Pointer(pVfs)).FpAppData + 104 /* &.xRandomness */))))(tls, (*sqlite3_vfs)(unsafe.Pointer(pVfs)).FpAppData, nByte, zBufOut)
}
-func cksmSleep(tls *libc.TLS, pVfs uintptr, nMicro int32) int32 { /* cksumvfs.c:743:12: */
+func cksmSleep(tls *libc.TLS, pVfs uintptr, nMicro int32) int32 { /* cksumvfs.c:757:12: */
return (*(*func(*libc.TLS, uintptr, int32) int32)(unsafe.Pointer(((*sqlite3_vfs)(unsafe.Pointer(pVfs)).FpAppData + 112 /* &.xSleep */))))(tls, (*sqlite3_vfs)(unsafe.Pointer(pVfs)).FpAppData, nMicro)
}
-func cksmCurrentTime(tls *libc.TLS, pVfs uintptr, pTimeOut uintptr) int32 { /* cksumvfs.c:746:12: */
+func cksmCurrentTime(tls *libc.TLS, pVfs uintptr, pTimeOut uintptr) int32 { /* cksumvfs.c:760:12: */
return (*(*func(*libc.TLS, uintptr, uintptr) int32)(unsafe.Pointer(((*sqlite3_vfs)(unsafe.Pointer(pVfs)).FpAppData + 120 /* &.xCurrentTime */))))(tls, (*sqlite3_vfs)(unsafe.Pointer(pVfs)).FpAppData, pTimeOut)
}
-func cksmGetLastError(tls *libc.TLS, pVfs uintptr, a int32, b uintptr) int32 { /* cksumvfs.c:749:12: */
+func cksmGetLastError(tls *libc.TLS, pVfs uintptr, a int32, b uintptr) int32 { /* cksumvfs.c:763:12: */
return (*(*func(*libc.TLS, uintptr, int32, uintptr) int32)(unsafe.Pointer(((*sqlite3_vfs)(unsafe.Pointer(pVfs)).FpAppData + 128 /* &.xGetLastError */))))(tls, (*sqlite3_vfs)(unsafe.Pointer(pVfs)).FpAppData, a, b)
}
-func cksmCurrentTimeInt64(tls *libc.TLS, pVfs uintptr, p uintptr) int32 { /* cksumvfs.c:752:12: */
+func cksmCurrentTimeInt64(tls *libc.TLS, pVfs uintptr, p uintptr) int32 { /* cksumvfs.c:766:12: */
bp := tls.Alloc(8)
defer tls.Free(8)
@@ -17335,25 +17385,25 @@ func cksmCurrentTimeInt64(tls *libc.TLS, pVfs uintptr, p uintptr) int32 { /* cks
return rc
}
-func cksmSetSystemCall(tls *libc.TLS, pVfs uintptr, zName uintptr, pCall sqlite3_syscall_ptr) int32 { /* cksumvfs.c:765:12: */
+func cksmSetSystemCall(tls *libc.TLS, pVfs uintptr, zName uintptr, pCall sqlite3_syscall_ptr) int32 { /* cksumvfs.c:779:12: */
return (*(*func(*libc.TLS, uintptr, uintptr, sqlite3_syscall_ptr) int32)(unsafe.Pointer(((*sqlite3_vfs)(unsafe.Pointer(pVfs)).FpAppData + 144 /* &.xSetSystemCall */))))(tls, (*sqlite3_vfs)(unsafe.Pointer(pVfs)).FpAppData, zName, pCall)
}
-func cksmGetSystemCall(tls *libc.TLS, pVfs uintptr, zName uintptr) sqlite3_syscall_ptr { /* cksumvfs.c:772:28: */
+func cksmGetSystemCall(tls *libc.TLS, pVfs uintptr, zName uintptr) sqlite3_syscall_ptr { /* cksumvfs.c:786:28: */
return (*(*func(*libc.TLS, uintptr, uintptr) sqlite3_syscall_ptr)(unsafe.Pointer(((*sqlite3_vfs)(unsafe.Pointer(pVfs)).FpAppData + 152 /* &.xGetSystemCall */))))(tls, (*sqlite3_vfs)(unsafe.Pointer(pVfs)).FpAppData, zName)
}
-func cksmNextSystemCall(tls *libc.TLS, pVfs uintptr, zName uintptr) uintptr { /* cksumvfs.c:778:19: */
+func cksmNextSystemCall(tls *libc.TLS, pVfs uintptr, zName uintptr) uintptr { /* cksumvfs.c:792:19: */
return (*(*func(*libc.TLS, uintptr, uintptr) uintptr)(unsafe.Pointer(((*sqlite3_vfs)(unsafe.Pointer(pVfs)).FpAppData + 160 /* &.xNextSystemCall */))))(tls, (*sqlite3_vfs)(unsafe.Pointer(pVfs)).FpAppData, zName)
}
// Register the verify_checksum() SQL function.
-func cksmRegisterFunc(tls *libc.TLS, db uintptr, pzErrMsg uintptr, pApi uintptr) int32 { /* cksumvfs.c:784:12: */
+func cksmRegisterFunc(tls *libc.TLS, db uintptr, pzErrMsg uintptr, pApi uintptr) int32 { /* cksumvfs.c:798:12: */
var rc int32
if db == uintptr(0) {
return SQLITE_OK
}
- rc = sqlite3.Xsqlite3_create_function(tls, db, ts+4070 /* "verify_checksum" */, 1,
+ rc = sqlite3.Xsqlite3_create_function(tls, db, ts+4060 /* "verify_checksum" */, 1,
((SQLITE_UTF8 | SQLITE_INNOCUOUS) | SQLITE_DETERMINISTIC),
uintptr(0), *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, int32, uintptr)
@@ -17364,13 +17414,16 @@ func cksmRegisterFunc(tls *libc.TLS, db uintptr, pzErrMsg uintptr, pApi uintptr)
// Register the cksum VFS as the default VFS for the system.
// Also make arrangements to automatically register the "verify_checksum()"
// SQL function on each new database connection.
-func cksmRegisterVfs(tls *libc.TLS) int32 { /* cksumvfs.c:807:12: */
+func cksmRegisterVfs(tls *libc.TLS) int32 { /* cksumvfs.c:821:12: */
var rc int32 = SQLITE_OK
var pOrig uintptr
- if sqlite3.Xsqlite3_vfs_find(tls, ts+3968 /* "cksmvfs" */) != uintptr(0) {
+ if sqlite3.Xsqlite3_vfs_find(tls, ts+3958 /* "cksmvfs" */) != uintptr(0) {
return SQLITE_OK
}
pOrig = sqlite3.Xsqlite3_vfs_find(tls, uintptr(0))
+ if pOrig == uintptr(0) {
+ return SQLITE_ERROR
+ }
cksm_vfs.FiVersion = (*sqlite3_vfs)(unsafe.Pointer(pOrig)).FiVersion
cksm_vfs.FpAppData = pOrig
cksm_vfs.FszOsFile = (int32(uint64((*sqlite3_vfs)(unsafe.Pointer(pOrig)).FszOsFile) + uint64(unsafe.Sizeof(CksmFile{}))))
@@ -17385,13 +17438,13 @@ func cksmRegisterVfs(tls *libc.TLS) int32 { /* cksumvfs.c:807:12: */
// This variant of the initializer runs when the extension is
// statically linked.
-func sqlite3_register_cksumvfs(tls *libc.TLS, NotUsed uintptr) int32 { /* cksumvfs.c:826:5: */
+func sqlite3_register_cksumvfs(tls *libc.TLS, NotUsed uintptr) int32 { /* cksumvfs.c:841:5: */
_ = NotUsed
return cksmRegisterVfs(tls)
}
-func sqlite3_unregister_cksumvfs(tls *libc.TLS) int32 { /* cksumvfs.c:830:5: */
- if sqlite3.Xsqlite3_vfs_find(tls, ts+3968 /* "cksmvfs" */) != 0 {
+func sqlite3_unregister_cksumvfs(tls *libc.TLS) int32 { /* cksumvfs.c:845:5: */
+ if sqlite3.Xsqlite3_vfs_find(tls, ts+3958 /* "cksmvfs" */) != 0 {
sqlite3.Xsqlite3_vfs_unregister(tls, uintptr(unsafe.Pointer(&cksm_vfs)))
sqlite3.Xsqlite3_cancel_auto_extension(tls, *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, uintptr, uintptr) int32
@@ -17801,7 +17854,7 @@ __4:
if !(i < argc) {
goto __6
}
- zVal = closureValueOfKey(tls, ts+4086 /* "tablename" */, *(*uintptr)(unsafe.Pointer(argv + uintptr(i)*8)))
+ zVal = closureValueOfKey(tls, ts+4076 /* "tablename" */, *(*uintptr)(unsafe.Pointer(argv + uintptr(i)*8)))
if !(zVal != 0) {
goto __7
}
@@ -17816,7 +17869,7 @@ __8:
goto __5
__7:
;
- zVal = closureValueOfKey(tls, ts+4096 /* "idcolumn" */, *(*uintptr)(unsafe.Pointer(argv + uintptr(i)*8)))
+ zVal = closureValueOfKey(tls, ts+4086 /* "idcolumn" */, *(*uintptr)(unsafe.Pointer(argv + uintptr(i)*8)))
if !(zVal != 0) {
goto __9
}
@@ -17831,7 +17884,7 @@ __10:
goto __5
__9:
;
- zVal = closureValueOfKey(tls, ts+4105 /* "parentcolumn" */, *(*uintptr)(unsafe.Pointer(argv + uintptr(i)*8)))
+ zVal = closureValueOfKey(tls, ts+4095 /* "parentcolumn" */, *(*uintptr)(unsafe.Pointer(argv + uintptr(i)*8)))
if !(zVal != 0) {
goto __11
}
@@ -17846,7 +17899,7 @@ __12:
goto __5
__11:
;
- *(*uintptr)(unsafe.Pointer(pzErr)) = sqlite3.Xsqlite3_mprintf(tls, ts+3407 /* "unrecognized arg..." */, libc.VaList(bp+16, *(*uintptr)(unsafe.Pointer(argv + uintptr(i)*8))))
+ *(*uintptr)(unsafe.Pointer(pzErr)) = sqlite3.Xsqlite3_mprintf(tls, ts+3397 /* "unrecognized arg..." */, libc.VaList(bp+16, *(*uintptr)(unsafe.Pointer(argv + uintptr(i)*8))))
closureFree(tls, pNew)
*(*uintptr)(unsafe.Pointer(ppVtab)) = uintptr(0)
return SQLITE_ERROR
@@ -17859,7 +17912,7 @@ __6:
;
rc = sqlite3.Xsqlite3_declare_vtab(tls, db,
- ts+4118 /* "CREATE TABLE x(i..." */)
+ ts+4108 /* "CREATE TABLE x(i..." */)
if !(rc != SQLITE_OK) {
goto __13
}
@@ -17989,7 +18042,7 @@ func closureFilter(tls *libc.TLS, pVtabCursor uintptr, idxNum int32, idxStr uint
}
zSql = sqlite3.Xsqlite3_mprintf(tls,
- ts+4208, /* "SELECT \"%w\".\"%w\"..." */
+ ts+4198, /* "SELECT \"%w\".\"%w\"..." */
libc.VaList(bp+24, zTableName, zIdColumn, zTableName, zTableName, zParentColumn))
if zSql == uintptr(0) {
return SQLITE_NOMEM
@@ -18267,7 +18320,7 @@ func sqlite3_closure_init(tls *libc.TLS, db uintptr, pzErrMsg uintptr, pApi uint
_ = pApi
_ = pzErrMsg
- rc = sqlite3.Xsqlite3_create_module(tls, db, ts+4254 /* "transitive_closu..." */, uintptr(unsafe.Pointer(&closureModule)), uintptr(0))
+ rc = sqlite3.Xsqlite3_create_module(tls, db, ts+4244 /* "transitive_closu..." */, uintptr(unsafe.Pointer(&closureModule)), uintptr(0))
return rc
}
@@ -18354,11 +18407,11 @@ func csv_reader_open(tls *libc.TLS, p uintptr, zFilename uintptr, zData uintptr)
csv_errmsg(tls, p, ts+1930 /* "out of memory" */, 0)
return 1
}
- (*CsvReader)(unsafe.Pointer(p)).Fin = libc.Xfopen(tls, zFilename, ts+4273 /* "rb" */)
+ (*CsvReader)(unsafe.Pointer(p)).Fin = libc.Xfopen(tls, zFilename, ts+4263 /* "rb" */)
if (*CsvReader)(unsafe.Pointer(p)).Fin == uintptr(0) {
sqlite3.Xsqlite3_free(tls, (*CsvReader)(unsafe.Pointer(p)).FzIn)
csv_reader_reset(tls, p)
- csv_errmsg(tls, p, ts+4276 /* "cannot open '%s'..." */, libc.VaList(bp, zFilename))
+ csv_errmsg(tls, p, ts+4266 /* "cannot open '%s'..." */, libc.VaList(bp, zFilename))
return 1
}
} else {
@@ -18476,11 +18529,11 @@ func csv_read_one_field(tls *libc.TLS, p uintptr) uintptr { /* csv.c:211:13: */
break
}
if (pc == '"') && (c != '\r') {
- csv_errmsg(tls, p, ts+4305 /* "line %d: unescap..." */, libc.VaList(bp, (*CsvReader)(unsafe.Pointer(p)).FnLine, '"'))
+ csv_errmsg(tls, p, ts+4295 /* "line %d: unescap..." */, libc.VaList(bp, (*CsvReader)(unsafe.Pointer(p)).FnLine, '"'))
break
}
if c == (-1) {
- csv_errmsg(tls, p, ts+4337, /* "line %d: untermi..." */
+ csv_errmsg(tls, p, ts+4327, /* "line %d: untermi..." */
libc.VaList(bp+16, startLine, '"'))
(*CsvReader)(unsafe.Pointer(p)).FcTerm = int32(int8(c))
break
@@ -18650,7 +18703,7 @@ func csv_string_parameter(tls *libc.TLS, p uintptr, zParam uintptr, zArg uintptr
}
*(*int8)(unsafe.Pointer((p + 64 /* &.zErr */))) = int8(0)
if *(*uintptr)(unsafe.Pointer(pzVal)) != 0 {
- csv_errmsg(tls, p, ts+4376 /* "more than one '%..." */, libc.VaList(bp, zParam))
+ csv_errmsg(tls, p, ts+4366 /* "more than one '%..." */, libc.VaList(bp, zParam))
return 1
}
*(*uintptr)(unsafe.Pointer(pzVal)) = sqlite3.Xsqlite3_mprintf(tls, ts /* "%s" */, libc.VaList(bp+8, zValue))
@@ -18666,15 +18719,15 @@ func csv_string_parameter(tls *libc.TLS, p uintptr, zParam uintptr, zArg uintptr
// Return 0 if the argument is false and 1 if it is true. Return -1 if
// we cannot really tell.
func csv_boolean(tls *libc.TLS, z uintptr) int32 { /* csv.c:421:12: */
- if (((sqlite3.Xsqlite3_stricmp(tls, ts+4045 /* "yes" */, z) == 0) ||
- (sqlite3.Xsqlite3_stricmp(tls, ts+4049 /* "on" */, z) == 0)) ||
- (sqlite3.Xsqlite3_stricmp(tls, ts+4405 /* "true" */, z) == 0)) ||
+ if (((sqlite3.Xsqlite3_stricmp(tls, ts+4035 /* "yes" */, z) == 0) ||
+ (sqlite3.Xsqlite3_stricmp(tls, ts+4039 /* "on" */, z) == 0)) ||
+ (sqlite3.Xsqlite3_stricmp(tls, ts+4395 /* "true" */, z) == 0)) ||
((int32(*(*int8)(unsafe.Pointer(z))) == '1') && (int32(*(*int8)(unsafe.Pointer(z + 1))) == 0)) {
return 1
}
- if (((sqlite3.Xsqlite3_stricmp(tls, ts+4410 /* "no" */, z) == 0) ||
- (sqlite3.Xsqlite3_stricmp(tls, ts+4413 /* "off" */, z) == 0)) ||
- (sqlite3.Xsqlite3_stricmp(tls, ts+4417 /* "false" */, z) == 0)) ||
+ if (((sqlite3.Xsqlite3_stricmp(tls, ts+4400 /* "no" */, z) == 0) ||
+ (sqlite3.Xsqlite3_stricmp(tls, ts+4403 /* "off" */, z) == 0)) ||
+ (sqlite3.Xsqlite3_stricmp(tls, ts+4407 /* "false" */, z) == 0)) ||
((int32(*(*int8)(unsafe.Pointer(z))) == '0') && (int32(*(*int8)(unsafe.Pointer(z + 1))) == 0)) {
return 0
}
@@ -18790,32 +18843,32 @@ __10:
;
goto __9
__8:
- if !(csv_boolean_parameter(tls, ts+4423 /* "header" */, 6, z, bp+368 /* &b */) != 0) {
+ if !(csv_boolean_parameter(tls, ts+4413 /* "header" */, 6, z, bp+368 /* &b */) != 0) {
goto __11
}
if !(bHeader >= 0) {
goto __13
}
- csv_errmsg(tls, bp+80 /* &sRdr */, ts+4430 /* "more than one 'h..." */, 0)
+ csv_errmsg(tls, bp+80 /* &sRdr */, ts+4420 /* "more than one 'h..." */, 0)
goto csvtab_connect_error
__13:
;
bHeader = *(*int32)(unsafe.Pointer(bp + 368 /* b */))
goto __12
__11:
- if !((libc.AssignUintptr(&zValue, csv_parameter(tls, ts+4463 /* "testflags" */, 9, z))) != uintptr(0)) {
+ if !((libc.AssignUintptr(&zValue, csv_parameter(tls, ts+4453 /* "testflags" */, 9, z))) != uintptr(0)) {
goto __14
}
tstFlags = int32(uint32(libc.Xatoi(tls, zValue)))
goto __15
__14:
- if !((libc.AssignUintptr(&zValue, csv_parameter(tls, ts+4473 /* "columns" */, 7, z))) != uintptr(0)) {
+ if !((libc.AssignUintptr(&zValue, csv_parameter(tls, ts+4463 /* "columns" */, 7, z))) != uintptr(0)) {
goto __16
}
if !(nCol > 0) {
goto __18
}
- csv_errmsg(tls, bp+80 /* &sRdr */, ts+4481 /* "more than one 'c..." */, 0)
+ csv_errmsg(tls, bp+80 /* &sRdr */, ts+4471 /* "more than one 'c..." */, 0)
goto csvtab_connect_error
__18:
;
@@ -18823,14 +18876,14 @@ __18:
if !(nCol <= 0) {
goto __19
}
- csv_errmsg(tls, bp+80 /* &sRdr */, ts+4515 /* "column= value mu..." */, 0)
+ csv_errmsg(tls, bp+80 /* &sRdr */, ts+4505 /* "column= value mu..." */, 0)
goto csvtab_connect_error
__19:
;
goto __17
__16:
- csv_errmsg(tls, bp+80 /* &sRdr */, ts+4546 /* "bad parameter: '..." */, libc.VaList(bp, z))
+ csv_errmsg(tls, bp+80 /* &sRdr */, ts+4536 /* "bad parameter: '..." */, libc.VaList(bp, z))
goto csvtab_connect_error
__17:
;
@@ -18850,7 +18903,7 @@ __3:
if !((libc.Bool32((*(*uintptr)(unsafe.Pointer(bp + 344 /* &azPValue[0] */))) == uintptr(0))) == (libc.Bool32((*(*uintptr)(unsafe.Pointer(bp + 344 /* &azPValue[0] */ + 1*8))) == uintptr(0)))) {
goto __20
}
- csv_errmsg(tls, bp+80 /* &sRdr */, ts+4566 /* "must specify eit..." */, 0)
+ csv_errmsg(tls, bp+80 /* &sRdr */, ts+4556 /* "must specify eit..." */, 0)
goto csvtab_connect_error
__20:
;
@@ -18903,8 +18956,8 @@ __31:
if !(iCol < nCol) {
goto __33
}
- sqlite3.Xsqlite3_str_appendf(tls, pStr, ts+4618 /* "%sc%d TEXT" */, libc.VaList(bp+8, zSep, iCol))
- zSep = ts + 4629 /* "," */
+ sqlite3.Xsqlite3_str_appendf(tls, pStr, ts+4608 /* "%sc%d TEXT" */, libc.VaList(bp+8, zSep, iCol))
+ zSep = ts + 4619 /* "," */
goto __32
__32:
iCol++
@@ -18919,8 +18972,8 @@ __34:
if !(((nCol > 0) && (iCol < nCol)) || ((nCol < 0) && (bHeader != 0))) {
goto __37
}
- sqlite3.Xsqlite3_str_appendf(tls, pStr, ts+4631 /* "%s\"%w\" TEXT" */, libc.VaList(bp+24, zSep, z1))
- zSep = ts + 4629 /* "," */
+ sqlite3.Xsqlite3_str_appendf(tls, pStr, ts+4621 /* "%s\"%w\" TEXT" */, libc.VaList(bp+24, zSep, z1))
+ zSep = ts + 4619 /* "," */
iCol++
__37:
;
@@ -18942,8 +18995,8 @@ __40:
if !(iCol < nCol) {
goto __41
}
- sqlite3.Xsqlite3_str_appendf(tls, pStr, ts+4618 /* "%sc%d TEXT" */, libc.VaList(bp+40, zSep, libc.PreIncInt32(&iCol, 1)))
- zSep = ts + 4629 /* "," */
+ sqlite3.Xsqlite3_str_appendf(tls, pStr, ts+4608 /* "%sc%d TEXT" */, libc.VaList(bp+40, zSep, libc.PreIncInt32(&iCol, 1)))
+ zSep = ts + 4619 /* "," */
goto __40
__41:
;
@@ -19010,7 +19063,7 @@ __49:
if !(rc != 0) {
goto __52
}
- csv_errmsg(tls, bp+80 /* &sRdr */, ts+4643 /* "bad schema: '%s'..." */, libc.VaList(bp+56, *(*uintptr)(unsafe.Pointer(bp + 344 /* &azPValue[0] */ + 2*8)), sqlite3.Xsqlite3_errmsg(tls, db)))
+ csv_errmsg(tls, bp+80 /* &sRdr */, ts+4633 /* "bad schema: '%s'..." */, libc.VaList(bp+56, *(*uintptr)(unsafe.Pointer(bp + 344 /* &azPValue[0] */ + 2*8)), sqlite3.Xsqlite3_errmsg(tls, db)))
goto csvtab_connect_error
__52:
;
@@ -19079,7 +19132,7 @@ __61:
}
var azParam = [3]uintptr{
- ts + 4665 /* "filename" */, ts + 4674 /* "data" */, ts + 4679, /* "schema" */
+ ts + 4655 /* "filename" */, ts + 4664 /* "data" */, ts + 4669, /* "schema" */
} /* csv.c:504:21 */
// Reset the current row content held by a CsvCursor.
@@ -19294,15 +19347,15 @@ func sqlite3_csv_init(tls *libc.TLS, db uintptr, pzErrMsg uintptr, pApi uintptr)
var rc int32
_ = pApi
- rc = sqlite3.Xsqlite3_create_module(tls, db, ts+4686 /* "csv" */, uintptr(unsafe.Pointer(&CsvModule)), uintptr(0))
+ rc = sqlite3.Xsqlite3_create_module(tls, db, ts+4676 /* "csv" */, uintptr(unsafe.Pointer(&CsvModule)), uintptr(0))
if rc == SQLITE_OK {
- rc = sqlite3.Xsqlite3_create_module(tls, db, ts+4690 /* "csv_wr" */, uintptr(unsafe.Pointer(&CsvModuleFauxWrite)), uintptr(0))
+ rc = sqlite3.Xsqlite3_create_module(tls, db, ts+4680 /* "csv_wr" */, uintptr(unsafe.Pointer(&CsvModuleFauxWrite)), uintptr(0))
}
return rc
}
// Floating-point inline functions for stdlib.h.
-// Copyright (C) 2012-2018 Free Software Foundation, Inc.
+// Copyright (C) 2012-2020 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
@@ -19317,7 +19370,7 @@ func sqlite3_csv_init(tls *libc.TLS, db uintptr, pzErrMsg uintptr, pApi uintptr)
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// Define some macros helping to catch buffer overflows.
@@ -19337,7 +19390,7 @@ type Decimal1 = struct {
} /* decimal.c:32:9 */
// Floating-point inline functions for stdlib.h.
-// Copyright (C) 2012-2018 Free Software Foundation, Inc.
+// Copyright (C) 2012-2020 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
@@ -19352,7 +19405,7 @@ type Decimal1 = struct {
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// Define some macros helping to catch buffer overflows.
@@ -19923,12 +19976,11 @@ func decimalSubFunc(tls *libc.TLS, context uintptr, argc int32, argv uintptr) {
var pA uintptr = decimal_new(tls, context, *(*uintptr)(unsafe.Pointer(argv)), 0, uintptr(0))
var pB uintptr = decimal_new(tls, context, *(*uintptr)(unsafe.Pointer(argv + 1*8)), 0, uintptr(0))
_ = argc
- if pB == uintptr(0) {
- return
+ if pB != 0 {
+ (*Decimal)(unsafe.Pointer(pB)).Fsign = libc.BoolInt8(!((*Decimal)(unsafe.Pointer(pB)).Fsign != 0))
+ decimal_add(tls, pA, pB)
+ decimal_result(tls, context, pA)
}
- (*Decimal)(unsafe.Pointer(pB)).Fsign = libc.BoolInt8(!((*Decimal)(unsafe.Pointer(pB)).Fsign != 0))
- decimal_add(tls, pA, pB)
- decimal_result(tls, context, pA)
decimal_free(tls, pA)
decimal_free(tls, pB)
}
@@ -19937,7 +19989,7 @@ func decimalSubFunc(tls *libc.TLS, context uintptr, argc int32, argv uintptr) {
//
// Works like sum() except that it uses decimal arithmetic for unlimited
// precision.
-func decimalSumStep(tls *libc.TLS, context uintptr, argc int32, argv uintptr) { /* decimal.c:475:13: */
+func decimalSumStep(tls *libc.TLS, context uintptr, argc int32, argv uintptr) { /* decimal.c:476:13: */
var p uintptr
var pArg uintptr
_ = argc
@@ -19964,7 +20016,7 @@ func decimalSumStep(tls *libc.TLS, context uintptr, argc int32, argv uintptr) {
decimal_free(tls, pArg)
}
-func decimalSumInverse(tls *libc.TLS, context uintptr, argc int32, argv uintptr) { /* decimal.c:501:13: */
+func decimalSumInverse(tls *libc.TLS, context uintptr, argc int32, argv uintptr) { /* decimal.c:502:13: */
var p uintptr
var pArg uintptr
_ = argc
@@ -19983,7 +20035,7 @@ func decimalSumInverse(tls *libc.TLS, context uintptr, argc int32, argv uintptr)
decimal_free(tls, pArg)
}
-func decimalSumValue(tls *libc.TLS, context uintptr) { /* decimal.c:517:13: */
+func decimalSumValue(tls *libc.TLS, context uintptr) { /* decimal.c:518:13: */
var p uintptr = sqlite3.Xsqlite3_aggregate_context(tls, context, 0)
if p == uintptr(0) {
return
@@ -19991,7 +20043,7 @@ func decimalSumValue(tls *libc.TLS, context uintptr) { /* decimal.c:517:13: */
decimal_result(tls, context, p)
}
-func decimalSumFinalize(tls *libc.TLS, context uintptr) { /* decimal.c:522:13: */
+func decimalSumFinalize(tls *libc.TLS, context uintptr) { /* decimal.c:523:13: */
var p uintptr = sqlite3.Xsqlite3_aggregate_context(tls, context, 0)
if p == uintptr(0) {
return
@@ -20008,7 +20060,7 @@ func decimalSumFinalize(tls *libc.TLS, context uintptr) { /* decimal.c:522:13: *
// Trailing zeros after the decimal point are omitted as long as
// the number of digits after the decimal point is no less than
// either the number of digits in either input.
-func decimalMulFunc(tls *libc.TLS, context uintptr, argc int32, argv uintptr) { /* decimal.c:539:13: */
+func decimalMulFunc(tls *libc.TLS, context uintptr, argc int32, argv uintptr) { /* decimal.c:540:13: */
var pA uintptr
var pB uintptr
var acc uintptr
@@ -20103,7 +20155,7 @@ mul_end:
decimal_free(tls, pB)
}
-func sqlite3_decimal_init(tls *libc.TLS, db uintptr, pzErrMsg uintptr, pApi uintptr) int32 { /* decimal.c:596:5: */
+func sqlite3_decimal_init(tls *libc.TLS, db uintptr, pzErrMsg uintptr, pApi uintptr) int32 { /* decimal.c:597:5: */
var rc int32 = SQLITE_OK
var i uint32
_ = pzErrMsg // Unused parameter
@@ -20121,7 +20173,7 @@ func sqlite3_decimal_init(tls *libc.TLS, db uintptr, pzErrMsg uintptr, pApi uint
uintptr(0), aFunc[i].FxFunc, uintptr(0), uintptr(0))
}
if rc == SQLITE_OK {
- rc = sqlite3.Xsqlite3_create_window_function(tls, db, ts+4697 /* "decimal_sum" */, 1,
+ rc = sqlite3.Xsqlite3_create_window_function(tls, db, ts+4687 /* "decimal_sum" */, 1,
((SQLITE_UTF8 | SQLITE_INNOCUOUS) | SQLITE_DETERMINISTIC), uintptr(0),
*(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, int32, uintptr)
@@ -20131,7 +20183,7 @@ func sqlite3_decimal_init(tls *libc.TLS, db uintptr, pzErrMsg uintptr, pApi uint
}{decimalSumInverse})), uintptr(0))
}
if rc == SQLITE_OK {
- rc = sqlite3.Xsqlite3_create_collation(tls, db, ts+4709 /* "decimal" */, SQLITE_UTF8,
+ rc = sqlite3.Xsqlite3_create_collation(tls, db, ts+4699 /* "decimal" */, SQLITE_UTF8,
uintptr(0), *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, int32, uintptr, int32, uintptr) int32
}{decimalCollFunc})))
@@ -20145,12 +20197,12 @@ var aFunc = [5]struct {
_ [4]byte
FxFunc uintptr
}{
- {FzFuncName: ts + 4709 /* "decimal" */, FnArg: 1, FxFunc: 0},
- {FzFuncName: ts + 4717 /* "decimal_cmp" */, FnArg: 2, FxFunc: 0},
- {FzFuncName: ts + 4729 /* "decimal_add" */, FnArg: 2, FxFunc: 0},
- {FzFuncName: ts + 4741 /* "decimal_sub" */, FnArg: 2, FxFunc: 0},
- {FzFuncName: ts + 4753 /* "decimal_mul" */, FnArg: 2, FxFunc: 0},
-} /* decimal.c:606:5 */
+ {FzFuncName: ts + 4699 /* "decimal" */, FnArg: 1, FxFunc: 0},
+ {FzFuncName: ts + 4707 /* "decimal_cmp" */, FnArg: 2, FxFunc: 0},
+ {FzFuncName: ts + 4719 /* "decimal_add" */, FnArg: 2, FxFunc: 0},
+ {FzFuncName: ts + 4731 /* "decimal_sub" */, FnArg: 2, FxFunc: 0},
+ {FzFuncName: ts + 4743 /* "decimal_mul" */, FnArg: 2, FxFunc: 0},
+} /* decimal.c:607:5 */
// Structure used to accumulate the output
type EvalResult = struct {
@@ -20220,7 +20272,7 @@ func sqlEvalFunc(tls *libc.TLS, context uintptr, argc int32, argv uintptr) { /*
// var x EvalResult at bp, 40
libc.Xmemset(tls, bp /* &x */, 0, uint64(unsafe.Sizeof(EvalResult{})))
- (*EvalResult)(unsafe.Pointer(bp /* &x */)).FzSep = ts + 4765 /* " " */
+ (*EvalResult)(unsafe.Pointer(bp /* &x */)).FzSep = ts + 4755 /* " " */
zSql = sqlite3.Xsqlite3_value_text(tls, *(*uintptr)(unsafe.Pointer(argv)))
if zSql == uintptr(0) {
return
@@ -20252,13 +20304,13 @@ func sqlite3_eval_init(tls *libc.TLS, db uintptr, pzErrMsg uintptr, pApi uintptr
_ = pApi
_ = pzErrMsg // Unused parameter
- rc = sqlite3.Xsqlite3_create_function(tls, db, ts+4767 /* "eval" */, 1,
+ rc = sqlite3.Xsqlite3_create_function(tls, db, ts+4757 /* "eval" */, 1,
(SQLITE_UTF8 | SQLITE_DIRECTONLY), uintptr(0),
*(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, int32, uintptr)
}{sqlEvalFunc})), uintptr(0), uintptr(0))
if rc == SQLITE_OK {
- rc = sqlite3.Xsqlite3_create_function(tls, db, ts+4767 /* "eval" */, 2,
+ rc = sqlite3.Xsqlite3_create_function(tls, db, ts+4757 /* "eval" */, 2,
(SQLITE_UTF8 | SQLITE_DIRECTONLY), uintptr(0),
*(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, int32, uintptr)
@@ -20313,7 +20365,7 @@ func explainConnect(tls *libc.TLS, db uintptr, pAux uintptr, argc int32, argv ui
// Column numbers
rc = sqlite3.Xsqlite3_declare_vtab(tls, db,
- ts+4772 /* "CREATE TABLE x(a..." */)
+ ts+4762 /* "CREATE TABLE x(a..." */)
if rc == SQLITE_OK {
pNew = sqlite3.Xsqlite3_malloc(tls, int32(unsafe.Sizeof(explain_vtab{})))
*(*uintptr)(unsafe.Pointer(ppVtab)) = pNew
@@ -20413,7 +20465,7 @@ func explainFilter(tls *libc.TLS, pVtabCursor uintptr, idxNum int32, idxStr uint
sqlite3.Xsqlite3_free(tls, (*explain_cursor)(unsafe.Pointer(pCur)).FzSql)
(*explain_cursor)(unsafe.Pointer(pCur)).FzSql = sqlite3.Xsqlite3_mprintf(tls, ts /* "%s" */, libc.VaList(bp, sqlite3.Xsqlite3_value_text(tls, *(*uintptr)(unsafe.Pointer(argv)))))
if (*explain_cursor)(unsafe.Pointer(pCur)).FzSql != 0 {
- zSql = sqlite3.Xsqlite3_mprintf(tls, ts+4834 /* "EXPLAIN %s" */, libc.VaList(bp+8, (*explain_cursor)(unsafe.Pointer(pCur)).FzSql))
+ zSql = sqlite3.Xsqlite3_mprintf(tls, ts+4824 /* "EXPLAIN %s" */, libc.VaList(bp+8, (*explain_cursor)(unsafe.Pointer(pCur)).FzSql))
}
if zSql == uintptr(0) {
rc = SQLITE_NOMEM
@@ -20489,7 +20541,7 @@ var explainModule = sqlite3_module{ // xCreate
func sqlite3ExplainVtabInit(tls *libc.TLS, db uintptr) int32 { /* explain.c:300:5: */
var rc int32 = SQLITE_OK
- rc = sqlite3.Xsqlite3_create_module(tls, db, ts+4845 /* "explain" */, uintptr(unsafe.Pointer(&explainModule)), uintptr(0))
+ rc = sqlite3.Xsqlite3_create_module(tls, db, ts+4835 /* "explain" */, uintptr(unsafe.Pointer(&explainModule)), uintptr(0))
return rc
}
@@ -20501,7 +20553,7 @@ func sqlite3_explain_init(tls *libc.TLS, db uintptr, pzErrMsg uintptr, pApi uint
return rc
}
-// Copyright (C) 1991-2018 Free Software Foundation, Inc.
+// Copyright (C) 1991-2020 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
@@ -20516,11 +20568,11 @@ func sqlite3_explain_init(tls *libc.TLS, db uintptr, pzErrMsg uintptr, pApi uint
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// POSIX Standard: 6.5 File Control Operations
-// Copyright (C) 1991-2018 Free Software Foundation, Inc.
+// Copyright (C) 1991-2020 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
@@ -20535,13 +20587,13 @@ func sqlite3_explain_init(tls *libc.TLS, db uintptr, pzErrMsg uintptr, pApi uint
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// This must be early so can define types winningly.
// Get __mode_t, __dev_t and __off_t .
// bits/types.h -- definitions of __*_t types underlying *_t types.
-// Copyright (C) 2002-2018 Free Software Foundation, Inc.
+// Copyright (C) 2002-2020 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
@@ -20556,14 +20608,14 @@ func sqlite3_explain_init(tls *libc.TLS, db uintptr, pzErrMsg uintptr, pApi uint
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// Never include this file directly; use instead.
// Get the definitions of O_*, F_*, FD_*: all the
// numbers and flag bits for `open', `fcntl', et al.
// O_*, F_*, FD_* bit values for Linux.
-// Copyright (C) 2000-2018 Free Software Foundation, Inc.
+// Copyright (C) 2000-2020 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
@@ -20578,7 +20630,7 @@ func sqlite3_explain_init(tls *libc.TLS, db uintptr, pzErrMsg uintptr, pApi uint
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// Determine the wordsize from the preprocessor defines.
@@ -20598,7 +20650,7 @@ type flock = struct {
// Define some inlines helping to catch common problems.
-// Copyright (C) 1991-2018 Free Software Foundation, Inc.
+// Copyright (C) 1991-2020 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
@@ -20613,11 +20665,11 @@ type flock = struct {
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// POSIX Standard: 2.10 Symbolic Constants
-// Copyright (C) 1991-2018 Free Software Foundation, Inc.
+// Copyright (C) 1991-2020 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
@@ -20632,7 +20684,7 @@ type flock = struct {
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// These may be used to determine what facilities are present at compile time.
// Their values can be obtained at run time from `sysconf'.
@@ -20758,7 +20810,7 @@ type flock = struct {
//
// Define POSIX options for Linux.
-// Copyright (C) 1996-2018 Free Software Foundation, Inc.
+// Copyright (C) 1996-2020 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
@@ -20773,13 +20825,16 @@ type flock = struct {
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; see the file COPYING.LIB. If
-// not, see .
+// not, see .
// Job control is supported.
// Processes have a saved set-user-ID and a saved set-group-ID.
-// Priority scheduling is supported.
+// Priority scheduling is not supported with the correct semantics,
+// but GNU/Linux applications expect that the corresponding interfaces
+// are available, even though the semantics do not meet the POSIX
+// requirements. See glibc bug 14829.
// Synchronizing file data is supported.
@@ -20882,7 +20937,7 @@ type flock = struct {
// Typed memory objects are not available.
// Get the environment definitions from Unix98.
-// Copyright (C) 1999-2018 Free Software Foundation, Inc.
+// Copyright (C) 1999-2020 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
@@ -20897,7 +20952,7 @@ type flock = struct {
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// Determine the wordsize from the preprocessor defines.
@@ -20938,7 +20993,7 @@ type flock = struct {
// All functions that are not declared anywhere else.
// bits/types.h -- definitions of __*_t types underlying *_t types.
-// Copyright (C) 2002-2018 Free Software Foundation, Inc.
+// Copyright (C) 2002-2020 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
@@ -20953,11 +21008,11 @@ type flock = struct {
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// Never include this file directly; use instead.
-// Copyright (C) 1989-2018 Free Software Foundation, Inc.
+// Copyright (C) 1989-2017 Free Software Foundation, Inc.
//
// This file is part of GCC.
//
@@ -21050,7 +21105,9 @@ type socklen_t = uint32 /* unistd.h:274:21 */
// Define some macros helping to catch buffer overflows.
-// Copyright (C) 1991-2018 Free Software Foundation, Inc.
+// System-specific extensions.
+// System-specific extensions of , Linux version.
+// Copyright (C) 2019-2020 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
@@ -21065,11 +21122,28 @@ type socklen_t = uint32 /* unistd.h:274:21 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
+
+// Copyright (C) 1991-2020 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
+// .
// POSIX Standard: 5.1.2 Directory Operations
-// Copyright (C) 1991-2018 Free Software Foundation, Inc.
+// Copyright (C) 1991-2020 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
@@ -21084,10 +21158,10 @@ type socklen_t = uint32 /* unistd.h:274:21 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// bits/types.h -- definitions of __*_t types underlying *_t types.
-// Copyright (C) 2002-2018 Free Software Foundation, Inc.
+// Copyright (C) 2002-2020 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
@@ -21102,7 +21176,7 @@ type socklen_t = uint32 /* unistd.h:274:21 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// Never include this file directly; use instead.
@@ -21121,7 +21195,7 @@ type socklen_t = uint32 /* unistd.h:274:21 */
// member that gives the type of the file.
//
-// Copyright (C) 1996-2018 Free Software Foundation, Inc.
+// Copyright (C) 1996-2020 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
@@ -21136,7 +21210,7 @@ type socklen_t = uint32 /* unistd.h:274:21 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
type dirent = struct {
Fd_ino uint64
@@ -21147,7 +21221,7 @@ type dirent = struct {
_ [5]byte
} /* dirent.h:22:1 */
-// Copyright (C) 1991-2018 Free Software Foundation, Inc.
+// Copyright (C) 1991-2020 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
@@ -21162,9 +21236,9 @@ type dirent = struct {
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
-// Copyright (C) 1991-2018 Free Software Foundation, Inc.
+// Copyright (C) 1991-2020 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
@@ -21179,10 +21253,10 @@ type dirent = struct {
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// bits/types.h -- definitions of __*_t types underlying *_t types.
-// Copyright (C) 2002-2018 Free Software Foundation, Inc.
+// Copyright (C) 2002-2020 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
@@ -21197,12 +21271,12 @@ type dirent = struct {
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// Never include this file directly; use instead.
// `fd_set' type and related macros, and `select'/`pselect' declarations.
-// Copyright (C) 1996-2018 Free Software Foundation, Inc.
+// Copyright (C) 1996-2020 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
@@ -21217,7 +21291,7 @@ type dirent = struct {
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// POSIX 1003.1g: 6.2 Select from File Descriptor Sets
@@ -21239,12 +21313,12 @@ type itimerval = struct {
Ftv_sec int64
Ftv_usec int64
}
-} /* time.h:104:1 */
+} /* time.h:105:1 */
// Convenience macros for operations on timevals.
// NOTE: `timercmp' does not work for >= or <=.
-// Copyright (C) 1991-2018 Free Software Foundation, Inc.
+// Copyright (C) 1991-2020 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
@@ -21259,11 +21333,11 @@ type itimerval = struct {
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// ISO C99 Standard: 7.23 Date and time
-// Copyright (C) 1991-2018 Free Software Foundation, Inc.
+// Copyright (C) 1991-2020 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
@@ -21278,9 +21352,9 @@ type itimerval = struct {
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
-// Copyright (C) 1989-2018 Free Software Foundation, Inc.
+// Copyright (C) 1989-2017 Free Software Foundation, Inc.
//
// This file is part of GCC.
//
@@ -21365,7 +21439,7 @@ type itimerval = struct {
// This defines CLOCKS_PER_SEC, which is the number of processor clock
// ticks per second, and possibly a number of other constants.
// System-dependent timing definitions. Linux version.
-// Copyright (C) 1996-2018 Free Software Foundation, Inc.
+// Copyright (C) 1996-2020 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
@@ -21380,12 +21454,12 @@ type itimerval = struct {
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// Never include this file directly; use instead.
// bits/types.h -- definitions of __*_t types underlying *_t types.
-// Copyright (C) 2002-2018 Free Software Foundation, Inc.
+// Copyright (C) 2002-2020 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
@@ -21400,7 +21474,7 @@ type itimerval = struct {
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// Never include this file directly; use instead.
@@ -21429,7 +21503,7 @@ type itimerval = struct {
// may also need to be defined by other headers.
// bits/types.h -- definitions of __*_t types underlying *_t types.
-// Copyright (C) 2002-2018 Free Software Foundation, Inc.
+// Copyright (C) 2002-2020 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
@@ -21444,7 +21518,7 @@ type itimerval = struct {
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// Never include this file directly; use instead.
@@ -21467,7 +21541,7 @@ type tm = struct {
// NB: Include guard matches what uses.
// bits/types.h -- definitions of __*_t types underlying *_t types.
-// Copyright (C) 2002-2018 Free Software Foundation, Inc.
+// Copyright (C) 2002-2020 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
@@ -21482,7 +21556,7 @@ type tm = struct {
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// Never include this file directly; use instead.
@@ -21533,7 +21607,7 @@ func readFileContents(tls *libc.TLS, ctx uintptr, zName uintptr) { /* fileio.c:1
var db uintptr
var mxBlob int32
- in = libc.Xfopen(tls, zName, ts+4273 /* "rb" */)
+ in = libc.Xfopen(tls, zName, ts+4263 /* "rb" */)
if in == uintptr(0) {
// File does not exist or is unreadable. Leave the result set to NULL.
return
@@ -21693,7 +21767,7 @@ func writeFile(tls *libc.TLS, pCtx uintptr, zFile uintptr, pData uintptr, mode m
var nWrite sqlite3_int64 = int64(0)
var z uintptr
var rc int32 = 0
- var out uintptr = libc.Xfopen(tls, zFile, ts+4853 /* "wb" */)
+ var out uintptr = libc.Xfopen(tls, zFile, ts+4843 /* "wb" */)
if out == uintptr(0) {
return 1
}
@@ -21744,7 +21818,7 @@ func writefileFunc(tls *libc.TLS, context uintptr, argc int32, argv uintptr) { /
if (argc < 2) || (argc > 4) {
sqlite3.Xsqlite3_result_error(tls, context,
- ts+4856 /* "wrong number of ..." */, -1)
+ ts+4846 /* "wrong number of ..." */, -1)
return
}
@@ -21768,11 +21842,11 @@ func writefileFunc(tls *libc.TLS, context uintptr, argc int32, argv uintptr) { /
if (argc > 2) && (res != 0) {
if ((mode) & mode_t(0170000)) == (mode_t(0120000)) {
- ctxErrorMsg(tls, context, ts+4906 /* "failed to create..." */, libc.VaList(bp, zFile))
+ ctxErrorMsg(tls, context, ts+4896 /* "failed to create..." */, libc.VaList(bp, zFile))
} else if ((mode) & mode_t(0170000)) == (mode_t(0040000)) {
- ctxErrorMsg(tls, context, ts+4935 /* "failed to create..." */, libc.VaList(bp+8, zFile))
+ ctxErrorMsg(tls, context, ts+4925 /* "failed to create..." */, libc.VaList(bp+8, zFile))
} else {
- ctxErrorMsg(tls, context, ts+4966 /* "failed to write ..." */, libc.VaList(bp+16, zFile))
+ ctxErrorMsg(tls, context, ts+4956 /* "failed to write ..." */, libc.VaList(bp+16, zFile))
}
}
}
@@ -21885,7 +21959,7 @@ func fsdirConnect(tls *libc.TLS, db uintptr, pAux uintptr, argc int32, argv uint
_ = argc
_ = argv
_ = pzErr
- rc = sqlite3.Xsqlite3_declare_vtab(tls, db, ts+4991 /* "CREATE TABLE x(n..." */)
+ rc = sqlite3.Xsqlite3_declare_vtab(tls, db, ts+4981 /* "CREATE TABLE x(n..." */)
if rc == SQLITE_OK {
pNew = sqlite3.Xsqlite3_malloc(tls, int32(unsafe.Sizeof(fsdir_tab{})))
if pNew == uintptr(0) {
@@ -21990,7 +22064,7 @@ func fsdirNext(tls *libc.TLS, cur uintptr) int32 { /* fileio.c:666:12: */
(*fsdir_cursor)(unsafe.Pointer(pCur)).FzPath = uintptr(0)
(*FsdirLevel)(unsafe.Pointer(pLvl)).FpDir = libc.Xopendir(tls, (*FsdirLevel)(unsafe.Pointer(pLvl)).FzDir)
if (*FsdirLevel)(unsafe.Pointer(pLvl)).FpDir == uintptr(0) {
- fsdirSetErrmsg(tls, pCur, ts+5051 /* "cannot read dire..." */, libc.VaList(bp, (*fsdir_cursor)(unsafe.Pointer(pCur)).FzPath))
+ fsdirSetErrmsg(tls, pCur, ts+5041 /* "cannot read dire..." */, libc.VaList(bp, (*fsdir_cursor)(unsafe.Pointer(pCur)).FzPath))
return SQLITE_ERROR
}
}
@@ -22008,12 +22082,12 @@ func fsdirNext(tls *libc.TLS, cur uintptr) int32 { /* fileio.c:666:12: */
}
}
sqlite3.Xsqlite3_free(tls, (*fsdir_cursor)(unsafe.Pointer(pCur)).FzPath)
- (*fsdir_cursor)(unsafe.Pointer(pCur)).FzPath = sqlite3.Xsqlite3_mprintf(tls, ts+5077 /* "%s/%s" */, libc.VaList(bp+8, (*FsdirLevel)(unsafe.Pointer(pLvl)).FzDir, pEntry+19 /* &.d_name */))
+ (*fsdir_cursor)(unsafe.Pointer(pCur)).FzPath = sqlite3.Xsqlite3_mprintf(tls, ts+5067 /* "%s/%s" */, libc.VaList(bp+8, (*FsdirLevel)(unsafe.Pointer(pLvl)).FzDir, pEntry+19 /* &.d_name */))
if (*fsdir_cursor)(unsafe.Pointer(pCur)).FzPath == uintptr(0) {
return SQLITE_NOMEM
}
if fileLinkStat(tls, (*fsdir_cursor)(unsafe.Pointer(pCur)).FzPath, (pCur+40 /* &.sStat */)) != 0 {
- fsdirSetErrmsg(tls, pCur, ts+5083 /* "cannot stat file..." */, libc.VaList(bp+24, (*fsdir_cursor)(unsafe.Pointer(pCur)).FzPath))
+ fsdirSetErrmsg(tls, pCur, ts+5073 /* "cannot stat file..." */, libc.VaList(bp+24, (*fsdir_cursor)(unsafe.Pointer(pCur)).FzPath))
return SQLITE_ERROR
}
return SQLITE_OK
@@ -22135,13 +22209,13 @@ func fsdirFilter(tls *libc.TLS, cur uintptr, idxNum int32, idxStr uintptr, argc
fsdirResetCursor(tls, pCur)
if idxNum == 0 {
- fsdirSetErrmsg(tls, pCur, ts+5104 /* "table function f..." */, 0)
+ fsdirSetErrmsg(tls, pCur, ts+5094 /* "table function f..." */, 0)
return SQLITE_ERROR
}
zDir = sqlite3.Xsqlite3_value_text(tls, *(*uintptr)(unsafe.Pointer(argv)))
if zDir == uintptr(0) {
- fsdirSetErrmsg(tls, pCur, ts+5146 /* "table function f..." */, 0)
+ fsdirSetErrmsg(tls, pCur, ts+5136 /* "table function f..." */, 0)
return SQLITE_ERROR
}
if argc == 2 {
@@ -22149,7 +22223,7 @@ func fsdirFilter(tls *libc.TLS, cur uintptr, idxNum int32, idxStr uintptr, argc
}
if (*fsdir_cursor)(unsafe.Pointer(pCur)).FzBase != 0 {
(*fsdir_cursor)(unsafe.Pointer(pCur)).FnBase = (int32(libc.Xstrlen(tls, (*fsdir_cursor)(unsafe.Pointer(pCur)).FzBase)) + 1)
- (*fsdir_cursor)(unsafe.Pointer(pCur)).FzPath = sqlite3.Xsqlite3_mprintf(tls, ts+5077 /* "%s/%s" */, libc.VaList(bp, (*fsdir_cursor)(unsafe.Pointer(pCur)).FzBase, zDir))
+ (*fsdir_cursor)(unsafe.Pointer(pCur)).FzPath = sqlite3.Xsqlite3_mprintf(tls, ts+5067 /* "%s/%s" */, libc.VaList(bp, (*fsdir_cursor)(unsafe.Pointer(pCur)).FzBase, zDir))
} else {
(*fsdir_cursor)(unsafe.Pointer(pCur)).FzPath = sqlite3.Xsqlite3_mprintf(tls, ts /* "%s" */, libc.VaList(bp+16, zDir))
}
@@ -22158,7 +22232,7 @@ func fsdirFilter(tls *libc.TLS, cur uintptr, idxNum int32, idxStr uintptr, argc
return SQLITE_NOMEM
}
if fileLinkStat(tls, (*fsdir_cursor)(unsafe.Pointer(pCur)).FzPath, (pCur+40 /* &.sStat */)) != 0 {
- fsdirSetErrmsg(tls, pCur, ts+5083 /* "cannot stat file..." */, libc.VaList(bp+24, (*fsdir_cursor)(unsafe.Pointer(pCur)).FzPath))
+ fsdirSetErrmsg(tls, pCur, ts+5073 /* "cannot stat file..." */, libc.VaList(bp+24, (*fsdir_cursor)(unsafe.Pointer(pCur)).FzPath))
return SQLITE_ERROR
}
@@ -22260,7 +22334,7 @@ __3:
// Register the "fsdir" virtual table.
func fsdirRegister(tls *libc.TLS, db uintptr) int32 { /* fileio.c:938:12: */
- var rc int32 = sqlite3.Xsqlite3_create_module(tls, db, ts+5196 /* "fsdir" */, uintptr(unsafe.Pointer(&fsdirModule1)), uintptr(0))
+ var rc int32 = sqlite3.Xsqlite3_create_module(tls, db, ts+5186 /* "fsdir" */, uintptr(unsafe.Pointer(&fsdirModule1)), uintptr(0))
return rc
}
@@ -22282,20 +22356,20 @@ func sqlite3_fileio_init(tls *libc.TLS, db uintptr, pzErrMsg uintptr, pApi uintp
_ = pApi
_ = pzErrMsg // Unused parameter
- rc = sqlite3.Xsqlite3_create_function(tls, db, ts+5202 /* "readfile" */, 1,
+ rc = sqlite3.Xsqlite3_create_function(tls, db, ts+5192 /* "readfile" */, 1,
(SQLITE_UTF8 | SQLITE_DIRECTONLY), uintptr(0),
*(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, int32, uintptr)
}{readfileFunc})), uintptr(0), uintptr(0))
if rc == SQLITE_OK {
- rc = sqlite3.Xsqlite3_create_function(tls, db, ts+5211 /* "writefile" */, -1,
+ rc = sqlite3.Xsqlite3_create_function(tls, db, ts+5201 /* "writefile" */, -1,
(SQLITE_UTF8 | SQLITE_DIRECTONLY), uintptr(0),
*(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, int32, uintptr)
}{writefileFunc})), uintptr(0), uintptr(0))
}
if rc == SQLITE_OK {
- rc = sqlite3.Xsqlite3_create_function(tls, db, ts+5221 /* "lsmode" */, 1, SQLITE_UTF8, uintptr(0),
+ rc = sqlite3.Xsqlite3_create_function(tls, db, ts+5211 /* "lsmode" */, 1, SQLITE_UTF8, uintptr(0),
*(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, int32, uintptr)
}{lsModeFunc})), uintptr(0), uintptr(0))
@@ -22449,15 +22523,15 @@ func fuzzerLoadOneRule(tls *libc.TLS, p uintptr, pStmt uintptr, ppRule uintptr,
}
if (nCost <= 0) || (nCost > FUZZER_MX_COST) {
- *(*uintptr)(unsafe.Pointer(pzErr)) = sqlite3.Xsqlite3_mprintf(tls, ts+3175, /* "%s: cost must be..." */
+ *(*uintptr)(unsafe.Pointer(pzErr)) = sqlite3.Xsqlite3_mprintf(tls, ts+3165, /* "%s: cost must be..." */
libc.VaList(bp, (*fuzzer_vtab)(unsafe.Pointer(p)).FzClassName, FUZZER_MX_COST))
rc = SQLITE_ERROR
} else if (nFrom > FUZZER_MX_LENGTH) || (nTo > FUZZER_MX_LENGTH) {
- *(*uintptr)(unsafe.Pointer(pzErr)) = sqlite3.Xsqlite3_mprintf(tls, ts+3209, /* "%s: maximum stri..." */
+ *(*uintptr)(unsafe.Pointer(pzErr)) = sqlite3.Xsqlite3_mprintf(tls, ts+3199, /* "%s: maximum stri..." */
libc.VaList(bp+16, (*fuzzer_vtab)(unsafe.Pointer(p)).FzClassName, FUZZER_MX_LENGTH))
rc = SQLITE_ERROR
} else if (iRuleset < int64(0)) || (iRuleset > int64(FUZZER_MX_RULEID)) {
- *(*uintptr)(unsafe.Pointer(pzErr)) = sqlite3.Xsqlite3_mprintf(tls, ts+5228, /* "%s: ruleset must..." */
+ *(*uintptr)(unsafe.Pointer(pzErr)) = sqlite3.Xsqlite3_mprintf(tls, ts+5218, /* "%s: ruleset must..." */
libc.VaList(bp+32, (*fuzzer_vtab)(unsafe.Pointer(p)).FzClassName, FUZZER_MX_RULEID))
rc = SQLITE_ERROR
} else {
@@ -22491,7 +22565,7 @@ func fuzzerLoadRules(tls *libc.TLS, db uintptr, p uintptr, zDb uintptr, zData ui
var zSql uintptr // SELECT used to read from rules table
var pHead uintptr = uintptr(0)
- zSql = sqlite3.Xsqlite3_mprintf(tls, ts+3278 /* "SELECT * FROM %Q..." */, libc.VaList(bp, zDb, zData))
+ zSql = sqlite3.Xsqlite3_mprintf(tls, ts+3268 /* "SELECT * FROM %Q..." */, libc.VaList(bp, zDb, zData))
if zSql == uintptr(0) {
rc = SQLITE_NOMEM
} else {
@@ -22499,9 +22573,9 @@ func fuzzerLoadRules(tls *libc.TLS, db uintptr, p uintptr, zDb uintptr, zData ui
*(*uintptr)(unsafe.Pointer(bp + 56 /* pStmt */)) = uintptr(0)
rc = sqlite3.Xsqlite3_prepare_v2(tls, db, zSql, -1, bp+56 /* &pStmt */, uintptr(0))
if rc != SQLITE_OK {
- *(*uintptr)(unsafe.Pointer(pzErr)) = sqlite3.Xsqlite3_mprintf(tls, ts+3298 /* "%s: %s" */, libc.VaList(bp+16, (*fuzzer_vtab)(unsafe.Pointer(p)).FzClassName, sqlite3.Xsqlite3_errmsg(tls, db)))
+ *(*uintptr)(unsafe.Pointer(pzErr)) = sqlite3.Xsqlite3_mprintf(tls, ts+3288 /* "%s: %s" */, libc.VaList(bp+16, (*fuzzer_vtab)(unsafe.Pointer(p)).FzClassName, sqlite3.Xsqlite3_errmsg(tls, db)))
} else if sqlite3.Xsqlite3_column_count(tls, *(*uintptr)(unsafe.Pointer(bp + 56 /* pStmt */))) != 4 {
- *(*uintptr)(unsafe.Pointer(pzErr)) = sqlite3.Xsqlite3_mprintf(tls, ts+3305, /* "%s: %s has %d co..." */
+ *(*uintptr)(unsafe.Pointer(pzErr)) = sqlite3.Xsqlite3_mprintf(tls, ts+3295, /* "%s: %s has %d co..." */
libc.VaList(bp+32, (*fuzzer_vtab)(unsafe.Pointer(p)).FzClassName, zData, sqlite3.Xsqlite3_column_count(tls, *(*uintptr)(unsafe.Pointer(bp + 56 /* pStmt */)))))
rc = SQLITE_ERROR
} else {
@@ -22628,7 +22702,7 @@ func fuzzerConnect(tls *libc.TLS, db uintptr, pAux uintptr, argc int32, argv uin
if argc != 4 {
*(*uintptr)(unsafe.Pointer(pzErr)) = sqlite3.Xsqlite3_mprintf(tls,
- ts+5265 /* "%s: wrong number..." */, libc.VaList(bp, zModule))
+ ts+5255 /* "%s: wrong number..." */, libc.VaList(bp, zModule))
rc = SQLITE_ERROR
} else {
var nModule sqlite3_int64 // Length of zModule, in bytes
@@ -22653,7 +22727,7 @@ func fuzzerConnect(tls *libc.TLS, db uintptr, pAux uintptr, argc int32, argv uin
}
if rc == SQLITE_OK {
- rc = sqlite3.Xsqlite3_declare_vtab(tls, db, ts+5316 /* "CREATE TABLE x(w..." */)
+ rc = sqlite3.Xsqlite3_declare_vtab(tls, db, ts+5306 /* "CREATE TABLE x(w..." */)
}
if rc != SQLITE_OK {
fuzzerDisconnect(tls, pNew)
@@ -23233,7 +23307,7 @@ func sqlite3_fuzzer_init(tls *libc.TLS, db uintptr, pzErrMsg uintptr, pApi uintp
var rc int32 = SQLITE_OK
_ = pApi
- rc = sqlite3.Xsqlite3_create_module(tls, db, ts+5354 /* "fuzzer" */, uintptr(unsafe.Pointer(&fuzzerModule)), uintptr(0))
+ rc = sqlite3.Xsqlite3_create_module(tls, db, ts+5344 /* "fuzzer" */, uintptr(unsafe.Pointer(&fuzzerModule)), uintptr(0))
return rc
}
@@ -23295,7 +23369,7 @@ func ieee754func(tls *libc.TLS, context uintptr, argc int32, argv uintptr) { /*
}
switch *(*int32)(unsafe.Pointer(sqlite3.Xsqlite3_user_data(tls, context))) {
case 0:
- sqlite3.Xsqlite3_snprintf(tls, int32(unsafe.Sizeof([100]int8{})), bp+40 /* &zResult[0] */, ts+5361, /* "ieee754(%lld,%d)" */
+ sqlite3.Xsqlite3_snprintf(tls, int32(unsafe.Sizeof([100]int8{})), bp+40 /* &zResult[0] */, ts+5351, /* "ieee754(%lld,%d)" */
libc.VaList(bp, m, (e-1075)))
sqlite3.Xsqlite3_result_text(tls, context, bp+40 /* &zResult[0] */, -1, libc.UintptrFromInt32(-1))
break
@@ -23431,12 +23505,12 @@ var aFunc1 = [6]struct {
FiAux int32
FxFunc uintptr
}{
- {FzFName: ts + 5378 /* "ieee754" */, FnArg: 1, FxFunc: 0},
- {FzFName: ts + 5378 /* "ieee754" */, FnArg: 2, FxFunc: 0},
- {FzFName: ts + 5386 /* "ieee754_mantissa" */, FnArg: 1, FiAux: 1, FxFunc: 0},
- {FzFName: ts + 5403 /* "ieee754_exponent" */, FnArg: 1, FiAux: 2, FxFunc: 0},
- {FzFName: ts + 5420 /* "ieee754_to_blob" */, FnArg: 1, FxFunc: 0},
- {FzFName: ts + 5436 /* "ieee754_from_blo..." */, FnArg: 1, FxFunc: 0},
+ {FzFName: ts + 5368 /* "ieee754" */, FnArg: 1, FxFunc: 0},
+ {FzFName: ts + 5368 /* "ieee754" */, FnArg: 2, FxFunc: 0},
+ {FzFName: ts + 5376 /* "ieee754_mantissa" */, FnArg: 1, FiAux: 1, FxFunc: 0},
+ {FzFName: ts + 5393 /* "ieee754_exponent" */, FnArg: 1, FiAux: 2, FxFunc: 0},
+ {FzFName: ts + 5410 /* "ieee754_to_blob" */, FnArg: 1, FxFunc: 0},
+ {FzFName: ts + 5426 /* "ieee754_from_blo..." */, FnArg: 1, FxFunc: 0},
} /* ieee754.c:269:5 */
//
@@ -23476,10 +23550,10 @@ func sqlite3_mmap_warm(tls *libc.TLS, db uintptr, zDb uintptr) int32 { /* mmapwa
}
// Open a read-only transaction on the file in question
- zSql = sqlite3.Xsqlite3_mprintf(tls, ts+5454, /* "BEGIN; SELECT * ..." */
+ zSql = sqlite3.Xsqlite3_mprintf(tls, ts+5444, /* "BEGIN; SELECT * ..." */
libc.VaList(bp, func() uintptr {
if zDb != 0 {
- return ts + 5495 /* "'" */
+ return ts + 5485 /* "'" */
}
return ts + 489 /* "" */
}(), func() uintptr {
@@ -23489,7 +23563,7 @@ func sqlite3_mmap_warm(tls *libc.TLS, db uintptr, zDb uintptr) int32 { /* mmapwa
return ts + 489 /* "" */
}(), func() uintptr {
if zDb != 0 {
- return ts + 5497 /* "'." */
+ return ts + 5487 /* "'." */
}
return ts + 489 /* "" */
}()))
@@ -23501,10 +23575,10 @@ func sqlite3_mmap_warm(tls *libc.TLS, db uintptr, zDb uintptr) int32 { /* mmapwa
// Find the SQLite page size of the file
if rc == SQLITE_OK {
- zSql = sqlite3.Xsqlite3_mprintf(tls, ts+5500, /* "PRAGMA %s%q%spag..." */
+ zSql = sqlite3.Xsqlite3_mprintf(tls, ts+5490, /* "PRAGMA %s%q%spag..." */
libc.VaList(bp+24, func() uintptr {
if zDb != 0 {
- return ts + 5495 /* "'" */
+ return ts + 5485 /* "'" */
}
return ts + 489 /* "" */
}(), func() uintptr {
@@ -23514,7 +23588,7 @@ func sqlite3_mmap_warm(tls *libc.TLS, db uintptr, zDb uintptr) int32 { /* mmapwa
return ts + 489 /* "" */
}(), func() uintptr {
if zDb != 0 {
- return ts + 5497 /* "'." */
+ return ts + 5487 /* "'." */
}
return ts + 489 /* "" */
}()))
@@ -23562,7 +23636,7 @@ func sqlite3_mmap_warm(tls *libc.TLS, db uintptr, zDb uintptr) int32 { /* mmapwa
iPg++
}
sqlite3.Xsqlite3_log(tls, SQLITE_OK,
- ts+5523 /* "sqlite3_mmap_war..." */, libc.VaList(bp+48, func() int64 {
+ ts+5513 /* "sqlite3_mmap_war..." */, libc.VaList(bp+48, func() int64 {
if iPg == int64(1) {
return int64(0)
}
@@ -23571,7 +23645,7 @@ func sqlite3_mmap_warm(tls *libc.TLS, db uintptr, zDb uintptr) int32 { /* mmapwa
sqlite3.Xsqlite3_db_filename(tls, db, zDb)))
}
- rc2 = sqlite3.Xsqlite3_exec(tls, db, ts+5573 /* "END" */, uintptr(0), uintptr(0), uintptr(0))
+ rc2 = sqlite3.Xsqlite3_exec(tls, db, ts+5563 /* "END" */, uintptr(0), uintptr(0), uintptr(0))
if rc == SQLITE_OK {
rc = rc2
}
@@ -23750,7 +23824,7 @@ func nextCharFunc(tls *libc.TLS, context uintptr, argc int32, argv uintptr) { /*
if ((argc >= 4) &&
((libc.AssignUintptr(&zWhere, sqlite3.Xsqlite3_value_text(tls, *(*uintptr)(unsafe.Pointer(argv + 3*8))))) != uintptr(0))) &&
(int32(*(*uint8)(unsafe.Pointer(zWhere))) != 0) {
- zWhereClause = sqlite3.Xsqlite3_mprintf(tls, ts+5577 /* "AND (%s)" */, libc.VaList(bp, zWhere))
+ zWhereClause = sqlite3.Xsqlite3_mprintf(tls, ts+5567 /* "AND (%s)" */, libc.VaList(bp, zWhere))
if zWhereClause == uintptr(0) {
sqlite3.Xsqlite3_result_error_nomem(tls, context)
return
@@ -23761,7 +23835,7 @@ func nextCharFunc(tls *libc.TLS, context uintptr, argc int32, argv uintptr) { /*
if ((argc >= 5) &&
((libc.AssignUintptr(&zCollName, sqlite3.Xsqlite3_value_text(tls, *(*uintptr)(unsafe.Pointer(argv + 4*8))))) != uintptr(0))) &&
(int32(*(*uint8)(unsafe.Pointer(zCollName))) != 0) {
- zColl = sqlite3.Xsqlite3_mprintf(tls, ts+5586 /* "collate \"%w\"" */, libc.VaList(bp+8, zCollName))
+ zColl = sqlite3.Xsqlite3_mprintf(tls, ts+5576 /* "collate \"%w\"" */, libc.VaList(bp+8, zCollName))
if zColl == uintptr(0) {
sqlite3.Xsqlite3_result_error_nomem(tls, context)
if *(*int8)(unsafe.Pointer(zWhereClause)) != 0 {
@@ -23776,7 +23850,7 @@ func nextCharFunc(tls *libc.TLS, context uintptr, argc int32, argv uintptr) { /*
// 1114111 == 0x10ffff
- ts+5599, /* "SELECT %s FROM %..." */
+ ts+5589, /* "SELECT %s FROM %..." */
libc.VaList(bp+16, zField, zTable, zField, zColl, zField, zColl, zWhereClause, zColl))
if *(*int8)(unsafe.Pointer(zWhereClause)) != 0 {
sqlite3.Xsqlite3_free(tls, zWhereClause)
@@ -23822,20 +23896,20 @@ func sqlite3_nextchar_init(tls *libc.TLS, db uintptr, pzErrMsg uintptr, pApi uin
_ = pApi
_ = pzErrMsg // Unused parameter
- rc = sqlite3.Xsqlite3_create_function(tls, db, ts+5707 /* "next_char" */, 3,
+ rc = sqlite3.Xsqlite3_create_function(tls, db, ts+5697 /* "next_char" */, 3,
(SQLITE_UTF8 | SQLITE_INNOCUOUS), uintptr(0),
*(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, int32, uintptr)
}{nextCharFunc})), uintptr(0), uintptr(0))
if rc == SQLITE_OK {
- rc = sqlite3.Xsqlite3_create_function(tls, db, ts+5707 /* "next_char" */, 4,
+ rc = sqlite3.Xsqlite3_create_function(tls, db, ts+5697 /* "next_char" */, 4,
(SQLITE_UTF8 | SQLITE_INNOCUOUS), uintptr(0),
*(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, int32, uintptr)
}{nextCharFunc})), uintptr(0), uintptr(0))
}
if rc == SQLITE_OK {
- rc = sqlite3.Xsqlite3_create_function(tls, db, ts+5707 /* "next_char" */, 5,
+ rc = sqlite3.Xsqlite3_create_function(tls, db, ts+5697 /* "next_char" */, 5,
(SQLITE_UTF8 | SQLITE_INNOCUOUS), uintptr(0),
*(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, int32, uintptr)
@@ -24382,9 +24456,9 @@ func sqlite3_normalize(tls *libc.TLS, zSql uintptr) uintptr { /* normalize.c:555
fallthrough
case TK_NAME:
{
- if (n == 4) && (sqlite3.Xsqlite3_strnicmp(tls, (zSql+uintptr(i)), ts+5717 /* "NULL" */, 4) == 0) {
- if (((j >= 3) && (libc.Xstrncmp(tls, ((z+uintptr(j))-uintptr(2)), ts+5722 /* "is" */, uint64(2)) == 0)) && !((int32(sqlite3CtypeMap[uint8(*(*int8)(unsafe.Pointer(z + uintptr((j - 3)))))]) & 0x46) != 0)) ||
- (((j >= 4) && (libc.Xstrncmp(tls, ((z+uintptr(j))-uintptr(3)), ts+5725 /* "not" */, uint64(3)) == 0)) && !((int32(sqlite3CtypeMap[uint8(*(*int8)(unsafe.Pointer(z + uintptr((j - 4)))))]) & 0x46) != 0)) {
+ if (n == 4) && (sqlite3.Xsqlite3_strnicmp(tls, (zSql+uintptr(i)), ts+5707 /* "NULL" */, 4) == 0) {
+ if (((j >= 3) && (libc.Xstrncmp(tls, ((z+uintptr(j))-uintptr(2)), ts+5712 /* "is" */, uint64(2)) == 0)) && !((int32(sqlite3CtypeMap[uint8(*(*int8)(unsafe.Pointer(z + uintptr((j - 3)))))]) & 0x46) != 0)) ||
+ (((j >= 4) && (libc.Xstrncmp(tls, ((z+uintptr(j))-uintptr(3)), ts+5715 /* "not" */, uint64(3)) == 0)) && !((int32(sqlite3CtypeMap[uint8(*(*int8)(unsafe.Pointer(z + uintptr((j - 4)))))]) & 0x46) != 0)) {
// NULL is a keyword in this case, not a literal value
} else {
// Here the NULL is a literal value
@@ -24414,7 +24488,7 @@ func sqlite3_normalize(tls *libc.TLS, zSql uintptr) uintptr { /* normalize.c:555
// Make a second pass converting "in(...)" where the "..." is not a
// SELECT statement into "in(?,?,?)"
for i = 0; i < j; i = n {
- var zIn uintptr = libc.Xstrstr(tls, (z + uintptr(i)), ts+5729 /* "in(" */)
+ var zIn uintptr = libc.Xstrstr(tls, (z + uintptr(i)), ts+5719 /* "in(" */)
var nParen int32
if zIn == uintptr(0) {
break
@@ -24423,10 +24497,10 @@ func sqlite3_normalize(tls *libc.TLS, zSql uintptr) uintptr { /* normalize.c:555
if (n != 0) && ((int32(sqlite3CtypeMap[uint8(*(*int8)(unsafe.Pointer(zIn + libc.UintptrFromInt32(-1))))]) & 0x46) != 0) {
continue
}
- if (libc.Xstrncmp(tls, zIn, ts+5733 /* "in(select" */, uint64(9)) == 0) && !((int32(sqlite3CtypeMap[uint8(*(*int8)(unsafe.Pointer(zIn + 9)))]) & 0x46) != 0) {
+ if (libc.Xstrncmp(tls, zIn, ts+5723 /* "in(select" */, uint64(9)) == 0) && !((int32(sqlite3CtypeMap[uint8(*(*int8)(unsafe.Pointer(zIn + 9)))]) & 0x46) != 0) {
continue
}
- if (libc.Xstrncmp(tls, zIn, ts+5743 /* "in(with" */, uint64(7)) == 0) && !((int32(sqlite3CtypeMap[uint8(*(*int8)(unsafe.Pointer(zIn + 7)))]) & 0x46) != 0) {
+ if (libc.Xstrncmp(tls, zIn, ts+5733 /* "in(with" */, uint64(7)) == 0) && !((int32(sqlite3CtypeMap[uint8(*(*int8)(unsafe.Pointer(zIn + 7)))]) & 0x46) != 0) {
continue
}
nParen = 1
@@ -24454,7 +24528,7 @@ func sqlite3_normalize(tls *libc.TLS, zSql uintptr) uintptr { /* normalize.c:555
}
j = ((j - k) + 5)
*(*int8)(unsafe.Pointer(z + uintptr(j))) = int8(0)
- libc.Xmemcpy(tls, (z + uintptr(n)), ts+5751 /* "?,?,?" */, uint64(5))
+ libc.Xmemcpy(tls, (z + uintptr(n)), ts+5741 /* "?,?,?" */, uint64(5))
}
return z
}
@@ -24466,7 +24540,7 @@ func sqlite3_normalize(tls *libc.TLS, zSql uintptr) uintptr { /* normalize.c:555
// line and show the result on standard output.
// Floating-point inline functions for stdlib.h.
-// Copyright (C) 2012-2018 Free Software Foundation, Inc.
+// Copyright (C) 2012-2020 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
@@ -24481,7 +24555,7 @@ func sqlite3_normalize(tls *libc.TLS, zSql uintptr) uintptr { /* normalize.c:555
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// Define some macros helping to catch buffer overflows.
@@ -24496,7 +24570,7 @@ type Percentile1 = struct {
} /* percentile.c:71:9 */
// Floating-point inline functions for stdlib.h.
-// Copyright (C) 2012-2018 Free Software Foundation, Inc.
+// Copyright (C) 2012-2020 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
@@ -24511,7 +24585,7 @@ type Percentile1 = struct {
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// Define some macros helping to catch buffer overflows.
@@ -24552,7 +24626,7 @@ func percentStep(tls *libc.TLS, pCtx uintptr, argc int32, argv uintptr) { /* per
if (((eType != SQLITE_INTEGER) && (eType != SQLITE_FLOAT)) ||
(rPct < 0.0)) || (rPct > 100.0) {
sqlite3.Xsqlite3_result_error(tls, pCtx,
- ts+5757 /* "2nd argument to ..." */, -1)
+ ts+5747 /* "2nd argument to ..." */, -1)
return
}
@@ -24568,7 +24642,7 @@ func percentStep(tls *libc.TLS, pCtx uintptr, argc int32, argv uintptr) { /* per
(*Percentile)(unsafe.Pointer(p)).FrPct = (rPct + 1.0)
} else if !(sameValue(tls, (*Percentile)(unsafe.Pointer(p)).FrPct, (rPct+1.0)) != 0) {
sqlite3.Xsqlite3_result_error(tls, pCtx,
- ts+5824 /* "2nd argument to ..." */, -1)
+ ts+5814 /* "2nd argument to ..." */, -1)
return
}
@@ -24582,14 +24656,14 @@ func percentStep(tls *libc.TLS, pCtx uintptr, argc int32, argv uintptr) { /* per
// Requirement 4
if (eType != SQLITE_INTEGER) && (eType != SQLITE_FLOAT) {
sqlite3.Xsqlite3_result_error(tls, pCtx,
- ts+5888 /* "1st argument to ..." */, -1)
+ ts+5878 /* "1st argument to ..." */, -1)
return
}
// Throw an error if the Y value is infinity or NaN
y = sqlite3.Xsqlite3_value_double(tls, *(*uintptr)(unsafe.Pointer(argv)))
if isInfinity(tls, y) != 0 {
- sqlite3.Xsqlite3_result_error(tls, pCtx, ts+5932 /* "Inf input to per..." */, -1)
+ sqlite3.Xsqlite3_result_error(tls, pCtx, ts+5922 /* "Inf input to per..." */, -1)
return
}
@@ -24664,7 +24738,7 @@ func sqlite3_percentile_init(tls *libc.TLS, db uintptr, pzErrMsg uintptr, pApi u
_ = pApi
_ = pzErrMsg // Unused parameter
- rc = sqlite3.Xsqlite3_create_function(tls, db, ts+5958 /* "percentile" */, 2,
+ rc = sqlite3.Xsqlite3_create_function(tls, db, ts+5948 /* "percentile" */, 2,
(SQLITE_UTF8 | SQLITE_INNOCUOUS), uintptr(0),
uintptr(0), *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, int32, uintptr)
@@ -24672,7 +24746,7 @@ func sqlite3_percentile_init(tls *libc.TLS, db uintptr, pzErrMsg uintptr, pApi u
return rc
}
-// Copyright (C) 1991-2018 Free Software Foundation, Inc.
+// Copyright (C) 1991-2020 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
@@ -24687,11 +24761,11 @@ func sqlite3_percentile_init(tls *libc.TLS, db uintptr, pzErrMsg uintptr, pApi u
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// ISO C99 Standard: 7.2 Diagnostics
-// Copyright (C) 1991-2018 Free Software Foundation, Inc.
+// Copyright (C) 1991-2020 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
@@ -24706,7 +24780,7 @@ func sqlite3_percentile_init(tls *libc.TLS, db uintptr, pzErrMsg uintptr, pApi u
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// void assert (int expression);
//
@@ -24723,7 +24797,7 @@ func sqlite3_percentile_init(tls *libc.TLS, db uintptr, pzErrMsg uintptr, pApi u
// underlying representation of the virtual table
type prefixes_vtab1 = struct{ Fbase sqlite3_vtab } /* prefixes.c:33:9 */
-// Copyright (C) 1991-2018 Free Software Foundation, Inc.
+// Copyright (C) 1991-2020 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
@@ -24738,11 +24812,11 @@ type prefixes_vtab1 = struct{ Fbase sqlite3_vtab } /* prefixes.c:33:9 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// ISO C99 Standard: 7.2 Diagnostics
-// Copyright (C) 1991-2018 Free Software Foundation, Inc.
+// Copyright (C) 1991-2020 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
@@ -24757,7 +24831,7 @@ type prefixes_vtab1 = struct{ Fbase sqlite3_vtab } /* prefixes.c:33:9 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// void assert (int expression);
//
@@ -24806,7 +24880,7 @@ func prefixesConnect(tls *libc.TLS, db uintptr, pAux uintptr, argc int32, argv u
var rc int32
rc = sqlite3.Xsqlite3_declare_vtab(tls, db,
- ts+5969 /* "CREATE TABLE pre..." */)
+ ts+5959 /* "CREATE TABLE pre..." */)
if rc == SQLITE_OK {
pNew = sqlite3.Xsqlite3_malloc(tls, int32(unsafe.Sizeof(prefixes_vtab{})))
*(*uintptr)(unsafe.Pointer(ppVtab)) = pNew
@@ -25021,10 +25095,10 @@ func sqlite3_prefixes_init(tls *libc.TLS, db uintptr, pzErrMsg uintptr, pApi uin
var rc int32 = SQLITE_OK
_ = pApi
- rc = sqlite3.Xsqlite3_create_module(tls, db, ts+6033 /* "prefixes" */, uintptr(unsafe.Pointer(&prefixesModule)), uintptr(0))
+ rc = sqlite3.Xsqlite3_create_module(tls, db, ts+6023 /* "prefixes" */, uintptr(unsafe.Pointer(&prefixesModule)), uintptr(0))
if rc == SQLITE_OK {
rc = sqlite3.Xsqlite3_create_function(tls,
- db, ts+6042 /* "prefix_length" */, 2, SQLITE_UTF8, uintptr(0), *(*uintptr)(unsafe.Pointer(&struct {
+ db, ts+6032 /* "prefix_length" */, 2, SQLITE_UTF8, uintptr(0), *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, int32, uintptr)
}{prefixLengthFunc})), uintptr(0), uintptr(0))
}
@@ -25300,9 +25374,9 @@ __10:
goto __25
case RE_OP_ACCEPT:
goto __26
- case RE_OP_CC_INC:
- goto __27
case RE_OP_CC_EXC:
+ goto __27
+ case RE_OP_CC_INC:
goto __28
}
goto __13
@@ -25316,11 +25390,7 @@ __29:
goto __13
__15:
- re_add_state(tls, pNext, (x1 + 1))
- goto __13
-
-__16:
- if !(re_word_char(tls, c) != 0) {
+ if !(c != 0) {
goto __30
}
re_add_state(tls, pNext, (x1 + 1))
@@ -25328,8 +25398,8 @@ __30:
;
goto __13
-__17:
- if !(!(re_word_char(tls, c) != 0)) {
+__16:
+ if !(re_word_char(tls, c) != 0) {
goto __31
}
re_add_state(tls, pNext, (x1 + 1))
@@ -25337,8 +25407,8 @@ __31:
;
goto __13
-__18:
- if !(re_digit_char(tls, c) != 0) {
+__17:
+ if !(!(re_word_char(tls, c) != 0) && (c != 0)) {
goto __32
}
re_add_state(tls, pNext, (x1 + 1))
@@ -25346,8 +25416,8 @@ __32:
;
goto __13
-__19:
- if !(!(re_digit_char(tls, c) != 0)) {
+__18:
+ if !(re_digit_char(tls, c) != 0) {
goto __33
}
re_add_state(tls, pNext, (x1 + 1))
@@ -25355,8 +25425,8 @@ __33:
;
goto __13
-__20:
- if !(re_space_char(tls, c) != 0) {
+__19:
+ if !(!(re_digit_char(tls, c) != 0) && (c != 0)) {
goto __34
}
re_add_state(tls, pNext, (x1 + 1))
@@ -25364,8 +25434,8 @@ __34:
;
goto __13
-__21:
- if !(!(re_space_char(tls, c) != 0)) {
+__20:
+ if !(re_space_char(tls, c) != 0) {
goto __35
}
re_add_state(tls, pNext, (x1 + 1))
@@ -25373,15 +25443,24 @@ __35:
;
goto __13
-__22:
- if !(re_word_char(tls, c) != re_word_char(tls, cPrev)) {
+__21:
+ if !(!(re_space_char(tls, c) != 0) && (c != 0)) {
goto __36
}
- re_add_state(tls, pThis, (x1 + 1))
+ re_add_state(tls, pNext, (x1 + 1))
__36:
;
goto __13
+__22:
+ if !(re_word_char(tls, c) != re_word_char(tls, cPrev)) {
+ goto __37
+ }
+ re_add_state(tls, pThis, (x1 + 1))
+__37:
+ ;
+ goto __13
+
__23:
re_add_state(tls, pNext, x1)
re_add_state(tls, pThis, (x1 + 1))
@@ -25401,57 +25480,65 @@ __26:
goto re_match_end
__27:
+ if !(c == 0) {
+ goto __38
+ }
+ goto __13
+__38:
+ ;
+ // fall-through
+
__28:
j = 1
n = *(*int32)(unsafe.Pointer((*ReCompiled)(unsafe.Pointer(pRe)).FaArg + uintptr(x1)*4))
hit = 0
j = 1
-__37:
+__39:
if !((j > 0) && (j < n)) {
- goto __39
+ goto __41
}
if !(int32(*(*int8)(unsafe.Pointer((*ReCompiled)(unsafe.Pointer(pRe)).FaOp + uintptr((x1 + j))))) == RE_OP_CC_VALUE) {
- goto __40
- }
- if !(*(*int32)(unsafe.Pointer((*ReCompiled)(unsafe.Pointer(pRe)).FaArg + uintptr((x1+j))*4)) == c) {
goto __42
}
- hit = 1
- j = -1
-__42:
- ;
- goto __41
-__40:
- if !((*(*int32)(unsafe.Pointer((*ReCompiled)(unsafe.Pointer(pRe)).FaArg + uintptr((x1+j))*4)) <= c) && (*(*int32)(unsafe.Pointer((*ReCompiled)(unsafe.Pointer(pRe)).FaArg + uintptr(((x1+j)+1))*4)) >= c)) {
- goto __43
+ if !(*(*int32)(unsafe.Pointer((*ReCompiled)(unsafe.Pointer(pRe)).FaArg + uintptr((x1+j))*4)) == c) {
+ goto __44
}
hit = 1
j = -1
- goto __44
-__43:
- j++
__44:
;
-__41:
- ;
- goto __38
-__38:
- j++
- goto __37
- goto __39
-__39:
- ;
- if !(int32(*(*int8)(unsafe.Pointer((*ReCompiled)(unsafe.Pointer(pRe)).FaOp + uintptr(x1)))) == RE_OP_CC_EXC) {
+ goto __43
+__42:
+ if !((*(*int32)(unsafe.Pointer((*ReCompiled)(unsafe.Pointer(pRe)).FaArg + uintptr((x1+j))*4)) <= c) && (*(*int32)(unsafe.Pointer((*ReCompiled)(unsafe.Pointer(pRe)).FaArg + uintptr(((x1+j)+1))*4)) >= c)) {
goto __45
}
- hit = libc.BoolInt32(!(hit != 0))
+ hit = 1
+ j = -1
+ goto __46
__45:
+ j++
+__46:
+ ;
+__43:
+ ;
+ goto __40
+__40:
+ j++
+ goto __39
+ goto __41
+__41:
+ ;
+ if !(int32(*(*int8)(unsafe.Pointer((*ReCompiled)(unsafe.Pointer(pRe)).FaOp + uintptr(x1)))) == RE_OP_CC_EXC) {
+ goto __47
+ }
+ hit = libc.BoolInt32(!(hit != 0))
+__47:
;
if !(hit != 0) {
- goto __46
+ goto __48
}
re_add_state(tls, pNext, (x1 + n))
-__46:
+__48:
;
goto __13
@@ -25468,23 +25555,23 @@ __12:
__9:
;
i = uint32(0)
-__47:
+__49:
if !(i < (*ReStateSet)(unsafe.Pointer(pNext)).FnState) {
- goto __49
+ goto __51
}
if !(int32(*(*int8)(unsafe.Pointer((*ReCompiled)(unsafe.Pointer(pRe)).FaOp + uintptr(*(*ReStateNumber)(unsafe.Pointer((*ReStateSet)(unsafe.Pointer(pNext)).FaState + uintptr(i)*2)))))) == RE_OP_ACCEPT) {
- goto __50
+ goto __52
}
rc = 1
- goto __49
-__50:
+ goto __51
+__52:
;
- goto __48
-__48:
+ goto __50
+__50:
i++
- goto __47
goto __49
-__49:
+ goto __51
+__51:
;
re_match_end:
sqlite3.Xsqlite3_free(tls, pToFree)
@@ -25492,7 +25579,7 @@ re_match_end:
}
// Resize the opcode and argument arrays for an RE under construction.
-func re_resize(tls *libc.TLS, p uintptr, N int32) int32 { /* regexp.c:337:12: */
+func re_resize(tls *libc.TLS, p uintptr, N int32) int32 { /* regexp.c:340:12: */
var aOp uintptr
var aArg uintptr
aOp = sqlite3.Xsqlite3_realloc64(tls, (*ReCompiled)(unsafe.Pointer(p)).FaOp, (uint64(uint64(N) * uint64(unsafe.Sizeof(int8(0))))))
@@ -25511,7 +25598,7 @@ func re_resize(tls *libc.TLS, p uintptr, N int32) int32 { /* regexp.c:337:12: */
// Insert a new opcode and argument into an RE under construction. The
// insertion point is just prior to existing opcode iBefore.
-func re_insert(tls *libc.TLS, p uintptr, iBefore int32, op int32, arg int32) int32 { /* regexp.c:353:12: */
+func re_insert(tls *libc.TLS, p uintptr, iBefore int32, op int32, arg int32) int32 { /* regexp.c:356:12: */
var i int32
if ((*ReCompiled)(unsafe.Pointer(p)).FnAlloc <= (*ReCompiled)(unsafe.Pointer(p)).FnState) && (re_resize(tls, p, (int32((*ReCompiled)(unsafe.Pointer(p)).FnAlloc*uint32(2)))) != 0) {
return 0
@@ -25527,13 +25614,13 @@ func re_insert(tls *libc.TLS, p uintptr, iBefore int32, op int32, arg int32) int
}
// Append a new opcode and argument to the end of the RE under construction.
-func re_append(tls *libc.TLS, p uintptr, op int32, arg int32) int32 { /* regexp.c:368:12: */
+func re_append(tls *libc.TLS, p uintptr, op int32, arg int32) int32 { /* regexp.c:371:12: */
return re_insert(tls, p, int32((*ReCompiled)(unsafe.Pointer(p)).FnState), op, arg)
}
// Make a copy of N opcodes starting at iStart onto the end of the RE
// under construction.
-func re_copy(tls *libc.TLS, p uintptr, iStart int32, N int32) { /* regexp.c:375:13: */
+func re_copy(tls *libc.TLS, p uintptr, iStart int32, N int32) { /* regexp.c:378:13: */
if (((*ReCompiled)(unsafe.Pointer(p)).FnState + uint32(N)) >= (*ReCompiled)(unsafe.Pointer(p)).FnAlloc) && (re_resize(tls, p, (int32(((*ReCompiled)(unsafe.Pointer(p)).FnAlloc*uint32(2))+uint32(N)))) != 0) {
return
}
@@ -25545,7 +25632,7 @@ func re_copy(tls *libc.TLS, p uintptr, iStart int32, N int32) { /* regexp.c:375:
// Return true if c is a hexadecimal digit character: [0-9a-fA-F]
// If c is a hex digit, also set *pV = (*pV)*16 + valueof(c). If
// c is not a hex digit *pV is unchanged.
-func re_hex(tls *libc.TLS, c int32, pV uintptr) int32 { /* regexp.c:386:12: */
+func re_hex(tls *libc.TLS, c int32, pV uintptr) int32 { /* regexp.c:389:12: */
if (c >= '0') && (c <= '9') {
c = c - ('0')
} else if (c >= 'a') && (c <= 'f') {
@@ -25561,7 +25648,7 @@ func re_hex(tls *libc.TLS, c int32, pV uintptr) int32 { /* regexp.c:386:12: */
// A backslash character has been seen, read the next character and
// return its interpretation.
-func re_esc_char(tls *libc.TLS, p uintptr) uint32 { /* regexp.c:403:17: */
+func re_esc_char(tls *libc.TLS, p uintptr) uint32 { /* regexp.c:406:17: */
bp := tls.Alloc(4)
defer tls.Free(4)
@@ -25598,16 +25685,16 @@ func re_esc_char(tls *libc.TLS, p uintptr) uint32 { /* regexp.c:403:17: */
}
(*ReCompiled)(unsafe.Pointer(p)).FsIn.Fi++
} else {
- (*ReCompiled)(unsafe.Pointer(p)).FzErr = ts + 6056 /* "unknown \\ escape" */
+ (*ReCompiled)(unsafe.Pointer(p)).FzErr = ts + 6046 /* "unknown \\ escape" */
}
return uint32(c)
}
-var zEsc = *(*[21]int8)(unsafe.Pointer(ts + 6073 /* "afnrtv\\()*.+?[$^..." */)) /* regexp.c:404:21 */
-var zTrans = *(*[7]int8)(unsafe.Pointer(ts + 6094 /* "\a\f\n\r\t\v" */)) /* regexp.c:405:21 */
+var zEsc = *(*[21]int8)(unsafe.Pointer(ts + 6063 /* "afnrtv\\()*.+?[$^..." */)) /* regexp.c:407:21 */
+var zTrans = *(*[7]int8)(unsafe.Pointer(ts + 6084 /* "\a\f\n\r\t\v" */)) /* regexp.c:408:21 */
// Peek at the next byte of input
-func rePeek(tls *libc.TLS, p uintptr) uint8 { /* regexp.c:444:22: */
+func rePeek(tls *libc.TLS, p uintptr) uint8 { /* regexp.c:447:22: */
if (*ReCompiled)(unsafe.Pointer(p)).FsIn.Fi < (*ReCompiled)(unsafe.Pointer(p)).FsIn.Fmx {
return *(*uint8)(unsafe.Pointer((*ReCompiled)(unsafe.Pointer(p)).FsIn.Fz + uintptr((*ReCompiled)(unsafe.Pointer(p)).FsIn.Fi)))
}
@@ -25617,7 +25704,7 @@ func rePeek(tls *libc.TLS, p uintptr) uint8 { /* regexp.c:444:22: */
// Compile RE text into a sequence of opcodes. Continue up to the
// first unmatched ")" character, then return. If an error is found,
// return a pointer to the error message string.
-func re_subcompile_re(tls *libc.TLS, p uintptr) uintptr { /* regexp.c:452:19: */
+func re_subcompile_re(tls *libc.TLS, p uintptr) uintptr { /* regexp.c:455:19: */
var zErr uintptr
var iStart int32
var iEnd int32
@@ -25644,7 +25731,7 @@ func re_subcompile_re(tls *libc.TLS, p uintptr) uintptr { /* regexp.c:452:19: */
// Compile an element of regular expression text (anything that can be
// an operand to the "|" operator). Return NULL on success or a pointer
// to the error message if there is a problem.
-func re_subcompile_string(tls *libc.TLS, p uintptr) uintptr { /* regexp.c:474:19: */
+func re_subcompile_string(tls *libc.TLS, p uintptr) uintptr { /* regexp.c:477:19: */
var iPrev int32 = -1
var iStart int32
var c uint32
@@ -25669,7 +25756,7 @@ func re_subcompile_string(tls *libc.TLS, p uintptr) uintptr { /* regexp.c:474:19
return zErr
}
if int32(rePeek(tls, p)) != ')' {
- return ts + 6101 /* "unmatched '('" */
+ return ts + 6091 /* "unmatched '('" */
}
(*ReCompiled)(unsafe.Pointer(p)).FsIn.Fi++
break
@@ -25689,7 +25776,7 @@ func re_subcompile_string(tls *libc.TLS, p uintptr) uintptr { /* regexp.c:474:19
case uint32('*'):
{
if iPrev < 0 {
- return ts + 6115 /* "'*' without oper..." */
+ return ts + 6105 /* "'*' without oper..." */
}
re_insert(tls, p, iPrev, RE_OP_GOTO, (int32(((*ReCompiled)(unsafe.Pointer(p)).FnState - uint32(iPrev)) + uint32(1))))
re_append(tls, p, RE_OP_FORK, (int32((uint32(iPrev) - (*ReCompiled)(unsafe.Pointer(p)).FnState) + uint32(1))))
@@ -25699,7 +25786,7 @@ func re_subcompile_string(tls *libc.TLS, p uintptr) uintptr { /* regexp.c:474:19
case uint32('+'):
{
if iPrev < 0 {
- return ts + 6135 /* "'+' without oper..." */
+ return ts + 6125 /* "'+' without oper..." */
}
re_append(tls, p, RE_OP_FORK, (int32(uint32(iPrev) - (*ReCompiled)(unsafe.Pointer(p)).FnState)))
break
@@ -25708,7 +25795,7 @@ func re_subcompile_string(tls *libc.TLS, p uintptr) uintptr { /* regexp.c:474:19
case uint32('?'):
{
if iPrev < 0 {
- return ts + 6155 /* "'?' without oper..." */
+ return ts + 6145 /* "'?' without oper..." */
}
re_insert(tls, p, iPrev, RE_OP_FORK, (int32(((*ReCompiled)(unsafe.Pointer(p)).FnState - uint32(iPrev)) + uint32(1))))
break
@@ -25721,7 +25808,7 @@ func re_subcompile_string(tls *libc.TLS, p uintptr) uintptr { /* regexp.c:474:19
var sz int32
var j int32
if iPrev < 0 {
- return ts + 6175 /* "'{m,n}' without ..." */
+ return ts + 6165 /* "'{m,n}' without ..." */
}
for ((libc.AssignUint32(&c, uint32(rePeek(tls, p)))) >= uint32('0')) && (c <= uint32('9')) {
m = (int32(((uint32(m * 10)) + c) - uint32('0')))
@@ -25737,16 +25824,16 @@ func re_subcompile_string(tls *libc.TLS, p uintptr) uintptr { /* regexp.c:474:19
}
}
if c != uint32('}') {
- return ts + 6199 /* "unmatched '{'" */
+ return ts + 6189 /* "unmatched '{'" */
}
if (n > 0) && (n < m) {
- return ts + 6213 /* "n less than m in..." */
+ return ts + 6203 /* "n less than m in..." */
}
(*ReCompiled)(unsafe.Pointer(p)).FsIn.Fi++
sz = (int32((*ReCompiled)(unsafe.Pointer(p)).FnState - uint32(iPrev)))
if m == 0 {
if n == 0 {
- return ts + 6238 /* "both m and n are..." */
+ return ts + 6228 /* "both m and n are..." */
}
re_insert(tls, p, iPrev, RE_OP_FORK, (sz + 1))
n--
@@ -25776,7 +25863,7 @@ func re_subcompile_string(tls *libc.TLS, p uintptr) uintptr { /* regexp.c:474:19
}
for (libc.AssignUint32(&c, (*(*func(*libc.TLS, uintptr) uint32)(unsafe.Pointer((p + 40 /* &.xNextChar */))))(tls, (p /* &.sIn */)))) != uint32(0) {
if (c == uint32('[')) && (int32(rePeek(tls, p)) == ':') {
- return ts + 6271 /* "POSIX character ..." */
+ return ts + 6261 /* "POSIX character ..." */
}
if c == uint32('\\') {
c = re_esc_char(tls, p)
@@ -25798,7 +25885,7 @@ func re_subcompile_string(tls *libc.TLS, p uintptr) uintptr { /* regexp.c:474:19
}
}
if c == uint32(0) {
- return ts + 6309 /* "unclosed '['" */
+ return ts + 6299 /* "unclosed '['" */
}
*(*int32)(unsafe.Pointer((*ReCompiled)(unsafe.Pointer(p)).FaArg + uintptr(iFirst)*4)) = (int32((*ReCompiled)(unsafe.Pointer(p)).FnState - uint32(iFirst)))
break
@@ -25855,7 +25942,7 @@ func re_subcompile_string(tls *libc.TLS, p uintptr) uintptr { /* regexp.c:474:19
// Free and reclaim all the memory used by a previously compiled
// regular expression. Applications should invoke this routine once
// for every call to re_compile() to avoid memory leaks.
-func sqlite3re_free(tls *libc.TLS, pRe uintptr) { /* regexp.c:613:13: */
+func sqlite3re_free(tls *libc.TLS, pRe uintptr) { /* regexp.c:616:13: */
if pRe != 0 {
sqlite3.Xsqlite3_free(tls, (*ReCompiled)(unsafe.Pointer(pRe)).FaOp)
sqlite3.Xsqlite3_free(tls, (*ReCompiled)(unsafe.Pointer(pRe)).FaArg)
@@ -25867,7 +25954,7 @@ func sqlite3re_free(tls *libc.TLS, pRe uintptr) { /* regexp.c:613:13: */
// expression suitable for us by re_match() and return a pointer to the
// compiled regular expression in *ppRe. Return NULL on success or an
// error message if something goes wrong.
-func sqlite3re_compile(tls *libc.TLS, ppRe uintptr, zIn uintptr, noCase int32) uintptr { /* regexp.c:627:19: */
+func sqlite3re_compile(tls *libc.TLS, ppRe uintptr, zIn uintptr, noCase int32) uintptr { /* regexp.c:630:19: */
var pRe uintptr
var zErr uintptr
var i int32
@@ -25915,7 +26002,7 @@ func sqlite3re_compile(tls *libc.TLS, ppRe uintptr, zIn uintptr, noCase int32) u
*(*uintptr)(unsafe.Pointer(ppRe)) = pRe
} else {
sqlite3re_free(tls, pRe)
- return ts + 6322 /* "unrecognized cha..." */
+ return ts + 6312 /* "unrecognized cha..." */
}
// The following is a performance optimization. If the regex begins with
@@ -25926,10 +26013,10 @@ func sqlite3re_compile(tls *libc.TLS, ppRe uintptr, zIn uintptr, noCase int32) u
// regex engine over the string. Do not worry able trying to match
// unicode characters beyond plane 0 - those are very rare and this is
// just an optimization.
- if int32(*(*int8)(unsafe.Pointer((*ReCompiled)(unsafe.Pointer(pRe)).FaOp))) == RE_OP_ANYSTAR {
+ if (int32(*(*int8)(unsafe.Pointer((*ReCompiled)(unsafe.Pointer(pRe)).FaOp))) == RE_OP_ANYSTAR) && !(noCase != 0) {
j = 0
i = 1
- for ; (uint64(j) < (uint64(unsafe.Sizeof([12]uint8{})) - uint64(2))) && (int32(*(*int8)(unsafe.Pointer((*ReCompiled)(unsafe.Pointer(pRe)).FaOp + uintptr(i)))) == RE_OP_MATCH); i++ {
+ for ; (j < (int32(unsafe.Sizeof([12]uint8{})) - 2)) && (int32(*(*int8)(unsafe.Pointer((*ReCompiled)(unsafe.Pointer(pRe)).FaOp + uintptr(i)))) == RE_OP_MATCH); i++ {
var x uint32 = uint32(*(*int32)(unsafe.Pointer((*ReCompiled)(unsafe.Pointer(pRe)).FaArg + uintptr(i)*4)))
if x <= uint32(127) {
*(*uint8)(unsafe.Pointer((pRe + 48 /* &.zInit */) + uintptr(libc.PostIncInt32(&j, 1)))) = uint8(x)
@@ -25959,7 +26046,7 @@ func sqlite3re_compile(tls *libc.TLS, ppRe uintptr, zIn uintptr, noCase int32) u
// A REGEXP B
//
// is implemented as regexp(B,A).
-func re_sql_func(tls *libc.TLS, context uintptr, argc int32, argv uintptr) { /* regexp.c:707:13: */
+func re_sql_func(tls *libc.TLS, context uintptr, argc int32, argv uintptr) { /* regexp.c:710:13: */
bp := tls.Alloc(8)
defer tls.Free(8)
@@ -25970,13 +26057,14 @@ func re_sql_func(tls *libc.TLS, context uintptr, argc int32, argv uintptr) { /*
var zErr uintptr // Compile error message
var setAux int32 = 0 // True to invoke sqlite3_set_auxdata()
+ _ = argc // Unused
*(*uintptr)(unsafe.Pointer(bp /* pRe */)) = sqlite3.Xsqlite3_get_auxdata(tls, context, 0)
if *(*uintptr)(unsafe.Pointer(bp /* pRe */)) == uintptr(0) {
zPattern = sqlite3.Xsqlite3_value_text(tls, *(*uintptr)(unsafe.Pointer(argv)))
if zPattern == uintptr(0) {
return
}
- zErr = sqlite3re_compile(tls, bp /* &pRe */, zPattern, 0)
+ zErr = sqlite3re_compile(tls, bp /* &pRe */, zPattern, (libc.Bool32(sqlite3.Xsqlite3_user_data(tls, context) != uintptr(0))))
if zErr != 0 {
sqlite3re_free(tls, *(*uintptr)(unsafe.Pointer(bp /* pRe */)))
sqlite3.Xsqlite3_result_error(tls, context, zErr, -1)
@@ -25999,14 +26087,23 @@ func re_sql_func(tls *libc.TLS, context uintptr, argc int32, argv uintptr) { /*
// Invoke this routine to register the regexp() function with the
// SQLite database connection.
-func sqlite3_regexp_init(tls *libc.TLS, db uintptr, pzErrMsg uintptr, pApi uintptr) int32 { /* regexp.c:750:5: */
+func sqlite3_regexp_init(tls *libc.TLS, db uintptr, pzErrMsg uintptr, pApi uintptr) int32 { /* regexp.c:754:5: */
var rc int32 = SQLITE_OK
_ = pApi
- rc = sqlite3.Xsqlite3_create_function(tls, db, ts+6345 /* "regexp" */, 2, (SQLITE_UTF8 | SQLITE_INNOCUOUS),
+ _ = pzErrMsg // Unused
+ rc = sqlite3.Xsqlite3_create_function(tls, db, ts+6335 /* "regexp" */, 2, (SQLITE_UTF8 | SQLITE_INNOCUOUS),
uintptr(0), *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, int32, uintptr)
}{re_sql_func})), uintptr(0), uintptr(0))
+ if rc == SQLITE_OK {
+ // The regexpi(PATTERN,STRING) function is a case-insensitive version
+ // of regexp(PATTERN,STRING).
+ rc = sqlite3.Xsqlite3_create_function(tls, db, ts+6342 /* "regexpi" */, 2, (SQLITE_UTF8 | SQLITE_INNOCUOUS),
+ db, *(*uintptr)(unsafe.Pointer(&struct {
+ f func(*libc.TLS, uintptr, int32, uintptr)
+ }{re_sql_func})), uintptr(0), uintptr(0))
+ }
return rc
}
@@ -26023,7 +26120,7 @@ func sqlite3_regexp_init(tls *libc.TLS, db uintptr, pzErrMsg uintptr, pApi uintp
// This case when the file is being statically linked into the
// application
-// Copyright (C) 1991-2018 Free Software Foundation, Inc.
+// Copyright (C) 1991-2020 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
@@ -26038,11 +26135,11 @@ func sqlite3_regexp_init(tls *libc.TLS, db uintptr, pzErrMsg uintptr, pApi uintp
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// ISO C99 Standard: 7.2 Diagnostics
-// Copyright (C) 1991-2018 Free Software Foundation, Inc.
+// Copyright (C) 1991-2020 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
@@ -26057,7 +26154,7 @@ func sqlite3_regexp_init(tls *libc.TLS, db uintptr, pzErrMsg uintptr, pApi uintp
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// These are defined by the user (or the compiler)
// to specify the desired environment:
@@ -26065,6 +26162,7 @@ func sqlite3_regexp_init(tls *libc.TLS, db uintptr, pzErrMsg uintptr, pApi uintp
// __STRICT_ANSI__ ISO Standard C.
// _ISOC99_SOURCE Extensions to ISO C89 from ISO C99.
// _ISOC11_SOURCE Extensions to ISO C99 from ISO C11.
+// _ISOC2X_SOURCE Extensions to ISO C99 from ISO C2X.
// __STDC_WANT_LIB_EXT2__
// Extensions to ISO C99 from TR 27431-2:2010.
// __STDC_WANT_IEC_60559_BFP_EXT__
@@ -26185,6 +26283,8 @@ func sqlite3_regexp_init(tls *libc.TLS, db uintptr, pzErrMsg uintptr, pApi uintp
// If nothing (other than _GNU_SOURCE and _DEFAULT_SOURCE) is defined,
// define _DEFAULT_SOURCE.
+// This is to enable the ISO C2X extension.
+
// This is to enable the ISO C11 extension.
// This is to enable the ISO C99 extension.
@@ -26207,9 +26307,22 @@ func sqlite3_regexp_init(tls *libc.TLS, db uintptr, pzErrMsg uintptr, pApi uintp
// compatibility with various implementations of , this test
// must consider only the value of __cplusplus when compiling C++.
+// GNU formerly extended the scanf functions with modified format
+// specifiers %as, %aS, and %a[...] that allocate a buffer for the
+// input using malloc. This extension conflicts with ISO C99, which
+// defines %a as a standalone format specifier that reads a floating-
+// point number; moreover, POSIX.1-2008 provides the same feature
+// using the modifier letter 'm' instead (%ms, %mS, %m[...]).
+//
+// We now follow C99 unless GNU extensions are active and the compiler
+// is specifically in C89 or C++98 mode (strict or not). For
+// instance, with GCC, -std=gnu11 will have C99-compliant scanf with
+// or without -D_GNU_SOURCE, but -std=c89 -D_GNU_SOURCE will have the
+// old extension.
+
// Get definitions of __STDC_* predefined macros, if the compiler has
// not preincluded this header automatically.
-// Copyright (C) 1991-2018 Free Software Foundation, Inc.
+// Copyright (C) 1991-2020 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
@@ -26224,7 +26337,7 @@ func sqlite3_regexp_init(tls *libc.TLS, db uintptr, pzErrMsg uintptr, pApi uintp
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// This macro indicates that the installed library is the GNU C Library.
// For historic reasons the value now is 6 and this will stay from now
@@ -26237,7 +26350,7 @@ func sqlite3_regexp_init(tls *libc.TLS, db uintptr, pzErrMsg uintptr, pApi uintp
// these macros to test for features in specific releases.
// This is here only because every header file already includes this one.
-// Copyright (C) 1992-2018 Free Software Foundation, Inc.
+// Copyright (C) 1992-2020 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
@@ -26252,7 +26365,7 @@ func sqlite3_regexp_init(tls *libc.TLS, db uintptr, pzErrMsg uintptr, pApi uintp
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// We are almost always included from features.h.
@@ -26367,7 +26480,7 @@ func sqlite3_regexp_init(tls *libc.TLS, db uintptr, pzErrMsg uintptr, pApi uintp
// semantics.
//
// clang++ identifies itself as gcc-4.2, but has support for GNU inlining
-// semantics, that can be checked fot by using the __GNUC_STDC_INLINE_ and
+// semantics, that can be checked for by using the __GNUC_STDC_INLINE_ and
// __GNUC_GNU_INLINE__ macro definitions.
// GCC 4.3 and above allow passing all anonymous arguments of an
@@ -26384,14 +26497,12 @@ func sqlite3_regexp_init(tls *libc.TLS, db uintptr, pzErrMsg uintptr, pApi uintp
// array_name[restrict]
// GCC 3.1 supports this.
-// Describes a char array whose address can safely be passed as the first
-// argument to strncpy and strncat, as the char array is not necessarily
-// a NUL-terminated string.
+// Undefine (also defined in libc-symbols.h).
// Determine the wordsize from the preprocessor defines.
// Properties of long double type. ldbl-opt version.
-// Copyright (C) 2016-2018 Free Software Foundation, Inc.
+// Copyright (C) 2016-2020 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
@@ -26406,7 +26517,7 @@ func sqlite3_regexp_init(tls *libc.TLS, db uintptr, pzErrMsg uintptr, pApi uintp
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// __glibc_macro_warning (MESSAGE) issues warning MESSAGE. This is
// intended for use in preprocessor macros.
@@ -26462,7 +26573,7 @@ func rememberFunc(tls *libc.TLS, pCtx uintptr, argc int32, argv uintptr) { /* re
var ptr uintptr
v = sqlite3.Xsqlite3_value_int64(tls, *(*uintptr)(unsafe.Pointer(argv)))
- ptr = sqlite3.Xsqlite3_value_pointer(tls, *(*uintptr)(unsafe.Pointer(argv + 1*8)), ts+3931 /* "carray" */)
+ ptr = sqlite3.Xsqlite3_value_pointer(tls, *(*uintptr)(unsafe.Pointer(argv + 1*8)), ts+3921 /* "carray" */)
if ptr != 0 {
*(*sqlite3_int64)(unsafe.Pointer(ptr)) = v
}
@@ -26473,7 +26584,7 @@ func sqlite3_remember_init(tls *libc.TLS, db uintptr, pzErrMsg uintptr, pApi uin
var rc int32 = SQLITE_OK
_ = pApi
- rc = sqlite3.Xsqlite3_create_function(tls, db, ts+6352 /* "remember" */, 2, SQLITE_UTF8, uintptr(0),
+ rc = sqlite3.Xsqlite3_create_function(tls, db, ts+6350 /* "remember" */, 2, SQLITE_UTF8, uintptr(0),
*(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, int32, uintptr)
}{rememberFunc})), uintptr(0), uintptr(0))
@@ -26521,7 +26632,7 @@ func seriesConnect(tls *libc.TLS, db uintptr, pUnused uintptr, argcUnused int32,
_ = argvUnused
_ = pzErrUnused
rc = sqlite3.Xsqlite3_declare_vtab(tls, db,
- ts+6361 /* "CREATE TABLE x(v..." */)
+ ts+6359 /* "CREATE TABLE x(v..." */)
if rc == SQLITE_OK {
pNew = libc.AssignPtrUintptr(ppVtab, sqlite3.Xsqlite3_malloc(tls, int32(unsafe.Sizeof(sqlite3_vtab{}))))
if pNew == uintptr(0) {
@@ -26808,10 +26919,10 @@ func sqlite3_series_init(tls *libc.TLS, db uintptr, pzErrMsg uintptr, pApi uintp
if sqlite3.Xsqlite3_libversion_number(tls) < 3008012 {
*(*uintptr)(unsafe.Pointer(pzErrMsg)) = sqlite3.Xsqlite3_mprintf(tls,
- ts+6420 /* "generate_series(..." */, 0)
+ ts+6418 /* "generate_series(..." */, 0)
return SQLITE_ERROR
}
- rc = sqlite3.Xsqlite3_create_module(tls, db, ts+6470 /* "generate_series" */, uintptr(unsafe.Pointer(&seriesModule)), uintptr(0))
+ rc = sqlite3.Xsqlite3_create_module(tls, db, ts+6468 /* "generate_series" */, uintptr(unsafe.Pointer(&seriesModule)), uintptr(0))
return rc
}
@@ -26932,7 +27043,7 @@ var initClass = [128]uint8{
// Mapping from the character class number (0-13) to a symbol for each
// character class. Note that initClass[] can be used to map the class
// symbol back into the class number.
-var className = *(*[14]uint8)(unsafe.Pointer(ts + 6486 /* ".ABCDHLRMY9 ?" */)) /* spellfix.c:176:28 */
+var className = *(*[14]uint8)(unsafe.Pointer(ts + 6484 /* ".ABCDHLRMY9 ?" */)) /* spellfix.c:176:28 */
// Generate a "phonetic hash" from a string of ASCII characters
// in zIn[0..nIn-1].
@@ -27317,9 +27428,9 @@ func editdistSqlFunc(tls *libc.TLS, context uintptr, argc int32, argv uintptr) {
if res == (-3) {
sqlite3.Xsqlite3_result_error_nomem(tls, context)
} else if res == (-2) {
- sqlite3.Xsqlite3_result_error(tls, context, ts+6500 /* "non-ASCII input ..." */, -1)
+ sqlite3.Xsqlite3_result_error(tls, context, ts+6498 /* "non-ASCII input ..." */, -1)
} else {
- sqlite3.Xsqlite3_result_error(tls, context, ts+6530 /* "NULL input to ed..." */, -1)
+ sqlite3.Xsqlite3_result_error(tls, context, ts+6528 /* "NULL input to ed..." */, -1)
}
} else {
sqlite3.Xsqlite3_result_int(tls, context, res)
@@ -27518,7 +27629,7 @@ func editDist3ConfigLoad(tls *libc.TLS, p uintptr, db uintptr, zTable uintptr) i
var pLang uintptr = uintptr(0)
zSql = sqlite3.Xsqlite3_mprintf(tls,
- ts+6555 /* "SELECT iLang, cF..." */, libc.VaList(bp, zTable))
+ ts+6553 /* "SELECT iLang, cF..." */, libc.VaList(bp, zTable))
if zSql == uintptr(0) {
return SQLITE_NOMEM
}
@@ -28167,20 +28278,20 @@ func editDist3Install(tls *libc.TLS, db uintptr) int32 { /* spellfix.c:1210:12:
return SQLITE_NOMEM
}
libc.Xmemset(tls, pConfig, 0, uint64(unsafe.Sizeof(EditDist3Config{})))
- rc = sqlite3.Xsqlite3_create_function_v2(tls, db, ts+6627, /* "editdist3" */
+ rc = sqlite3.Xsqlite3_create_function_v2(tls, db, ts+6625, /* "editdist3" */
2, (SQLITE_UTF8 | SQLITE_DETERMINISTIC), pConfig,
*(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, int32, uintptr)
}{editDist3SqlFunc})), uintptr(0), uintptr(0), uintptr(0))
if rc == SQLITE_OK {
- rc = sqlite3.Xsqlite3_create_function_v2(tls, db, ts+6627, /* "editdist3" */
+ rc = sqlite3.Xsqlite3_create_function_v2(tls, db, ts+6625, /* "editdist3" */
3, (SQLITE_UTF8 | SQLITE_DETERMINISTIC), pConfig,
*(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, int32, uintptr)
}{editDist3SqlFunc})), uintptr(0), uintptr(0), uintptr(0))
}
if rc == SQLITE_OK {
- rc = sqlite3.Xsqlite3_create_function_v2(tls, db, ts+6627, /* "editdist3" */
+ rc = sqlite3.Xsqlite3_create_function_v2(tls, db, ts+6625, /* "editdist3" */
1, (SQLITE_UTF8 | SQLITE_DETERMINISTIC), pConfig,
*(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, int32, uintptr)
@@ -28954,7 +29065,7 @@ func spellfix1Uninit(tls *libc.TLS, isDestroy int32, pVTab uintptr) int32 { /* s
*(*int32)(unsafe.Pointer(bp + 16 /* rc */)) = SQLITE_OK
if isDestroy != 0 {
var db uintptr = (*spellfix1_vtab)(unsafe.Pointer(p)).Fdb
- spellfix1DbExec(tls, bp+16 /* &rc */, db, ts+6637, /* "DROP TABLE IF EX..." */
+ spellfix1DbExec(tls, bp+16 /* &rc */, db, ts+6635, /* "DROP TABLE IF EX..." */
libc.VaList(bp, (*spellfix1_vtab)(unsafe.Pointer(p)).FzDbName, (*spellfix1_vtab)(unsafe.Pointer(p)).FzTableName))
}
if *(*int32)(unsafe.Pointer(bp + 16 /* rc */)) == SQLITE_OK {
@@ -29046,27 +29157,27 @@ func spellfix1Init(tls *libc.TLS, isCreate int32, db uintptr, pAux uintptr, argc
sqlite3.Xsqlite3_vtab_config(tls, db, SQLITE_VTAB_INNOCUOUS, 0)
*(*int32)(unsafe.Pointer(bp + 56 /* rc */)) = sqlite3.Xsqlite3_declare_vtab(tls, db,
- ts+6674 /* "CREATE TABLE x(w..." */)
+ ts+6672 /* "CREATE TABLE x(w..." */)
}
if (*(*int32)(unsafe.Pointer(bp + 56 /* rc */)) == SQLITE_OK) && (isCreate != 0) {
spellfix1DbExec(tls, bp+56 /* &rc */, db,
- ts+6828, /* "CREATE TABLE IF ..." */
+ ts+6826, /* "CREATE TABLE IF ..." */
libc.VaList(bp+8, zDbName, zTableName))
spellfix1DbExec(tls, bp+56 /* &rc */, db,
- ts+6962, /* "CREATE INDEX IF ..." */
+ ts+6960, /* "CREATE INDEX IF ..." */
libc.VaList(bp+24, zDbName, zTableName, zTableName))
}
for i = 3; (*(*int32)(unsafe.Pointer(bp + 56 /* rc */)) == SQLITE_OK) && (i < argc); i++ {
- if (libc.Xstrncmp(tls, *(*uintptr)(unsafe.Pointer(argv + uintptr(i)*8)), ts+7047 /* "edit_cost_table=" */, uint64(16)) == 0) && ((*spellfix1_vtab)(unsafe.Pointer(pNew)).FzCostTable == uintptr(0)) {
+ if (libc.Xstrncmp(tls, *(*uintptr)(unsafe.Pointer(argv + uintptr(i)*8)), ts+7045 /* "edit_cost_table=" */, uint64(16)) == 0) && ((*spellfix1_vtab)(unsafe.Pointer(pNew)).FzCostTable == uintptr(0)) {
(*spellfix1_vtab)(unsafe.Pointer(pNew)).FzCostTable = spellfix1Dequote(tls, (*(*uintptr)(unsafe.Pointer(argv + uintptr(i)*8)) + 16))
if (*spellfix1_vtab)(unsafe.Pointer(pNew)).FzCostTable == uintptr(0) {
*(*int32)(unsafe.Pointer(bp + 56 /* rc */)) = SQLITE_NOMEM
}
continue
}
- *(*uintptr)(unsafe.Pointer(pzErr)) = sqlite3.Xsqlite3_mprintf(tls, ts+7064 /* "bad argument to ..." */, libc.VaList(bp+48, *(*uintptr)(unsafe.Pointer(argv + uintptr(i)*8))))
+ *(*uintptr)(unsafe.Pointer(pzErr)) = sqlite3.Xsqlite3_mprintf(tls, ts+7062 /* "bad argument to ..." */, libc.VaList(bp+48, *(*uintptr)(unsafe.Pointer(argv + uintptr(i)*8))))
*(*int32)(unsafe.Pointer(bp + 56 /* rc */)) = SQLITE_ERROR
}
}
@@ -29619,7 +29730,7 @@ __18:
;
zSql = sqlite3.Xsqlite3_mprintf(tls,
- ts+7098, /* "SELECT id, word,..." */
+ ts+7096, /* "SELECT id, word,..." */
libc.VaList(bp, (*spellfix1_vtab)(unsafe.Pointer(p)).FzDbName, (*spellfix1_vtab)(unsafe.Pointer(p)).FzTableName, iLang))
if !(zSql == uintptr(0)) {
goto __19
@@ -29679,11 +29790,11 @@ func spellfix1FilterForFullScan(tls *libc.TLS, pCur uintptr, argc int32, argv ui
spellfix1ResetCursor(tls, pCur)
zSql = sqlite3.Xsqlite3_mprintf(tls,
- ts+7198, /* "SELECT word, ran..." */
+ ts+7196, /* "SELECT word, ran..." */
libc.VaList(bp, (*spellfix1_vtab)(unsafe.Pointer(pVTab)).FzDbName, (*spellfix1_vtab)(unsafe.Pointer(pVTab)).FzTableName,
func() uintptr {
if (idxNum & 64) != 0 {
- return ts + 7257 /* " WHERE rowid=?" */
+ return ts + 7255 /* " WHERE rowid=?" */
}
return ts + 489 /* "" */
}()))
@@ -29884,7 +29995,7 @@ func spellfix1GetConflict(tls *libc.TLS, db uintptr) uintptr { /* spellfix.c:282
var azConflict = [5]uintptr{
// Note: Instead of "FAIL" - "ABORT".
- ts + 7272 /* "ROLLBACK" */, ts + 7281 /* "IGNORE" */, ts + 7288 /* "ABORT" */, ts + 7288 /* "ABORT" */, ts + 7294, /* "REPLACE" */
+ ts + 7270 /* "ROLLBACK" */, ts + 7279 /* "IGNORE" */, ts + 7286 /* "ABORT" */, ts + 7286 /* "ABORT" */, ts + 7292, /* "REPLACE" */
} /* spellfix.c:2829:21 */
// The xUpdate() method.
@@ -29902,7 +30013,7 @@ func spellfix1Update(tls *libc.TLS, pVTab uintptr, argc int32, argv uintptr, pRo
// A delete operation on the rowid given by argv[0]
rowid = libc.AssignPtrInt64(pRowid, sqlite3.Xsqlite3_value_int64(tls, *(*uintptr)(unsafe.Pointer(argv))))
spellfix1DbExec(tls, bp+280 /* &rc */, db,
- ts+7302, /* "DELETE FROM \"%w\"..." */
+ ts+7300, /* "DELETE FROM \"%w\"..." */
libc.VaList(bp, (*spellfix1_vtab)(unsafe.Pointer(p)).FzDbName, (*spellfix1_vtab)(unsafe.Pointer(p)).FzTableName, rowid))
} else {
var zWord uintptr = sqlite3.Xsqlite3_value_text(tls, *(*uintptr)(unsafe.Pointer(argv + 2*8)))
@@ -29923,17 +30034,17 @@ func spellfix1Update(tls *libc.TLS, pVTab uintptr, argc int32, argv uintptr, pRo
// what special actions to take
var zCmd uintptr = sqlite3.Xsqlite3_value_text(tls, *(*uintptr)(unsafe.Pointer(argv + 13*8)))
if zCmd == uintptr(0) {
- (*sqlite3_vtab)(unsafe.Pointer(pVTab)).FzErrMsg = sqlite3.Xsqlite3_mprintf(tls, ts+7345, /* "NOT NULL constra..." */
+ (*sqlite3_vtab)(unsafe.Pointer(pVTab)).FzErrMsg = sqlite3.Xsqlite3_mprintf(tls, ts+7343, /* "NOT NULL constra..." */
libc.VaList(bp+24, (*spellfix1_vtab)(unsafe.Pointer(p)).FzTableName))
return (SQLITE_CONSTRAINT | (int32(5) << 8))
}
- if libc.Xstrcmp(tls, zCmd, ts+7381 /* "reset" */) == 0 {
+ if libc.Xstrcmp(tls, zCmd, ts+7379 /* "reset" */) == 0 {
// Reset the edit cost table (if there is one).
editDist3ConfigDelete(tls, (*spellfix1_vtab)(unsafe.Pointer(p)).FpConfig3)
(*spellfix1_vtab)(unsafe.Pointer(p)).FpConfig3 = uintptr(0)
return SQLITE_OK
}
- if libc.Xstrncmp(tls, zCmd, ts+7047 /* "edit_cost_table=" */, uint64(16)) == 0 {
+ if libc.Xstrncmp(tls, zCmd, ts+7045 /* "edit_cost_table=" */, uint64(16)) == 0 {
editDist3ConfigDelete(tls, (*spellfix1_vtab)(unsafe.Pointer(p)).FpConfig3)
(*spellfix1_vtab)(unsafe.Pointer(p)).FpConfig3 = uintptr(0)
sqlite3.Xsqlite3_free(tls, (*spellfix1_vtab)(unsafe.Pointer(p)).FzCostTable)
@@ -29941,13 +30052,13 @@ func spellfix1Update(tls *libc.TLS, pVTab uintptr, argc int32, argv uintptr, pRo
if (*spellfix1_vtab)(unsafe.Pointer(p)).FzCostTable == uintptr(0) {
return SQLITE_NOMEM
}
- if (int32(*(*int8)(unsafe.Pointer((*spellfix1_vtab)(unsafe.Pointer(p)).FzCostTable))) == 0) || (sqlite3.Xsqlite3_stricmp(tls, (*spellfix1_vtab)(unsafe.Pointer(p)).FzCostTable, ts+7387 /* "null" */) == 0) {
+ if (int32(*(*int8)(unsafe.Pointer((*spellfix1_vtab)(unsafe.Pointer(p)).FzCostTable))) == 0) || (sqlite3.Xsqlite3_stricmp(tls, (*spellfix1_vtab)(unsafe.Pointer(p)).FzCostTable, ts+7385 /* "null" */) == 0) {
sqlite3.Xsqlite3_free(tls, (*spellfix1_vtab)(unsafe.Pointer(p)).FzCostTable)
(*spellfix1_vtab)(unsafe.Pointer(p)).FzCostTable = uintptr(0)
}
return SQLITE_OK
}
- (*sqlite3_vtab)(unsafe.Pointer(pVTab)).FzErrMsg = sqlite3.Xsqlite3_mprintf(tls, ts+7392, /* "unknown value fo..." */
+ (*sqlite3_vtab)(unsafe.Pointer(pVTab)).FzErrMsg = sqlite3.Xsqlite3_mprintf(tls, ts+7390, /* "unknown value fo..." */
libc.VaList(bp+32, (*spellfix1_vtab)(unsafe.Pointer(p)).FzTableName, zCmd))
return SQLITE_ERROR
}
@@ -29976,14 +30087,14 @@ func spellfix1Update(tls *libc.TLS, pVTab uintptr, argc int32, argv uintptr, pRo
if sqlite3.Xsqlite3_value_type(tls, *(*uintptr)(unsafe.Pointer(argv + 1*8))) == SQLITE_NULL {
spellfix1DbExec(tls, bp+280 /* &rc */, db,
- ts+7427, /* "INSERT INTO \"%w\"..." */
+ ts+7425, /* "INSERT INTO \"%w\"..." */
libc.VaList(bp+48, (*spellfix1_vtab)(unsafe.Pointer(p)).FzDbName, (*spellfix1_vtab)(unsafe.Pointer(p)).FzTableName,
iRank, iLang, zWord, zK1, zWord, zK2))
} else {
newRowid = sqlite3.Xsqlite3_value_int64(tls, *(*uintptr)(unsafe.Pointer(argv + 1*8)))
spellfix1DbExec(tls, bp+280 /* &rc */, db,
- ts+7513, /* "INSERT OR %s INT..." */
+ ts+7511, /* "INSERT OR %s INT..." */
libc.VaList(bp+112, zConflict, (*spellfix1_vtab)(unsafe.Pointer(p)).FzDbName, (*spellfix1_vtab)(unsafe.Pointer(p)).FzTableName,
newRowid, iRank, iLang, zWord, zK1, zWord, zK2))
}
@@ -29993,7 +30104,7 @@ func spellfix1Update(tls *libc.TLS, pVTab uintptr, argc int32, argv uintptr, pRo
newRowid = libc.AssignPtrInt64(pRowid, sqlite3.Xsqlite3_value_int64(tls, *(*uintptr)(unsafe.Pointer(argv + 1*8))))
spellfix1DbExec(tls, bp+280 /* &rc */, db,
- ts+7613, /* "UPDATE OR %s \"%w..." */
+ ts+7611, /* "UPDATE OR %s \"%w..." */
libc.VaList(bp+192, zConflict, (*spellfix1_vtab)(unsafe.Pointer(p)).FzDbName, (*spellfix1_vtab)(unsafe.Pointer(p)).FzTableName, newRowid, iRank, iLang,
zWord, zK1, zWord, zK2, rowid))
}
@@ -30016,7 +30127,7 @@ func spellfix1Rename(tls *libc.TLS, pVTab uintptr, zNew uintptr) int32 { /* spel
return SQLITE_NOMEM
}
spellfix1DbExec(tls, bp+32 /* &rc */, db,
- ts+7722, /* "ALTER TABLE \"%w\"..." */
+ ts+7720, /* "ALTER TABLE \"%w\"..." */
libc.VaList(bp+8, (*spellfix1_vtab)(unsafe.Pointer(p)).FzDbName, (*spellfix1_vtab)(unsafe.Pointer(p)).FzTableName, zNewName))
if *(*int32)(unsafe.Pointer(bp + 32 /* rc */)) == SQLITE_OK {
sqlite3.Xsqlite3_free(tls, (*spellfix1_vtab)(unsafe.Pointer(p)).FzTableName)
@@ -30049,34 +30160,34 @@ var spellfix1Module = sqlite3_module{ // iVersion
func spellfix1Register(tls *libc.TLS, db uintptr) int32 { /* spellfix.c:3017:12: */
var rc int32 = SQLITE_OK
var i int32
- rc = sqlite3.Xsqlite3_create_function(tls, db, ts+7771 /* "spellfix1_transl..." */, 1,
+ rc = sqlite3.Xsqlite3_create_function(tls, db, ts+7769 /* "spellfix1_transl..." */, 1,
(SQLITE_UTF8 | SQLITE_DETERMINISTIC), uintptr(0),
*(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, int32, uintptr)
}{transliterateSqlFunc})), uintptr(0), uintptr(0))
if rc == SQLITE_OK {
- rc = sqlite3.Xsqlite3_create_function(tls, db, ts+7790 /* "spellfix1_editdi..." */, 2,
+ rc = sqlite3.Xsqlite3_create_function(tls, db, ts+7788 /* "spellfix1_editdi..." */, 2,
(SQLITE_UTF8 | SQLITE_DETERMINISTIC), uintptr(0),
*(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, int32, uintptr)
}{editdistSqlFunc})), uintptr(0), uintptr(0))
}
if rc == SQLITE_OK {
- rc = sqlite3.Xsqlite3_create_function(tls, db, ts+7809 /* "spellfix1_phoneh..." */, 1,
+ rc = sqlite3.Xsqlite3_create_function(tls, db, ts+7807 /* "spellfix1_phoneh..." */, 1,
(SQLITE_UTF8 | SQLITE_DETERMINISTIC), uintptr(0),
*(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, int32, uintptr)
}{phoneticHashSqlFunc})), uintptr(0), uintptr(0))
}
if rc == SQLITE_OK {
- rc = sqlite3.Xsqlite3_create_function(tls, db, ts+7829 /* "spellfix1_script..." */, 1,
+ rc = sqlite3.Xsqlite3_create_function(tls, db, ts+7827 /* "spellfix1_script..." */, 1,
(SQLITE_UTF8 | SQLITE_DETERMINISTIC), uintptr(0),
*(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, int32, uintptr)
}{scriptCodeSqlFunc})), uintptr(0), uintptr(0))
}
if rc == SQLITE_OK {
- rc = sqlite3.Xsqlite3_create_module(tls, db, ts+7850 /* "spellfix1" */, uintptr(unsafe.Pointer(&spellfix1Module)), uintptr(0))
+ rc = sqlite3.Xsqlite3_create_module(tls, db, ts+7848 /* "spellfix1" */, uintptr(unsafe.Pointer(&spellfix1Module)), uintptr(0))
}
if rc == SQLITE_OK {
rc = editDist3Install(tls, db)
@@ -30132,7 +30243,7 @@ func totypeCompare2pow63(tls *libc.TLS, zNum uintptr) int32 { /* totype.c:95:12:
var c int32 = 0
var i int32
// 012345678901234567
- var pow63 uintptr = ts + 7860 /* "9223372036854775..." */
+ var pow63 uintptr = ts + 7858 /* "9223372036854775..." */
for i = 0; (c == 0) && (i < 18); i++ {
c = ((int32(*(*int8)(unsafe.Pointer(zNum + uintptr(i)))) - int32(*(*int8)(unsafe.Pointer(pow63 + uintptr(i))))) * 10)
}
@@ -30749,13 +30860,13 @@ func sqlite3_totype_init(tls *libc.TLS, db uintptr, pzErrMsg uintptr, pApi uintp
_ = pApi
_ = pzErrMsg // Unused parameter
- rc = sqlite3.Xsqlite3_create_function(tls, db, ts+7879 /* "tointeger" */, 1,
+ rc = sqlite3.Xsqlite3_create_function(tls, db, ts+7877 /* "tointeger" */, 1,
((SQLITE_UTF8 | SQLITE_DETERMINISTIC) | SQLITE_INNOCUOUS), uintptr(0),
*(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, int32, uintptr)
}{tointegerFunc})), uintptr(0), uintptr(0))
if rc == SQLITE_OK {
- rc = sqlite3.Xsqlite3_create_function(tls, db, ts+7889 /* "toreal" */, 1,
+ rc = sqlite3.Xsqlite3_create_function(tls, db, ts+7887 /* "toreal" */, 1,
((SQLITE_UTF8 | SQLITE_DETERMINISTIC) | SQLITE_INNOCUOUS), uintptr(0),
*(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, int32, uintptr)
@@ -30765,7 +30876,7 @@ func sqlite3_totype_init(tls *libc.TLS, db uintptr, pzErrMsg uintptr, pApi uintp
}
// Floating-point inline functions for stdlib.h.
-// Copyright (C) 2012-2018 Free Software Foundation, Inc.
+// Copyright (C) 2012-2020 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
@@ -30780,7 +30891,7 @@ func sqlite3_totype_init(tls *libc.TLS, db uintptr, pzErrMsg uintptr, pApi uintp
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// Define some macros helping to catch buffer overflows.
@@ -30803,7 +30914,7 @@ type UnionCsr1 = struct {
} /* unionvtab.c:181:9 */
// Floating-point inline functions for stdlib.h.
-// Copyright (C) 2012-2018 Free Software Foundation, Inc.
+// Copyright (C) 2012-2020 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
@@ -30818,7 +30929,7 @@ type UnionCsr1 = struct {
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// Define some macros helping to catch buffer overflows.
@@ -30970,7 +31081,7 @@ func unionPrepare(tls *libc.TLS, pRc uintptr, db uintptr, zSql uintptr, pzErr ui
if *(*int32)(unsafe.Pointer(pRc)) == SQLITE_OK {
var rc int32 = sqlite3.Xsqlite3_prepare_v2(tls, db, zSql, -1, bp+8 /* &pRet */, uintptr(0))
if rc != SQLITE_OK {
- *(*uintptr)(unsafe.Pointer(pzErr)) = sqlite3.Xsqlite3_mprintf(tls, ts+7896 /* "sql error: %s" */, libc.VaList(bp, sqlite3.Xsqlite3_errmsg(tls, db)))
+ *(*uintptr)(unsafe.Pointer(pzErr)) = sqlite3.Xsqlite3_mprintf(tls, ts+7894 /* "sql error: %s" */, libc.VaList(bp, sqlite3.Xsqlite3_errmsg(tls, db)))
*(*int32)(unsafe.Pointer(pRc)) = rc
}
}
@@ -31110,12 +31221,12 @@ func unionIsIntkeyTable(tls *libc.TLS, db uintptr, pSrc uintptr, pzErr uintptr)
var rc int32
sqlite3.Xsqlite3_table_column_metadata(tls,
- db, (*UnionSrc)(unsafe.Pointer(pSrc)).FzDb, (*UnionSrc)(unsafe.Pointer(pSrc)).FzTab, ts+7910 /* "_rowid_" */, bp+24 /* &zType */, uintptr(0), uintptr(0), bp+32 /* &bPk */, uintptr(0))
+ db, (*UnionSrc)(unsafe.Pointer(pSrc)).FzDb, (*UnionSrc)(unsafe.Pointer(pSrc)).FzTab, ts+7908 /* "_rowid_" */, bp+24 /* &zType */, uintptr(0), uintptr(0), bp+32 /* &bPk */, uintptr(0))
rc = sqlite3.Xsqlite3_errcode(tls, db)
if (rc == SQLITE_ERROR) ||
- ((rc == SQLITE_OK) && (!(*(*int32)(unsafe.Pointer(bp + 32 /* bPk */)) != 0) || (sqlite3.Xsqlite3_stricmp(tls, ts+7918 /* "integer" */, *(*uintptr)(unsafe.Pointer(bp + 24 /* zType */))) != 0))) {
+ ((rc == SQLITE_OK) && (!(*(*int32)(unsafe.Pointer(bp + 32 /* bPk */)) != 0) || (sqlite3.Xsqlite3_stricmp(tls, ts+7916 /* "integer" */, *(*uintptr)(unsafe.Pointer(bp + 24 /* zType */))) != 0))) {
rc = SQLITE_ERROR
- *(*uintptr)(unsafe.Pointer(pzErr)) = sqlite3.Xsqlite3_mprintf(tls, ts+7926, /* "no such rowid ta..." */
+ *(*uintptr)(unsafe.Pointer(pzErr)) = sqlite3.Xsqlite3_mprintf(tls, ts+7924, /* "no such rowid ta..." */
libc.VaList(bp, func() uintptr {
if (*UnionSrc)(unsafe.Pointer(pSrc)).FzDb != 0 {
return (*UnionSrc)(unsafe.Pointer(pSrc)).FzDb
@@ -31124,7 +31235,7 @@ func unionIsIntkeyTable(tls *libc.TLS, db uintptr, pSrc uintptr, pzErr uintptr)
}(),
func() uintptr {
if (*UnionSrc)(unsafe.Pointer(pSrc)).FzDb != 0 {
- return ts + 7954 /* "." */
+ return ts + 7952 /* "." */
}
return ts + 489 /* "" */
}(),
@@ -31163,7 +31274,7 @@ func unionSourceToStr(tls *libc.TLS, pRc uintptr, pTab uintptr, pSrc uintptr, pz
*(*int32)(unsafe.Pointer(bp /* rc */)) = unionIsIntkeyTable(tls, db, pSrc, pzErr)
var pStmt uintptr = unionPrepare(tls, bp /* &rc */, db,
- ts+7956 /* "SELECT group_con..." */, pzErr)
+ ts+7954 /* "SELECT group_con..." */, pzErr)
if *(*int32)(unsafe.Pointer(bp /* rc */)) == SQLITE_OK {
sqlite3.Xsqlite3_bind_text(tls, pStmt, 1, (*UnionSrc)(unsafe.Pointer(pSrc)).FzTab, -1, uintptr(0))
sqlite3.Xsqlite3_bind_text(tls, pStmt, 2, (*UnionSrc)(unsafe.Pointer(pSrc)).FzDb, -1, uintptr(0))
@@ -31197,7 +31308,7 @@ func unionSourceCheck(tls *libc.TLS, pTab uintptr, pzErr uintptr) int32 { /* uni
for i = 1; i < (*UnionTab)(unsafe.Pointer(pTab)).FnSrc; i++ {
var z uintptr = unionSourceToStr(tls, bp /* &rc */, pTab, ((*UnionTab)(unsafe.Pointer(pTab)).FaSrc + uintptr(i)*72), pzErr)
if (*(*int32)(unsafe.Pointer(bp /* rc */)) == SQLITE_OK) && (sqlite3.Xsqlite3_stricmp(tls, z, z0) != 0) {
- *(*uintptr)(unsafe.Pointer(pzErr)) = sqlite3.Xsqlite3_mprintf(tls, ts+8040 /* "source table sch..." */, 0)
+ *(*uintptr)(unsafe.Pointer(pzErr)) = sqlite3.Xsqlite3_mprintf(tls, ts+8038 /* "source table sch..." */, 0)
*(*int32)(unsafe.Pointer(bp /* rc */)) = SQLITE_ERROR
}
sqlite3.Xsqlite3_free(tls, z)
@@ -31276,7 +31387,7 @@ func unionOpenDatabase(tls *libc.TLS, pTab uintptr, iSrc int32, pzErr uintptr) i
(*UnionTab)(unsafe.Pointer(pTab)).FzSourceStr = z
} else {
if sqlite3.Xsqlite3_stricmp(tls, z, (*UnionTab)(unsafe.Pointer(pTab)).FzSourceStr) != 0 {
- *(*uintptr)(unsafe.Pointer(pzErr)) = sqlite3.Xsqlite3_mprintf(tls, ts+8040 /* "source table sch..." */, 0)
+ *(*uintptr)(unsafe.Pointer(pzErr)) = sqlite3.Xsqlite3_mprintf(tls, ts+8038 /* "source table sch..." */, 0)
*(*int32)(unsafe.Pointer(bp /* rc */)) = SQLITE_ERROR
}
sqlite3.Xsqlite3_free(tls, z)
@@ -31415,47 +31526,47 @@ func unionConfigureVtab(tls *libc.TLS, pRc uintptr, pTab uintptr, pStmt uintptr,
var iParam int32 = sqlite3.Xsqlite3_bind_parameter_index(tls, pStmt, zOpt)
if iParam == 0 {
*(*uintptr)(unsafe.Pointer(pzErr)) = sqlite3.Xsqlite3_mprintf(tls,
- ts+8069 /* "swarmvtab: no su..." */, libc.VaList(bp, zOpt))
+ ts+8067 /* "swarmvtab: no su..." */, libc.VaList(bp, zOpt))
*(*int32)(unsafe.Pointer(bp + 64 /* rc */)) = SQLITE_ERROR
} else {
*(*int32)(unsafe.Pointer(bp + 64 /* rc */)) = sqlite3.Xsqlite3_bind_text(tls, pStmt, iParam, zVal, -1, libc.UintptrFromInt32(-1))
}
- } else if (nOpt == 7) && (0 == sqlite3.Xsqlite3_strnicmp(tls, zOpt, ts+8106 /* "maxopen" */, 7)) {
+ } else if (nOpt == 7) && (0 == sqlite3.Xsqlite3_strnicmp(tls, zOpt, ts+8104 /* "maxopen" */, 7)) {
(*UnionTab)(unsafe.Pointer(pTab)).FnMaxOpen = libc.Xatoi(tls, zVal)
if (*UnionTab)(unsafe.Pointer(pTab)).FnMaxOpen <= 0 {
- *(*uintptr)(unsafe.Pointer(pzErr)) = sqlite3.Xsqlite3_mprintf(tls, ts+8114 /* "swarmvtab: illeg..." */, 0)
+ *(*uintptr)(unsafe.Pointer(pzErr)) = sqlite3.Xsqlite3_mprintf(tls, ts+8112 /* "swarmvtab: illeg..." */, 0)
*(*int32)(unsafe.Pointer(bp + 64 /* rc */)) = SQLITE_ERROR
}
- } else if (nOpt == 7) && (0 == sqlite3.Xsqlite3_strnicmp(tls, zOpt, ts+8147 /* "missing" */, 7)) {
+ } else if (nOpt == 7) && (0 == sqlite3.Xsqlite3_strnicmp(tls, zOpt, ts+8145 /* "missing" */, 7)) {
if (*UnionTab)(unsafe.Pointer(pTab)).FpNotFound != 0 {
*(*uintptr)(unsafe.Pointer(pzErr)) = sqlite3.Xsqlite3_mprintf(tls,
- ts+8155 /* "swarmvtab: dupli..." */, 0)
+ ts+8153 /* "swarmvtab: dupli..." */, 0)
*(*int32)(unsafe.Pointer(bp + 64 /* rc */)) = SQLITE_ERROR
} else {
(*UnionTab)(unsafe.Pointer(pTab)).FpNotFound = unionPreparePrintf(tls, bp+64 /* &rc */, pzErr, (*UnionTab)(unsafe.Pointer(pTab)).Fdb,
- ts+8193 /* "SELECT \"%w\"(?%s)" */, libc.VaList(bp+8, zVal, func() uintptr {
+ ts+8191 /* "SELECT \"%w\"(?%s)" */, libc.VaList(bp+8, zVal, func() uintptr {
if (*UnionTab)(unsafe.Pointer(pTab)).FbHasContext != 0 {
- return ts + 8210 /* ",?" */
+ return ts + 8208 /* ",?" */
}
return ts + 489 /* "" */
}()))
}
- } else if (nOpt == 9) && (0 == sqlite3.Xsqlite3_strnicmp(tls, zOpt, ts+8213 /* "openclose" */, 9)) {
+ } else if (nOpt == 9) && (0 == sqlite3.Xsqlite3_strnicmp(tls, zOpt, ts+8211 /* "openclose" */, 9)) {
if (*UnionTab)(unsafe.Pointer(pTab)).FpOpenClose != 0 {
*(*uintptr)(unsafe.Pointer(pzErr)) = sqlite3.Xsqlite3_mprintf(tls,
- ts+8223 /* "swarmvtab: dupli..." */, 0)
+ ts+8221 /* "swarmvtab: dupli..." */, 0)
*(*int32)(unsafe.Pointer(bp + 64 /* rc */)) = SQLITE_ERROR
} else {
(*UnionTab)(unsafe.Pointer(pTab)).FpOpenClose = unionPreparePrintf(tls, bp+64 /* &rc */, pzErr, (*UnionTab)(unsafe.Pointer(pTab)).Fdb,
- ts+8263 /* "SELECT \"%w\"(?,?%..." */, libc.VaList(bp+24, zVal, func() uintptr {
+ ts+8261 /* "SELECT \"%w\"(?,?%..." */, libc.VaList(bp+24, zVal, func() uintptr {
if (*UnionTab)(unsafe.Pointer(pTab)).FbHasContext != 0 {
- return ts + 8210 /* ",?" */
+ return ts + 8208 /* ",?" */
}
return ts + 489 /* "" */
}()))
}
} else {
- *(*uintptr)(unsafe.Pointer(pzErr)) = sqlite3.Xsqlite3_mprintf(tls, ts+8282 /* "swarmvtab: unrec..." */, libc.VaList(bp+40, zOpt))
+ *(*uintptr)(unsafe.Pointer(pzErr)) = sqlite3.Xsqlite3_mprintf(tls, ts+8280 /* "swarmvtab: unrec..." */, libc.VaList(bp+40, zOpt))
*(*int32)(unsafe.Pointer(bp + 64 /* rc */)) = SQLITE_ERROR
}
sqlite3.Xsqlite3_free(tls, zVal)
@@ -31463,9 +31574,9 @@ func unionConfigureVtab(tls *libc.TLS, pRc uintptr, pTab uintptr, pStmt uintptr,
} else {
if (i == 0) && (nArg == 1) {
(*UnionTab)(unsafe.Pointer(pTab)).FpNotFound = unionPreparePrintf(tls, bp+64 /* &rc */, pzErr, (*UnionTab)(unsafe.Pointer(pTab)).Fdb,
- ts+8317 /* "SELECT \"%w\"(?)" */, libc.VaList(bp+48, zArg))
+ ts+8315 /* "SELECT \"%w\"(?)" */, libc.VaList(bp+48, zArg))
} else {
- *(*uintptr)(unsafe.Pointer(pzErr)) = sqlite3.Xsqlite3_mprintf(tls, ts+8332 /* "swarmvtab: parse..." */, libc.VaList(bp+56, *(*uintptr)(unsafe.Pointer(azArg + uintptr(i)*8))))
+ *(*uintptr)(unsafe.Pointer(pzErr)) = sqlite3.Xsqlite3_mprintf(tls, ts+8330 /* "swarmvtab: parse..." */, libc.VaList(bp+56, *(*uintptr)(unsafe.Pointer(azArg + uintptr(i)*8))))
*(*int32)(unsafe.Pointer(bp + 64 /* rc */)) = SQLITE_ERROR
}
}
@@ -31498,17 +31609,17 @@ func unionConnect(tls *libc.TLS, db uintptr, pAux uintptr, argc int32, argv uint
}()
var zVtab uintptr = func() uintptr {
if bSwarm != 0 {
- return ts + 8359 /* "swarmvtab" */
+ return ts + 8357 /* "swarmvtab" */
}
- return ts + 8369 /* "unionvtab" */
+ return ts + 8367 /* "unionvtab" */
}()
- if sqlite3.Xsqlite3_stricmp(tls, ts+8379 /* "temp" */, *(*uintptr)(unsafe.Pointer(argv + 1*8))) != 0 {
+ if sqlite3.Xsqlite3_stricmp(tls, ts+8377 /* "temp" */, *(*uintptr)(unsafe.Pointer(argv + 1*8))) != 0 {
// unionvtab tables may only be created in the temp schema
- *(*uintptr)(unsafe.Pointer(pzErr)) = sqlite3.Xsqlite3_mprintf(tls, ts+8384 /* "%s tables must b..." */, libc.VaList(bp, zVtab))
+ *(*uintptr)(unsafe.Pointer(pzErr)) = sqlite3.Xsqlite3_mprintf(tls, ts+8382 /* "%s tables must b..." */, libc.VaList(bp, zVtab))
*(*int32)(unsafe.Pointer(bp + 40 /* rc */)) = SQLITE_ERROR
} else if (argc < 4) || ((argc > 4) && (bSwarm == 0)) {
- *(*uintptr)(unsafe.Pointer(pzErr)) = sqlite3.Xsqlite3_mprintf(tls, ts+8425 /* "wrong number of ..." */, libc.VaList(bp+8, zVtab))
+ *(*uintptr)(unsafe.Pointer(pzErr)) = sqlite3.Xsqlite3_mprintf(tls, ts+8423 /* "wrong number of ..." */, libc.VaList(bp+8, zVtab))
*(*int32)(unsafe.Pointer(bp + 40 /* rc */)) = SQLITE_ERROR
} else {
var nAlloc int32 = 0 // Allocated size of pTab->aSrc[]
@@ -31521,7 +31632,7 @@ func unionConnect(tls *libc.TLS, db uintptr, pAux uintptr, argc int32, argv uint
// and that the UnionTab.aSrc[] array is always sorted by rowid.
unionDequote(tls, zArg)
pStmt = unionPreparePrintf(tls, bp+40 /* &rc */, pzErr, db,
- ts+8458 /* "SELECT * FROM (%..." */, libc.VaList(bp+16, zArg))
+ ts+8456 /* "SELECT * FROM (%..." */, libc.VaList(bp+16, zArg))
// Allocate the UnionTab structure
pTab = unionMalloc(tls, bp+40 /* &rc */, int64(unsafe.Sizeof(UnionTab{})))
@@ -31568,7 +31679,7 @@ func unionConnect(tls *libc.TLS, db uintptr, pAux uintptr, argc int32, argv uint
// Check for problems with the specified range of rowids
if (iMax < iMin) || (((*UnionTab)(unsafe.Pointer(pTab)).FnSrc > 0) && (iMin <= (*UnionSrc)(unsafe.Pointer((*UnionTab)(unsafe.Pointer(pTab)).FaSrc+uintptr(((*UnionTab)(unsafe.Pointer(pTab)).FnSrc-1))*72)).FiMax)) {
- *(*uintptr)(unsafe.Pointer(pzErr)) = sqlite3.Xsqlite3_mprintf(tls, ts+8488 /* "rowid range mism..." */, 0)
+ *(*uintptr)(unsafe.Pointer(pzErr)) = sqlite3.Xsqlite3_mprintf(tls, ts+8486 /* "rowid range mism..." */, 0)
*(*int32)(unsafe.Pointer(bp + 40 /* rc */)) = SQLITE_ERROR
}
@@ -31595,7 +31706,7 @@ func unionConnect(tls *libc.TLS, db uintptr, pAux uintptr, argc int32, argv uint
// because there is no way to determine the schema of the virtual
// table in this case.
if (*(*int32)(unsafe.Pointer(bp + 40 /* rc */)) == SQLITE_OK) && ((*UnionTab)(unsafe.Pointer(pTab)).FnSrc == 0) {
- *(*uintptr)(unsafe.Pointer(pzErr)) = sqlite3.Xsqlite3_mprintf(tls, ts+8515 /* "no source tables..." */, 0)
+ *(*uintptr)(unsafe.Pointer(pzErr)) = sqlite3.Xsqlite3_mprintf(tls, ts+8513 /* "no source tables..." */, 0)
*(*int32)(unsafe.Pointer(bp + 40 /* rc */)) = SQLITE_ERROR
}
@@ -31621,7 +31732,7 @@ func unionConnect(tls *libc.TLS, db uintptr, pAux uintptr, argc int32, argv uint
}()
pStmt = unionPreparePrintf(tls, bp+40 /* &rc */, pzErr, tdb,
- ts+8543, /* "SELECT 'CREATE T..." */
+ ts+8541, /* "SELECT 'CREATE T..." */
libc.VaList(bp+24, (*UnionSrc)(unsafe.Pointer(pSrc)).FzTab, (*UnionSrc)(unsafe.Pointer(pSrc)).FzDb))
}
if (*(*int32)(unsafe.Pointer(bp + 40 /* rc */)) == SQLITE_OK) && (SQLITE_ROW == sqlite3.Xsqlite3_step(tls, pStmt)) {
@@ -31683,13 +31794,13 @@ func doUnionNext(tls *libc.TLS, pCsr uintptr) int32 { /* unionvtab.c:1057:12: */
// It is necessary to scan the next table.
*(*int32)(unsafe.Pointer(bp + 24 /* rc */)) = unionOpenDatabase(tls, pTab, (*UnionCsr)(unsafe.Pointer(pCsr)).FiTab, (pTab /* &.base */ + 16 /* &.zErrMsg */))
(*UnionCsr)(unsafe.Pointer(pCsr)).FpStmt = unionPreparePrintf(tls, bp+24 /* &rc */, (pTab /* &.base */ + 16 /* &.zErrMsg */), (*UnionSrc)(unsafe.Pointer(pSrc)).Fdb,
- ts+8721, /* "SELECT rowid, * ..." */
+ ts+8719, /* "SELECT rowid, * ..." */
libc.VaList(bp, (*UnionSrc)(unsafe.Pointer(pSrc)).FzTab,
func() uintptr {
if (*UnionSrc)(unsafe.Pointer(pSrc)).FiMax > (*UnionCsr)(unsafe.Pointer(pCsr)).FiMaxRowid {
- return ts + 8753 /* "WHERE _rowid_ <=" */
+ return ts + 8751 /* "WHERE _rowid_ <=" */
}
- return ts + 8770 /* "-- " */
+ return ts + 8768 /* "-- " */
}(),
(*UnionCsr)(unsafe.Pointer(pCsr)).FiMaxRowid))
if *(*int32)(unsafe.Pointer(bp + 24 /* rc */)) == SQLITE_OK {
@@ -31792,14 +31903,14 @@ func unionFilter(tls *libc.TLS, pVtabCursor uintptr, idxNum int32, idxStr uintpt
continue
}
- zSql = sqlite3.Xsqlite3_mprintf(tls, ts+8774 /* "%z%sSELECT rowid..." */, libc.VaList(bp, zSql, func() uintptr {
+ zSql = sqlite3.Xsqlite3_mprintf(tls, ts+8772 /* "%z%sSELECT rowid..." */, libc.VaList(bp, zSql, func() uintptr {
if zSql != 0 {
- return ts + 8808 /* " UNION ALL " */
+ return ts + 8806 /* " UNION ALL " */
}
return ts + 489 /* "" */
}(), func() uintptr {
if (*UnionSrc)(unsafe.Pointer(pSrc)).FzDb != 0 {
- return ts + 5495 /* "'" */
+ return ts + 5485 /* "'" */
}
return ts + 489 /* "" */
}(), func() uintptr {
@@ -31809,7 +31920,7 @@ func unionFilter(tls *libc.TLS, pVtabCursor uintptr, idxNum int32, idxStr uintpt
return ts + 489 /* "" */
}(), func() uintptr {
if (*UnionSrc)(unsafe.Pointer(pSrc)).FzDb != 0 {
- return ts + 5497 /* "'." */
+ return ts + 5487 /* "'." */
}
return ts + 489 /* "" */
}(), (*UnionSrc)(unsafe.Pointer(pSrc)).FzTab))
@@ -31819,15 +31930,15 @@ func unionFilter(tls *libc.TLS, pVtabCursor uintptr, idxNum int32, idxStr uintpt
}
if iMin == iMax {
- zSql = sqlite3.Xsqlite3_mprintf(tls, ts+8820 /* "%z WHERE rowid=%..." */, libc.VaList(bp+48, zSql, iMin))
+ zSql = sqlite3.Xsqlite3_mprintf(tls, ts+8818 /* "%z WHERE rowid=%..." */, libc.VaList(bp+48, zSql, iMin))
} else {
- var zWhere uintptr = ts + 8840 /* "WHERE" */
+ var zWhere uintptr = ts + 8838 /* "WHERE" */
if (iMin != ((int64(-1)) - (int64(0xffffffff) | (sqlite3_int64((int64(0x7fffffff))) << 32)))) && (iMin > (*UnionSrc)(unsafe.Pointer(pSrc)).FiMin) {
- zSql = sqlite3.Xsqlite3_mprintf(tls, ts+8846 /* "%z WHERE rowid>=..." */, libc.VaList(bp+64, zSql, iMin))
- zWhere = ts + 8867 /* "AND" */
+ zSql = sqlite3.Xsqlite3_mprintf(tls, ts+8844 /* "%z WHERE rowid>=..." */, libc.VaList(bp+64, zSql, iMin))
+ zWhere = ts + 8865 /* "AND" */
}
if (iMax != (int64(0xffffffff) | (sqlite3_int64((int64(0x7fffffff))) << 32))) && (iMax < (*UnionSrc)(unsafe.Pointer(pSrc)).FiMax) {
- zSql = sqlite3.Xsqlite3_mprintf(tls, ts+8871 /* "%z %s rowid<=%ll..." */, libc.VaList(bp+80, zSql, zWhere, iMax))
+ zSql = sqlite3.Xsqlite3_mprintf(tls, ts+8869 /* "%z %s rowid<=%ll..." */, libc.VaList(bp+80, zSql, zWhere, iMax))
}
}
@@ -31941,9 +32052,9 @@ func unionBestIndex(tls *libc.TLS, tab uintptr, pIdxInfo uintptr) int32 { /* uni
func createUnionVtab(tls *libc.TLS, db uintptr) int32 { /* unionvtab.c:1329:12: */
var rc int32
- rc = sqlite3.Xsqlite3_create_module(tls, db, ts+8369 /* "unionvtab" */, uintptr(unsafe.Pointer(&unionModule)), uintptr(0))
+ rc = sqlite3.Xsqlite3_create_module(tls, db, ts+8367 /* "unionvtab" */, uintptr(unsafe.Pointer(&unionModule)), uintptr(0))
if rc == SQLITE_OK {
- rc = sqlite3.Xsqlite3_create_module(tls, db, ts+8359 /* "swarmvtab" */, uintptr(unsafe.Pointer(&unionModule)), db)
+ rc = sqlite3.Xsqlite3_create_module(tls, db, ts+8357 /* "swarmvtab" */, uintptr(unsafe.Pointer(&unionModule)), db)
}
return rc
}
@@ -31989,7 +32100,7 @@ func wholenumberConnect(tls *libc.TLS, db uintptr, pAux uintptr, argc int32, arg
if pNew == uintptr(0) {
return SQLITE_NOMEM
}
- sqlite3.Xsqlite3_declare_vtab(tls, db, ts+8889 /* "CREATE TABLE x(v..." */)
+ sqlite3.Xsqlite3_declare_vtab(tls, db, ts+8887 /* "CREATE TABLE x(v..." */)
sqlite3.Xsqlite3_vtab_config(tls, db, SQLITE_VTAB_INNOCUOUS, 0)
libc.Xmemset(tls, pNew, 0, uint64(unsafe.Sizeof(sqlite3_vtab{})))
return SQLITE_OK
@@ -32184,7 +32295,7 @@ func sqlite3_wholenumber_init(tls *libc.TLS, db uintptr, pzErrMsg uintptr, pApi
var rc int32 = SQLITE_OK
_ = pApi
- rc = sqlite3.Xsqlite3_create_module(tls, db, ts+8911 /* "wholenumber" */, uintptr(unsafe.Pointer(&wholenumberModule)), uintptr(0))
+ rc = sqlite3.Xsqlite3_create_module(tls, db, ts+8909 /* "wholenumber" */, uintptr(unsafe.Pointer(&wholenumberModule)), uintptr(0))
return rc
}
@@ -32248,7 +32359,7 @@ type voidpc = uintptr /* zconf.h:408:23 */
type voidpf = uintptr /* zconf.h:409:23 */
type voidp = uintptr /* zconf.h:410:23 */
-// Copyright (C) 1992-2018 Free Software Foundation, Inc.
+// Copyright (C) 1992-2017 Free Software Foundation, Inc.
//
// This file is part of GCC.
//
@@ -32283,7 +32394,7 @@ type voidp = uintptr /* zconf.h:410:23 */
// If fixincludes fixes it, then the fixed version is installed
// instead of this text.
-// Copyright (C) 1991-2018 Free Software Foundation, Inc.
+// Copyright (C) 1991-2020 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
@@ -32298,12 +32409,12 @@ type voidp = uintptr /* zconf.h:410:23 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// ISO C99 Standard: 7.10/5.2.4.2.1 Sizes of integer types
// Handle feature test macros at the start of a header.
-// Copyright (C) 2016-2018 Free Software Foundation, Inc.
+// Copyright (C) 2016-2020 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
@@ -32318,7 +32429,7 @@ type voidp = uintptr /* zconf.h:410:23 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// This header is internal to glibc and should not be included outside
// of glibc headers. Headers including it must define
@@ -32328,7 +32439,7 @@ type voidp = uintptr /* zconf.h:410:23 */
// header is included, not when the first system header is
// included.
-// Copyright (C) 1991-2018 Free Software Foundation, Inc.
+// Copyright (C) 1991-2020 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
@@ -32343,16 +32454,20 @@ type voidp = uintptr /* zconf.h:410:23 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// ISO/IEC TR 24731-2:2010 defines the __STDC_WANT_LIB_EXT2__
// macro.
// ISO/IEC TS 18661-1:2014 defines the __STDC_WANT_IEC_60559_BFP_EXT__
-// macro.
+// macro. Most but not all symbols enabled by that macro in TS
+// 18661-1 are enabled unconditionally in C2X; the symbols in Annex F
+// still require that macro in C2X.
// ISO/IEC TS 18661-4:2015 defines the
-// __STDC_WANT_IEC_60559_FUNCS_EXT__ macro.
+// __STDC_WANT_IEC_60559_FUNCS_EXT__ macro. Other than the reduction
+// functions, the symbols from this TS are enabled unconditionally in
+// C2X.
// ISO/IEC TS 18661-3:2015 defines the
// __STDC_WANT_IEC_60559_TYPES_EXT__ macro.
@@ -32379,7 +32494,7 @@ type voidp = uintptr /* zconf.h:410:23 */
// __STDC_WANT_IEC_60559_BFP_EXT__ is used to enable this feature.
// POSIX adds things to .
-// Copyright (C) 1991-2018 Free Software Foundation, Inc.
+// Copyright (C) 1991-2020 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
@@ -32394,7 +32509,7 @@ type voidp = uintptr /* zconf.h:410:23 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// POSIX Standard: 2.9.2 Minimum Values Added to
//
@@ -32470,7 +32585,7 @@ type voidp = uintptr /* zconf.h:410:23 */
// Get the implementation-specific values for the above.
// Minimum guaranteed maximum values for system limits. Linux version.
-// Copyright (C) 1993-2018 Free Software Foundation, Inc.
+// Copyright (C) 1993-2020 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
@@ -32485,7 +32600,7 @@ type voidp = uintptr /* zconf.h:410:23 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; see the file COPYING.LIB. If
-// not, see .
+// not, see .
// The kernel header pollutes the namespace with the NR_OPEN symbol
// and defines LINK_MAX although filesystems have different maxima. A
@@ -32534,7 +32649,7 @@ type voidp = uintptr /* zconf.h:410:23 */
// This value is a guaranteed minimum maximum.
// The current maximum can be got from `sysconf'.
-// Copyright (C) 1991-2018 Free Software Foundation, Inc.
+// Copyright (C) 1991-2020 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
@@ -32549,7 +32664,7 @@ type voidp = uintptr /* zconf.h:410:23 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// Never include this file directly; include instead.
@@ -32581,7 +32696,7 @@ type voidp = uintptr /* zconf.h:410:23 */
// This value is defined like this in regex.h.
-// Copyright (C) 1991-2018 Free Software Foundation, Inc.
+// Copyright (C) 1991-2017 Free Software Foundation, Inc.
//
// This file is part of GCC.
//
@@ -32638,6 +32753,25 @@ type z_crc_t = uint32 /* zconf.h:429:17 */
// Define some macros helping to catch buffer overflows.
+// System-specific extensions.
+// System-specific extensions of , Linux version.
+// Copyright (C) 2019-2020 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
+// .
+
// MVS linker does not support external names larger than 8 bytes
//
@@ -32786,8 +32920,8 @@ type gz_headerp = uintptr /* zlib.h:131:23 */
// allocated, or Z_VERSION_ERROR if the version of the library does not match
// the version of the header file.
-type in_func = uintptr /* zlib.h:1092:18 */
-type out_func = uintptr /* zlib.h:1094:13 */
+type in_func = uintptr /* zlib.h:1093:18 */
+type out_func = uintptr /* zlib.h:1095:13 */
//
// Same as uncompress, except that sourceLen is a pointer, where the
// length of the source is *sourceLen. On return, *sourceLen is the number of
@@ -32806,7 +32940,7 @@ type gzFile_s = struct {
_ [4]byte
Fnext uintptr
Fpos off_t
-} /* zlib.h:1300:9 */
+} /* zlib.h:1301:9 */
//
// Same as uncompress, except that sourceLen is a pointer, where the
@@ -32821,8 +32955,7 @@ type gzFile_s = struct {
// "gz". The gzip format is different from the zlib format. gzip is a gzip
// wrapper, documented in RFC 1952, wrapped around a deflate stream.
-type gzFile = uintptr /* zlib.h:1300:25 */
-type u321 = uint64 /* zipfile.c:42:23 */
+type gzFile = uintptr /* zlib.h:1301:25 */ // 2-byte unsigned integer
// Definitions for mode bitmasks S_IFDIR, S_IFREG and S_IFLNK.
//
@@ -32842,7 +32975,7 @@ var ZIPFILE_SCHEMA =
// 5: Uncompressed data
// 6: Compression method (integer)
// 7: Name of zip file
-*(*[91]int8)(unsafe.Pointer(ts + 8923 /* "CREATE TABLE y(n..." */)) /* zipfile.c:77:19 */
+*(*[91]int8)(unsafe.Pointer(ts + 8921 /* "CREATE TABLE y(n..." */)) /* zipfile.c:91:19 */
// Magic numbers used to read and write zip files.
//
@@ -32893,9 +33026,9 @@ type ZipfileEOCD1 = struct {
FiFirstDisk u16
FnEntry u16
FnEntryTotal u16
- FnSize u321
- FiOffset u321
-} /* zipfile.c:153:9 */
+ FnSize u32
+ FiOffset u32
+} /* zipfile.c:167:9 */
// Magic numbers used to read and write zip files.
//
@@ -32941,7 +33074,7 @@ type ZipfileEOCD1 = struct {
// the starting disk number 4 bytes
// .ZIP file comment length 2 bytes
// .ZIP file comment (variable size)
-type ZipfileEOCD = ZipfileEOCD1 /* zipfile.c:153:28 */
+type ZipfileEOCD = ZipfileEOCD1 /* zipfile.c:167:28 */
// 4.3.12 Central directory structure:
//
@@ -32971,20 +33104,20 @@ type ZipfileCDS1 = struct {
FiCompression u16
FmTime u16
FmDate u16
- _ [4]byte
- Fcrc32 u321
- FszCompressed u321
- FszUncompressed u321
+ Fcrc32 u32
+ FszCompressed u32
+ FszUncompressed u32
FnFile u16
FnExtra u16
FnComment u16
FiDiskStart u16
FiInternalAttr u16
- _ [6]byte
- FiExternalAttr u321
- FiOffset u321
+ _ [2]byte
+ FiExternalAttr u32
+ FiOffset u32
+ _ [4]byte
FzFile uintptr
-} /* zipfile.c:186:9 */
+} /* zipfile.c:200:9 */
// 4.3.12 Central directory structure:
//
@@ -33007,7 +33140,7 @@ type ZipfileCDS1 = struct {
// internal file attributes 2 bytes
// external file attributes 4 bytes
// relative offset of local header 4 bytes
-type ZipfileCDS = ZipfileCDS1 /* zipfile.c:186:27 */
+type ZipfileCDS = ZipfileCDS1 /* zipfile.c:200:27 */
// 4.3.7 Local file header:
//
@@ -33029,14 +33162,13 @@ type ZipfileLFH1 = struct {
FiCompression u16
FmTime u16
FmDate u16
- _ [6]byte
- Fcrc32 u321
- FszCompressed u321
- FszUncompressed u321
+ _ [2]byte
+ Fcrc32 u32
+ FszCompressed u32
+ FszUncompressed u32
FnFile u16
FnExtra u16
- _ [4]byte
-} /* zipfile.c:223:9 */
+} /* zipfile.c:237:9 */
// 4.3.7 Local file header:
//
@@ -33052,18 +33184,19 @@ type ZipfileLFH1 = struct {
// file name length 2 bytes
// extra field length 2 bytes
//
-type ZipfileLFH = ZipfileLFH1 /* zipfile.c:223:27 */
+type ZipfileLFH = ZipfileLFH1 /* zipfile.c:237:27 */
type ZipfileEntry1 = struct {
Fcds ZipfileCDS
- FmUnixTime u321
+ FmUnixTime u32
+ _ [4]byte
FaExtra uintptr
FiDataOff i64
FaData uintptr
FpNext uintptr
-} /* zipfile.c:237:9 */
+} /* zipfile.c:251:9 */
-type ZipfileEntry = ZipfileEntry1 /* zipfile.c:237:29 */
+type ZipfileEntry = ZipfileEntry1 /* zipfile.c:251:29 */
// Cursor type for zipfile tables.
type ZipfileCsr1 = struct {
@@ -33078,10 +33211,10 @@ type ZipfileCsr1 = struct {
FpFreeEntry uintptr
FpCurrent uintptr
FpCsrNext uintptr
-} /* zipfile.c:250:9 */
+} /* zipfile.c:264:9 */
// Cursor type for zipfile tables.
-type ZipfileCsr = ZipfileCsr1 /* zipfile.c:250:27 */
+type ZipfileCsr = ZipfileCsr1 /* zipfile.c:264:27 */
type ZipfileTab1 = struct {
Fbase sqlite3_vtab
@@ -33095,13 +33228,13 @@ type ZipfileTab1 = struct {
FpWriteFd uintptr
FszCurrent i64
FszOrig i64
-} /* zipfile.c:267:9 */
+} /* zipfile.c:281:9 */
-type ZipfileTab = ZipfileTab1 /* zipfile.c:267:27 */
+type ZipfileTab = ZipfileTab1 /* zipfile.c:281:27 */
// Set the error message contained in context ctx to the results of
// vprintf(zFmt, ...).
-func zipfileCtxErrorMsg(tls *libc.TLS, ctx uintptr, zFmt uintptr, va uintptr) { /* zipfile.c:289:13: */
+func zipfileCtxErrorMsg(tls *libc.TLS, ctx uintptr, zFmt uintptr, va uintptr) { /* zipfile.c:303:13: */
var zMsg uintptr = uintptr(0)
var ap va_list
_ = ap
@@ -33114,7 +33247,7 @@ func zipfileCtxErrorMsg(tls *libc.TLS, ctx uintptr, zFmt uintptr, va uintptr) {
// If string zIn is quoted, dequote it in place. Otherwise, if the string
// is not quoted, do nothing.
-func zipfileDequote(tls *libc.TLS, zIn uintptr) { /* zipfile.c:303:13: */
+func zipfileDequote(tls *libc.TLS, zIn uintptr) { /* zipfile.c:317:13: */
var q int8 = *(*int8)(unsafe.Pointer(zIn))
if (((int32(q) == '"') || (int32(q) == '\'')) || (int32(q) == '`')) || (int32(q) == '[') {
var iIn int32 = 1
@@ -33139,7 +33272,7 @@ func zipfileDequote(tls *libc.TLS, zIn uintptr) { /* zipfile.c:303:13: */
// argv[1] -> database name
// argv[2] -> table name
// argv[...] -> "column name" and other module argument fields.
-func zipfileConnect(tls *libc.TLS, db uintptr, pAux uintptr, argc int32, argv uintptr, ppVtab uintptr, pzErr uintptr) int32 { /* zipfile.c:326:12: */
+func zipfileConnect(tls *libc.TLS, db uintptr, pAux uintptr, argc int32, argv uintptr, ppVtab uintptr, pzErr uintptr) int32 { /* zipfile.c:340:12: */
var nByte int32 = (int32(uint64(unsafe.Sizeof(ZipfileTab{})) + (uint64(64 * 1024))))
var nFile int32 = 0
var zFile uintptr = uintptr(0)
@@ -33155,8 +33288,8 @@ func zipfileConnect(tls *libc.TLS, db uintptr, pAux uintptr, argc int32, argv ui
//
// CREATE VIRTUAL TABLE zipfile USING zipfile();
- if ((0 != sqlite3.Xsqlite3_stricmp(tls, *(*uintptr)(unsafe.Pointer(argv + 2*8)), ts+9014 /* "zipfile" */)) && (argc < 4)) || (argc > 4) {
- *(*uintptr)(unsafe.Pointer(pzErr)) = sqlite3.Xsqlite3_mprintf(tls, ts+9022 /* "zipfile construc..." */, 0)
+ if ((0 != sqlite3.Xsqlite3_stricmp(tls, *(*uintptr)(unsafe.Pointer(argv + 2*8)), ts+9012 /* "zipfile" */)) && (argc < 4)) || (argc > 4) {
+ *(*uintptr)(unsafe.Pointer(pzErr)) = sqlite3.Xsqlite3_mprintf(tls, ts+9020 /* "zipfile construc..." */, 0)
return SQLITE_ERROR
}
@@ -33186,7 +33319,7 @@ func zipfileConnect(tls *libc.TLS, db uintptr, pAux uintptr, argc int32, argv ui
}
// Free the ZipfileEntry structure indicated by the only argument.
-func zipfileEntryFree(tls *libc.TLS, p uintptr) { /* zipfile.c:380:13: */
+func zipfileEntryFree(tls *libc.TLS, p uintptr) { /* zipfile.c:394:13: */
if p != 0 {
sqlite3.Xsqlite3_free(tls, (*ZipfileEntry)(unsafe.Pointer(p)).Fcds.FzFile)
sqlite3.Xsqlite3_free(tls, p)
@@ -33195,7 +33328,7 @@ func zipfileEntryFree(tls *libc.TLS, p uintptr) { /* zipfile.c:380:13: */
// Release resources that should be freed at the end of a write
// transaction.
-func zipfileCleanupTransaction(tls *libc.TLS, pTab uintptr) { /* zipfile.c:391:13: */
+func zipfileCleanupTransaction(tls *libc.TLS, pTab uintptr) { /* zipfile.c:405:13: */
var pEntry uintptr
var pNext uintptr
@@ -33214,14 +33347,14 @@ func zipfileCleanupTransaction(tls *libc.TLS, pTab uintptr) { /* zipfile.c:391:1
}
// This method is the destructor for zipfile vtab objects.
-func zipfileDisconnect(tls *libc.TLS, pVtab uintptr) int32 { /* zipfile.c:412:12: */
+func zipfileDisconnect(tls *libc.TLS, pVtab uintptr) int32 { /* zipfile.c:426:12: */
zipfileCleanupTransaction(tls, pVtab)
sqlite3.Xsqlite3_free(tls, pVtab)
return SQLITE_OK
}
// Constructor for a new ZipfileCsr object.
-func zipfileOpen(tls *libc.TLS, p uintptr, ppCsr uintptr) int32 { /* zipfile.c:421:12: */
+func zipfileOpen(tls *libc.TLS, p uintptr, ppCsr uintptr) int32 { /* zipfile.c:435:12: */
var pTab uintptr = p
var pCsr uintptr
pCsr = sqlite3.Xsqlite3_malloc(tls, int32(unsafe.Sizeof(ZipfileCsr{})))
@@ -33238,7 +33371,7 @@ func zipfileOpen(tls *libc.TLS, p uintptr, ppCsr uintptr) int32 { /* zipfile.c:4
// Reset a cursor back to the state it was in when first returned
// by zipfileOpen().
-func zipfileResetCursor(tls *libc.TLS, pCsr uintptr) { /* zipfile.c:440:13: */
+func zipfileResetCursor(tls *libc.TLS, pCsr uintptr) { /* zipfile.c:454:13: */
var p uintptr
var pNext uintptr
@@ -33257,14 +33390,14 @@ func zipfileResetCursor(tls *libc.TLS, pCsr uintptr) { /* zipfile.c:440:13: */
}
// Destructor for an ZipfileCsr.
-func zipfileClose(tls *libc.TLS, cur uintptr) int32 { /* zipfile.c:461:12: */
+func zipfileClose(tls *libc.TLS, cur uintptr) int32 { /* zipfile.c:475:12: */
var pCsr uintptr = cur
var pTab uintptr = (*ZipfileCsr)(unsafe.Pointer(pCsr)).Fbase.FpVtab
var pp uintptr
zipfileResetCursor(tls, pCsr)
// Remove this cursor from the ZipfileTab.pCsrList list.
- for pp = (pTab + 48 /* &.pCsrList */); *(*uintptr)(unsafe.Pointer(pp)) != pCsr; pp = (*(*uintptr)(unsafe.Pointer(pp)) + 80 /* &.pCsrNext */) {
+ for pp = (pTab + 48 /* &.pCsrList */); *(*uintptr)(unsafe.Pointer(pp)) != pCsr; pp = (*(*uintptr)(unsafe.Pointer(pp)) + 72 /* &.pCsrNext */) {
}
*(*uintptr)(unsafe.Pointer(pp)) = (*ZipfileCsr)(unsafe.Pointer(pCsr)).FpCsrNext
@@ -33274,7 +33407,7 @@ func zipfileClose(tls *libc.TLS, cur uintptr) int32 { /* zipfile.c:461:12: */
// Set the error message for the virtual table associated with cursor
// pCsr to the results of vprintf(zFmt, ...).
-func zipfileTableErr(tls *libc.TLS, pTab uintptr, zFmt uintptr, va uintptr) { /* zipfile.c:479:13: */
+func zipfileTableErr(tls *libc.TLS, pTab uintptr, zFmt uintptr, va uintptr) { /* zipfile.c:493:13: */
var ap va_list
_ = ap
ap = va
@@ -33283,7 +33416,7 @@ func zipfileTableErr(tls *libc.TLS, pTab uintptr, zFmt uintptr, va uintptr) { /*
_ = ap
}
-func zipfileCursorErr(tls *libc.TLS, pCsr uintptr, zFmt uintptr, va uintptr) { /* zipfile.c:486:13: */
+func zipfileCursorErr(tls *libc.TLS, pCsr uintptr, zFmt uintptr, va uintptr) { /* zipfile.c:500:13: */
var ap va_list
_ = ap
ap = va
@@ -33300,24 +33433,24 @@ func zipfileCursorErr(tls *libc.TLS, pCsr uintptr, zFmt uintptr, va uintptr) { /
// to an English language error message. It is the responsibility of the
// caller to eventually free this buffer using
// sqlite3_free().
-func zipfileReadData(tls *libc.TLS, pFile uintptr, aRead uintptr, nRead int32, iOff i64, pzErrmsg uintptr) int32 { /* zipfile.c:504:12: */
+func zipfileReadData(tls *libc.TLS, pFile uintptr, aRead uintptr, nRead int32, iOff i64, pzErrmsg uintptr) int32 { /* zipfile.c:518:12: */
var n size_t
libc.Xfseek(tls, pFile, int64(iOff), SEEK_SET)
n = libc.Xfread(tls, aRead, uint64(1), uint64(nRead), pFile)
if int32(n) != nRead {
- *(*uintptr)(unsafe.Pointer(pzErrmsg)) = sqlite3.Xsqlite3_mprintf(tls, ts+9064 /* "error in fread()" */, 0)
+ *(*uintptr)(unsafe.Pointer(pzErrmsg)) = sqlite3.Xsqlite3_mprintf(tls, ts+9062 /* "error in fread()" */, 0)
return SQLITE_ERROR
}
return SQLITE_OK
}
-func zipfileAppendData(tls *libc.TLS, pTab uintptr, aWrite uintptr, nWrite int32) int32 { /* zipfile.c:521:12: */
+func zipfileAppendData(tls *libc.TLS, pTab uintptr, aWrite uintptr, nWrite int32) int32 { /* zipfile.c:535:12: */
if nWrite > 0 {
var n size_t = size_t(nWrite)
libc.Xfseek(tls, (*ZipfileTab)(unsafe.Pointer(pTab)).FpWriteFd, int64((*ZipfileTab)(unsafe.Pointer(pTab)).FszCurrent), SEEK_SET)
n = libc.Xfwrite(tls, aWrite, uint64(1), uint64(nWrite), (*ZipfileTab)(unsafe.Pointer(pTab)).FpWriteFd)
if int32(n) != nWrite {
- (*ZipfileTab)(unsafe.Pointer(pTab)).Fbase.FzErrMsg = sqlite3.Xsqlite3_mprintf(tls, ts+9081 /* "error in fwrite(..." */, 0)
+ (*ZipfileTab)(unsafe.Pointer(pTab)).Fbase.FzErrMsg = sqlite3.Xsqlite3_mprintf(tls, ts+9079 /* "error in fwrite(..." */, 0)
return SQLITE_ERROR
}
*(*i64)(unsafe.Pointer(pTab + 88 /* &.szCurrent */)) += (i64(nWrite))
@@ -33326,41 +33459,41 @@ func zipfileAppendData(tls *libc.TLS, pTab uintptr, aWrite uintptr, nWrite int32
}
// Read and return a 16-bit little-endian unsigned integer from buffer aBuf.
-func zipfileGetU16(tls *libc.TLS, aBuf uintptr) u16 { /* zipfile.c:542:12: */
+func zipfileGetU16(tls *libc.TLS, aBuf uintptr) u16 { /* zipfile.c:556:12: */
return (u16((int32(*(*u8)(unsafe.Pointer(aBuf + 1))) << 8) + int32(*(*u8)(unsafe.Pointer(aBuf)))))
}
// Read and return a 32-bit little-endian unsigned integer from buffer aBuf.
-func zipfileGetU32(tls *libc.TLS, aBuf uintptr) u321 { /* zipfile.c:549:12: */
- return (((((u321(*(*u8)(unsafe.Pointer(aBuf + 3)))) << 24) +
- ((u321(*(*u8)(unsafe.Pointer(aBuf + 2)))) << 16)) +
- ((u321(*(*u8)(unsafe.Pointer(aBuf + 1)))) << 8)) +
- ((u321(*(*u8)(unsafe.Pointer(aBuf)))) << 0))
+func zipfileGetU32(tls *libc.TLS, aBuf uintptr) u32 { /* zipfile.c:563:12: */
+ return (((((u32(*(*u8)(unsafe.Pointer(aBuf + 3)))) << 24) +
+ ((u32(*(*u8)(unsafe.Pointer(aBuf + 2)))) << 16)) +
+ ((u32(*(*u8)(unsafe.Pointer(aBuf + 1)))) << 8)) +
+ ((u32(*(*u8)(unsafe.Pointer(aBuf)))) << 0))
}
// Write a 16-bit little endiate integer into buffer aBuf.
-func zipfilePutU16(tls *libc.TLS, aBuf uintptr, val u16) { /* zipfile.c:559:13: */
+func zipfilePutU16(tls *libc.TLS, aBuf uintptr, val u16) { /* zipfile.c:573:13: */
*(*u8)(unsafe.Pointer(aBuf)) = (u8(int32(val) & 0xFF))
*(*u8)(unsafe.Pointer(aBuf + 1)) = (u8((int32(val) >> 8) & 0xFF))
}
// Write a 32-bit little endiate integer into buffer aBuf.
-func zipfilePutU32(tls *libc.TLS, aBuf uintptr, val u321) { /* zipfile.c:567:13: */
- *(*u8)(unsafe.Pointer(aBuf)) = (u8(val & uint64(0xFF)))
- *(*u8)(unsafe.Pointer(aBuf + 1)) = (u8((val >> 8) & uint64(0xFF)))
- *(*u8)(unsafe.Pointer(aBuf + 2)) = (u8((val >> 16) & uint64(0xFF)))
- *(*u8)(unsafe.Pointer(aBuf + 3)) = (u8((val >> 24) & uint64(0xFF)))
+func zipfilePutU32(tls *libc.TLS, aBuf uintptr, val u32) { /* zipfile.c:581:13: */
+ *(*u8)(unsafe.Pointer(aBuf)) = (u8(val & u32(0xFF)))
+ *(*u8)(unsafe.Pointer(aBuf + 1)) = (u8((val >> 8) & u32(0xFF)))
+ *(*u8)(unsafe.Pointer(aBuf + 2)) = (u8((val >> 16) & u32(0xFF)))
+ *(*u8)(unsafe.Pointer(aBuf + 3)) = (u8((val >> 24) & u32(0xFF)))
}
// Magic numbers used to read CDS records.
// Decode the CDS record in buffer aBuf into (*pCDS). Return SQLITE_ERROR
// if the record is not well-formed, or SQLITE_OK otherwise.
-func zipfileReadCDS(tls *libc.TLS, aBuf uintptr, pCDS uintptr) int32 { /* zipfile.c:590:12: */
+func zipfileReadCDS(tls *libc.TLS, aBuf uintptr, pCDS uintptr) int32 { /* zipfile.c:604:12: */
var aRead uintptr = aBuf
- var sig u321 = func() u321 { aRead += uintptr(4); return zipfileGetU32(tls, (aRead - uintptr(4))) }()
+ var sig u32 = func() u32 { aRead += uintptr(4); return zipfileGetU32(tls, (aRead - uintptr(4))) }()
var rc int32 = SQLITE_OK
- if sig != uint64(ZIPFILE_SIGNATURE_CDS) {
+ if sig != u32(ZIPFILE_SIGNATURE_CDS) {
rc = SQLITE_ERROR
} else {
(*ZipfileCDS)(unsafe.Pointer(pCDS)).FiVersionMadeBy = func() u16 { aRead += uintptr(2); return zipfileGetU16(tls, (aRead - uintptr(2))) }()
@@ -33369,17 +33502,17 @@ func zipfileReadCDS(tls *libc.TLS, aBuf uintptr, pCDS uintptr) int32 { /* zipfil
(*ZipfileCDS)(unsafe.Pointer(pCDS)).FiCompression = func() u16 { aRead += uintptr(2); return zipfileGetU16(tls, (aRead - uintptr(2))) }()
(*ZipfileCDS)(unsafe.Pointer(pCDS)).FmTime = func() u16 { aRead += uintptr(2); return zipfileGetU16(tls, (aRead - uintptr(2))) }()
(*ZipfileCDS)(unsafe.Pointer(pCDS)).FmDate = func() u16 { aRead += uintptr(2); return zipfileGetU16(tls, (aRead - uintptr(2))) }()
- (*ZipfileCDS)(unsafe.Pointer(pCDS)).Fcrc32 = func() u321 { aRead += uintptr(4); return zipfileGetU32(tls, (aRead - uintptr(4))) }()
- (*ZipfileCDS)(unsafe.Pointer(pCDS)).FszCompressed = func() u321 { aRead += uintptr(4); return zipfileGetU32(tls, (aRead - uintptr(4))) }()
- (*ZipfileCDS)(unsafe.Pointer(pCDS)).FszUncompressed = func() u321 { aRead += uintptr(4); return zipfileGetU32(tls, (aRead - uintptr(4))) }()
+ (*ZipfileCDS)(unsafe.Pointer(pCDS)).Fcrc32 = func() u32 { aRead += uintptr(4); return zipfileGetU32(tls, (aRead - uintptr(4))) }()
+ (*ZipfileCDS)(unsafe.Pointer(pCDS)).FszCompressed = func() u32 { aRead += uintptr(4); return zipfileGetU32(tls, (aRead - uintptr(4))) }()
+ (*ZipfileCDS)(unsafe.Pointer(pCDS)).FszUncompressed = func() u32 { aRead += uintptr(4); return zipfileGetU32(tls, (aRead - uintptr(4))) }()
(*ZipfileCDS)(unsafe.Pointer(pCDS)).FnFile = func() u16 { aRead += uintptr(2); return zipfileGetU16(tls, (aRead - uintptr(2))) }()
(*ZipfileCDS)(unsafe.Pointer(pCDS)).FnExtra = func() u16 { aRead += uintptr(2); return zipfileGetU16(tls, (aRead - uintptr(2))) }()
(*ZipfileCDS)(unsafe.Pointer(pCDS)).FnComment = func() u16 { aRead += uintptr(2); return zipfileGetU16(tls, (aRead - uintptr(2))) }()
(*ZipfileCDS)(unsafe.Pointer(pCDS)).FiDiskStart = func() u16 { aRead += uintptr(2); return zipfileGetU16(tls, (aRead - uintptr(2))) }()
(*ZipfileCDS)(unsafe.Pointer(pCDS)).FiInternalAttr = func() u16 { aRead += uintptr(2); return zipfileGetU16(tls, (aRead - uintptr(2))) }()
- (*ZipfileCDS)(unsafe.Pointer(pCDS)).FiExternalAttr = func() u321 { aRead += uintptr(4); return zipfileGetU32(tls, (aRead - uintptr(4))) }()
- (*ZipfileCDS)(unsafe.Pointer(pCDS)).FiOffset = func() u321 { aRead += uintptr(4); return zipfileGetU32(tls, (aRead - uintptr(4))) }()
+ (*ZipfileCDS)(unsafe.Pointer(pCDS)).FiExternalAttr = func() u32 { aRead += uintptr(4); return zipfileGetU32(tls, (aRead - uintptr(4))) }()
+ (*ZipfileCDS)(unsafe.Pointer(pCDS)).FiOffset = func() u32 { aRead += uintptr(4); return zipfileGetU32(tls, (aRead - uintptr(4))) }()
}
@@ -33388,12 +33521,12 @@ func zipfileReadCDS(tls *libc.TLS, aBuf uintptr, pCDS uintptr) int32 { /* zipfil
// Decode the LFH record in buffer aBuf into (*pLFH). Return SQLITE_ERROR
// if the record is not well-formed, or SQLITE_OK otherwise.
-func zipfileReadLFH(tls *libc.TLS, aBuffer uintptr, pLFH uintptr) int32 { /* zipfile.c:624:12: */
+func zipfileReadLFH(tls *libc.TLS, aBuffer uintptr, pLFH uintptr) int32 { /* zipfile.c:638:12: */
var aRead uintptr = aBuffer
var rc int32 = SQLITE_OK
- var sig u321 = func() u321 { aRead += uintptr(4); return zipfileGetU32(tls, (aRead - uintptr(4))) }()
- if sig != uint64(ZIPFILE_SIGNATURE_LFH) {
+ var sig u32 = func() u32 { aRead += uintptr(4); return zipfileGetU32(tls, (aRead - uintptr(4))) }()
+ if sig != u32(ZIPFILE_SIGNATURE_LFH) {
rc = SQLITE_ERROR
} else {
(*ZipfileLFH)(unsafe.Pointer(pLFH)).FiVersionExtract = func() u16 { aRead += uintptr(2); return zipfileGetU16(tls, (aRead - uintptr(2))) }()
@@ -33401,9 +33534,9 @@ func zipfileReadLFH(tls *libc.TLS, aBuffer uintptr, pLFH uintptr) int32 { /* zip
(*ZipfileLFH)(unsafe.Pointer(pLFH)).FiCompression = func() u16 { aRead += uintptr(2); return zipfileGetU16(tls, (aRead - uintptr(2))) }()
(*ZipfileLFH)(unsafe.Pointer(pLFH)).FmTime = func() u16 { aRead += uintptr(2); return zipfileGetU16(tls, (aRead - uintptr(2))) }()
(*ZipfileLFH)(unsafe.Pointer(pLFH)).FmDate = func() u16 { aRead += uintptr(2); return zipfileGetU16(tls, (aRead - uintptr(2))) }()
- (*ZipfileLFH)(unsafe.Pointer(pLFH)).Fcrc32 = func() u321 { aRead += uintptr(4); return zipfileGetU32(tls, (aRead - uintptr(4))) }()
- (*ZipfileLFH)(unsafe.Pointer(pLFH)).FszCompressed = func() u321 { aRead += uintptr(4); return zipfileGetU32(tls, (aRead - uintptr(4))) }()
- (*ZipfileLFH)(unsafe.Pointer(pLFH)).FszUncompressed = func() u321 { aRead += uintptr(4); return zipfileGetU32(tls, (aRead - uintptr(4))) }()
+ (*ZipfileLFH)(unsafe.Pointer(pLFH)).Fcrc32 = func() u32 { aRead += uintptr(4); return zipfileGetU32(tls, (aRead - uintptr(4))) }()
+ (*ZipfileLFH)(unsafe.Pointer(pLFH)).FszCompressed = func() u32 { aRead += uintptr(4); return zipfileGetU32(tls, (aRead - uintptr(4))) }()
+ (*ZipfileLFH)(unsafe.Pointer(pLFH)).FszUncompressed = func() u32 { aRead += uintptr(4); return zipfileGetU32(tls, (aRead - uintptr(4))) }()
(*ZipfileLFH)(unsafe.Pointer(pLFH)).FnFile = func() u16 { aRead += uintptr(2); return zipfileGetU16(tls, (aRead - uintptr(2))) }()
(*ZipfileLFH)(unsafe.Pointer(pLFH)).FnExtra = func() u16 { aRead += uintptr(2); return zipfileGetU16(tls, (aRead - uintptr(2))) }()
}
@@ -33423,7 +33556,7 @@ func zipfileReadLFH(tls *libc.TLS, aBuffer uintptr, pLFH uintptr) int32 { /* zip
// Header ID 2 bytes
// Data Size 2 bytes
// Data N bytes
-func zipfileScanExtra(tls *libc.TLS, aExtra uintptr, nExtra int32, pmTime uintptr) int32 { /* zipfile.c:665:12: */
+func zipfileScanExtra(tls *libc.TLS, aExtra uintptr, nExtra int32, pmTime uintptr) int32 { /* zipfile.c:679:12: */
var ret int32 = 0
var p uintptr = aExtra
var pEnd uintptr = (aExtra + uintptr(nExtra))
@@ -33437,7 +33570,7 @@ func zipfileScanExtra(tls *libc.TLS, aExtra uintptr, nExtra int32, pmTime uintpt
{
var b u8 = *(*u8)(unsafe.Pointer(p))
if (int32(b) & 0x01) != 0 { // 0x01 -> modtime is present
- *(*u321)(unsafe.Pointer(pmTime)) = zipfileGetU32(tls, (p + 1))
+ *(*u32)(unsafe.Pointer(pmTime)) = zipfileGetU32(tls, (p + 1))
ret = 1
}
break
@@ -33466,41 +33599,42 @@ func zipfileScanExtra(tls *libc.TLS, aExtra uintptr, nExtra int32, pmTime uintpt
// Bits 09-15: years from 1980
//
// https://msdn.microsoft.com/en-us/library/9kkf9tah.aspx
-func zipfileMtime(tls *libc.TLS, pCDS uintptr) u321 { /* zipfile.c:708:12: */
- var Y int32 = (1980 + ((int32((*ZipfileCDS)(unsafe.Pointer(pCDS)).FmDate) >> 9) & 0x7F))
- var M int32 = ((int32((*ZipfileCDS)(unsafe.Pointer(pCDS)).FmDate) >> 5) & 0x0F)
- var D int32 = (int32((*ZipfileCDS)(unsafe.Pointer(pCDS)).FmDate) & 0x1F)
- var B int32 = -13
-
- var sec int32 = ((int32((*ZipfileCDS)(unsafe.Pointer(pCDS)).FmTime) & 0x1F) * 2)
- var min int32 = ((int32((*ZipfileCDS)(unsafe.Pointer(pCDS)).FmTime) >> 5) & 0x3F)
- var hr int32 = ((int32((*ZipfileCDS)(unsafe.Pointer(pCDS)).FmTime) >> 11) & 0x1F)
- var JD i64
-
- // JD = INT(365.25 * (Y+4716)) + INT(30.6001 * (M+1)) + D + B - 1524.5
-
- // Calculate the JD in seconds for noon on the day in question
- if M < 3 {
- Y = (Y - 1)
- M = (M + 12)
+func zipfileMtime(tls *libc.TLS, pCDS uintptr) u32 { /* zipfile.c:722:12: */
+ var Y int32
+ var M int32
+ var D int32
+ var X1 int32
+ var X2 int32
+ var A int32
+ var B int32
+ var sec int32
+ var min int32
+ var hr int32
+ var JDsec i64
+ Y = (1980 + ((int32((*ZipfileCDS)(unsafe.Pointer(pCDS)).FmDate) >> 9) & 0x7F))
+ M = ((int32((*ZipfileCDS)(unsafe.Pointer(pCDS)).FmDate) >> 5) & 0x0F)
+ D = (int32((*ZipfileCDS)(unsafe.Pointer(pCDS)).FmDate) & 0x1F)
+ sec = ((int32((*ZipfileCDS)(unsafe.Pointer(pCDS)).FmTime) & 0x1F) * 2)
+ min = ((int32((*ZipfileCDS)(unsafe.Pointer(pCDS)).FmTime) >> 5) & 0x3F)
+ hr = ((int32((*ZipfileCDS)(unsafe.Pointer(pCDS)).FmTime) >> 11) & 0x1F)
+ if M <= 2 {
+ Y--
+ M = M + (12)
}
- JD = ((int64((24 * 60) * 60)) * (i64(((((int32(365.25 * (float64(Y + 4716)))) +
- (int32(30.6001 * (float64(M + 1))))) +
- D) + B) - 1524)))
-
- // Correct the JD for the time within the day
- JD = JD + (i64((((hr - 12) * 3600) + (min * 60)) + sec))
-
- // Convert JD to unix timestamp (the JD epoch is 2440587.5)
- return (u321(JD - ((((int64(24405875)) * int64(24)) * int64(60)) * int64(6))))
+ X1 = ((36525 * (Y + 4716)) / 100)
+ X2 = ((306001 * (M + 1)) / 10000)
+ A = (Y / 100)
+ B = ((2 - A) + (A / 4))
+ JDsec = ((((i64(((float64(((X1 + X2) + D) + B)) - 1524.5) * float64(86400))) + (i64(hr * 3600))) + (i64(min * 60))) + i64(sec))
+ return (u32(JDsec - (int64(24405875) * int64(8640))))
}
// The opposite of zipfileMtime(). This function populates the mTime and
// mDate fields of the CDS structure passed as the first argument according
// to the UNIX timestamp value passed as the second.
-func zipfileMtimeToDos(tls *libc.TLS, pCds uintptr, mUnixTime u321) { /* zipfile.c:744:13: */
+func zipfileMtimeToDos(tls *libc.TLS, pCds uintptr, mUnixTime u32) { /* zipfile.c:748:13: */
// Convert unix timestamp to JD (2440588 is noon on 1/1/1970)
- var JD i64 = (i64(uint64(int64(2440588)) + (uint64(mUnixTime / (uint64((24 * 60) * 60))))))
+ var JD i64 = (int64(2440588) + (i64(mUnixTime / (u32((24 * 60) * 60)))))
var A int32
var B int32
var C int32
@@ -33533,9 +33667,9 @@ func zipfileMtimeToDos(tls *libc.TLS, pCds uintptr, mUnixTime u321) { /* zipfile
yr = (C - 4715)
}
- hr = (int32((mUnixTime % (uint64((24 * 60) * 60))) / (uint64(60 * 60))))
- min = (int32((mUnixTime % (uint64(60 * 60))) / uint64(60)))
- sec = (int32(mUnixTime % uint64(60)))
+ hr = (int32((mUnixTime % (u32((24 * 60) * 60))) / (u32(60 * 60))))
+ min = (int32((mUnixTime % (u32(60 * 60))) / u32(60)))
+ sec = (int32(mUnixTime % u32(60)))
if yr >= 1980 {
(*ZipfileCDS)(unsafe.Pointer(pCds)).FmDate = (u16((day + (mon << 5)) + ((yr - 1980) << 9)))
@@ -33555,9 +33689,9 @@ func zipfileMtimeToDos(tls *libc.TLS, pCds uintptr, mUnixTime u321) { /* zipfile
// If successful, SQLITE_OK is returned and (*ppEntry) set to point to
// the new object. Otherwise, an SQLite error code is returned and the
// final value of (*ppEntry) undefined.
-func zipfileGetEntry(tls *libc.TLS, pTab uintptr, aBlob uintptr, nBlob int32, pFile uintptr, iOff i64, ppEntry uintptr) int32 { /* zipfile.c:792:12: */
- bp := tls.Alloc(80)
- defer tls.Free(80)
+func zipfileGetEntry(tls *libc.TLS, pTab uintptr, aBlob uintptr, nBlob int32, pFile uintptr, iOff i64, ppEntry uintptr) int32 { /* zipfile.c:796:12: */
+ bp := tls.Alloc(60)
+ defer tls.Free(60)
var aRead uintptr
var pzErr uintptr = (pTab /* &.base */ + 16 /* &.zErrMsg */)
@@ -33580,7 +33714,7 @@ func zipfileGetEntry(tls *libc.TLS, pTab uintptr, aBlob uintptr, nBlob int32, pF
nAlloc = (sqlite3_int64(uint64(unsafe.Sizeof(ZipfileEntry{})) + uint64(nExtra)))
if aBlob != 0 {
- nAlloc = sqlite3_int64(uint64(nAlloc) + (uint64(zipfileGetU32(tls, (aRead + 20)))))
+ nAlloc = nAlloc + (sqlite3_int64(zipfileGetU32(tls, (aRead + 20))))
}
pNew = sqlite3.Xsqlite3_malloc64(tls, uint64(nAlloc))
@@ -33590,7 +33724,7 @@ func zipfileGetEntry(tls *libc.TLS, pTab uintptr, aBlob uintptr, nBlob int32, pF
libc.Xmemset(tls, pNew, 0, uint64(unsafe.Sizeof(ZipfileEntry{})))
rc = zipfileReadCDS(tls, aRead, (pNew /* &.cds */))
if rc != SQLITE_OK {
- *(*uintptr)(unsafe.Pointer(pzErr)) = sqlite3.Xsqlite3_mprintf(tls, ts+9099 /* "failed to read C..." */, libc.VaList(bp, iOff))
+ *(*uintptr)(unsafe.Pointer(pzErr)) = sqlite3.Xsqlite3_mprintf(tls, ts+9097 /* "failed to read C..." */, libc.VaList(bp, iOff))
} else if aBlob == uintptr(0) {
rc = zipfileReadData(tls,
pFile, aRead, (nExtra + nFile), (iOff + int64(ZIPFILE_CDS_FIXED_SZ)), pzErr)
@@ -33600,9 +33734,9 @@ func zipfileGetEntry(tls *libc.TLS, pTab uintptr, aBlob uintptr, nBlob int32, pF
}
if rc == SQLITE_OK {
- var pt uintptr = (pNew + 80 /* &.mUnixTime */)
- (*ZipfileEntry)(unsafe.Pointer(pNew)).Fcds.FzFile = sqlite3.Xsqlite3_mprintf(tls, ts+9133 /* "%.*s" */, libc.VaList(bp+8, nFile, aRead))
- (*ZipfileEntry)(unsafe.Pointer(pNew)).FaExtra = (pNew + 1*120)
+ var pt uintptr = (pNew + 56 /* &.mUnixTime */)
+ (*ZipfileEntry)(unsafe.Pointer(pNew)).Fcds.FzFile = sqlite3.Xsqlite3_mprintf(tls, ts+9131 /* "%.*s" */, libc.VaList(bp+8, nFile, aRead))
+ (*ZipfileEntry)(unsafe.Pointer(pNew)).FaExtra = (pNew + 1*96)
libc.Xmemcpy(tls, (*ZipfileEntry)(unsafe.Pointer(pNew)).FaExtra, (aRead + uintptr(nFile)), uint64(nExtra))
if (*ZipfileEntry)(unsafe.Pointer(pNew)).Fcds.FzFile == uintptr(0) {
rc = SQLITE_NOMEM
@@ -33612,7 +33746,7 @@ func zipfileGetEntry(tls *libc.TLS, pTab uintptr, aBlob uintptr, nBlob int32, pF
}
if rc == SQLITE_OK {
- // var lfh ZipfileLFH at bp+32, 48
+ // var lfh ZipfileLFH at bp+32, 28
if pFile != 0 {
rc = zipfileReadData(tls, pFile, aRead, szFix, int64((*ZipfileEntry)(unsafe.Pointer(pNew)).Fcds.FiOffset), pzErr)
@@ -33622,14 +33756,14 @@ func zipfileGetEntry(tls *libc.TLS, pTab uintptr, aBlob uintptr, nBlob int32, pF
rc = zipfileReadLFH(tls, aRead, bp+32 /* &lfh */)
if rc == SQLITE_OK {
- (*ZipfileEntry)(unsafe.Pointer(pNew)).FiDataOff = (i64((*ZipfileEntry)(unsafe.Pointer(pNew)).Fcds.FiOffset + uint64(ZIPFILE_LFH_FIXED_SZ)))
- *(*i64)(unsafe.Pointer(pNew + 96 /* &.iDataOff */)) += (i64(int32((*ZipfileLFH)(unsafe.Pointer(bp+32 /* &lfh */)).FnFile) + int32((*ZipfileLFH)(unsafe.Pointer(bp+32 /* &lfh */)).FnExtra)))
+ (*ZipfileEntry)(unsafe.Pointer(pNew)).FiDataOff = (i64((*ZipfileEntry)(unsafe.Pointer(pNew)).Fcds.FiOffset + u32(ZIPFILE_LFH_FIXED_SZ)))
+ *(*i64)(unsafe.Pointer(pNew + 72 /* &.iDataOff */)) += (i64(int32((*ZipfileLFH)(unsafe.Pointer(bp+32 /* &lfh */)).FnFile) + int32((*ZipfileLFH)(unsafe.Pointer(bp+32 /* &lfh */)).FnExtra)))
if (aBlob != 0) && ((*ZipfileEntry)(unsafe.Pointer(pNew)).Fcds.FszCompressed != 0) {
(*ZipfileEntry)(unsafe.Pointer(pNew)).FaData = ((*ZipfileEntry)(unsafe.Pointer(pNew)).FaExtra + uintptr(nExtra))
- libc.Xmemcpy(tls, (*ZipfileEntry)(unsafe.Pointer(pNew)).FaData, (aBlob + uintptr((*ZipfileEntry)(unsafe.Pointer(pNew)).FiDataOff)), (*ZipfileEntry)(unsafe.Pointer(pNew)).Fcds.FszCompressed)
+ libc.Xmemcpy(tls, (*ZipfileEntry)(unsafe.Pointer(pNew)).FaData, (aBlob + uintptr((*ZipfileEntry)(unsafe.Pointer(pNew)).FiDataOff)), uint64((*ZipfileEntry)(unsafe.Pointer(pNew)).Fcds.FszCompressed))
}
} else {
- *(*uintptr)(unsafe.Pointer(pzErr)) = sqlite3.Xsqlite3_mprintf(tls, ts+9138, /* "failed to read L..." */
+ *(*uintptr)(unsafe.Pointer(pzErr)) = sqlite3.Xsqlite3_mprintf(tls, ts+9136, /* "failed to read L..." */
libc.VaList(bp+24, int32((*ZipfileEntry)(unsafe.Pointer(pNew)).Fcds.FiOffset)))
}
}
@@ -33644,10 +33778,10 @@ func zipfileGetEntry(tls *libc.TLS, pTab uintptr, aBlob uintptr, nBlob int32, pF
return rc
}
-var szFix int32 = ZIPFILE_LFH_FIXED_SZ /* zipfile.c:854:24 */
+var szFix int32 = ZIPFILE_LFH_FIXED_SZ /* zipfile.c:858:24 */
// Advance an ZipfileCsr to its next row of output.
-func zipfileNext(tls *libc.TLS, cur uintptr) int32 { /* zipfile.c:890:12: */
+func zipfileNext(tls *libc.TLS, cur uintptr) int32 { /* zipfile.c:894:12: */
bp := tls.Alloc(8)
defer tls.Free(8)
@@ -33683,7 +33817,7 @@ func zipfileNext(tls *libc.TLS, cur uintptr) int32 { /* zipfile.c:890:12: */
return rc
}
-func zipfileFree(tls *libc.TLS, p uintptr) { /* zipfile.c:923:13: */
+func zipfileFree(tls *libc.TLS, p uintptr) { /* zipfile.c:927:13: */
sqlite3.Xsqlite3_free(tls, p)
}
@@ -33692,7 +33826,7 @@ func zipfileFree(tls *libc.TLS, p uintptr) { /* zipfile.c:923:13: */
// return value in context pCtx to the result (a blob).
//
// If an error occurs, an error code is left in pCtx instead.
-func zipfileInflate(tls *libc.TLS, pCtx uintptr, aIn uintptr, nIn int32, nOut int32) { /* zipfile.c:934:13: */
+func zipfileInflate(tls *libc.TLS, pCtx uintptr, aIn uintptr, nIn int32, nOut int32) { /* zipfile.c:938:13: */
bp := tls.Alloc(128)
defer tls.Free(128)
@@ -33710,13 +33844,13 @@ func zipfileInflate(tls *libc.TLS, pCtx uintptr, aIn uintptr, nIn int32, nOut in
(*z_stream)(unsafe.Pointer(bp + 16 /* &str */)).Fnext_out = aRes
(*z_stream)(unsafe.Pointer(bp + 16 /* &str */)).Favail_out = uInt(nOut)
- err = tcl.XinflateInit2_(tls, bp+16 /* &str */, -15, ts+9170 /* "1.2.11" */, int32(unsafe.Sizeof(z_stream{})))
+ err = tcl.XinflateInit2_(tls, bp+16 /* &str */, -15, ts+9168 /* "1.2.11" */, int32(unsafe.Sizeof(z_stream{})))
if err != Z_OK {
- zipfileCtxErrorMsg(tls, pCtx, ts+9177 /* "inflateInit2() f..." */, libc.VaList(bp, err))
+ zipfileCtxErrorMsg(tls, pCtx, ts+9175 /* "inflateInit2() f..." */, libc.VaList(bp, err))
} else {
err = tcl.Xinflate(tls, bp+16 /* &str */, Z_NO_FLUSH)
if err != Z_STREAM_END {
- zipfileCtxErrorMsg(tls, pCtx, ts+9204 /* "inflate() failed..." */, libc.VaList(bp+8, err))
+ zipfileCtxErrorMsg(tls, pCtx, ts+9202 /* "inflate() failed..." */, libc.VaList(bp+8, err))
} else {
sqlite3.Xsqlite3_result_blob(tls, pCtx, aRes, nOut, *(*uintptr)(unsafe.Pointer(&struct{ f func(*libc.TLS, uintptr) }{zipfileFree})))
aRes = uintptr(0)
@@ -33737,7 +33871,7 @@ func zipfileInflate(tls *libc.TLS, pCtx uintptr, aIn uintptr, nIn int32, nOut in
// code is returned and an error message left in virtual-table handle
// pTab. The values of (*ppOut) and (*pnOut) are left unchanged in this
// case.
-func zipfileDeflate(tls *libc.TLS, aIn uintptr, nIn int32, ppOut uintptr, pnOut uintptr, pzErr uintptr) int32 { /* zipfile.c:982:12: */
+func zipfileDeflate(tls *libc.TLS, aIn uintptr, nIn int32, ppOut uintptr, pnOut uintptr, pzErr uintptr) int32 { /* zipfile.c:986:12: */
bp := tls.Alloc(112)
defer tls.Free(112)
@@ -33750,7 +33884,7 @@ func zipfileDeflate(tls *libc.TLS, aIn uintptr, nIn int32, ppOut uintptr, pnOut
libc.Xmemset(tls, bp /* &str */, 0, uint64(unsafe.Sizeof(z_stream{})))
(*z_stream)(unsafe.Pointer(bp /* &str */)).Fnext_in = aIn
(*z_stream)(unsafe.Pointer(bp /* &str */)).Favail_in = uInt(nIn)
- tcl.XdeflateInit2_(tls, bp /* &str */, 9, Z_DEFLATED, -15, 8, Z_DEFAULT_STRATEGY, ts+9170 /* "1.2.11" */, int32(unsafe.Sizeof(z_stream{})))
+ tcl.XdeflateInit2_(tls, bp /* &str */, 9, Z_DEFLATED, -15, 8, Z_DEFAULT_STRATEGY, ts+9168 /* "1.2.11" */, int32(unsafe.Sizeof(z_stream{})))
nAlloc = sqlite3_int64(tcl.XdeflateBound(tls, bp /* &str */, uint64(nIn)))
aOut = sqlite3.Xsqlite3_malloc64(tls, uint64(nAlloc))
@@ -33766,7 +33900,7 @@ func zipfileDeflate(tls *libc.TLS, aIn uintptr, nIn int32, ppOut uintptr, pnOut
*(*int32)(unsafe.Pointer(pnOut)) = int32((*z_stream)(unsafe.Pointer(bp /* &str */)).Ftotal_out)
} else {
sqlite3.Xsqlite3_free(tls, aOut)
- *(*uintptr)(unsafe.Pointer(pzErr)) = sqlite3.Xsqlite3_mprintf(tls, ts+9226 /* "zipfile: deflate..." */, 0)
+ *(*uintptr)(unsafe.Pointer(pzErr)) = sqlite3.Xsqlite3_mprintf(tls, ts+9224 /* "zipfile: deflate..." */, 0)
rc = SQLITE_ERROR
}
tcl.XdeflateEnd(tls, bp /* &str */)
@@ -33777,7 +33911,7 @@ func zipfileDeflate(tls *libc.TLS, aIn uintptr, nIn int32, ppOut uintptr, pnOut
// Return values of columns for the row at which the series_cursor
// is currently pointing.
-func zipfileColumn(tls *libc.TLS, cur uintptr, ctx uintptr, i int32) int32 { /* zipfile.c:1025:12: */
+func zipfileColumn(tls *libc.TLS, cur uintptr, ctx uintptr, i int32) int32 { /* zipfile.c:1029:12: */
var pCsr uintptr = cur
var pCDS uintptr = ((*ZipfileCsr)(unsafe.Pointer(pCsr)).FpCurrent /* &.cds */)
var rc int32 = SQLITE_OK
@@ -33844,8 +33978,8 @@ func zipfileColumn(tls *libc.TLS, cur uintptr, ctx uintptr, i int32) int32 { /*
// Figure out if this is a directory or a zero-sized file. Consider
// it to be a directory either if the mode suggests so, or if
// the final character in the name is '/'.
- var mode u321 = ((*ZipfileCDS)(unsafe.Pointer(pCDS)).FiExternalAttr >> 16)
- if !((mode & uint64(S_IFDIR)) != 0) && (int32(*(*int8)(unsafe.Pointer((*ZipfileCDS)(unsafe.Pointer(pCDS)).FzFile + uintptr((int32((*ZipfileCDS)(unsafe.Pointer(pCDS)).FnFile) - 1))))) != '/') {
+ var mode u32 = ((*ZipfileCDS)(unsafe.Pointer(pCDS)).FiExternalAttr >> 16)
+ if !((mode & u32(S_IFDIR)) != 0) && (int32(*(*int8)(unsafe.Pointer((*ZipfileCDS)(unsafe.Pointer(pCDS)).FzFile + uintptr((int32((*ZipfileCDS)(unsafe.Pointer(pCDS)).FnFile) - 1))))) != '/') {
sqlite3.Xsqlite3_result_blob(tls, ctx, ts+489 /* "" */, 0, uintptr(0))
}
}
@@ -33866,7 +34000,7 @@ func zipfileColumn(tls *libc.TLS, cur uintptr, ctx uintptr, i int32) int32 { /*
}
// Return TRUE if the cursor is at EOF.
-func zipfileEof(tls *libc.TLS, cur uintptr) int32 { /* zipfile.c:1112:12: */
+func zipfileEof(tls *libc.TLS, cur uintptr) int32 { /* zipfile.c:1116:12: */
var pCsr uintptr = cur
return int32((*ZipfileCsr)(unsafe.Pointer(pCsr)).FbEof)
}
@@ -33879,7 +34013,7 @@ func zipfileEof(tls *libc.TLS, cur uintptr) int32 { /* zipfile.c:1112:12: */
// and populate *pEOCD with the results of decoding it. SQLITE_OK is
// returned if successful. Otherwise, an SQLite error code is returned and
// an English language error message may be left in virtual-table pTab.
-func zipfileReadEOCD(tls *libc.TLS, pTab uintptr, aBlob uintptr, nBlob int32, pFile uintptr, pEOCD uintptr) int32 { /* zipfile.c:1127:12: */
+func zipfileReadEOCD(tls *libc.TLS, pTab uintptr, aBlob uintptr, nBlob int32, pFile uintptr, pEOCD uintptr) int32 { /* zipfile.c:1131:12: */
var aRead uintptr = (*ZipfileTab)(unsafe.Pointer(pTab)).FaBuffer // Temporary buffer
var nRead int32 // Bytes to read from file
var rc int32 = SQLITE_OK
@@ -33923,7 +34057,7 @@ func zipfileReadEOCD(tls *libc.TLS, pTab uintptr, aBlob uintptr, nBlob int32, pF
}
if i < 0 {
(*ZipfileTab)(unsafe.Pointer(pTab)).Fbase.FzErrMsg = sqlite3.Xsqlite3_mprintf(tls,
- ts+9251 /* "cannot find end ..." */, 0)
+ ts+9249 /* "cannot find end ..." */, 0)
return SQLITE_ERROR
}
@@ -33932,8 +34066,8 @@ func zipfileReadEOCD(tls *libc.TLS, pTab uintptr, aBlob uintptr, nBlob int32, pF
(*ZipfileEOCD)(unsafe.Pointer(pEOCD)).FiFirstDisk = func() u16 { aRead += uintptr(2); return zipfileGetU16(tls, (aRead - uintptr(2))) }()
(*ZipfileEOCD)(unsafe.Pointer(pEOCD)).FnEntry = func() u16 { aRead += uintptr(2); return zipfileGetU16(tls, (aRead - uintptr(2))) }()
(*ZipfileEOCD)(unsafe.Pointer(pEOCD)).FnEntryTotal = func() u16 { aRead += uintptr(2); return zipfileGetU16(tls, (aRead - uintptr(2))) }()
- (*ZipfileEOCD)(unsafe.Pointer(pEOCD)).FnSize = func() u321 { aRead += uintptr(4); return zipfileGetU32(tls, (aRead - uintptr(4))) }()
- (*ZipfileEOCD)(unsafe.Pointer(pEOCD)).FiOffset = func() u321 { aRead += uintptr(4); return zipfileGetU32(tls, (aRead - uintptr(4))) }()
+ (*ZipfileEOCD)(unsafe.Pointer(pEOCD)).FnSize = func() u32 { aRead += uintptr(4); return zipfileGetU32(tls, (aRead - uintptr(4))) }()
+ (*ZipfileEOCD)(unsafe.Pointer(pEOCD)).FiOffset = func() u32 { aRead += uintptr(4); return zipfileGetU32(tls, (aRead - uintptr(4))) }()
}
return rc
@@ -33943,7 +34077,7 @@ func zipfileReadEOCD(tls *libc.TLS, pTab uintptr, aBlob uintptr, nBlob int32, pF
// and ends with pLastEntry. If argument pBefore is NULL, then pNew is added
// to the end of the list. Otherwise, it is added to the list immediately
// before pBefore (which is guaranteed to be a part of said list).
-func zipfileAddEntry(tls *libc.TLS, pTab uintptr, pBefore uintptr, pNew uintptr) { /* zipfile.c:1191:13: */
+func zipfileAddEntry(tls *libc.TLS, pTab uintptr, pBefore uintptr, pNew uintptr) { /* zipfile.c:1195:13: */
if pBefore == uintptr(0) {
if (*ZipfileTab)(unsafe.Pointer(pTab)).FpFirstEntry == uintptr(0) {
@@ -33955,18 +34089,18 @@ func zipfileAddEntry(tls *libc.TLS, pTab uintptr, pBefore uintptr, pNew uintptr)
}
} else {
var pp uintptr
- for pp = (pTab + 64 /* &.pFirstEntry */); *(*uintptr)(unsafe.Pointer(pp)) != pBefore; pp = (*(*uintptr)(unsafe.Pointer(pp)) + 112 /* &.pNext */) {
+ for pp = (pTab + 64 /* &.pFirstEntry */); *(*uintptr)(unsafe.Pointer(pp)) != pBefore; pp = (*(*uintptr)(unsafe.Pointer(pp)) + 88 /* &.pNext */) {
}
(*ZipfileEntry)(unsafe.Pointer(pNew)).FpNext = pBefore
*(*uintptr)(unsafe.Pointer(pp)) = pNew
}
}
-func zipfileLoadDirectory(tls *libc.TLS, pTab uintptr, aBlob uintptr, nBlob int32) int32 { /* zipfile.c:1214:12: */
- bp := tls.Alloc(32)
- defer tls.Free(32)
+func zipfileLoadDirectory(tls *libc.TLS, pTab uintptr, aBlob uintptr, nBlob int32) int32 { /* zipfile.c:1218:12: */
+ bp := tls.Alloc(24)
+ defer tls.Free(24)
- // var eocd ZipfileEOCD at bp, 24
+ // var eocd ZipfileEOCD at bp, 16
var rc int32
var i int32
@@ -33975,20 +34109,20 @@ func zipfileLoadDirectory(tls *libc.TLS, pTab uintptr, aBlob uintptr, nBlob int3
rc = zipfileReadEOCD(tls, pTab, aBlob, nBlob, (*ZipfileTab)(unsafe.Pointer(pTab)).FpWriteFd, bp /* &eocd */)
iOff = i64((*ZipfileEOCD)(unsafe.Pointer(bp /* &eocd */)).FiOffset)
for i = 0; (rc == SQLITE_OK) && (i < int32((*ZipfileEOCD)(unsafe.Pointer(bp /* &eocd */)).FnEntry)); i++ {
- *(*uintptr)(unsafe.Pointer(bp + 24 /* pNew */)) = uintptr(0)
- rc = zipfileGetEntry(tls, pTab, aBlob, nBlob, (*ZipfileTab)(unsafe.Pointer(pTab)).FpWriteFd, iOff, bp+24 /* &pNew */)
+ *(*uintptr)(unsafe.Pointer(bp + 16 /* pNew */)) = uintptr(0)
+ rc = zipfileGetEntry(tls, pTab, aBlob, nBlob, (*ZipfileTab)(unsafe.Pointer(pTab)).FpWriteFd, iOff, bp+16 /* &pNew */)
if rc == SQLITE_OK {
- zipfileAddEntry(tls, pTab, uintptr(0), *(*uintptr)(unsafe.Pointer(bp + 24 /* pNew */)))
+ zipfileAddEntry(tls, pTab, uintptr(0), *(*uintptr)(unsafe.Pointer(bp + 16 /* pNew */)))
iOff = iOff + (int64(ZIPFILE_CDS_FIXED_SZ))
- iOff = iOff + (i64((int32((*ZipfileEntry)(unsafe.Pointer(*(*uintptr)(unsafe.Pointer(bp + 24 /* pNew */)))).Fcds.FnExtra) + int32((*ZipfileEntry)(unsafe.Pointer(*(*uintptr)(unsafe.Pointer(bp + 24 /* pNew */)))).Fcds.FnFile)) + int32((*ZipfileEntry)(unsafe.Pointer(*(*uintptr)(unsafe.Pointer(bp + 24 /* pNew */)))).Fcds.FnComment)))
+ iOff = iOff + (i64((int32((*ZipfileEntry)(unsafe.Pointer(*(*uintptr)(unsafe.Pointer(bp + 16 /* pNew */)))).Fcds.FnExtra) + int32((*ZipfileEntry)(unsafe.Pointer(*(*uintptr)(unsafe.Pointer(bp + 16 /* pNew */)))).Fcds.FnFile)) + int32((*ZipfileEntry)(unsafe.Pointer(*(*uintptr)(unsafe.Pointer(bp + 16 /* pNew */)))).Fcds.FnComment)))
}
}
return rc
}
// xFilter callback.
-func zipfileFilter(tls *libc.TLS, cur uintptr, idxNum int32, idxStr uintptr, argc int32, argv uintptr) int32 { /* zipfile.c:1238:12: */
+func zipfileFilter(tls *libc.TLS, cur uintptr, idxNum int32, idxStr uintptr, argc int32, argv uintptr) int32 { /* zipfile.c:1242:12: */
bp := tls.Alloc(8)
defer tls.Free(8)
@@ -34003,7 +34137,7 @@ func zipfileFilter(tls *libc.TLS, cur uintptr, idxNum int32, idxStr uintptr, arg
if (*ZipfileTab)(unsafe.Pointer(pTab)).FzFile != 0 {
zFile = (*ZipfileTab)(unsafe.Pointer(pTab)).FzFile
} else if idxNum == 0 {
- zipfileCursorErr(tls, pCsr, ts+9295 /* "zipfile() functi..." */, 0)
+ zipfileCursorErr(tls, pCsr, ts+9293 /* "zipfile() functi..." */, 0)
return SQLITE_ERROR
} else if sqlite3.Xsqlite3_value_type(tls, *(*uintptr)(unsafe.Pointer(argv))) == SQLITE_BLOB {
var aBlob uintptr = sqlite3.Xsqlite3_value_blob(tls, *(*uintptr)(unsafe.Pointer(argv)))
@@ -34021,9 +34155,9 @@ func zipfileFilter(tls *libc.TLS, cur uintptr, idxNum int32, idxStr uintptr, arg
}
if (uintptr(0) == (*ZipfileTab)(unsafe.Pointer(pTab)).FpWriteFd) && (0 == bInMemory) {
- (*ZipfileCsr)(unsafe.Pointer(pCsr)).FpFile = libc.Xfopen(tls, zFile, ts+4273 /* "rb" */)
+ (*ZipfileCsr)(unsafe.Pointer(pCsr)).FpFile = libc.Xfopen(tls, zFile, ts+4263 /* "rb" */)
if (*ZipfileCsr)(unsafe.Pointer(pCsr)).FpFile == uintptr(0) {
- zipfileCursorErr(tls, pCsr, ts+9335 /* "cannot open file..." */, libc.VaList(bp, zFile))
+ zipfileCursorErr(tls, pCsr, ts+9333 /* "cannot open file..." */, libc.VaList(bp, zFile))
rc = SQLITE_ERROR
} else {
rc = zipfileReadEOCD(tls, pTab, uintptr(0), 0, (*ZipfileCsr)(unsafe.Pointer(pCsr)).FpFile, (pCsr + 40 /* &.eocd */))
@@ -34051,7 +34185,7 @@ func zipfileFilter(tls *libc.TLS, cur uintptr, idxNum int32, idxStr uintptr, arg
}
// xBestIndex callback.
-func zipfileBestIndex(tls *libc.TLS, tab uintptr, pIdxInfo uintptr) int32 { /* zipfile.c:1297:12: */
+func zipfileBestIndex(tls *libc.TLS, tab uintptr, pIdxInfo uintptr) int32 { /* zipfile.c:1301:12: */
var i int32
var idx int32 = -1
var unusable int32 = 0
@@ -34078,7 +34212,7 @@ func zipfileBestIndex(tls *libc.TLS, tab uintptr, pIdxInfo uintptr) int32 { /* z
return SQLITE_OK
}
-func zipfileNewEntry(tls *libc.TLS, zPath uintptr) uintptr { /* zipfile.c:1325:21: */
+func zipfileNewEntry(tls *libc.TLS, zPath uintptr) uintptr { /* zipfile.c:1329:21: */
bp := tls.Alloc(8)
defer tls.Free(8)
@@ -34095,7 +34229,7 @@ func zipfileNewEntry(tls *libc.TLS, zPath uintptr) uintptr { /* zipfile.c:1325:2
return pNew
}
-func zipfileSerializeLFH(tls *libc.TLS, pEntry uintptr, aBuf uintptr) int32 { /* zipfile.c:1339:12: */
+func zipfileSerializeLFH(tls *libc.TLS, pEntry uintptr, aBuf uintptr) int32 { /* zipfile.c:1343:12: */
var pCds uintptr = (pEntry /* &.cds */)
var a uintptr = aBuf
@@ -34103,7 +34237,7 @@ func zipfileSerializeLFH(tls *libc.TLS, pEntry uintptr, aBuf uintptr) int32 { /*
/* Write the LFH itself */
{
- zipfilePutU32(tls, a, uint64(ZIPFILE_SIGNATURE_LFH))
+ zipfilePutU32(tls, a, uint32(ZIPFILE_SIGNATURE_LFH))
a += uintptr(4)
}
@@ -34181,7 +34315,7 @@ func zipfileSerializeLFH(tls *libc.TLS, pEntry uintptr, aBuf uintptr) int32 { /*
return (int32((int64(a) - int64(aBuf)) / 1))
}
-func zipfileAppendEntry(tls *libc.TLS, pTab uintptr, pEntry uintptr, pData uintptr, nData int32) int32 { /* zipfile.c:1372:12: */
+func zipfileAppendEntry(tls *libc.TLS, pTab uintptr, pEntry uintptr, pData uintptr, nData int32) int32 { /* zipfile.c:1376:12: */
var aBuf uintptr = (*ZipfileTab)(unsafe.Pointer(pTab)).FaBuffer
var nBuf int32
var rc int32
@@ -34196,35 +34330,35 @@ func zipfileAppendEntry(tls *libc.TLS, pTab uintptr, pEntry uintptr, pData uintp
return rc
}
-func zipfileGetMode(tls *libc.TLS, pVal uintptr, bIsDir int32, pMode uintptr, pzErr uintptr) int32 { /* zipfile.c:1392:12: */
+func zipfileGetMode(tls *libc.TLS, pVal uintptr, bIsDir int32, pMode uintptr, pzErr uintptr) int32 { /* zipfile.c:1396:12: */
bp := tls.Alloc(19)
defer tls.Free(19)
var z uintptr
- var mode u321
+ var mode u32
// var zTemplate [11]int8 at bp+8, 11
var i int32
z = sqlite3.Xsqlite3_value_text(tls, pVal)
- mode = uint64(0)
+ mode = u32(0)
if !(z == uintptr(0)) {
goto __1
}
- mode = func() uint64 {
+ mode = func() uint32 {
if bIsDir != 0 {
- return (uint64(S_IFDIR + 0755))
+ return (uint32(S_IFDIR + 0755))
}
- return (uint64(S_IFREG + 0644))
+ return (uint32(S_IFREG + 0644))
}()
goto __2
__1:
if !((int32(*(*int8)(unsafe.Pointer(z))) >= '0') && (int32(*(*int8)(unsafe.Pointer(z))) <= '9')) {
goto __3
}
- mode = u321(uint32(sqlite3.Xsqlite3_value_int(tls, pVal)))
+ mode = uint32(sqlite3.Xsqlite3_value_int(tls, pVal))
goto __4
__3:
- *(*[11]int8)(unsafe.Pointer(bp + 8 /* zTemplate */)) = *(*[11]int8)(unsafe.Pointer(ts + 9356 /* "-rwxrwxrwx" */))
+ *(*[11]int8)(unsafe.Pointer(bp + 8 /* zTemplate */)) = *(*[11]int8)(unsafe.Pointer(ts + 9354 /* "-rwxrwxrwx" */))
if !(libc.Xstrlen(tls, z) != uint64(10)) {
goto __5
}
@@ -34243,13 +34377,13 @@ __5:
}
goto __6
__7:
- mode = mode | (uint64(S_IFREG))
+ mode = mode | (u32(S_IFREG))
goto __6
__8:
- mode = mode | (uint64(S_IFDIR))
+ mode = mode | (u32(S_IFDIR))
goto __6
__9:
- mode = mode | (uint64(S_IFLNK))
+ mode = mode | (u32(S_IFLNK))
goto __6
__10:
goto parse_error
@@ -34263,7 +34397,7 @@ __11:
if !(int32(*(*int8)(unsafe.Pointer(z + uintptr(i)))) == int32(*(*int8)(unsafe.Pointer(bp + 8 /* &zTemplate[0] */ + uintptr(i))))) {
goto __14
}
- mode = mode | (u321(int32(1) << (9 - i)))
+ mode = mode | (u32(int32(1) << (9 - i)))
goto __15
__14:
if !(int32(*(*int8)(unsafe.Pointer(z + uintptr(i)))) != '-') {
@@ -34285,20 +34419,20 @@ __4:
;
__2:
;
- if !((libc.Bool32((mode & uint64(S_IFDIR)) == uint64(0))) == bIsDir) {
+ if !((libc.Bool32((mode & u32(S_IFDIR)) == u32(0))) == bIsDir) {
goto __17
}
// The "mode" attribute is a directory, but data has been specified.
// Or vice-versa - no data but "mode" is a file or symlink.
- *(*uintptr)(unsafe.Pointer(pzErr)) = sqlite3.Xsqlite3_mprintf(tls, ts+9367 /* "zipfile: mode do..." */, 0)
+ *(*uintptr)(unsafe.Pointer(pzErr)) = sqlite3.Xsqlite3_mprintf(tls, ts+9365 /* "zipfile: mode do..." */, 0)
return SQLITE_CONSTRAINT
__17:
;
- *(*u321)(unsafe.Pointer(pMode)) = mode
+ *(*u32)(unsafe.Pointer(pMode)) = mode
return SQLITE_OK
parse_error:
- *(*uintptr)(unsafe.Pointer(pzErr)) = sqlite3.Xsqlite3_mprintf(tls, ts+9401 /* "zipfile: parse e..." */, libc.VaList(bp, z))
+ *(*uintptr)(unsafe.Pointer(pzErr)) = sqlite3.Xsqlite3_mprintf(tls, ts+9399 /* "zipfile: parse e..." */, libc.VaList(bp, z))
return SQLITE_ERROR
}
@@ -34306,7 +34440,7 @@ parse_error:
// Both (const char*) arguments point to nul-terminated strings. Argument
// nB is the value of strlen(zB). This function returns 0 if the strings are
// identical, ignoring any trailing '/' character in either path.
-func zipfileComparePath(tls *libc.TLS, zA uintptr, zB uintptr, nB int32) int32 { /* zipfile.c:1437:12: */
+func zipfileComparePath(tls *libc.TLS, zA uintptr, zB uintptr, nB int32) int32 { /* zipfile.c:1441:12: */
var nA int32 = int32(libc.Xstrlen(tls, zA))
if (nA > 0) && (int32(*(*int8)(unsafe.Pointer(zA + uintptr((nA - 1))))) == '/') {
nA--
@@ -34320,7 +34454,7 @@ func zipfileComparePath(tls *libc.TLS, zA uintptr, zB uintptr, nB int32) int32 {
return 1
}
-func zipfileBegin(tls *libc.TLS, pVtab uintptr) int32 { /* zipfile.c:1445:12: */
+func zipfileBegin(tls *libc.TLS, pVtab uintptr) int32 { /* zipfile.c:1449:12: */
bp := tls.Alloc(8)
defer tls.Free(8)
@@ -34328,7 +34462,7 @@ func zipfileBegin(tls *libc.TLS, pVtab uintptr) int32 { /* zipfile.c:1445:12: */
var rc int32 = SQLITE_OK
if ((*ZipfileTab)(unsafe.Pointer(pTab)).FzFile == uintptr(0)) || (int32(*(*int8)(unsafe.Pointer((*ZipfileTab)(unsafe.Pointer(pTab)).FzFile))) == 0) {
- (*ZipfileTab)(unsafe.Pointer(pTab)).Fbase.FzErrMsg = sqlite3.Xsqlite3_mprintf(tls, ts+9434 /* "zipfile: missing..." */, 0)
+ (*ZipfileTab)(unsafe.Pointer(pTab)).Fbase.FzErrMsg = sqlite3.Xsqlite3_mprintf(tls, ts+9432 /* "zipfile: missing..." */, 0)
return SQLITE_ERROR
}
@@ -34336,10 +34470,10 @@ func zipfileBegin(tls *libc.TLS, pVtab uintptr) int32 { /* zipfile.c:1445:12: */
// structure into memory. During the transaction any new file data is
// appended to the archive file, but the central directory is accumulated
// in main-memory until the transaction is committed.
- (*ZipfileTab)(unsafe.Pointer(pTab)).FpWriteFd = libc.Xfopen(tls, (*ZipfileTab)(unsafe.Pointer(pTab)).FzFile, ts+9460 /* "ab+" */)
+ (*ZipfileTab)(unsafe.Pointer(pTab)).FpWriteFd = libc.Xfopen(tls, (*ZipfileTab)(unsafe.Pointer(pTab)).FzFile, ts+9458 /* "ab+" */)
if (*ZipfileTab)(unsafe.Pointer(pTab)).FpWriteFd == uintptr(0) {
(*ZipfileTab)(unsafe.Pointer(pTab)).Fbase.FzErrMsg = sqlite3.Xsqlite3_mprintf(tls,
- ts+9464 /* "zipfile: failed ..." */, libc.VaList(bp, (*ZipfileTab)(unsafe.Pointer(pTab)).FzFile))
+ ts+9462 /* "zipfile: failed ..." */, libc.VaList(bp, (*ZipfileTab)(unsafe.Pointer(pTab)).FzFile))
rc = SQLITE_ERROR
} else {
libc.Xfseek(tls, (*ZipfileTab)(unsafe.Pointer(pTab)).FpWriteFd, int64(0), SEEK_END)
@@ -34356,22 +34490,25 @@ func zipfileBegin(tls *libc.TLS, pVtab uintptr) int32 { /* zipfile.c:1445:12: */
// Return the current time as a 32-bit timestamp in UNIX epoch format (like
// time(2)).
-func zipfileTime(tls *libc.TLS) u321 { /* zipfile.c:1482:12: */
+func zipfileTime(tls *libc.TLS) u32 { /* zipfile.c:1486:12: */
bp := tls.Alloc(16)
defer tls.Free(16)
var pVfs uintptr = sqlite3.Xsqlite3_vfs_find(tls, uintptr(0))
- var ret u321
+ var ret u32
+ if pVfs == uintptr(0) {
+ return u32(0)
+ }
if ((*sqlite3_vfs)(unsafe.Pointer(pVfs)).FiVersion >= 2) && ((*sqlite3_vfs)(unsafe.Pointer(pVfs)).FxCurrentTimeInt64 != 0) {
// var ms i64 at bp, 8
(*(*func(*libc.TLS, uintptr, uintptr) int32)(unsafe.Pointer((pVfs + 136 /* &.xCurrentTimeInt64 */))))(tls, pVfs, bp /* &ms */)
- ret = (u321((*(*i64)(unsafe.Pointer(bp /* ms */)) / int64(1000)) - (int64(24405875) * int64(8640))))
+ ret = (u32((*(*i64)(unsafe.Pointer(bp /* ms */)) / int64(1000)) - (int64(24405875) * int64(8640))))
} else {
// var day float64 at bp+8, 8
(*(*func(*libc.TLS, uintptr, uintptr) int32)(unsafe.Pointer((pVfs + 120 /* &.xCurrentTime */))))(tls, pVfs, bp+8 /* &day */)
- ret = (u321((*(*float64)(unsafe.Pointer(bp + 8 /* day */)) - 2440587.5) * float64(86400)))
+ ret = (u32((*(*float64)(unsafe.Pointer(bp + 8 /* day */)) - 2440587.5) * float64(86400)))
}
return ret
}
@@ -34381,19 +34518,19 @@ func zipfileTime(tls *libc.TLS) u321 { /* zipfile.c:1482:12: */
// If the value passed as the only argument is either NULL or an SQL NULL,
// return the current time. Otherwise, return the value stored in (*pVal)
// cast to a 32-bit unsigned integer.
-func zipfileGetTime(tls *libc.TLS, pVal uintptr) u321 { /* zipfile.c:1504:12: */
+func zipfileGetTime(tls *libc.TLS, pVal uintptr) u32 { /* zipfile.c:1509:12: */
if (pVal == uintptr(0)) || (sqlite3.Xsqlite3_value_type(tls, pVal) == SQLITE_NULL) {
return zipfileTime(tls)
}
- return u321(sqlite3.Xsqlite3_value_int64(tls, pVal))
+ return u32(sqlite3.Xsqlite3_value_int64(tls, pVal))
}
// Unless it is NULL, entry pOld is currently part of the pTab->pFirstEntry
// linked list. Remove it from the list and free the object.
-func zipfileRemoveEntryFromList(tls *libc.TLS, pTab uintptr, pOld uintptr) { /* zipfile.c:1515:13: */
+func zipfileRemoveEntryFromList(tls *libc.TLS, pTab uintptr, pOld uintptr) { /* zipfile.c:1520:13: */
if pOld != 0 {
var pp uintptr
- for pp = (pTab + 64 /* &.pFirstEntry */); (*(*uintptr)(unsafe.Pointer(pp))) != pOld; pp = (*(*uintptr)(unsafe.Pointer(pp)) + 112 /* &.pNext */) {
+ for pp = (pTab + 64 /* &.pFirstEntry */); (*(*uintptr)(unsafe.Pointer(pp))) != pOld; pp = (*(*uintptr)(unsafe.Pointer(pp)) + 88 /* &.pNext */) {
}
*(*uintptr)(unsafe.Pointer(pp)) = (*ZipfileEntry)(unsafe.Pointer(*(*uintptr)(unsafe.Pointer(pp)))).FpNext
zipfileEntryFree(tls, pOld)
@@ -34401,17 +34538,17 @@ func zipfileRemoveEntryFromList(tls *libc.TLS, pTab uintptr, pOld uintptr) { /*
}
// xUpdate method.
-func zipfileUpdate(tls *libc.TLS, pVtab uintptr, nVal int32, apVal uintptr, pRowid uintptr) int32 { /* zipfile.c:1527:12: */
- bp := tls.Alloc(48)
- defer tls.Free(48)
+func zipfileUpdate(tls *libc.TLS, pVtab uintptr, nVal int32, apVal uintptr, pRowid uintptr) int32 { /* zipfile.c:1532:12: */
+ bp := tls.Alloc(40)
+ defer tls.Free(40)
var pTab uintptr
var rc int32 // Return Code
var pNew uintptr // New in-memory CDS entry
- // var mode u321 at bp+40, 8
+ // var mode u32 at bp+36, 4
// Mode for new entry
- var mTime u321 // Modification time for new entry
+ var mTime u32 // Modification time for new entry
var sz i64 // Uncompressed size
var zPath uintptr // Path for new entry
var nPath int32 // strlen(zPath)
@@ -34425,7 +34562,7 @@ func zipfileUpdate(tls *libc.TLS, pVtab uintptr, nVal int32, apVal uintptr, pRow
var pOld2 uintptr
var bUpdate int32 // True for an update that modifies "name"
var bIsDir int32
- var iCrc32 u321
+ var iCrc32 u32
var zUpdate uintptr
var zDelete uintptr
var nDelete int32
@@ -34441,8 +34578,8 @@ func zipfileUpdate(tls *libc.TLS, pVtab uintptr, nVal int32, apVal uintptr, pRow
pTab = pVtab
rc = SQLITE_OK
pNew = uintptr(0)
- *(*u321)(unsafe.Pointer(bp + 40 /* mode */)) = uint64(0)
- mTime = uint64(0)
+ *(*u32)(unsafe.Pointer(bp + 36 /* mode */)) = u32(0)
+ mTime = u32(0)
sz = int64(0)
zPath = uintptr(0)
nPath = 0
@@ -34455,7 +34592,7 @@ func zipfileUpdate(tls *libc.TLS, pVtab uintptr, nVal int32, apVal uintptr, pRow
pOld2 = uintptr(0)
bUpdate = 0
bIsDir = 0
- iCrc32 = uint64(0)
+ iCrc32 = u32(0)
if !((*ZipfileTab)(unsafe.Pointer(pTab)).FpWriteFd == uintptr(0)) {
goto __1
@@ -34517,14 +34654,14 @@ __3:
if !(sqlite3.Xsqlite3_value_type(tls, *(*uintptr)(unsafe.Pointer(apVal + 5*8))) != SQLITE_NULL) {
goto __11
}
- zipfileTableErr(tls, pTab, ts+9508 /* "sz must be NULL" */, 0)
+ zipfileTableErr(tls, pTab, ts+9506 /* "sz must be NULL" */, 0)
rc = SQLITE_CONSTRAINT
__11:
;
if !(sqlite3.Xsqlite3_value_type(tls, *(*uintptr)(unsafe.Pointer(apVal + 6*8))) != SQLITE_NULL) {
goto __12
}
- zipfileTableErr(tls, pTab, ts+9524 /* "rawdata must be ..." */, 0)
+ zipfileTableErr(tls, pTab, ts+9522 /* "rawdata must be ..." */, 0)
rc = SQLITE_CONSTRAINT
__12:
;
@@ -34552,7 +34689,7 @@ __14:
if !((iMethod != 0) && (iMethod != 8)) {
goto __16
}
- zipfileTableErr(tls, pTab, ts+9545 /* "unknown compress..." */, libc.VaList(bp, iMethod))
+ zipfileTableErr(tls, pTab, ts+9543 /* "unknown compress..." */, libc.VaList(bp, iMethod))
rc = SQLITE_CONSTRAINT
goto __17
__16:
@@ -34575,7 +34712,7 @@ __19:
;
__18:
;
- iCrc32 = tcl.Xcrc32(tls, uint64(0), aIn, uint32(nIn))
+ iCrc32 = u32(tcl.Xcrc32(tls, uint64(0), aIn, uint32(nIn)))
__17:
;
__15:
@@ -34586,7 +34723,7 @@ __13:
if !(rc == SQLITE_OK) {
goto __21
}
- rc = zipfileGetMode(tls, *(*uintptr)(unsafe.Pointer(apVal + 3*8)), bIsDir, bp+40 /* &mode */, (pTab /* &.base */ + 16 /* &.zErrMsg */))
+ rc = zipfileGetMode(tls, *(*uintptr)(unsafe.Pointer(apVal + 3*8)), bIsDir, bp+36 /* &mode */, (pTab /* &.base */ + 16 /* &.zErrMsg */))
__21:
;
@@ -34615,7 +34752,7 @@ __22:
if !((nPath <= 0) || (int32(*(*int8)(unsafe.Pointer(zPath + uintptr((nPath - 1))))) != '/')) {
goto __25
}
- zFree = sqlite3.Xsqlite3_mprintf(tls, ts+9576 /* "%s/" */, libc.VaList(bp+8, zPath))
+ zFree = sqlite3.Xsqlite3_mprintf(tls, ts+9574 /* "%s/" */, libc.VaList(bp+8, zPath))
zPath = zFree
if !(zFree == uintptr(0)) {
goto __26
@@ -34662,7 +34799,7 @@ __35:
goto __33
__36:
- zipfileTableErr(tls, pTab, ts+9580 /* "duplicate name: ..." */, libc.VaList(bp+16, zPath))
+ zipfileTableErr(tls, pTab, ts+9578 /* "duplicate name: ..." */, libc.VaList(bp+16, zPath))
rc = SQLITE_CONSTRAINT
goto __33
@@ -34698,10 +34835,10 @@ __38:
(*ZipfileEntry)(unsafe.Pointer(pNew)).Fcds.FiCompression = u16(iMethod)
zipfileMtimeToDos(tls, (pNew /* &.cds */), mTime)
(*ZipfileEntry)(unsafe.Pointer(pNew)).Fcds.Fcrc32 = iCrc32
- (*ZipfileEntry)(unsafe.Pointer(pNew)).Fcds.FszCompressed = u321(nData)
- (*ZipfileEntry)(unsafe.Pointer(pNew)).Fcds.FszUncompressed = u321(sz)
- (*ZipfileEntry)(unsafe.Pointer(pNew)).Fcds.FiExternalAttr = (*(*u321)(unsafe.Pointer(bp + 40 /* mode */)) << 16)
- (*ZipfileEntry)(unsafe.Pointer(pNew)).Fcds.FiOffset = u321((*ZipfileTab)(unsafe.Pointer(pTab)).FszCurrent)
+ (*ZipfileEntry)(unsafe.Pointer(pNew)).Fcds.FszCompressed = u32(nData)
+ (*ZipfileEntry)(unsafe.Pointer(pNew)).Fcds.FszUncompressed = u32(sz)
+ (*ZipfileEntry)(unsafe.Pointer(pNew)).Fcds.FiExternalAttr = (*(*u32)(unsafe.Pointer(bp + 36 /* mode */)) << 16)
+ (*ZipfileEntry)(unsafe.Pointer(pNew)).Fcds.FiOffset = u32((*ZipfileTab)(unsafe.Pointer(pTab)).FszCurrent)
(*ZipfileEntry)(unsafe.Pointer(pNew)).Fcds.FnFile = u16(nPath)
(*ZipfileEntry)(unsafe.Pointer(pNew)).FmUnixTime = mTime
rc = zipfileAppendEntry(tls, pTab, pNew, pData, nData)
@@ -34747,10 +34884,10 @@ zipfile_update_done:
return rc
}
-func zipfileSerializeEOCD(tls *libc.TLS, p uintptr, aBuf uintptr) int32 { /* zipfile.c:1718:12: */
+func zipfileSerializeEOCD(tls *libc.TLS, p uintptr, aBuf uintptr) int32 { /* zipfile.c:1723:12: */
var a uintptr = aBuf
{
- zipfilePutU32(tls, a, uint64(ZIPFILE_SIGNATURE_EOCD))
+ zipfilePutU32(tls, a, uint32(ZIPFILE_SIGNATURE_EOCD))
a += uintptr(4)
}
@@ -34793,7 +34930,7 @@ func zipfileSerializeEOCD(tls *libc.TLS, p uintptr, aBuf uintptr) int32 { /* zip
return (int32((int64(a) - int64(aBuf)) / 1))
}
-func zipfileAppendEOCD(tls *libc.TLS, pTab uintptr, p uintptr) int32 { /* zipfile.c:1732:12: */
+func zipfileAppendEOCD(tls *libc.TLS, pTab uintptr, p uintptr) int32 { /* zipfile.c:1737:12: */
var nBuf int32 = zipfileSerializeEOCD(tls, p, (*ZipfileTab)(unsafe.Pointer(pTab)).FaBuffer)
return zipfileAppendData(tls, pTab, (*ZipfileTab)(unsafe.Pointer(pTab)).FaBuffer, nBuf)
@@ -34801,7 +34938,7 @@ func zipfileAppendEOCD(tls *libc.TLS, pTab uintptr, p uintptr) int32 { /* zipfil
// Serialize the CDS structure into buffer aBuf[]. Return the number
// of bytes written.
-func zipfileSerializeCDS(tls *libc.TLS, pEntry uintptr, aBuf uintptr) int32 { /* zipfile.c:1742:12: */
+func zipfileSerializeCDS(tls *libc.TLS, pEntry uintptr, aBuf uintptr) int32 { /* zipfile.c:1747:12: */
var a uintptr = aBuf
var pCDS uintptr = (pEntry /* &.cds */)
@@ -34810,7 +34947,7 @@ func zipfileSerializeCDS(tls *libc.TLS, pEntry uintptr, aBuf uintptr) int32 { /*
}
{
- zipfilePutU32(tls, a, uint64(ZIPFILE_SIGNATURE_CDS))
+ zipfilePutU32(tls, a, uint32(ZIPFILE_SIGNATURE_CDS))
a += uintptr(4)
}
@@ -34924,16 +35061,16 @@ func zipfileSerializeCDS(tls *libc.TLS, pEntry uintptr, aBuf uintptr) int32 { /*
return (int32((int64(a) - int64(aBuf)) / 1))
}
-func zipfileCommit(tls *libc.TLS, pVtab uintptr) int32 { /* zipfile.c:1787:12: */
- bp := tls.Alloc(24)
- defer tls.Free(24)
+func zipfileCommit(tls *libc.TLS, pVtab uintptr) int32 { /* zipfile.c:1792:12: */
+ bp := tls.Alloc(16)
+ defer tls.Free(16)
var pTab uintptr = pVtab
var rc int32 = SQLITE_OK
if (*ZipfileTab)(unsafe.Pointer(pTab)).FpWriteFd != 0 {
var iOffset i64 = (*ZipfileTab)(unsafe.Pointer(pTab)).FszCurrent
var p uintptr
- // var eocd ZipfileEOCD at bp, 24
+ // var eocd ZipfileEOCD at bp, 16
var nEntry int32 = 0
@@ -34949,8 +35086,8 @@ func zipfileCommit(tls *libc.TLS, pVtab uintptr) int32 { /* zipfile.c:1787:12: *
(*ZipfileEOCD)(unsafe.Pointer(bp /* &eocd */)).FiFirstDisk = u16(0)
(*ZipfileEOCD)(unsafe.Pointer(bp /* &eocd */)).FnEntry = u16(nEntry)
(*ZipfileEOCD)(unsafe.Pointer(bp /* &eocd */)).FnEntryTotal = u16(nEntry)
- (*ZipfileEOCD)(unsafe.Pointer(bp /* &eocd */)).FnSize = (u321((*ZipfileTab)(unsafe.Pointer(pTab)).FszCurrent - iOffset))
- (*ZipfileEOCD)(unsafe.Pointer(bp /* &eocd */)).FiOffset = u321(iOffset)
+ (*ZipfileEOCD)(unsafe.Pointer(bp /* &eocd */)).FnSize = (u32((*ZipfileTab)(unsafe.Pointer(pTab)).FszCurrent - iOffset))
+ (*ZipfileEOCD)(unsafe.Pointer(bp /* &eocd */)).FiOffset = u32(iOffset)
rc = zipfileAppendEOCD(tls, pTab, bp /* &eocd */)
zipfileCleanupTransaction(tls, pTab)
@@ -34958,11 +35095,11 @@ func zipfileCommit(tls *libc.TLS, pVtab uintptr) int32 { /* zipfile.c:1787:12: *
return rc
}
-func zipfileRollback(tls *libc.TLS, pVtab uintptr) int32 { /* zipfile.c:1817:12: */
+func zipfileRollback(tls *libc.TLS, pVtab uintptr) int32 { /* zipfile.c:1822:12: */
return zipfileCommit(tls, pVtab)
}
-func zipfileFindCursor(tls *libc.TLS, pTab uintptr, iId i64) uintptr { /* zipfile.c:1821:19: */
+func zipfileFindCursor(tls *libc.TLS, pTab uintptr, iId i64) uintptr { /* zipfile.c:1826:19: */
var pCsr uintptr
for pCsr = (*ZipfileTab)(unsafe.Pointer(pTab)).FpCsrList; pCsr != 0; pCsr = (*ZipfileCsr)(unsafe.Pointer(pCsr)).FpCsrNext {
if iId == (*ZipfileCsr)(unsafe.Pointer(pCsr)).FiId {
@@ -34972,7 +35109,7 @@ func zipfileFindCursor(tls *libc.TLS, pTab uintptr, iId i64) uintptr { /* zipfil
return pCsr
}
-func zipfileFunctionCds(tls *libc.TLS, context uintptr, argc int32, argv uintptr) { /* zipfile.c:1829:13: */
+func zipfileFunctionCds(tls *libc.TLS, context uintptr, argc int32, argv uintptr) { /* zipfile.c:1834:13: */
bp := tls.Alloc(128)
defer tls.Free(128)
@@ -34984,14 +35121,14 @@ func zipfileFunctionCds(tls *libc.TLS, context uintptr, argc int32, argv uintptr
var p uintptr = ((*ZipfileCsr)(unsafe.Pointer(pCsr)).FpCurrent /* &.cds */)
var zRes uintptr = sqlite3.Xsqlite3_mprintf(tls,
- ts+9601, /* "{\"version-made-b..." */
- libc.VaList(bp, u321((*ZipfileCDS)(unsafe.Pointer(p)).FiVersionMadeBy), u321((*ZipfileCDS)(unsafe.Pointer(p)).FiVersionExtract),
- u321((*ZipfileCDS)(unsafe.Pointer(p)).Fflags), u321((*ZipfileCDS)(unsafe.Pointer(p)).FiCompression),
- u321((*ZipfileCDS)(unsafe.Pointer(p)).FmTime), u321((*ZipfileCDS)(unsafe.Pointer(p)).FmDate),
+ ts+9599, /* "{\"version-made-b..." */
+ libc.VaList(bp, u32((*ZipfileCDS)(unsafe.Pointer(p)).FiVersionMadeBy), u32((*ZipfileCDS)(unsafe.Pointer(p)).FiVersionExtract),
+ u32((*ZipfileCDS)(unsafe.Pointer(p)).Fflags), u32((*ZipfileCDS)(unsafe.Pointer(p)).FiCompression),
+ u32((*ZipfileCDS)(unsafe.Pointer(p)).FmTime), u32((*ZipfileCDS)(unsafe.Pointer(p)).FmDate),
(*ZipfileCDS)(unsafe.Pointer(p)).Fcrc32, (*ZipfileCDS)(unsafe.Pointer(p)).FszCompressed,
- (*ZipfileCDS)(unsafe.Pointer(p)).FszUncompressed, u321((*ZipfileCDS)(unsafe.Pointer(p)).FnFile),
- u321((*ZipfileCDS)(unsafe.Pointer(p)).FnExtra), u321((*ZipfileCDS)(unsafe.Pointer(p)).FnComment),
- u321((*ZipfileCDS)(unsafe.Pointer(p)).FiDiskStart), u321((*ZipfileCDS)(unsafe.Pointer(p)).FiInternalAttr),
+ (*ZipfileCDS)(unsafe.Pointer(p)).FszUncompressed, u32((*ZipfileCDS)(unsafe.Pointer(p)).FnFile),
+ u32((*ZipfileCDS)(unsafe.Pointer(p)).FnExtra), u32((*ZipfileCDS)(unsafe.Pointer(p)).FnComment),
+ u32((*ZipfileCDS)(unsafe.Pointer(p)).FiDiskStart), u32((*ZipfileCDS)(unsafe.Pointer(p)).FiInternalAttr),
(*ZipfileCDS)(unsafe.Pointer(p)).FiExternalAttr, (*ZipfileCDS)(unsafe.Pointer(p)).FiOffset))
if zRes == uintptr(0) {
@@ -35004,8 +35141,8 @@ func zipfileFunctionCds(tls *libc.TLS, context uintptr, argc int32, argv uintptr
}
// xFindFunction method.
-func zipfileFindFunction(tls *libc.TLS, pVtab uintptr, nArg int32, zName uintptr, pxFunc uintptr, ppArg uintptr) int32 { /* zipfile.c:1880:12: */
- if sqlite3.Xsqlite3_stricmp(tls, ts+9943 /* "zipfile_cds" */, zName) == 0 {
+func zipfileFindFunction(tls *libc.TLS, pVtab uintptr, nArg int32, zName uintptr, pxFunc uintptr, ppArg uintptr) int32 { /* zipfile.c:1885:12: */
+ if sqlite3.Xsqlite3_stricmp(tls, ts+9941 /* "zipfile_cds" */, zName) == 0 {
*(*uintptr)(unsafe.Pointer(pxFunc)) = *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, int32, uintptr)
}{zipfileFunctionCds}))
@@ -35019,20 +35156,20 @@ type ZipfileBuffer1 = struct {
Fa uintptr
Fn int32
FnAlloc int32
-} /* zipfile.c:1895:9 */
+} /* zipfile.c:1900:9 */
-type ZipfileBuffer = ZipfileBuffer1 /* zipfile.c:1895:30 */
+type ZipfileBuffer = ZipfileBuffer1 /* zipfile.c:1900:30 */
type ZipfileCtx1 = struct {
FnEntry int32
_ [4]byte
Fbody ZipfileBuffer
Fcds ZipfileBuffer
-} /* zipfile.c:1902:9 */
+} /* zipfile.c:1907:9 */
-type ZipfileCtx = ZipfileCtx1 /* zipfile.c:1902:27 */
+type ZipfileCtx = ZipfileCtx1 /* zipfile.c:1907:27 */
-func zipfileBufferGrow(tls *libc.TLS, pBuf uintptr, nByte int32) int32 { /* zipfile.c:1909:12: */
+func zipfileBufferGrow(tls *libc.TLS, pBuf uintptr, nByte int32) int32 { /* zipfile.c:1914:12: */
if ((*ZipfileBuffer)(unsafe.Pointer(pBuf)).Fn + nByte) > (*ZipfileBuffer)(unsafe.Pointer(pBuf)).FnAlloc {
var aNew uintptr
var nNew sqlite3_int64
@@ -35062,12 +35199,12 @@ func zipfileBufferGrow(tls *libc.TLS, pBuf uintptr, nByte int32) int32 { /* zipf
// SELECT zipfile(name,data) ...
// SELECT zipfile(name,mode,mtime,data) ...
// SELECT zipfile(name,mode,mtime,data,method) ...
-func zipfileStep(tls *libc.TLS, pCtx uintptr, nVal int32, apVal uintptr) { /* zipfile.c:1932:6: */
- bp := tls.Alloc(168)
- defer tls.Free(168)
+func zipfileStep(tls *libc.TLS, pCtx uintptr, nVal int32, apVal uintptr) { /* zipfile.c:1937:6: */
+ bp := tls.Alloc(140)
+ defer tls.Free(140)
var p uintptr // Aggregate function context
- // var e ZipfileEntry at bp+16, 120
+ // var e ZipfileEntry at bp+16, 96
// New entry to add to zip archive
var pName uintptr
@@ -35076,25 +35213,25 @@ func zipfileStep(tls *libc.TLS, pCtx uintptr, nVal int32, apVal uintptr) { /* zi
var pData uintptr
var pMethod uintptr
var bIsDir int32
- // var mode u321 at bp+160, 8
+ // var mode u32 at bp+136, 4
var rc int32
- // var zErr uintptr at bp+152, 8
+ // var zErr uintptr at bp+128, 8
var iMethod int32 // Compression method to use (0 or 8)
var aData uintptr // Possibly compressed data for new entry
var nData int32 // Size of aData[] in bytes
var szUncompressed int32 // Size of data before compression
- // var aFree uintptr at bp+136, 8
+ // var aFree uintptr at bp+112, 8
// Free this before returning
- var iCrc32 u321 // crc32 of uncompressed data
+ var iCrc32 u32 // crc32 of uncompressed data
var zName uintptr // Path (name) of new entry
var nName int32 // Size of zName in bytes
var zFree uintptr // Free this before returning
var nByte int32
- // var nOut int32 at bp+144, 4
+ // var nOut int32 at bp+120, 4
pName = uintptr(0)
pMode = uintptr(0)
pMtime = uintptr(0)
@@ -35102,13 +35239,13 @@ func zipfileStep(tls *libc.TLS, pCtx uintptr, nVal int32, apVal uintptr) { /* zi
pMethod = uintptr(0)
bIsDir = 0
rc = SQLITE_OK
- *(*uintptr)(unsafe.Pointer(bp + 152 /* zErr */)) = uintptr(0)
+ *(*uintptr)(unsafe.Pointer(bp + 128 /* zErr */)) = uintptr(0)
iMethod = -1
aData = uintptr(0)
nData = 0
szUncompressed = 0
- *(*uintptr)(unsafe.Pointer(bp + 136 /* aFree */)) = uintptr(0)
- iCrc32 = uint64(0)
+ *(*uintptr)(unsafe.Pointer(bp + 112 /* aFree */)) = uintptr(0)
+ iCrc32 = u32(0)
zName = uintptr(0)
nName = 0
zFree = uintptr(0)
@@ -35126,7 +35263,7 @@ __1:
if !(((nVal != 2) && (nVal != 4)) && (nVal != 5)) {
goto __2
}
- *(*uintptr)(unsafe.Pointer(bp + 152 /* zErr */)) = sqlite3.Xsqlite3_mprintf(tls, ts+9955 /* "wrong number of ..." */, 0)
+ *(*uintptr)(unsafe.Pointer(bp + 128 /* zErr */)) = sqlite3.Xsqlite3_mprintf(tls, ts+9953 /* "wrong number of ..." */, 0)
rc = SQLITE_ERROR
goto zipfile_step_out
__2:
@@ -35156,7 +35293,7 @@ __4:
if !(zName == uintptr(0)) {
goto __6
}
- *(*uintptr)(unsafe.Pointer(bp + 152 /* zErr */)) = sqlite3.Xsqlite3_mprintf(tls, ts+10003 /* "first argument t..." */, 0)
+ *(*uintptr)(unsafe.Pointer(bp + 128 /* zErr */)) = sqlite3.Xsqlite3_mprintf(tls, ts+10001 /* "first argument t..." */, 0)
rc = SQLITE_ERROR
goto zipfile_step_out
__6:
@@ -35171,7 +35308,7 @@ __6:
if !((iMethod != 0) && (iMethod != 8)) {
goto __8
}
- *(*uintptr)(unsafe.Pointer(bp + 152 /* zErr */)) = sqlite3.Xsqlite3_mprintf(tls, ts+10048 /* "illegal method v..." */, libc.VaList(bp, iMethod))
+ *(*uintptr)(unsafe.Pointer(bp + 128 /* zErr */)) = sqlite3.Xsqlite3_mprintf(tls, ts+10046 /* "illegal method v..." */, libc.VaList(bp, iMethod))
rc = SQLITE_ERROR
goto zipfile_step_out
__8:
@@ -35191,23 +35328,23 @@ __7:
__9:
aData = sqlite3.Xsqlite3_value_blob(tls, pData)
szUncompressed = libc.AssignInt32(&nData, sqlite3.Xsqlite3_value_bytes(tls, pData))
- iCrc32 = tcl.Xcrc32(tls, uint64(0), aData, uint32(nData))
+ iCrc32 = u32(tcl.Xcrc32(tls, uint64(0), aData, uint32(nData)))
if !((iMethod < 0) || (iMethod == 8)) {
goto __11
}
- *(*int32)(unsafe.Pointer(bp + 144 /* nOut */)) = 0
- rc = zipfileDeflate(tls, aData, nData, bp+136 /* &aFree */, bp+144 /* &nOut */, bp+152 /* &zErr */)
+ *(*int32)(unsafe.Pointer(bp + 120 /* nOut */)) = 0
+ rc = zipfileDeflate(tls, aData, nData, bp+112 /* &aFree */, bp+120 /* &nOut */, bp+128 /* &zErr */)
if !(rc != SQLITE_OK) {
goto __12
}
goto zipfile_step_out
__12:
;
- if !((iMethod == 8) || (*(*int32)(unsafe.Pointer(bp + 144 /* nOut */)) < nData)) {
+ if !((iMethod == 8) || (*(*int32)(unsafe.Pointer(bp + 120 /* nOut */)) < nData)) {
goto __13
}
- aData = *(*uintptr)(unsafe.Pointer(bp + 136 /* aFree */))
- nData = *(*int32)(unsafe.Pointer(bp + 144 /* nOut */))
+ aData = *(*uintptr)(unsafe.Pointer(bp + 112 /* aFree */))
+ nData = *(*int32)(unsafe.Pointer(bp + 120 /* nOut */))
iMethod = 8
goto __14
__13:
@@ -35220,7 +35357,7 @@ __10:
;
// Decode the "mode" argument.
- rc = zipfileGetMode(tls, pMode, bIsDir, bp+160 /* &mode */, bp+152 /* &zErr */)
+ rc = zipfileGetMode(tls, pMode, bIsDir, bp+136 /* &mode */, bp+128 /* &zErr */)
if !(rc != 0) {
goto __15
}
@@ -35240,7 +35377,7 @@ __15:
if !((nName > 0) && (int32(*(*int8)(unsafe.Pointer(zName + uintptr((nName - 1))))) == '/')) {
goto __18
}
- *(*uintptr)(unsafe.Pointer(bp + 152 /* zErr */)) = sqlite3.Xsqlite3_mprintf(tls, ts+10073 /* "non-directory na..." */, 0)
+ *(*uintptr)(unsafe.Pointer(bp + 128 /* zErr */)) = sqlite3.Xsqlite3_mprintf(tls, ts+10071 /* "non-directory na..." */, 0)
rc = SQLITE_ERROR
goto zipfile_step_out
__18:
@@ -35250,7 +35387,7 @@ __16:
if !((nName == 0) || (int32(*(*int8)(unsafe.Pointer(zName + uintptr((nName - 1))))) != '/')) {
goto __19
}
- zName = libc.AssignUintptr(&zFree, sqlite3.Xsqlite3_mprintf(tls, ts+9576 /* "%s/" */, libc.VaList(bp+8, zName)))
+ zName = libc.AssignUintptr(&zFree, sqlite3.Xsqlite3_mprintf(tls, ts+9574 /* "%s/" */, libc.VaList(bp+8, zName)))
if !(zName == uintptr(0)) {
goto __21
}
@@ -35281,10 +35418,10 @@ __17:
(*ZipfileEntry)(unsafe.Pointer(bp + 16 /* &e */)).Fcds.FiCompression = u16(iMethod)
zipfileMtimeToDos(tls, (bp + 16 /* &e */ /* &.cds */), (*ZipfileEntry)(unsafe.Pointer(bp+16 /* &e */)).FmUnixTime)
(*ZipfileEntry)(unsafe.Pointer(bp + 16 /* &e */)).Fcds.Fcrc32 = iCrc32
- (*ZipfileEntry)(unsafe.Pointer(bp + 16 /* &e */)).Fcds.FszCompressed = u321(nData)
- (*ZipfileEntry)(unsafe.Pointer(bp + 16 /* &e */)).Fcds.FszUncompressed = u321(szUncompressed)
- (*ZipfileEntry)(unsafe.Pointer(bp + 16 /* &e */)).Fcds.FiExternalAttr = (*(*u321)(unsafe.Pointer(bp + 160 /* mode */)) << 16)
- (*ZipfileEntry)(unsafe.Pointer(bp + 16 /* &e */)).Fcds.FiOffset = u321((*ZipfileCtx)(unsafe.Pointer(p)).Fbody.Fn)
+ (*ZipfileEntry)(unsafe.Pointer(bp + 16 /* &e */)).Fcds.FszCompressed = u32(nData)
+ (*ZipfileEntry)(unsafe.Pointer(bp + 16 /* &e */)).Fcds.FszUncompressed = u32(szUncompressed)
+ (*ZipfileEntry)(unsafe.Pointer(bp + 16 /* &e */)).Fcds.FiExternalAttr = (*(*u32)(unsafe.Pointer(bp + 136 /* mode */)) << 16)
+ (*ZipfileEntry)(unsafe.Pointer(bp + 16 /* &e */)).Fcds.FiOffset = u32((*ZipfileCtx)(unsafe.Pointer(p)).Fbody.Fn)
(*ZipfileEntry)(unsafe.Pointer(bp + 16 /* &e */)).Fcds.FnFile = u16(nName)
(*ZipfileEntry)(unsafe.Pointer(bp + 16 /* &e */)).Fcds.FzFile = zName
@@ -35327,15 +35464,15 @@ __27:
(*ZipfileCtx)(unsafe.Pointer(p)).FnEntry++
zipfile_step_out:
- sqlite3.Xsqlite3_free(tls, *(*uintptr)(unsafe.Pointer(bp + 136 /* aFree */)))
+ sqlite3.Xsqlite3_free(tls, *(*uintptr)(unsafe.Pointer(bp + 112 /* aFree */)))
sqlite3.Xsqlite3_free(tls, zFree)
if !(rc != 0) {
goto __28
}
- if !(*(*uintptr)(unsafe.Pointer(bp + 152 /* zErr */)) != 0) {
+ if !(*(*uintptr)(unsafe.Pointer(bp + 128 /* zErr */)) != 0) {
goto __29
}
- sqlite3.Xsqlite3_result_error(tls, pCtx, *(*uintptr)(unsafe.Pointer(bp + 152 /* zErr */)), -1)
+ sqlite3.Xsqlite3_result_error(tls, pCtx, *(*uintptr)(unsafe.Pointer(bp + 128 /* zErr */)), -1)
goto __30
__29:
sqlite3.Xsqlite3_result_error_code(tls, pCtx, rc)
@@ -35343,16 +35480,16 @@ __30:
;
__28:
;
- sqlite3.Xsqlite3_free(tls, *(*uintptr)(unsafe.Pointer(bp + 152 /* zErr */)))
+ sqlite3.Xsqlite3_free(tls, *(*uintptr)(unsafe.Pointer(bp + 128 /* zErr */)))
}
// xFinalize() callback for zipfile aggregate function.
-func zipfileFinal(tls *libc.TLS, pCtx uintptr) { /* zipfile.c:2107:6: */
- bp := tls.Alloc(24)
- defer tls.Free(24)
+func zipfileFinal(tls *libc.TLS, pCtx uintptr) { /* zipfile.c:2112:6: */
+ bp := tls.Alloc(16)
+ defer tls.Free(16)
var p uintptr
- // var eocd ZipfileEOCD at bp, 24
+ // var eocd ZipfileEOCD at bp, 16
var nZip sqlite3_int64
var aZip uintptr
@@ -35365,8 +35502,8 @@ func zipfileFinal(tls *libc.TLS, pCtx uintptr) { /* zipfile.c:2107:6: */
libc.Xmemset(tls, bp /* &eocd */, 0, uint64(unsafe.Sizeof(ZipfileEOCD{})))
(*ZipfileEOCD)(unsafe.Pointer(bp /* &eocd */)).FnEntry = u16((*ZipfileCtx)(unsafe.Pointer(p)).FnEntry)
(*ZipfileEOCD)(unsafe.Pointer(bp /* &eocd */)).FnEntryTotal = u16((*ZipfileCtx)(unsafe.Pointer(p)).FnEntry)
- (*ZipfileEOCD)(unsafe.Pointer(bp /* &eocd */)).FnSize = u321((*ZipfileCtx)(unsafe.Pointer(p)).Fcds.Fn)
- (*ZipfileEOCD)(unsafe.Pointer(bp /* &eocd */)).FiOffset = u321((*ZipfileCtx)(unsafe.Pointer(p)).Fbody.Fn)
+ (*ZipfileEOCD)(unsafe.Pointer(bp /* &eocd */)).FnSize = u32((*ZipfileCtx)(unsafe.Pointer(p)).Fcds.Fn)
+ (*ZipfileEOCD)(unsafe.Pointer(bp /* &eocd */)).FiOffset = u32((*ZipfileCtx)(unsafe.Pointer(p)).Fbody.Fn)
nZip = (sqlite3_int64(((*ZipfileCtx)(unsafe.Pointer(p)).Fbody.Fn + (*ZipfileCtx)(unsafe.Pointer(p)).Fcds.Fn) + ZIPFILE_EOCD_FIXED_SZ))
aZip = sqlite3.Xsqlite3_malloc64(tls, uint64(nZip))
@@ -35385,18 +35522,19 @@ func zipfileFinal(tls *libc.TLS, pCtx uintptr) { /* zipfile.c:2107:6: */
}
// Register the "zipfile" virtual table.
-func zipfileRegister(tls *libc.TLS, db uintptr) int32 { /* zipfile.c:2142:12: */
+func zipfileRegister(tls *libc.TLS, db uintptr) int32 { /* zipfile.c:2147:12: */
- var rc int32 = sqlite3.Xsqlite3_create_module(tls, db, ts+9014 /* "zipfile" */, uintptr(unsafe.Pointer(&zipfileModule)), uintptr(0))
+ var rc int32 = sqlite3.Xsqlite3_create_module(tls, db, ts+9012 /* "zipfile" */, uintptr(unsafe.Pointer(&zipfileModule)), uintptr(0))
if rc == SQLITE_OK {
- rc = sqlite3.Xsqlite3_overload_function(tls, db, ts+9943 /* "zipfile_cds" */, -1)
+ rc = sqlite3.Xsqlite3_overload_function(tls, db, ts+9941 /* "zipfile_cds" */, -1)
}
if rc == SQLITE_OK {
- rc = sqlite3.Xsqlite3_create_function(tls, db, ts+9014 /* "zipfile" */, -1, SQLITE_UTF8, uintptr(0), uintptr(0),
+ rc = sqlite3.Xsqlite3_create_function(tls, db, ts+9012 /* "zipfile" */, -1, SQLITE_UTF8, uintptr(0), uintptr(0),
*(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, int32, uintptr)
}{zipfileStep})), *(*uintptr)(unsafe.Pointer(&struct{ f func(*libc.TLS, uintptr) }{zipfileFinal})))
}
+
return rc
}
@@ -35418,9 +35556,9 @@ var zipfileModule = sqlite3_module{
FxCommit: 0, // xCommit
FxRollback: 0, // xRollback
FxFindFunction: 0, // xRename
-} /* zipfile.c:2143:25 */
+} /* zipfile.c:2148:25 */
-func sqlite3_zipfile_init(tls *libc.TLS, db uintptr, pzErrMsg uintptr, pApi uintptr) int32 { /* zipfile.c:2182:5: */
+func sqlite3_zipfile_init(tls *libc.TLS, db uintptr, pzErrMsg uintptr, pApi uintptr) int32 { /* zipfile.c:2191:5: */
_ = pApi
_ = pzErrMsg // Unused parameter
@@ -35434,7 +35572,7 @@ func test_rbu_delta(tls *libc.TLS, pCtx uintptr, nArg int32, apVal uintptr) { /*
pScript = tcl.XTcl_NewObj(tls)
(*Tcl_Obj)(unsafe.Pointer(pScript)).FrefCount++
- tcl.XTcl_ListObjAppendElement(tls, uintptr(0), pScript, tcl.XTcl_NewStringObj(tls, ts+10112 /* "rbu_delta" */, -1))
+ tcl.XTcl_ListObjAppendElement(tls, uintptr(0), pScript, tcl.XTcl_NewStringObj(tls, ts+10110 /* "rbu_delta" */, -1))
for i = 0; i < nArg; i++ {
var pIn uintptr = *(*uintptr)(unsafe.Pointer(apVal + uintptr(i)*8))
var z uintptr = sqlite3.Xsqlite3_value_text(tls, pIn)
@@ -35463,29 +35601,29 @@ func test_sqlite3rbu_cmd(tls *libc.TLS, clientData ClientData, interp uintptr, o
var ret int32 = TCL_OK
var pRbu uintptr = clientData
*(*[14]RbuCmd)(unsafe.Pointer(bp + 24 /* aCmd */)) = [14]RbuCmd{
- {FzName: ts + 10122 /* "step" */, FnArg: 2, FzUsage: ts + 489 /* "" */}, // 0
- {FzName: ts + 10127 /* "close" */, FnArg: 2, FzUsage: ts + 489 /* "" */}, // 1
- {FzName: ts + 10133 /* "create_rbu_delta" */, FnArg: 2, FzUsage: ts + 489 /* "" */}, // 2
- {FzName: ts + 10150 /* "savestate" */, FnArg: 2, FzUsage: ts + 489 /* "" */}, // 3
- {FzName: ts + 10160 /* "dbMain_eval" */, FnArg: 3, FzUsage: ts + 10172 /* "SQL" */}, // 4
- {FzName: ts + 10176 /* "bp_progress" */, FnArg: 2, FzUsage: ts + 489 /* "" */}, // 5
- {FzName: ts + 10188 /* "db" */, FnArg: 3, FzUsage: ts + 10191 /* "RBU" */}, // 6
- {FzName: ts + 10195 /* "state" */, FnArg: 2, FzUsage: ts + 489 /* "" */}, // 7
- {FzName: ts + 10201 /* "progress" */, FnArg: 2, FzUsage: ts + 489 /* "" */}, // 8
- {FzName: ts + 10210 /* "close_no_error" */, FnArg: 2, FzUsage: ts + 489 /* "" */}, // 9
- {FzName: ts + 10225 /* "temp_size_limit" */, FnArg: 3, FzUsage: ts + 10241 /* "LIMIT" */}, // 10
- {FzName: ts + 10247 /* "temp_size" */, FnArg: 2, FzUsage: ts + 489 /* "" */}, // 11
- {FzName: ts + 10257 /* "dbRbu_eval" */, FnArg: 3, FzUsage: ts + 10172 /* "SQL" */}, // 12
+ {FzName: ts + 10120 /* "step" */, FnArg: 2, FzUsage: ts + 489 /* "" */}, // 0
+ {FzName: ts + 10125 /* "close" */, FnArg: 2, FzUsage: ts + 489 /* "" */}, // 1
+ {FzName: ts + 10131 /* "create_rbu_delta" */, FnArg: 2, FzUsage: ts + 489 /* "" */}, // 2
+ {FzName: ts + 10148 /* "savestate" */, FnArg: 2, FzUsage: ts + 489 /* "" */}, // 3
+ {FzName: ts + 10158 /* "dbMain_eval" */, FnArg: 3, FzUsage: ts + 10170 /* "SQL" */}, // 4
+ {FzName: ts + 10174 /* "bp_progress" */, FnArg: 2, FzUsage: ts + 489 /* "" */}, // 5
+ {FzName: ts + 10186 /* "db" */, FnArg: 3, FzUsage: ts + 10189 /* "RBU" */}, // 6
+ {FzName: ts + 10193 /* "state" */, FnArg: 2, FzUsage: ts + 489 /* "" */}, // 7
+ {FzName: ts + 10199 /* "progress" */, FnArg: 2, FzUsage: ts + 489 /* "" */}, // 8
+ {FzName: ts + 10208 /* "close_no_error" */, FnArg: 2, FzUsage: ts + 489 /* "" */}, // 9
+ {FzName: ts + 10223 /* "temp_size_limit" */, FnArg: 3, FzUsage: ts + 10239 /* "LIMIT" */}, // 10
+ {FzName: ts + 10245 /* "temp_size" */, FnArg: 2, FzUsage: ts + 489 /* "" */}, // 11
+ {FzName: ts + 10255 /* "dbRbu_eval" */, FnArg: 3, FzUsage: ts + 10170 /* "SQL" */}, // 12
{},
}
// var iCmd int32 at bp+360, 4
if objc < 2 {
- tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+10268 /* "METHOD" */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+10266 /* "METHOD" */)
return TCL_ERROR
}
ret = tcl.XTcl_GetIndexFromObjStruct(tls,
- interp, *(*uintptr)(unsafe.Pointer(objv + 1*8)), bp+24 /* &aCmd[0] */, int32(unsafe.Sizeof(RbuCmd{})), ts+10275 /* "method" */, 0, bp+360 /* &iCmd */)
+ interp, *(*uintptr)(unsafe.Pointer(objv + 1*8)), bp+24 /* &aCmd[0] */, int32(unsafe.Sizeof(RbuCmd{})), ts+10273 /* "method" */, 0, bp+360 /* &iCmd */)
if ret != 0 {
return TCL_ERROR
}
@@ -35521,7 +35659,7 @@ func test_sqlite3rbu_cmd(tls *libc.TLS, clientData ClientData, interp uintptr, o
} else {
tcl.XTcl_SetObjResult(tls, interp, tcl.XTcl_NewStringObj(tls, sqlite3.Xsqlite3ErrName(tls, rc), -1))
if *(*uintptr)(unsafe.Pointer(bp + 368 /* zErrmsg */)) != 0 {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+10282 /* " - " */, *(*uintptr)(unsafe.Pointer(bp + 368 /* zErrmsg */)), 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+10280 /* " - " */, *(*uintptr)(unsafe.Pointer(bp + 368 /* zErrmsg */)), 0))
sqlite3.Xsqlite3_free(tls, *(*uintptr)(unsafe.Pointer(bp + 368 /* zErrmsg */)))
}
ret = TCL_ERROR
@@ -35534,7 +35672,7 @@ func test_sqlite3rbu_cmd(tls *libc.TLS, clientData ClientData, interp uintptr, o
{
var db uintptr = sqlite3.Xsqlite3rbu_db(tls, pRbu, 0)
var rc int32 = sqlite3.Xsqlite3_create_function(tls,
- db, ts+10112 /* "rbu_delta" */, -1, SQLITE_UTF8, interp, *(*uintptr)(unsafe.Pointer(&struct {
+ db, ts+10110 /* "rbu_delta" */, -1, SQLITE_UTF8, interp, *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, int32, uintptr)
}{test_rbu_delta})), uintptr(0), uintptr(0))
tcl.XTcl_SetObjResult(tls, interp, tcl.XTcl_NewStringObj(tls, sqlite3.Xsqlite3ErrName(tls, rc), -1))
@@ -35614,7 +35752,7 @@ func test_sqlite3rbu_cmd(tls *libc.TLS, clientData ClientData, interp uintptr, o
}
case 7: /* state */
{
- *(*[6]uintptr)(unsafe.Pointer(bp + 440 /* aRes */)) = [6]uintptr{uintptr(0), ts + 10286 /* "oal" */, ts + 10290 /* "move" */, ts + 10295 /* "checkpoint" */, ts + 10306 /* "done" */, ts + 10311 /* "error" */}
+ *(*[6]uintptr)(unsafe.Pointer(bp + 440 /* aRes */)) = [6]uintptr{uintptr(0), ts + 10284 /* "oal" */, ts + 10288 /* "move" */, ts + 10293 /* "checkpoint" */, ts + 10304 /* "done" */, ts + 10309 /* "error" */}
var eState int32 = sqlite3.Xsqlite3rbu_state(tls, pRbu)
tcl.XTcl_SetResult(tls, interp, *(*uintptr)(unsafe.Pointer(bp + 440 /* &aRes[0] */ + uintptr(eState)*8)), uintptr(0))
@@ -35674,7 +35812,7 @@ func test_sqlite3rbu(tls *libc.TLS, clientData ClientData, interp uintptr, objc
var zStateDb uintptr = uintptr(0)
if (objc != 4) && (objc != 5) {
- tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+10317 /* "NAME TARGET-DB R..." */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+10315 /* "NAME TARGET-DB R..." */)
return TCL_ERROR
}
zCmd = tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 1*8)))
@@ -35700,7 +35838,7 @@ func test_sqlite3rbu_vacuum(tls *libc.TLS, clientData ClientData, interp uintptr
var zStateDb uintptr = uintptr(0)
if (objc != 3) && (objc != 4) {
- tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+10350 /* "NAME TARGET-DB ?..." */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+10348 /* "NAME TARGET-DB ?..." */)
return TCL_ERROR
}
zCmd = tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 1*8)))
@@ -35727,7 +35865,7 @@ func test_sqlite3rbu_create_vfs(tls *libc.TLS, clientData ClientData, interp uin
var rc int32
if (objc != 3) && (objc != 4) {
- tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+10376 /* "?-default? NAME ..." */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+10374 /* "?-default? NAME ..." */)
return TCL_ERROR
}
@@ -35755,7 +35893,7 @@ func test_sqlite3rbu_destroy_vfs(tls *libc.TLS, clientData ClientData, interp ui
var zName uintptr
if objc != 2 {
- tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+10399 /* "NAME" */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+10397 /* "NAME" */)
return TCL_ERROR
}
@@ -35778,7 +35916,7 @@ func test_sqlite3rbu_internal_test(tls *libc.TLS, clientData ClientData, interp
db = sqlite3.Xsqlite3rbu_db(tls, uintptr(0), 0)
if db != uintptr(0) {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+10404 /* "sqlite3rbu_db(0,..." */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+10402 /* "sqlite3rbu_db(0,..." */, 0))
return TCL_ERROR
}
@@ -35800,13 +35938,1565 @@ var aObjCmd = [5]struct {
FzName uintptr
FxProc uintptr
}{
- {FzName: ts + 10427 /* "sqlite3rbu" */, FxProc: 0},
- {FzName: ts + 10438 /* "sqlite3rbu_vacuu..." */, FxProc: 0},
- {FzName: ts + 10456 /* "sqlite3rbu_creat..." */, FxProc: 0},
- {FzName: ts + 10478 /* "sqlite3rbu_destr..." */, FxProc: 0},
- {FzName: ts + 10501 /* "sqlite3rbu_inter..." */, FxProc: 0},
+ {FzName: ts + 10425 /* "sqlite3rbu" */, FxProc: 0},
+ {FzName: ts + 10436 /* "sqlite3rbu_vacuu..." */, FxProc: 0},
+ {FzName: ts + 10454 /* "sqlite3rbu_creat..." */, FxProc: 0},
+ {FzName: ts + 10476 /* "sqlite3rbu_destr..." */, FxProc: 0},
+ {FzName: ts + 10499 /* "sqlite3rbu_inter..." */, FxProc: 0},
} /* test_rbu.c:369:5 */
+type TestSession1 = struct {
+ FpSession uintptr
+ Finterp uintptr
+ FpFilterScript uintptr
+} /* test_session.c:21:9 */
+
+type TestSession = TestSession1 /* test_session.c:21:28 */
+
+type TestStreamInput1 = struct {
+ FnStream int32
+ _ [4]byte
+ FaData uintptr
+ FnData int32
+ FiData int32
+} /* test_session.c:28:9 */
+
+type TestStreamInput = TestStreamInput1 /* test_session.c:28:32 */
+
+// Extract an sqlite3* db handle from the object passed as the second
+// argument. If successful, set *pDb to point to the db handle and return
+// TCL_OK. Otherwise, return TCL_ERROR.
+func dbHandleFromObj1(tls *libc.TLS, interp uintptr, pObj uintptr, pDb uintptr) int32 { /* test_session.c:41:12: */
+ bp := tls.Alloc(88)
+ defer tls.Free(88)
+
+ // var info Tcl_CmdInfo at bp+24, 64
+
+ if 0 == tcl.XTcl_GetCommandInfo(tls, interp, tcl.XTcl_GetString(tls, pObj), bp+24 /* &info */) {
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+1791 /* "no such handle: " */, tcl.XTcl_GetString(tls, pObj), 0))
+ return TCL_ERROR
+ }
+
+ *(*uintptr)(unsafe.Pointer(pDb)) = *(*uintptr)(unsafe.Pointer((*Tcl_CmdInfo)(unsafe.Pointer(bp + 24 /* &info */)).FobjClientData))
+ return TCL_OK
+}
+
+/*************************************************************************
+** The following code is copied byte-for-byte from the sessions module
+** documentation. It is used by some of the sessions modules tests to
+** ensure that the example in the documentation does actually work.
+ */
+// Argument zSql points to a buffer containing an SQL script to execute
+// against the database handle passed as the first argument. As well as
+// executing the SQL script, this function collects a changeset recording
+// all changes made to the "main" database file. Assuming no error occurs,
+// output variables (*ppChangeset) and (*pnChangeset) are set to point
+// to a buffer containing the changeset and the size of the changeset in
+// bytes before returning SQLITE_OK. In this case it is the responsibility
+// of the caller to eventually free the changeset blob by passing it to
+// the sqlite3_free function.
+//
+// Or, if an error does occur, return an SQLite error code. The final
+// value of (*pChangeset) and (*pnChangeset) are undefined in this case.
+func sql_exec_changeset(tls *libc.TLS, db uintptr, zSql uintptr, pnChangeset uintptr, ppChangeset uintptr) int32 { /* test_session.c:71:5: */
+ bp := tls.Alloc(8)
+ defer tls.Free(8)
+
+ *(*uintptr)(unsafe.Pointer(bp /* pSession */)) = uintptr(0)
+ var rc int32
+
+ // Create a new session object
+ rc = sqlite3.Xsqlite3session_create(tls, db, ts+85 /* "main" */, bp /* &pSession */)
+
+ // Configure the session object to record changes to all tables
+ if rc == SQLITE_OK {
+ rc = sqlite3.Xsqlite3session_attach(tls, *(*uintptr)(unsafe.Pointer(bp /* pSession */)), uintptr(0))
+ }
+
+ // Execute the SQL script
+ if rc == SQLITE_OK {
+ rc = sqlite3.Xsqlite3_exec(tls, db, zSql, uintptr(0), uintptr(0), uintptr(0))
+ }
+
+ // Collect the changeset
+ if rc == SQLITE_OK {
+ rc = sqlite3.Xsqlite3session_changeset(tls, *(*uintptr)(unsafe.Pointer(bp /* pSession */)), pnChangeset, ppChangeset)
+ }
+
+ // Delete the session object
+ sqlite3.Xsqlite3session_delete(tls, *(*uintptr)(unsafe.Pointer(bp /* pSession */)))
+
+ return rc
+}
+
+//**********************************************************************
+
+// Tclcmd: sql_exec_changeset DB SQL
+func test_sql_exec_changeset(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* test_session.c:104:26: */
+ bp := tls.Alloc(40)
+ defer tls.Free(40)
+
+ var zSql uintptr
+ // var db uintptr at bp+16, 8
+
+ // var pChangeset uintptr at bp+32, 8
+
+ // var nChangeset int32 at bp+24, 4
+
+ var rc int32
+
+ if objc != 3 {
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+10524 /* "DB SQL" */)
+ return TCL_ERROR
+ }
+ if dbHandleFromObj1(tls, interp, *(*uintptr)(unsafe.Pointer(objv + 1*8)), bp+16 /* &db */) != 0 {
+ return TCL_ERROR
+ }
+ zSql = tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 2*8)))
+
+ rc = sql_exec_changeset(tls, *(*uintptr)(unsafe.Pointer(bp + 16 /* db */)), zSql, bp+24 /* &nChangeset */, bp+32 /* &pChangeset */)
+ if rc != SQLITE_OK {
+ tcl.XTcl_ResetResult(tls, interp)
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+10531 /* "error in sql_exe..." */, 0))
+ return TCL_ERROR
+ }
+
+ tcl.XTcl_SetObjResult(tls, interp, tcl.XTcl_NewByteArrayObj(tls, *(*uintptr)(unsafe.Pointer(bp + 32 /* pChangeset */)), *(*int32)(unsafe.Pointer(bp + 24 /* nChangeset */))))
+ sqlite3.Xsqlite3_free(tls, *(*uintptr)(unsafe.Pointer(bp + 32 /* pChangeset */)))
+ return TCL_OK
+}
+
+// Attempt to find the global variable zVar within interpreter interp
+// and extract an integer value from it. Return this value.
+//
+// If the named variable cannot be found, or if it cannot be interpreted
+// as a integer, return 0.
+func test_tcl_integer(tls *libc.TLS, interp uintptr, zVar uintptr) int32 { /* test_session.c:146:12: */
+ bp := tls.Alloc(4)
+ defer tls.Free(4)
+
+ var pObj uintptr
+ *(*int32)(unsafe.Pointer(bp /* iVal */)) = 0
+ var pName uintptr = tcl.XTcl_NewStringObj(tls, zVar, -1)
+ (*Tcl_Obj)(unsafe.Pointer(pName)).FrefCount++
+ pObj = tcl.XTcl_ObjGetVar2(tls, interp, pName, uintptr(0), TCL_GLOBAL_ONLY)
+ for ok := true; ok; ok = 0 != 0 {
+ var _objPtr uintptr = pName
+ if libc.PostDecInt32(&(*Tcl_Obj)(unsafe.Pointer((_objPtr))).FrefCount, 1) <= 1 {
+ tcl.XTclFreeObj(tls, _objPtr)
+ }
+ }
+ if pObj != 0 {
+ tcl.XTcl_GetIntFromObj(tls, uintptr(0), pObj, bp /* &iVal */)
+ }
+ return *(*int32)(unsafe.Pointer(bp /* iVal */))
+}
+
+func test_session_error(tls *libc.TLS, interp uintptr, rc int32, zErr uintptr) int32 { /* test_session.c:157:12: */
+ bp := tls.Alloc(24)
+ defer tls.Free(24)
+
+ tcl.XTcl_SetObjResult(tls, interp, tcl.XTcl_NewStringObj(tls, sqlite3.Xsqlite3ErrName(tls, rc), -1))
+ if zErr != 0 {
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+10280 /* " - " */, zErr, 0))
+ sqlite3.Xsqlite3_free(tls, zErr)
+ }
+ return TCL_ERROR
+}
+
+func test_table_filter(tls *libc.TLS, pCtx uintptr, zTbl uintptr) int32 { /* test_session.c:167:12: */
+ bp := tls.Alloc(4)
+ defer tls.Free(4)
+
+ var p uintptr = pCtx
+ var pEval uintptr
+ var rc int32
+ *(*int32)(unsafe.Pointer(bp /* bRes */)) = 0
+
+ pEval = tcl.XTcl_DuplicateObj(tls, (*TestSession)(unsafe.Pointer(p)).FpFilterScript)
+ (*Tcl_Obj)(unsafe.Pointer(pEval)).FrefCount++
+ rc = tcl.XTcl_ListObjAppendElement(tls, (*TestSession)(unsafe.Pointer(p)).Finterp, pEval, tcl.XTcl_NewStringObj(tls, zTbl, -1))
+ if rc == TCL_OK {
+ rc = tcl.XTcl_EvalObjEx(tls, (*TestSession)(unsafe.Pointer(p)).Finterp, pEval, TCL_EVAL_GLOBAL)
+ }
+ if rc == TCL_OK {
+ rc = tcl.XTcl_GetBooleanFromObj(tls, (*TestSession)(unsafe.Pointer(p)).Finterp, tcl.XTcl_GetObjResult(tls, (*TestSession)(unsafe.Pointer(p)).Finterp), bp /* &bRes */)
+ }
+ if rc != TCL_OK {
+ // printf("error: %s\n", Tcl_GetStringResult(p->interp));
+ tcl.XTcl_BackgroundError(tls, (*TestSession)(unsafe.Pointer(p)).Finterp)
+ }
+ for ok := true; ok; ok = 0 != 0 {
+ var _objPtr uintptr = pEval
+ if libc.PostDecInt32(&(*Tcl_Obj)(unsafe.Pointer((_objPtr))).FrefCount, 1) <= 1 {
+ tcl.XTclFreeObj(tls, _objPtr)
+ }
+ }
+
+ return *(*int32)(unsafe.Pointer(bp /* bRes */))
+}
+
+type TestSessionsBlob1 = struct {
+ Fp uintptr
+ Fn int32
+ _ [4]byte
+} /* test_session.c:191:1 */
+
+type TestSessionsBlob = TestSessionsBlob1 /* test_session.c:195:33 */
+
+func testStreamOutput(tls *libc.TLS, pCtx uintptr, pData uintptr, nData int32) int32 { /* test_session.c:197:12: */
+ var pBlob uintptr = pCtx
+ var pNew uintptr
+
+ pNew = sqlite3.Xsqlite3_realloc(tls, (*TestSessionsBlob)(unsafe.Pointer(pBlob)).Fp, ((*TestSessionsBlob)(unsafe.Pointer(pBlob)).Fn + nData))
+ if pNew == uintptr(0) {
+ return SQLITE_NOMEM
+ }
+ (*TestSessionsBlob)(unsafe.Pointer(pBlob)).Fp = pNew
+ libc.Xmemcpy(tls, (pNew + uintptr((*TestSessionsBlob)(unsafe.Pointer(pBlob)).Fn)), pData, uint64(nData))
+ *(*int32)(unsafe.Pointer(pBlob + 8 /* &.n */)) += (nData)
+ return SQLITE_OK
+}
+
+// Tclcmd: $session attach TABLE
+// $session changeset
+// $session delete
+// $session enable BOOL
+// $session indirect INTEGER
+// $session patchset
+// $session table_filter SCRIPT
+func test_session_cmd(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* test_session.c:225:26: */
+ bp := tls.Alloc(44)
+ defer tls.Free(44)
+
+ var p uintptr = clientData
+ var pSession uintptr = (*TestSession)(unsafe.Pointer(p)).FpSession
+ // var iSub int32 at bp, 4
+
+ var rc int32
+
+ if objc < 2 {
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+1860 /* "SUBCOMMAND ..." */)
+ return TCL_ERROR
+ }
+ rc = tcl.XTcl_GetIndexFromObjStruct(tls, interp,
+ *(*uintptr)(unsafe.Pointer(objv + 1*8)), uintptr(unsafe.Pointer(&aSub)), int32(unsafe.Sizeof(SessionSubcmd{})), ts+1875 /* "sub-command" */, 0, bp /* &iSub */)
+ if rc != TCL_OK {
+ return rc
+ }
+ if objc != (2 + aSub[*(*int32)(unsafe.Pointer(bp /* iSub */))].FnArg) {
+ tcl.XTcl_WrongNumArgs(tls, interp, 2, objv, aSub[*(*int32)(unsafe.Pointer(bp /* iSub */))].FzMsg)
+ return TCL_ERROR
+ }
+
+ switch *(*int32)(unsafe.Pointer(bp /* iSub */)) {
+ case 0:
+ { // attach
+ var zArg uintptr = tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 2*8)))
+ if (int32(*(*int8)(unsafe.Pointer(zArg))) == '*') && (int32(*(*int8)(unsafe.Pointer(zArg + 1))) == 0) {
+ zArg = uintptr(0)
+ }
+ rc = sqlite3.Xsqlite3session_attach(tls, pSession, zArg)
+ if rc != SQLITE_OK {
+ return test_session_error(tls, interp, rc, uintptr(0))
+ }
+ break
+
+ }
+
+ case 7:
+ fallthrough // patchset
+ case 1:
+ { // changeset
+ *(*TestSessionsBlob)(unsafe.Pointer(bp + 8 /* o */)) = TestSessionsBlob{}
+ if test_tcl_integer(tls, interp, ts+10561 /* "sqlite3session_s..." */) != 0 {
+ var pCtx uintptr = bp + 8 /* &o */
+ if *(*int32)(unsafe.Pointer(bp /* iSub */)) == 7 {
+ rc = sqlite3.Xsqlite3session_patchset_strm(tls, pSession, *(*uintptr)(unsafe.Pointer(&struct {
+ f func(*libc.TLS, uintptr, uintptr, int32) int32
+ }{testStreamOutput})), pCtx)
+ } else {
+ rc = sqlite3.Xsqlite3session_changeset_strm(tls, pSession, *(*uintptr)(unsafe.Pointer(&struct {
+ f func(*libc.TLS, uintptr, uintptr, int32) int32
+ }{testStreamOutput})), pCtx)
+ }
+ } else {
+ if *(*int32)(unsafe.Pointer(bp /* iSub */)) == 7 {
+ rc = sqlite3.Xsqlite3session_patchset(tls, pSession, (bp + 8 /* &o */ + 8 /* &.n */), (bp + 8 /* &o */ /* &.p */))
+ } else {
+ rc = sqlite3.Xsqlite3session_changeset(tls, pSession, (bp + 8 /* &o */ + 8 /* &.n */), (bp + 8 /* &o */ /* &.p */))
+ }
+ }
+ if rc == SQLITE_OK {
+ tcl.XTcl_SetObjResult(tls, interp, tcl.XTcl_NewByteArrayObj(tls, (*TestSessionsBlob)(unsafe.Pointer(bp+8 /* &o */)).Fp, (*TestSessionsBlob)(unsafe.Pointer(bp+8 /* &o */)).Fn))
+ }
+ sqlite3.Xsqlite3_free(tls, (*TestSessionsBlob)(unsafe.Pointer(bp+8 /* &o */)).Fp)
+ if rc != SQLITE_OK {
+ return test_session_error(tls, interp, rc, uintptr(0))
+ }
+ break
+
+ }
+
+ case 2: // delete
+ tcl.XTcl_DeleteCommand(tls, interp, tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv))))
+ break
+
+ case 3:
+ { // enable
+ // var val int32 at bp+24, 4
+
+ if tcl.XTcl_GetIntFromObj(tls, interp, *(*uintptr)(unsafe.Pointer(objv + 2*8)), bp+24 /* &val */) != 0 {
+ return TCL_ERROR
+ }
+ *(*int32)(unsafe.Pointer(bp + 24 /* val */)) = sqlite3.Xsqlite3session_enable(tls, pSession, *(*int32)(unsafe.Pointer(bp + 24 /* val */)))
+ tcl.XTcl_SetObjResult(tls, interp, tcl.XTcl_NewIntObj(tls, (libc.Bool32((*(*int32)(unsafe.Pointer(bp + 24 /* val */))) != 0))))
+ break
+
+ }
+
+ case 4:
+ { // indirect
+ // var val int32 at bp+28, 4
+
+ if tcl.XTcl_GetIntFromObj(tls, interp, *(*uintptr)(unsafe.Pointer(objv + 2*8)), bp+28 /* &val */) != 0 {
+ return TCL_ERROR
+ }
+ *(*int32)(unsafe.Pointer(bp + 28 /* val */)) = sqlite3.Xsqlite3session_indirect(tls, pSession, *(*int32)(unsafe.Pointer(bp + 28 /* val */)))
+ tcl.XTcl_SetObjResult(tls, interp, tcl.XTcl_NewIntObj(tls, (libc.Bool32((*(*int32)(unsafe.Pointer(bp + 28 /* val */))) != 0))))
+ break
+
+ }
+
+ case 5:
+ { // isempty
+ var val int32
+ val = sqlite3.Xsqlite3session_isempty(tls, pSession)
+ tcl.XTcl_SetObjResult(tls, interp, tcl.XTcl_NewIntObj(tls, (libc.Bool32((val) != 0))))
+ break
+
+ }
+
+ case 6:
+ { // table_filter
+ if (*TestSession)(unsafe.Pointer(p)).FpFilterScript != 0 {
+ for ok := true; ok; ok = 0 != 0 {
+ var _objPtr uintptr = (*TestSession)(unsafe.Pointer(p)).FpFilterScript
+ if libc.PostDecInt32(&(*Tcl_Obj)(unsafe.Pointer((_objPtr))).FrefCount, 1) <= 1 {
+ tcl.XTclFreeObj(tls, _objPtr)
+ }
+ }
+ }
+ (*TestSession)(unsafe.Pointer(p)).Finterp = interp
+ (*TestSession)(unsafe.Pointer(p)).FpFilterScript = tcl.XTcl_DuplicateObj(tls, *(*uintptr)(unsafe.Pointer(objv + 2*8)))
+ (*Tcl_Obj)(unsafe.Pointer((*TestSession)(unsafe.Pointer(p)).FpFilterScript)).FrefCount++
+ sqlite3.Xsqlite3session_table_filter(tls, pSession, *(*uintptr)(unsafe.Pointer(&struct {
+ f func(*libc.TLS, uintptr, uintptr) int32
+ }{test_table_filter})), clientData)
+ break
+
+ }
+
+ case 8:
+ { // diff
+ *(*uintptr)(unsafe.Pointer(bp + 32 /* zErr */)) = uintptr(0)
+ rc = sqlite3.Xsqlite3session_diff(tls, pSession,
+ tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 2*8))),
+ tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 3*8))),
+ bp+32 /* &zErr */)
+
+ if rc != 0 {
+ return test_session_error(tls, interp, rc, *(*uintptr)(unsafe.Pointer(bp + 32 /* zErr */)))
+ }
+ break
+
+ }
+
+ case 9:
+ { // memory_used
+ var nMalloc sqlite3_int64 = sqlite3.Xsqlite3session_memory_used(tls, pSession)
+ tcl.XTcl_SetObjResult(tls, interp, tcl.XTcl_NewWideIntObj(tls, nMalloc))
+ break
+
+ }
+
+ case 10:
+ {
+ var nSize sqlite3_int64 = sqlite3.Xsqlite3session_changeset_size(tls, pSession)
+ tcl.XTcl_SetObjResult(tls, interp, tcl.XTcl_NewWideIntObj(tls, nSize))
+ break
+
+ }
+ case 11:
+ {
+ var rc int32
+ // var iArg int32 at bp+40, 4
+
+ if tcl.XTcl_GetIntFromObj(tls, interp, *(*uintptr)(unsafe.Pointer(objv + 2*8)), bp+40 /* &iArg */) != 0 {
+ return TCL_ERROR
+ }
+ rc = sqlite3.Xsqlite3session_object_config(tls,
+ pSession, SQLITE_SESSION_OBJCONFIG_SIZE, bp+40 /* &iArg */)
+ if rc != SQLITE_OK {
+ tcl.XTcl_SetObjResult(tls, interp, tcl.XTcl_NewStringObj(tls, sqlite3.Xsqlite3ErrName(tls, rc), -1))
+ } else {
+ tcl.XTcl_SetObjResult(tls, interp, tcl.XTcl_NewIntObj(tls, *(*int32)(unsafe.Pointer(bp + 40 /* iArg */))))
+ }
+ break
+
+ }
+ }
+
+ return TCL_OK
+}
+
+type SessionSubcmd = struct {
+ FzSub uintptr
+ FnArg int32
+ _ [4]byte
+ FzMsg uintptr
+ FiSub int32
+ _ [4]byte
+} /* test_session.c:233:10 */
+
+var aSub = [13]SessionSubcmd{
+ {FzSub: ts + 10584 /* "attach" */, FnArg: 1, FzMsg: ts + 1812 /* "TABLE" */}, // 0
+ {FzSub: ts + 10591 /* "changeset" */, FzMsg: ts + 489 /* "" */}, // 1
+ {FzSub: ts + 10601 /* "delete" */, FzMsg: ts + 489 /* "" */}, // 2
+ {FzSub: ts + 10608 /* "enable" */, FnArg: 1, FzMsg: ts + 10615 /* "BOOL" */}, // 3
+ {FzSub: ts + 10620 /* "indirect" */, FnArg: 1, FzMsg: ts + 10615 /* "BOOL" */}, // 4
+ {FzSub: ts + 10629 /* "isempty" */, FzMsg: ts + 489 /* "" */}, // 5
+ {FzSub: ts + 10637 /* "table_filter" */, FnArg: 1, FzMsg: ts + 10650 /* "SCRIPT" */}, // 6
+ {FzSub: ts + 10657 /* "patchset" */, FzMsg: ts + 489 /* "" */}, // 7
+ {FzSub: ts + 10666 /* "diff" */, FnArg: 2, FzMsg: ts + 10671 /* "FROMDB TBL" */}, // 8
+ {FzSub: ts + 10682 /* "memory_used" */, FzMsg: ts + 489 /* "" */}, // 9
+ {FzSub: ts + 10694 /* "changeset_size" */, FzMsg: ts + 489 /* "" */}, // 10
+ {FzSub: ts + 10709 /* "object_config_si..." */, FnArg: 1, FzMsg: ts + 2274 /* "INTEGER" */}, // 11
+ {},
+} /* test_session.c:238:5 */
+
+func test_session_del(tls *libc.TLS, clientData uintptr) { /* test_session.c:390:27: */
+ var p uintptr = clientData
+ if (*TestSession)(unsafe.Pointer(p)).FpFilterScript != 0 {
+ for ok := true; ok; ok = 0 != 0 {
+ var _objPtr uintptr = (*TestSession)(unsafe.Pointer(p)).FpFilterScript
+ if libc.PostDecInt32(&(*Tcl_Obj)(unsafe.Pointer((_objPtr))).FrefCount, 1) <= 1 {
+ tcl.XTclFreeObj(tls, _objPtr)
+ }
+ }
+ }
+ sqlite3.Xsqlite3session_delete(tls, (*TestSession)(unsafe.Pointer(p)).FpSession)
+ tcl.XTcl_Free(tls, p)
+}
+
+// Tclcmd: sqlite3session CMD DB-HANDLE DB-NAME
+func test_sqlite3session(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* test_session.c:400:26: */
+ bp := tls.Alloc(92)
+ defer tls.Free(92)
+
+ var db uintptr
+ // var info Tcl_CmdInfo at bp+24, 64
+
+ var rc int32 // sqlite3session_create() return code
+ var p uintptr // New wrapper object
+ *(*int32)(unsafe.Pointer(bp + 88 /* iArg */)) = -1
+
+ if objc != 4 {
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+10728 /* "CMD DB-HANDLE DB..." */)
+ return TCL_ERROR
+ }
+
+ if 0 == tcl.XTcl_GetCommandInfo(tls, interp, tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 2*8))), bp+24 /* &info */) {
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+1791 /* "no such handle: " */, tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 2*8))), 0))
+ return TCL_ERROR
+ }
+ db = *(*uintptr)(unsafe.Pointer((*Tcl_CmdInfo)(unsafe.Pointer(bp + 24 /* &info */)).FobjClientData))
+
+ p = tcl.XTcl_Alloc(tls, uint32(unsafe.Sizeof(TestSession{})))
+ libc.Xmemset(tls, p, 0, uint64(unsafe.Sizeof(TestSession{})))
+ rc = sqlite3.Xsqlite3session_create(tls, db, tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 3*8))), (p /* &.pSession */))
+ if rc != SQLITE_OK {
+ tcl.XTcl_Free(tls, p)
+ return test_session_error(tls, interp, rc, uintptr(0))
+ }
+
+ // Query the SQLITE_SESSION_OBJCONFIG_SIZE option to ensure that it
+ // is clear by default. Then set it.
+ sqlite3.Xsqlite3session_object_config(tls, (*TestSession)(unsafe.Pointer(p)).FpSession, SQLITE_SESSION_OBJCONFIG_SIZE, bp+88 /* &iArg */)
+
+ *(*int32)(unsafe.Pointer(bp + 88 /* iArg */)) = 1
+ sqlite3.Xsqlite3session_object_config(tls, (*TestSession)(unsafe.Pointer(p)).FpSession, SQLITE_SESSION_OBJCONFIG_SIZE, bp+88 /* &iArg */)
+
+ tcl.XTcl_CreateObjCommand(tls,
+ interp, tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 1*8))), *(*uintptr)(unsafe.Pointer(&struct {
+ f func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32
+ }{test_session_cmd})), p,
+ *(*uintptr)(unsafe.Pointer(&struct{ f func(*libc.TLS, uintptr) }{test_session_del})))
+ tcl.XTcl_SetObjResult(tls, interp, *(*uintptr)(unsafe.Pointer(objv + 1*8)))
+ return TCL_OK
+}
+
+func test_append_value(tls *libc.TLS, pList uintptr, pVal uintptr) { /* test_session.c:446:13: */
+ if pVal == uintptr(0) {
+ tcl.XTcl_ListObjAppendElement(tls, uintptr(0), pList, tcl.XTcl_NewObj(tls))
+ tcl.XTcl_ListObjAppendElement(tls, uintptr(0), pList, tcl.XTcl_NewObj(tls))
+ } else {
+ var pObj uintptr
+ switch sqlite3.Xsqlite3_value_type(tls, pVal) {
+ case SQLITE_NULL:
+ tcl.XTcl_ListObjAppendElement(tls, uintptr(0), pList, tcl.XTcl_NewStringObj(tls, ts+10750 /* "n" */, 1))
+ pObj = tcl.XTcl_NewObj(tls)
+ break
+ fallthrough
+ case SQLITE_INTEGER:
+ tcl.XTcl_ListObjAppendElement(tls, uintptr(0), pList, tcl.XTcl_NewStringObj(tls, ts+10752 /* "i" */, 1))
+ pObj = tcl.XTcl_NewWideIntObj(tls, sqlite3.Xsqlite3_value_int64(tls, pVal))
+ break
+ fallthrough
+ case SQLITE_FLOAT:
+ tcl.XTcl_ListObjAppendElement(tls, uintptr(0), pList, tcl.XTcl_NewStringObj(tls, ts+10754 /* "f" */, 1))
+ pObj = tcl.XTcl_NewDoubleObj(tls, sqlite3.Xsqlite3_value_double(tls, pVal))
+ break
+ fallthrough
+ case SQLITE_TEXT:
+ {
+ var z uintptr = sqlite3.Xsqlite3_value_blob(tls, pVal)
+ var n int32 = sqlite3.Xsqlite3_value_bytes(tls, pVal)
+ tcl.XTcl_ListObjAppendElement(tls, uintptr(0), pList, tcl.XTcl_NewStringObj(tls, ts+10756 /* "t" */, 1))
+ pObj = tcl.XTcl_NewStringObj(tls, z, n)
+ break
+
+ }
+ fallthrough
+ default:
+
+ tcl.XTcl_ListObjAppendElement(tls, uintptr(0), pList, tcl.XTcl_NewStringObj(tls, ts+10758 /* "b" */, 1))
+ pObj = tcl.XTcl_NewByteArrayObj(tls,
+ sqlite3.Xsqlite3_value_blob(tls, pVal),
+ sqlite3.Xsqlite3_value_bytes(tls, pVal))
+ break
+ }
+ tcl.XTcl_ListObjAppendElement(tls, uintptr(0), pList, pObj)
+ }
+}
+
+type TestConflictHandler1 = struct {
+ Finterp uintptr
+ FpConflictScript uintptr
+ FpFilterScript uintptr
+} /* test_session.c:485:9 */
+
+type TestConflictHandler = TestConflictHandler1 /* test_session.c:485:36 */
+
+func test_obj_eq_string(tls *libc.TLS, p uintptr, z uintptr) int32 { /* test_session.c:492:12: */
+ bp := tls.Alloc(4)
+ defer tls.Free(4)
+
+ var n int32
+ // var nObj int32 at bp, 4
+
+ var zObj uintptr
+
+ n = int32(libc.Xstrlen(tls, z))
+ zObj = tcl.XTcl_GetStringFromObj(tls, p, bp /* &nObj */)
+
+ return (libc.Bool32((*(*int32)(unsafe.Pointer(bp /* nObj */)) == n) && ((n == 0) || (0 == libc.Xmemcmp(tls, zObj, z, uint64(n))))))
+}
+
+func test_filter_handler(tls *libc.TLS, pCtx uintptr, zTab uintptr) int32 { /* test_session.c:503:12: */
+ bp := tls.Alloc(4)
+ defer tls.Free(4)
+
+ var p uintptr = pCtx
+ *(*int32)(unsafe.Pointer(bp /* res */)) = 1
+ var pEval uintptr
+ var interp uintptr = (*TestConflictHandler)(unsafe.Pointer(p)).Finterp
+
+ pEval = tcl.XTcl_DuplicateObj(tls, (*TestConflictHandler)(unsafe.Pointer(p)).FpFilterScript)
+ (*Tcl_Obj)(unsafe.Pointer(pEval)).FrefCount++
+
+ if ((TCL_OK != tcl.XTcl_ListObjAppendElement(tls, uintptr(0), pEval, tcl.XTcl_NewStringObj(tls, zTab, -1))) ||
+ (TCL_OK != tcl.XTcl_EvalObjEx(tls, interp, pEval, TCL_EVAL_GLOBAL))) ||
+ (TCL_OK != tcl.XTcl_GetIntFromObj(tls, interp, tcl.XTcl_GetObjResult(tls, interp), bp /* &res */)) {
+ tcl.XTcl_BackgroundError(tls, interp)
+ }
+
+ for ok := true; ok; ok = 0 != 0 {
+ var _objPtr uintptr = pEval
+ if libc.PostDecInt32(&(*Tcl_Obj)(unsafe.Pointer((_objPtr))).FrefCount, 1) <= 1 {
+ tcl.XTclFreeObj(tls, _objPtr)
+ }
+ }
+ return *(*int32)(unsafe.Pointer(bp /* res */))
+}
+
+func test_conflict_handler(tls *libc.TLS, pCtx uintptr, eConf int32, pIter uintptr) int32 { /* test_session.c:526:12: */
+ bp := tls.Alloc(104)
+ defer tls.Free(104)
+
+ var p uintptr = pCtx
+ var pEval uintptr
+ var interp uintptr = (*TestConflictHandler)(unsafe.Pointer(p)).Finterp
+ *(*int32)(unsafe.Pointer(bp + 100 /* ret */)) = 0 // Return value
+
+ // var op int32 at bp+12, 4
+ // SQLITE_UPDATE, DELETE or INSERT
+ // var zTab uintptr at bp, 8
+ // Name of table conflict is on
+ // var nCol int32 at bp+8, 4
+ // Number of columns in table zTab
+
+ pEval = tcl.XTcl_DuplicateObj(tls, (*TestConflictHandler)(unsafe.Pointer(p)).FpConflictScript)
+ (*Tcl_Obj)(unsafe.Pointer(pEval)).FrefCount++
+
+ sqlite3.Xsqlite3changeset_op(tls, pIter, bp /* &zTab */, bp+8 /* &nCol */, bp+12 /* &op */, uintptr(0))
+
+ if eConf == SQLITE_CHANGESET_FOREIGN_KEY {
+ // var nFk int32 at bp+16, 4
+
+ sqlite3.Xsqlite3changeset_fk_conflicts(tls, pIter, bp+16 /* &nFk */)
+ tcl.XTcl_ListObjAppendElement(tls, uintptr(0), pEval, tcl.XTcl_NewStringObj(tls, ts+10760 /* "FOREIGN_KEY" */, -1))
+ tcl.XTcl_ListObjAppendElement(tls, uintptr(0), pEval, tcl.XTcl_NewIntObj(tls, *(*int32)(unsafe.Pointer(bp + 16 /* nFk */))))
+ } else {
+
+ // Append the operation type.
+ tcl.XTcl_ListObjAppendElement(tls, uintptr(0), pEval, tcl.XTcl_NewStringObj(tls,
+ func() uintptr {
+ if *(*int32)(unsafe.Pointer(bp + 12 /* op */)) == SQLITE_INSERT {
+ return ts + 10772 /* "INSERT" */
+ }
+ return func() uintptr {
+ if *(*int32)(unsafe.Pointer(bp + 12 /* op */)) == SQLITE_UPDATE {
+ return ts + 10779 /* "UPDATE" */
+ }
+ return ts + 10786 /* "DELETE" */
+ }()
+ }(), -1))
+
+ // Append the table name.
+ tcl.XTcl_ListObjAppendElement(tls, uintptr(0), pEval, tcl.XTcl_NewStringObj(tls, *(*uintptr)(unsafe.Pointer(bp /* zTab */)), -1))
+
+ // Append the conflict type.
+ switch eConf {
+ case SQLITE_CHANGESET_DATA:
+ tcl.XTcl_ListObjAppendElement(tls, interp, pEval, tcl.XTcl_NewStringObj(tls, ts+10793 /* "DATA" */, -1))
+ break
+ fallthrough
+ case SQLITE_CHANGESET_NOTFOUND:
+ tcl.XTcl_ListObjAppendElement(tls, interp, pEval, tcl.XTcl_NewStringObj(tls, ts+10798 /* "NOTFOUND" */, -1))
+ break
+ fallthrough
+ case SQLITE_CHANGESET_CONFLICT:
+ tcl.XTcl_ListObjAppendElement(tls, interp, pEval, tcl.XTcl_NewStringObj(tls, ts+10807 /* "CONFLICT" */, -1))
+ break
+ fallthrough
+ case SQLITE_CHANGESET_CONSTRAINT:
+ tcl.XTcl_ListObjAppendElement(tls, interp, pEval, tcl.XTcl_NewStringObj(tls, ts+10816 /* "CONSTRAINT" */, -1))
+ break
+ }
+
+ // If this is not an INSERT, append the old row
+ if *(*int32)(unsafe.Pointer(bp + 12 /* op */)) != SQLITE_INSERT {
+ var i int32
+ var pOld uintptr = tcl.XTcl_NewObj(tls)
+ for i = 0; i < *(*int32)(unsafe.Pointer(bp + 8 /* nCol */)); i++ {
+ // var pVal uintptr at bp+24, 8
+
+ sqlite3.Xsqlite3changeset_old(tls, pIter, i, bp+24 /* &pVal */)
+ test_append_value(tls, pOld, *(*uintptr)(unsafe.Pointer(bp + 24 /* pVal */)))
+ }
+ tcl.XTcl_ListObjAppendElement(tls, uintptr(0), pEval, pOld)
+ }
+
+ // If this is not a DELETE, append the new row
+ if *(*int32)(unsafe.Pointer(bp + 12 /* op */)) != SQLITE_DELETE {
+ var i int32
+ var pNew uintptr = tcl.XTcl_NewObj(tls)
+ for i = 0; i < *(*int32)(unsafe.Pointer(bp + 8 /* nCol */)); i++ {
+ // var pVal uintptr at bp+32, 8
+
+ sqlite3.Xsqlite3changeset_new(tls, pIter, i, bp+32 /* &pVal */)
+ test_append_value(tls, pNew, *(*uintptr)(unsafe.Pointer(bp + 32 /* pVal */)))
+ }
+ tcl.XTcl_ListObjAppendElement(tls, uintptr(0), pEval, pNew)
+ }
+
+ // If this is a CHANGESET_DATA or CHANGESET_CONFLICT conflict, append
+ // the conflicting row.
+ if (eConf == SQLITE_CHANGESET_DATA) || (eConf == SQLITE_CHANGESET_CONFLICT) {
+ var i int32
+ var pConflict uintptr = tcl.XTcl_NewObj(tls)
+ for i = 0; i < *(*int32)(unsafe.Pointer(bp + 8 /* nCol */)); i++ {
+ var rc int32
+ _ = rc
+ // var pVal uintptr at bp+40, 8
+
+ rc = sqlite3.Xsqlite3changeset_conflict(tls, pIter, i, bp+40 /* &pVal */)
+
+ test_append_value(tls, pConflict, *(*uintptr)(unsafe.Pointer(bp + 40 /* pVal */)))
+ }
+ tcl.XTcl_ListObjAppendElement(tls, uintptr(0), pEval, pConflict)
+ }
+
+ // **********************************************************************
+ //
+ // This block is purely for testing some error conditions.
+ if (eConf == SQLITE_CHANGESET_CONSTRAINT) ||
+ (eConf == SQLITE_CHANGESET_NOTFOUND) {
+ // var pVal uintptr at bp+48, 8
+
+ var rc int32 = sqlite3.Xsqlite3changeset_conflict(tls, pIter, 0, bp+48 /* &pVal */)
+ _ = rc
+
+ } else {
+ // var pVal uintptr at bp+56, 8
+
+ var rc int32 = sqlite3.Xsqlite3changeset_conflict(tls, pIter, -1, bp+56 /* &pVal */)
+ _ = rc
+
+ rc = sqlite3.Xsqlite3changeset_conflict(tls, pIter, *(*int32)(unsafe.Pointer(bp + 8 /* nCol */)), bp+56 /* &pVal */)
+
+ }
+ if *(*int32)(unsafe.Pointer(bp + 12 /* op */)) == SQLITE_DELETE {
+ // var pVal uintptr at bp+64, 8
+
+ var rc int32 = sqlite3.Xsqlite3changeset_new(tls, pIter, 0, bp+64 /* &pVal */)
+ _ = rc
+
+ } else {
+ // var pVal uintptr at bp+72, 8
+
+ var rc int32 = sqlite3.Xsqlite3changeset_new(tls, pIter, -1, bp+72 /* &pVal */)
+ _ = rc
+
+ rc = sqlite3.Xsqlite3changeset_new(tls, pIter, *(*int32)(unsafe.Pointer(bp + 8 /* nCol */)), bp+72 /* &pVal */)
+
+ }
+ if *(*int32)(unsafe.Pointer(bp + 12 /* op */)) == SQLITE_INSERT {
+ // var pVal uintptr at bp+80, 8
+
+ var rc int32 = sqlite3.Xsqlite3changeset_old(tls, pIter, 0, bp+80 /* &pVal */)
+ _ = rc
+
+ } else {
+ // var pVal uintptr at bp+88, 8
+
+ var rc int32 = sqlite3.Xsqlite3changeset_old(tls, pIter, -1, bp+88 /* &pVal */)
+ _ = rc
+
+ rc = sqlite3.Xsqlite3changeset_old(tls, pIter, *(*int32)(unsafe.Pointer(bp + 8 /* nCol */)), bp+88 /* &pVal */)
+
+ }
+ if eConf != SQLITE_CHANGESET_FOREIGN_KEY {
+ // eConf!=FOREIGN_KEY is always true at this point. The condition is
+ // just there to make it clearer what is being tested.
+ // var nDummy int32 at bp+96, 4
+
+ var rc int32 = sqlite3.Xsqlite3changeset_fk_conflicts(tls, pIter, bp+96 /* &nDummy */)
+ _ = rc
+
+ }
+ // End of testing block
+ //
+ }
+
+ if TCL_OK != tcl.XTcl_EvalObjEx(tls, interp, pEval, TCL_EVAL_GLOBAL) {
+ tcl.XTcl_BackgroundError(tls, interp)
+ } else {
+ var pRes uintptr = tcl.XTcl_GetObjResult(tls, interp)
+ if (test_obj_eq_string(tls, pRes, ts+10827 /* "OMIT" */) != 0) || (test_obj_eq_string(tls, pRes, ts+489 /* "" */) != 0) {
+ *(*int32)(unsafe.Pointer(bp + 100 /* ret */)) = SQLITE_CHANGESET_OMIT
+ } else if test_obj_eq_string(tls, pRes, ts+7292 /* "REPLACE" */) != 0 {
+ *(*int32)(unsafe.Pointer(bp + 100 /* ret */)) = SQLITE_CHANGESET_REPLACE
+ } else if test_obj_eq_string(tls, pRes, ts+7286 /* "ABORT" */) != 0 {
+ *(*int32)(unsafe.Pointer(bp + 100 /* ret */)) = SQLITE_CHANGESET_ABORT
+ } else {
+ tcl.XTcl_GetIntFromObj(tls, uintptr(0), pRes, bp+100 /* &ret */)
+ }
+ }
+
+ for ok := true; ok; ok = 0 != 0 {
+ var _objPtr uintptr = pEval
+ if libc.PostDecInt32(&(*Tcl_Obj)(unsafe.Pointer((_objPtr))).FrefCount, 1) <= 1 {
+ tcl.XTclFreeObj(tls, _objPtr)
+ }
+ }
+ return *(*int32)(unsafe.Pointer(bp + 100 /* ret */))
+}
+
+// The conflict handler used by sqlite3changeset_apply_replace_all().
+// This conflict handler calls sqlite3_value_text16() on all available
+// sqlite3_value objects and then returns CHANGESET_REPLACE, or
+// CHANGESET_OMIT if REPLACE is not applicable. This is used to test the
+// effect of a malloc failure within an sqlite3_value_xxx() function
+// invoked by a conflict-handler callback.
+func replace_handler(tls *libc.TLS, pCtx uintptr, eConf int32, pIter uintptr) int32 { /* test_session.c:693:12: */
+ bp := tls.Alloc(32)
+ defer tls.Free(32)
+
+ // var op int32 at bp+12, 4
+ // SQLITE_UPDATE, DELETE or INSERT
+ // var zTab uintptr at bp, 8
+ // Name of table conflict is on
+ // var nCol int32 at bp+8, 4
+ // Number of columns in table zTab
+ var i int32
+ var x int32 = 0
+
+ sqlite3.Xsqlite3changeset_op(tls, pIter, bp /* &zTab */, bp+8 /* &nCol */, bp+12 /* &op */, uintptr(0))
+
+ if *(*int32)(unsafe.Pointer(bp + 12 /* op */)) != SQLITE_INSERT {
+ for i = 0; i < *(*int32)(unsafe.Pointer(bp + 8 /* nCol */)); i++ {
+ // var pVal uintptr at bp+16, 8
+
+ sqlite3.Xsqlite3changeset_old(tls, pIter, i, bp+16 /* &pVal */)
+ sqlite3.Xsqlite3_value_text16(tls, *(*uintptr)(unsafe.Pointer(bp + 16 /* pVal */)))
+ x++
+ }
+ }
+
+ if *(*int32)(unsafe.Pointer(bp + 12 /* op */)) != SQLITE_DELETE {
+ for i = 0; i < *(*int32)(unsafe.Pointer(bp + 8 /* nCol */)); i++ {
+ // var pVal uintptr at bp+24, 8
+
+ sqlite3.Xsqlite3changeset_new(tls, pIter, i, bp+24 /* &pVal */)
+ sqlite3.Xsqlite3_value_text16(tls, *(*uintptr)(unsafe.Pointer(bp + 24 /* pVal */)))
+ x++
+ }
+ }
+
+ if eConf == SQLITE_CHANGESET_DATA {
+ return SQLITE_CHANGESET_REPLACE
+ }
+ return SQLITE_CHANGESET_OMIT
+}
+
+func testStreamInput(tls *libc.TLS, pCtx uintptr, pData uintptr, pnData uintptr) int32 { /* test_session.c:730:12: */
+ var p uintptr = pCtx
+ var nReq int32 = *(*int32)(unsafe.Pointer(pnData)) // Bytes of data requested
+ var nRem int32 = ((*TestStreamInput)(unsafe.Pointer(p)).FnData - (*TestStreamInput)(unsafe.Pointer(p)).FiData) // Bytes of data available
+ var nRet int32 = (*TestStreamInput)(unsafe.Pointer(p)).FnStream // Bytes actually returned
+
+ // Allocate and free some space. There is no point to this, other than
+ // that it allows the regular OOM fault-injection tests to cause an error
+ // in this function.
+ var pAlloc uintptr = sqlite3.Xsqlite3_malloc(tls, 10)
+ if pAlloc == uintptr(0) {
+ return SQLITE_NOMEM
+ }
+ sqlite3.Xsqlite3_free(tls, pAlloc)
+
+ if nRet > nReq {
+ nRet = nReq
+ }
+ if nRet > nRem {
+ nRet = nRem
+ }
+
+ if nRet > 0 {
+ libc.Xmemcpy(tls, pData, ((*TestStreamInput)(unsafe.Pointer(p)).FaData + uintptr((*TestStreamInput)(unsafe.Pointer(p)).FiData)), uint64(nRet))
+ *(*int32)(unsafe.Pointer(p + 20 /* &.iData */)) += (nRet)
+ }
+
+ *(*int32)(unsafe.Pointer(pnData)) = nRet
+ return SQLITE_OK
+}
+
+func testSqlite3changesetApply(tls *libc.TLS, bV2 int32, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* test_session.c:761:26: */
+ bp := tls.Alloc(156)
+ defer tls.Free(156)
+
+ var db uintptr // Database handle
+ // var info Tcl_CmdInfo at bp+48, 64
+ // Database Tcl command (objv[1]) info
+ var rc int32 // Return code from changeset_invert()
+ var pChangeset uintptr // Buffer containing changeset
+ // var nChangeset int32 at bp+112, 4
+ // Size of buffer aChangeset in bytes
+ // var ctx TestConflictHandler at bp+120, 24
+
+ // var sStr TestStreamInput at bp+24, 24
+
+ *(*uintptr)(unsafe.Pointer(bp + 144 /* pRebase */)) = uintptr(0)
+ *(*int32)(unsafe.Pointer(bp + 152 /* nRebase */)) = 0
+ var flags int32 = 0 // Flags for apply_v2()
+
+ libc.Xmemset(tls, bp+24 /* &sStr */, 0, uint64(unsafe.Sizeof(TestStreamInput{})))
+ (*TestStreamInput)(unsafe.Pointer(bp + 24 /* &sStr */)).FnStream = test_tcl_integer(tls, interp, ts+10561 /* "sqlite3session_s..." */)
+
+ // Check for the -nosavepoint flag
+ if bV2 != 0 {
+ if objc > 1 {
+ var z1 uintptr = tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 1*8)))
+ var n int32 = int32(libc.Xstrlen(tls, z1))
+ if ((n > 1) && (n <= 12)) && (0 == sqlite3.Xsqlite3_strnicmp(tls, ts+10832 /* "-nosavepoint" */, z1, n)) {
+ flags = flags | (SQLITE_CHANGESETAPPLY_NOSAVEPOINT)
+ objc--
+ objv += 8
+ }
+ }
+ if objc > 1 {
+ var z1 uintptr = tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 1*8)))
+ var n int32 = int32(libc.Xstrlen(tls, z1))
+ if ((n > 1) && (n <= 7)) && (0 == sqlite3.Xsqlite3_strnicmp(tls, ts+10845 /* "-invert" */, z1, n)) {
+ flags = flags | (SQLITE_CHANGESETAPPLY_INVERT)
+ objc--
+ objv += 8
+ }
+ }
+ }
+
+ if (objc != 4) && (objc != 5) {
+ var zMsg uintptr
+ if bV2 != 0 {
+ zMsg = ts + 10853 /* "?-nosavepoint? ?..." */
+ } else {
+ zMsg = ts + 10924 /* "DB CHANGESET CON..." */
+ }
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, zMsg)
+ return TCL_ERROR
+ }
+ if 0 == tcl.XTcl_GetCommandInfo(tls, interp, tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 1*8))), bp+48 /* &info */) {
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+1791 /* "no such handle: " */, tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 1*8))), 0))
+ return TCL_ERROR
+ }
+ db = *(*uintptr)(unsafe.Pointer((*Tcl_CmdInfo)(unsafe.Pointer(bp + 48 /* &info */)).FobjClientData))
+ pChangeset = tcl.XTcl_GetByteArrayFromObj(tls, *(*uintptr)(unsafe.Pointer(objv + 2*8)), bp+112 /* &nChangeset */)
+ (*TestConflictHandler)(unsafe.Pointer(bp + 120 /* &ctx */)).FpConflictScript = *(*uintptr)(unsafe.Pointer(objv + 3*8))
+ (*TestConflictHandler)(unsafe.Pointer(bp + 120 /* &ctx */)).FpFilterScript = func() uintptr {
+ if objc == 5 {
+ return *(*uintptr)(unsafe.Pointer(objv + 4*8))
+ }
+ return uintptr(0)
+ }()
+ (*TestConflictHandler)(unsafe.Pointer(bp + 120 /* &ctx */)).Finterp = interp
+
+ if (*TestStreamInput)(unsafe.Pointer(bp+24 /* &sStr */)).FnStream == 0 {
+ if bV2 == 0 {
+ rc = sqlite3.Xsqlite3changeset_apply(tls, db, *(*int32)(unsafe.Pointer(bp + 112 /* nChangeset */)), pChangeset,
+ func() uintptr {
+ if objc == 5 {
+ return *(*uintptr)(unsafe.Pointer(&struct {
+ f func(*libc.TLS, uintptr, uintptr) int32
+ }{test_filter_handler}))
+ }
+ return uintptr(0)
+ }(), *(*uintptr)(unsafe.Pointer(&struct {
+ f func(*libc.TLS, uintptr, int32, uintptr) int32
+ }{test_conflict_handler})), bp+120 /* &ctx */)
+ } else {
+ rc = sqlite3.Xsqlite3changeset_apply_v2(tls, db, *(*int32)(unsafe.Pointer(bp + 112 /* nChangeset */)), pChangeset,
+ func() uintptr {
+ if objc == 5 {
+ return *(*uintptr)(unsafe.Pointer(&struct {
+ f func(*libc.TLS, uintptr, uintptr) int32
+ }{test_filter_handler}))
+ }
+ return uintptr(0)
+ }(), *(*uintptr)(unsafe.Pointer(&struct {
+ f func(*libc.TLS, uintptr, int32, uintptr) int32
+ }{test_conflict_handler})), bp+120, /* &ctx */
+ bp+144 /* &pRebase */, bp+152 /* &nRebase */, flags)
+ }
+ } else {
+ (*TestStreamInput)(unsafe.Pointer(bp + 24 /* &sStr */)).FaData = pChangeset
+ (*TestStreamInput)(unsafe.Pointer(bp + 24 /* &sStr */)).FnData = *(*int32)(unsafe.Pointer(bp + 112 /* nChangeset */))
+ if bV2 == 0 {
+ rc = sqlite3.Xsqlite3changeset_apply_strm(tls, db, *(*uintptr)(unsafe.Pointer(&struct {
+ f func(*libc.TLS, uintptr, uintptr, uintptr) int32
+ }{testStreamInput})), bp+24, /* &sStr */
+ func() uintptr {
+ if objc == 5 {
+ return *(*uintptr)(unsafe.Pointer(&struct {
+ f func(*libc.TLS, uintptr, uintptr) int32
+ }{test_filter_handler}))
+ }
+ return uintptr(0)
+ }(),
+ *(*uintptr)(unsafe.Pointer(&struct {
+ f func(*libc.TLS, uintptr, int32, uintptr) int32
+ }{test_conflict_handler})), bp+120 /* &ctx */)
+ } else {
+ rc = sqlite3.Xsqlite3changeset_apply_v2_strm(tls, db, *(*uintptr)(unsafe.Pointer(&struct {
+ f func(*libc.TLS, uintptr, uintptr, uintptr) int32
+ }{testStreamInput})), bp+24, /* &sStr */
+ func() uintptr {
+ if objc == 5 {
+ return *(*uintptr)(unsafe.Pointer(&struct {
+ f func(*libc.TLS, uintptr, uintptr) int32
+ }{test_filter_handler}))
+ }
+ return uintptr(0)
+ }(),
+ *(*uintptr)(unsafe.Pointer(&struct {
+ f func(*libc.TLS, uintptr, int32, uintptr) int32
+ }{test_conflict_handler})), bp+120, /* &ctx */
+ bp+144 /* &pRebase */, bp+152 /* &nRebase */, flags)
+ }
+ }
+
+ if rc != SQLITE_OK {
+ return test_session_error(tls, interp, rc, uintptr(0))
+ } else {
+ tcl.XTcl_ResetResult(tls, interp)
+ if (bV2 != 0) && (*(*uintptr)(unsafe.Pointer(bp + 144 /* pRebase */)) != 0) {
+ tcl.XTcl_SetObjResult(tls, interp, tcl.XTcl_NewByteArrayObj(tls, *(*uintptr)(unsafe.Pointer(bp + 144 /* pRebase */)), *(*int32)(unsafe.Pointer(bp + 152 /* nRebase */))))
+ }
+ }
+ sqlite3.Xsqlite3_free(tls, *(*uintptr)(unsafe.Pointer(bp + 144 /* pRebase */)))
+ return TCL_OK
+}
+
+// sqlite3changeset_apply DB CHANGESET CONFLICT-SCRIPT ?FILTER-SCRIPT?
+func test_sqlite3changeset_apply(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* test_session.c:868:26: */
+ return testSqlite3changesetApply(tls, 0, clientData, interp, objc, objv)
+}
+
+// sqlite3changeset_apply_v2 DB CHANGESET CONFLICT-SCRIPT ?FILTER-SCRIPT?
+func test_sqlite3changeset_apply_v2(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* test_session.c:879:26: */
+ return testSqlite3changesetApply(tls, 1, clientData, interp, objc, objv)
+}
+
+// sqlite3changeset_apply_replace_all DB CHANGESET
+func test_sqlite3changeset_apply_replace_all(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* test_session.c:891:26: */
+ bp := tls.Alloc(92)
+ defer tls.Free(92)
+
+ var db uintptr // Database handle
+ // var info Tcl_CmdInfo at bp+24, 64
+ // Database Tcl command (objv[1]) info
+ var rc int32 // Return code from changeset_invert()
+ var pChangeset uintptr // Buffer containing changeset
+ // var nChangeset int32 at bp+88, 4
+ // Size of buffer aChangeset in bytes
+
+ if objc != 3 {
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+10969 /* "DB CHANGESET" */)
+ return TCL_ERROR
+ }
+ if 0 == tcl.XTcl_GetCommandInfo(tls, interp, tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 1*8))), bp+24 /* &info */) {
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+1791 /* "no such handle: " */, tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 2*8))), 0))
+ return TCL_ERROR
+ }
+ db = *(*uintptr)(unsafe.Pointer((*Tcl_CmdInfo)(unsafe.Pointer(bp + 24 /* &info */)).FobjClientData))
+ pChangeset = tcl.XTcl_GetByteArrayFromObj(tls, *(*uintptr)(unsafe.Pointer(objv + 2*8)), bp+88 /* &nChangeset */)
+
+ rc = sqlite3.Xsqlite3changeset_apply(tls, db, *(*int32)(unsafe.Pointer(bp + 88 /* nChangeset */)), pChangeset, uintptr(0), *(*uintptr)(unsafe.Pointer(&struct {
+ f func(*libc.TLS, uintptr, int32, uintptr) int32
+ }{replace_handler})), uintptr(0))
+ if rc != SQLITE_OK {
+ return test_session_error(tls, interp, rc, uintptr(0))
+ }
+ tcl.XTcl_ResetResult(tls, interp)
+ return TCL_OK
+}
+
+// sqlite3changeset_invert CHANGESET
+func test_sqlite3changeset_invert(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* test_session.c:926:26: */
+ bp := tls.Alloc(40)
+ defer tls.Free(40)
+
+ var rc int32 // Return code from changeset_invert()
+ // var sIn TestStreamInput at bp, 24
+ // Input stream
+ // var sOut TestSessionsBlob at bp+24, 16
+ // Output blob
+
+ if objc != 2 {
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+10982 /* "CHANGESET" */)
+ return TCL_ERROR
+ }
+
+ libc.Xmemset(tls, bp /* &sIn */, 0, uint64(unsafe.Sizeof(TestStreamInput{})))
+ libc.Xmemset(tls, bp+24 /* &sOut */, 0, uint64(unsafe.Sizeof(TestSessionsBlob{})))
+ (*TestStreamInput)(unsafe.Pointer(bp /* &sIn */)).FnStream = test_tcl_integer(tls, interp, ts+10561 /* "sqlite3session_s..." */)
+ (*TestStreamInput)(unsafe.Pointer(bp /* &sIn */)).FaData = tcl.XTcl_GetByteArrayFromObj(tls, *(*uintptr)(unsafe.Pointer(objv + 1*8)), (bp /* &sIn */ + 16 /* &.nData */))
+
+ if (*TestStreamInput)(unsafe.Pointer(bp /* &sIn */)).FnStream != 0 {
+ rc = sqlite3.Xsqlite3changeset_invert_strm(tls,
+ *(*uintptr)(unsafe.Pointer(&struct {
+ f func(*libc.TLS, uintptr, uintptr, uintptr) int32
+ }{testStreamInput})), bp /* &sIn */, *(*uintptr)(unsafe.Pointer(&struct {
+ f func(*libc.TLS, uintptr, uintptr, int32) int32
+ }{testStreamOutput})), bp+24 /* &sOut */)
+ } else {
+ rc = sqlite3.Xsqlite3changeset_invert(tls, (*TestStreamInput)(unsafe.Pointer(bp /* &sIn */)).FnData, (*TestStreamInput)(unsafe.Pointer(bp /* &sIn */)).FaData, (bp + 24 /* &sOut */ + 8 /* &.n */), (bp + 24 /* &sOut */ /* &.p */))
+ }
+ if rc != SQLITE_OK {
+ rc = test_session_error(tls, interp, rc, uintptr(0))
+ } else {
+ tcl.XTcl_SetObjResult(tls, interp, tcl.XTcl_NewByteArrayObj(tls, (*TestSessionsBlob)(unsafe.Pointer(bp+24 /* &sOut */)).Fp, (*TestSessionsBlob)(unsafe.Pointer(bp+24 /* &sOut */)).Fn))
+ }
+ sqlite3.Xsqlite3_free(tls, (*TestSessionsBlob)(unsafe.Pointer(bp+24 /* &sOut */)).Fp)
+ return rc
+}
+
+// sqlite3changeset_concat LEFT RIGHT
+func test_sqlite3changeset_concat(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* test_session.c:965:26: */
+ bp := tls.Alloc(64)
+ defer tls.Free(64)
+
+ var rc int32 // Return code from changeset_invert()
+
+ // var sLeft TestStreamInput at bp, 24
+ // Input stream
+ // var sRight TestStreamInput at bp+24, 24
+ // Input stream
+ *(*TestSessionsBlob)(unsafe.Pointer(bp + 48 /* sOut */)) = TestSessionsBlob{} // Output blob
+
+ if objc != 3 {
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+10992 /* "LEFT RIGHT" */)
+ return TCL_ERROR
+ }
+
+ libc.Xmemset(tls, bp /* &sLeft */, 0, uint64(unsafe.Sizeof(TestStreamInput{})))
+ libc.Xmemset(tls, bp+24 /* &sRight */, 0, uint64(unsafe.Sizeof(TestStreamInput{})))
+ (*TestStreamInput)(unsafe.Pointer(bp /* &sLeft */)).FaData = tcl.XTcl_GetByteArrayFromObj(tls, *(*uintptr)(unsafe.Pointer(objv + 1*8)), (bp /* &sLeft */ + 16 /* &.nData */))
+ (*TestStreamInput)(unsafe.Pointer(bp + 24 /* &sRight */)).FaData = tcl.XTcl_GetByteArrayFromObj(tls, *(*uintptr)(unsafe.Pointer(objv + 2*8)), (bp + 24 /* &sRight */ + 16 /* &.nData */))
+ (*TestStreamInput)(unsafe.Pointer(bp /* &sLeft */)).FnStream = test_tcl_integer(tls, interp, ts+10561 /* "sqlite3session_s..." */)
+ (*TestStreamInput)(unsafe.Pointer(bp + 24 /* &sRight */)).FnStream = (*TestStreamInput)(unsafe.Pointer(bp /* &sLeft */)).FnStream
+
+ if (*TestStreamInput)(unsafe.Pointer(bp /* &sLeft */)).FnStream > 0 {
+ rc = sqlite3.Xsqlite3changeset_concat_strm(tls,
+ *(*uintptr)(unsafe.Pointer(&struct {
+ f func(*libc.TLS, uintptr, uintptr, uintptr) int32
+ }{testStreamInput})), bp, /* &sLeft */
+ *(*uintptr)(unsafe.Pointer(&struct {
+ f func(*libc.TLS, uintptr, uintptr, uintptr) int32
+ }{testStreamInput})), bp+24, /* &sRight */
+ *(*uintptr)(unsafe.Pointer(&struct {
+ f func(*libc.TLS, uintptr, uintptr, int32) int32
+ }{testStreamOutput})), bp+48 /* &sOut */)
+ } else {
+ rc = sqlite3.Xsqlite3changeset_concat(tls,
+ (*TestStreamInput)(unsafe.Pointer(bp /* &sLeft */)).FnData, (*TestStreamInput)(unsafe.Pointer(bp /* &sLeft */)).FaData, (*TestStreamInput)(unsafe.Pointer(bp+24 /* &sRight */)).FnData, (*TestStreamInput)(unsafe.Pointer(bp+24 /* &sRight */)).FaData, (bp + 48 /* &sOut */ + 8 /* &.n */), (bp + 48 /* &sOut */ /* &.p */))
+ }
+
+ if rc != SQLITE_OK {
+ rc = test_session_error(tls, interp, rc, uintptr(0))
+ } else {
+ tcl.XTcl_SetObjResult(tls, interp, tcl.XTcl_NewByteArrayObj(tls, (*TestSessionsBlob)(unsafe.Pointer(bp+48 /* &sOut */)).Fp, (*TestSessionsBlob)(unsafe.Pointer(bp+48 /* &sOut */)).Fn))
+ }
+ sqlite3.Xsqlite3_free(tls, (*TestSessionsBlob)(unsafe.Pointer(bp+48 /* &sOut */)).Fp)
+ return rc
+}
+
+// sqlite3session_foreach VARNAME CHANGESET SCRIPT
+func test_sqlite3session_foreach(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* test_session.c:1013:26: */
+ bp := tls.Alloc(104)
+ defer tls.Free(104)
+
+ var pChangeset uintptr
+ // var nChangeset int32 at bp+24, 4
+
+ // var pIter uintptr at bp+32, 8
+
+ var rc int32
+ var pVarname uintptr
+ var pCS uintptr
+ var pScript uintptr
+ var isCheckNext int32 = 0
+ var isInvert int32 = 0
+ // var sStr TestStreamInput at bp, 24
+
+ libc.Xmemset(tls, bp /* &sStr */, 0, uint64(unsafe.Sizeof(TestStreamInput{})))
+
+ for objc > 1 {
+ var zOpt uintptr = tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 1*8)))
+ var nOpt int32 = int32(libc.Xstrlen(tls, zOpt))
+ if int32(*(*int8)(unsafe.Pointer(zOpt))) != '-' {
+ break
+ }
+ if (nOpt <= 7) && (0 == sqlite3.Xsqlite3_strnicmp(tls, zOpt, ts+10845 /* "-invert" */, nOpt)) {
+ isInvert = 1
+ } else if (nOpt <= 5) && (0 == sqlite3.Xsqlite3_strnicmp(tls, zOpt, ts+11003 /* "-next" */, nOpt)) {
+ isCheckNext = 1
+ } else {
+ break
+ }
+ objv += 8
+ objc--
+ }
+ if objc != 4 {
+ tcl.XTcl_WrongNumArgs(tls,
+ interp, 1, objv, ts+11009 /* "?-next? ?-invert..." */)
+ return TCL_ERROR
+ }
+
+ pVarname = *(*uintptr)(unsafe.Pointer(objv + 1*8))
+ pCS = *(*uintptr)(unsafe.Pointer(objv + 2*8))
+ pScript = *(*uintptr)(unsafe.Pointer(objv + 3*8))
+
+ pChangeset = tcl.XTcl_GetByteArrayFromObj(tls, pCS, bp+24 /* &nChangeset */)
+ (*TestStreamInput)(unsafe.Pointer(bp /* &sStr */)).FnStream = test_tcl_integer(tls, interp, ts+10561 /* "sqlite3session_s..." */)
+ if isInvert != 0 {
+ var f int32 = SQLITE_CHANGESETSTART_INVERT
+ if (*TestStreamInput)(unsafe.Pointer(bp /* &sStr */)).FnStream == 0 {
+ rc = sqlite3.Xsqlite3changeset_start_v2(tls, bp+32 /* &pIter */, *(*int32)(unsafe.Pointer(bp + 24 /* nChangeset */)), pChangeset, f)
+ } else {
+ var pCtx uintptr = bp /* &sStr */
+ (*TestStreamInput)(unsafe.Pointer(bp /* &sStr */)).FaData = pChangeset
+ (*TestStreamInput)(unsafe.Pointer(bp /* &sStr */)).FnData = *(*int32)(unsafe.Pointer(bp + 24 /* nChangeset */))
+ rc = sqlite3.Xsqlite3changeset_start_v2_strm(tls, bp+32 /* &pIter */, *(*uintptr)(unsafe.Pointer(&struct {
+ f func(*libc.TLS, uintptr, uintptr, uintptr) int32
+ }{testStreamInput})), pCtx, f)
+ }
+ } else {
+ if (*TestStreamInput)(unsafe.Pointer(bp /* &sStr */)).FnStream == 0 {
+ rc = sqlite3.Xsqlite3changeset_start(tls, bp+32 /* &pIter */, *(*int32)(unsafe.Pointer(bp + 24 /* nChangeset */)), pChangeset)
+ } else {
+ (*TestStreamInput)(unsafe.Pointer(bp /* &sStr */)).FaData = pChangeset
+ (*TestStreamInput)(unsafe.Pointer(bp /* &sStr */)).FnData = *(*int32)(unsafe.Pointer(bp + 24 /* nChangeset */))
+ rc = sqlite3.Xsqlite3changeset_start_strm(tls, bp+32 /* &pIter */, *(*uintptr)(unsafe.Pointer(&struct {
+ f func(*libc.TLS, uintptr, uintptr, uintptr) int32
+ }{testStreamInput})), bp /* &sStr */)
+ }
+ }
+ if rc != SQLITE_OK {
+ return test_session_error(tls, interp, rc, uintptr(0))
+ }
+
+ for SQLITE_ROW == sqlite3.Xsqlite3changeset_next(tls, *(*uintptr)(unsafe.Pointer(bp + 32 /* pIter */))) {
+ // var nCol int32 at bp+56, 4
+ // Number of columns in table
+ // var nCol2 int32 at bp+80, 4
+ // Number of columns in table
+ // var op int32 at bp+60, 4
+ // SQLITE_INSERT, UPDATE or DELETE
+ // var zTab uintptr at bp+48, 8
+ // Name of table change applies to
+ var pVar uintptr // Tcl value to set $VARNAME to
+ var pOld uintptr // Vector of old.* values
+ var pNew uintptr // Vector of new.* values
+ // var bIndirect int32 at bp+64, 4
+
+ var zPK uintptr
+ // var abPK uintptr at bp+72, 8
+
+ var i int32
+
+ // Test that _fk_conflicts() returns SQLITE_MISUSE if called on this
+ // iterator.
+ // var nDummy int32 at bp+40, 4
+
+ if SQLITE_MISUSE != sqlite3.Xsqlite3changeset_fk_conflicts(tls, *(*uintptr)(unsafe.Pointer(bp + 32 /* pIter */)), bp+40 /* &nDummy */) {
+ sqlite3.Xsqlite3changeset_finalize(tls, *(*uintptr)(unsafe.Pointer(bp + 32 /* pIter */)))
+ return TCL_ERROR
+ }
+
+ sqlite3.Xsqlite3changeset_op(tls, *(*uintptr)(unsafe.Pointer(bp + 32 /* pIter */)), bp+48 /* &zTab */, bp+56 /* &nCol */, bp+60 /* &op */, bp+64 /* &bIndirect */)
+ pVar = tcl.XTcl_NewObj(tls)
+ tcl.XTcl_ListObjAppendElement(tls, uintptr(0), pVar, tcl.XTcl_NewStringObj(tls,
+ func() uintptr {
+ if *(*int32)(unsafe.Pointer(bp + 60 /* op */)) == SQLITE_INSERT {
+ return ts + 10772 /* "INSERT" */
+ }
+ return func() uintptr {
+ if *(*int32)(unsafe.Pointer(bp + 60 /* op */)) == SQLITE_UPDATE {
+ return ts + 10779 /* "UPDATE" */
+ }
+ return ts + 10786 /* "DELETE" */
+ }()
+ }(), -1))
+
+ tcl.XTcl_ListObjAppendElement(tls, uintptr(0), pVar, tcl.XTcl_NewStringObj(tls, *(*uintptr)(unsafe.Pointer(bp + 48 /* zTab */)), -1))
+ tcl.XTcl_ListObjAppendElement(tls, uintptr(0), pVar, tcl.XTcl_NewIntObj(tls, (libc.Bool32((*(*int32)(unsafe.Pointer(bp + 64 /* bIndirect */))) != 0))))
+
+ zPK = tcl.XTcl_Alloc(tls, (uint32(*(*int32)(unsafe.Pointer(bp + 56 /* nCol */)) + 1)))
+ libc.Xmemset(tls, zPK, 0, (uint64(*(*int32)(unsafe.Pointer(bp + 56 /* nCol */)) + 1)))
+ sqlite3.Xsqlite3changeset_pk(tls, *(*uintptr)(unsafe.Pointer(bp + 32 /* pIter */)), bp+72 /* &abPK */, bp+80 /* &nCol2 */)
+
+ for i = 0; i < *(*int32)(unsafe.Pointer(bp + 56 /* nCol */)); i++ {
+ *(*int8)(unsafe.Pointer(zPK + uintptr(i))) = func() int8 {
+ if *(*uint8)(unsafe.Pointer(*(*uintptr)(unsafe.Pointer(bp + 72 /* abPK */)) + uintptr(i))) != 0 {
+ return int8('X')
+ }
+ return int8('.')
+ }()
+ }
+ tcl.XTcl_ListObjAppendElement(tls, uintptr(0), pVar, tcl.XTcl_NewStringObj(tls, zPK, -1))
+ tcl.XTcl_Free(tls, zPK)
+
+ pOld = tcl.XTcl_NewObj(tls)
+ if *(*int32)(unsafe.Pointer(bp + 60 /* op */)) != SQLITE_INSERT {
+ for i = 0; i < *(*int32)(unsafe.Pointer(bp + 56 /* nCol */)); i++ {
+ // var pVal uintptr at bp+88, 8
+
+ sqlite3.Xsqlite3changeset_old(tls, *(*uintptr)(unsafe.Pointer(bp + 32 /* pIter */)), i, bp+88 /* &pVal */)
+ test_append_value(tls, pOld, *(*uintptr)(unsafe.Pointer(bp + 88 /* pVal */)))
+ }
+ }
+ pNew = tcl.XTcl_NewObj(tls)
+ if *(*int32)(unsafe.Pointer(bp + 60 /* op */)) != SQLITE_DELETE {
+ for i = 0; i < *(*int32)(unsafe.Pointer(bp + 56 /* nCol */)); i++ {
+ // var pVal uintptr at bp+96, 8
+
+ sqlite3.Xsqlite3changeset_new(tls, *(*uintptr)(unsafe.Pointer(bp + 32 /* pIter */)), i, bp+96 /* &pVal */)
+ test_append_value(tls, pNew, *(*uintptr)(unsafe.Pointer(bp + 96 /* pVal */)))
+ }
+ }
+ tcl.XTcl_ListObjAppendElement(tls, uintptr(0), pVar, pOld)
+ tcl.XTcl_ListObjAppendElement(tls, uintptr(0), pVar, pNew)
+
+ tcl.XTcl_ObjSetVar2(tls, interp, pVarname, uintptr(0), pVar, 0)
+ rc = tcl.XTcl_EvalObjEx(tls, interp, pScript, 0)
+ if (rc != TCL_OK) && (rc != TCL_CONTINUE) {
+ sqlite3.Xsqlite3changeset_finalize(tls, *(*uintptr)(unsafe.Pointer(bp + 32 /* pIter */)))
+ if rc == TCL_BREAK {
+ return TCL_OK
+ }
+ return rc
+ }
+ }
+
+ if isCheckNext != 0 {
+ var rc2 int32 = sqlite3.Xsqlite3changeset_next(tls, *(*uintptr)(unsafe.Pointer(bp + 32 /* pIter */)))
+ _ = rc2
+ rc = sqlite3.Xsqlite3changeset_finalize(tls, *(*uintptr)(unsafe.Pointer(bp + 32 /* pIter */)))
+
+ } else {
+ rc = sqlite3.Xsqlite3changeset_finalize(tls, *(*uintptr)(unsafe.Pointer(bp + 32 /* pIter */)))
+ }
+ if rc != SQLITE_OK {
+ return test_session_error(tls, interp, rc, uintptr(0))
+ }
+
+ return TCL_OK
+}
+
+// tclcmd: CMD configure REBASE-BLOB
+// tclcmd: CMD rebase CHANGESET
+// tclcmd: CMD delete
+func test_rebaser_cmd(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* test_session.c:1171:26: */
+ bp := tls.Alloc(48)
+ defer tls.Free(48)
+
+ var p uintptr = clientData
+ // var iSub int32 at bp, 4
+
+ var rc int32
+
+ if objc < 2 {
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+1860 /* "SUBCOMMAND ..." */)
+ return TCL_ERROR
+ }
+ rc = tcl.XTcl_GetIndexFromObjStruct(tls, interp,
+ *(*uintptr)(unsafe.Pointer(objv + 1*8)), uintptr(unsafe.Pointer(&aSub1)), int32(unsafe.Sizeof(RebaseSubcmd{})), ts+1875 /* "sub-command" */, 0, bp /* &iSub */)
+ if rc != TCL_OK {
+ return rc
+ }
+ if objc != (2 + aSub1[*(*int32)(unsafe.Pointer(bp /* iSub */))].FnArg) {
+ tcl.XTcl_WrongNumArgs(tls, interp, 2, objv, aSub1[*(*int32)(unsafe.Pointer(bp /* iSub */))].FzMsg)
+ return TCL_ERROR
+ }
+
+ switch *(*int32)(unsafe.Pointer(bp /* iSub */)) {
+ case 0:
+ { // configure
+ *(*int32)(unsafe.Pointer(bp + 4 /* nRebase */)) = 0
+ var pRebase uintptr = tcl.XTcl_GetByteArrayFromObj(tls, *(*uintptr)(unsafe.Pointer(objv + 2*8)), bp+4 /* &nRebase */)
+ rc = sqlite3.Xsqlite3rebaser_configure(tls, p, *(*int32)(unsafe.Pointer(bp + 4 /* nRebase */)), pRebase)
+ break
+
+ }
+
+ case 1: // delete
+ tcl.XTcl_DeleteCommand(tls, interp, tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv))))
+ break
+
+ default:
+ { // rebase
+ // var sStr TestStreamInput at bp+8, 24
+ // Input stream
+ // var sOut TestSessionsBlob at bp+32, 16
+ // Output blob
+
+ libc.Xmemset(tls, bp+8 /* &sStr */, 0, uint64(unsafe.Sizeof(TestStreamInput{})))
+ libc.Xmemset(tls, bp+32 /* &sOut */, 0, uint64(unsafe.Sizeof(TestSessionsBlob{})))
+ (*TestStreamInput)(unsafe.Pointer(bp + 8 /* &sStr */)).FaData = tcl.XTcl_GetByteArrayFromObj(tls, *(*uintptr)(unsafe.Pointer(objv + 2*8)), (bp + 8 /* &sStr */ + 16 /* &.nData */))
+ (*TestStreamInput)(unsafe.Pointer(bp + 8 /* &sStr */)).FnStream = test_tcl_integer(tls, interp, ts+10561 /* "sqlite3session_s..." */)
+
+ if (*TestStreamInput)(unsafe.Pointer(bp+8 /* &sStr */)).FnStream != 0 {
+ rc = sqlite3.Xsqlite3rebaser_rebase_strm(tls, p,
+ *(*uintptr)(unsafe.Pointer(&struct {
+ f func(*libc.TLS, uintptr, uintptr, uintptr) int32
+ }{testStreamInput})), bp+8, /* &sStr */
+ *(*uintptr)(unsafe.Pointer(&struct {
+ f func(*libc.TLS, uintptr, uintptr, int32) int32
+ }{testStreamOutput})), bp+32 /* &sOut */)
+ } else {
+ rc = sqlite3.Xsqlite3rebaser_rebase(tls, p, (*TestStreamInput)(unsafe.Pointer(bp+8 /* &sStr */)).FnData, (*TestStreamInput)(unsafe.Pointer(bp+8 /* &sStr */)).FaData, (bp + 32 /* &sOut */ + 8 /* &.n */), (bp + 32 /* &sOut */ /* &.p */))
+ }
+
+ if rc == SQLITE_OK {
+ tcl.XTcl_SetObjResult(tls, interp, tcl.XTcl_NewByteArrayObj(tls, (*TestSessionsBlob)(unsafe.Pointer(bp+32 /* &sOut */)).Fp, (*TestSessionsBlob)(unsafe.Pointer(bp+32 /* &sOut */)).Fn))
+ }
+ sqlite3.Xsqlite3_free(tls, (*TestSessionsBlob)(unsafe.Pointer(bp+32 /* &sOut */)).Fp)
+ break
+
+ }
+ }
+
+ if rc != SQLITE_OK {
+ return test_session_error(tls, interp, rc, uintptr(0))
+ }
+ return TCL_OK
+}
+
+type RebaseSubcmd = struct {
+ FzSub uintptr
+ FnArg int32
+ _ [4]byte
+ FzMsg uintptr
+ FiSub int32
+ _ [4]byte
+} /* test_session.c:1177:10 */
+
+var aSub1 = [4]RebaseSubcmd{
+ {FzSub: ts + 11052 /* "configure" */, FnArg: 1, FzMsg: ts + 11062 /* "REBASE-BLOB" */}, // 0
+ {FzSub: ts + 10601 /* "delete" */, FzMsg: ts + 489 /* "" */}, // 1
+ {FzSub: ts + 11074 /* "rebase" */, FnArg: 1, FzMsg: ts + 10982 /* "CHANGESET" */}, // 2
+ {},
+} /* test_session.c:1182:5 */
+
+func test_rebaser_del(tls *libc.TLS, clientData uintptr) { /* test_session.c:1252:27: */
+ var p uintptr = clientData
+ sqlite3.Xsqlite3rebaser_delete(tls, p)
+}
+
+// tclcmd: sqlite3rebaser_create NAME
+func test_sqlite3rebaser_create(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* test_session.c:1260:26: */
+ bp := tls.Alloc(8)
+ defer tls.Free(8)
+
+ var rc int32
+ *(*uintptr)(unsafe.Pointer(bp /* pNew */)) = uintptr(0)
+ if objc != 2 {
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+10397 /* "NAME" */)
+ return SQLITE_ERROR
+ }
+
+ rc = sqlite3.Xsqlite3rebaser_create(tls, bp /* &pNew */)
+ if rc != SQLITE_OK {
+ return test_session_error(tls, interp, rc, uintptr(0))
+ }
+
+ tcl.XTcl_CreateObjCommand(tls, interp, tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 1*8))), *(*uintptr)(unsafe.Pointer(&struct {
+ f func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32
+ }{test_rebaser_cmd})),
+ *(*uintptr)(unsafe.Pointer(bp /* pNew */)), *(*uintptr)(unsafe.Pointer(&struct{ f func(*libc.TLS, uintptr) }{test_rebaser_del})))
+ tcl.XTcl_SetObjResult(tls, interp, *(*uintptr)(unsafe.Pointer(objv + 1*8)))
+ return TCL_OK
+}
+
+// tclcmd: sqlite3rebaser_configure OP VALUE
+func test_sqlite3session_config(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* test_session.c:1288:26: */
+ bp := tls.Alloc(8)
+ defer tls.Free(8)
+
+ var rc int32
+ // var iSub int32 at bp, 4
+
+ // var iVal int32 at bp+4, 4
+
+ if objc != 3 {
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+11081 /* "OP VALUE" */)
+ return SQLITE_ERROR
+ }
+ rc = tcl.XTcl_GetIndexFromObjStruct(tls, interp,
+ *(*uintptr)(unsafe.Pointer(objv + 1*8)), uintptr(unsafe.Pointer(&aSub2)), int32(unsafe.Sizeof(ConfigOpt{})), ts+1875 /* "sub-command" */, 0, bp /* &iSub */)
+ if rc != TCL_OK {
+ return rc
+ }
+ if tcl.XTcl_GetIntFromObj(tls, interp, *(*uintptr)(unsafe.Pointer(objv + 2*8)), bp+4 /* &iVal */) != 0 {
+ return TCL_ERROR
+ }
+
+ rc = sqlite3.Xsqlite3session_config(tls, aSub2[*(*int32)(unsafe.Pointer(bp /* iSub */))].Fop, bp+4 /* &iVal */)
+ if rc != SQLITE_OK {
+ return test_session_error(tls, interp, rc, uintptr(0))
+ }
+ tcl.XTcl_SetObjResult(tls, interp, tcl.XTcl_NewIntObj(tls, *(*int32)(unsafe.Pointer(bp + 4 /* iVal */))))
+ return TCL_OK
+}
+
+type ConfigOpt = struct {
+ FzSub uintptr
+ Fop int32
+ _ [4]byte
+} /* test_session.c:1294:10 */
+
+var aSub2 = [3]ConfigOpt{
+ {FzSub: ts + 11090 /* "strm_size" */, Fop: SQLITE_SESSION_CONFIG_STRMSIZE},
+ {FzSub: ts + 2619 /* "invalid" */},
+ {},
+} /* test_session.c:1297:5 */
+
+func TestSession_Init(tls *libc.TLS, interp uintptr) int32 { /* test_session.c:1324:5: */
+ bp := tls.Alloc(160)
+ defer tls.Free(160)
+
+ *(*[10]struct {
+ FzCmd uintptr
+ FxProc uintptr
+ })(unsafe.Pointer(bp /* aCmd */)) = [10]struct {
+ FzCmd uintptr
+ FxProc uintptr
+ }{
+ {FzCmd: ts + 11100 /* "sqlite3session" */, FxProc: *(*uintptr)(unsafe.Pointer(&struct {
+ f func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32
+ }{test_sqlite3session}))},
+ {FzCmd: ts + 11115 /* "sqlite3session_f..." */, FxProc: *(*uintptr)(unsafe.Pointer(&struct {
+ f func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32
+ }{test_sqlite3session_foreach}))},
+ {FzCmd: ts + 11138 /* "sqlite3changeset..." */, FxProc: *(*uintptr)(unsafe.Pointer(&struct {
+ f func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32
+ }{test_sqlite3changeset_invert}))},
+ {FzCmd: ts + 11162 /* "sqlite3changeset..." */, FxProc: *(*uintptr)(unsafe.Pointer(&struct {
+ f func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32
+ }{test_sqlite3changeset_concat}))},
+ {FzCmd: ts + 11186 /* "sqlite3changeset..." */, FxProc: *(*uintptr)(unsafe.Pointer(&struct {
+ f func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32
+ }{test_sqlite3changeset_apply}))},
+ {FzCmd: ts + 11209 /* "sqlite3changeset..." */, FxProc: *(*uintptr)(unsafe.Pointer(&struct {
+ f func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32
+ }{test_sqlite3changeset_apply_v2}))},
+ {FzCmd: ts + 11235, /* "sqlite3changeset..." */
+ FxProc: *(*uintptr)(unsafe.Pointer(&struct {
+ f func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32
+ }{test_sqlite3changeset_apply_replace_all}))},
+ {FzCmd: ts + 11270 /* "sql_exec_changes..." */, FxProc: *(*uintptr)(unsafe.Pointer(&struct {
+ f func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32
+ }{test_sql_exec_changeset}))},
+ {FzCmd: ts + 11289 /* "sqlite3rebaser_c..." */, FxProc: *(*uintptr)(unsafe.Pointer(&struct {
+ f func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32
+ }{test_sqlite3rebaser_create}))},
+ {FzCmd: ts + 11311 /* "sqlite3session_c..." */, FxProc: *(*uintptr)(unsafe.Pointer(&struct {
+ f func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32
+ }{test_sqlite3session_config}))},
+ }
+ var i int32
+
+ for i = 0; uint64(i) < (uint64(unsafe.Sizeof([10]struct {
+ FzCmd uintptr
+ FxProc uintptr
+ }{})) / uint64(unsafe.Sizeof(struct {
+ FzCmd uintptr
+ FxProc uintptr
+ }{}))); i++ {
+ var p uintptr = (bp /* &aCmd */ + uintptr(i)*16)
+ tcl.XTcl_CreateObjCommand(tls, interp, (*struct {
+ FzCmd uintptr
+ FxProc uintptr
+ })(unsafe.Pointer(p)).FzCmd, (*struct {
+ FzCmd uintptr
+ FxProc uintptr
+ })(unsafe.Pointer(p)).FxProc, uintptr(0), uintptr(0))
+ }
+
+ return TCL_OK
+}
+
// 2014-09-08
//
// The author disclaims copyright to this source code. In place of
@@ -35830,7 +37520,7 @@ var aObjCmd = [5]struct {
// directory as this file for additional information.
// Used to get the current process ID
-// Copyright (C) 1991-2018 Free Software Foundation, Inc.
+// Copyright (C) 1991-2020 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
@@ -35845,11 +37535,11 @@ var aObjCmd = [5]struct {
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// ISO C99 Standard: 7.14 Signal handling
-// Copyright (C) 1991-2018 Free Software Foundation, Inc.
+// Copyright (C) 1991-2020 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
@@ -35864,10 +37554,10 @@ var aObjCmd = [5]struct {
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// bits/types.h -- definitions of __*_t types underlying *_t types.
-// Copyright (C) 2002-2018 Free Software Foundation, Inc.
+// Copyright (C) 2002-2020 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
@@ -35882,12 +37572,12 @@ var aObjCmd = [5]struct {
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// Never include this file directly; use instead.
// Signal number definitions. Linux version.
-// Copyright (C) 1995-2018 Free Software Foundation, Inc.
+// Copyright (C) 1995-2020 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
@@ -35902,10 +37592,10 @@ var aObjCmd = [5]struct {
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// Signal number constants. Generic template.
-// Copyright (C) 1991-2018 Free Software Foundation, Inc.
+// Copyright (C) 1991-2020 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
@@ -35920,7 +37610,7 @@ var aObjCmd = [5]struct {
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// Fake signal functions.
@@ -35959,7 +37649,7 @@ var aObjCmd = [5]struct {
// most Linux systems.
// bits/types.h -- definitions of __*_t types underlying *_t types.
-// Copyright (C) 2002-2018 Free Software Foundation, Inc.
+// Copyright (C) 2002-2020 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
@@ -35974,7 +37664,7 @@ var aObjCmd = [5]struct {
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// Never include this file directly; use instead.
@@ -35988,7 +37678,7 @@ type sig_atomic_t = int32 /* sig_atomic_t.h:8:24 */
// Determine the wordsize from the preprocessor defines.
// bits/types.h -- definitions of __*_t types underlying *_t types.
-// Copyright (C) 2002-2018 Free Software Foundation, Inc.
+// Copyright (C) 2002-2020 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
@@ -36003,12 +37693,12 @@ type sig_atomic_t = int32 /* sig_atomic_t.h:8:24 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// Never include this file directly; use instead.
// Define __sigval_t.
-// Copyright (C) 1997-2018 Free Software Foundation, Inc.
+// Copyright (C) 1997-2020 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
@@ -36023,7 +37713,7 @@ type sig_atomic_t = int32 /* sig_atomic_t.h:8:24 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// Type for data associated with a signal.
type sigval = struct {
@@ -36052,7 +37742,7 @@ type siginfo_t = struct {
// These are all considered GNU extensions.
// Define __sigval_t.
-// Copyright (C) 1997-2018 Free Software Foundation, Inc.
+// Copyright (C) 1997-2020 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
@@ -36067,7 +37757,7 @@ type siginfo_t = struct {
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// To avoid sigval_t (not a standard type name) having C++ name
// mangling depending on whether the selected standard includes union
@@ -36081,7 +37771,7 @@ type sigval_t = sigval /* sigval_t.h:16:20 */
// Determine the wordsize from the preprocessor defines.
// bits/types.h -- definitions of __*_t types underlying *_t types.
-// Copyright (C) 2002-2018 Free Software Foundation, Inc.
+// Copyright (C) 2002-2020 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
@@ -36096,12 +37786,12 @@ type sigval_t = sigval /* sigval_t.h:16:20 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// Never include this file directly; use instead.
// Define __sigval_t.
-// Copyright (C) 1997-2018 Free Software Foundation, Inc.
+// Copyright (C) 1997-2020 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
@@ -36116,7 +37806,7 @@ type sigval_t = sigval /* sigval_t.h:16:20 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// Forward declaration.
@@ -36129,7 +37819,7 @@ type sig_t = uintptr /* signal.h:190:24 */
// Get the system-specific definitions of `struct sigaction'
// and the `SA_*' and `SIG_*'. constants.
// Definitions for 31 & 64 bit S/390 sigaction.
-// Copyright (C) 2001-2018 Free Software Foundation, Inc.
+// Copyright (C) 2001-2020 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
@@ -36144,7 +37834,7 @@ type sig_t = uintptr /* signal.h:190:24 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// Determine the wordsize from the preprocessor defines.
@@ -36198,7 +37888,7 @@ type sigcontext = struct {
Fsregs uintptr
} /* sigcontext.h:77:1 */
-// Copyright (C) 1989-2018 Free Software Foundation, Inc.
+// Copyright (C) 1989-2017 Free Software Foundation, Inc.
//
// This file is part of GCC.
//
@@ -36281,7 +37971,7 @@ type sigcontext = struct {
// A null pointer constant.
// Define stack_t. Linux version.
-// Copyright (C) 1998-2018 Free Software Foundation, Inc.
+// Copyright (C) 1998-2020 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
@@ -36296,9 +37986,9 @@ type sigcontext = struct {
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
-// Copyright (C) 1989-2018 Free Software Foundation, Inc.
+// Copyright (C) 1989-2017 Free Software Foundation, Inc.
//
// This file is part of GCC.
//
@@ -36432,7 +38122,7 @@ type ucontext_t1 = struct {
type ucontext_t = ucontext_t1 /* ucontext.h:90:5 */
// Define struct sigstack.
-// Copyright (C) 1998-2018 Free Software Foundation, Inc.
+// Copyright (C) 1998-2020 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
@@ -36447,7 +38137,7 @@ type ucontext_t = ucontext_t1 /* ucontext.h:90:5 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// Structure describing a signal stack (obsolete).
type sigstack = struct {
@@ -36458,6 +38148,25 @@ type sigstack = struct {
// Define some macros helping to catch buffer overflows.
+// System-specific extensions.
+// System-specific extensions of , Linux version.
+// Copyright (C) 2019-2020 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
+// .
+
// Windows needs to know which symbols to export. Unix does not.
// BUILD_sqlite should be undefined for Unix.
@@ -36709,7 +38418,7 @@ func incrblobHandle(tls *libc.TLS, instanceData ClientData, dir int32, hPtr uint
}
var IncrblobChannelType = Tcl_ChannelType{
- FtypeName: ts + 10526, /* "incrblob" */ // typeName
+ FtypeName: ts + 11333, /* "incrblob" */ // typeName
Fversion: uintptr(0x2), // version
FcloseProc: 0, // closeProc
FinputProc: 0, // inputProc
@@ -36747,7 +38456,7 @@ func createIncrblobChannel(tls *libc.TLS, interp uintptr, pDb uintptr, zDb uintp
(*IncrblobChannel)(unsafe.Pointer(p)).FiSeek = 0
(*IncrblobChannel)(unsafe.Pointer(p)).FpBlob = *(*uintptr)(unsafe.Pointer(bp + 8 /* pBlob */))
- sqlite3.Xsqlite3_snprintf(tls, int32(unsafe.Sizeof([64]int8{})), bp+16 /* &zChannel[0] */, ts+10535 /* "incrblob_%d" */, libc.VaList(bp, libc.PreIncInt32(&count, 1)))
+ sqlite3.Xsqlite3_snprintf(tls, int32(unsafe.Sizeof([64]int8{})), bp+16 /* &zChannel[0] */, ts+11342 /* "incrblob_%d" */, libc.VaList(bp, libc.PreIncInt32(&count, 1)))
(*IncrblobChannel)(unsafe.Pointer(p)).Fchannel = tcl.XTcl_CreateChannel(tls, uintptr(unsafe.Pointer(&IncrblobChannelType)), bp+16 /* &zChannel[0] */, p, flags)
tcl.XTcl_RegisterChannel(tls, interp, (*IncrblobChannel)(unsafe.Pointer(p)).Fchannel)
@@ -36942,7 +38651,7 @@ func DbBusyHandler(tls *libc.TLS, cd uintptr, nTries int32) int32 { /* tclsqlite
// var zVal [30]int8 at bp+40, 30
sqlite3.Xsqlite3_snprintf(tls, int32(unsafe.Sizeof([30]int8{})), bp+40 /* &zVal[0] */, ts+1238 /* "%d" */, libc.VaList(bp, nTries))
- rc = tcl.XTcl_VarEval(tls, (*SqliteDb)(unsafe.Pointer(pDb)).Finterp, libc.VaList(bp+8, (*SqliteDb)(unsafe.Pointer(pDb)).FzBusy, ts+4765 /* " " */, bp+40 /* &zVal[0] */, uintptr(0)))
+ rc = tcl.XTcl_VarEval(tls, (*SqliteDb)(unsafe.Pointer(pDb)).Finterp, libc.VaList(bp+8, (*SqliteDb)(unsafe.Pointer(pDb)).FzBusy, ts+4755 /* " " */, bp+40 /* &zVal[0] */, uintptr(0)))
if (rc != TCL_OK) || (libc.Xatoi(tls, tcl.XTcl_GetStringResult(tls, (*SqliteDb)(unsafe.Pointer(pDb)).Finterp)) != 0) {
return 0
}
@@ -37084,7 +38793,7 @@ func DbProfileHandler(tls *libc.TLS, cd uintptr, zSql uintptr, tm1 sqlite_uint64
// var zTm [100]int8 at bp+8, 100
- sqlite3.Xsqlite3_snprintf(tls, (int32(uint64(unsafe.Sizeof([100]int8{})) - uint64(1))), bp+8 /* &zTm[0] */, ts+10547 /* "%lld" */, libc.VaList(bp, tm1))
+ sqlite3.Xsqlite3_snprintf(tls, (int32(uint64(unsafe.Sizeof([100]int8{})) - uint64(1))), bp+8 /* &zTm[0] */, ts+11354 /* "%lld" */, libc.VaList(bp, tm1))
tcl.XTcl_DStringInit(tls, bp+112 /* &str */)
tcl.XTcl_DStringAppend(tls, bp+112 /* &str */, (*SqliteDb)(unsafe.Pointer(pDb)).FzProfile, -1)
tcl.XTcl_DStringAppendElement(tls, bp+112 /* &str */, zSql)
@@ -37152,9 +38861,9 @@ func setTestUnlockNotifyVars(tls *libc.TLS, interp uintptr, iArg int32, nArg int
// var zBuf [64]int8 at bp+16, 64
sqlite3.Xsqlite3_snprintf(tls, int32(unsafe.Sizeof([64]int8{})), bp+16 /* &zBuf[0] */, ts+1238 /* "%d" */, libc.VaList(bp, iArg))
- tcl.XTcl_SetVar2(tls, interp, ts+10552 /* "sqlite_unlock_no..." */, uintptr(0), bp+16 /* &zBuf[0] */, TCL_GLOBAL_ONLY)
+ tcl.XTcl_SetVar2(tls, interp, ts+11359 /* "sqlite_unlock_no..." */, uintptr(0), bp+16 /* &zBuf[0] */, TCL_GLOBAL_ONLY)
sqlite3.Xsqlite3_snprintf(tls, int32(unsafe.Sizeof([64]int8{})), bp+16 /* &zBuf[0] */, ts+1238 /* "%d" */, libc.VaList(bp+8, nArg))
- tcl.XTcl_SetVar2(tls, interp, ts+10577 /* "sqlite_unlock_no..." */, uintptr(0), bp+16 /* &zBuf[0] */, TCL_GLOBAL_ONLY)
+ tcl.XTcl_SetVar2(tls, interp, ts+11384 /* "sqlite_unlock_no..." */, uintptr(0), bp+16 /* &zBuf[0] */, TCL_GLOBAL_ONLY)
}
func DbUnlockNotify(tls *libc.TLS, apArg uintptr, nArg int32) { /* tclsqlite.c:799:13: */
@@ -37196,7 +38905,7 @@ func DbPreUpdateHandler(tls *libc.TLS, p uintptr, db uintptr, op int32, zDb uint
}
}
-var azStr = [3]uintptr{ts + 10607 /* "DELETE" */, ts + 10614 /* "INSERT" */, ts + 10621 /* "UPDATE" */} /* tclsqlite.c:828:21 */
+var azStr = [3]uintptr{ts + 10786 /* "DELETE" */, ts + 10772 /* "INSERT" */, ts + 10779 /* "UPDATE" */} /* tclsqlite.c:828:21 */
func DbUpdateHandler(tls *libc.TLS, p uintptr, op int32, zDb uintptr, zTbl uintptr, rowid sqlite_int64) { /* tclsqlite.c:849:13: */
var pDb uintptr = p
@@ -37217,7 +38926,7 @@ func DbUpdateHandler(tls *libc.TLS, p uintptr, op int32, zDb uintptr, zTbl uintp
}
}
-var azStr1 = [3]uintptr{ts + 10607 /* "DELETE" */, ts + 10614 /* "INSERT" */, ts + 10621 /* "UPDATE" */} /* tclsqlite.c:858:21 */
+var azStr1 = [3]uintptr{ts + 10786 /* "DELETE" */, ts + 10772 /* "INSERT" */, ts + 10779 /* "UPDATE" */} /* tclsqlite.c:858:21 */
func tclCollateNeeded(tls *libc.TLS, pCtx uintptr, db uintptr, enc int32, zName uintptr) { /* tclsqlite.c:877:13: */
var pDb uintptr = pCtx
@@ -37476,109 +39185,109 @@ func auth_callback(tls *libc.TLS, pArg uintptr, code int32, zArg1 uintptr, zArg2
// authorized.
switch code {
case SQLITE_COPY:
- zCode = ts + 10628 /* "SQLITE_COPY" */
+ zCode = ts + 11414 /* "SQLITE_COPY" */
break
case SQLITE_CREATE_INDEX:
- zCode = ts + 10640 /* "SQLITE_CREATE_IN..." */
+ zCode = ts + 11426 /* "SQLITE_CREATE_IN..." */
break
case SQLITE_CREATE_TABLE:
- zCode = ts + 10660 /* "SQLITE_CREATE_TA..." */
+ zCode = ts + 11446 /* "SQLITE_CREATE_TA..." */
break
case SQLITE_CREATE_TEMP_INDEX:
- zCode = ts + 10680 /* "SQLITE_CREATE_TE..." */
+ zCode = ts + 11466 /* "SQLITE_CREATE_TE..." */
break
case SQLITE_CREATE_TEMP_TABLE:
- zCode = ts + 10705 /* "SQLITE_CREATE_TE..." */
+ zCode = ts + 11491 /* "SQLITE_CREATE_TE..." */
break
case SQLITE_CREATE_TEMP_TRIGGER:
- zCode = ts + 10730 /* "SQLITE_CREATE_TE..." */
+ zCode = ts + 11516 /* "SQLITE_CREATE_TE..." */
break
case SQLITE_CREATE_TEMP_VIEW:
- zCode = ts + 10757 /* "SQLITE_CREATE_TE..." */
+ zCode = ts + 11543 /* "SQLITE_CREATE_TE..." */
break
case SQLITE_CREATE_TRIGGER:
- zCode = ts + 10781 /* "SQLITE_CREATE_TR..." */
+ zCode = ts + 11567 /* "SQLITE_CREATE_TR..." */
break
case SQLITE_CREATE_VIEW:
- zCode = ts + 10803 /* "SQLITE_CREATE_VI..." */
+ zCode = ts + 11589 /* "SQLITE_CREATE_VI..." */
break
case SQLITE_DELETE:
- zCode = ts + 10822 /* "SQLITE_DELETE" */
+ zCode = ts + 11608 /* "SQLITE_DELETE" */
break
case SQLITE_DROP_INDEX:
- zCode = ts + 10836 /* "SQLITE_DROP_INDE..." */
+ zCode = ts + 11622 /* "SQLITE_DROP_INDE..." */
break
case SQLITE_DROP_TABLE:
- zCode = ts + 10854 /* "SQLITE_DROP_TABL..." */
+ zCode = ts + 11640 /* "SQLITE_DROP_TABL..." */
break
case SQLITE_DROP_TEMP_INDEX:
- zCode = ts + 10872 /* "SQLITE_DROP_TEMP..." */
+ zCode = ts + 11658 /* "SQLITE_DROP_TEMP..." */
break
case SQLITE_DROP_TEMP_TABLE:
- zCode = ts + 10895 /* "SQLITE_DROP_TEMP..." */
+ zCode = ts + 11681 /* "SQLITE_DROP_TEMP..." */
break
case SQLITE_DROP_TEMP_TRIGGER:
- zCode = ts + 10918 /* "SQLITE_DROP_TEMP..." */
+ zCode = ts + 11704 /* "SQLITE_DROP_TEMP..." */
break
case SQLITE_DROP_TEMP_VIEW:
- zCode = ts + 10943 /* "SQLITE_DROP_TEMP..." */
+ zCode = ts + 11729 /* "SQLITE_DROP_TEMP..." */
break
case SQLITE_DROP_TRIGGER:
- zCode = ts + 10965 /* "SQLITE_DROP_TRIG..." */
+ zCode = ts + 11751 /* "SQLITE_DROP_TRIG..." */
break
case SQLITE_DROP_VIEW:
- zCode = ts + 10985 /* "SQLITE_DROP_VIEW" */
+ zCode = ts + 11771 /* "SQLITE_DROP_VIEW" */
break
case SQLITE_INSERT:
- zCode = ts + 11002 /* "SQLITE_INSERT" */
+ zCode = ts + 11788 /* "SQLITE_INSERT" */
break
case SQLITE_PRAGMA:
- zCode = ts + 11016 /* "SQLITE_PRAGMA" */
+ zCode = ts + 11802 /* "SQLITE_PRAGMA" */
break
case SQLITE_READ:
- zCode = ts + 11030 /* "SQLITE_READ" */
+ zCode = ts + 11816 /* "SQLITE_READ" */
break
case SQLITE_SELECT:
- zCode = ts + 11042 /* "SQLITE_SELECT" */
+ zCode = ts + 11828 /* "SQLITE_SELECT" */
break
case SQLITE_TRANSACTION:
- zCode = ts + 11056 /* "SQLITE_TRANSACTI..." */
+ zCode = ts + 11842 /* "SQLITE_TRANSACTI..." */
break
case SQLITE_UPDATE:
- zCode = ts + 11075 /* "SQLITE_UPDATE" */
+ zCode = ts + 11861 /* "SQLITE_UPDATE" */
break
case SQLITE_ATTACH:
- zCode = ts + 11089 /* "SQLITE_ATTACH" */
+ zCode = ts + 11875 /* "SQLITE_ATTACH" */
break
case SQLITE_DETACH:
- zCode = ts + 11103 /* "SQLITE_DETACH" */
+ zCode = ts + 11889 /* "SQLITE_DETACH" */
break
case SQLITE_ALTER_TABLE:
- zCode = ts + 11117 /* "SQLITE_ALTER_TAB..." */
+ zCode = ts + 11903 /* "SQLITE_ALTER_TAB..." */
break
case SQLITE_REINDEX:
- zCode = ts + 11136 /* "SQLITE_REINDEX" */
+ zCode = ts + 11922 /* "SQLITE_REINDEX" */
break
case SQLITE_ANALYZE:
- zCode = ts + 11151 /* "SQLITE_ANALYZE" */
+ zCode = ts + 11937 /* "SQLITE_ANALYZE" */
break
case SQLITE_CREATE_VTABLE:
- zCode = ts + 11166 /* "SQLITE_CREATE_VT..." */
+ zCode = ts + 11952 /* "SQLITE_CREATE_VT..." */
break
case SQLITE_DROP_VTABLE:
- zCode = ts + 11187 /* "SQLITE_DROP_VTAB..." */
+ zCode = ts + 11973 /* "SQLITE_DROP_VTAB..." */
break
case SQLITE_FUNCTION:
- zCode = ts + 11206 /* "SQLITE_FUNCTION" */
+ zCode = ts + 11992 /* "SQLITE_FUNCTION" */
break
case SQLITE_SAVEPOINT:
- zCode = ts + 11222 /* "SQLITE_SAVEPOINT" */
+ zCode = ts + 12008 /* "SQLITE_SAVEPOINT" */
break
case SQLITE_RECURSIVE:
- zCode = ts + 11239 /* "SQLITE_RECURSIVE" */
+ zCode = ts + 12025 /* "SQLITE_RECURSIVE" */
break
default:
- zCode = ts + 11256 /* "????" */
+ zCode = ts + 12042 /* "????" */
break
}
tcl.XTcl_DStringInit(tls, bp /* &str */)
@@ -37613,13 +39322,13 @@ func auth_callback(tls *libc.TLS, pArg uintptr, code int32, zArg1 uintptr, zArg2
if rc == TCL_OK {
zReply = tcl.XTcl_GetStringResult(tls, (*SqliteDb)(unsafe.Pointer(pDb)).Finterp)
} else {
- zReply = ts + 11261 /* "SQLITE_DENY" */
+ zReply = ts + 12047 /* "SQLITE_DENY" */
}
if libc.Xstrcmp(tls, zReply, ts+1988 /* "SQLITE_OK" */) == 0 {
rc = SQLITE_OK
- } else if libc.Xstrcmp(tls, zReply, ts+11261 /* "SQLITE_DENY" */) == 0 {
+ } else if libc.Xstrcmp(tls, zReply, ts+12047 /* "SQLITE_DENY" */) == 0 {
rc = SQLITE_DENY
- } else if libc.Xstrcmp(tls, zReply, ts+11273 /* "SQLITE_IGNORE" */) == 0 {
+ } else if libc.Xstrcmp(tls, zReply, ts+12059 /* "SQLITE_IGNORE" */) == 0 {
rc = SQLITE_IGNORE
} else {
rc = 999
@@ -37708,7 +39417,7 @@ func DbTransPostCmd(tls *libc.TLS, data uintptr, interp uintptr, result int32) i
tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, sqlite3.Xsqlite3_errmsg(tls, (*SqliteDb)(unsafe.Pointer(pDb)).Fdb), uintptr(0)))
rc = TCL_ERROR
}
- sqlite3.Xsqlite3_exec(tls, (*SqliteDb)(unsafe.Pointer(pDb)).Fdb, ts+7272 /* "ROLLBACK" */, uintptr(0), uintptr(0), uintptr(0))
+ sqlite3.Xsqlite3_exec(tls, (*SqliteDb)(unsafe.Pointer(pDb)).Fdb, ts+7270 /* "ROLLBACK" */, uintptr(0), uintptr(0), uintptr(0))
}
(*SqliteDb)(unsafe.Pointer(pDb)).FdisableAuth--
@@ -37716,10 +39425,10 @@ func DbTransPostCmd(tls *libc.TLS, data uintptr, interp uintptr, result int32) i
}
var azEnd = [4]uintptr{
- ts + 11287, /* "RELEASE _tcl_tra..." */ // rc==TCL_ERROR, nTransaction!=0
- ts + 11312, /* "COMMIT" */ // rc!=TCL_ERROR, nTransaction==0
- ts + 11319, /* "ROLLBACK TO _tcl..." */
- ts + 7272, /* "ROLLBACK" */ // rc==TCL_ERROR, nTransaction==0
+ ts + 12073, /* "RELEASE _tcl_tra..." */ // rc==TCL_ERROR, nTransaction!=0
+ ts + 12098, /* "COMMIT" */ // rc!=TCL_ERROR, nTransaction==0
+ ts + 12105, /* "ROLLBACK TO _tcl..." */
+ ts + 7270, /* "ROLLBACK" */ // rc==TCL_ERROR, nTransaction==0
} /* tclsqlite.c:1216:21 */
// Unless SQLITE_TEST is defined, this function is a simple wrapper around
@@ -38076,7 +39785,7 @@ func dbEvalRowInfo(tls *libc.TLS, p uintptr, pnCol uintptr, papColName uintptr)
if (*DbEvalContext)(unsafe.Pointer(p)).FpArray != 0 {
var interp uintptr = (*SqliteDb)(unsafe.Pointer((*DbEvalContext)(unsafe.Pointer(p)).FpDb)).Finterp
var pColList uintptr = tcl.XTcl_NewObj(tls)
- var pStar uintptr = tcl.XTcl_NewStringObj(tls, ts+3711 /* "*" */, -1)
+ var pStar uintptr = tcl.XTcl_NewStringObj(tls, ts+3701 /* "*" */, -1)
for i = 0; i < nCol; i++ {
tcl.XTcl_ListObjAppendElement(tls, interp, pColList, *(*uintptr)(unsafe.Pointer(apColName + uintptr(i)*8)))
@@ -38607,7 +40316,7 @@ func DbObjCmd(tls *libc.TLS, cd uintptr, interp uintptr, objc int32, objv uintpt
return TCL_ERROR
__1:
;
- if !(tcl.XTcl_GetIndexFromObjStruct(tls, interp, *(*uintptr)(unsafe.Pointer(objv + 1*8)), uintptr(unsafe.Pointer(&DB_strs)), int32(unsafe.Sizeof(uintptr(0))), ts+11375 /* "option" */, 0, bp+1016 /* &choice */) != 0) {
+ if !(tcl.XTcl_GetIndexFromObjStruct(tls, interp, *(*uintptr)(unsafe.Pointer(objv + 1*8)), uintptr(unsafe.Pointer(&DB_strs)), int32(unsafe.Sizeof(uintptr(0))), ts+12161 /* "option" */, 0, bp+1016 /* &choice */) != 0) {
goto __2
}
return TCL_ERROR
@@ -38965,7 +40674,7 @@ __4:
if !(objc > 3) {
goto __45
}
- tcl.XTcl_WrongNumArgs(tls, interp, 2, objv, ts+11382 /* "?CALLBACK?" */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 2, objv, ts+12168 /* "?CALLBACK?" */)
return TCL_ERROR
goto __46
__45:
@@ -39036,7 +40745,7 @@ __55:
zDestFile = tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 3*8)))
goto __58
__57:
- tcl.XTcl_WrongNumArgs(tls, interp, 2, objv, ts+11393 /* "?DATABASE? FILEN..." */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 2, objv, ts+12179 /* "?DATABASE? FILEN..." */)
return TCL_ERROR
__58:
;
@@ -39047,7 +40756,7 @@ __56:
if !(rc != SQLITE_OK) {
goto __59
}
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+16, ts+11413, /* "cannot open targ..." */
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+16, ts+12199, /* "cannot open targ..." */
sqlite3.Xsqlite3_errmsg(tls, *(*uintptr)(unsafe.Pointer(bp + 1024 /* pDest */))), uintptr(0)))
sqlite3.Xsqlite3_close(tls, *(*uintptr)(unsafe.Pointer(bp + 1024 /* pDest */)))
return TCL_ERROR
@@ -39057,7 +40766,7 @@ __59:
if !(pBackup == uintptr(0)) {
goto __60
}
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+40, ts+11443, /* "backup failed: " */
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+40, ts+12229, /* "backup failed: " */
sqlite3.Xsqlite3_errmsg(tls, *(*uintptr)(unsafe.Pointer(bp + 1024 /* pDest */))), uintptr(0)))
sqlite3.Xsqlite3_close(tls, *(*uintptr)(unsafe.Pointer(bp + 1024 /* pDest */)))
return TCL_ERROR
@@ -39077,7 +40786,7 @@ __62:
rc = TCL_OK
goto __64
__63:
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+64, ts+11443, /* "backup failed: " */
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+64, ts+12229, /* "backup failed: " */
sqlite3.Xsqlite3_errmsg(tls, *(*uintptr)(unsafe.Pointer(bp + 1024 /* pDest */))), uintptr(0)))
rc = TCL_ERROR
__64:
@@ -39106,7 +40815,7 @@ __6:
if !(objc > 3) {
goto __65
}
- tcl.XTcl_WrongNumArgs(tls, interp, 2, objv, ts+11382 /* "?CALLBACK?" */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 2, objv, ts+12168 /* "?CALLBACK?" */)
return TCL_ERROR
goto __66
__65:
@@ -39152,7 +40861,7 @@ __7:
if !(objc > 3) {
goto __73
}
- tcl.XTcl_WrongNumArgs(tls, interp, 2, objv, ts+11459 /* "CALLBACK" */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 2, objv, ts+12245 /* "CALLBACK" */)
return TCL_ERROR
goto __74
__73:
@@ -39212,18 +40921,18 @@ __8:
if !(objc <= 2) {
goto __83
}
- tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+11468 /* "cache option ?ar..." */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+12254 /* "cache option ?ar..." */)
return TCL_ERROR
__83:
;
subCmd = tcl.XTcl_GetStringFromObj(tls, *(*uintptr)(unsafe.Pointer(objv + 2*8)), uintptr(0))
- if !((int32(*(*int8)(unsafe.Pointer(subCmd))) == 'f') && (libc.Xstrcmp(tls, subCmd, ts+11487 /* "flush" */) == 0)) {
+ if !((int32(*(*int8)(unsafe.Pointer(subCmd))) == 'f') && (libc.Xstrcmp(tls, subCmd, ts+12273 /* "flush" */) == 0)) {
goto __84
}
if !(objc != 3) {
goto __86
}
- tcl.XTcl_WrongNumArgs(tls, interp, 2, objv, ts+11487 /* "flush" */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 2, objv, ts+12273 /* "flush" */)
return TCL_ERROR
goto __87
__86:
@@ -39232,21 +40941,21 @@ __87:
;
goto __85
__84:
- if !((int32(*(*int8)(unsafe.Pointer(subCmd))) == 's') && (libc.Xstrcmp(tls, subCmd, ts+11493 /* "size" */) == 0)) {
+ if !((int32(*(*int8)(unsafe.Pointer(subCmd))) == 's') && (libc.Xstrcmp(tls, subCmd, ts+12279 /* "size" */) == 0)) {
goto __88
}
if !(objc != 4) {
goto __90
}
- tcl.XTcl_WrongNumArgs(tls, interp, 2, objv, ts+11498 /* "size n" */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 2, objv, ts+12284 /* "size n" */)
return TCL_ERROR
goto __91
__90:
if !(TCL_ERROR == tcl.XTcl_GetIntFromObj(tls, interp, *(*uintptr)(unsafe.Pointer(objv + 3*8)), bp+1040 /* &n */)) {
goto __92
}
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+120, ts+11505, /* "cannot convert \"" */
- tcl.XTcl_GetStringFromObj(tls, *(*uintptr)(unsafe.Pointer(objv + 3*8)), uintptr(0)), ts+11522 /* "\" to integer" */, uintptr(0)))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+120, ts+12291, /* "cannot convert \"" */
+ tcl.XTcl_GetStringFromObj(tls, *(*uintptr)(unsafe.Pointer(objv + 3*8)), uintptr(0)), ts+12308 /* "\" to integer" */, uintptr(0)))
return TCL_ERROR
goto __93
__92:
@@ -39272,8 +40981,8 @@ __91:
;
goto __89
__88:
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+152, ts+11535, /* "bad option \"" */
- tcl.XTcl_GetStringFromObj(tls, *(*uintptr)(unsafe.Pointer(objv + 2*8)), uintptr(0)), ts+11548, /* "\": must be flush..." */
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+152, ts+12321, /* "bad option \"" */
+ tcl.XTcl_GetStringFromObj(tls, *(*uintptr)(unsafe.Pointer(objv + 2*8)), uintptr(0)), ts+12334, /* "\": must be flush..." */
uintptr(0)))
return TCL_ERROR
__89:
@@ -39314,7 +41023,7 @@ __11:
if !(objc != 4) {
goto __98
}
- tcl.XTcl_WrongNumArgs(tls, interp, 2, objv, ts+11573 /* "NAME SCRIPT" */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 2, objv, ts+12359 /* "NAME SCRIPT" */)
return TCL_ERROR
__98:
;
@@ -39352,7 +41061,7 @@ __12:
if !(objc != 3) {
goto __101
}
- tcl.XTcl_WrongNumArgs(tls, interp, 2, objv, ts+11585 /* "SCRIPT" */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 2, objv, ts+10650 /* "SCRIPT" */)
return TCL_ERROR
__101:
;
@@ -39394,7 +41103,7 @@ __13:
if !(objc > 3) {
goto __107
}
- tcl.XTcl_WrongNumArgs(tls, interp, 2, objv, ts+11382 /* "?CALLBACK?" */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 2, objv, ts+12168 /* "?CALLBACK?" */)
return TCL_ERROR
goto __108
__107:
@@ -39453,7 +41162,7 @@ __14:
if !(objc != 3) {
goto __117
}
- tcl.XTcl_WrongNumArgs(tls, interp, 2, objv, ts+10172 /* "SQL" */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 2, objv, ts+10170 /* "SQL" */)
return TCL_ERROR
__117:
;
@@ -39470,7 +41179,7 @@ __15:
if !(objc > 4) {
goto __118
}
- tcl.XTcl_WrongNumArgs(tls, interp, 2, objv, ts+11592 /* "?OPTION? ?BOOLEA..." */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 2, objv, ts+12371 /* "?OPTION? ?BOOLEA..." */)
return TCL_ERROR
__118:
;
@@ -39530,8 +41239,8 @@ __127:
if !(uint64(ii) >= (uint64(unsafe.Sizeof(aDbConfig)) / uint64(unsafe.Sizeof(DbConfigChoices{})))) {
goto __129
}
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+216, ts+11611 /* "unknown config o..." */, zOpt,
- ts+11636 /* "\"" */, uintptr(0)))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+216, ts+12390 /* "unknown config o..." */, zOpt,
+ ts+12415 /* "\"" */, uintptr(0)))
return TCL_ERROR
__129:
;
@@ -39575,7 +41284,7 @@ __16: // The input file
goto __132
}
tcl.XTcl_WrongNumArgs(tls, interp, 2, objv,
- ts+11638 /* "CONFLICT-ALGORIT..." */)
+ ts+12417 /* "CONFLICT-ALGORIT..." */)
return TCL_ERROR
__132:
;
@@ -39585,7 +41294,7 @@ __132:
zSep = tcl.XTcl_GetStringFromObj(tls, *(*uintptr)(unsafe.Pointer(objv + 5*8)), uintptr(0))
goto __134
__133:
- zSep = ts + 11700 /* "\t" */
+ zSep = ts + 12479 /* "\t" */
__134:
;
if !(objc >= 7) {
@@ -39605,25 +41314,25 @@ __136:
if !(nSep == 0) {
goto __137
}
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+264, ts+11702, /* "Error: non-null ..." */
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+264, ts+12481, /* "Error: non-null ..." */
uintptr(0)))
return TCL_ERROR
__137:
;
- if !(((((libc.Xstrcmp(tls, zConflict, ts+11746 /* "rollback" */) != 0) && (libc.Xstrcmp(tls, zConflict, ts+11755 /* "abort" */) != 0)) && (libc.Xstrcmp(tls, zConflict, ts+11761 /* "fail" */) != 0)) && (libc.Xstrcmp(tls, zConflict, ts+11766 /* "ignore" */) != 0)) && (libc.Xstrcmp(tls, zConflict, ts+11773 /* "replace" */) != 0)) {
+ if !(((((libc.Xstrcmp(tls, zConflict, ts+12525 /* "rollback" */) != 0) && (libc.Xstrcmp(tls, zConflict, ts+12534 /* "abort" */) != 0)) && (libc.Xstrcmp(tls, zConflict, ts+12540 /* "fail" */) != 0)) && (libc.Xstrcmp(tls, zConflict, ts+12545 /* "ignore" */) != 0)) && (libc.Xstrcmp(tls, zConflict, ts+12552 /* "replace" */) != 0)) {
goto __138
}
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+280, ts+11781 /* "Error: \"" */, zConflict,
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+280, ts+12560 /* "Error: \"" */, zConflict,
- ts+11790 /* "\", conflict-algo..." */, uintptr(0)))
+ ts+12569 /* "\", conflict-algo..." */, uintptr(0)))
return TCL_ERROR
__138:
;
- zSql = sqlite3.Xsqlite3_mprintf(tls, ts+11870 /* "SELECT * FROM '%..." */, libc.VaList(bp+312, zTable))
+ zSql = sqlite3.Xsqlite3_mprintf(tls, ts+12649 /* "SELECT * FROM '%..." */, libc.VaList(bp+312, zTable))
if !(zSql == uintptr(0)) {
goto __139
}
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+320, ts+11889 /* "Error: no such t..." */, zTable, uintptr(0)))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+320, ts+12668 /* "Error: no such t..." */, zTable, uintptr(0)))
return TCL_ERROR
__139:
;
@@ -39633,7 +41342,7 @@ __139:
if !(rc != 0) {
goto __140
}
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+344, ts+11912 /* "Error: " */, sqlite3.Xsqlite3_errmsg(tls, (*SqliteDb)(unsafe.Pointer(pDb)).Fdb), uintptr(0)))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+344, ts+12691 /* "Error: " */, sqlite3.Xsqlite3_errmsg(tls, (*SqliteDb)(unsafe.Pointer(pDb)).Fdb), uintptr(0)))
nCol = 0
goto __141
__140:
@@ -39651,11 +41360,11 @@ __142:
if !(zSql == uintptr(0)) {
goto __143
}
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+368, ts+11920 /* "Error: can't mal..." */, uintptr(0)))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+368, ts+12699 /* "Error: can't mal..." */, uintptr(0)))
return TCL_ERROR
__143:
;
- sqlite3.Xsqlite3_snprintf(tls, (nByte + 50), zSql, ts+11942, /* "INSERT OR %q INT..." */
+ sqlite3.Xsqlite3_snprintf(tls, (nByte + 50), zSql, ts+12721, /* "INSERT OR %q INT..." */
libc.VaList(bp+384, zConflict, zTable))
j = strlen30(tls, zSql)
i = 1
@@ -39679,16 +41388,16 @@ __146:
if !(rc != 0) {
goto __147
}
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+400, ts+11912 /* "Error: " */, sqlite3.Xsqlite3_errmsg(tls, (*SqliteDb)(unsafe.Pointer(pDb)).Fdb), uintptr(0)))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+400, ts+12691 /* "Error: " */, sqlite3.Xsqlite3_errmsg(tls, (*SqliteDb)(unsafe.Pointer(pDb)).Fdb), uintptr(0)))
sqlite3.Xsqlite3_finalize(tls, *(*uintptr)(unsafe.Pointer(bp + 1064 /* pStmt */)))
return TCL_ERROR
__147:
;
- in = libc.Xfopen(tls, zFile, ts+4273 /* "rb" */)
+ in = libc.Xfopen(tls, zFile, ts+4263 /* "rb" */)
if !(in == uintptr(0)) {
goto __148
}
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+424, ts+11974 /* "Error: cannot op..." */, zFile, uintptr(0)))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+424, ts+12753 /* "Error: cannot op..." */, zFile, uintptr(0)))
sqlite3.Xsqlite3_finalize(tls, *(*uintptr)(unsafe.Pointer(bp + 1064 /* pStmt */)))
return TCL_ERROR
__148:
@@ -39697,13 +41406,13 @@ __148:
if !(azCol == uintptr(0)) {
goto __149
}
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+448, ts+11920 /* "Error: can't mal..." */, uintptr(0)))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+448, ts+12699 /* "Error: can't mal..." */, uintptr(0)))
libc.Xfclose(tls, in)
return TCL_ERROR
__149:
;
- sqlite3.Xsqlite3_exec(tls, (*SqliteDb)(unsafe.Pointer(pDb)).Fdb, ts+12000 /* "BEGIN" */, uintptr(0), uintptr(0), uintptr(0))
- zCommit1 = ts + 11312 /* "COMMIT" */
+ sqlite3.Xsqlite3_exec(tls, (*SqliteDb)(unsafe.Pointer(pDb)).Fdb, ts+12779 /* "BEGIN" */, uintptr(0), uintptr(0), uintptr(0))
+ zCommit1 = ts + 12098 /* "COMMIT" */
__150:
if !((libc.AssignUintptr(&zLine, local_getline(tls, uintptr(0), in))) != uintptr(0)) {
goto __151
@@ -39746,13 +41455,13 @@ __154:
goto __158
}
sqlite3.Xsqlite3_snprintf(tls, nErr, zErr,
- ts+12006, /* "Error: %s line %..." */
+ ts+12785, /* "Error: %s line %..." */
libc.VaList(bp+464, zFile, lineno, nCol, (i+1)))
tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+496, zErr, uintptr(0)))
libc.Xfree(tls, zErr)
__158:
;
- zCommit1 = ts + 7272 /* "ROLLBACK" */
+ zCommit1 = ts + 7270 /* "ROLLBACK" */
goto __151
__157:
;
@@ -39785,8 +41494,8 @@ __161:
if !(rc != SQLITE_OK) {
goto __164
}
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+512, ts+11912 /* "Error: " */, sqlite3.Xsqlite3_errmsg(tls, (*SqliteDb)(unsafe.Pointer(pDb)).Fdb), uintptr(0)))
- zCommit1 = ts + 7272 /* "ROLLBACK" */
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+512, ts+12691 /* "Error: " */, sqlite3.Xsqlite3_errmsg(tls, (*SqliteDb)(unsafe.Pointer(pDb)).Fdb), uintptr(0)))
+ zCommit1 = ts + 7270 /* "ROLLBACK" */
goto __151
__164:
;
@@ -39809,7 +41518,7 @@ __151:
__165:
// failure, append lineno where failed
sqlite3.Xsqlite3_snprintf(tls, int32(unsafe.Sizeof([80]int8{})), bp+1072 /* &zLineNum[0] */, ts+1238 /* "%d" */, libc.VaList(bp+536, lineno))
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+544, ts+12066 /* ", failed while p..." */, bp+1072, /* &zLineNum[0] */
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+544, ts+12845 /* ", failed while p..." */, bp+1072, /* &zLineNum[0] */
uintptr(0)))
rc = TCL_ERROR
__166:
@@ -39828,7 +41537,7 @@ __17:
if !(objc < 3) {
goto __167
}
- tcl.XTcl_WrongNumArgs(tls, interp, 2, objv, ts+12099 /* "?DATABASE? VALUE" */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 2, objv, ts+12878 /* "?DATABASE? VALUE" */)
rc = TCL_ERROR
goto __3
__167:
@@ -39839,7 +41548,7 @@ __168:
goto __170
}
z1 = tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + uintptr(i1)*8)))
- if !((libc.Xstrcmp(tls, z1, ts+12116 /* "-maxsize" */) == 0) && (i1 < (objc - 2))) {
+ if !((libc.Xstrcmp(tls, z1, ts+12895 /* "-maxsize" */) == 0) && (i1 < (objc - 2))) {
goto __171
}
rc = tcl.XTcl_GetWideIntFromObj(tls, interp, *(*uintptr)(unsafe.Pointer(objv + uintptr(libc.PreIncInt32(&i1, 1))*8)), bp+1152 /* &mxSize */)
@@ -39852,7 +41561,7 @@ __172:
goto __169
__171:
;
- if !((libc.Xstrcmp(tls, z1, ts+12125 /* "-readonly" */) == 0) && (i1 < (objc - 2))) {
+ if !((libc.Xstrcmp(tls, z1, ts+12904 /* "-readonly" */) == 0) && (i1 < (objc - 2))) {
goto __173
}
rc = tcl.XTcl_GetBooleanFromObj(tls, interp, *(*uintptr)(unsafe.Pointer(objv + uintptr(libc.PreIncInt32(&i1, 1))*8)), bp+1160 /* &isReadonly */)
@@ -39872,7 +41581,7 @@ __173:
goto __169
__175:
;
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+568, ts+12135 /* "unknown option: " */, z1, uintptr(0)))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+568, ts+12914 /* "unknown option: " */, z1, uintptr(0)))
rc = TCL_ERROR
goto deserialize_error
goto __169
@@ -39911,7 +41620,7 @@ __180:
if !(xrc != 0) {
goto __181
}
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+608, ts+12152 /* "unable to set ME..." */, uintptr(0)))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+608, ts+12931 /* "unable to set ME..." */, uintptr(0)))
rc = TCL_ERROR
__181:
;
@@ -39931,7 +41640,7 @@ deserialize_error:
// Turn the extension loading feature on or off. It if off by
// default.
__18:
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+624, ts+12180, /* "extension loadin..." */
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+624, ts+12959, /* "extension loadin..." */
uintptr(0)))
return TCL_ERROR
@@ -39954,7 +41663,7 @@ __21:
if !(objc != 3) {
goto __183
}
- tcl.XTcl_WrongNumArgs(tls, interp, 2, objv, ts+10172 /* "SQL" */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 2, objv, ts+10170 /* "SQL" */)
return TCL_ERROR
__183:
;
@@ -40017,13 +41726,13 @@ __192:
if !(((objc > 3) && ((libc.AssignUintptr(&zOpt1, tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 2*8))))) != uintptr(0))) && (int32(*(*int8)(unsafe.Pointer(zOpt1))) == '-')) {
goto __193
}
- if !(libc.Xstrcmp(tls, zOpt1, ts+12228 /* "-withoutnulls" */) == 0) {
+ if !(libc.Xstrcmp(tls, zOpt1, ts+13007 /* "-withoutnulls" */) == 0) {
goto __194
}
evalFlags = evalFlags | (SQLITE_EVAL_WITHOUTNULLS)
goto __195
__194:
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+640, ts+12242 /* "unknown option: ..." */, zOpt1, ts+11636 /* "\"" */, uintptr(0)))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+640, ts+13021 /* "unknown option: ..." */, zOpt1, ts+12415 /* "\"" */, uintptr(0)))
return TCL_ERROR
__195:
;
@@ -40036,7 +41745,7 @@ __193:
goto __196
}
tcl.XTcl_WrongNumArgs(tls, interp, 2, objv,
- ts+12260 /* "?OPTIONS? SQL ?A..." */)
+ ts+13039 /* "?OPTIONS? SQL ?A..." */)
return TCL_ERROR
__196:
;
@@ -40133,7 +41842,7 @@ __23:
if !(objc < 4) {
goto __210
}
- tcl.XTcl_WrongNumArgs(tls, interp, 2, objv, ts+12296 /* "NAME ?SWITCHES? ..." */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 2, objv, ts+13075 /* "NAME ?SWITCHES? ..." */)
return TCL_ERROR
__210:
;
@@ -40144,13 +41853,13 @@ __211:
}
z2 = tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + uintptr(i3)*8)))
n1 = strlen30(tls, z2)
- if !((n1 > 1) && (libc.Xstrncmp(tls, z2, ts+12319 /* "-argcount" */, uint64(n1)) == 0)) {
+ if !((n1 > 1) && (libc.Xstrncmp(tls, z2, ts+13098 /* "-argcount" */, uint64(n1)) == 0)) {
goto __214
}
if !(i3 == (objc - 2)) {
goto __216
}
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+672, ts+12329 /* "option requires ..." */, z2, uintptr(0)))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+672, ts+13108 /* "option requires ..." */, z2, uintptr(0)))
return TCL_ERROR
__216:
;
@@ -40163,7 +41872,7 @@ __217:
if !(*(*int32)(unsafe.Pointer(bp + 1304 /* nArg */)) < 0) {
goto __218
}
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+696, ts+12359, /* "number of argume..." */
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+696, ts+13138, /* "number of argume..." */
uintptr(0)))
return TCL_ERROR
__218:
@@ -40171,38 +41880,38 @@ __218:
i3++
goto __215
__214:
- if !((n1 > 1) && (libc.Xstrncmp(tls, z2, ts+12400 /* "-deterministic" */, uint64(n1)) == 0)) {
+ if !((n1 > 1) && (libc.Xstrncmp(tls, z2, ts+13179 /* "-deterministic" */, uint64(n1)) == 0)) {
goto __219
}
flags1 = flags1 | (SQLITE_DETERMINISTIC)
goto __220
__219:
- if !((n1 > 1) && (libc.Xstrncmp(tls, z2, ts+12415 /* "-directonly" */, uint64(n1)) == 0)) {
+ if !((n1 > 1) && (libc.Xstrncmp(tls, z2, ts+13194 /* "-directonly" */, uint64(n1)) == 0)) {
goto __221
}
flags1 = flags1 | (SQLITE_DIRECTONLY)
goto __222
__221:
- if !((n1 > 1) && (libc.Xstrncmp(tls, z2, ts+12427 /* "-innocuous" */, uint64(n1)) == 0)) {
+ if !((n1 > 1) && (libc.Xstrncmp(tls, z2, ts+13206 /* "-innocuous" */, uint64(n1)) == 0)) {
goto __223
}
flags1 = flags1 | (SQLITE_INNOCUOUS)
goto __224
__223:
- if !((n1 > 1) && (libc.Xstrncmp(tls, z2, ts+12438 /* "-returntype" */, uint64(n1)) == 0)) {
+ if !((n1 > 1) && (libc.Xstrncmp(tls, z2, ts+13217 /* "-returntype" */, uint64(n1)) == 0)) {
goto __225
}
- *(*[6]uintptr)(unsafe.Pointer(bp + 1312 /* azType */)) = [6]uintptr{ts + 7918 /* "integer" */, ts + 12450 /* "real" */, ts + 12455 /* "text" */, ts + 12460 /* "blob" */, ts + 12465 /* "any" */, uintptr(0)}
+ *(*[6]uintptr)(unsafe.Pointer(bp + 1312 /* azType */)) = [6]uintptr{ts + 7916 /* "integer" */, ts + 13229 /* "real" */, ts + 13234 /* "text" */, ts + 13239 /* "blob" */, ts + 13244 /* "any" */, uintptr(0)}
if !(i3 == (objc - 2)) {
goto __227
}
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+712, ts+12329 /* "option requires ..." */, z2, uintptr(0)))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+712, ts+13108 /* "option requires ..." */, z2, uintptr(0)))
return TCL_ERROR
__227:
;
i3++
- if !(tcl.XTcl_GetIndexFromObjStruct(tls, interp, *(*uintptr)(unsafe.Pointer(objv + uintptr(i3)*8)), bp+1312 /* &azType[0] */, int32(unsafe.Sizeof(uintptr(0))), ts+12469 /* "type" */, 0, bp+1360 /* &eType */) != 0) {
+ if !(tcl.XTcl_GetIndexFromObjStruct(tls, interp, *(*uintptr)(unsafe.Pointer(objv + uintptr(i3)*8)), bp+1312 /* &azType[0] */, int32(unsafe.Sizeof(uintptr(0))), ts+13248 /* "type" */, 0, bp+1360 /* &eType */) != 0) {
goto __228
}
return TCL_ERROR
@@ -40211,9 +41920,9 @@ __228:
*(*int32)(unsafe.Pointer(bp + 1360 /* eType */))++
goto __226
__225:
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+736, ts+11535 /* "bad option \"" */, z2,
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+736, ts+12321 /* "bad option \"" */, z2,
- ts+12474 /* "\": must be -argc..." */, uintptr(0)))
+ ts+13253 /* "\": must be -argc..." */, uintptr(0)))
return TCL_ERROR
__226:
;
@@ -40286,7 +41995,7 @@ __24:
zDb = ts + 85 /* "main" */
// Check for the -readonly option
- if !((objc > 3) && (libc.Xstrcmp(tls, tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 2*8))), ts+12125 /* "-readonly" */) == 0)) {
+ if !((objc > 3) && (libc.Xstrcmp(tls, tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 2*8))), ts+12904 /* "-readonly" */) == 0)) {
goto __236
}
isReadonly1 = 1
@@ -40296,7 +42005,7 @@ __236:
if !((objc != (5 + isReadonly1)) && (objc != (6 + isReadonly1))) {
goto __237
}
- tcl.XTcl_WrongNumArgs(tls, interp, 2, objv, ts+12552 /* "?-readonly? ?DB?..." */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 2, objv, ts+13331 /* "?-readonly? ?DB?..." */)
return TCL_ERROR
__237:
;
@@ -40338,7 +42047,7 @@ __26:
if !((objc != 2) && (objc != 3)) {
goto __240
}
- tcl.XTcl_WrongNumArgs(tls, interp, 2, objv, ts+12588 /* "NULLVALUE" */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 2, objv, ts+13367 /* "NULLVALUE" */)
return TCL_ERROR
__240:
;
@@ -40443,7 +42152,7 @@ __256:
;
goto __250
__249:
- tcl.XTcl_WrongNumArgs(tls, interp, 2, objv, ts+12598 /* "N CALLBACK" */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 2, objv, ts+13377 /* "N CALLBACK" */)
return TCL_ERROR
__250:
;
@@ -40460,7 +42169,7 @@ __29:
if !(objc > 3) {
goto __257
}
- tcl.XTcl_WrongNumArgs(tls, interp, 2, objv, ts+11382 /* "?CALLBACK?" */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 2, objv, ts+12168 /* "?CALLBACK?" */)
return TCL_ERROR
goto __258
__257:
@@ -40517,7 +42226,7 @@ __30:
if !(objc != 3) {
goto __267
}
- tcl.XTcl_WrongNumArgs(tls, interp, 2, objv, ts+12609 /* "KEY" */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 2, objv, ts+13388 /* "KEY" */)
return TCL_ERROR
__267:
;
@@ -40544,7 +42253,7 @@ __268:
zSrcFile = tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 3*8)))
goto __271
__270:
- tcl.XTcl_WrongNumArgs(tls, interp, 2, objv, ts+11393 /* "?DATABASE? FILEN..." */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 2, objv, ts+12179 /* "?DATABASE? FILEN..." */)
return TCL_ERROR
__271:
;
@@ -40555,7 +42264,7 @@ __269:
if !(rc != SQLITE_OK) {
goto __272
}
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+800, ts+12613, /* "cannot open sour..." */
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+800, ts+13392, /* "cannot open sour..." */
sqlite3.Xsqlite3_errmsg(tls, *(*uintptr)(unsafe.Pointer(bp + 1392 /* pSrc */))), uintptr(0)))
sqlite3.Xsqlite3_close(tls, *(*uintptr)(unsafe.Pointer(bp + 1392 /* pSrc */)))
return TCL_ERROR
@@ -40565,7 +42274,7 @@ __272:
if !(pBackup1 == uintptr(0)) {
goto __273
}
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+824, ts+12643, /* "restore failed: " */
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+824, ts+13422, /* "restore failed: " */
sqlite3.Xsqlite3_errmsg(tls, (*SqliteDb)(unsafe.Pointer(pDb)).Fdb), uintptr(0)))
sqlite3.Xsqlite3_close(tls, *(*uintptr)(unsafe.Pointer(bp + 1392 /* pSrc */)))
return TCL_ERROR
@@ -40601,12 +42310,12 @@ __278:
if !((rc == SQLITE_BUSY) || (rc == SQLITE_LOCKED)) {
goto __280
}
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+848, ts+12660, /* "restore failed: ..." */
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+848, ts+13439, /* "restore failed: ..." */
uintptr(0)))
rc = TCL_ERROR
goto __281
__280:
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+864, ts+12643, /* "restore failed: " */
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+864, ts+13422, /* "restore failed: " */
sqlite3.Xsqlite3_errmsg(tls, (*SqliteDb)(unsafe.Pointer(pDb)).Fdb), uintptr(0)))
rc = TCL_ERROR
__281:
@@ -40629,7 +42338,7 @@ __32:
if !((objc != 2) && (objc != 3)) {
goto __282
}
- tcl.XTcl_WrongNumArgs(tls, interp, 2, objv, ts+12697 /* "?DATABASE?" */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 2, objv, ts+13476 /* "?DATABASE?" */)
rc = TCL_ERROR
goto __283
__282:
@@ -40663,37 +42372,37 @@ __33:
if !(objc != 3) {
goto __287
}
- tcl.XTcl_WrongNumArgs(tls, interp, 2, objv, ts+12708 /* "(step|sort|autoi..." */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 2, objv, ts+13487 /* "(step|sort|autoi..." */)
return TCL_ERROR
__287:
;
zOp = tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 2*8)))
- if !(libc.Xstrcmp(tls, zOp, ts+10122 /* "step" */) == 0) {
+ if !(libc.Xstrcmp(tls, zOp, ts+10120 /* "step" */) == 0) {
goto __288
}
v2 = (*SqliteDb)(unsafe.Pointer(pDb)).FnStep
goto __289
__288:
- if !(libc.Xstrcmp(tls, zOp, ts+12730 /* "sort" */) == 0) {
+ if !(libc.Xstrcmp(tls, zOp, ts+13509 /* "sort" */) == 0) {
goto __290
}
v2 = (*SqliteDb)(unsafe.Pointer(pDb)).FnSort
goto __291
__290:
- if !(libc.Xstrcmp(tls, zOp, ts+12735 /* "autoindex" */) == 0) {
+ if !(libc.Xstrcmp(tls, zOp, ts+13514 /* "autoindex" */) == 0) {
goto __292
}
v2 = (*SqliteDb)(unsafe.Pointer(pDb)).FnIndex
goto __293
__292:
- if !(libc.Xstrcmp(tls, zOp, ts+12745 /* "vmstep" */) == 0) {
+ if !(libc.Xstrcmp(tls, zOp, ts+13524 /* "vmstep" */) == 0) {
goto __294
}
v2 = (*SqliteDb)(unsafe.Pointer(pDb)).FnVMStep
goto __295
__294:
tcl.XTcl_AppendResult(tls, interp,
- libc.VaList(bp+888, ts+12752, /* "bad argument: sh..." */
+ libc.VaList(bp+888, ts+13531, /* "bad argument: sh..." */
uintptr(0)))
return TCL_ERROR
__295:
@@ -40714,7 +42423,7 @@ __34:
if !(objc != 3) {
goto __296
}
- tcl.XTcl_WrongNumArgs(tls, interp, 2, objv, ts+12808 /* "MILLISECONDS" */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 2, objv, ts+13587 /* "MILLISECONDS" */)
return TCL_ERROR
__296:
;
@@ -40752,7 +42461,7 @@ __36:
if !(objc > 3) {
goto __299
}
- tcl.XTcl_WrongNumArgs(tls, interp, 2, objv, ts+11382 /* "?CALLBACK?" */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 2, objv, ts+12168 /* "?CALLBACK?" */)
return TCL_ERROR
goto __300
__299:
@@ -40811,7 +42520,7 @@ __37:
if !(objc > 4) {
goto __309
}
- tcl.XTcl_WrongNumArgs(tls, interp, 2, objv, ts+12821 /* "?CALLBACK? ?MASK..." */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 2, objv, ts+13600 /* "?CALLBACK? ?MASK..." */)
return TCL_ERROR
goto __310
__309:
@@ -40847,7 +42556,7 @@ __317:
return TCL_ERROR
__320:
;
- if !(tcl.XTcl_GetIndexFromObjStruct(tls, interp, *(*uintptr)(unsafe.Pointer(bp + 1424 /* pObj */)), uintptr(unsafe.Pointer(&TTYPE_strs)), int32(unsafe.Sizeof(uintptr(0))), ts+12839 /* "trace type" */, 0, bp+1432 /* &ttype */) != TCL_OK) {
+ if !(tcl.XTcl_GetIndexFromObjStruct(tls, interp, *(*uintptr)(unsafe.Pointer(bp + 1424 /* pObj */)), uintptr(unsafe.Pointer(&TTYPE_strs)), int32(unsafe.Sizeof(uintptr(0))), ts+13618 /* "trace type" */, 0, bp+1432 /* &ttype */) != TCL_OK) {
goto __321
}
pError = tcl.XTcl_DuplicateObj(tls, tcl.XTcl_GetObjResult(tls, interp))
@@ -40981,11 +42690,11 @@ __310:
// This command was inspired by Dave Thomas's talk on Ruby at the
// 2005 O'Reilly Open Source Convention (OSCON).
__38:
- zBegin = ts + 12850 /* "SAVEPOINT _tcl_t..." */
+ zBegin = ts + 13629 /* "SAVEPOINT _tcl_t..." */
if !((objc != 3) && (objc != 4)) {
goto __343
}
- tcl.XTcl_WrongNumArgs(tls, interp, 2, objv, ts+12877 /* "[TYPE] SCRIPT" */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 2, objv, ts+13656 /* "[TYPE] SCRIPT" */)
return TCL_ERROR
__343:
;
@@ -40993,7 +42702,7 @@ __343:
if !(((*SqliteDb)(unsafe.Pointer(pDb)).FnTransaction == 0) && (objc == 4)) {
goto __344
}
- if !(tcl.XTcl_GetIndexFromObjStruct(tls, interp, *(*uintptr)(unsafe.Pointer(objv + 2*8)), uintptr(unsafe.Pointer(&TTYPE_strs1)), int32(unsafe.Sizeof(uintptr(0))), ts+12891 /* "transaction type" */, 0, bp+1448 /* &ttype1 */) != 0) {
+ if !(tcl.XTcl_GetIndexFromObjStruct(tls, interp, *(*uintptr)(unsafe.Pointer(objv + 2*8)), uintptr(unsafe.Pointer(&TTYPE_strs1)), int32(unsafe.Sizeof(uintptr(0))), ts+13670 /* "transaction type" */, 0, bp+1448 /* &ttype1 */) != 0) {
goto __345
}
return TCL_ERROR
@@ -41012,10 +42721,10 @@ __347: /* no-op */
;
goto __346
__348:
- zBegin = ts + 12908 /* "BEGIN EXCLUSIVE" */
+ zBegin = ts + 13687 /* "BEGIN EXCLUSIVE" */
goto __346
__349:
- zBegin = ts + 12924 /* "BEGIN IMMEDIATE" */
+ zBegin = ts + 13703 /* "BEGIN IMMEDIATE" */
goto __346
__346:
;
@@ -41060,7 +42769,7 @@ __39:
if !((objc != 2) && (objc != 3)) {
goto __353
}
- tcl.XTcl_WrongNumArgs(tls, interp, 2, objv, ts+12940 /* "?SCRIPT?" */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 2, objv, ts+13719 /* "?SCRIPT?" */)
rc = TCL_ERROR
goto __354
__353:
@@ -41122,7 +42831,7 @@ __40:
if !(objc < 3) {
goto __362
}
- tcl.XTcl_WrongNumArgs(tls, interp, 2, objv, ts+12949 /* "SUB-COMMAND ?ARG..." */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 2, objv, ts+13728 /* "SUB-COMMAND ?ARG..." */)
__362:
;
if !(tcl.XTcl_GetIndexFromObjStruct(tls, interp, *(*uintptr)(unsafe.Pointer(objv + 2*8)), uintptr(unsafe.Pointer(&azSub)), int32(unsafe.Sizeof(uintptr(0))), ts+1875 /* "sub-command" */, 0, bp+1464 /* &iSub */) != 0) {
@@ -41157,7 +42866,7 @@ __366:
if !(objc > 4) {
goto __370
}
- tcl.XTcl_WrongNumArgs(tls, interp, 2, objv, ts+12968 /* "hook ?SCRIPT?" */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 2, objv, ts+13747 /* "hook ?SCRIPT?" */)
return TCL_ERROR
__370:
;
@@ -41186,7 +42895,7 @@ __369:
if !(objc != 4) {
goto __372
}
- tcl.XTcl_WrongNumArgs(tls, interp, 3, objv, ts+12982 /* "INDEX" */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 3, objv, ts+13761 /* "INDEX" */)
return TCL_ERROR
__372:
;
@@ -41254,7 +42963,7 @@ __380:
if !(objc > 3) {
goto __381
}
- tcl.XTcl_WrongNumArgs(tls, interp, 2, objv, ts+12940 /* "?SCRIPT?" */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 2, objv, ts+13719 /* "?SCRIPT?" */)
return TCL_ERROR
__381:
;
@@ -41281,7 +42990,7 @@ __382:
// $db version -use-legacy-prepare BOOLEAN
//
// Turn the use of legacy sqlite3_prepare() on or off.
- if !((libc.Xstrcmp(tls, zArg, ts+12988 /* "-use-legacy-prep..." */) == 0) && ((i5 + 1) < objc)) {
+ if !((libc.Xstrcmp(tls, zArg, ts+13767 /* "-use-legacy-prep..." */) == 0) && ((i5 + 1) < objc)) {
goto __385
}
i5++
@@ -41298,10 +43007,10 @@ __385:
//
// Return a string which is a hex encoding of the pointer to the
// most recent sqlite3_stmt in the statement cache.
- if !(libc.Xstrcmp(tls, zArg, ts+13008 /* "-last-stmt-ptr" */) == 0) {
+ if !(libc.Xstrcmp(tls, zArg, ts+13787 /* "-last-stmt-ptr" */) == 0) {
goto __388
}
- sqlite3.Xsqlite3_snprintf(tls, int32(unsafe.Sizeof([100]int8{})), bp+1480 /* &zBuf[0] */, ts+13023, /* "%p" */
+ sqlite3.Xsqlite3_snprintf(tls, int32(unsafe.Sizeof([100]int8{})), bp+1480 /* &zBuf[0] */, ts+13802, /* "%p" */
libc.VaList(bp+984, func() uintptr {
if (*SqliteDb)(unsafe.Pointer(pDb)).FstmtList != 0 {
return (*SqlPreparedStmt)(unsafe.Pointer((*SqliteDb)(unsafe.Pointer(pDb)).FstmtList)).FpStmt
@@ -41312,7 +43021,7 @@ __385:
goto __389
__388:
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+992, ts+13026 /* "unknown argument..." */, zArg, uintptr(0)))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+992, ts+13805 /* "unknown argument..." */, zArg, uintptr(0)))
return TCL_ERROR
__389:
;
@@ -41345,46 +43054,46 @@ type DbConfigChoices = struct {
} /* tclsqlite.c:2340:18 */
var DB_strs = [42]uintptr{
- ts + 13045 /* "authorizer" */, ts + 13056 /* "backup" */, ts + 13063, /* "bind_fallback" */
- ts + 13077 /* "busy" */, ts + 13082 /* "cache" */, ts + 13088, /* "changes" */
- ts + 10127 /* "close" */, ts + 13096 /* "collate" */, ts + 13104, /* "collation_needed" */
- ts + 13121 /* "commit_hook" */, ts + 13133 /* "complete" */, ts + 13142, /* "config" */
- ts + 13149 /* "copy" */, ts + 13154 /* "deserialize" */, ts + 13166, /* "enable_load_exte..." */
- ts + 13188 /* "errorcode" */, ts + 4767 /* "eval" */, ts + 13198, /* "exists" */
- ts + 13205 /* "function" */, ts + 10526 /* "incrblob" */, ts + 13214, /* "interrupt" */
- ts + 13224 /* "last_insert_rowi..." */, ts + 13242 /* "nullvalue" */, ts + 13252, /* "onecolumn" */
- ts + 13262 /* "preupdate" */, ts + 13272 /* "profile" */, ts + 10201, /* "progress" */
- ts + 13280 /* "rekey" */, ts + 13286 /* "restore" */, ts + 13294, /* "rollback_hook" */
- ts + 13308 /* "serialize" */, ts + 13318 /* "status" */, ts + 13325, /* "timeout" */
- ts + 13333 /* "total_changes" */, ts + 13347 /* "trace" */, ts + 13353, /* "trace_v2" */
- ts + 13362 /* "transaction" */, ts + 13374 /* "unlock_notify" */, ts + 13388, /* "update_hook" */
- ts + 13400 /* "version" */, ts + 13408 /* "wal_hook" */, uintptr(0),
+ ts + 13824 /* "authorizer" */, ts + 13835 /* "backup" */, ts + 13842, /* "bind_fallback" */
+ ts + 13856 /* "busy" */, ts + 13861 /* "cache" */, ts + 13867, /* "changes" */
+ ts + 10125 /* "close" */, ts + 13875 /* "collate" */, ts + 13883, /* "collation_needed" */
+ ts + 13900 /* "commit_hook" */, ts + 13912 /* "complete" */, ts + 13921, /* "config" */
+ ts + 13928 /* "copy" */, ts + 13933 /* "deserialize" */, ts + 13945, /* "enable_load_exte..." */
+ ts + 13967 /* "errorcode" */, ts + 4757 /* "eval" */, ts + 13977, /* "exists" */
+ ts + 13984 /* "function" */, ts + 11333 /* "incrblob" */, ts + 13993, /* "interrupt" */
+ ts + 14003 /* "last_insert_rowi..." */, ts + 14021 /* "nullvalue" */, ts + 14031, /* "onecolumn" */
+ ts + 14041 /* "preupdate" */, ts + 14051 /* "profile" */, ts + 10199, /* "progress" */
+ ts + 14059 /* "rekey" */, ts + 14065 /* "restore" */, ts + 14073, /* "rollback_hook" */
+ ts + 14087 /* "serialize" */, ts + 14097 /* "status" */, ts + 14104, /* "timeout" */
+ ts + 14112 /* "total_changes" */, ts + 14126 /* "trace" */, ts + 14132, /* "trace_v2" */
+ ts + 14141 /* "transaction" */, ts + 14153 /* "unlock_notify" */, ts + 14167, /* "update_hook" */
+ ts + 14179 /* "version" */, ts + 14187 /* "wal_hook" */, uintptr(0),
} /* tclsqlite.c:1916:21 */
var aDbConfig = [16]DbConfigChoices{
- {FzName: ts + 13417 /* "defensive" */, Fop: SQLITE_DBCONFIG_DEFENSIVE},
- {FzName: ts + 13427 /* "dqs_ddl" */, Fop: SQLITE_DBCONFIG_DQS_DDL},
- {FzName: ts + 13435 /* "dqs_dml" */, Fop: SQLITE_DBCONFIG_DQS_DML},
- {FzName: ts + 13443 /* "enable_fkey" */, Fop: SQLITE_DBCONFIG_ENABLE_FKEY},
- {FzName: ts + 13455 /* "enable_qpsg" */, Fop: SQLITE_DBCONFIG_ENABLE_QPSG},
- {FzName: ts + 13467 /* "enable_trigger" */, Fop: SQLITE_DBCONFIG_ENABLE_TRIGGER},
- {FzName: ts + 13482 /* "enable_view" */, Fop: SQLITE_DBCONFIG_ENABLE_VIEW},
- {FzName: ts + 13494 /* "fts3_tokenizer" */, Fop: SQLITE_DBCONFIG_ENABLE_FTS3_TOKENIZER},
- {FzName: ts + 13509 /* "legacy_alter_tab..." */, Fop: SQLITE_DBCONFIG_LEGACY_ALTER_TABLE},
- {FzName: ts + 13528 /* "legacy_file_form..." */, Fop: SQLITE_DBCONFIG_LEGACY_FILE_FORMAT},
- {FzName: ts + 13547 /* "load_extension" */, Fop: SQLITE_DBCONFIG_ENABLE_LOAD_EXTENSION},
- {FzName: ts + 13562 /* "no_ckpt_on_close" */, Fop: SQLITE_DBCONFIG_NO_CKPT_ON_CLOSE},
- {FzName: ts + 13579 /* "reset_database" */, Fop: SQLITE_DBCONFIG_RESET_DATABASE},
- {FzName: ts + 13594 /* "trigger_eqp" */, Fop: SQLITE_DBCONFIG_TRIGGER_EQP},
- {FzName: ts + 13606 /* "trusted_schema" */, Fop: SQLITE_DBCONFIG_TRUSTED_SCHEMA},
- {FzName: ts + 13621 /* "writable_schema" */, Fop: SQLITE_DBCONFIG_WRITABLE_SCHEMA},
+ {FzName: ts + 14196 /* "defensive" */, Fop: SQLITE_DBCONFIG_DEFENSIVE},
+ {FzName: ts + 14206 /* "dqs_ddl" */, Fop: SQLITE_DBCONFIG_DQS_DDL},
+ {FzName: ts + 14214 /* "dqs_dml" */, Fop: SQLITE_DBCONFIG_DQS_DML},
+ {FzName: ts + 14222 /* "enable_fkey" */, Fop: SQLITE_DBCONFIG_ENABLE_FKEY},
+ {FzName: ts + 14234 /* "enable_qpsg" */, Fop: SQLITE_DBCONFIG_ENABLE_QPSG},
+ {FzName: ts + 14246 /* "enable_trigger" */, Fop: SQLITE_DBCONFIG_ENABLE_TRIGGER},
+ {FzName: ts + 14261 /* "enable_view" */, Fop: SQLITE_DBCONFIG_ENABLE_VIEW},
+ {FzName: ts + 14273 /* "fts3_tokenizer" */, Fop: SQLITE_DBCONFIG_ENABLE_FTS3_TOKENIZER},
+ {FzName: ts + 14288 /* "legacy_alter_tab..." */, Fop: SQLITE_DBCONFIG_LEGACY_ALTER_TABLE},
+ {FzName: ts + 14307 /* "legacy_file_form..." */, Fop: SQLITE_DBCONFIG_LEGACY_FILE_FORMAT},
+ {FzName: ts + 14326 /* "load_extension" */, Fop: SQLITE_DBCONFIG_ENABLE_LOAD_EXTENSION},
+ {FzName: ts + 14341 /* "no_ckpt_on_close" */, Fop: SQLITE_DBCONFIG_NO_CKPT_ON_CLOSE},
+ {FzName: ts + 14358 /* "reset_database" */, Fop: SQLITE_DBCONFIG_RESET_DATABASE},
+ {FzName: ts + 14373 /* "trigger_eqp" */, Fop: SQLITE_DBCONFIG_TRIGGER_EQP},
+ {FzName: ts + 14385 /* "trusted_schema" */, Fop: SQLITE_DBCONFIG_TRUSTED_SCHEMA},
+ {FzName: ts + 14400 /* "writable_schema" */, Fop: SQLITE_DBCONFIG_WRITABLE_SCHEMA},
} /* tclsqlite.c:2343:7 */
var TTYPE_strs = [5]uintptr{
- ts + 13637 /* "statement" */, ts + 13272 /* "profile" */, ts + 13647 /* "row" */, ts + 10127 /* "close" */, uintptr(0),
+ ts + 14416 /* "statement" */, ts + 14051 /* "profile" */, ts + 14426 /* "row" */, ts + 10125 /* "close" */, uintptr(0),
} /* tclsqlite.c:3321:27 */
var TTYPE_strs1 = [4]uintptr{
- ts + 13651 /* "deferred" */, ts + 13660 /* "exclusive" */, ts + 13670 /* "immediate" */, uintptr(0),
+ ts + 14430 /* "deferred" */, ts + 14439 /* "exclusive" */, ts + 14449 /* "immediate" */, uintptr(0),
} /* tclsqlite.c:3404:25 */
-var azSub = [6]uintptr{ts + 1826 /* "count" */, ts + 13680 /* "depth" */, ts + 13686 /* "hook" */, ts + 13691 /* "new" */, ts + 13695 /* "old" */, uintptr(0)} /* tclsqlite.c:3496:23 */
+var azSub = [6]uintptr{ts + 1826 /* "count" */, ts + 14459 /* "depth" */, ts + 14465 /* "hook" */, ts + 14470 /* "new" */, ts + 14474 /* "old" */, uintptr(0)} /* tclsqlite.c:3496:23 */
// Adaptor that provides an objCmd interface to the NRE-enabled
// interface implementation.
@@ -41399,7 +43108,7 @@ func DbObjCmdAdaptor(tls *libc.TLS, cd uintptr, interp uintptr, objc int32, objv
func sqliteCmdUsage(tls *libc.TLS, interp uintptr, objv uintptr) int32 { /* tclsqlite.c:3661:12: */
tcl.XTcl_WrongNumArgs(tls, interp, 1, objv,
- ts+13699 /* "HANDLE ?FILENAME..." */)
+ ts+14478 /* "HANDLE ?FILENAME..." */)
return TCL_ERROR
}
@@ -41445,16 +43154,16 @@ func DbMain(tls *libc.TLS, cd uintptr, interp uintptr, objc int32, objv uintptr)
}
if objc == 2 {
zArg = tcl.XTcl_GetStringFromObj(tls, *(*uintptr)(unsafe.Pointer(objv + 1*8)), uintptr(0))
- if libc.Xstrcmp(tls, zArg, ts+13845 /* "-version" */) == 0 {
+ if libc.Xstrcmp(tls, zArg, ts+14624 /* "-version" */) == 0 {
tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, sqlite3.Xsqlite3_libversion(tls), uintptr(0)))
return TCL_OK
}
- if libc.Xstrcmp(tls, zArg, ts+13854 /* "-sourceid" */) == 0 {
+ if libc.Xstrcmp(tls, zArg, ts+14633 /* "-sourceid" */) == 0 {
tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+16, sqlite3.Xsqlite3_sourceid(tls), uintptr(0)))
return TCL_OK
}
- if libc.Xstrcmp(tls, zArg, ts+13864 /* "-has-codec" */) == 0 {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+32, ts+13875 /* "0" */, uintptr(0)))
+ if libc.Xstrcmp(tls, zArg, ts+14643 /* "-has-codec" */) == 0 {
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+32, ts+14654 /* "0" */, uintptr(0)))
return TCL_OK
}
if int32(*(*int8)(unsafe.Pointer(zArg))) == '-' {
@@ -41474,11 +43183,11 @@ func DbMain(tls *libc.TLS, cd uintptr, interp uintptr, objc int32, objv uintptr)
return sqliteCmdUsage(tls, interp, objv)
}
i++
- if libc.Xstrcmp(tls, zArg, ts+13877 /* "-key" */) == 0 {
+ if libc.Xstrcmp(tls, zArg, ts+14656 /* "-key" */) == 0 {
// no-op
- } else if libc.Xstrcmp(tls, zArg, ts+13882 /* "-vfs" */) == 0 {
+ } else if libc.Xstrcmp(tls, zArg, ts+14661 /* "-vfs" */) == 0 {
zVfs = tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + uintptr(i)*8)))
- } else if libc.Xstrcmp(tls, zArg, ts+12125 /* "-readonly" */) == 0 {
+ } else if libc.Xstrcmp(tls, zArg, ts+12904 /* "-readonly" */) == 0 {
// var b int32 at bp+88, 4
if tcl.XTcl_GetBooleanFromObj(tls, interp, *(*uintptr)(unsafe.Pointer(objv + uintptr(i)*8)), bp+88 /* &b */) != 0 {
@@ -41491,7 +43200,7 @@ func DbMain(tls *libc.TLS, cd uintptr, interp uintptr, objc int32, objv uintptr)
flags = flags & (libc.CplInt32(SQLITE_OPEN_READONLY))
flags = flags | (SQLITE_OPEN_READWRITE)
}
- } else if libc.Xstrcmp(tls, zArg, ts+13887 /* "-create" */) == 0 {
+ } else if libc.Xstrcmp(tls, zArg, ts+14666 /* "-create" */) == 0 {
// var b int32 at bp+92, 4
if tcl.XTcl_GetBooleanFromObj(tls, interp, *(*uintptr)(unsafe.Pointer(objv + uintptr(i)*8)), bp+92 /* &b */) != 0 {
@@ -41502,7 +43211,7 @@ func DbMain(tls *libc.TLS, cd uintptr, interp uintptr, objc int32, objv uintptr)
} else {
flags = flags & (libc.CplInt32(SQLITE_OPEN_CREATE))
}
- } else if libc.Xstrcmp(tls, zArg, ts+13895 /* "-nofollow" */) == 0 {
+ } else if libc.Xstrcmp(tls, zArg, ts+14674 /* "-nofollow" */) == 0 {
// var b int32 at bp+96, 4
if tcl.XTcl_GetBooleanFromObj(tls, interp, *(*uintptr)(unsafe.Pointer(objv + uintptr(i)*8)), bp+96 /* &b */) != 0 {
@@ -41513,7 +43222,7 @@ func DbMain(tls *libc.TLS, cd uintptr, interp uintptr, objc int32, objv uintptr)
} else {
flags = flags & (libc.CplInt32(SQLITE_OPEN_NOFOLLOW))
}
- } else if libc.Xstrcmp(tls, zArg, ts+13905 /* "-nomutex" */) == 0 {
+ } else if libc.Xstrcmp(tls, zArg, ts+14684 /* "-nomutex" */) == 0 {
// var b int32 at bp+100, 4
if tcl.XTcl_GetBooleanFromObj(tls, interp, *(*uintptr)(unsafe.Pointer(objv + uintptr(i)*8)), bp+100 /* &b */) != 0 {
@@ -41525,7 +43234,7 @@ func DbMain(tls *libc.TLS, cd uintptr, interp uintptr, objc int32, objv uintptr)
} else {
flags = flags & (libc.CplInt32(SQLITE_OPEN_NOMUTEX))
}
- } else if libc.Xstrcmp(tls, zArg, ts+13914 /* "-fullmutex" */) == 0 {
+ } else if libc.Xstrcmp(tls, zArg, ts+14693 /* "-fullmutex" */) == 0 {
// var b int32 at bp+104, 4
if tcl.XTcl_GetBooleanFromObj(tls, interp, *(*uintptr)(unsafe.Pointer(objv + uintptr(i)*8)), bp+104 /* &b */) != 0 {
@@ -41537,7 +43246,7 @@ func DbMain(tls *libc.TLS, cd uintptr, interp uintptr, objc int32, objv uintptr)
} else {
flags = flags & (libc.CplInt32(SQLITE_OPEN_FULLMUTEX))
}
- } else if libc.Xstrcmp(tls, zArg, ts+13925 /* "-uri" */) == 0 {
+ } else if libc.Xstrcmp(tls, zArg, ts+14704 /* "-uri" */) == 0 {
// var b int32 at bp+108, 4
if tcl.XTcl_GetBooleanFromObj(tls, interp, *(*uintptr)(unsafe.Pointer(objv + uintptr(i)*8)), bp+108 /* &b */) != 0 {
@@ -41548,12 +43257,12 @@ func DbMain(tls *libc.TLS, cd uintptr, interp uintptr, objc int32, objv uintptr)
} else {
flags = flags & (libc.CplInt32(SQLITE_OPEN_URI))
}
- } else if libc.Xstrcmp(tls, zArg, ts+13930 /* "-translatefilena..." */) == 0 {
+ } else if libc.Xstrcmp(tls, zArg, ts+14709 /* "-translatefilena..." */) == 0 {
if tcl.XTcl_GetBooleanFromObj(tls, interp, *(*uintptr)(unsafe.Pointer(objv + uintptr(i)*8)), bp+112 /* &bTranslateFileName */) != 0 {
return TCL_ERROR
}
} else {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+48, ts+12135 /* "unknown option: " */, zArg, uintptr(0)))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+48, ts+12914 /* "unknown option: " */, zArg, uintptr(0)))
return TCL_ERROR
}
}
@@ -41628,16 +43337,16 @@ func Sqlite3_Init(tls *libc.TLS, interp uintptr) int32 { /* tclsqlite.c:3877:12:
rc = TCL_ERROR
}
if rc == TCL_OK {
- tcl.XTcl_CreateObjCommand(tls, interp, ts+13949 /* "sqlite3" */, *(*uintptr)(unsafe.Pointer(&struct {
+ tcl.XTcl_CreateObjCommand(tls, interp, ts+14728 /* "sqlite3" */, *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32
}{DbMain})), uintptr(0), uintptr(0))
// The "sqlite" alias is undocumented. It is here only to support
// legacy scripts. All new scripts should use only the "sqlite3"
// command.
- tcl.XTcl_CreateObjCommand(tls, interp, ts+13957 /* "sqlite" */, *(*uintptr)(unsafe.Pointer(&struct {
+ tcl.XTcl_CreateObjCommand(tls, interp, ts+14736 /* "sqlite" */, *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32
}{DbMain})), uintptr(0), uintptr(0))
- rc = tcl.XTcl_PkgProvideEx(tls, interp, ts+13949 /* "sqlite3" */, ts+13964 /* "3.35.5" */, uintptr(0))
+ rc = tcl.XTcl_PkgProvideEx(tls, interp, ts+14728 /* "sqlite3" */, ts+14743 /* "3.36.0" */, uintptr(0))
}
return rc
}
@@ -41690,7 +43399,7 @@ func tclsh_main_loop(tls *libc.TLS) uintptr { /* tclsqlite.c:3920:19: */
return uintptr(unsafe.Pointer(&zMainloop))
}
-var zMainloop = *(*[431]int8)(unsafe.Pointer(ts + 13971 /* "if {[llength $ar..." */)) /* tclsqlite.c:3921:21 */
+var zMainloop = *(*[431]int8)(unsafe.Pointer(ts + 14750 /* "if {[llength $ar..." */)) /* tclsqlite.c:3921:21 */
func main1(tls *libc.TLS, argc int32, argv uintptr) int32 { /* tclsqlite.c:3953:18: */
bp := tls.Alloc(64)
@@ -41701,10 +43410,10 @@ func main1(tls *libc.TLS, argc int32, argv uintptr) int32 { /* tclsqlite.c:3953:
var zScript uintptr = uintptr(0)
// var zArgc [32]int8 at bp+32, 32
- if libc.Xgetenv(tls, ts+14402 /* "SQLITE_DEBUG_BRE..." */) != 0 {
+ if libc.Xgetenv(tls, ts+15181 /* "SQLITE_DEBUG_BRE..." */) != 0 {
if (libc.Xisatty(tls, 0) != 0) && (libc.Xisatty(tls, 2) != 0) {
libc.Xfprintf(tls, libc.Xstderr,
- ts+14421, /* "attach debugger ..." */
+ ts+15200, /* "attach debugger ..." */
libc.VaList(bp, libc.Xgetpid(tls)))
libc.Xfgetc(tls, libc.Xstdin)
} else {
@@ -41718,27 +43427,27 @@ func main1(tls *libc.TLS, argc int32, argv uintptr) int32 { /* tclsqlite.c:3953:
sqlite3.Xsqlite3_shutdown(tls)
tcl.XTcl_FindExecutable(tls, *(*uintptr)(unsafe.Pointer(argv)))
- tcl.XTcl_SetSystemEncoding(tls, uintptr(0), ts+14483 /* "utf-8" */)
+ tcl.XTcl_SetSystemEncoding(tls, uintptr(0), ts+15262 /* "utf-8" */)
interp = tcl.XTcl_CreateInterp(tls)
Sqlite3_Init(tls, interp)
sqlite3.Xsqlite3_snprintf(tls, int32(unsafe.Sizeof([32]int8{})), bp+32 /* &zArgc[0] */, ts+1238 /* "%d" */, libc.VaList(bp+8, (argc-1)))
- tcl.XTcl_SetVar2(tls, interp, ts+14489 /* "argc" */, uintptr(0), bp+32 /* &zArgc[0] */, TCL_GLOBAL_ONLY)
- tcl.XTcl_SetVar2(tls, interp, ts+14494 /* "argv0" */, uintptr(0), *(*uintptr)(unsafe.Pointer(argv)), TCL_GLOBAL_ONLY)
- tcl.XTcl_SetVar2(tls, interp, ts+14500 /* "argv" */, uintptr(0), ts+489 /* "" */, TCL_GLOBAL_ONLY)
+ tcl.XTcl_SetVar2(tls, interp, ts+15268 /* "argc" */, uintptr(0), bp+32 /* &zArgc[0] */, TCL_GLOBAL_ONLY)
+ tcl.XTcl_SetVar2(tls, interp, ts+15273 /* "argv0" */, uintptr(0), *(*uintptr)(unsafe.Pointer(argv)), TCL_GLOBAL_ONLY)
+ tcl.XTcl_SetVar2(tls, interp, ts+15279 /* "argv" */, uintptr(0), ts+489 /* "" */, TCL_GLOBAL_ONLY)
for i = 1; i < argc; i++ {
- tcl.XTcl_SetVar2(tls, interp, ts+14500 /* "argv" */, uintptr(0), *(*uintptr)(unsafe.Pointer(argv + uintptr(i)*8)), ((TCL_GLOBAL_ONLY | TCL_LIST_ELEMENT) | TCL_APPEND_VALUE))
+ tcl.XTcl_SetVar2(tls, interp, ts+15279 /* "argv" */, uintptr(0), *(*uintptr)(unsafe.Pointer(argv + uintptr(i)*8)), ((TCL_GLOBAL_ONLY | TCL_LIST_ELEMENT) | TCL_APPEND_VALUE))
}
zScript = sqlite3TestInit(tls, interp)
if zScript == uintptr(0) {
zScript = tclsh_main_loop(tls)
}
if tcl.XTcl_GlobalEval(tls, interp, zScript) != TCL_OK {
- var zInfo uintptr = tcl.XTcl_GetVar2(tls, interp, ts+14505 /* "errorInfo" */, uintptr(0), TCL_GLOBAL_ONLY)
+ var zInfo uintptr = tcl.XTcl_GetVar2(tls, interp, ts+15284 /* "errorInfo" */, uintptr(0), TCL_GLOBAL_ONLY)
if zInfo == uintptr(0) {
zInfo = tcl.XTcl_GetStringResult(tls, interp)
}
- libc.Xfprintf(tls, libc.Xstderr, ts+14515 /* "%s: %s\n" */, libc.VaList(bp+16, *(*uintptr)(unsafe.Pointer(argv)), zInfo))
+ libc.Xfprintf(tls, libc.Xstderr, ts+15294 /* "%s: %s\n" */, libc.VaList(bp+16, *(*uintptr)(unsafe.Pointer(argv)), zInfo))
return 1
}
return 0
@@ -41796,7 +43505,7 @@ type sqlite31 = sqlite32 /* sqlite3.h:249:24 */
// [sqlite3_value_dup()].
// The [sqlite3_value_blob | sqlite3_value_type()] family of
// interfaces require protected sqlite3_value objects.
-type sqlite3_value = sqlite3_value1 /* sqlite3.h:4258:30 */
+type sqlite3_value = sqlite3_value1 /* sqlite3.h:4286:30 */
// CAPI3REF: SQL Function Context Object
//
@@ -41808,7 +43517,7 @@ type sqlite3_value = sqlite3_value1 /* sqlite3.h:4258:30 */
// [sqlite3_aggregate_context()], [sqlite3_user_data()],
// [sqlite3_context_db_handle()], [sqlite3_get_auxdata()],
// and/or [sqlite3_set_auxdata()].
-type sqlite3_context = sqlite3_context1 /* sqlite3.h:4272:32 */
+type sqlite3_context = sqlite3_context1 /* sqlite3.h:4300:32 */
// CAPI3REF: Dynamic String Object
// KEYWORDS: {dynamic string}
@@ -41824,11 +43533,11 @@ type sqlite3_context = sqlite3_context1 /* sqlite3.h:4272:32 */
// ^The sqlite3_str object is destroyed and the string it created
// is returned using the [sqlite3_str_finish()] interface.
//
-type sqlite3_str = sqlite3_str1 /* sqlite3.h:7851:28 */
+type sqlite3_str = sqlite3_str1 /* sqlite3.h:7882:28 */
// Unsigned.
// Define uintN_t types.
-// Copyright (C) 2017-2018 Free Software Foundation, Inc.
+// Copyright (C) 2017-2020 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
@@ -41843,10 +43552,10 @@ type sqlite3_str = sqlite3_str1 /* sqlite3.h:7851:28 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// bits/types.h -- definitions of __*_t types underlying *_t types.
-// Copyright (C) 2002-2018 Free Software Foundation, Inc.
+// Copyright (C) 2002-2020 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
@@ -41861,7 +43570,7 @@ type sqlite3_str = sqlite3_str1 /* sqlite3.h:7851:28 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// Never include this file directly; use instead.
@@ -42074,12 +43783,11 @@ type ino64_t = uint64 /* types.h:54:19 */
// fd_set for select and pselect.
type fd_set1 = struct{ Ffds_bits [16]int64 } /* select.h:70:5 */ // Type to count file system inodes.
-type blkcnt64_t = int64 /* types.h:236:22 */ // Type to count number of disk blocks.
-type fsblkcnt64_t = uint64 /* types.h:237:24 */ // Type to count file system blocks.
-type fsfilcnt64_t = uint64 /* types.h:238:24 */
+type blkcnt64_t = int64 /* types.h:219:22 */ // Type to count number of disk blocks.
+type fsblkcnt64_t = uint64 /* types.h:220:24 */ // Type to count file system blocks.
+type fsfilcnt64_t = uint64 /* types.h:221:24 */
-type comparison_fn_t = uintptr /* stdlib.h:808:23 */ // 8-byte unsigned integer
-type u322 = uint32_t /* sqliteInt.h:793:21 */ // 2-byte unsigned integer
+type comparison_fn_t = uintptr /* stdlib.h:811:23 */ // 2-byte unsigned integer
type i16 = int16_t /* sqliteInt.h:795:20 */ // 1-byte unsigned integer
type i8 = int8_t /* sqliteInt.h:797:19 */ // 1-byte signed integer
@@ -42092,7 +43800,7 @@ type i8 = int8_t /* sqliteInt.h:797:19 */ // 1-byte signed integer
// table or index. This is an unsigned integer type. For 99.9% of
// the world, a 32-bit integer is sufficient. But a 64-bit integer
// can be used at compile-time if desired.
-type tRowcnt = u322 /* sqliteInt.h:816:14 */ // 32-bit is the default
+type tRowcnt = u32 /* sqliteInt.h:816:14 */ // 32-bit is the default
// Estimated quantities used for query planning are stored as 16-bit
// logarithms. For quantity X, the value stored is 10*log2(X). This
@@ -42207,7 +43915,7 @@ type AggInfo1 = struct {
FnAccumulator int32
FaFunc uintptr
FnFunc int32
- FselId u322
+ FselId u32
} /* sqlite3.h:249:9 */
// Name of table that holds the database schema.
@@ -42359,7 +44067,7 @@ type Expr1 = struct {
FaffExpr int8
Fop2 u8
_ [1]byte
- Fflags u322
+ Fflags u32
Fu struct{ FzToken uintptr }
FpLeft uintptr
FpRight uintptr
@@ -42375,9 +44083,9 @@ type Expr1 = struct {
type Expr = Expr1 /* sqliteInt.h:1144:21 */
type ExprList1 = struct {
- FnExpr int32
- _ [4]byte
- Fa [1]struct {
+ FnExpr int32
+ FnAlloc int32
+ Fa [1]struct {
FpExpr uintptr
FzEName uintptr
FsortFlags u8
@@ -42426,7 +44134,7 @@ type FuncDestructor = FuncDestructor1 /* sqliteInt.h:1147:31 */
type FuncDef1 = struct {
FnArg i8
_ [3]byte
- FfuncFlags u322
+ FfuncFlags u32
FpUserData uintptr
FpNext uintptr
FxSFunc uintptr
@@ -42490,7 +44198,7 @@ type IndexSample1 = struct {
type IndexSample = IndexSample1 /* sqliteInt.h:1152:28 */
type KeyInfo1 = struct {
- FnRef u322
+ FnRef u32
Fenc u8
_ [1]byte
FnKeyField u16
@@ -42503,13 +44211,13 @@ type KeyInfo1 = struct {
type KeyInfo = KeyInfo1 /* sqliteInt.h:1154:24 */
type Lookaside1 = struct {
- FbDisable u322
+ FbDisable u32
Fsz u16
FszTrue u16
FbMalloced u8
_ [3]byte
- FnSlot u322
- FanStat [3]u322
+ FnSlot u32
+ FanStat [3]u32
_ [4]byte
FpInit uintptr
FpFree uintptr
@@ -42541,7 +44249,7 @@ type NameContext1 = struct {
FuNC struct{ FpEList uintptr }
FpNext uintptr
FnRef int32
- FnErr int32
+ FnNcErr int32
FncFlags int32
_ [4]byte
FpWinSelect uintptr
@@ -42595,9 +44303,9 @@ type Parse1 = struct {
FaddrCrTab int32
_ [4]byte
}
- FnQueryLoop u322
- Foldmask u322
- Fnewmask u322
+ FnQueryLoop u32
+ Foldmask u32
+ Fnewmask u32
FeTriggerOp u8
FbReturning u8
FeOrconf u8
@@ -42647,7 +44355,7 @@ type PreUpdate1 = struct {
FpUnpacked uintptr
FpNewUnpacked uintptr
FiNewReg int32
- _ [4]byte
+ FiBlobWrite int32
FiKey1 i64
FiKey2 i64
FaNew uintptr
@@ -42687,10 +44395,10 @@ type Select1 = struct {
Fop u8
_ [1]byte
FnSelectRow LogEst
- FselFlags u322
+ FselFlags u32
FiLimit int32
FiOffset int32
- FselId u322
+ FselId u32
FaddrOpenEphm [2]int32
_ [4]byte
FpEList uintptr
@@ -42735,8 +44443,8 @@ type SrcItem1 = struct {
_ [0]uint32
Fjointype u8
_ [3]byte
- FnotIndexed uint8 /* unsigned notIndexed: 1, unsigned isIndexedBy: 1, unsigned isTabFunc: 1, unsigned isCorrelated: 1, unsigned viaCoroutine: 1, unsigned isRecursive: 1, unsigned fromDDL: 1, unsigned isCte: 1 */
- _ [3]byte
+ FnotIndexed uint16 /* unsigned notIndexed: 1, unsigned isIndexedBy: 1, unsigned isTabFunc: 1, unsigned isCorrelated: 1, unsigned viaCoroutine: 1, unsigned isRecursive: 1, unsigned fromDDL: 1, unsigned isCte: 1, unsigned notCte: 1 */
+ _ [2]byte
}
FiCursor int32
FpOn uintptr
@@ -42749,7 +44457,7 @@ type SrcItem1 = struct {
type SrcItem = SrcItem1 /* sqliteInt.h:1170:24 */
type SrcList1 = struct {
FnSrc int32
- FnAlloc u322
+ FnAlloc u32
Fa [1]SrcItem
} /* sqlite3.h:249:9 */
@@ -42764,8 +44472,8 @@ type Table1 = struct {
FzColAff uintptr
FpCheck uintptr
Ftnum Pgno
- FnTabRef u322
- FtabFlags u322
+ FnTabRef u32
+ FtabFlags u32
FiPKey i16
FnCol i16
FnNVCol i16
@@ -42811,7 +44519,7 @@ type TriggerPrg1 = struct {
FpNext uintptr
FpProgram uintptr
Forconf int32
- FaColmask [2]u322
+ FaColmask [2]u32
_ [4]byte
} /* sqlite3.h:249:9 */
@@ -42927,7 +44635,7 @@ type Window1 = struct {
type Window = Window1 /* sqliteInt.h:1186:23 */
type With1 = struct {
FnCte int32
- _ [4]byte
+ FbView int32
FpOuter uintptr
Fa [1]Cte
} /* sqlite3.h:249:9 */
@@ -42975,7 +44683,7 @@ type VList = int32 /* sqliteInt.h:1222:13 */
// The type used to represent a page number. The first page in a file
// is called page 1. 0 is used to represent "not a page".
-type Pgno = u322 /* pager.h:33:13 */
+type Pgno = u32 /* pager.h:33:13 */
// Handle type for pages.
type PgHdr1 = struct {
@@ -43025,7 +44733,7 @@ type Btree1 = struct {
FhasIncrblobCur u8
FwantToLock int32
FnBackup int32
- FiBDataVersion u322
+ FiBDataVersion u32
FpNext uintptr
FpPrev uintptr
Flock BtLock
@@ -43074,10 +44782,10 @@ type BtShared1 = struct {
FmaxLeaf u16
FminLeaf u16
_ [2]byte
- FpageSize u322
- FusableSize u322
+ FpageSize u32
+ FusableSize u32
FnTransaction int32
- FnPage u322
+ FnPage u32
_ [4]byte
FpSchema uintptr
FxFreeSchema uintptr
@@ -43123,7 +44831,7 @@ type BtreePayload = BtreePayload1 /* btree.h:42:29 */
// or VDBE. The VDBE implements an abstract machine that runs a
// simple program to access and modify the underlying database.
// Define ISO C stdio on top of C++ iostreams.
-// Copyright (C) 1991-2018 Free Software Foundation, Inc.
+// Copyright (C) 1991-2020 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
@@ -43138,7 +44846,7 @@ type BtreePayload = BtreePayload1 /* btree.h:42:29 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// ISO C99 Standard: 7.19 Input/output
@@ -43152,10 +44860,10 @@ type Vdbe1 = struct {
FpParse uintptr
FnVar ynVar
_ [2]byte
- FiVdbeMagic u322
+ FiVdbeMagic u32
FnMem int32
FnCursor int32
- FcacheCtr u322
+ FcacheCtr u32
Fpc int32
Frc int32
FnChange int32
@@ -43187,13 +44895,13 @@ type Vdbe1 = struct {
_ [2]byte
FbtreeMask yDbMask
FlockMask yDbMask
- FaCounter [7]u322
+ FaCounter [7]u32
FzSql uintptr
FpFree uintptr
FpFrame uintptr
FpDelFrame uintptr
FnFrame int32
- Fexpmask u322
+ Fexpmask u32
FpProgram uintptr
FpAuxData uintptr
} /* sqlite3.h:249:9 */
@@ -43214,7 +44922,7 @@ type Vdbe1 = struct {
// or VDBE. The VDBE implements an abstract machine that runs a
// simple program to access and modify the underlying database.
// Define ISO C stdio on top of C++ iostreams.
-// Copyright (C) 1991-2018 Free Software Foundation, Inc.
+// Copyright (C) 1991-2020 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
@@ -43229,7 +44937,7 @@ type Vdbe1 = struct {
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// ISO C99 Standard: 7.19 Input/output
@@ -43365,7 +45073,7 @@ type sqlite3InitInfo = struct {
FiDb u8
Fbusy u8
_ [2]byte
- ForphanTrigger uint8 /* unsigned orphanTrigger: 1, unsigned imposterTable: 1, unsigned reopenMemdb: 1, unsigned bDropColumn: 1 */
+ ForphanTrigger uint8 /* unsigned orphanTrigger: 1, unsigned imposterTable: 1, unsigned reopenMemdb: 1 */
_ [7]byte
FazInit uintptr
} /* sqlite3.h:249:9 */
@@ -43464,6 +45172,8 @@ type AggInfo_func = struct {
FpFunc uintptr
FiMem int32
FiDistinct int32
+ FiDistAddr int32
+ _ [4]byte
} /* sqlite3.h:249:9 */
// The datatype ynVar is a signed integer, either 16-bit or 32-bit.
@@ -43474,7 +45184,7 @@ type AggInfo_func = struct {
// need more than about 10 or 20 variables. But some extreme users want
// to have prepared statements with over 32766 variables, and for them
// the option is available (at compile-time).
-type ynVar = i16 /* sqliteInt.h:2625:13 */
+type ynVar = i16 /* sqliteInt.h:2622:13 */
// The following are the meanings of bits in the Expr.flags field.
// Value restrictions:
@@ -43565,7 +45275,7 @@ type IdList_item = struct {
} /* sqlite3.h:249:9 */
// The yDbMask datatype for the bitmask of all attached databases.
-type yDbMask = uint32 /* sqliteInt.h:3378:24 */
+type yDbMask = uint32 /* sqliteInt.h:3379:24 */
// A pointer to this structure is used to communicate information
// from sqlite3Init and OP_ParseSchema into the sqlite3InitCallback.
@@ -43574,14 +45284,23 @@ type InitData = struct {
FpzErrMsg uintptr
FiDb int32
Frc int32
- FmInitFlags u322
- FnInitRow u322
+ FmInitFlags u32
+ FnInitRow u32
FmxPage Pgno
_ [4]byte
-} /* sqliteInt.h:3736:3 */
+} /* sqliteInt.h:3737:3 */
// Allowed values for mInitFlags
+// Tuning parameters are set using SQLITE_TESTCTRL_TUNE and are controlled
+// on debug-builds of the CLI using ".testctrl tune ID VALUE". Tuning
+// parameters are for temporary use during development, to help find
+// optimial values for parameters in the query planner. The should not
+// be used on trunk check-ins. They are a temporary mechanism available
+// for transient development builds only.
+//
+// Tuning parameters are numbered starting with 1.
+
// Structure containing global configuration data for the SQLite library.
//
// This structure also contains some state information.
@@ -43614,7 +45333,7 @@ type Sqlite3Config = struct {
FnPage int32
FmxParserStack int32
FsharedCacheEnabled int32
- FszPma u322
+ FszPma u32
FisInit int32
FinProgress int32
FisMutexInit int32
@@ -43629,9 +45348,9 @@ type Sqlite3Config = struct {
FxTestCallback uintptr
FbLocaltimeFault int32
FiOnceResetThreshold int32
- FszSorterRef u322
+ FszSorterRef u32
FiPrngSeed uint32
-} /* sqliteInt.h:3749:1 */
+} /* sqliteInt.h:3766:1 */
// 2003 September 6
//
@@ -43699,12 +45418,12 @@ type VdbeCursor1 = struct {
FpBtx uintptr
FseqCount i64
FaAltMap uintptr
- FcacheStatus u322
+ FcacheStatus u32
FseekResult int32
FpAltCursor uintptr
Fuc struct{ FpCursor uintptr }
FpKeyInfo uintptr
- FiHdrOffset u322
+ FiHdrOffset u32
FpgnoRoot Pgno
FnField i16
FnHdrParsed u16
@@ -43712,9 +45431,9 @@ type VdbeCursor1 = struct {
FmovetoTarget i64
FaOffset uintptr
FaRow uintptr
- FpayloadSize u322
- FszRow u322
- FaType [1]u322
+ FpayloadSize u32
+ FszRow u32
+ FaType [1]u32
_ [4]byte
} /* sqlite3.h:249:9 */
@@ -43868,7 +45587,7 @@ func sqlite3TestTextToPtr(tls *libc.TLS, z uintptr) uintptr { /* test1.c:54:6: *
// var v u64 at bp+8, 8
- // var v2 u322 at bp+16, 4
+ // var v2 u32 at bp+16, 4
if (int32(*(*int8)(unsafe.Pointer(z))) == '0') && (int32(*(*int8)(unsafe.Pointer(z + 1))) == 'x') {
z += uintptr(2)
@@ -43882,7 +45601,7 @@ func sqlite3TestTextToPtr(tls *libc.TLS, z uintptr) uintptr { /* test1.c:54:6: *
libc.Xmemcpy(tls, bp /* &p */, bp+8 /* &v */, uint64(unsafe.Sizeof(uintptr(0))))
} else {
- *(*u322)(unsafe.Pointer(bp + 16 /* v2 */)) = u322(*(*u64)(unsafe.Pointer(bp + 8 /* v */)))
+ *(*u32)(unsafe.Pointer(bp + 16 /* v2 */)) = u32(*(*u64)(unsafe.Pointer(bp + 8 /* v */)))
libc.Xmemcpy(tls, bp /* &p */, bp+16 /* &v2 */, uint64(unsafe.Sizeof(uintptr(0))))
}
return *(*uintptr)(unsafe.Pointer(bp /* p */))
@@ -43901,16 +45620,16 @@ func get_sqlite_pointer(tls *libc.TLS, clientData uintptr, interp uintptr, objc
// var zBuf [100]int8 at bp+112, 100
if objc != 2 {
- tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+14523 /* "SQLITE-CONNECTIO..." */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+15302 /* "SQLITE-CONNECTIO..." */)
return TCL_ERROR
}
if !(tcl.XTcl_GetCommandInfo(tls, interp, tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 1*8))), bp+48 /* &cmdInfo */) != 0) {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+14541, /* "command not foun..." */
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15320, /* "command not foun..." */
tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 1*8))), uintptr(0)))
return TCL_ERROR
}
p = (*Tcl_CmdInfo)(unsafe.Pointer(bp + 48 /* &cmdInfo */)).FobjClientData
- sqlite3.Xsqlite3_snprintf(tls, int32(unsafe.Sizeof([100]int8{})), bp+112 /* &zBuf[0] */, ts+13023 /* "%p" */, libc.VaList(bp+24, (*struct{ Fdb uintptr })(unsafe.Pointer(p)).Fdb))
+ sqlite3.Xsqlite3_snprintf(tls, int32(unsafe.Sizeof([100]int8{})), bp+112 /* &zBuf[0] */, ts+13802 /* "%p" */, libc.VaList(bp+24, (*struct{ Fdb uintptr })(unsafe.Pointer(p)).Fdb))
tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+32, bp+112 /* &zBuf[0] */, 0))
return TCL_OK
}
@@ -43947,7 +45666,7 @@ func sqlite3TestErrCode(tls *libc.TLS, interp uintptr, db uintptr, rc int32) int
var r2 int32 = sqlite3.Xsqlite3_errcode(tls, db)
sqlite3.Xsqlite3_snprintf(tls, int32(unsafe.Sizeof([200]int8{})), bp+48, /* &zBuf[0] */
- ts+14561, /* "error code %s (%..." */
+ ts+15340, /* "error code %s (%..." */
libc.VaList(bp, sqlite3.Xsqlite3ErrName(tls, rc), rc, sqlite3.Xsqlite3ErrName(tls, r2), r2))
tcl.XTcl_ResetResult(tls, interp)
tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+32, bp+48 /* &zBuf[0] */, 0))
@@ -43977,7 +45696,7 @@ func sqlite3TestMakePointerStr(tls *libc.TLS, interp uintptr, zPtr uintptr, p ui
bp := tls.Alloc(8)
defer tls.Free(8)
- sqlite3.Xsqlite3_snprintf(tls, 100, zPtr, ts+13023 /* "%p" */, libc.VaList(bp, p))
+ sqlite3.Xsqlite3_snprintf(tls, 100, zPtr, ts+13802 /* "%p" */, libc.VaList(bp, p))
return TCL_OK
}
@@ -43992,7 +45711,7 @@ func exec_printf_cb(tls *libc.TLS, pArg uintptr, argc int32, argv uintptr, name
if *(*uintptr)(unsafe.Pointer(name + uintptr(i)*8)) != 0 {
return *(*uintptr)(unsafe.Pointer(name + uintptr(i)*8))
}
- return ts + 5717 /* "NULL" */
+ return ts + 5707 /* "NULL" */
}())
}
}
@@ -44001,7 +45720,7 @@ func exec_printf_cb(tls *libc.TLS, pArg uintptr, argc int32, argv uintptr, name
if *(*uintptr)(unsafe.Pointer(argv + uintptr(i)*8)) != 0 {
return *(*uintptr)(unsafe.Pointer(argv + uintptr(i)*8))
}
- return ts + 5717 /* "NULL" */
+ return ts + 5707 /* "NULL" */
}())
}
return 0
@@ -44026,7 +45745,7 @@ func test_io_trace(tls *libc.TLS, NotUsed uintptr, interp uintptr, argc int32, a
// Also return true if the OMIT_MISUSE environment variable exists.
func clang_sanitize_address(tls *libc.TLS, NotUsed uintptr, interp uintptr, argc int32, argv uintptr) int32 { /* test1.c:269:26: */
var res int32 = 0
- if (res == 0) && (libc.Xgetenv(tls, ts+14619 /* "OMIT_MISUSE" */) != uintptr(0)) {
+ if (res == 0) && (libc.Xgetenv(tls, ts+15398 /* "OMIT_MISUSE" */) != uintptr(0)) {
res = 1
}
tcl.XTcl_SetObjResult(tls, interp, tcl.XTcl_NewIntObj(tls, res))
@@ -44052,8 +45771,8 @@ func test_exec_printf(tls *libc.TLS, NotUsed uintptr, interp uintptr, argc int32
// var zBuf [30]int8 at bp+280, 30
if argc != 4 {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+14631 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
- ts+14657 /* " DB FORMAT STRIN..." */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15410 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
+ ts+15436 /* " DB FORMAT STRIN..." */, 0))
return TCL_ERROR
}
if getDbPointer(tls, interp, *(*uintptr)(unsafe.Pointer(argv + 1*8)), bp+48 /* &db */) != 0 {
@@ -44106,8 +45825,8 @@ func test_exec_hex(tls *libc.TLS, NotUsed uintptr, interp uintptr, argc int32, a
// var zBuf [30]int8 at bp+776, 30
if argc != 3 {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+14631 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
- ts+14675 /* " DB HEX" */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15410 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
+ ts+15454 /* " DB HEX" */, 0))
return TCL_ERROR
}
if getDbPointer(tls, interp, *(*uintptr)(unsafe.Pointer(argv + 1*8)), bp+40 /* &db */) != 0 {
@@ -44170,8 +45889,8 @@ func db_enter(tls *libc.TLS, NotUsed uintptr, interp uintptr, argc int32, argv u
// var db uintptr at bp+32, 8
if argc != 2 {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+14631 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
- ts+14683 /* " DB" */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15410 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
+ ts+15462 /* " DB" */, 0))
return TCL_ERROR
}
if getDbPointer(tls, interp, *(*uintptr)(unsafe.Pointer(argv + 1*8)), bp+32 /* &db */) != 0 {
@@ -44188,8 +45907,8 @@ func db_leave(tls *libc.TLS, NotUsed uintptr, interp uintptr, argc int32, argv u
// var db uintptr at bp+32, 8
if argc != 2 {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+14631 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
- ts+14683 /* " DB" */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15410 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
+ ts+15462 /* " DB" */, 0))
return TCL_ERROR
}
if getDbPointer(tls, interp, *(*uintptr)(unsafe.Pointer(argv + 1*8)), bp+32 /* &db */) != 0 {
@@ -44218,8 +45937,8 @@ func test_exec(tls *libc.TLS, NotUsed uintptr, interp uintptr, argc int32, argv
// var zBuf [30]int8 at bp+280, 30
if argc != 3 {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+14631 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
- ts+14687 /* " DB SQL" */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15410 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
+ ts+15466 /* " DB SQL" */, 0))
return TCL_ERROR
}
if getDbPointer(tls, interp, *(*uintptr)(unsafe.Pointer(argv + 1*8)), bp+48 /* &db */) != 0 {
@@ -44271,8 +45990,8 @@ func test_exec_nr(tls *libc.TLS, NotUsed uintptr, interp uintptr, argc int32, ar
var rc int32
*(*uintptr)(unsafe.Pointer(bp + 40 /* zErr */)) = uintptr(0)
if argc != 3 {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+14631 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
- ts+14687 /* " DB SQL" */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15410 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
+ ts+15466 /* " DB SQL" */, 0))
return TCL_ERROR
}
if getDbPointer(tls, interp, *(*uintptr)(unsafe.Pointer(argv + 1*8)), bp+32 /* &db */) != 0 {
@@ -44298,7 +46017,7 @@ func test_mprintf_z(tls *libc.TLS, NotUsed uintptr, interp uintptr, argc int32,
var i int32
for i = 2; (i < argc) && ((i == 2) || (zResult != 0)); i++ {
- zResult = sqlite3.Xsqlite3_mprintf(tls, ts+14695 /* "%z%s%s" */, libc.VaList(bp, zResult, *(*uintptr)(unsafe.Pointer(argv + 1*8)), *(*uintptr)(unsafe.Pointer(argv + uintptr(i)*8))))
+ zResult = sqlite3.Xsqlite3_mprintf(tls, ts+15474 /* "%z%s%s" */, libc.VaList(bp, zResult, *(*uintptr)(unsafe.Pointer(argv + 1*8)), *(*uintptr)(unsafe.Pointer(argv + uintptr(i)*8))))
}
tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+24, zResult, 0))
sqlite3.Xsqlite3_free(tls, zResult)
@@ -44315,7 +46034,7 @@ func test_mprintf_n(tls *libc.TLS, NotUsed uintptr, interp uintptr, argc int32,
var zStr uintptr
*(*int32)(unsafe.Pointer(bp + 16 /* n */)) = 0
- zStr = sqlite3.Xsqlite3_mprintf(tls, ts+14702 /* "%s%n" */, libc.VaList(bp, *(*uintptr)(unsafe.Pointer(argv + 1*8)), bp+16 /* &n */))
+ zStr = sqlite3.Xsqlite3_mprintf(tls, ts+15481 /* "%s%n" */, libc.VaList(bp, *(*uintptr)(unsafe.Pointer(argv + 1*8)), bp+16 /* &n */))
sqlite3.Xsqlite3_free(tls, zStr)
tcl.XTcl_SetObjResult(tls, interp, tcl.XTcl_NewIntObj(tls, *(*int32)(unsafe.Pointer(bp + 16 /* n */))))
return TCL_OK
@@ -44341,7 +46060,7 @@ func test_snprintf_int(tls *libc.TLS, NotUsed uintptr, interp uintptr, argc int3
if uint64(n) > uint64(unsafe.Sizeof([100]int8{})) {
n = int32(unsafe.Sizeof([100]int8{}))
}
- sqlite3.Xsqlite3_snprintf(tls, int32(unsafe.Sizeof([100]int8{})), bp+24 /* &zStr[0] */, ts+14707 /* "abcdefghijklmnop..." */, 0)
+ sqlite3.Xsqlite3_snprintf(tls, int32(unsafe.Sizeof([100]int8{})), bp+24 /* &zStr[0] */, ts+15486 /* "abcdefghijklmnop..." */, 0)
sqlite3.Xsqlite3_snprintf(tls, n, bp+24 /* &zStr[0] */, zFormat, libc.VaList(bp, a1))
tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+8, bp+24 /* &zStr[0] */, 0))
return TCL_OK
@@ -44377,8 +46096,8 @@ func test_get_table_printf(tls *libc.TLS, NotUsed uintptr, interp uintptr, argc
}
}
if (argc != 4) && (argc != 5) {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+14631 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
- ts+14734 /* " DB FORMAT STRIN..." */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15410 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
+ ts+15513 /* " DB FORMAT STRIN..." */, 0))
return TCL_ERROR
}
if getDbPointer(tls, interp, *(*uintptr)(unsafe.Pointer(argv + 1*8)), bp+72 /* &db */) != 0 {
@@ -44407,7 +46126,7 @@ func test_get_table_printf(tls *libc.TLS, NotUsed uintptr, interp uintptr, argc
if *(*uintptr)(unsafe.Pointer(*(*uintptr)(unsafe.Pointer(bp + 296 /* aResult */)) + uintptr(i)*8)) != 0 {
return *(*uintptr)(unsafe.Pointer(*(*uintptr)(unsafe.Pointer(bp + 296 /* aResult */)) + uintptr(i)*8))
}
- return ts + 5717 /* "NULL" */
+ return ts + 5707 /* "NULL" */
}())
}
} else {
@@ -44435,13 +46154,13 @@ func test_last_rowid(tls *libc.TLS, NotUsed uintptr, interp uintptr, argc int32,
// var zBuf [30]int8 at bp+64, 30
if argc != 2 {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+14631 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)), ts+14760 /* " DB\"" */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15410 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)), ts+15539 /* " DB\"" */, 0))
return TCL_ERROR
}
if getDbPointer(tls, interp, *(*uintptr)(unsafe.Pointer(argv + 1*8)), bp+56 /* &db */) != 0 {
return TCL_ERROR
}
- sqlite3.Xsqlite3_snprintf(tls, int32(unsafe.Sizeof([30]int8{})), bp+64 /* &zBuf[0] */, ts+10547 /* "%lld" */, libc.VaList(bp+32, sqlite3.Xsqlite3_last_insert_rowid(tls, *(*uintptr)(unsafe.Pointer(bp + 56 /* db */)))))
+ sqlite3.Xsqlite3_snprintf(tls, int32(unsafe.Sizeof([30]int8{})), bp+64 /* &zBuf[0] */, ts+11354 /* "%lld" */, libc.VaList(bp+32, sqlite3.Xsqlite3_last_insert_rowid(tls, *(*uintptr)(unsafe.Pointer(bp + 56 /* db */)))))
tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+40, bp+64 /* &zBuf[0] */, 0))
return SQLITE_OK
}
@@ -44471,8 +46190,8 @@ func sqlite_test_close(tls *libc.TLS, NotUsed uintptr, interp uintptr, argc int3
var rc int32
if argc != 2 {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+14631 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
- ts+14765 /* " FILENAME\"" */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15410 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
+ ts+15544 /* " FILENAME\"" */, 0))
return TCL_ERROR
}
if getDbPointer(tls, interp, *(*uintptr)(unsafe.Pointer(argv + 1*8)), bp+32 /* &db */) != 0 {
@@ -44494,8 +46213,8 @@ func sqlite_test_close_v2(tls *libc.TLS, NotUsed uintptr, interp uintptr, argc i
var rc int32
if argc != 2 {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+14631 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
- ts+14765 /* " FILENAME\"" */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15410 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
+ ts+15544 /* " FILENAME\"" */, 0))
return TCL_ERROR
}
if getDbPointer(tls, interp, *(*uintptr)(unsafe.Pointer(argv + 1*8)), bp+32 /* &db */) != 0 {
@@ -44533,7 +46252,7 @@ func hex8Func(tls *libc.TLS, p uintptr, argc int32, argv uintptr) { /* test1.c:7
z = sqlite3.Xsqlite3_value_text(tls, *(*uintptr)(unsafe.Pointer(argv)))
for i = 0; (uint64(i) < ((uint64(unsafe.Sizeof([200]int8{})) / uint64(2)) - uint64(2))) && (*(*uint8)(unsafe.Pointer(z + uintptr(i))) != 0); i++ {
- sqlite3.Xsqlite3_snprintf(tls, (int32(uint64(unsafe.Sizeof([200]int8{})) - (uint64(i * 2)))), (bp + 8 /* &zBuf */ + uintptr((i * 2))), ts+14776 /* "%02x" */, libc.VaList(bp, int32(*(*uint8)(unsafe.Pointer(z + uintptr(i))))))
+ sqlite3.Xsqlite3_snprintf(tls, (int32(uint64(unsafe.Sizeof([200]int8{})) - (uint64(i * 2)))), (bp + 8 /* &zBuf */ + uintptr((i * 2))), ts+15555 /* "%02x" */, libc.VaList(bp, int32(*(*uint8)(unsafe.Pointer(z + uintptr(i))))))
}
*(*int8)(unsafe.Pointer(bp + 8 /* &zBuf[0] */ + uintptr((i * 2)))) = int8(0)
sqlite3.Xsqlite3_result_text(tls, p, bp+8 /* zBuf */, -1, libc.UintptrFromInt32(-1))
@@ -44549,7 +46268,7 @@ func hex16Func(tls *libc.TLS, p uintptr, argc int32, argv uintptr) { /* test1.c:
z = sqlite3.Xsqlite3_value_text16(tls, *(*uintptr)(unsafe.Pointer(argv)))
for i = 0; (uint64(i) < ((uint64(unsafe.Sizeof([400]int8{})) / uint64(4)) - uint64(4))) && (*(*uint16)(unsafe.Pointer(z + uintptr(i)*2)) != 0); i++ {
- sqlite3.Xsqlite3_snprintf(tls, (int32(uint64(unsafe.Sizeof([400]int8{})) - (uint64(i * 4)))), (bp + 8 /* &zBuf */ + uintptr((i * 4))), ts+14781 /* "%04x" */, libc.VaList(bp, (int32(*(*uint16)(unsafe.Pointer(z + uintptr(i)*2)))&0xff)))
+ sqlite3.Xsqlite3_snprintf(tls, (int32(uint64(unsafe.Sizeof([400]int8{})) - (uint64(i * 4)))), (bp + 8 /* &zBuf */ + uintptr((i * 4))), ts+15560 /* "%04x" */, libc.VaList(bp, (int32(*(*uint16)(unsafe.Pointer(z + uintptr(i)*2)))&0xff)))
}
*(*int8)(unsafe.Pointer(bp + 8 /* &zBuf[0] */ + uintptr((i * 4)))) = int8(0)
sqlite3.Xsqlite3_result_text(tls, p, bp+8 /* zBuf */, -1, libc.UintptrFromInt32(-1))
@@ -44589,7 +46308,7 @@ func execFuncCallback(tls *libc.TLS, pData uintptr, argc int32, argv uintptr, No
var i int32
for i = 0; i < argc; i++ {
if *(*uintptr)(unsafe.Pointer(argv + uintptr(i)*8)) == uintptr(0) {
- dstrAppend(tls, p, ts+5717 /* "NULL" */, ' ')
+ dstrAppend(tls, p, ts+5707 /* "NULL" */, ' ')
} else {
dstrAppend(tls, p, *(*uintptr)(unsafe.Pointer(argv + uintptr(i)*8)), ' ')
}
@@ -44648,7 +46367,7 @@ func tkt2213Function(tls *libc.TLS, context uintptr, argc int32, argv uintptr) {
zText3 = sqlite3.Xsqlite3_value_text(tls, *(*uintptr)(unsafe.Pointer(argv)))
if (zText1 != zText2) || (zText2 != zText3) {
- sqlite3.Xsqlite3_result_error(tls, context, ts+14786 /* "tkt2213 is not f..." */, -1)
+ sqlite3.Xsqlite3_result_error(tls, context, ts+15565 /* "tkt2213 is not f..." */, -1)
} else {
var zCopy uintptr = sqlite3.Xsqlite3_malloc(tls, nText)
libc.Xmemcpy(tls, zCopy, zText1, uint64(nText))
@@ -44689,11 +46408,11 @@ func ptrChngFunction(tls *libc.TLS, context uintptr, argc int32, argv uintptr) {
if zCmd == uintptr(0) {
return
}
- if libc.Xstrcmp(tls, zCmd, ts+12455 /* "text" */) == 0 {
+ if libc.Xstrcmp(tls, zCmd, ts+13234 /* "text" */) == 0 {
p1 = sqlite3.Xsqlite3_value_text(tls, *(*uintptr)(unsafe.Pointer(argv)))
- } else if libc.Xstrcmp(tls, zCmd, ts+14807 /* "text16" */) == 0 {
+ } else if libc.Xstrcmp(tls, zCmd, ts+15586 /* "text16" */) == 0 {
p1 = sqlite3.Xsqlite3_value_text16(tls, *(*uintptr)(unsafe.Pointer(argv)))
- } else if libc.Xstrcmp(tls, zCmd, ts+12460 /* "blob" */) == 0 {
+ } else if libc.Xstrcmp(tls, zCmd, ts+13239 /* "blob" */) == 0 {
p1 = sqlite3.Xsqlite3_value_blob(tls, *(*uintptr)(unsafe.Pointer(argv)))
} else {
return
@@ -44702,11 +46421,11 @@ func ptrChngFunction(tls *libc.TLS, context uintptr, argc int32, argv uintptr) {
if zCmd == uintptr(0) {
return
}
- if libc.Xstrcmp(tls, zCmd, ts+14814 /* "bytes" */) == 0 {
+ if libc.Xstrcmp(tls, zCmd, ts+15593 /* "bytes" */) == 0 {
sqlite3.Xsqlite3_value_bytes(tls, *(*uintptr)(unsafe.Pointer(argv)))
- } else if libc.Xstrcmp(tls, zCmd, ts+14820 /* "bytes16" */) == 0 {
+ } else if libc.Xstrcmp(tls, zCmd, ts+15599 /* "bytes16" */) == 0 {
sqlite3.Xsqlite3_value_bytes16(tls, *(*uintptr)(unsafe.Pointer(argv)))
- } else if libc.Xstrcmp(tls, zCmd, ts+14828 /* "noop" */) == 0 {
+ } else if libc.Xstrcmp(tls, zCmd, ts+15607 /* "noop" */) == 0 {
// do nothing
} else {
return
@@ -44715,11 +46434,11 @@ func ptrChngFunction(tls *libc.TLS, context uintptr, argc int32, argv uintptr) {
if zCmd == uintptr(0) {
return
}
- if libc.Xstrcmp(tls, zCmd, ts+12455 /* "text" */) == 0 {
+ if libc.Xstrcmp(tls, zCmd, ts+13234 /* "text" */) == 0 {
p2 = sqlite3.Xsqlite3_value_text(tls, *(*uintptr)(unsafe.Pointer(argv)))
- } else if libc.Xstrcmp(tls, zCmd, ts+14807 /* "text16" */) == 0 {
+ } else if libc.Xstrcmp(tls, zCmd, ts+15586 /* "text16" */) == 0 {
p2 = sqlite3.Xsqlite3_value_text16(tls, *(*uintptr)(unsafe.Pointer(argv)))
- } else if libc.Xstrcmp(tls, zCmd, ts+12460 /* "blob" */) == 0 {
+ } else if libc.Xstrcmp(tls, zCmd, ts+13239 /* "blob" */) == 0 {
p2 = sqlite3.Xsqlite3_value_blob(tls, *(*uintptr)(unsafe.Pointer(argv)))
} else {
return
@@ -44767,37 +46486,37 @@ func test_create_function(tls *libc.TLS, NotUsed uintptr, interp uintptr, argc i
// var db uintptr at bp+32, 8
if argc != 2 {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+14631 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
- ts+14760 /* " DB\"" */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15410 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
+ ts+15539 /* " DB\"" */, 0))
return TCL_ERROR
}
if getDbPointer(tls, interp, *(*uintptr)(unsafe.Pointer(argv + 1*8)), bp+32 /* &db */) != 0 {
return TCL_ERROR
}
- rc = sqlite3.Xsqlite3_create_function(tls, *(*uintptr)(unsafe.Pointer(bp + 32 /* db */)), ts+14833 /* "x_coalesce" */, -1, SQLITE_UTF8, uintptr(0),
+ rc = sqlite3.Xsqlite3_create_function(tls, *(*uintptr)(unsafe.Pointer(bp + 32 /* db */)), ts+15612 /* "x_coalesce" */, -1, SQLITE_UTF8, uintptr(0),
*(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, int32, uintptr)
}{t1_ifnullFunc})), uintptr(0), uintptr(0))
if rc == SQLITE_OK {
- rc = sqlite3.Xsqlite3_create_function(tls, *(*uintptr)(unsafe.Pointer(bp + 32 /* db */)), ts+14844 /* "hex8" */, 1, (SQLITE_UTF8 | SQLITE_DETERMINISTIC),
+ rc = sqlite3.Xsqlite3_create_function(tls, *(*uintptr)(unsafe.Pointer(bp + 32 /* db */)), ts+15623 /* "hex8" */, 1, (SQLITE_UTF8 | SQLITE_DETERMINISTIC),
uintptr(0), *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, int32, uintptr)
}{hex8Func})), uintptr(0), uintptr(0))
}
if rc == SQLITE_OK {
- rc = sqlite3.Xsqlite3_create_function(tls, *(*uintptr)(unsafe.Pointer(bp + 32 /* db */)), ts+14849 /* "hex16" */, 1, (SQLITE_UTF16 | SQLITE_DETERMINISTIC),
+ rc = sqlite3.Xsqlite3_create_function(tls, *(*uintptr)(unsafe.Pointer(bp + 32 /* db */)), ts+15628 /* "hex16" */, 1, (SQLITE_UTF16 | SQLITE_DETERMINISTIC),
uintptr(0), *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, int32, uintptr)
}{hex16Func})), uintptr(0), uintptr(0))
}
if rc == SQLITE_OK {
- rc = sqlite3.Xsqlite3_create_function(tls, *(*uintptr)(unsafe.Pointer(bp + 32 /* db */)), ts+14855 /* "tkt2213func" */, 1, SQLITE_ANY, uintptr(0),
+ rc = sqlite3.Xsqlite3_create_function(tls, *(*uintptr)(unsafe.Pointer(bp + 32 /* db */)), ts+15634 /* "tkt2213func" */, 1, SQLITE_ANY, uintptr(0),
*(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, int32, uintptr)
}{tkt2213Function})), uintptr(0), uintptr(0))
}
if rc == SQLITE_OK {
- rc = sqlite3.Xsqlite3_create_function(tls, *(*uintptr)(unsafe.Pointer(bp + 32 /* db */)), ts+14867 /* "pointer_change" */, 4, SQLITE_ANY, uintptr(0),
+ rc = sqlite3.Xsqlite3_create_function(tls, *(*uintptr)(unsafe.Pointer(bp + 32 /* db */)), ts+15646 /* "pointer_change" */, 4, SQLITE_ANY, uintptr(0),
*(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, int32, uintptr)
}{ptrChngFunction})), uintptr(0), uintptr(0))
@@ -44807,13 +46526,13 @@ func test_create_function(tls *libc.TLS, NotUsed uintptr, interp uintptr, argc i
// both return an ascending integer with each call. But counter1() is marked
// as non-deterministic and counter2() is marked as deterministic.
if rc == SQLITE_OK {
- rc = sqlite3.Xsqlite3_create_function(tls, *(*uintptr)(unsafe.Pointer(bp + 32 /* db */)), ts+14882 /* "counter1" */, -1, SQLITE_UTF8,
+ rc = sqlite3.Xsqlite3_create_function(tls, *(*uintptr)(unsafe.Pointer(bp + 32 /* db */)), ts+15661 /* "counter1" */, -1, SQLITE_UTF8,
uintptr(0), *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, int32, uintptr)
}{nondeterministicFunction})), uintptr(0), uintptr(0))
}
if rc == SQLITE_OK {
- rc = sqlite3.Xsqlite3_create_function(tls, *(*uintptr)(unsafe.Pointer(bp + 32 /* db */)), ts+14891 /* "counter2" */, -1, (SQLITE_UTF8 | SQLITE_DETERMINISTIC),
+ rc = sqlite3.Xsqlite3_create_function(tls, *(*uintptr)(unsafe.Pointer(bp + 32 /* db */)), ts+15670 /* "counter2" */, -1, (SQLITE_UTF8 | SQLITE_DETERMINISTIC),
uintptr(0), *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, int32, uintptr)
}{nondeterministicFunction})), uintptr(0), uintptr(0))
@@ -44822,7 +46541,7 @@ func test_create_function(tls *libc.TLS, NotUsed uintptr, interp uintptr, argc i
// The intreal() function converts its argument to an integer and returns
// it as a MEM_IntReal.
if rc == SQLITE_OK {
- rc = sqlite3.Xsqlite3_create_function(tls, *(*uintptr)(unsafe.Pointer(bp + 32 /* db */)), ts+14900 /* "intreal" */, 1, SQLITE_UTF8,
+ rc = sqlite3.Xsqlite3_create_function(tls, *(*uintptr)(unsafe.Pointer(bp + 32 /* db */)), ts+15679 /* "intreal" */, 1, SQLITE_UTF8,
uintptr(0), *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, int32, uintptr)
}{intrealFunction})), uintptr(0), uintptr(0))
@@ -44835,7 +46554,7 @@ func test_create_function(tls *libc.TLS, NotUsed uintptr, interp uintptr, argc i
var pVal uintptr
sqlite3.Xsqlite3_mutex_enter(tls, (*sqlite31)(unsafe.Pointer(*(*uintptr)(unsafe.Pointer(bp + 32 /* db */)))).Fmutex)
pVal = sqlite3.Xsqlite3ValueNew(tls, *(*uintptr)(unsafe.Pointer(bp + 32 /* db */)))
- sqlite3.Xsqlite3ValueSetStr(tls, pVal, -1, ts+14908 /* "x_sqlite_exec" */, uint8(SQLITE_UTF8), uintptr(0))
+ sqlite3.Xsqlite3ValueSetStr(tls, pVal, -1, ts+15687 /* "x_sqlite_exec" */, uint8(SQLITE_UTF8), uintptr(0))
zUtf16 = sqlite3.Xsqlite3ValueText(tls, pVal, func() uint8 {
if int32(*(*int8)(unsafe.Pointer(uintptr(unsafe.Pointer(&sqlite3.Xsqlite3one))))) == 0 {
return uint8(SQLITE_UTF16BE)
@@ -44873,8 +46592,8 @@ func test_drop_modules(tls *libc.TLS, NotUsed uintptr, interp uintptr, argc int3
// var db uintptr at bp+32, 8
if argc != 2 {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+14631 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
- ts+14760 /* " DB\"" */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15410 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
+ ts+15539 /* " DB\"" */, 0))
return TCL_ERROR
}
if getDbPointer(tls, interp, *(*uintptr)(unsafe.Pointer(argv + 1*8)), bp+32 /* &db */) != 0 {
@@ -44923,7 +46642,7 @@ func t1CountStep(tls *libc.TLS, context uintptr, argc int32, argv uintptr) { /*
if argc > 0 {
var v int32 = sqlite3.Xsqlite3_value_int(tls, *(*uintptr)(unsafe.Pointer(argv)))
if v == 40 {
- sqlite3.Xsqlite3_result_error(tls, context, ts+14922 /* "value of 40 hand..." */, -1)
+ sqlite3.Xsqlite3_result_error(tls, context, ts+15701 /* "value of 40 hand..." */, -1)
} else if v == 41 {
*(*[9]int8)(unsafe.Pointer(bp /* zUtf16ErrMsg */)) = [9]int8{int8(0), int8(0x61), int8(0), int8(0x62), int8(0), int8(0x63), int8(0), int8(0), int8(0)}
sqlite3.Xsqlite3_result_error16(tls, context, (bp /* &zUtf16ErrMsg */ + uintptr((1 - (libc.Bool32(int32(*(*int8)(unsafe.Pointer(uintptr(unsafe.Pointer(&sqlite3.Xsqlite3one))))) == 0))))), -1)
@@ -44936,7 +46655,7 @@ func t1CountFinalize(tls *libc.TLS, context uintptr) { /* test1.c:1149:13: */
p = sqlite3.Xsqlite3_aggregate_context(tls, context, int32(unsafe.Sizeof(t1CountCtx{})))
if p != 0 {
if (*t1CountCtx)(unsafe.Pointer(p)).Fn == 42 {
- sqlite3.Xsqlite3_result_error(tls, context, ts+14952 /* "x_count totals t..." */, -1)
+ sqlite3.Xsqlite3_result_error(tls, context, ts+15731 /* "x_count totals t..." */, -1)
} else {
sqlite3.Xsqlite3_result_int(tls, context, func() int32 {
if p != 0 {
@@ -44981,25 +46700,25 @@ func test_create_aggregate(tls *libc.TLS, NotUsed uintptr, interp uintptr, argc
var rc int32
if argc != 2 {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+14631 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
- ts+14765 /* " FILENAME\"" */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15410 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
+ ts+15544 /* " FILENAME\"" */, 0))
return TCL_ERROR
}
if getDbPointer(tls, interp, *(*uintptr)(unsafe.Pointer(argv + 1*8)), bp+32 /* &db */) != 0 {
return TCL_ERROR
}
- rc = sqlite3.Xsqlite3_create_function(tls, *(*uintptr)(unsafe.Pointer(bp + 32 /* db */)), ts+14973 /* "x_count" */, 0, SQLITE_UTF8, uintptr(0), uintptr(0),
+ rc = sqlite3.Xsqlite3_create_function(tls, *(*uintptr)(unsafe.Pointer(bp + 32 /* db */)), ts+15752 /* "x_count" */, 0, SQLITE_UTF8, uintptr(0), uintptr(0),
*(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, int32, uintptr)
}{t1CountStep})), *(*uintptr)(unsafe.Pointer(&struct{ f func(*libc.TLS, uintptr) }{t1CountFinalize})))
if rc == SQLITE_OK {
- rc = sqlite3.Xsqlite3_create_function(tls, *(*uintptr)(unsafe.Pointer(bp + 32 /* db */)), ts+14973 /* "x_count" */, 1, SQLITE_UTF8, uintptr(0), uintptr(0),
+ rc = sqlite3.Xsqlite3_create_function(tls, *(*uintptr)(unsafe.Pointer(bp + 32 /* db */)), ts+15752 /* "x_count" */, 1, SQLITE_UTF8, uintptr(0), uintptr(0),
*(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, int32, uintptr)
}{t1CountStep})), *(*uintptr)(unsafe.Pointer(&struct{ f func(*libc.TLS, uintptr) }{t1CountFinalize})))
}
if rc == SQLITE_OK {
- rc = sqlite3.Xsqlite3_create_function(tls, *(*uintptr)(unsafe.Pointer(bp + 32 /* db */)), ts+14981 /* "legacy_count" */, 0, SQLITE_ANY, uintptr(0), uintptr(0),
+ rc = sqlite3.Xsqlite3_create_function(tls, *(*uintptr)(unsafe.Pointer(bp + 32 /* db */)), ts+15760 /* "legacy_count" */, 0, SQLITE_ANY, uintptr(0), uintptr(0),
*(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, int32, uintptr)
}{legacyCountStep})), *(*uintptr)(unsafe.Pointer(&struct{ f func(*libc.TLS, uintptr) }{legacyCountFinalize})))
@@ -45022,8 +46741,8 @@ func test_printf(tls *libc.TLS, NotUsed uintptr, interp uintptr, argc int32, arg
defer tls.Free(40)
if argc != 2 {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+14631 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
- ts+14994 /* " TEXT\"" */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15410 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
+ ts+15773 /* " TEXT\"" */, 0))
return TCL_ERROR
}
libc.Xprintf(tls, ts+294 /* "%s\n" */, libc.VaList(bp+32, *(*uintptr)(unsafe.Pointer(argv + 1*8))))
@@ -45042,8 +46761,8 @@ func sqlite3_mprintf_int(tls *libc.TLS, NotUsed uintptr, interp uintptr, argc in
var i int32
var z uintptr
if argc != 5 {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+14631 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
- ts+15001 /* " FORMAT INT INT ..." */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15410 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
+ ts+15780 /* " FORMAT INT INT ..." */, 0))
return TCL_ERROR
}
for i = 2; i < 5; i++ {
@@ -45069,13 +46788,13 @@ func sqlite3_mprintf_int64(tls *libc.TLS, NotUsed uintptr, interp uintptr, argc
var z uintptr
if argc != 5 {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+14631 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
- ts+15001 /* " FORMAT INT INT ..." */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15410 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
+ ts+15780 /* " FORMAT INT INT ..." */, 0))
return TCL_ERROR
}
for i = 2; i < 5; i++ {
if sqlite3.Xsqlite3Atoi64(tls, *(*uintptr)(unsafe.Pointer(argv + uintptr(i)*8)), (bp+88 /* &a */ +uintptr((i-2))*8), sqlite3.Xsqlite3Strlen30(tls, *(*uintptr)(unsafe.Pointer(argv + uintptr(i)*8))), uint8(SQLITE_UTF8)) != 0 {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+32, ts+15022 /* "argument is not ..." */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+32, ts+15801 /* "argument is not ..." */, 0))
return TCL_ERROR
}
}
@@ -45101,8 +46820,8 @@ func sqlite3_mprintf_long(tls *libc.TLS, NotUsed uintptr, interp uintptr, argc i
var z uintptr
if argc != 5 {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+14631 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
- ts+15001 /* " FORMAT INT INT ..." */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15410 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
+ ts+15780 /* " FORMAT INT INT ..." */, 0))
return TCL_ERROR
}
for i = 2; i < 5; i++ {
@@ -45130,8 +46849,8 @@ func sqlite3_mprintf_str(tls *libc.TLS, NotUsed uintptr, interp uintptr, argc in
var i int32
var z uintptr
if (argc < 4) || (argc > 5) {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+14631 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
- ts+15061 /* " FORMAT INT INT ..." */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15410 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
+ ts+15840 /* " FORMAT INT INT ..." */, 0))
return TCL_ERROR
}
for i = 2; i < 4; i++ {
@@ -45164,15 +46883,15 @@ func sqlite3_snprintf_str(tls *libc.TLS, NotUsed uintptr, interp uintptr, argc i
var z uintptr
if (argc < 5) || (argc > 6) {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+14631 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
- ts+15087 /* " INT FORMAT INT ..." */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15410 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
+ ts+15866 /* " INT FORMAT INT ..." */, 0))
return TCL_ERROR
}
if tcl.XTcl_GetInt(tls, interp, *(*uintptr)(unsafe.Pointer(argv + 1*8)), bp+88 /* &n */) != 0 {
return TCL_ERROR
}
if *(*int32)(unsafe.Pointer(bp + 88 /* n */)) < 0 {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+32, ts+15117 /* "N must be non-ne..." */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+32, ts+15896 /* "N must be non-ne..." */, 0))
return TCL_ERROR
}
for i = 3; i < 5; i++ {
@@ -45206,8 +46925,8 @@ func sqlite3_mprintf_double(tls *libc.TLS, NotUsed uintptr, interp uintptr, argc
var z uintptr
if argc != 5 {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+14631 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
- ts+15140 /* " FORMAT INT INT ..." */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15410 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
+ ts+15919 /* " FORMAT INT INT ..." */, 0))
return TCL_ERROR
}
for i = 2; i < 4; i++ {
@@ -45238,8 +46957,8 @@ func sqlite3_mprintf_scaled(tls *libc.TLS, NotUsed uintptr, interp uintptr, argc
var z uintptr
if argc != 4 {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+14631 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
- ts+15164 /* " FORMAT DOUBLE D..." */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15410 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
+ ts+15943 /* " FORMAT DOUBLE D..." */, 0))
return TCL_ERROR
}
for i = 2; i < 4; i++ {
@@ -45264,8 +46983,8 @@ func sqlite3_mprintf_stronly(tls *libc.TLS, NotUsed uintptr, interp uintptr, arg
var z uintptr
if argc != 3 {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+14631 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
- ts+15187 /* " FORMAT STRING\"" */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15410 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
+ ts+15966 /* " FORMAT STRING\"" */, 0))
return TCL_ERROR
}
z = sqlite3.Xsqlite3_mprintf(tls, *(*uintptr)(unsafe.Pointer(argv + 1*8)), libc.VaList(bp+32, *(*uintptr)(unsafe.Pointer(argv + 2*8))))
@@ -45292,12 +47011,12 @@ func sqlite3_mprintf_hexdouble(tls *libc.TLS, NotUsed uintptr, interp uintptr, a
// var d sqlite_uint64 at bp+104, 8
if argc != 3 {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+14631 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
- ts+15187 /* " FORMAT STRING\"" */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15410 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
+ ts+15966 /* " FORMAT STRING\"" */, 0))
return TCL_ERROR
}
- if libc.Xsscanf(tls, *(*uintptr)(unsafe.Pointer(argv + 2*8)), ts+15203 /* "%08x%08x" */, libc.VaList(bp+32, bp+88 /* &x2 */, bp+92 /* &x1 */)) != 2 {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+48, ts+15212 /* "2nd argument sho..." */, 0))
+ if libc.Xsscanf(tls, *(*uintptr)(unsafe.Pointer(argv + 2*8)), ts+15982 /* "%08x%08x" */, libc.VaList(bp+32, bp+88 /* &x2 */, bp+92 /* &x1 */)) != 2 {
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+48, ts+15991 /* "2nd argument sho..." */, 0))
return TCL_ERROR
}
*(*sqlite_uint64)(unsafe.Pointer(bp + 104 /* d */)) = sqlite_uint64(*(*uint32)(unsafe.Pointer(bp + 88 /* x2 */)))
@@ -45321,7 +47040,7 @@ func test_enable_shared(tls *libc.TLS, clientData ClientData, interp uintptr, ob
var ret int32 = 0
if (objc != 2) && (objc != 1) {
- tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+2761 /* "?BOOLEAN?" */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+16035 /* "?BOOLEAN?" */)
return TCL_ERROR
}
ret = sqlite3.Xsqlite3Config.FsharedCacheEnabled
@@ -45351,7 +47070,7 @@ func test_extended_result_codes(tls *libc.TLS, clientData ClientData, interp uin
// var db uintptr at bp, 8
if objc != 3 {
- tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+15256 /* "DB BOOLEAN" */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+16045 /* "DB BOOLEAN" */)
return TCL_ERROR
}
if getDbPointer(tls, interp, tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 1*8))), bp /* &db */) != 0 {
@@ -45395,7 +47114,7 @@ func test_table_column_metadata(tls *libc.TLS, clientData ClientData, interp uin
// var autoincrement int32 at bp+48, 4
if (objc != 5) && (objc != 4) {
- tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+15267 /* "DB dbname tblnam..." */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+16056 /* "DB dbname tblnam..." */)
return TCL_ERROR
}
if getDbPointer(tls, interp, tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 1*8))), bp+16 /* &db */) != 0 {
@@ -45474,7 +47193,7 @@ func test_blob_reopen(tls *libc.TLS, clientData ClientData, interp uintptr, objc
var rc int32
if objc != 3 {
- tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+15293 /* "CHANNEL ROWID" */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+16082 /* "CHANNEL ROWID" */)
return TCL_ERROR
}
@@ -45569,7 +47288,7 @@ func test_create_collation_v2(tls *libc.TLS, clientData ClientData, interp uintp
var rc int32
if objc != 5 {
- tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+15307 /* "DB-HANDLE NAME C..." */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+16096 /* "DB-HANDLE NAME C..." */)
return TCL_ERROR
}
if getDbPointer(tls, interp, tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 1*8))), bp+16 /* &db */) != 0 {
@@ -45589,7 +47308,7 @@ func test_create_collation_v2(tls *libc.TLS, clientData ClientData, interp uintp
}{testCreateCollationCmp})), *(*uintptr)(unsafe.Pointer(&struct{ f func(*libc.TLS, uintptr) }{testCreateCollationDel})))
if rc != SQLITE_MISUSE {
tcl.XTcl_AppendResult(tls, interp,
- libc.VaList(bp, ts+15340 /* "sqlite3_create_c..." */, uintptr(0)))
+ libc.VaList(bp, ts+16129 /* "sqlite3_create_c..." */, uintptr(0)))
return TCL_ERROR
}
rc = sqlite3.Xsqlite3_create_collation_v2(tls, *(*uintptr)(unsafe.Pointer(bp + 16 /* db */)), tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 2*8))), SQLITE_UTF8,
@@ -45695,16 +47414,16 @@ func test_create_function_v2(tls *libc.TLS, clientData ClientData, interp uintpt
var rc int32
*(*[6]EncTable)(unsafe.Pointer(bp + 32 /* aEnc */)) = [6]EncTable{
- {FzEnc: ts + 15405 /* "utf8" */, Fenc: SQLITE_UTF8},
- {FzEnc: ts + 15410 /* "utf16" */, Fenc: SQLITE_UTF16},
- {FzEnc: ts + 15416 /* "utf16le" */, Fenc: SQLITE_UTF16LE},
- {FzEnc: ts + 15424 /* "utf16be" */, Fenc: SQLITE_UTF16BE},
- {FzEnc: ts + 12465 /* "any" */, Fenc: SQLITE_ANY},
- {FzEnc: ts + 13875 /* "0" */},
+ {FzEnc: ts + 16194 /* "utf8" */, Fenc: SQLITE_UTF8},
+ {FzEnc: ts + 16199 /* "utf16" */, Fenc: SQLITE_UTF16},
+ {FzEnc: ts + 16205 /* "utf16le" */, Fenc: SQLITE_UTF16LE},
+ {FzEnc: ts + 16213 /* "utf16be" */, Fenc: SQLITE_UTF16BE},
+ {FzEnc: ts + 13244 /* "any" */, Fenc: SQLITE_ANY},
+ {FzEnc: ts + 14654 /* "0" */},
}
if (objc < 5) || ((objc % 2) == 0) {
- tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+15432 /* "DB NAME NARG ENC..." */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+16221 /* "DB NAME NARG ENC..." */)
return TCL_ERROR
}
@@ -45716,7 +47435,7 @@ func test_create_function_v2(tls *libc.TLS, clientData ClientData, interp uintpt
return TCL_ERROR
}
if tcl.XTcl_GetIndexFromObjStruct(tls, interp, *(*uintptr)(unsafe.Pointer(objv + 4*8)), bp+32 /* &aEnc[0] */, int32(unsafe.Sizeof(EncTable{})),
- ts+15461 /* "encoding" */, 0, bp+128 /* &enc */) != 0 {
+ ts+16250 /* "encoding" */, 0, bp+128 /* &enc */) != 0 {
return TCL_ERROR
}
*(*int32)(unsafe.Pointer(bp + 128 /* enc */)) = (*EncTable)(unsafe.Pointer(bp + 32 /* &aEnc */ + uintptr(*(*int32)(unsafe.Pointer(bp + 128 /* enc */)))*16)).Fenc
@@ -45729,8 +47448,8 @@ func test_create_function_v2(tls *libc.TLS, clientData ClientData, interp uintpt
for i = 5; i < objc; i = i + (2) {
// var iSwitch int32 at bp+176, 4
- *(*[5]uintptr)(unsafe.Pointer(bp + 136 /* azSwitch */)) = [5]uintptr{ts + 15470 /* "-func" */, ts + 15476 /* "-step" */, ts + 15482 /* "-final" */, ts + 15489 /* "-destroy" */, uintptr(0)}
- if tcl.XTcl_GetIndexFromObjStruct(tls, interp, *(*uintptr)(unsafe.Pointer(objv + uintptr(i)*8)), bp+136 /* &azSwitch[0] */, int32(unsafe.Sizeof(uintptr(0))), ts+15498 /* "switch" */, 0, bp+176 /* &iSwitch */) != 0 {
+ *(*[5]uintptr)(unsafe.Pointer(bp + 136 /* azSwitch */)) = [5]uintptr{ts + 16259 /* "-func" */, ts + 16265 /* "-step" */, ts + 16271 /* "-final" */, ts + 16278 /* "-destroy" */, uintptr(0)}
+ if tcl.XTcl_GetIndexFromObjStruct(tls, interp, *(*uintptr)(unsafe.Pointer(objv + uintptr(i)*8)), bp+136 /* &azSwitch[0] */, int32(unsafe.Sizeof(uintptr(0))), ts+16287 /* "switch" */, 0, bp+176 /* &iSwitch */) != 0 {
sqlite3.Xsqlite3_free(tls, p)
return TCL_ERROR
}
@@ -45832,7 +47551,7 @@ func test_load_extension(tls *libc.TLS, clientData ClientData, interp uintptr, o
var zErr uintptr = uintptr(0)
if (objc != 4) && (objc != 3) {
- tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+15505 /* "DB-HANDLE FILE ?..." */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+16294 /* "DB-HANDLE FILE ?..." */)
return TCL_ERROR
}
zDb = tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 1*8)))
@@ -45843,7 +47562,7 @@ func test_load_extension(tls *libc.TLS, clientData ClientData, interp uintptr, o
// Extract the C database handle from the Tcl command name
if !(tcl.XTcl_GetCommandInfo(tls, interp, zDb, bp+24 /* &cmdInfo */) != 0) {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+14541 /* "command not foun..." */, zDb, uintptr(0)))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15320 /* "command not foun..." */, zDb, uintptr(0)))
return TCL_ERROR
}
db = (*struct{ Fdb uintptr })(unsafe.Pointer((*Tcl_CmdInfo)(unsafe.Pointer(bp + 24 /* &cmdInfo */)).FobjClientData)).Fdb
@@ -45852,7 +47571,7 @@ func test_load_extension(tls *libc.TLS, clientData ClientData, interp uintptr, o
// TCL_ERROR and load any error string into the interpreter. If no
// error occurs, set rc to TCL_OK.
rc = SQLITE_ERROR
- zErr = sqlite3.Xsqlite3_mprintf(tls, ts+15527 /* "this build omits..." */, 0)
+ zErr = sqlite3.Xsqlite3_mprintf(tls, ts+16316 /* "this build omits..." */, 0)
_ = zProc
_ = zFile
if rc != SQLITE_OK {
@@ -45884,14 +47603,14 @@ func test_enable_load(tls *libc.TLS, clientData ClientData, interp uintptr, objc
// var onoff int32 at bp+96, 4
if objc != 3 {
- tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+15569 /* "DB-HANDLE ONOFF" */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+16358 /* "DB-HANDLE ONOFF" */)
return TCL_ERROR
}
zDb = tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 1*8)))
// Extract the C database handle from the Tcl command name
if !(tcl.XTcl_GetCommandInfo(tls, interp, zDb, bp+32 /* &cmdInfo */) != 0) {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+14541 /* "command not foun..." */, zDb, uintptr(0)))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15320 /* "command not foun..." */, zDb, uintptr(0)))
return TCL_ERROR
}
db = (*struct{ Fdb uintptr })(unsafe.Pointer((*Tcl_CmdInfo)(unsafe.Pointer(bp + 32 /* &cmdInfo */)).FobjClientData)).Fdb
@@ -45901,7 +47620,7 @@ func test_enable_load(tls *libc.TLS, clientData ClientData, interp uintptr, objc
return TCL_ERROR
}
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+24, ts+15527 /* "this build omits..." */))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+24, ts+16316 /* "this build omits..." */))
return TCL_ERROR
}
@@ -45934,13 +47653,13 @@ __1:
sqlite3.Xsqlite3_result_int(tls, context, sqlite3.Xsqlite3_value_int(tls, *(*uintptr)(unsafe.Pointer(argv + 1*8))))
goto __6
__5:
- if !(sqlite3.Xsqlite3StrICmp(tls, zArg0, ts+3844 /* "int64" */) == 0) {
+ if !(sqlite3.Xsqlite3StrICmp(tls, zArg0, ts+3834 /* "int64" */) == 0) {
goto __7
}
sqlite3.Xsqlite3_result_int64(tls, context, sqlite3.Xsqlite3_value_int64(tls, *(*uintptr)(unsafe.Pointer(argv + 1*8))))
goto __8
__7:
- if !(sqlite3.Xsqlite3StrICmp(tls, zArg0, ts+15585 /* "string" */) == 0) {
+ if !(sqlite3.Xsqlite3StrICmp(tls, zArg0, ts+16374 /* "string" */) == 0) {
goto __9
}
sqlite3.Xsqlite3_result_text(tls, context, sqlite3.Xsqlite3_value_text(tls, *(*uintptr)(unsafe.Pointer(argv + 1*8))), -1,
@@ -45953,13 +47672,13 @@ __9:
sqlite3.Xsqlite3_result_double(tls, context, sqlite3.Xsqlite3_value_double(tls, *(*uintptr)(unsafe.Pointer(argv + 1*8))))
goto __12
__11:
- if !(sqlite3.Xsqlite3StrICmp(tls, zArg0, ts+7387 /* "null" */) == 0) {
+ if !(sqlite3.Xsqlite3StrICmp(tls, zArg0, ts+7385 /* "null" */) == 0) {
goto __13
}
sqlite3.Xsqlite3_result_null(tls, context)
goto __14
__13:
- if !(sqlite3.Xsqlite3StrICmp(tls, zArg0, ts+15592 /* "value" */) == 0) {
+ if !(sqlite3.Xsqlite3StrICmp(tls, zArg0, ts+16381 /* "value" */) == 0) {
goto __15
}
sqlite3.Xsqlite3_result_value(tls, context, *(*uintptr)(unsafe.Pointer(argv + uintptr(sqlite3.Xsqlite3_value_int(tls, *(*uintptr)(unsafe.Pointer(argv + 1*8))))*8)))
@@ -45992,7 +47711,7 @@ __2:
error_out:
sqlite3.Xsqlite3_result_error(tls, context,
- ts+15598 /* "first argument s..." */, -1)
+ ts+16387 /* "first argument s..." */, -1)
}
// Usage: sqlite_register_test_function DB NAME
@@ -46006,8 +47725,8 @@ func test_register_func(tls *libc.TLS, NotUsed uintptr, interp uintptr, argc int
var rc int32
if argc != 3 {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+14631 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
- ts+15666 /* " DB FUNCTION-NAM..." */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15410 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
+ ts+16455 /* " DB FUNCTION-NAM..." */, 0))
return TCL_ERROR
}
if getDbPointer(tls, interp, *(*uintptr)(unsafe.Pointer(argv + 1*8)), bp+48 /* &db */) != 0 {
@@ -46040,8 +47759,8 @@ func test_finalize(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32
var db uintptr = uintptr(0)
if objc != 2 {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+14631, /* "wrong # args: sh..." */
- tcl.XTcl_GetStringFromObj(tls, *(*uintptr)(unsafe.Pointer(objv)), uintptr(0)), ts+15684 /* " " */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15410, /* "wrong # args: sh..." */
+ tcl.XTcl_GetStringFromObj(tls, *(*uintptr)(unsafe.Pointer(objv)), uintptr(0)), ts+16473 /* " " */, 0))
return TCL_ERROR
}
@@ -46076,7 +47795,7 @@ func test_stmt_status(tls *libc.TLS, clientData uintptr, interp uintptr, objc in
// var pStmt uintptr at bp, 8
if objc != 4 {
- tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+15692 /* "STMT PARAMETER R..." */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+16481 /* "STMT PARAMETER R..." */)
return TCL_ERROR
}
if getStmtPointer(tls, interp, tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 1*8))), bp /* &pStmt */) != 0 {
@@ -46115,13 +47834,13 @@ var aOp = [7]struct {
Fop int32
_ [4]byte
}{
- {FzName: ts + 15717 /* "SQLITE_STMTSTATU..." */, Fop: SQLITE_STMTSTATUS_FULLSCAN_STEP},
- {FzName: ts + 15749 /* "SQLITE_STMTSTATU..." */, Fop: SQLITE_STMTSTATUS_SORT},
- {FzName: ts + 15772 /* "SQLITE_STMTSTATU..." */, Fop: SQLITE_STMTSTATUS_AUTOINDEX},
- {FzName: ts + 15800 /* "SQLITE_STMTSTATU..." */, Fop: SQLITE_STMTSTATUS_VM_STEP},
- {FzName: ts + 15826 /* "SQLITE_STMTSTATU..." */, Fop: SQLITE_STMTSTATUS_REPREPARE},
- {FzName: ts + 15854 /* "SQLITE_STMTSTATU..." */, Fop: SQLITE_STMTSTATUS_RUN},
- {FzName: ts + 15876 /* "SQLITE_STMTSTATU..." */, Fop: SQLITE_STMTSTATUS_MEMUSED},
+ {FzName: ts + 16506 /* "SQLITE_STMTSTATU..." */, Fop: SQLITE_STMTSTATUS_FULLSCAN_STEP},
+ {FzName: ts + 16538 /* "SQLITE_STMTSTATU..." */, Fop: SQLITE_STMTSTATUS_SORT},
+ {FzName: ts + 16561 /* "SQLITE_STMTSTATU..." */, Fop: SQLITE_STMTSTATUS_AUTOINDEX},
+ {FzName: ts + 16589 /* "SQLITE_STMTSTATU..." */, Fop: SQLITE_STMTSTATUS_VM_STEP},
+ {FzName: ts + 16615 /* "SQLITE_STMTSTATU..." */, Fop: SQLITE_STMTSTATUS_REPREPARE},
+ {FzName: ts + 16643 /* "SQLITE_STMTSTATU..." */, Fop: SQLITE_STMTSTATUS_RUN},
+ {FzName: ts + 16665 /* "SQLITE_STMTSTATU..." */, Fop: SQLITE_STMTSTATUS_MEMUSED},
} /* test1.c:2158:5 */
// Usage: sqlite3_config_sorterref
@@ -46134,7 +47853,7 @@ func test_config_sorterref(tls *libc.TLS, clientData uintptr, interp uintptr, ob
// var iVal int32 at bp+8, 4
if objc != 2 {
- tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+15902 /* "NBYTE" */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+16691 /* "NBYTE" */)
return TCL_ERROR
}
if tcl.XTcl_GetIntFromObj(tls, interp, *(*uintptr)(unsafe.Pointer(objv + 1*8)), bp+8 /* &iVal */) != 0 {
@@ -46175,7 +47894,7 @@ func test_snapshot_get(tls *libc.TLS, clientData uintptr, interp uintptr, objc i
*(*uintptr)(unsafe.Pointer(bp + 8 /* pSnapshot */)) = uintptr(0)
if objc != 3 {
- tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+15908 /* "DB DBNAME" */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+16697 /* "DB DBNAME" */)
return TCL_ERROR
}
if getDbPointer(tls, interp, tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 1*8))), bp /* &db */) != 0 {
@@ -46209,7 +47928,7 @@ func test_snapshot_recover(tls *libc.TLS, clientData uintptr, interp uintptr, ob
var zName uintptr
if objc != 3 {
- tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+15908 /* "DB DBNAME" */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+16697 /* "DB DBNAME" */)
return TCL_ERROR
}
if getDbPointer(tls, interp, tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 1*8))), bp /* &db */) != 0 {
@@ -46239,7 +47958,7 @@ func test_snapshot_open(tls *libc.TLS, clientData uintptr, interp uintptr, objc
var pSnapshot uintptr
if objc != 4 {
- tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+15918 /* "DB DBNAME SNAPSH..." */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+16707 /* "DB DBNAME SNAPSH..." */)
return TCL_ERROR
}
if getDbPointer(tls, interp, tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 1*8))), bp /* &db */) != 0 {
@@ -46262,7 +47981,7 @@ func test_snapshot_open(tls *libc.TLS, clientData uintptr, interp uintptr, objc
func test_snapshot_free(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:2428:26: */
var pSnapshot uintptr
if objc != 2 {
- tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+15937 /* "SNAPSHOT" */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+16726 /* "SNAPSHOT" */)
return TCL_ERROR
}
pSnapshot = sqlite3TestTextToPtr(tls, tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 1*8))))
@@ -46276,7 +47995,7 @@ func test_snapshot_cmp(tls *libc.TLS, clientData uintptr, interp uintptr, objc i
var p1 uintptr
var p2 uintptr
if objc != 3 {
- tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+15946 /* "SNAPSHOT1 SNAPSH..." */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+16735 /* "SNAPSHOT1 SNAPSH..." */)
return TCL_ERROR
}
p1 = sqlite3TestTextToPtr(tls, tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 1*8))))
@@ -46298,7 +48017,7 @@ func test_snapshot_get_blob(tls *libc.TLS, clientData uintptr, interp uintptr, o
*(*uintptr)(unsafe.Pointer(bp + 8 /* pSnapshot */)) = uintptr(0)
if objc != 3 {
- tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+15908 /* "DB DBNAME" */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+16697 /* "DB DBNAME" */)
return TCL_ERROR
}
if getDbPointer(tls, interp, tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 1*8))), bp /* &db */) != 0 {
@@ -46331,7 +48050,7 @@ func test_snapshot_open_blob(tls *libc.TLS, clientData uintptr, interp uintptr,
// var nBlob int32 at bp+24, 4
if objc != 4 {
- tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+15918 /* "DB DBNAME SNAPSH..." */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+16707 /* "DB DBNAME SNAPSH..." */)
return TCL_ERROR
}
if getDbPointer(tls, interp, tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 1*8))), bp+16 /* &db */) != 0 {
@@ -46340,7 +48059,7 @@ func test_snapshot_open_blob(tls *libc.TLS, clientData uintptr, interp uintptr,
zName = tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 2*8)))
pBlob = tcl.XTcl_GetByteArrayFromObj(tls, *(*uintptr)(unsafe.Pointer(objv + 3*8)), bp+24 /* &nBlob */)
if (uint64(*(*int32)(unsafe.Pointer(bp + 24 /* nBlob */))) != uint64(unsafe.Sizeof(sqlite3_snapshot{}))) {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15966 /* "bad SNAPSHOT" */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+16755 /* "bad SNAPSHOT" */, 0))
return TCL_ERROR
}
rc = sqlite3.Xsqlite3_snapshot_open(tls, *(*uintptr)(unsafe.Pointer(bp + 16 /* db */)), zName, pBlob)
@@ -46364,7 +48083,7 @@ func test_snapshot_cmp_blob(tls *libc.TLS, clientData uintptr, interp uintptr, o
// var n2 int32 at bp+20, 4
if objc != 3 {
- tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+15946 /* "SNAPSHOT1 SNAPSH..." */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+16735 /* "SNAPSHOT1 SNAPSH..." */)
return TCL_ERROR
}
@@ -46372,7 +48091,7 @@ func test_snapshot_cmp_blob(tls *libc.TLS, clientData uintptr, interp uintptr, o
p2 = tcl.XTcl_GetByteArrayFromObj(tls, *(*uintptr)(unsafe.Pointer(objv + 2*8)), bp+20 /* &n2 */)
if (uint64(*(*int32)(unsafe.Pointer(bp + 16 /* n1 */))) != uint64(unsafe.Sizeof(sqlite3_snapshot{}))) || (*(*int32)(unsafe.Pointer(bp + 16 /* n1 */)) != *(*int32)(unsafe.Pointer(bp + 20 /* n2 */))) {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15966 /* "bad SNAPSHOT" */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+16755 /* "bad SNAPSHOT" */, 0))
return TCL_ERROR
}
@@ -46386,7 +48105,7 @@ func test_delete_database(tls *libc.TLS, clientData uintptr, interp uintptr, obj
var rc int32
var zFile uintptr
if objc != 2 {
- tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+15979 /* "FILE" */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+16768 /* "FILE" */)
return TCL_ERROR
}
zFile = tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 1*8)))
@@ -46409,7 +48128,7 @@ func test_atomic_batch_write(tls *libc.TLS, clientData uintptr, interp uintptr,
var rc int32 // sqlite3_open() return code
if objc != 2 {
- tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+15984 /* "PATH" */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+16773 /* "PATH" */)
return TCL_ERROR
}
zFile = tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 1*8)))
@@ -46445,8 +48164,8 @@ func test_next_stmt(tls *libc.TLS, clientData uintptr, interp uintptr, objc int3
// var zBuf [50]int8 at bp+64, 50
if objc != 3 {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+14631, /* "wrong # args: sh..." */
- tcl.XTcl_GetStringFromObj(tls, *(*uintptr)(unsafe.Pointer(objv)), uintptr(0)), ts+15989 /* " DB STMT" */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15410, /* "wrong # args: sh..." */
+ tcl.XTcl_GetStringFromObj(tls, *(*uintptr)(unsafe.Pointer(objv)), uintptr(0)), ts+16778 /* " DB STMT" */, 0))
return TCL_ERROR
}
@@ -46479,8 +48198,8 @@ func test_stmt_readonly(tls *libc.TLS, clientData uintptr, interp uintptr, objc
var rc int32
if objc != 2 {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+14631, /* "wrong # args: sh..." */
- tcl.XTcl_GetStringFromObj(tls, *(*uintptr)(unsafe.Pointer(objv)), uintptr(0)), ts+15998 /* " STMT" */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15410, /* "wrong # args: sh..." */
+ tcl.XTcl_GetStringFromObj(tls, *(*uintptr)(unsafe.Pointer(objv)), uintptr(0)), ts+16787 /* " STMT" */, 0))
return TCL_ERROR
}
@@ -46505,8 +48224,8 @@ func test_stmt_isexplain(tls *libc.TLS, clientData uintptr, interp uintptr, objc
var rc int32
if objc != 2 {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+14631, /* "wrong # args: sh..." */
- tcl.XTcl_GetStringFromObj(tls, *(*uintptr)(unsafe.Pointer(objv)), uintptr(0)), ts+15998 /* " STMT" */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15410, /* "wrong # args: sh..." */
+ tcl.XTcl_GetStringFromObj(tls, *(*uintptr)(unsafe.Pointer(objv)), uintptr(0)), ts+16787 /* " STMT" */, 0))
return TCL_ERROR
}
@@ -46531,8 +48250,8 @@ func test_stmt_busy(tls *libc.TLS, clientData uintptr, interp uintptr, objc int3
var rc int32
if objc != 2 {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+14631, /* "wrong # args: sh..." */
- tcl.XTcl_GetStringFromObj(tls, *(*uintptr)(unsafe.Pointer(objv)), uintptr(0)), ts+15998 /* " STMT" */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15410, /* "wrong # args: sh..." */
+ tcl.XTcl_GetStringFromObj(tls, *(*uintptr)(unsafe.Pointer(objv)), uintptr(0)), ts+16787 /* " STMT" */, 0))
return TCL_ERROR
}
@@ -46554,8 +48273,8 @@ func uses_stmt_journal(tls *libc.TLS, clientData uintptr, interp uintptr, objc i
// var pStmt uintptr at bp+32, 8
if objc != 2 {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+14631, /* "wrong # args: sh..." */
- tcl.XTcl_GetStringFromObj(tls, *(*uintptr)(unsafe.Pointer(objv)), uintptr(0)), ts+15998 /* " STMT" */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15410, /* "wrong # args: sh..." */
+ tcl.XTcl_GetStringFromObj(tls, *(*uintptr)(unsafe.Pointer(objv)), uintptr(0)), ts+16787 /* " STMT" */, 0))
return TCL_ERROR
}
@@ -46563,7 +48282,7 @@ func uses_stmt_journal(tls *libc.TLS, clientData uintptr, interp uintptr, objc i
return TCL_ERROR
}
sqlite3.Xsqlite3_stmt_readonly(tls, *(*uintptr)(unsafe.Pointer(bp + 32 /* pStmt */)))
- tcl.XTcl_SetObjResult(tls, interp, tcl.XTcl_NewIntObj(tls, (libc.Bool32((int32(*(*uint16)(unsafe.Pointer(*(*uintptr)(unsafe.Pointer(bp + 32 /* pStmt */)) + 200 /* &.usesStmtJournal */))>>9&0x1)) != 0))))
+ tcl.XTcl_SetObjResult(tls, interp, tcl.XTcl_NewIntObj(tls, (libc.Bool32((int32(*(*uint16)(unsafe.Pointer(*(*uintptr)(unsafe.Pointer(bp + 32 /* pStmt */)) + 200 /* &.usesStmtJournal */))&0x40>>6)) != 0))))
return TCL_OK
}
@@ -46579,8 +48298,8 @@ func test_reset(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, o
var rc int32
if objc != 2 {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+14631, /* "wrong # args: sh..." */
- tcl.XTcl_GetStringFromObj(tls, *(*uintptr)(unsafe.Pointer(objv)), uintptr(0)), ts+15684 /* " " */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15410, /* "wrong # args: sh..." */
+ tcl.XTcl_GetStringFromObj(tls, *(*uintptr)(unsafe.Pointer(objv)), uintptr(0)), ts+16473 /* " " */, 0))
return TCL_ERROR
}
@@ -46610,8 +48329,8 @@ func test_expired(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32,
// var pStmt uintptr at bp+32, 8
if objc != 2 {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+14631, /* "wrong # args: sh..." */
- tcl.XTcl_GetStringFromObj(tls, *(*uintptr)(unsafe.Pointer(objv)), uintptr(0)), ts+15684 /* " " */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15410, /* "wrong # args: sh..." */
+ tcl.XTcl_GetStringFromObj(tls, *(*uintptr)(unsafe.Pointer(objv)), uintptr(0)), ts+16473 /* " " */, 0))
return TCL_ERROR
}
if getStmtPointer(tls, interp, tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 1*8))), bp+32 /* &pStmt */) != 0 {
@@ -46633,8 +48352,8 @@ func test_transfer_bind(tls *libc.TLS, clientData uintptr, interp uintptr, objc
// var pStmt2 uintptr at bp+40, 8
if objc != 3 {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+14631, /* "wrong # args: sh..." */
- tcl.XTcl_GetStringFromObj(tls, *(*uintptr)(unsafe.Pointer(objv)), uintptr(0)), ts+16004 /* " FROM-STMT TO-ST..." */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15410, /* "wrong # args: sh..." */
+ tcl.XTcl_GetStringFromObj(tls, *(*uintptr)(unsafe.Pointer(objv)), uintptr(0)), ts+16793 /* " FROM-STMT TO-ST..." */, 0))
return TCL_ERROR
}
if getStmtPointer(tls, interp, tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 1*8))), bp+32 /* &pStmt1 */) != 0 {
@@ -46659,8 +48378,8 @@ func test_changes(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32,
// var db uintptr at bp+32, 8
if objc != 2 {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+14631, /* "wrong # args: sh..." */
- tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv))), ts+14683 /* " DB" */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15410, /* "wrong # args: sh..." */
+ tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv))), ts+15462 /* " DB" */, 0))
return TCL_ERROR
}
if getDbPointer(tls, interp, tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 1*8))), bp+32 /* &db */) != 0 {
@@ -46694,8 +48413,8 @@ func test_bind(tls *libc.TLS, NotUsed uintptr, interp uintptr, argc int32, argv
// var idx int32 at bp+88, 4
if argc != 5 {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+14631 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
- ts+16023 /* " VM IDX VALUE (n..." */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15410 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
+ ts+16812 /* " VM IDX VALUE (n..." */, 0))
return TCL_ERROR
}
if getStmtPointer(tls, interp, *(*uintptr)(unsafe.Pointer(argv + 1*8)), bp+80 /* &pStmt */) != 0 {
@@ -46704,20 +48423,20 @@ func test_bind(tls *libc.TLS, NotUsed uintptr, interp uintptr, argc int32, argv
if tcl.XTcl_GetInt(tls, interp, *(*uintptr)(unsafe.Pointer(argv + 2*8)), bp+88 /* &idx */) != 0 {
return TCL_ERROR
}
- if libc.Xstrcmp(tls, *(*uintptr)(unsafe.Pointer(argv + 4*8)), ts+7387 /* "null" */) == 0 {
+ if libc.Xstrcmp(tls, *(*uintptr)(unsafe.Pointer(argv + 4*8)), ts+7385 /* "null" */) == 0 {
rc = sqlite3.Xsqlite3_bind_null(tls, *(*uintptr)(unsafe.Pointer(bp + 80 /* pStmt */)), *(*int32)(unsafe.Pointer(bp + 88 /* idx */)))
- } else if libc.Xstrcmp(tls, *(*uintptr)(unsafe.Pointer(argv + 4*8)), ts+16059 /* "static" */) == 0 {
+ } else if libc.Xstrcmp(tls, *(*uintptr)(unsafe.Pointer(argv + 4*8)), ts+16848 /* "static" */) == 0 {
rc = sqlite3.Xsqlite3_bind_text(tls, *(*uintptr)(unsafe.Pointer(bp + 80 /* pStmt */)), *(*int32)(unsafe.Pointer(bp + 88 /* idx */)), sqlite_static_bind_value, -1, uintptr(0))
- } else if libc.Xstrcmp(tls, *(*uintptr)(unsafe.Pointer(argv + 4*8)), ts+16066 /* "static-nbytes" */) == 0 {
+ } else if libc.Xstrcmp(tls, *(*uintptr)(unsafe.Pointer(argv + 4*8)), ts+16855 /* "static-nbytes" */) == 0 {
rc = sqlite3.Xsqlite3_bind_text(tls, *(*uintptr)(unsafe.Pointer(bp + 80 /* pStmt */)), *(*int32)(unsafe.Pointer(bp + 88 /* idx */)), sqlite_static_bind_value,
sqlite_static_bind_nbyte, uintptr(0))
- } else if libc.Xstrcmp(tls, *(*uintptr)(unsafe.Pointer(argv + 4*8)), ts+16080 /* "normal" */) == 0 {
+ } else if libc.Xstrcmp(tls, *(*uintptr)(unsafe.Pointer(argv + 4*8)), ts+16869 /* "normal" */) == 0 {
rc = sqlite3.Xsqlite3_bind_text(tls, *(*uintptr)(unsafe.Pointer(bp + 80 /* pStmt */)), *(*int32)(unsafe.Pointer(bp + 88 /* idx */)), *(*uintptr)(unsafe.Pointer(argv + 3*8)), -1, libc.UintptrFromInt32(-1))
- } else if libc.Xstrcmp(tls, *(*uintptr)(unsafe.Pointer(argv + 4*8)), ts+16087 /* "blob10" */) == 0 {
- rc = sqlite3.Xsqlite3_bind_text(tls, *(*uintptr)(unsafe.Pointer(bp + 80 /* pStmt */)), *(*int32)(unsafe.Pointer(bp + 88 /* idx */)), ts+16094 /* "abc\x00xyz\x00pq" */, 10, uintptr(0))
+ } else if libc.Xstrcmp(tls, *(*uintptr)(unsafe.Pointer(argv + 4*8)), ts+16876 /* "blob10" */) == 0 {
+ rc = sqlite3.Xsqlite3_bind_text(tls, *(*uintptr)(unsafe.Pointer(bp + 80 /* pStmt */)), *(*int32)(unsafe.Pointer(bp + 88 /* idx */)), ts+16883 /* "abc\x00xyz\x00pq" */, 10, uintptr(0))
} else {
tcl.XTcl_AppendResult(tls, interp,
- libc.VaList(bp+32, ts+16105 /* "4th argument sho..." */, 0))
+ libc.VaList(bp+32, ts+16894 /* "4th argument sho..." */, 0))
return TCL_ERROR
}
if sqlite3TestErrCode(tls, interp, sqlite3.Xsqlite3_db_handle(tls, *(*uintptr)(unsafe.Pointer(bp + 80 /* pStmt */))), rc) != 0 {
@@ -46726,7 +48445,7 @@ func test_bind(tls *libc.TLS, NotUsed uintptr, interp uintptr, argc int32, argv
if rc != 0 {
// var zBuf [50]int8 at bp+92, 50
- sqlite3.Xsqlite3_snprintf(tls, int32(unsafe.Sizeof([50]int8{})), bp+92 /* &zBuf[0] */, ts+16159 /* "(%d) " */, libc.VaList(bp+48, rc))
+ sqlite3.Xsqlite3_snprintf(tls, int32(unsafe.Sizeof([50]int8{})), bp+92 /* &zBuf[0] */, ts+16948 /* "(%d) " */, libc.VaList(bp+48, rc))
tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+56, bp+92 /* &zBuf[0] */, sqlite3.Xsqlite3ErrStr(tls, rc), 0))
return TCL_ERROR
}
@@ -46773,18 +48492,18 @@ func test_collate_func(tls *libc.TLS, pCtx uintptr, nA int32, zA uintptr, nB int
var pVal uintptr
var pX uintptr
- pX = tcl.XTcl_NewStringObj(tls, ts+16165 /* "test_collate" */, -1)
+ pX = tcl.XTcl_NewStringObj(tls, ts+16954 /* "test_collate" */, -1)
(*Tcl_Obj)(unsafe.Pointer(pX)).FrefCount++
switch encin {
case SQLITE_UTF8:
- tcl.XTcl_ListObjAppendElement(tls, i, pX, tcl.XTcl_NewStringObj(tls, ts+16178 /* "UTF-8" */, -1))
+ tcl.XTcl_ListObjAppendElement(tls, i, pX, tcl.XTcl_NewStringObj(tls, ts+16967 /* "UTF-8" */, -1))
break
case SQLITE_UTF16LE:
- tcl.XTcl_ListObjAppendElement(tls, i, pX, tcl.XTcl_NewStringObj(tls, ts+16184 /* "UTF-16LE" */, -1))
+ tcl.XTcl_ListObjAppendElement(tls, i, pX, tcl.XTcl_NewStringObj(tls, ts+16973 /* "UTF-16LE" */, -1))
break
case SQLITE_UTF16BE:
- tcl.XTcl_ListObjAppendElement(tls, i, pX, tcl.XTcl_NewStringObj(tls, ts+16193 /* "UTF-16BE" */, -1))
+ tcl.XTcl_ListObjAppendElement(tls, i, pX, tcl.XTcl_NewStringObj(tls, ts+16982 /* "UTF-16BE" */, -1))
break
default:
@@ -46848,7 +48567,7 @@ __2:
return TCL_ERROR
__3:
;
- rc = sqlite3.Xsqlite3_create_collation(tls, *(*uintptr)(unsafe.Pointer(bp + 48 /* db */)), ts+16165 /* "test_collate" */, SQLITE_UTF8,
+ rc = sqlite3.Xsqlite3_create_collation(tls, *(*uintptr)(unsafe.Pointer(bp + 48 /* db */)), ts+16954 /* "test_collate" */, SQLITE_UTF8,
uintptr(SQLITE_UTF8), func() uintptr {
if *(*int32)(unsafe.Pointer(bp + 56 /* val */)) != 0 {
return *(*uintptr)(unsafe.Pointer(&struct {
@@ -46866,7 +48585,7 @@ __3:
return TCL_ERROR
__5:
;
- rc = sqlite3.Xsqlite3_create_collation(tls, *(*uintptr)(unsafe.Pointer(bp + 48 /* db */)), ts+16165 /* "test_collate" */, SQLITE_UTF16LE,
+ rc = sqlite3.Xsqlite3_create_collation(tls, *(*uintptr)(unsafe.Pointer(bp + 48 /* db */)), ts+16954 /* "test_collate" */, SQLITE_UTF16LE,
uintptr(SQLITE_UTF16LE), func() uintptr {
if *(*int32)(unsafe.Pointer(bp + 56 /* val */)) != 0 {
return *(*uintptr)(unsafe.Pointer(&struct {
@@ -46884,7 +48603,7 @@ __6:
sqlite3.Xsqlite3_mutex_enter(tls, (*sqlite31)(unsafe.Pointer(*(*uintptr)(unsafe.Pointer(bp + 48 /* db */)))).Fmutex)
pVal = sqlite3.Xsqlite3ValueNew(tls, *(*uintptr)(unsafe.Pointer(bp + 48 /* db */)))
- sqlite3.Xsqlite3ValueSetStr(tls, pVal, -1, ts+16165 /* "test_collate" */, uint8(SQLITE_UTF8), uintptr(0))
+ sqlite3.Xsqlite3ValueSetStr(tls, pVal, -1, ts+16954 /* "test_collate" */, uint8(SQLITE_UTF8), uintptr(0))
zUtf16 = sqlite3.Xsqlite3ValueText(tls, pVal, func() uint8 {
if int32(*(*int8)(unsafe.Pointer(uintptr(unsafe.Pointer(&sqlite3.Xsqlite3one))))) == 0 {
return uint8(SQLITE_UTF16BE)
@@ -46929,8 +48648,8 @@ __10:
return TCL_OK
bad_args:
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+16, ts+14631, /* "wrong # args: sh..." */
- tcl.XTcl_GetStringFromObj(tls, *(*uintptr)(unsafe.Pointer(objv)), uintptr(0)), ts+16202 /* " " */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+17077 /* "" */)
}
zCode = tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 1*8)))
@@ -47345,7 +49064,7 @@ func test_bind_zeroblob(tls *libc.TLS, clientData uintptr, interp uintptr, objc
var rc int32
if objc != 4 {
- tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+16301 /* "STMT IDX N" */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+17090 /* "STMT IDX N" */)
return TCL_ERROR
}
@@ -47388,7 +49107,7 @@ func test_bind_zeroblob64(tls *libc.TLS, clientData uintptr, interp uintptr, obj
var rc int32
if objc != 4 {
- tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+16301 /* "STMT IDX N" */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+17090 /* "STMT IDX N" */)
return TCL_ERROR
}
@@ -47432,8 +49151,8 @@ func test_bind_int(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32
var rc int32
if objc != 4 {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+14631, /* "wrong # args: sh..." */
- tcl.XTcl_GetStringFromObj(tls, *(*uintptr)(unsafe.Pointer(objv)), uintptr(0)), ts+16312 /* " STMT N VALUE" */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15410, /* "wrong # args: sh..." */
+ tcl.XTcl_GetStringFromObj(tls, *(*uintptr)(unsafe.Pointer(objv)), uintptr(0)), ts+17101 /* " STMT N VALUE" */, 0))
return TCL_ERROR
}
@@ -47610,8 +49329,8 @@ func test_bind_int64(tls *libc.TLS, clientData uintptr, interp uintptr, objc int
var rc int32
if objc != 4 {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+14631, /* "wrong # args: sh..." */
- tcl.XTcl_GetStringFromObj(tls, *(*uintptr)(unsafe.Pointer(objv)), uintptr(0)), ts+16312 /* " STMT N VALUE" */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15410, /* "wrong # args: sh..." */
+ tcl.XTcl_GetStringFromObj(tls, *(*uintptr)(unsafe.Pointer(objv)), uintptr(0)), ts+17101 /* " STMT N VALUE" */, 0))
return TCL_ERROR
}
@@ -47655,8 +49374,8 @@ func test_bind_double(tls *libc.TLS, clientData uintptr, interp uintptr, objc in
var i int32
if objc != 4 {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+14631, /* "wrong # args: sh..." */
- tcl.XTcl_GetStringFromObj(tls, *(*uintptr)(unsafe.Pointer(objv)), uintptr(0)), ts+16312 /* " STMT N VALUE" */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15410, /* "wrong # args: sh..." */
+ tcl.XTcl_GetStringFromObj(tls, *(*uintptr)(unsafe.Pointer(objv)), uintptr(0)), ts+17101 /* " STMT N VALUE" */, 0))
return TCL_ERROR
}
@@ -47711,16 +49430,16 @@ var aSpecialFp = [10]struct {
FiUpper uint32
FiLower uint32
}{
- {FzName: ts + 16326 /* "NaN" */, FiUpper: uint32(0x7fffffff), FiLower: 0xffffffff},
- {FzName: ts + 16330 /* "SNaN" */, FiUpper: uint32(0x7ff7ffff), FiLower: 0xffffffff},
- {FzName: ts + 16335 /* "-NaN" */, FiUpper: 0xffffffff, FiLower: 0xffffffff},
- {FzName: ts + 16340 /* "-SNaN" */, FiUpper: 0xfff7ffff, FiLower: 0xffffffff},
- {FzName: ts + 16346 /* "+Inf" */, FiUpper: uint32(0x7ff00000)},
- {FzName: ts + 16351 /* "-Inf" */, FiUpper: 0xfff00000},
- {FzName: ts + 16356 /* "Epsilon" */, FiLower: uint32(0x00000001)},
- {FzName: ts + 16364 /* "-Epsilon" */, FiUpper: 0x80000000, FiLower: uint32(0x00000001)},
- {FzName: ts + 16373 /* "NaN0" */, FiUpper: uint32(0x7ff80000)},
- {FzName: ts + 16378 /* "-NaN0" */, FiUpper: 0xfff80000},
+ {FzName: ts + 17115 /* "NaN" */, FiUpper: uint32(0x7fffffff), FiLower: 0xffffffff},
+ {FzName: ts + 17119 /* "SNaN" */, FiUpper: uint32(0x7ff7ffff), FiLower: 0xffffffff},
+ {FzName: ts + 17124 /* "-NaN" */, FiUpper: 0xffffffff, FiLower: 0xffffffff},
+ {FzName: ts + 17129 /* "-SNaN" */, FiUpper: 0xfff7ffff, FiLower: 0xffffffff},
+ {FzName: ts + 17135 /* "+Inf" */, FiUpper: uint32(0x7ff00000)},
+ {FzName: ts + 17140 /* "-Inf" */, FiUpper: 0xfff00000},
+ {FzName: ts + 17145 /* "Epsilon" */, FiLower: uint32(0x00000001)},
+ {FzName: ts + 17153 /* "-Epsilon" */, FiUpper: 0x80000000, FiLower: uint32(0x00000001)},
+ {FzName: ts + 17162 /* "NaN0" */, FiUpper: uint32(0x7ff80000)},
+ {FzName: ts + 17167 /* "-NaN0" */, FiUpper: 0xfff80000},
} /* test1.c:3724:5 */
// Usage: sqlite3_bind_null STMT N
@@ -47739,8 +49458,8 @@ func test_bind_null(tls *libc.TLS, clientData uintptr, interp uintptr, objc int3
var rc int32
if objc != 3 {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+14631, /* "wrong # args: sh..." */
- tcl.XTcl_GetStringFromObj(tls, *(*uintptr)(unsafe.Pointer(objv)), uintptr(0)), ts+16384 /* " STMT N" */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15410, /* "wrong # args: sh..." */
+ tcl.XTcl_GetStringFromObj(tls, *(*uintptr)(unsafe.Pointer(objv)), uintptr(0)), ts+17173 /* " STMT N" */, 0))
return TCL_ERROR
}
@@ -47769,41 +49488,53 @@ func test_bind_null(tls *libc.TLS, clientData uintptr, interp uintptr, objc int3
// binds a UTF-8 string STRING to the wildcard. The string is BYTES bytes
// long.
func test_bind_text(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:3820:26: */
- bp := tls.Alloc(64)
- defer tls.Free(64)
+ bp := tls.Alloc(84)
+ defer tls.Free(84)
- // var pStmt uintptr at bp+48, 8
+ // var pStmt uintptr at bp+64, 8
- // var idx int32 at bp+56, 4
+ // var idx int32 at bp+72, 4
- // var bytes int32 at bp+60, 4
+ *(*int32)(unsafe.Pointer(bp + 76 /* trueLength */)) = 0
+ // var bytes int32 at bp+80, 4
var value uintptr
var rc int32
+ var toFree uintptr = uintptr(0)
if objc != 5 {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+14631, /* "wrong # args: sh..." */
- tcl.XTcl_GetStringFromObj(tls, *(*uintptr)(unsafe.Pointer(objv)), uintptr(0)), ts+16392 /* " STMT N VALUE BY..." */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15410, /* "wrong # args: sh..." */
+ tcl.XTcl_GetStringFromObj(tls, *(*uintptr)(unsafe.Pointer(objv)), uintptr(0)), ts+17181 /* " STMT N VALUE BY..." */, 0))
return TCL_ERROR
}
- if getStmtPointer(tls, interp, tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 1*8))), bp+48 /* &pStmt */) != 0 {
+ if getStmtPointer(tls, interp, tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 1*8))), bp+64 /* &pStmt */) != 0 {
return TCL_ERROR
}
- if tcl.XTcl_GetIntFromObj(tls, interp, *(*uintptr)(unsafe.Pointer(objv + 2*8)), bp+56 /* &idx */) != 0 {
+ if tcl.XTcl_GetIntFromObj(tls, interp, *(*uintptr)(unsafe.Pointer(objv + 2*8)), bp+72 /* &idx */) != 0 {
return TCL_ERROR
}
- value = tcl.XTcl_GetByteArrayFromObj(tls, *(*uintptr)(unsafe.Pointer(objv + 3*8)), bp+60 /* &bytes */)
- if tcl.XTcl_GetIntFromObj(tls, interp, *(*uintptr)(unsafe.Pointer(objv + 4*8)), bp+60 /* &bytes */) != 0 {
+ value = tcl.XTcl_GetByteArrayFromObj(tls, *(*uintptr)(unsafe.Pointer(objv + 3*8)), bp+76 /* &trueLength */)
+ if tcl.XTcl_GetIntFromObj(tls, interp, *(*uintptr)(unsafe.Pointer(objv + 4*8)), bp+80 /* &bytes */) != 0 {
return TCL_ERROR
}
-
- rc = sqlite3.Xsqlite3_bind_text(tls, *(*uintptr)(unsafe.Pointer(bp + 48 /* pStmt */)), *(*int32)(unsafe.Pointer(bp + 56 /* idx */)), value, *(*int32)(unsafe.Pointer(bp + 60 /* bytes */)), libc.UintptrFromInt32(-1))
- if sqlite3TestErrCode(tls, interp, sqlite3.Xsqlite3_db_handle(tls, *(*uintptr)(unsafe.Pointer(bp + 48 /* pStmt */))), rc) != 0 {
+ if *(*int32)(unsafe.Pointer(bp + 80 /* bytes */)) < 0 {
+ toFree = libc.Xmalloc(tls, (uint64(*(*int32)(unsafe.Pointer(bp + 76 /* trueLength */)) + 1)))
+ if toFree == uintptr(0) {
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+32, ts+1930 /* "out of memory" */, uintptr(0)))
+ return TCL_ERROR
+ }
+ libc.Xmemcpy(tls, toFree, value, uint64(*(*int32)(unsafe.Pointer(bp + 76 /* trueLength */))))
+ *(*int8)(unsafe.Pointer(toFree + uintptr(*(*int32)(unsafe.Pointer(bp + 76 /* trueLength */))))) = int8(0)
+ value = toFree
+ }
+ rc = sqlite3.Xsqlite3_bind_text(tls, *(*uintptr)(unsafe.Pointer(bp + 64 /* pStmt */)), *(*int32)(unsafe.Pointer(bp + 72 /* idx */)), value, *(*int32)(unsafe.Pointer(bp + 80 /* bytes */)), libc.UintptrFromInt32(-1))
+ libc.Xfree(tls, toFree)
+ if sqlite3TestErrCode(tls, interp, sqlite3.Xsqlite3_db_handle(tls, *(*uintptr)(unsafe.Pointer(bp + 64 /* pStmt */))), rc) != 0 {
return TCL_ERROR
}
if rc != SQLITE_OK {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+32, sqlite3.Xsqlite3ErrName(tls, rc), 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+48, sqlite3.Xsqlite3ErrName(tls, rc), uintptr(0)))
return TCL_ERROR
}
@@ -47816,18 +49547,20 @@ func test_bind_text(tls *libc.TLS, clientData uintptr, interp uintptr, objc int3
// N is the index of a wildcard in the prepared statement. This command
// binds a UTF-16 string STRING to the wildcard. The string is BYTES bytes
// long.
-func test_bind_text16(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:3861:26: */
- bp := tls.Alloc(64)
- defer tls.Free(64)
+func test_bind_text16(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:3873:26: */
+ bp := tls.Alloc(84)
+ defer tls.Free(84)
- // var pStmt uintptr at bp+48, 8
+ // var pStmt uintptr at bp+64, 8
- // var idx int32 at bp+56, 4
+ // var idx int32 at bp+72, 4
- // var bytes int32 at bp+60, 4
+ // var bytes int32 at bp+80, 4
var value uintptr
+ var toFree uintptr = uintptr(0)
var rc int32
+ *(*int32)(unsafe.Pointer(bp + 76 /* trueLength */)) = 0
var xDel uintptr = func() uintptr {
if objc == 6 {
@@ -47841,28 +49574,38 @@ func test_bind_text16(tls *libc.TLS, clientData uintptr, interp uintptr, objc in
var oBytes uintptr = *(*uintptr)(unsafe.Pointer(objv + uintptr((objc-1))*8))
if (objc != 5) && (objc != 6) {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+14631, /* "wrong # args: sh..." */
- tcl.XTcl_GetStringFromObj(tls, *(*uintptr)(unsafe.Pointer(objv)), uintptr(0)), ts+16392 /* " STMT N VALUE BY..." */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15410, /* "wrong # args: sh..." */
+ tcl.XTcl_GetStringFromObj(tls, *(*uintptr)(unsafe.Pointer(objv)), uintptr(0)), ts+17181 /* " STMT N VALUE BY..." */, 0))
return TCL_ERROR
}
- if getStmtPointer(tls, interp, tcl.XTcl_GetString(tls, oStmt), bp+48 /* &pStmt */) != 0 {
+ if getStmtPointer(tls, interp, tcl.XTcl_GetString(tls, oStmt), bp+64 /* &pStmt */) != 0 {
return TCL_ERROR
}
- if tcl.XTcl_GetIntFromObj(tls, interp, oN, bp+56 /* &idx */) != 0 {
+ if tcl.XTcl_GetIntFromObj(tls, interp, oN, bp+72 /* &idx */) != 0 {
return TCL_ERROR
}
- value = tcl.XTcl_GetByteArrayFromObj(tls, oString, uintptr(0))
- if tcl.XTcl_GetIntFromObj(tls, interp, oBytes, bp+60 /* &bytes */) != 0 {
+ value = tcl.XTcl_GetByteArrayFromObj(tls, oString, bp+76 /* &trueLength */)
+ if tcl.XTcl_GetIntFromObj(tls, interp, oBytes, bp+80 /* &bytes */) != 0 {
return TCL_ERROR
}
-
- rc = sqlite3.Xsqlite3_bind_text16(tls, *(*uintptr)(unsafe.Pointer(bp + 48 /* pStmt */)), *(*int32)(unsafe.Pointer(bp + 56 /* idx */)), value, *(*int32)(unsafe.Pointer(bp + 60 /* bytes */)), xDel)
- if sqlite3TestErrCode(tls, interp, sqlite3.Xsqlite3_db_handle(tls, *(*uintptr)(unsafe.Pointer(bp + 48 /* pStmt */))), rc) != 0 {
+ if (*(*int32)(unsafe.Pointer(bp + 80 /* bytes */)) < 0) && (xDel == (libc.UintptrFromInt32(-1))) {
+ toFree = libc.Xmalloc(tls, (uint64(*(*int32)(unsafe.Pointer(bp + 76 /* trueLength */)) + 3)))
+ if toFree == uintptr(0) {
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+32, ts+1930 /* "out of memory" */, uintptr(0)))
+ return TCL_ERROR
+ }
+ libc.Xmemcpy(tls, toFree, value, uint64(*(*int32)(unsafe.Pointer(bp + 76 /* trueLength */))))
+ libc.Xmemset(tls, (toFree + uintptr(*(*int32)(unsafe.Pointer(bp + 76 /* trueLength */)))), 0, uint64(3))
+ value = toFree
+ }
+ rc = sqlite3.Xsqlite3_bind_text16(tls, *(*uintptr)(unsafe.Pointer(bp + 64 /* pStmt */)), *(*int32)(unsafe.Pointer(bp + 72 /* idx */)), value, *(*int32)(unsafe.Pointer(bp + 80 /* bytes */)), xDel)
+ libc.Xfree(tls, toFree)
+ if sqlite3TestErrCode(tls, interp, sqlite3.Xsqlite3_db_handle(tls, *(*uintptr)(unsafe.Pointer(bp + 64 /* pStmt */))), rc) != 0 {
return TCL_ERROR
}
if rc != SQLITE_OK {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+32, sqlite3.Xsqlite3ErrName(tls, rc), 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+48, sqlite3.Xsqlite3ErrName(tls, rc), 0))
return TCL_ERROR
}
@@ -47874,7 +49617,7 @@ func test_bind_text16(tls *libc.TLS, clientData uintptr, interp uintptr, objc in
// Test the sqlite3_bind_blob interface. STMT is a prepared statement.
// N is the index of a wildcard in the prepared statement. This command
// binds a BLOB to the wildcard. The BLOB is BYTES bytes in size.
-func test_bind_blob(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:3909:26: */
+func test_bind_blob(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:3933:26: */
bp := tls.Alloc(284)
defer tls.Free(284)
@@ -47891,8 +49634,8 @@ func test_bind_blob(tls *libc.TLS, clientData uintptr, interp uintptr, objc int3
var xDestructor sqlite3_destructor_type = libc.UintptrFromInt32(-1)
if (objc != 5) && (objc != 6) {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+14631, /* "wrong # args: sh..." */
- tcl.XTcl_GetStringFromObj(tls, *(*uintptr)(unsafe.Pointer(objv)), uintptr(0)), ts+16412 /* " STMT N DATA BYT..." */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15410, /* "wrong # args: sh..." */
+ tcl.XTcl_GetStringFromObj(tls, *(*uintptr)(unsafe.Pointer(objv)), uintptr(0)), ts+17201 /* " STMT N DATA BYT..." */, 0))
return TCL_ERROR
}
@@ -47917,7 +49660,7 @@ func test_bind_blob(tls *libc.TLS, clientData uintptr, interp uintptr, objc int3
// var zBuf [200]int8 at bp+84, 200
sqlite3.Xsqlite3_snprintf(tls, int32(unsafe.Sizeof([200]int8{})), bp+84, /* &zBuf[0] */
- ts+16431 /* "cannot use %d bl..." */, libc.VaList(bp+32, *(*int32)(unsafe.Pointer(bp + 80 /* bytes */)), *(*int32)(unsafe.Pointer(bp + 76 /* len */))))
+ ts+17220 /* "cannot use %d bl..." */, libc.VaList(bp+32, *(*int32)(unsafe.Pointer(bp + 80 /* bytes */)), *(*int32)(unsafe.Pointer(bp + 76 /* len */))))
tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+48, bp+84 /* &zBuf[0] */, uintptr(0)))
return TCL_ERROR
}
@@ -47945,7 +49688,7 @@ func test_bind_blob(tls *libc.TLS, clientData uintptr, interp uintptr, objc int3
//
// Each call clears static data. Called with no options does nothing
// but clear static data.
-func test_carray_bind(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:3972:26: */
+func test_carray_bind(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:3996:26: */
bp := tls.Alloc(112)
defer tls.Free(112)
@@ -48022,52 +49765,52 @@ __7:
goto __9
}
z = tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + uintptr(i)*8)))
- if !(libc.Xstrcmp(tls, z, ts+16465 /* "-transient" */) == 0) {
+ if !(libc.Xstrcmp(tls, z, ts+17254 /* "-transient" */) == 0) {
goto __10
}
isTransient = 1
xDel = libc.UintptrFromInt32(-1)
goto __11
__10:
- if !(libc.Xstrcmp(tls, z, ts+16476 /* "-static" */) == 0) {
+ if !(libc.Xstrcmp(tls, z, ts+17265 /* "-static" */) == 0) {
goto __12
}
isStatic = 1
xDel = uintptr(0)
goto __13
__12:
- if !(libc.Xstrcmp(tls, z, ts+16484 /* "-int32" */) == 0) {
+ if !(libc.Xstrcmp(tls, z, ts+17273 /* "-int32" */) == 0) {
goto __14
}
eType = 0 // CARRAY_INT32
goto __15
__14:
- if !(libc.Xstrcmp(tls, z, ts+16491 /* "-int64" */) == 0) {
+ if !(libc.Xstrcmp(tls, z, ts+17280 /* "-int64" */) == 0) {
goto __16
}
eType = 1 // CARRAY_INT64
goto __17
__16:
- if !(libc.Xstrcmp(tls, z, ts+16498 /* "-double" */) == 0) {
+ if !(libc.Xstrcmp(tls, z, ts+17287 /* "-double" */) == 0) {
goto __18
}
eType = 2 // CARRAY_DOUBLE
goto __19
__18:
- if !(libc.Xstrcmp(tls, z, ts+16506 /* "-text" */) == 0) {
+ if !(libc.Xstrcmp(tls, z, ts+17295 /* "-text" */) == 0) {
goto __20
}
eType = 3 // CARRAY_TEXT
goto __21
__20:
- if !(libc.Xstrcmp(tls, z, ts+16512 /* "--" */) == 0) {
+ if !(libc.Xstrcmp(tls, z, ts+17301 /* "--" */) == 0) {
goto __22
}
goto __9
goto __23
__22:
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+12135 /* "unknown option: " */, z, uintptr(0)))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+12914 /* "unknown option: " */, z, uintptr(0)))
return TCL_ERROR
__23:
;
@@ -48093,7 +49836,7 @@ __9:
if !(((eType == 3) && !(isStatic != 0)) && !(isTransient != 0)) {
goto __24
}
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+24, ts+16515, /* "text data must b..." */
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+24, ts+17304, /* "text data must b..." */
uintptr(0)))
return TCL_ERROR
__24:
@@ -48101,7 +49844,7 @@ __24:
if !((isStatic != 0) && (isTransient != 0)) {
goto __25
}
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+40, ts+16562, /* "cannot be both -..." */
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+40, ts+17351, /* "cannot be both -..." */
uintptr(0)))
return TCL_ERROR
__25:
@@ -48109,7 +49852,7 @@ __25:
if !((objc - i) < 2) {
goto __26
}
- tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+16600 /* "[OPTIONS] STMT I..." */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+17389 /* "[OPTIONS] STMT I..." */)
return TCL_ERROR
__26:
;
@@ -48316,21 +50059,21 @@ __60:
return TCL_OK
}
-var aStaticData uintptr = uintptr(0) /* test1.c:3988:15 */
-var nStaticData int32 = 0 /* test1.c:3989:14 */
-var eStaticType int32 = 0 /* test1.c:3990:14 */
+var aStaticData uintptr = uintptr(0) /* test1.c:4012:15 */
+var nStaticData int32 = 0 /* test1.c:4013:14 */
+var eStaticType int32 = 0 /* test1.c:4014:14 */
// Usage: sqlite3_bind_parameter_count STMT
//
// Return the number of wildcards in the given statement.
-func test_bind_parameter_count(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:4150:26: */
+func test_bind_parameter_count(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:4174:26: */
bp := tls.Alloc(8)
defer tls.Free(8)
// var pStmt uintptr at bp, 8
if objc != 2 {
- tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+16629 /* "STMT" */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+17418 /* "STMT" */)
return TCL_ERROR
}
if getStmtPointer(tls, interp, tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 1*8))), bp /* &pStmt */) != 0 {
@@ -48345,7 +50088,7 @@ func test_bind_parameter_count(tls *libc.TLS, clientData uintptr, interp uintptr
// Return the name of the Nth wildcard. The first wildcard is 1.
// An empty string is returned if N is out of range or if the wildcard
// is nameless.
-func test_bind_parameter_name(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:4174:26: */
+func test_bind_parameter_name(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:4198:26: */
bp := tls.Alloc(12)
defer tls.Free(12)
@@ -48354,7 +50097,7 @@ func test_bind_parameter_name(tls *libc.TLS, clientData uintptr, interp uintptr,
// var i int32 at bp+8, 4
if objc != 3 {
- tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+16634 /* "STMT N" */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+17423 /* "STMT N" */)
return TCL_ERROR
}
if getStmtPointer(tls, interp, tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 1*8))), bp /* &pStmt */) != 0 {
@@ -48372,14 +50115,14 @@ func test_bind_parameter_name(tls *libc.TLS, clientData uintptr, interp uintptr,
//
// Return the index of the wildcard called NAME. Return 0 if there is
// no such wildcard.
-func test_bind_parameter_index(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:4201:26: */
+func test_bind_parameter_index(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:4225:26: */
bp := tls.Alloc(8)
defer tls.Free(8)
// var pStmt uintptr at bp, 8
if objc != 3 {
- tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+16641 /* "STMT NAME" */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+17430 /* "STMT NAME" */)
return TCL_ERROR
}
if getStmtPointer(tls, interp, tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 1*8))), bp /* &pStmt */) != 0 {
@@ -48393,14 +50136,14 @@ func test_bind_parameter_index(tls *libc.TLS, clientData uintptr, interp uintptr
// Usage: sqlite3_clear_bindings STMT
//
-func test_clear_bindings(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:4226:26: */
+func test_clear_bindings(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:4250:26: */
bp := tls.Alloc(8)
defer tls.Free(8)
// var pStmt uintptr at bp, 8
if objc != 2 {
- tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+16629 /* "STMT" */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+17418 /* "STMT" */)
return TCL_ERROR
}
if getStmtPointer(tls, interp, tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 1*8))), bp /* &pStmt */) != 0 {
@@ -48411,14 +50154,14 @@ func test_clear_bindings(tls *libc.TLS, clientData uintptr, interp uintptr, objc
}
// Usage: sqlite3_sleep MILLISECONDS
-func test_sleep(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:4246:26: */
+func test_sleep(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:4270:26: */
bp := tls.Alloc(4)
defer tls.Free(4)
// var ms int32 at bp, 4
if objc != 2 {
- tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+12808 /* "MILLISECONDS" */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+13587 /* "MILLISECONDS" */)
return TCL_ERROR
}
if tcl.XTcl_GetIntFromObj(tls, interp, *(*uintptr)(unsafe.Pointer(objv + 1*8)), bp /* &ms */) != 0 {
@@ -48432,7 +50175,7 @@ func test_sleep(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, o
//
// Return the string representation of the most recent sqlite3_* API
// error code. e.g. "SQLITE_ERROR".
-func test_ex_errcode(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:4271:26: */
+func test_ex_errcode(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:4295:26: */
bp := tls.Alloc(56)
defer tls.Free(56)
@@ -48441,8 +50184,8 @@ func test_ex_errcode(tls *libc.TLS, clientData uintptr, interp uintptr, objc int
var rc int32
if objc != 2 {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+14631, /* "wrong # args: sh..." */
- tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv))), ts+14683 /* " DB" */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15410, /* "wrong # args: sh..." */
+ tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv))), ts+15462 /* " DB" */, 0))
return TCL_ERROR
}
if getDbPointer(tls, interp, tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 1*8))), bp+48 /* &db */) != 0 {
@@ -48457,7 +50200,7 @@ func test_ex_errcode(tls *libc.TLS, clientData uintptr, interp uintptr, objc int
//
// Return the string representation of the most recent sqlite3_* API
// error code. e.g. "SQLITE_ERROR".
-func test_errcode(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:4298:26: */
+func test_errcode(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:4322:26: */
bp := tls.Alloc(56)
defer tls.Free(56)
@@ -48466,8 +50209,8 @@ func test_errcode(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32,
var rc int32
if objc != 2 {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+14631, /* "wrong # args: sh..." */
- tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv))), ts+14683 /* " DB" */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15410, /* "wrong # args: sh..." */
+ tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv))), ts+15462 /* " DB" */, 0))
return TCL_ERROR
}
if getDbPointer(tls, interp, tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 1*8))), bp+48 /* &db */) != 0 {
@@ -48482,7 +50225,7 @@ func test_errcode(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32,
//
// Returns the UTF-8 representation of the error message string for the
// most recent sqlite3_* API call.
-func test_errmsg(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:4324:26: */
+func test_errmsg(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:4348:26: */
bp := tls.Alloc(40)
defer tls.Free(40)
@@ -48491,8 +50234,8 @@ func test_errmsg(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32,
var zErr uintptr
if objc != 2 {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+14631, /* "wrong # args: sh..." */
- tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv))), ts+14683 /* " DB" */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15410, /* "wrong # args: sh..." */
+ tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv))), ts+15462 /* " DB" */, 0))
return TCL_ERROR
}
if getDbPointer(tls, interp, tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 1*8))), bp+32 /* &db */) != 0 {
@@ -48510,7 +50253,7 @@ func test_errmsg(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32,
// most recent sqlite3_* API call. This is a byte array object at the TCL
// level, and it includes the 0x00 0x00 terminator bytes at the end of the
// UTF-16 string.
-func test_errmsg16(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:4353:26: */
+func test_errmsg16(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:4377:26: */
bp := tls.Alloc(40)
defer tls.Free(40)
@@ -48521,8 +50264,8 @@ func test_errmsg16(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32
var bytes int32 = 0
if objc != 2 {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+14631, /* "wrong # args: sh..." */
- tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv))), ts+14683 /* " DB" */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15410, /* "wrong # args: sh..." */
+ tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv))), ts+15462 /* " DB" */, 0))
return TCL_ERROR
}
if getDbPointer(tls, interp, tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 1*8))), bp+32 /* &db */) != 0 {
@@ -48545,7 +50288,7 @@ func test_errmsg16(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32
// database handle . The parameter is the name of a global
// variable that is set to the unused portion of (if any). A
// STMT handle is returned.
-func test_prepare(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:4390:26: */
+func test_prepare(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:4414:26: */
bp := tls.Alloc(162)
defer tls.Free(162)
@@ -48561,8 +50304,8 @@ func test_prepare(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32,
var rc int32
if (objc != 5) && (objc != 4) {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+14631, /* "wrong # args: sh..." */
- tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv))), ts+16651 /* " DB sql bytes ?t..." */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15410, /* "wrong # args: sh..." */
+ tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv))), ts+17440 /* " DB sql bytes ?t..." */, 0))
return TCL_ERROR
}
if getDbPointer(tls, interp, tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 1*8))), bp+80 /* &db */) != 0 {
@@ -48594,7 +50337,7 @@ func test_prepare(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32,
}
if rc != SQLITE_OK {
- sqlite3.Xsqlite3_snprintf(tls, int32(unsafe.Sizeof([50]int8{})), bp+112 /* &zBuf[0] */, ts+16159 /* "(%d) " */, libc.VaList(bp+32, rc))
+ sqlite3.Xsqlite3_snprintf(tls, int32(unsafe.Sizeof([50]int8{})), bp+112 /* &zBuf[0] */, ts+16948 /* "(%d) " */, libc.VaList(bp+32, rc))
tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+40, bp+112 /* &zBuf[0] */, sqlite3.Xsqlite3_errmsg(tls, *(*uintptr)(unsafe.Pointer(bp + 80 /* db */))), 0))
return TCL_ERROR
}
@@ -48614,7 +50357,7 @@ func test_prepare(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32,
// database handle . The parameter is the name of a global
// variable that is set to the unused portion of (if any). A
// STMT handle is returned.
-func test_prepare_v2(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:4447:26: */
+func test_prepare_v2(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:4471:26: */
bp := tls.Alloc(162)
defer tls.Free(162)
@@ -48632,8 +50375,8 @@ func test_prepare_v2(tls *libc.TLS, clientData uintptr, interp uintptr, objc int
var rc int32
if (objc != 5) && (objc != 4) {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+14631, /* "wrong # args: sh..." */
- tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv))), ts+16675 /* " DB sql bytes ta..." */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15410, /* "wrong # args: sh..." */
+ tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv))), ts+17464 /* " DB sql bytes ta..." */, 0))
return TCL_ERROR
}
if getDbPointer(tls, interp, tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 1*8))), bp+80 /* &db */) != 0 {
@@ -48678,7 +50421,7 @@ func test_prepare_v2(tls *libc.TLS, clientData uintptr, interp uintptr, objc int
}
if rc != SQLITE_OK {
- sqlite3.Xsqlite3_snprintf(tls, int32(unsafe.Sizeof([50]int8{})), bp+112 /* &zBuf[0] */, ts+16159 /* "(%d) " */, libc.VaList(bp+32, rc))
+ sqlite3.Xsqlite3_snprintf(tls, int32(unsafe.Sizeof([50]int8{})), bp+112 /* &zBuf[0] */, ts+16948 /* "(%d) " */, libc.VaList(bp+32, rc))
tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+40, bp+112 /* &zBuf[0] */, sqlite3.Xsqlite3_errmsg(tls, *(*uintptr)(unsafe.Pointer(bp + 80 /* db */))), 0))
return TCL_ERROR
}
@@ -48698,7 +50441,7 @@ func test_prepare_v2(tls *libc.TLS, clientData uintptr, interp uintptr, objc int
// database handle and flags . The parameter is
// the name of a global variable that is set to the unused portion of
// (if any). A STMT handle is returned.
-func test_prepare_v3(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:4521:26: */
+func test_prepare_v3(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:4545:26: */
bp := tls.Alloc(162)
defer tls.Free(162)
@@ -48718,8 +50461,8 @@ func test_prepare_v3(tls *libc.TLS, clientData uintptr, interp uintptr, objc int
var rc int32
if (objc != 6) && (objc != 5) {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+14631, /* "wrong # args: sh..." */
- tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv))), ts+16697 /* " DB sql bytes fl..." */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15410, /* "wrong # args: sh..." */
+ tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv))), ts+17486 /* " DB sql bytes fl..." */, 0))
return TCL_ERROR
}
if getDbPointer(tls, interp, tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 1*8))), bp+80 /* &db */) != 0 {
@@ -48765,7 +50508,7 @@ func test_prepare_v3(tls *libc.TLS, clientData uintptr, interp uintptr, objc int
}
if rc != SQLITE_OK {
- sqlite3.Xsqlite3_snprintf(tls, int32(unsafe.Sizeof([50]int8{})), bp+112 /* &zBuf[0] */, ts+16159 /* "(%d) " */, libc.VaList(bp+32, rc))
+ sqlite3.Xsqlite3_snprintf(tls, int32(unsafe.Sizeof([50]int8{})), bp+112 /* &zBuf[0] */, ts+16948 /* "(%d) " */, libc.VaList(bp+32, rc))
tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+40, bp+112 /* &zBuf[0] */, sqlite3.Xsqlite3_errmsg(tls, *(*uintptr)(unsafe.Pointer(bp + 80 /* db */))), 0))
return TCL_ERROR
}
@@ -48783,7 +50526,7 @@ func test_prepare_v3(tls *libc.TLS, clientData uintptr, interp uintptr, objc int
//
// Generate a prepared statement for a zero-byte string as a test
// for ticket #3134. The string should be preceded by a zero byte.
-func test_prepare_tkt3134(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:4592:26: */
+func test_prepare_tkt3134(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:4616:26: */
bp := tls.Alloc(146)
defer tls.Free(146)
@@ -48795,8 +50538,8 @@ func test_prepare_tkt3134(tls *libc.TLS, clientData uintptr, interp uintptr, obj
var rc int32
if objc != 2 {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+14631, /* "wrong # args: sh..." */
- tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv))), ts+16675 /* " DB sql bytes ta..." */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15410, /* "wrong # args: sh..." */
+ tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv))), ts+17464 /* " DB sql bytes ta..." */, 0))
return TCL_ERROR
}
if getDbPointer(tls, interp, tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 1*8))), bp+80 /* &db */) != 0 {
@@ -48809,7 +50552,7 @@ func test_prepare_tkt3134(tls *libc.TLS, clientData uintptr, interp uintptr, obj
}
if rc != SQLITE_OK {
- sqlite3.Xsqlite3_snprintf(tls, int32(unsafe.Sizeof([50]int8{})), bp+96 /* &zBuf[0] */, ts+16159 /* "(%d) " */, libc.VaList(bp+32, rc))
+ sqlite3.Xsqlite3_snprintf(tls, int32(unsafe.Sizeof([50]int8{})), bp+96 /* &zBuf[0] */, ts+16948 /* "(%d) " */, libc.VaList(bp+32, rc))
tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+40, bp+96 /* &zBuf[0] */, sqlite3.Xsqlite3_errmsg(tls, *(*uintptr)(unsafe.Pointer(bp + 80 /* db */))), 0))
return TCL_ERROR
}
@@ -48823,7 +50566,7 @@ func test_prepare_tkt3134(tls *libc.TLS, clientData uintptr, interp uintptr, obj
return TCL_OK
}
-var zSql = *(*[10]int8)(unsafe.Pointer(ts + 16725 /* "\x00SELECT 1" */)) /* test1.c:4599:21 */
+var zSql = *(*[10]int8)(unsafe.Pointer(ts + 17514 /* "\x00SELECT 1" */)) /* test1.c:4623:21 */
// Usage: sqlite3_prepare16 DB sql bytes tailvar
//
@@ -48831,7 +50574,7 @@ var zSql = *(*[10]int8)(unsafe.Pointer(ts + 16725 /* "\x00SELECT 1" */)) /* test
// database handle . The parameter is the name of a global
// variable that is set to the unused portion of (if any). A
// STMT handle is returned.
-func test_prepare16(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:4635:26: */
+func test_prepare16(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:4659:26: */
bp := tls.Alloc(130)
defer tls.Free(130)
@@ -48850,8 +50593,8 @@ func test_prepare16(tls *libc.TLS, clientData uintptr, interp uintptr, objc int3
// The byte-array length of arg 2
if (objc != 5) && (objc != 4) {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+14631, /* "wrong # args: sh..." */
- tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv))), ts+16651 /* " DB sql bytes ?t..." */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15410, /* "wrong # args: sh..." */
+ tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv))), ts+17440 /* " DB sql bytes ?t..." */, 0))
return TCL_ERROR
}
if getDbPointer(tls, interp, tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 1*8))), bp+48 /* &db */) != 0 {
@@ -48907,7 +50650,7 @@ func test_prepare16(tls *libc.TLS, clientData uintptr, interp uintptr, objc int3
// database handle . The parameter is the name of a global
// variable that is set to the unused portion of (if any). A
// STMT handle is returned.
-func test_prepare16_v2(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:4695:26: */
+func test_prepare16_v2(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:4719:26: */
bp := tls.Alloc(130)
defer tls.Free(130)
@@ -48926,8 +50669,8 @@ func test_prepare16_v2(tls *libc.TLS, clientData uintptr, interp uintptr, objc i
// The byte-array length of arg 2
if (objc != 5) && (objc != 4) {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+14631, /* "wrong # args: sh..." */
- tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv))), ts+16651 /* " DB sql bytes ?t..." */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15410, /* "wrong # args: sh..." */
+ tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv))), ts+17440 /* " DB sql bytes ?t..." */, 0))
return TCL_ERROR
}
if getDbPointer(tls, interp, tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 1*8))), bp+48 /* &db */) != 0 {
@@ -48978,7 +50721,7 @@ func test_prepare16_v2(tls *libc.TLS, clientData uintptr, interp uintptr, objc i
}
// Usage: sqlite3_open filename ?options-list?
-func test_open(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:4750:26: */
+func test_open(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:4774:26: */
bp := tls.Alloc(156)
defer tls.Free(156)
@@ -48988,8 +50731,8 @@ func test_open(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, ob
// var zBuf [100]int8 at bp+56, 100
if ((objc != 3) && (objc != 2)) && (objc != 1) {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+14631, /* "wrong # args: sh..." */
- tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv))), ts+16735 /* " filename option..." */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15410, /* "wrong # args: sh..." */
+ tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv))), ts+17524 /* " filename option..." */, 0))
return TCL_ERROR
}
@@ -49008,7 +50751,7 @@ func test_open(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, ob
}
// Usage: sqlite3_open_v2 FILENAME FLAGS VFS
-func test_open_v2(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:4777:26: */
+func test_open_v2(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:4801:26: */
bp := tls.Alloc(468)
defer tls.Free(468)
@@ -49027,7 +50770,7 @@ func test_open_v2(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32,
var i int32
if objc != 4 {
- tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+16758 /* "FILENAME FLAGS V..." */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+17547 /* "FILENAME FLAGS V..." */)
return TCL_ERROR
}
zFilename = tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 1*8)))
@@ -49044,29 +50787,29 @@ func test_open_v2(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32,
// var iFlag int32 at bp+352, 4
*(*[20]OpenFlag)(unsafe.Pointer(bp + 32 /* aFlag */)) = [20]OpenFlag{
- {FzFlag: ts + 16777 /* "SQLITE_OPEN_READ..." */, Fflag: SQLITE_OPEN_READONLY},
- {FzFlag: ts + 16798 /* "SQLITE_OPEN_READ..." */, Fflag: SQLITE_OPEN_READWRITE},
- {FzFlag: ts + 16820 /* "SQLITE_OPEN_CREA..." */, Fflag: SQLITE_OPEN_CREATE},
- {FzFlag: ts + 16839 /* "SQLITE_OPEN_DELE..." */, Fflag: SQLITE_OPEN_DELETEONCLOSE},
- {FzFlag: ts + 16865 /* "SQLITE_OPEN_EXCL..." */, Fflag: SQLITE_OPEN_EXCLUSIVE},
- {FzFlag: ts + 16887 /* "SQLITE_OPEN_AUTO..." */, Fflag: SQLITE_OPEN_AUTOPROXY},
- {FzFlag: ts + 16909 /* "SQLITE_OPEN_MAIN..." */, Fflag: SQLITE_OPEN_MAIN_DB},
- {FzFlag: ts + 16929 /* "SQLITE_OPEN_TEMP..." */, Fflag: SQLITE_OPEN_TEMP_DB},
- {FzFlag: ts + 16949 /* "SQLITE_OPEN_TRAN..." */, Fflag: SQLITE_OPEN_TRANSIENT_DB},
- {FzFlag: ts + 16974 /* "SQLITE_OPEN_MAIN..." */, Fflag: SQLITE_OPEN_MAIN_JOURNAL},
- {FzFlag: ts + 16999 /* "SQLITE_OPEN_TEMP..." */, Fflag: SQLITE_OPEN_TEMP_JOURNAL},
- {FzFlag: ts + 17024 /* "SQLITE_OPEN_SUBJ..." */, Fflag: SQLITE_OPEN_SUBJOURNAL},
- {FzFlag: ts + 17047 /* "SQLITE_OPEN_SUPE..." */, Fflag: SQLITE_OPEN_SUPER_JOURNAL},
- {FzFlag: ts + 17073 /* "SQLITE_OPEN_NOMU..." */, Fflag: SQLITE_OPEN_NOMUTEX},
- {FzFlag: ts + 17093 /* "SQLITE_OPEN_FULL..." */, Fflag: SQLITE_OPEN_FULLMUTEX},
- {FzFlag: ts + 17115 /* "SQLITE_OPEN_SHAR..." */, Fflag: SQLITE_OPEN_SHAREDCACHE},
- {FzFlag: ts + 17139 /* "SQLITE_OPEN_PRIV..." */, Fflag: SQLITE_OPEN_PRIVATECACHE},
- {FzFlag: ts + 17164 /* "SQLITE_OPEN_WAL" */, Fflag: SQLITE_OPEN_WAL},
- {FzFlag: ts + 17180 /* "SQLITE_OPEN_URI" */, Fflag: SQLITE_OPEN_URI},
+ {FzFlag: ts + 17566 /* "SQLITE_OPEN_READ..." */, Fflag: SQLITE_OPEN_READONLY},
+ {FzFlag: ts + 17587 /* "SQLITE_OPEN_READ..." */, Fflag: SQLITE_OPEN_READWRITE},
+ {FzFlag: ts + 17609 /* "SQLITE_OPEN_CREA..." */, Fflag: SQLITE_OPEN_CREATE},
+ {FzFlag: ts + 17628 /* "SQLITE_OPEN_DELE..." */, Fflag: SQLITE_OPEN_DELETEONCLOSE},
+ {FzFlag: ts + 17654 /* "SQLITE_OPEN_EXCL..." */, Fflag: SQLITE_OPEN_EXCLUSIVE},
+ {FzFlag: ts + 17676 /* "SQLITE_OPEN_AUTO..." */, Fflag: SQLITE_OPEN_AUTOPROXY},
+ {FzFlag: ts + 17698 /* "SQLITE_OPEN_MAIN..." */, Fflag: SQLITE_OPEN_MAIN_DB},
+ {FzFlag: ts + 17718 /* "SQLITE_OPEN_TEMP..." */, Fflag: SQLITE_OPEN_TEMP_DB},
+ {FzFlag: ts + 17738 /* "SQLITE_OPEN_TRAN..." */, Fflag: SQLITE_OPEN_TRANSIENT_DB},
+ {FzFlag: ts + 17763 /* "SQLITE_OPEN_MAIN..." */, Fflag: SQLITE_OPEN_MAIN_JOURNAL},
+ {FzFlag: ts + 17788 /* "SQLITE_OPEN_TEMP..." */, Fflag: SQLITE_OPEN_TEMP_JOURNAL},
+ {FzFlag: ts + 17813 /* "SQLITE_OPEN_SUBJ..." */, Fflag: SQLITE_OPEN_SUBJOURNAL},
+ {FzFlag: ts + 17836 /* "SQLITE_OPEN_SUPE..." */, Fflag: SQLITE_OPEN_SUPER_JOURNAL},
+ {FzFlag: ts + 17862 /* "SQLITE_OPEN_NOMU..." */, Fflag: SQLITE_OPEN_NOMUTEX},
+ {FzFlag: ts + 17882 /* "SQLITE_OPEN_FULL..." */, Fflag: SQLITE_OPEN_FULLMUTEX},
+ {FzFlag: ts + 17904 /* "SQLITE_OPEN_SHAR..." */, Fflag: SQLITE_OPEN_SHAREDCACHE},
+ {FzFlag: ts + 17928 /* "SQLITE_OPEN_PRIV..." */, Fflag: SQLITE_OPEN_PRIVATECACHE},
+ {FzFlag: ts + 17953 /* "SQLITE_OPEN_WAL" */, Fflag: SQLITE_OPEN_WAL},
+ {FzFlag: ts + 17969 /* "SQLITE_OPEN_URI" */, Fflag: SQLITE_OPEN_URI},
{},
}
rc = tcl.XTcl_GetIndexFromObjStruct(tls, interp, *(*uintptr)(unsafe.Pointer(*(*uintptr)(unsafe.Pointer(bp + 24 /* apFlag */)) + uintptr(i)*8)), bp+32 /* &aFlag[0] */, int32(unsafe.Sizeof(OpenFlag{})),
- ts+17196 /* "flag" */, 0, bp+352 /* &iFlag */)
+ ts+17985 /* "flag" */, 0, bp+352 /* &iFlag */)
if rc != TCL_OK {
return rc
}
@@ -49085,10 +50828,10 @@ type OpenFlag = struct {
FzFlag uintptr
Fflag int32
_ [4]byte
-} /* test1.c:4806:5 */
+} /* test1.c:4830:5 */
// Usage: sqlite3_open16 filename options
-func test_open16(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:4847:26: */
+func test_open16(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:4871:26: */
bp := tls.Alloc(156)
defer tls.Free(156)
@@ -49098,8 +50841,8 @@ func test_open16(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32,
// var zBuf [100]int8 at bp+56, 100
if objc != 3 {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+14631, /* "wrong # args: sh..." */
- tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv))), ts+16735 /* " filename option..." */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15410, /* "wrong # args: sh..." */
+ tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv))), ts+17524 /* " filename option..." */, 0))
return TCL_ERROR
}
@@ -49117,11 +50860,11 @@ func test_open16(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32,
//
// Return 1 if the supplied argument is a complete SQL statement, or zero
// otherwise.
-func test_complete16(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:4879:26: */
+func test_complete16(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:4903:26: */
var zBuf uintptr
if objc != 2 {
- tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+17201 /* "" */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+17990 /* "" */)
return TCL_ERROR
}
@@ -49133,12 +50876,12 @@ func test_complete16(tls *libc.TLS, clientData uintptr, interp uintptr, objc int
// Usage: sqlite3_normalize SQL
//
// Return the normalized value for an SQL statement.
-func test_normalize(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:4904:26: */
+func test_normalize(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:4928:26: */
var zSql uintptr
var zNorm uintptr
if objc != 2 {
- tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+10172 /* "SQL" */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+10170 /* "SQL" */)
return TCL_ERROR
}
@@ -49154,7 +50897,7 @@ func test_normalize(tls *libc.TLS, clientData uintptr, interp uintptr, objc int3
// Usage: sqlite3_step STMT
//
// Advance the statement to the next row.
-func test_step(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:4933:26: */
+func test_step(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:4957:26: */
bp := tls.Alloc(40)
defer tls.Free(40)
@@ -49163,8 +50906,8 @@ func test_step(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, ob
var rc int32
if objc != 2 {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+14631, /* "wrong # args: sh..." */
- tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv))), ts+15998 /* " STMT" */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15410, /* "wrong # args: sh..." */
+ tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv))), ts+16787 /* " STMT" */, 0))
return TCL_ERROR
}
@@ -49178,14 +50921,14 @@ func test_step(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, ob
return TCL_OK
}
-func test_sql(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:4956:26: */
+func test_sql(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:4980:26: */
bp := tls.Alloc(8)
defer tls.Free(8)
// var pStmt uintptr at bp, 8
if objc != 2 {
- tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+16629 /* "STMT" */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+17418 /* "STMT" */)
return TCL_ERROR
}
@@ -49196,7 +50939,7 @@ func test_sql(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, obj
return TCL_OK
}
-func test_ex_sql(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:4973:26: */
+func test_ex_sql(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:4997:26: */
bp := tls.Alloc(8)
defer tls.Free(8)
@@ -49205,7 +50948,7 @@ func test_ex_sql(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32,
var z uintptr
if objc != 2 {
- tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+16629 /* "STMT" */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+17418 /* "STMT" */)
return TCL_ERROR
}
@@ -49221,15 +50964,15 @@ func test_ex_sql(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32,
// Usage: sqlite3_column_count STMT
//
// Return the number of columns returned by the sql statement STMT.
-func test_column_count(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:5018:26: */
+func test_column_count(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:5042:26: */
bp := tls.Alloc(40)
defer tls.Free(40)
// var pStmt uintptr at bp+32, 8
if objc != 2 {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+14631, /* "wrong # args: sh..." */
- tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv))), ts+17214 /* " STMT column" */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15410, /* "wrong # args: sh..." */
+ tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv))), ts+18003 /* " STMT column" */, 0))
return TCL_ERROR
}
@@ -49244,7 +50987,7 @@ func test_column_count(tls *libc.TLS, clientData uintptr, interp uintptr, objc i
// Usage: sqlite3_column_type STMT column
//
// Return the type of the data in column 'column' of the current row.
-func test_column_type(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:5043:26: */
+func test_column_type(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:5067:26: */
bp := tls.Alloc(44)
defer tls.Free(44)
@@ -49255,8 +50998,8 @@ func test_column_type(tls *libc.TLS, clientData uintptr, interp uintptr, objc in
var tp int32
if objc != 3 {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+14631, /* "wrong # args: sh..." */
- tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv))), ts+17214 /* " STMT column" */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15410, /* "wrong # args: sh..." */
+ tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv))), ts+18003 /* " STMT column" */, 0))
return TCL_ERROR
}
@@ -49273,16 +51016,16 @@ func test_column_type(tls *libc.TLS, clientData uintptr, interp uintptr, objc in
tcl.XTcl_SetResult(tls, interp, ts+2274 /* "INTEGER" */, uintptr(0))
break
case SQLITE_NULL:
- tcl.XTcl_SetResult(tls, interp, ts+5717 /* "NULL" */, uintptr(0))
+ tcl.XTcl_SetResult(tls, interp, ts+5707 /* "NULL" */, uintptr(0))
break
case SQLITE_FLOAT:
- tcl.XTcl_SetResult(tls, interp, ts+17227 /* "FLOAT" */, uintptr(0))
+ tcl.XTcl_SetResult(tls, interp, ts+18016 /* "FLOAT" */, uintptr(0))
break
case SQLITE_TEXT:
- tcl.XTcl_SetResult(tls, interp, ts+17233 /* "TEXT" */, uintptr(0))
+ tcl.XTcl_SetResult(tls, interp, ts+18022 /* "TEXT" */, uintptr(0))
break
case SQLITE_BLOB:
- tcl.XTcl_SetResult(tls, interp, ts+17238 /* "BLOB" */, uintptr(0))
+ tcl.XTcl_SetResult(tls, interp, ts+18027 /* "BLOB" */, uintptr(0))
break
default:
@@ -49295,7 +51038,7 @@ func test_column_type(tls *libc.TLS, clientData uintptr, interp uintptr, objc in
//
// Return the data in column 'column' of the current row cast as an
// wide (64-bit) integer.
-func test_column_int64(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:5092:26: */
+func test_column_int64(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:5116:26: */
bp := tls.Alloc(44)
defer tls.Free(44)
@@ -49306,8 +51049,8 @@ func test_column_int64(tls *libc.TLS, clientData uintptr, interp uintptr, objc i
var iVal i64
if objc != 3 {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+14631, /* "wrong # args: sh..." */
- tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv))), ts+17214 /* " STMT column" */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15410, /* "wrong # args: sh..." */
+ tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv))), ts+18003 /* " STMT column" */, 0))
return TCL_ERROR
}
@@ -49324,7 +51067,7 @@ func test_column_int64(tls *libc.TLS, clientData uintptr, interp uintptr, objc i
}
// Usage: sqlite3_column_blob STMT column
-func test_column_blob(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:5119:26: */
+func test_column_blob(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:5143:26: */
bp := tls.Alloc(44)
defer tls.Free(44)
@@ -49336,8 +51079,8 @@ func test_column_blob(tls *libc.TLS, clientData uintptr, interp uintptr, objc in
var pBlob uintptr
if objc != 3 {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+14631, /* "wrong # args: sh..." */
- tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv))), ts+17214 /* " STMT column" */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15410, /* "wrong # args: sh..." */
+ tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv))), ts+18003 /* " STMT column" */, 0))
return TCL_ERROR
}
@@ -49357,7 +51100,7 @@ func test_column_blob(tls *libc.TLS, clientData uintptr, interp uintptr, objc in
// Usage: sqlite3_column_double STMT column
//
// Return the data in column 'column' of the current row cast as a double.
-func test_column_double(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:5151:26: */
+func test_column_double(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:5175:26: */
bp := tls.Alloc(44)
defer tls.Free(44)
@@ -49368,8 +51111,8 @@ func test_column_double(tls *libc.TLS, clientData uintptr, interp uintptr, objc
var rVal float64
if objc != 3 {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+14631, /* "wrong # args: sh..." */
- tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv))), ts+17214 /* " STMT column" */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15410, /* "wrong # args: sh..." */
+ tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv))), ts+18003 /* " STMT column" */, 0))
return TCL_ERROR
}
@@ -49388,15 +51131,15 @@ func test_column_double(tls *libc.TLS, clientData uintptr, interp uintptr, objc
// Usage: sqlite3_data_count STMT
//
// Return the number of columns returned by the sql statement STMT.
-func test_data_count(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:5180:26: */
+func test_data_count(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:5204:26: */
bp := tls.Alloc(40)
defer tls.Free(40)
// var pStmt uintptr at bp+32, 8
if objc != 2 {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+14631, /* "wrong # args: sh..." */
- tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv))), ts+17214 /* " STMT column" */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15410, /* "wrong # args: sh..." */
+ tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv))), ts+18003 /* " STMT column" */, 0))
return TCL_ERROR
}
@@ -49413,7 +51156,7 @@ func test_data_count(tls *libc.TLS, clientData uintptr, interp uintptr, objc int
// Usage: sqlite3_column_decltype STMT column
//
// Usage: sqlite3_column_name STMT column
-func test_stmt_utf8(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:5207:26: */
+func test_stmt_utf8(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:5231:26: */
bp := tls.Alloc(44)
defer tls.Free(44)
@@ -49426,8 +51169,8 @@ func test_stmt_utf8(tls *libc.TLS, clientData uintptr, interp uintptr, objc int3
xFunc = clientData
if objc != 3 {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+14631, /* "wrong # args: sh..." */
- tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv))), ts+17214 /* " STMT column" */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15410, /* "wrong # args: sh..." */
+ tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv))), ts+18003 /* " STMT column" */, 0))
return TCL_ERROR
}
@@ -49444,7 +51187,7 @@ func test_stmt_utf8(tls *libc.TLS, clientData uintptr, interp uintptr, objc int3
return TCL_OK
}
-func test_global_recover(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:5234:26: */
+func test_global_recover(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:5258:26: */
var rc int32
if objc != 1 {
tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+489 /* "" */)
@@ -49460,7 +51203,7 @@ func test_global_recover(tls *libc.TLS, clientData uintptr, interp uintptr, objc
// Usage: sqlite3_column_decltype STMT column
//
// Usage: sqlite3_column_name STMT column
-func test_stmt_utf16(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:5259:26: */
+func test_stmt_utf16(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:5283:26: */
bp := tls.Alloc(44)
defer tls.Free(44)
@@ -49474,8 +51217,8 @@ func test_stmt_utf16(tls *libc.TLS, clientData uintptr, interp uintptr, objc int
xFunc = clientData
if objc != 3 {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+14631, /* "wrong # args: sh..." */
- tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv))), ts+17214 /* " STMT column" */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15410, /* "wrong # args: sh..." */
+ tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv))), ts+18003 /* " STMT column" */, 0))
return TCL_ERROR
}
@@ -49505,7 +51248,7 @@ func test_stmt_utf16(tls *libc.TLS, clientData uintptr, interp uintptr, objc int
//
// Usage: sqlite3_column_bytes16 STMT column
//
-func test_stmt_int(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:5303:26: */
+func test_stmt_int(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:5327:26: */
bp := tls.Alloc(44)
defer tls.Free(44)
@@ -49517,8 +51260,8 @@ func test_stmt_int(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32
xFunc = clientData
if objc != 3 {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+14631, /* "wrong # args: sh..." */
- tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv))), ts+17214 /* " STMT column" */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15410, /* "wrong # args: sh..." */
+ tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv))), ts+18003 /* " STMT column" */, 0))
return TCL_ERROR
}
@@ -49536,27 +51279,27 @@ func test_stmt_int(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32
// Usage: sqlite_set_magic DB MAGIC-NUMBER
//
// Set the db->magic value. This is used to test error recovery logic.
-func sqlite_set_magic(tls *libc.TLS, clientData uintptr, interp uintptr, argc int32, argv uintptr) int32 { /* test1.c:5332:26: */
+func sqlite_set_magic(tls *libc.TLS, clientData uintptr, interp uintptr, argc int32, argv uintptr) int32 { /* test1.c:5356:26: */
bp := tls.Alloc(40)
defer tls.Free(40)
// var db uintptr at bp+32, 8
if argc != 3 {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+14631 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
- ts+17243 /* " DB MAGIC" */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15410 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
+ ts+18032 /* " DB MAGIC" */, 0))
return TCL_ERROR
}
if getDbPointer(tls, interp, *(*uintptr)(unsafe.Pointer(argv + 1*8)), bp+32 /* &db */) != 0 {
return TCL_ERROR
}
- if libc.Xstrcmp(tls, *(*uintptr)(unsafe.Pointer(argv + 2*8)), ts+17253 /* "SQLITE_MAGIC_OPE..." */) == 0 {
+ if libc.Xstrcmp(tls, *(*uintptr)(unsafe.Pointer(argv + 2*8)), ts+18042 /* "SQLITE_MAGIC_OPE..." */) == 0 {
(*sqlite31)(unsafe.Pointer(*(*uintptr)(unsafe.Pointer(bp + 32 /* db */)))).Fmagic = SQLITE_MAGIC_OPEN
- } else if libc.Xstrcmp(tls, *(*uintptr)(unsafe.Pointer(argv + 2*8)), ts+17271 /* "SQLITE_MAGIC_CLO..." */) == 0 {
+ } else if libc.Xstrcmp(tls, *(*uintptr)(unsafe.Pointer(argv + 2*8)), ts+18060 /* "SQLITE_MAGIC_CLO..." */) == 0 {
(*sqlite31)(unsafe.Pointer(*(*uintptr)(unsafe.Pointer(bp + 32 /* db */)))).Fmagic = SQLITE_MAGIC_CLOSED
- } else if libc.Xstrcmp(tls, *(*uintptr)(unsafe.Pointer(argv + 2*8)), ts+17291 /* "SQLITE_MAGIC_BUS..." */) == 0 {
+ } else if libc.Xstrcmp(tls, *(*uintptr)(unsafe.Pointer(argv + 2*8)), ts+18080 /* "SQLITE_MAGIC_BUS..." */) == 0 {
(*sqlite31)(unsafe.Pointer(*(*uintptr)(unsafe.Pointer(bp + 32 /* db */)))).Fmagic = SQLITE_MAGIC_BUSY
- } else if libc.Xstrcmp(tls, *(*uintptr)(unsafe.Pointer(argv + 2*8)), ts+17309 /* "SQLITE_MAGIC_ERR..." */) == 0 {
+ } else if libc.Xstrcmp(tls, *(*uintptr)(unsafe.Pointer(argv + 2*8)), ts+18098 /* "SQLITE_MAGIC_ERR..." */) == 0 {
(*sqlite31)(unsafe.Pointer(*(*uintptr)(unsafe.Pointer(bp + 32 /* db */)))).Fmagic = SQLITE_MAGIC_ERROR
} else if tcl.XTcl_GetInt(tls, interp, *(*uintptr)(unsafe.Pointer(argv + 2*8)), (*(*uintptr)(unsafe.Pointer(bp + 32 /* db */))+116 /* &.magic */)) != 0 {
return TCL_ERROR
@@ -49567,14 +51310,14 @@ func sqlite_set_magic(tls *libc.TLS, clientData uintptr, interp uintptr, argc in
// Usage: sqlite3_interrupt DB
//
// Trigger an interrupt on DB
-func test_interrupt(tls *libc.TLS, clientData uintptr, interp uintptr, argc int32, argv uintptr) int32 { /* test1.c:5364:26: */
+func test_interrupt(tls *libc.TLS, clientData uintptr, interp uintptr, argc int32, argv uintptr) int32 { /* test1.c:5388:26: */
bp := tls.Alloc(40)
defer tls.Free(40)
// var db uintptr at bp+32, 8
if argc != 2 {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+14631 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)), ts+14683 /* " DB" */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15410 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)), ts+15462 /* " DB" */, 0))
return TCL_ERROR
}
if getDbPointer(tls, interp, *(*uintptr)(unsafe.Pointer(argv + 1*8)), bp+32 /* &db */) != 0 {
@@ -49589,7 +51332,7 @@ func test_interrupt(tls *libc.TLS, clientData uintptr, interp uintptr, argc int3
// Delete the user function 'function-name' from database handle DB. It
// is assumed that the user function was created as UTF8, any number of
// arguments (the way the TCL interface does it).
-func delete_function(tls *libc.TLS, clientData uintptr, interp uintptr, argc int32, argv uintptr) int32 { /* test1.c:5387:26: */
+func delete_function(tls *libc.TLS, clientData uintptr, interp uintptr, argc int32, argv uintptr) int32 { /* test1.c:5411:26: */
bp := tls.Alloc(40)
defer tls.Free(40)
@@ -49597,8 +51340,8 @@ func delete_function(tls *libc.TLS, clientData uintptr, interp uintptr, argc int
// var db uintptr at bp+32, 8
if argc != 3 {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+14631 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
- ts+17328 /* " DB function-nam..." */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15410 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
+ ts+18117 /* " DB function-nam..." */, 0))
return TCL_ERROR
}
if getDbPointer(tls, interp, *(*uintptr)(unsafe.Pointer(argv + 1*8)), bp+32 /* &db */) != 0 {
@@ -49614,7 +51357,7 @@ func delete_function(tls *libc.TLS, clientData uintptr, interp uintptr, argc int
// Delete the collation sequence 'collation-name' from database handle
// DB. It is assumed that the collation sequence was created as UTF8 (the
// way the TCL interface does it).
-func delete_collation(tls *libc.TLS, clientData uintptr, interp uintptr, argc int32, argv uintptr) int32 { /* test1.c:5413:26: */
+func delete_collation(tls *libc.TLS, clientData uintptr, interp uintptr, argc int32, argv uintptr) int32 { /* test1.c:5437:26: */
bp := tls.Alloc(40)
defer tls.Free(40)
@@ -49622,8 +51365,8 @@ func delete_collation(tls *libc.TLS, clientData uintptr, interp uintptr, argc in
// var db uintptr at bp+32, 8
if argc != 3 {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+14631 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
- ts+17328 /* " DB function-nam..." */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15410 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
+ ts+18117 /* " DB function-nam..." */, 0))
return TCL_ERROR
}
if getDbPointer(tls, interp, *(*uintptr)(unsafe.Pointer(argv + 1*8)), bp+32 /* &db */) != 0 {
@@ -49638,7 +51381,7 @@ func delete_collation(tls *libc.TLS, clientData uintptr, interp uintptr, argc in
//
// Return true if the database DB is currently in auto-commit mode.
// Return false if not.
-func get_autocommit(tls *libc.TLS, clientData uintptr, interp uintptr, argc int32, argv uintptr) int32 { /* test1.c:5438:26: */
+func get_autocommit(tls *libc.TLS, clientData uintptr, interp uintptr, argc int32, argv uintptr) int32 { /* test1.c:5462:26: */
bp := tls.Alloc(94)
defer tls.Free(94)
@@ -49647,8 +51390,8 @@ func get_autocommit(tls *libc.TLS, clientData uintptr, interp uintptr, argc int3
// var db uintptr at bp+56, 8
if argc != 2 {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+14631 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
- ts+14683 /* " DB" */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15410 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
+ ts+15462 /* " DB" */, 0))
return TCL_ERROR
}
if getDbPointer(tls, interp, *(*uintptr)(unsafe.Pointer(argv + 1*8)), bp+56 /* &db */) != 0 {
@@ -49664,7 +51407,7 @@ func get_autocommit(tls *libc.TLS, clientData uintptr, interp uintptr, argc int3
// Set the busy timeout. This is more easily done using the timeout
// method of the TCL interface. But we need a way to test the case
// where it returns SQLITE_MISUSE.
-func test_busy_timeout(tls *libc.TLS, clientData uintptr, interp uintptr, argc int32, argv uintptr) int32 { /* test1.c:5464:26: */
+func test_busy_timeout(tls *libc.TLS, clientData uintptr, interp uintptr, argc int32, argv uintptr) int32 { /* test1.c:5488:26: */
bp := tls.Alloc(60)
defer tls.Free(60)
@@ -49674,8 +51417,8 @@ func test_busy_timeout(tls *libc.TLS, clientData uintptr, interp uintptr, argc i
// var db uintptr at bp+48, 8
if argc != 3 {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+14631 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
- ts+14683 /* " DB" */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15410 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
+ ts+15462 /* " DB" */, 0))
return TCL_ERROR
}
if getDbPointer(tls, interp, *(*uintptr)(unsafe.Pointer(argv + 1*8)), bp+48 /* &db */) != 0 {
@@ -49693,10 +51436,10 @@ func test_busy_timeout(tls *libc.TLS, clientData uintptr, interp uintptr, argc i
//
// Return the name of the internal representation for the
// value of the given variable.
-func tcl_variable_type(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:5490:26: */
+func tcl_variable_type(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:5514:26: */
var pVar uintptr
if objc != 2 {
- tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+17346 /* "VARIABLE" */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+18135 /* "VARIABLE" */)
return TCL_ERROR
}
pVar = tcl.XTcl_GetVar2Ex(tls, interp, tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 1*8))), uintptr(0), TCL_LEAVE_ERR_MSG)
@@ -49714,7 +51457,7 @@ func tcl_variable_type(tls *libc.TLS, clientData uintptr, interp uintptr, objc i
// Attempt to release memory currently held but not actually required.
// The integer N is the number of bytes we are trying to release. The
// return value is the amount of memory actually released.
-func test_release_memory(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:5516:26: */
+func test_release_memory(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:5540:26: */
bp := tls.Alloc(4)
defer tls.Free(4)
@@ -49722,7 +51465,7 @@ func test_release_memory(tls *libc.TLS, clientData uintptr, interp uintptr, objc
var amt int32
if (objc != 1) && (objc != 2) {
- tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+17355 /* "?N?" */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+18144 /* "?N?" */)
return TCL_ERROR
}
if objc == 2 {
@@ -49741,7 +51484,7 @@ func test_release_memory(tls *libc.TLS, clientData uintptr, interp uintptr, objc
//
// Attempt to release memory currently held by database DB. Return the
// result code (which in the current implementation is always zero).
-func test_db_release_memory(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:5547:26: */
+func test_db_release_memory(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:5571:26: */
bp := tls.Alloc(8)
defer tls.Free(8)
@@ -49763,7 +51506,7 @@ func test_db_release_memory(tls *libc.TLS, clientData uintptr, interp uintptr, o
// Usage: sqlite3_db_cacheflush DB
//
// Attempt to flush any dirty pages to disk.
-func test_db_cacheflush(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:5570:26: */
+func test_db_cacheflush(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:5594:26: */
bp := tls.Alloc(8)
defer tls.Free(8)
@@ -49790,7 +51533,7 @@ func test_db_cacheflush(tls *libc.TLS, clientData uintptr, interp uintptr, objc
// Usage: sqlite3_system_errno DB
//
// Return the low-level system errno value.
-func test_system_errno(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:5598:26: */
+func test_system_errno(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:5622:26: */
bp := tls.Alloc(8)
defer tls.Free(8)
@@ -49812,7 +51555,7 @@ func test_system_errno(tls *libc.TLS, clientData uintptr, interp uintptr, objc i
// Usage: sqlite3_db_filename DB DBNAME
//
// Return the name of a file associated with a database.
-func test_db_filename(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:5621:26: */
+func test_db_filename(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:5645:26: */
bp := tls.Alloc(24)
defer tls.Free(24)
@@ -49820,7 +51563,7 @@ func test_db_filename(tls *libc.TLS, clientData uintptr, interp uintptr, objc in
var zDbName uintptr
if objc != 3 {
- tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+15908 /* "DB DBNAME" */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+16697 /* "DB DBNAME" */)
return TCL_ERROR
}
if getDbPointer(tls, interp, tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 1*8))), bp+16 /* &db */) != 0 {
@@ -49835,7 +51578,7 @@ func test_db_filename(tls *libc.TLS, clientData uintptr, interp uintptr, objc in
//
// Return 1 or 0 if DBNAME is readonly or not. Return -1 if DBNAME does
// not exist.
-func test_db_readonly(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:5645:26: */
+func test_db_readonly(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:5669:26: */
bp := tls.Alloc(8)
defer tls.Free(8)
@@ -49843,7 +51586,7 @@ func test_db_readonly(tls *libc.TLS, clientData uintptr, interp uintptr, objc in
var zDbName uintptr
if objc != 3 {
- tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+15908 /* "DB DBNAME" */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+16697 /* "DB DBNAME" */)
return TCL_ERROR
}
if getDbPointer(tls, interp, tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 1*8))), bp /* &db */) != 0 {
@@ -49859,14 +51602,14 @@ func test_db_readonly(tls *libc.TLS, clientData uintptr, interp uintptr, objc in
// Query or set the soft heap limit for the current thread. The
// limit is only changed if the N is present. The previous limit
// is returned.
-func test_soft_heap_limit(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:5670:26: */
+func test_soft_heap_limit(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:5694:26: */
bp := tls.Alloc(8)
defer tls.Free(8)
var amt sqlite3_int64
*(*Tcl_WideInt)(unsafe.Pointer(bp /* N */)) = int64(-1)
if (objc != 1) && (objc != 2) {
- tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+17355 /* "?N?" */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+18144 /* "?N?" */)
return TCL_ERROR
}
if objc == 2 {
@@ -49884,14 +51627,14 @@ func test_soft_heap_limit(tls *libc.TLS, clientData uintptr, interp uintptr, obj
// Query or set the hard heap limit for the current thread. The
// limit is only changed if the N is present. The previous limit
// is returned.
-func test_hard_heap_limit(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:5697:26: */
+func test_hard_heap_limit(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:5721:26: */
bp := tls.Alloc(8)
defer tls.Free(8)
var amt sqlite3_int64
*(*Tcl_WideInt)(unsafe.Pointer(bp /* N */)) = int64(-1)
if (objc != 1) && (objc != 2) {
- tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+17355 /* "?N?" */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+18144 /* "?N?" */)
return TCL_ERROR
}
if objc == 2 {
@@ -49907,7 +51650,7 @@ func test_hard_heap_limit(tls *libc.TLS, clientData uintptr, interp uintptr, obj
// Usage: sqlite3_thread_cleanup
//
// Call the sqlite3_thread_cleanup API.
-func test_thread_cleanup(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:5722:26: */
+func test_thread_cleanup(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:5746:26: */
sqlite3.Xsqlite3_thread_cleanup(tls)
return TCL_OK
}
@@ -49916,7 +51659,7 @@ func test_thread_cleanup(tls *libc.TLS, clientData uintptr, interp uintptr, objc
//
// Return a list of numbers which are the PagerRefcount for all
// pagers on each database connection.
-func test_pager_refcounts(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:5740:26: */
+func test_pager_refcounts(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:5764:26: */
bp := tls.Alloc(40)
defer tls.Free(40)
@@ -49928,8 +51671,8 @@ func test_pager_refcounts(tls *libc.TLS, clientData uintptr, interp uintptr, obj
var pResult uintptr
if objc != 2 {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+14631, /* "wrong # args: sh..." */
- tcl.XTcl_GetStringFromObj(tls, *(*uintptr)(unsafe.Pointer(objv)), uintptr(0)), ts+14683 /* " DB" */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15410, /* "wrong # args: sh..." */
+ tcl.XTcl_GetStringFromObj(tls, *(*uintptr)(unsafe.Pointer(objv)), uintptr(0)), ts+15462 /* " DB" */, 0))
return TCL_ERROR
}
if getDbPointer(tls, interp, tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 1*8))), bp+32 /* &db */) != 0 {
@@ -49961,12 +51704,12 @@ func test_pager_refcounts(tls *libc.TLS, clientData uintptr, interp uintptr, obj
// This command is used to warn users that their TCL build is defective
// and that the errors they are seeing in the test scripts might be
// a result of their defective TCL rather than problems in SQLite.
-func working_64bit_int(tls *libc.TLS, clientData ClientData, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:5786:26: */
+func working_64bit_int(tls *libc.TLS, clientData ClientData, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:5810:26: */
var pTestObj uintptr
var working int32 = 0
pTestObj = tcl.XTcl_NewWideIntObj(tls, (int64(1000000) * int64(1234567890)))
- working = (libc.Bool32(libc.Xstrcmp(tls, tcl.XTcl_GetString(tls, pTestObj), ts+17359 /* "1234567890000000" */) == 0))
+ working = (libc.Bool32(libc.Xstrcmp(tls, tcl.XTcl_GetString(tls, pTestObj), ts+18148 /* "1234567890000000" */) == 0))
for ok := true; ok; ok = 0 != 0 {
var _objPtr uintptr = pTestObj
if libc.PostDecInt32(&(*Tcl_Obj)(unsafe.Pointer((_objPtr))).FrefCount, 1) <= 1 {
@@ -49983,7 +51726,7 @@ func working_64bit_int(tls *libc.TLS, clientData ClientData, interp uintptr, obj
// it back again. This is used to test the ability to register a
// VFS when none are previously registered, and the ability to
// unregister the only available VFS. Ticket #2738
-func vfs_unlink_test(tls *libc.TLS, clientData ClientData, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:5811:26: */
+func vfs_unlink_test(tls *libc.TLS, clientData ClientData, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:5835:26: */
bp := tls.Alloc(496)
defer tls.Free(496)
@@ -49996,8 +51739,8 @@ func vfs_unlink_test(tls *libc.TLS, clientData ClientData, interp uintptr, objc
// var two sqlite3_vfs at bp+168, 168
sqlite3.Xsqlite3_vfs_unregister(tls, uintptr(0)) // Unregister of NULL is harmless
- (*sqlite3_vfs)(unsafe.Pointer(bp /* &one */)).FzName = ts + 17376 /* "__one" */
- (*sqlite3_vfs)(unsafe.Pointer(bp + 168 /* &two */)).FzName = ts + 17382 /* "__two" */
+ (*sqlite3_vfs)(unsafe.Pointer(bp /* &one */)).FzName = ts + 18165 /* "__one" */
+ (*sqlite3_vfs)(unsafe.Pointer(bp + 168 /* &two */)).FzName = ts + 18171 /* "__two" */
// Calling sqlite3_vfs_register with 2nd argument of 0 does not
// change the default VFS
@@ -50064,13 +51807,13 @@ func vfs_unlink_test(tls *libc.TLS, clientData ClientData, interp uintptr, objc
//
// This TCL command attempts to vfs_find and vfs_register when the
// sqlite3_initialize() interface is failing. All calls should fail.
-func vfs_initfail_test(tls *libc.TLS, clientData ClientData, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:5913:26: */
+func vfs_initfail_test(tls *libc.TLS, clientData ClientData, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:5937:26: */
bp := tls.Alloc(168)
defer tls.Free(168)
// var one sqlite3_vfs at bp, 168
- (*sqlite3_vfs)(unsafe.Pointer(bp /* &one */)).FzName = ts + 17376 /* "__one" */
+ (*sqlite3_vfs)(unsafe.Pointer(bp /* &one */)).FzName = ts + 18165 /* "__one" */
if sqlite3.Xsqlite3_vfs_find(tls, uintptr(0)) != 0 {
return TCL_ERROR
@@ -50087,13 +51830,13 @@ func vfs_initfail_test(tls *libc.TLS, clientData ClientData, interp uintptr, obj
}
// Saved VFSes
-var apVfs [20]uintptr /* test1.c:5933:20: */
-var nVfs int32 = 0 /* test1.c:5934:12 */
+var apVfs [20]uintptr /* test1.c:5957:20: */
+var nVfs int32 = 0 /* test1.c:5958:12 */
// tclcmd: vfs_unregister_all
//
// Unregister all VFSes.
-func vfs_unregister_all(tls *libc.TLS, clientData ClientData, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:5941:26: */
+func vfs_unregister_all(tls *libc.TLS, clientData ClientData, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:5965:26: */
var i int32
for i = 0; i < (int32(uint64(unsafe.Sizeof(apVfs)) / uint64(unsafe.Sizeof(uintptr(0))))); i++ {
apVfs[i] = sqlite3.Xsqlite3_vfs_find(tls, uintptr(0))
@@ -50111,7 +51854,7 @@ func vfs_unregister_all(tls *libc.TLS, clientData ClientData, interp uintptr, ob
// Restore all VFSes that were removed using vfs_unregister_all. Taking
// care to put the linked list back together in the same order as it was
// in before vfs_unregister_all was invoked.
-func vfs_reregister_all(tls *libc.TLS, clientData ClientData, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:5963:26: */
+func vfs_reregister_all(tls *libc.TLS, clientData ClientData, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:5987:26: */
var i int32
for i = (nVfs - 1); i >= 0; i-- {
sqlite3.Xsqlite3_vfs_register(tls, apVfs[i], 1)
@@ -50123,7 +51866,7 @@ func vfs_reregister_all(tls *libc.TLS, clientData ClientData, interp uintptr, ob
//
// This TCL command runs the sqlite3_file_control interface and
// verifies correct operation of the same.
-func file_control_test(tls *libc.TLS, clientData ClientData, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:5983:26: */
+func file_control_test(tls *libc.TLS, clientData ClientData, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:6007:26: */
bp := tls.Alloc(44)
defer tls.Free(44)
@@ -50134,8 +51877,8 @@ func file_control_test(tls *libc.TLS, clientData ClientData, interp uintptr, obj
_ = rc
if objc != 2 {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+14631, /* "wrong # args: sh..." */
- tcl.XTcl_GetStringFromObj(tls, *(*uintptr)(unsafe.Pointer(objv)), uintptr(0)), ts+14683 /* " DB" */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15410, /* "wrong # args: sh..." */
+ tcl.XTcl_GetStringFromObj(tls, *(*uintptr)(unsafe.Pointer(objv)), uintptr(0)), ts+15462 /* " DB" */, 0))
return TCL_ERROR
}
if getDbPointer(tls, interp, tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 1*8))), bp+32 /* &db */) != 0 {
@@ -50143,11 +51886,11 @@ func file_control_test(tls *libc.TLS, clientData ClientData, interp uintptr, obj
}
rc = sqlite3.Xsqlite3_file_control(tls, *(*uintptr)(unsafe.Pointer(bp + 32 /* db */)), uintptr(0), 0, bp+40 /* &iArg */)
- rc = sqlite3.Xsqlite3_file_control(tls, *(*uintptr)(unsafe.Pointer(bp + 32 /* db */)), ts+17388 /* "notadatabase" */, SQLITE_FCNTL_LOCKSTATE, bp+40 /* &iArg */)
+ rc = sqlite3.Xsqlite3_file_control(tls, *(*uintptr)(unsafe.Pointer(bp + 32 /* db */)), ts+18177 /* "notadatabase" */, SQLITE_FCNTL_LOCKSTATE, bp+40 /* &iArg */)
rc = sqlite3.Xsqlite3_file_control(tls, *(*uintptr)(unsafe.Pointer(bp + 32 /* db */)), ts+85 /* "main" */, -1, bp+40 /* &iArg */)
- rc = sqlite3.Xsqlite3_file_control(tls, *(*uintptr)(unsafe.Pointer(bp + 32 /* db */)), ts+8379 /* "temp" */, -1, bp+40 /* &iArg */)
+ rc = sqlite3.Xsqlite3_file_control(tls, *(*uintptr)(unsafe.Pointer(bp + 32 /* db */)), ts+8377 /* "temp" */, -1, bp+40 /* &iArg */)
return TCL_OK
}
@@ -50156,7 +51899,7 @@ func file_control_test(tls *libc.TLS, clientData ClientData, interp uintptr, obj
//
// This TCL command runs the sqlite3_file_control interface and
// verifies correct operation of the SQLITE_LAST_ERRNO verb.
-func file_control_lasterrno_test(tls *libc.TLS, clientData ClientData, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:6018:26: */
+func file_control_lasterrno_test(tls *libc.TLS, clientData ClientData, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:6042:26: */
bp := tls.Alloc(76)
defer tls.Free(76)
@@ -50166,8 +51909,8 @@ func file_control_lasterrno_test(tls *libc.TLS, clientData ClientData, interp ui
var rc int32
if objc != 2 {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+14631, /* "wrong # args: sh..." */
- tcl.XTcl_GetStringFromObj(tls, *(*uintptr)(unsafe.Pointer(objv)), uintptr(0)), ts+14683 /* " DB" */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15410, /* "wrong # args: sh..." */
+ tcl.XTcl_GetStringFromObj(tls, *(*uintptr)(unsafe.Pointer(objv)), uintptr(0)), ts+15462 /* " DB" */, 0))
return TCL_ERROR
}
if getDbPointer(tls, interp, tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 1*8))), bp+64 /* &db */) != 0 {
@@ -50179,8 +51922,8 @@ func file_control_lasterrno_test(tls *libc.TLS, clientData ClientData, interp ui
return TCL_ERROR
}
if *(*int32)(unsafe.Pointer(bp + 72 /* iArg */)) != 0 {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+32, ts+17401, /* "Unexpected non-z..." */
- tcl.XTcl_GetStringFromObj(tls, tcl.XTcl_NewIntObj(tls, *(*int32)(unsafe.Pointer(bp + 72 /* iArg */))), uintptr(0)), ts+4765 /* " " */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+32, ts+18190, /* "Unexpected non-z..." */
+ tcl.XTcl_GetStringFromObj(tls, tcl.XTcl_NewIntObj(tls, *(*int32)(unsafe.Pointer(bp + 72 /* iArg */))), uintptr(0)), ts+4755 /* " " */, 0))
return TCL_ERROR
}
return TCL_OK
@@ -50190,7 +51933,7 @@ func file_control_lasterrno_test(tls *libc.TLS, clientData ClientData, interp ui
//
// This TCL command runs the sqlite3_file_control with the
// SQLITE_FCNTL_DATA_VERSION opcode, returning the result.
-func file_control_data_version(tls *libc.TLS, clientData ClientData, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:6055:26: */
+func file_control_data_version(tls *libc.TLS, clientData ClientData, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:6079:26: */
bp := tls.Alloc(120)
defer tls.Free(120)
@@ -50203,7 +51946,7 @@ func file_control_data_version(tls *libc.TLS, clientData ClientData, interp uint
// var zBuf [100]int8 at bp+20, 100
if (objc != 3) && (objc != 2) {
- tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+17429 /* "DB [DBNAME]" */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+18218 /* "DB [DBNAME]" */)
return TCL_ERROR
}
if getDbPointer(tls, interp, tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 1*8))), bp+8 /* &db */) != 0 {
@@ -50220,7 +51963,7 @@ func file_control_data_version(tls *libc.TLS, clientData ClientData, interp uint
tcl.XTcl_SetResult(tls, interp, sqlite3.Xsqlite3ErrName(tls, rc), uintptr(0))
return TCL_ERROR
} else {
- sqlite3.Xsqlite3_snprintf(tls, int32(unsafe.Sizeof([100]int8{})), bp+20 /* &zBuf[0] */, ts+17441 /* "%u" */, libc.VaList(bp, *(*uint32)(unsafe.Pointer(bp + 16 /* iVers */))))
+ sqlite3.Xsqlite3_snprintf(tls, int32(unsafe.Sizeof([100]int8{})), bp+20 /* &zBuf[0] */, ts+18230 /* "%u" */, libc.VaList(bp, *(*uint32)(unsafe.Pointer(bp + 16 /* iVers */))))
tcl.XTcl_SetResult(tls, interp, bp+20 /* zBuf */, uintptr(1))
return TCL_OK
}
@@ -50232,7 +51975,7 @@ func file_control_data_version(tls *libc.TLS, clientData ClientData, interp uint
// This TCL command runs the sqlite3_file_control interface and
// verifies correct operation of the SQLITE_GET_LOCKPROXYFILE and
// SQLITE_SET_LOCKPROXYFILE verbs.
-func file_control_chunksize_test(tls *libc.TLS, clientData ClientData, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:6094:26: */
+func file_control_chunksize_test(tls *libc.TLS, clientData ClientData, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:6118:26: */
bp := tls.Alloc(12)
defer tls.Free(12)
@@ -50244,7 +51987,7 @@ func file_control_chunksize_test(tls *libc.TLS, clientData ClientData, interp ui
var rc int32 // file_control() return code
if objc != 4 {
- tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+17444 /* "DB DBNAME SIZE" */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+18233 /* "DB DBNAME SIZE" */)
return TCL_ERROR
}
if (getDbPointer(tls, interp, tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 1*8))), bp /* &db */) != 0) ||
@@ -50268,7 +52011,7 @@ func file_control_chunksize_test(tls *libc.TLS, clientData ClientData, interp ui
//
// This TCL command runs the sqlite3_file_control interface
// with SQLITE_FCNTL_SIZE_HINT
-func file_control_sizehint_test(tls *libc.TLS, clientData ClientData, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:6131:26: */
+func file_control_sizehint_test(tls *libc.TLS, clientData ClientData, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:6155:26: */
bp := tls.Alloc(16)
defer tls.Free(16)
@@ -50280,7 +52023,7 @@ func file_control_sizehint_test(tls *libc.TLS, clientData ClientData, interp uin
var rc int32 // file_control() return code
if objc != 4 {
- tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+17444 /* "DB DBNAME SIZE" */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+18233 /* "DB DBNAME SIZE" */)
return TCL_ERROR
}
if (getDbPointer(tls, interp, tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 1*8))), bp /* &db */) != 0) ||
@@ -50305,15 +52048,15 @@ func file_control_sizehint_test(tls *libc.TLS, clientData ClientData, interp uin
// This TCL command runs the sqlite3_file_control interface and
// verifies correct operation of the SQLITE_GET_LOCKPROXYFILE and
// SQLITE_SET_LOCKPROXYFILE verbs.
-func file_control_lockproxy_test(tls *libc.TLS, clientData ClientData, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:6169:26: */
+func file_control_lockproxy_test(tls *libc.TLS, clientData ClientData, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:6193:26: */
bp := tls.Alloc(40)
defer tls.Free(40)
// var db uintptr at bp+32, 8
if objc != 3 {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+14631, /* "wrong # args: sh..." */
- tcl.XTcl_GetStringFromObj(tls, *(*uintptr)(unsafe.Pointer(objv)), uintptr(0)), ts+17459 /* " DB PWD" */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15410, /* "wrong # args: sh..." */
+ tcl.XTcl_GetStringFromObj(tls, *(*uintptr)(unsafe.Pointer(objv)), uintptr(0)), ts+18248 /* " DB PWD" */, 0))
return TCL_ERROR
}
if getDbPointer(tls, interp, tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 1*8))), bp+32 /* &db */) != 0 {
@@ -50327,7 +52070,7 @@ func file_control_lockproxy_test(tls *libc.TLS, clientData ClientData, interp ui
//
// This TCL command runs the sqlite3_file_control interface with
// the SQLITE_FCNTL_PERSIST_WAL opcode.
-func file_control_persist_wal(tls *libc.TLS, clientData ClientData, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:6340:26: */
+func file_control_persist_wal(tls *libc.TLS, clientData ClientData, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:6364:26: */
bp := tls.Alloc(176)
defer tls.Free(176)
@@ -50339,8 +52082,8 @@ func file_control_persist_wal(tls *libc.TLS, clientData ClientData, interp uintp
// var z [100]int8 at bp+76, 100
if objc != 3 {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+14631, /* "wrong # args: sh..." */
- tcl.XTcl_GetStringFromObj(tls, *(*uintptr)(unsafe.Pointer(objv)), uintptr(0)), ts+17467 /* " DB FLAG" */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15410, /* "wrong # args: sh..." */
+ tcl.XTcl_GetStringFromObj(tls, *(*uintptr)(unsafe.Pointer(objv)), uintptr(0)), ts+18256 /* " DB FLAG" */, 0))
return TCL_ERROR
}
if getDbPointer(tls, interp, tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 1*8))), bp+64 /* &db */) != 0 {
@@ -50350,7 +52093,7 @@ func file_control_persist_wal(tls *libc.TLS, clientData ClientData, interp uintp
return TCL_ERROR
}
rc = sqlite3.Xsqlite3_file_control(tls, *(*uintptr)(unsafe.Pointer(bp + 64 /* db */)), uintptr(0), SQLITE_FCNTL_PERSIST_WAL, bp+72 /* &bPersist */)
- sqlite3.Xsqlite3_snprintf(tls, int32(unsafe.Sizeof([100]int8{})), bp+76 /* &z[0] */, ts+17476 /* "%d %d" */, libc.VaList(bp+32, rc, *(*int32)(unsafe.Pointer(bp + 72 /* bPersist */))))
+ sqlite3.Xsqlite3_snprintf(tls, int32(unsafe.Sizeof([100]int8{})), bp+76 /* &z[0] */, ts+18265 /* "%d %d" */, libc.VaList(bp+32, rc, *(*int32)(unsafe.Pointer(bp + 72 /* bPersist */))))
tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+48, bp+76 /* &z[0] */, uintptr(0)))
return TCL_OK
}
@@ -50359,7 +52102,7 @@ func file_control_persist_wal(tls *libc.TLS, clientData ClientData, interp uintp
//
// This TCL command runs the sqlite3_file_control interface with
// the SQLITE_FCNTL_POWERSAFE_OVERWRITE opcode.
-func file_control_powersafe_overwrite(tls *libc.TLS, clientData ClientData, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:6372:26: */
+func file_control_powersafe_overwrite(tls *libc.TLS, clientData ClientData, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:6396:26: */
bp := tls.Alloc(176)
defer tls.Free(176)
@@ -50371,8 +52114,8 @@ func file_control_powersafe_overwrite(tls *libc.TLS, clientData ClientData, inte
// var z [100]int8 at bp+76, 100
if objc != 3 {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+14631, /* "wrong # args: sh..." */
- tcl.XTcl_GetStringFromObj(tls, *(*uintptr)(unsafe.Pointer(objv)), uintptr(0)), ts+17467 /* " DB FLAG" */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15410, /* "wrong # args: sh..." */
+ tcl.XTcl_GetStringFromObj(tls, *(*uintptr)(unsafe.Pointer(objv)), uintptr(0)), ts+18256 /* " DB FLAG" */, 0))
return TCL_ERROR
}
if getDbPointer(tls, interp, tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 1*8))), bp+64 /* &db */) != 0 {
@@ -50382,7 +52125,7 @@ func file_control_powersafe_overwrite(tls *libc.TLS, clientData ClientData, inte
return TCL_ERROR
}
rc = sqlite3.Xsqlite3_file_control(tls, *(*uintptr)(unsafe.Pointer(bp + 64 /* db */)), uintptr(0), SQLITE_FCNTL_POWERSAFE_OVERWRITE, bp+72 /* &b */)
- sqlite3.Xsqlite3_snprintf(tls, int32(unsafe.Sizeof([100]int8{})), bp+76 /* &z[0] */, ts+17476 /* "%d %d" */, libc.VaList(bp+32, rc, *(*int32)(unsafe.Pointer(bp + 72 /* b */))))
+ sqlite3.Xsqlite3_snprintf(tls, int32(unsafe.Sizeof([100]int8{})), bp+76 /* &z[0] */, ts+18265 /* "%d %d" */, libc.VaList(bp+32, rc, *(*int32)(unsafe.Pointer(bp + 72 /* b */))))
tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+48, bp+76 /* &z[0] */, uintptr(0)))
return TCL_OK
}
@@ -50390,7 +52133,7 @@ func file_control_powersafe_overwrite(tls *libc.TLS, clientData ClientData, inte
// tclcmd: file_control_vfsname DB ?AUXDB?
//
// Return a string that describes the stack of VFSes.
-func file_control_vfsname(tls *libc.TLS, clientData ClientData, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:6404:26: */
+func file_control_vfsname(tls *libc.TLS, clientData ClientData, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:6428:26: */
bp := tls.Alloc(64)
defer tls.Free(64)
@@ -50400,8 +52143,8 @@ func file_control_vfsname(tls *libc.TLS, clientData ClientData, interp uintptr,
*(*uintptr)(unsafe.Pointer(bp + 56 /* zVfsName */)) = uintptr(0)
if (objc != 2) && (objc != 3) {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+14631, /* "wrong # args: sh..." */
- tcl.XTcl_GetStringFromObj(tls, *(*uintptr)(unsafe.Pointer(objv)), uintptr(0)), ts+17482 /* " DB ?AUXDB?" */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15410, /* "wrong # args: sh..." */
+ tcl.XTcl_GetStringFromObj(tls, *(*uintptr)(unsafe.Pointer(objv)), uintptr(0)), ts+18271 /* " DB ?AUXDB?" */, 0))
return TCL_ERROR
}
if getDbPointer(tls, interp, tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 1*8))), bp+48 /* &db */) != 0 {
@@ -50417,7 +52160,7 @@ func file_control_vfsname(tls *libc.TLS, clientData ClientData, interp uintptr,
}
// tclcmd: file_control_reservebytes DB N
-func file_control_reservebytes(tls *libc.TLS, clientData ClientData, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:6434:26: */
+func file_control_reservebytes(tls *libc.TLS, clientData ClientData, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:6458:26: */
bp := tls.Alloc(12)
defer tls.Free(12)
@@ -50428,7 +52171,7 @@ func file_control_reservebytes(tls *libc.TLS, clientData ClientData, interp uint
var rc int32
if objc != 3 {
- tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+17494 /* "DB N" */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+18283 /* "DB N" */)
return TCL_ERROR
}
if (getDbPointer(tls, interp, tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 1*8))), bp /* &db */) != 0) ||
@@ -50444,7 +52187,7 @@ func file_control_reservebytes(tls *libc.TLS, clientData ClientData, interp uint
// tclcmd: file_control_tempfilename DB ?AUXDB?
//
// Return a string that is a temporary filename
-func file_control_tempfilename(tls *libc.TLS, clientData ClientData, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:6466:26: */
+func file_control_tempfilename(tls *libc.TLS, clientData ClientData, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:6490:26: */
bp := tls.Alloc(64)
defer tls.Free(64)
@@ -50454,8 +52197,8 @@ func file_control_tempfilename(tls *libc.TLS, clientData ClientData, interp uint
*(*uintptr)(unsafe.Pointer(bp + 56 /* zTName */)) = uintptr(0)
if (objc != 2) && (objc != 3) {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+14631, /* "wrong # args: sh..." */
- tcl.XTcl_GetStringFromObj(tls, *(*uintptr)(unsafe.Pointer(objv)), uintptr(0)), ts+17482 /* " DB ?AUXDB?" */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15410, /* "wrong # args: sh..." */
+ tcl.XTcl_GetStringFromObj(tls, *(*uintptr)(unsafe.Pointer(objv)), uintptr(0)), ts+18271 /* " DB ?AUXDB?" */, 0))
return TCL_ERROR
}
if getDbPointer(tls, interp, tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 1*8))), bp+48 /* &db */) != 0 {
@@ -50470,10 +52213,43 @@ func file_control_tempfilename(tls *libc.TLS, clientData ClientData, interp uint
return TCL_OK
}
+// tclcmd: file_control_external_reader DB ?AUXDB?
+//
+// Return a string that is a temporary filename
+func file_control_external_reader(tls *libc.TLS, clientData ClientData, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:6522:26: */
+ bp := tls.Alloc(44)
+ defer tls.Free(44)
+
+ // var db uintptr at bp+32, 8
+
+ var zName uintptr = ts + 85 /* "main" */
+ *(*int32)(unsafe.Pointer(bp + 40 /* iRes */)) = 0
+ var rc int32 = SQLITE_OK
+
+ if (objc != 2) && (objc != 3) {
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15410, /* "wrong # args: sh..." */
+ tcl.XTcl_GetStringFromObj(tls, *(*uintptr)(unsafe.Pointer(objv)), uintptr(0)), ts+18271 /* " DB ?AUXDB?" */, 0))
+ return TCL_ERROR
+ }
+ if getDbPointer(tls, interp, tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 1*8))), bp+32 /* &db */) != 0 {
+ return TCL_ERROR
+ }
+ if objc == 3 {
+ zName = tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 2*8)))
+ }
+ rc = sqlite3.Xsqlite3_file_control(tls, *(*uintptr)(unsafe.Pointer(bp + 32 /* db */)), zName, SQLITE_FCNTL_EXTERNAL_READER, bp+40 /* &iRes */)
+ if rc != SQLITE_OK {
+ tcl.XTcl_SetResult(tls, interp, sqlite3.Xsqlite3ErrName(tls, rc), uintptr(0))
+ return TCL_ERROR
+ }
+ tcl.XTcl_SetObjResult(tls, interp, tcl.XTcl_NewIntObj(tls, *(*int32)(unsafe.Pointer(bp + 40 /* iRes */))))
+ return TCL_OK
+}
+
// tclcmd: sqlite3_vfs_list
//
// Return a tcl list containing the names of all registered vfs's.
-func vfs_list(tls *libc.TLS, clientData ClientData, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:6499:26: */
+func vfs_list(tls *libc.TLS, clientData ClientData, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:6559:26: */
var pVfs uintptr
var pRet uintptr = tcl.XTcl_NewObj(tls)
if objc != 1 {
@@ -50491,7 +52267,7 @@ func vfs_list(tls *libc.TLS, clientData ClientData, interp uintptr, objc int32,
//
// This TCL command runs the sqlite3_limit interface and
// verifies correct operation of the same.
-func test_limit(tls *libc.TLS, clientData ClientData, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:6524:26: */
+func test_limit(tls *libc.TLS, clientData ClientData, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:6584:26: */
bp := tls.Alloc(68)
defer tls.Free(68)
@@ -50505,8 +52281,8 @@ func test_limit(tls *libc.TLS, clientData ClientData, interp uintptr, objc int32
var zId uintptr
if objc != 4 {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+14631, /* "wrong # args: sh..." */
- tcl.XTcl_GetStringFromObj(tls, *(*uintptr)(unsafe.Pointer(objv)), uintptr(0)), ts+17499 /* " DB ID VALUE" */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15410, /* "wrong # args: sh..." */
+ tcl.XTcl_GetStringFromObj(tls, *(*uintptr)(unsafe.Pointer(objv)), uintptr(0)), ts+18288 /* " DB ID VALUE" */, 0))
return TCL_ERROR
}
if getDbPointer(tls, interp, tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 1*8))), bp+56 /* &db */) != 0 {
@@ -50528,7 +52304,7 @@ func test_limit(tls *libc.TLS, clientData ClientData, interp uintptr, objc int32
Fid int32
_ [4]byte
}{}))) {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+32, ts+17512 /* "unknown limit ty..." */, zId, uintptr(0)))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+32, ts+18301 /* "unknown limit ty..." */, zId, uintptr(0)))
return TCL_ERROR
}
if tcl.XTcl_GetIntFromObj(tls, interp, *(*uintptr)(unsafe.Pointer(objv + 3*8)), bp+64 /* &val */) != 0 {
@@ -50544,30 +52320,30 @@ var aId = [14]struct {
Fid int32
_ [4]byte
}{
- {FzName: ts + 17533 /* "SQLITE_LIMIT_LEN..." */},
- {FzName: ts + 17553 /* "SQLITE_LIMIT_SQL..." */, Fid: SQLITE_LIMIT_SQL_LENGTH},
- {FzName: ts + 17577 /* "SQLITE_LIMIT_COL..." */, Fid: SQLITE_LIMIT_COLUMN},
- {FzName: ts + 17597 /* "SQLITE_LIMIT_EXP..." */, Fid: SQLITE_LIMIT_EXPR_DEPTH},
- {FzName: ts + 17621 /* "SQLITE_LIMIT_COM..." */, Fid: SQLITE_LIMIT_COMPOUND_SELECT},
- {FzName: ts + 17650 /* "SQLITE_LIMIT_VDB..." */, Fid: SQLITE_LIMIT_VDBE_OP},
- {FzName: ts + 17671 /* "SQLITE_LIMIT_FUN..." */, Fid: SQLITE_LIMIT_FUNCTION_ARG},
- {FzName: ts + 17697 /* "SQLITE_LIMIT_ATT..." */, Fid: SQLITE_LIMIT_ATTACHED},
- {FzName: ts + 17719 /* "SQLITE_LIMIT_LIK..." */, Fid: SQLITE_LIMIT_LIKE_PATTERN_LENGTH},
- {FzName: ts + 17752 /* "SQLITE_LIMIT_VAR..." */, Fid: SQLITE_LIMIT_VARIABLE_NUMBER},
- {FzName: ts + 17781 /* "SQLITE_LIMIT_TRI..." */, Fid: SQLITE_LIMIT_TRIGGER_DEPTH},
- {FzName: ts + 17808 /* "SQLITE_LIMIT_WOR..." */, Fid: SQLITE_LIMIT_WORKER_THREADS},
+ {FzName: ts + 18322 /* "SQLITE_LIMIT_LEN..." */},
+ {FzName: ts + 18342 /* "SQLITE_LIMIT_SQL..." */, Fid: SQLITE_LIMIT_SQL_LENGTH},
+ {FzName: ts + 18366 /* "SQLITE_LIMIT_COL..." */, Fid: SQLITE_LIMIT_COLUMN},
+ {FzName: ts + 18386 /* "SQLITE_LIMIT_EXP..." */, Fid: SQLITE_LIMIT_EXPR_DEPTH},
+ {FzName: ts + 18410 /* "SQLITE_LIMIT_COM..." */, Fid: SQLITE_LIMIT_COMPOUND_SELECT},
+ {FzName: ts + 18439 /* "SQLITE_LIMIT_VDB..." */, Fid: SQLITE_LIMIT_VDBE_OP},
+ {FzName: ts + 18460 /* "SQLITE_LIMIT_FUN..." */, Fid: SQLITE_LIMIT_FUNCTION_ARG},
+ {FzName: ts + 18486 /* "SQLITE_LIMIT_ATT..." */, Fid: SQLITE_LIMIT_ATTACHED},
+ {FzName: ts + 18508 /* "SQLITE_LIMIT_LIK..." */, Fid: SQLITE_LIMIT_LIKE_PATTERN_LENGTH},
+ {FzName: ts + 18541 /* "SQLITE_LIMIT_VAR..." */, Fid: SQLITE_LIMIT_VARIABLE_NUMBER},
+ {FzName: ts + 18570 /* "SQLITE_LIMIT_TRI..." */, Fid: SQLITE_LIMIT_TRIGGER_DEPTH},
+ {FzName: ts + 18597 /* "SQLITE_LIMIT_WOR..." */, Fid: SQLITE_LIMIT_WORKER_THREADS},
// Out of range test cases
- {FzName: ts + 17836 /* "SQLITE_LIMIT_TOO..." */, Fid: -1},
- {FzName: ts + 17858 /* "SQLITE_LIMIT_TOO..." */, Fid: (SQLITE_LIMIT_WORKER_THREADS + 1)},
-} /* test1.c:6535:5 */
+ {FzName: ts + 18625 /* "SQLITE_LIMIT_TOO..." */, Fid: -1},
+ {FzName: ts + 18647 /* "SQLITE_LIMIT_TOO..." */, Fid: (SQLITE_LIMIT_WORKER_THREADS + 1)},
+} /* test1.c:6595:5 */
// tclcmd: save_prng_state
//
// Save the state of the pseudo-random number generator.
// At the same time, verify that sqlite3_test_control works even when
// called with an out-of-range opcode.
-func save_prng_state(tls *libc.TLS, clientData ClientData, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:6587:26: */
+func save_prng_state(tls *libc.TLS, clientData ClientData, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:6647:26: */
var rc int32 = sqlite3.Xsqlite3_test_control(tls, 9999, 0)
_ = rc
@@ -50578,13 +52354,13 @@ func save_prng_state(tls *libc.TLS, clientData ClientData, interp uintptr, objc
}
// tclcmd: restore_prng_state
-func restore_prng_state(tls *libc.TLS, clientData ClientData, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:6603:26: */
+func restore_prng_state(tls *libc.TLS, clientData ClientData, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:6663:26: */
sqlite3.Xsqlite3_test_control(tls, SQLITE_TESTCTRL_PRNG_RESTORE, 0)
return TCL_OK
}
// tclcmd: reset_prng_state
-func reset_prng_state(tls *libc.TLS, clientData ClientData, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:6615:26: */
+func reset_prng_state(tls *libc.TLS, clientData ClientData, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:6675:26: */
sqlite3.Xsqlite3_randomness(tls, 0, uintptr(0))
return TCL_OK
}
@@ -50602,14 +52378,14 @@ func reset_prng_state(tls *libc.TLS, clientData ClientData, interp uintptr, objc
//
// If INT==0 and DB==0 then use the default procedure of calling the
// xRandomness method on the default VFS to get the PRNG seed.
-func prng_seed(tls *libc.TLS, clientData ClientData, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:6639:26: */
+func prng_seed(tls *libc.TLS, clientData ClientData, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:6699:26: */
bp := tls.Alloc(32)
defer tls.Free(32)
*(*int32)(unsafe.Pointer(bp + 16 /* i */)) = 0
*(*uintptr)(unsafe.Pointer(bp + 24 /* db */)) = uintptr(0)
if (objc != 2) && (objc != 3) {
- tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+17878 /* "SEED ?DB?" */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+18667 /* "SEED ?DB?" */)
return TCL_ERROR
}
if tcl.XTcl_GetIntFromObj(tls, interp, *(*uintptr)(unsafe.Pointer(objv + 1*8)), bp+16 /* &i */) != 0 {
@@ -50628,13 +52404,13 @@ func prng_seed(tls *libc.TLS, clientData ClientData, interp uintptr, objc int32,
// This is always enabled in production, but it is sometimes useful to
// disable the checks in order to make some internal error states reachable
// for testing.
-func extra_schema_checks(tls *libc.TLS, clientData ClientData, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:6667:26: */
+func extra_schema_checks(tls *libc.TLS, clientData ClientData, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:6727:26: */
bp := tls.Alloc(12)
defer tls.Free(12)
*(*int32)(unsafe.Pointer(bp + 8 /* i */)) = 0
if objc != 2 {
- tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+17888 /* "BOOLEAN" */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+18677 /* "BOOLEAN" */)
return TCL_ERROR
}
if tcl.XTcl_GetBooleanFromObj(tls, interp, *(*uintptr)(unsafe.Pointer(objv + 1*8)), bp+8 /* &i */) != 0 {
@@ -50648,7 +52424,7 @@ func extra_schema_checks(tls *libc.TLS, clientData ClientData, interp uintptr, o
//
// Indicate that database files might be corrupt. In other words, set the normal
// state of operation.
-func database_may_be_corrupt(tls *libc.TLS, clientData ClientData, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:6689:26: */
+func database_may_be_corrupt(tls *libc.TLS, clientData ClientData, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:6749:26: */
bp := tls.Alloc(8)
defer tls.Free(8)
@@ -50661,7 +52437,7 @@ func database_may_be_corrupt(tls *libc.TLS, clientData ClientData, interp uintpt
// Indicate that database files are always well-formed. This enables
// extra assert() statements that test conditions that are always true
// for well-formed databases.
-func database_never_corrupt(tls *libc.TLS, clientData ClientData, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:6705:26: */
+func database_never_corrupt(tls *libc.TLS, clientData ClientData, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:6765:26: */
bp := tls.Alloc(8)
defer tls.Free(8)
@@ -50670,7 +52446,7 @@ func database_never_corrupt(tls *libc.TLS, clientData ClientData, interp uintptr
}
// tclcmd: pcache_stats
-func test_pcache_stats(tls *libc.TLS, clientData ClientData, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:6718:26: */
+func test_pcache_stats(tls *libc.TLS, clientData ClientData, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:6778:26: */
bp := tls.Alloc(16)
defer tls.Free(16)
@@ -50687,13 +52463,13 @@ func test_pcache_stats(tls *libc.TLS, clientData ClientData, interp uintptr, obj
sqlite3.Xsqlite3PcacheStats(tls, bp /* &nCurrent */, bp+4 /* &nMax */, bp+8 /* &nMin */, bp+12 /* &nRecyclable */)
pRet = tcl.XTcl_NewObj(tls)
- tcl.XTcl_ListObjAppendElement(tls, interp, pRet, tcl.XTcl_NewStringObj(tls, ts+17896 /* "current" */, -1))
+ tcl.XTcl_ListObjAppendElement(tls, interp, pRet, tcl.XTcl_NewStringObj(tls, ts+18685 /* "current" */, -1))
tcl.XTcl_ListObjAppendElement(tls, interp, pRet, tcl.XTcl_NewIntObj(tls, *(*int32)(unsafe.Pointer(bp /* nCurrent */))))
- tcl.XTcl_ListObjAppendElement(tls, interp, pRet, tcl.XTcl_NewStringObj(tls, ts+17904 /* "max" */, -1))
+ tcl.XTcl_ListObjAppendElement(tls, interp, pRet, tcl.XTcl_NewStringObj(tls, ts+18693 /* "max" */, -1))
tcl.XTcl_ListObjAppendElement(tls, interp, pRet, tcl.XTcl_NewIntObj(tls, *(*int32)(unsafe.Pointer(bp + 4 /* nMax */))))
- tcl.XTcl_ListObjAppendElement(tls, interp, pRet, tcl.XTcl_NewStringObj(tls, ts+17908 /* "min" */, -1))
+ tcl.XTcl_ListObjAppendElement(tls, interp, pRet, tcl.XTcl_NewStringObj(tls, ts+18697 /* "min" */, -1))
tcl.XTcl_ListObjAppendElement(tls, interp, pRet, tcl.XTcl_NewIntObj(tls, *(*int32)(unsafe.Pointer(bp + 8 /* nMin */))))
- tcl.XTcl_ListObjAppendElement(tls, interp, pRet, tcl.XTcl_NewStringObj(tls, ts+17912 /* "recyclable" */, -1))
+ tcl.XTcl_ListObjAppendElement(tls, interp, pRet, tcl.XTcl_NewStringObj(tls, ts+18701 /* "recyclable" */, -1))
tcl.XTcl_ListObjAppendElement(tls, interp, pRet, tcl.XTcl_NewIntObj(tls, *(*int32)(unsafe.Pointer(bp + 12 /* nRecyclable */))))
tcl.XTcl_SetObjResult(tls, interp, pRet)
@@ -50701,15 +52477,15 @@ func test_pcache_stats(tls *libc.TLS, clientData ClientData, interp uintptr, obj
return TCL_OK
}
-func test_unlock_notify_cb(tls *libc.TLS, aArg uintptr, nArg int32) { /* test1.c:6748:13: */
+func test_unlock_notify_cb(tls *libc.TLS, aArg uintptr, nArg int32) { /* test1.c:6808:13: */
var ii int32
for ii = 0; ii < nArg; ii++ {
- tcl.XTcl_EvalEx(tls, *(*uintptr)(unsafe.Pointer(aArg + uintptr(ii)*8)), ts+13374 /* "unlock_notify" */, -1, TCL_EVAL_GLOBAL)
+ tcl.XTcl_EvalEx(tls, *(*uintptr)(unsafe.Pointer(aArg + uintptr(ii)*8)), ts+14153 /* "unlock_notify" */, -1, TCL_EVAL_GLOBAL)
}
}
// tclcmd: sqlite3_unlock_notify db
-func test_unlock_notify(tls *libc.TLS, clientData ClientData, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:6760:26: */
+func test_unlock_notify(tls *libc.TLS, clientData ClientData, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:6820:26: */
bp := tls.Alloc(8)
defer tls.Free(8)
@@ -50733,7 +52509,7 @@ func test_unlock_notify(tls *libc.TLS, clientData ClientData, interp uintptr, ob
}
// tclcmd: sqlite3_wal_checkpoint db ?NAME?
-func test_wal_checkpoint(tls *libc.TLS, clientData ClientData, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:6786:26: */
+func test_wal_checkpoint(tls *libc.TLS, clientData ClientData, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:6846:26: */
bp := tls.Alloc(8)
defer tls.Free(8)
@@ -50743,7 +52519,7 @@ func test_wal_checkpoint(tls *libc.TLS, clientData ClientData, interp uintptr, o
var rc int32
if (objc != 3) && (objc != 2) {
- tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+17923 /* "DB ?NAME?" */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+18712 /* "DB ?NAME?" */)
return TCL_ERROR
}
@@ -50774,7 +52550,7 @@ func test_wal_checkpoint(tls *libc.TLS, clientData ClientData, interp uintptr, o
// are the values returned via the output parameters by wal_checkpoint_v2() -
// the number of frames in the log and the number of frames in the log
// that have been checkpointed.
-func test_wal_checkpoint_v2(tls *libc.TLS, clientData ClientData, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:6830:26: */
+func test_wal_checkpoint_v2(tls *libc.TLS, clientData ClientData, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:6890:26: */
bp := tls.Alloc(96)
defer tls.Free(96)
@@ -50788,10 +52564,10 @@ func test_wal_checkpoint_v2(tls *libc.TLS, clientData ClientData, interp uintptr
*(*int32)(unsafe.Pointer(bp + 92 /* nCkpt */)) = -555
var pRet uintptr
- *(*[5]uintptr)(unsafe.Pointer(bp + 48 /* aMode */)) = [5]uintptr{ts + 17933 /* "passive" */, ts + 17941 /* "full" */, ts + 17946 /* "restart" */, ts + 17954 /* "truncate" */, uintptr(0)}
+ *(*[5]uintptr)(unsafe.Pointer(bp + 48 /* aMode */)) = [5]uintptr{ts + 18722 /* "passive" */, ts + 18730 /* "full" */, ts + 18735 /* "restart" */, ts + 18743 /* "truncate" */, uintptr(0)}
if (objc != 3) && (objc != 4) {
- tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+17963 /* "DB MODE ?NAME?" */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+18752 /* "DB MODE ?NAME?" */)
return TCL_ERROR
}
@@ -50799,7 +52575,7 @@ func test_wal_checkpoint_v2(tls *libc.TLS, clientData ClientData, interp uintptr
zDb = tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 3*8)))
}
if (getDbPointer(tls, interp, tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 1*8))), bp+32 /* &db */) != 0) || ((TCL_OK != tcl.XTcl_GetIntFromObj(tls, uintptr(0), *(*uintptr)(unsafe.Pointer(objv + 2*8)), bp+40 /* &eMode */)) &&
- (TCL_OK != tcl.XTcl_GetIndexFromObjStruct(tls, interp, *(*uintptr)(unsafe.Pointer(objv + 2*8)), bp+48 /* &aMode[0] */, int32(unsafe.Sizeof(uintptr(0))), ts+17978 /* "mode" */, 0, bp+40 /* &eMode */))) {
+ (TCL_OK != tcl.XTcl_GetIndexFromObjStruct(tls, interp, *(*uintptr)(unsafe.Pointer(objv + 2*8)), bp+48 /* &aMode[0] */, int32(unsafe.Sizeof(uintptr(0))), ts+18767 /* "mode" */, 0, bp+40 /* &eMode */))) {
return TCL_ERROR
}
@@ -50807,7 +52583,7 @@ func test_wal_checkpoint_v2(tls *libc.TLS, clientData ClientData, interp uintptr
if (rc != SQLITE_OK) && (rc != SQLITE_BUSY) {
var zErrCode uintptr = sqlite3.Xsqlite3ErrName(tls, rc)
tcl.XTcl_ResetResult(tls, interp)
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, zErrCode, ts+10282 /* " - " */, sqlite3.Xsqlite3_errmsg(tls, *(*uintptr)(unsafe.Pointer(bp + 32 /* db */))), 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, zErrCode, ts+10280 /* " - " */, sqlite3.Xsqlite3_errmsg(tls, *(*uintptr)(unsafe.Pointer(bp + 32 /* db */))), 0))
return TCL_ERROR
}
@@ -50826,7 +52602,7 @@ func test_wal_checkpoint_v2(tls *libc.TLS, clientData ClientData, interp uintptr
}
// tclcmd: sqlite3_wal_autocheckpoint db VALUE
-func test_wal_autocheckpoint(tls *libc.TLS, clientData ClientData, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:6886:26: */
+func test_wal_autocheckpoint(tls *libc.TLS, clientData ClientData, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:6946:26: */
bp := tls.Alloc(12)
defer tls.Free(12)
@@ -50836,7 +52612,7 @@ func test_wal_autocheckpoint(tls *libc.TLS, clientData ClientData, interp uintpt
// var iVal int32 at bp+8, 4
if objc != 3 {
- tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+17983 /* "DB VALUE" */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+18772 /* "DB VALUE" */)
return TCL_ERROR
}
@@ -50860,12 +52636,12 @@ func test_wal_autocheckpoint(tls *libc.TLS, clientData ClientData, interp uintpt
type LogCallback = struct {
FpInterp uintptr
FpObj uintptr
-} /* test1.c:6923:8 */
+} /* test1.c:6983:8 */
// tclcmd: test_sqlite3_log ?SCRIPT?
-var logcallback = LogCallback{} /* test1.c:6926:3 */
+var logcallback = LogCallback{} /* test1.c:6986:3 */
-func xLogcallback(tls *libc.TLS, unused uintptr, err int32, zMsg uintptr) { /* test1.c:6927:13: */
+func xLogcallback(tls *libc.TLS, unused uintptr, err int32, zMsg uintptr) { /* test1.c:6987:13: */
var pNew uintptr = tcl.XTcl_DuplicateObj(tls, logcallback.FpObj)
(*Tcl_Obj)(unsafe.Pointer(pNew)).FrefCount++
tcl.XTcl_ListObjAppendElement(tls,
@@ -50880,12 +52656,12 @@ func xLogcallback(tls *libc.TLS, unused uintptr, err int32, zMsg uintptr) { /* t
}
}
-func test_sqlite3_log(tls *libc.TLS, clientData ClientData, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:6937:26: */
+func test_sqlite3_log(tls *libc.TLS, clientData ClientData, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:6997:26: */
bp := tls.Alloc(32)
defer tls.Free(32)
if objc > 2 {
- tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+11585 /* "SCRIPT" */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+10650 /* "SCRIPT" */)
return TCL_ERROR
}
if logcallback.FpObj != 0 {
@@ -50914,23 +52690,23 @@ func test_sqlite3_log(tls *libc.TLS, clientData ClientData, interp uintptr, objc
//
// Run a TCL command using its objProc interface. Throw an error if
// the command has no objProc interface.
-func runAsObjProc(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:6968:26: */
+func runAsObjProc(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:7028:26: */
bp := tls.Alloc(112)
defer tls.Free(112)
// var cmdInfo Tcl_CmdInfo at bp+48, 64
if objc < 2 {
- tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+17992 /* "COMMAND ..." */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+18781 /* "COMMAND ..." */)
return TCL_ERROR
}
if !(tcl.XTcl_GetCommandInfo(tls, interp, tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 1*8))), bp+48 /* &cmdInfo */) != 0) {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+14541, /* "command not foun..." */
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15320, /* "command not foun..." */
tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 1*8))), uintptr(0)))
return TCL_ERROR
}
if (*Tcl_CmdInfo)(unsafe.Pointer(bp+48 /* &cmdInfo */)).FobjProc == uintptr(0) {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+24, ts+18004, /* "command has no o..." */
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+24, ts+18793, /* "command has no o..." */
tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 1*8))), uintptr(0)))
return TCL_ERROR
}
@@ -50943,7 +52719,7 @@ func runAsObjProc(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32,
// Argument pStmt is a prepared SQL statement. This function compiles
// an EXPLAIN QUERY PLAN command to report on the prepared statement,
// and prints the report to stdout using printf().
-func printExplainQueryPlan(tls *libc.TLS, pStmt uintptr) int32 { /* test1.c:7003:5: */
+func printExplainQueryPlan(tls *libc.TLS, pStmt uintptr) int32 { /* test1.c:7063:5: */
bp := tls.Alloc(48)
defer tls.Free(48)
@@ -50975,13 +52751,13 @@ func printExplainQueryPlan(tls *libc.TLS, pStmt uintptr) int32 { /* test1.c:7003
var iFrom int32 = sqlite3.Xsqlite3_column_int(tls, *(*uintptr)(unsafe.Pointer(bp + 40 /* pExplain */)), 2)
var zDetail uintptr = sqlite3.Xsqlite3_column_text(tls, *(*uintptr)(unsafe.Pointer(bp + 40 /* pExplain */)), 3)
- libc.Xprintf(tls, ts+18029 /* "%d %d %d %s\n" */, libc.VaList(bp+8, iSelectid, iOrder, iFrom, zDetail))
+ libc.Xprintf(tls, ts+18818 /* "%d %d %d %s\n" */, libc.VaList(bp+8, iSelectid, iOrder, iFrom, zDetail))
}
return sqlite3.Xsqlite3_finalize(tls, *(*uintptr)(unsafe.Pointer(bp + 40 /* pExplain */)))
}
-func test_print_eqp(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:7031:26: */
+func test_print_eqp(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:7091:26: */
bp := tls.Alloc(8)
defer tls.Free(8)
@@ -50989,7 +52765,7 @@ func test_print_eqp(tls *libc.TLS, clientData uintptr, interp uintptr, objc int3
// var pStmt uintptr at bp, 8
if objc != 2 {
- tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+16629 /* "STMT" */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+17418 /* "STMT" */)
return TCL_ERROR
}
if getStmtPointer(tls, interp, tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 1*8))), bp /* &pStmt */) != 0 {
@@ -51005,15 +52781,15 @@ func test_print_eqp(tls *libc.TLS, clientData uintptr, interp uintptr, objc int3
}
// sqlite3_test_control VERB ARGS...
-func test_test_control(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:7059:26: */
+func test_test_control(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:7119:26: */
bp := tls.Alloc(184)
defer tls.Free(184)
*(*[4]Verb)(unsafe.Pointer(bp + 64 /* aVerb */)) = [4]Verb{
- {FzName: ts + 18042 /* "SQLITE_TESTCTRL_..." */, Fi: SQLITE_TESTCTRL_LOCALTIME_FAULT},
- {FzName: ts + 18074 /* "SQLITE_TESTCTRL_..." */, Fi: SQLITE_TESTCTRL_SORTER_MMAP},
- {FzName: ts + 18102 /* "SQLITE_TESTCTRL_..." */, Fi: SQLITE_TESTCTRL_IMPOSTER},
- {FzName: ts + 18127 /* "SQLITE_TESTCTRL_..." */, Fi: SQLITE_TESTCTRL_INTERNAL_FUNCTIONS},
+ {FzName: ts + 18831 /* "SQLITE_TESTCTRL_..." */, Fi: SQLITE_TESTCTRL_LOCALTIME_FAULT},
+ {FzName: ts + 18863 /* "SQLITE_TESTCTRL_..." */, Fi: SQLITE_TESTCTRL_SORTER_MMAP},
+ {FzName: ts + 18891 /* "SQLITE_TESTCTRL_..." */, Fi: SQLITE_TESTCTRL_IMPOSTER},
+ {FzName: ts + 18916 /* "SQLITE_TESTCTRL_..." */, Fi: SQLITE_TESTCTRL_INTERNAL_FUNCTIONS},
}
// var iVerb int32 at bp+128, 4
@@ -51021,12 +52797,12 @@ func test_test_control(tls *libc.TLS, clientData uintptr, interp uintptr, objc i
var rc int32
if objc < 2 {
- tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+18162 /* "VERB ARGS..." */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+18951 /* "VERB ARGS..." */)
return TCL_ERROR
}
rc = tcl.XTcl_GetIndexFromObjStruct(tls,
- interp, *(*uintptr)(unsafe.Pointer(objv + 1*8)), bp+64 /* &aVerb[0] */, int32(unsafe.Sizeof(Verb{})), ts+18175 /* "VERB" */, 0, bp+128 /* &iVerb */)
+ interp, *(*uintptr)(unsafe.Pointer(objv + 1*8)), bp+64 /* &aVerb[0] */, int32(unsafe.Sizeof(Verb{})), ts+18964 /* "VERB" */, 0, bp+128 /* &iVerb */)
if rc != TCL_OK {
return rc
}
@@ -51052,7 +52828,7 @@ func test_test_control(tls *libc.TLS, clientData uintptr, interp uintptr, objc i
// var val int32 at bp+144, 4
if objc != 3 {
- tcl.XTcl_WrongNumArgs(tls, interp, 2, objv, ts+18180 /* "ONOFF" */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 2, objv, ts+18969 /* "ONOFF" */)
return TCL_ERROR
}
if tcl.XTcl_GetBooleanFromObj(tls, interp, *(*uintptr)(unsafe.Pointer(objv + 2*8)), bp+144 /* &val */) != 0 {
@@ -51070,7 +52846,7 @@ func test_test_control(tls *libc.TLS, clientData uintptr, interp uintptr, objc i
// var db uintptr at bp+152, 8
if objc != 4 {
- tcl.XTcl_WrongNumArgs(tls, interp, 2, objv, ts+18186 /* "DB LIMIT" */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 2, objv, ts+18975 /* "DB LIMIT" */)
return TCL_ERROR
}
if getDbPointer(tls, interp, tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 2*8))), bp+152 /* &db */) != 0 {
@@ -51094,7 +52870,7 @@ func test_test_control(tls *libc.TLS, clientData uintptr, interp uintptr, objc i
// var db uintptr at bp+168, 8
if objc != 6 {
- tcl.XTcl_WrongNumArgs(tls, interp, 2, objv, ts+18195 /* "DB dbName onOff ..." */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 2, objv, ts+18984 /* "DB dbName onOff ..." */)
return TCL_ERROR
}
if getDbPointer(tls, interp, tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 2*8))), bp+168 /* &db */) != 0 {
@@ -51121,7 +52897,7 @@ type Verb = struct {
FzName uintptr
Fi int32
_ [4]byte
-} /* test1.c:7065:3 */
+} /* test1.c:7125:3 */
// Value to indicate that there is no limit.
@@ -51142,7 +52918,7 @@ type rlimit64 = struct {
} /* resource.h:148:1 */
// Define struct rusage.
-// Copyright (C) 1994-2018 Free Software Foundation, Inc.
+// Copyright (C) 1994-2020 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
@@ -51157,10 +52933,10 @@ type rlimit64 = struct {
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// bits/types.h -- definitions of __*_t types underlying *_t types.
-// Copyright (C) 2002-2018 Free Software Foundation, Inc.
+// Copyright (C) 2002-2020 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
@@ -51175,11 +52951,13 @@ type rlimit64 = struct {
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// Never include this file directly; use instead.
-// Structure which says how much of each resource has been used.
+// Structure which says how much of each resource has been used. If
+// the system does not keep track of a particular value, the struct
+// field is always zero.
// The purpose of all the unions is to have the kernel-compatible layout
// while keeping the API type as 'long int', and among machines where
@@ -51208,9 +52986,9 @@ type rusage = struct {
F__120 struct{ Fru_nsignals int64 }
F__128 struct{ Fru_nvcsw int64 }
F__136 struct{ Fru_nivcsw int64 }
-} /* struct_rusage.h:31:1 */
+} /* struct_rusage.h:33:1 */
-func test_getrusage(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:7149:26: */
+func test_getrusage(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:7209:26: */
bp := tls.Alloc(1216)
defer tls.Free(1216)
@@ -51222,7 +53000,7 @@ func test_getrusage(tls *libc.TLS, clientData uintptr, interp uintptr, objc int3
libc.Xgetrusage(tls, RUSAGE_SELF, bp+48 /* &r */)
sqlite3.Xsqlite3_snprintf(tls, int32(unsafe.Sizeof([1024]int8{})), bp+192, /* &buf[0] */
- ts+18216, /* "ru_utime=%d.%06d..." */
+ ts+19005, /* "ru_utime=%d.%06d..." */
libc.VaList(bp, int32((*rusage)(unsafe.Pointer(bp+48 /* &r */)).Fru_utime.Ftv_sec), int32((*rusage)(unsafe.Pointer(bp+48 /* &r */)).Fru_utime.Ftv_usec),
int32((*rusage)(unsafe.Pointer(bp+48 /* &r */)).Fru_stime.Ftv_sec), int32((*rusage)(unsafe.Pointer(bp+48 /* &r */)).Fru_stime.Ftv_usec),
int32(*(*int64)(unsafe.Pointer(bp + 48 /* &r */ + 64 /* &.ru_minflt */))), int32(*(*int64)(unsafe.Pointer(bp + 48 /* &r */ + 72 /* &.ru_majflt */)))))
@@ -51235,7 +53013,7 @@ func test_getrusage(tls *libc.TLS, clientData uintptr, interp uintptr, objc int3
// Enable or disable query optimizations using the sqlite3_test_control()
// interface. Disable if BOOLEAN is false and enable if BOOLEAN is true.
// OPT is the name of the optimization to be disabled.
-func optimization_control(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:7429:26: */
+func optimization_control(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:7489:26: */
bp := tls.Alloc(68)
defer tls.Free(68)
@@ -51248,7 +53026,7 @@ func optimization_control(tls *libc.TLS, clientData uintptr, interp uintptr, obj
var mask int32 = 0
if objc != 4 {
- tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+18276 /* "DB OPT BOOLEAN" */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+19065 /* "DB OPT BOOLEAN" */)
return TCL_ERROR
}
if getDbPointer(tls, interp, tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 1*8))), bp+56 /* &db */) != 0 {
@@ -51276,14 +53054,14 @@ func optimization_control(tls *libc.TLS, clientData uintptr, interp uintptr, obj
Fmask int32
_ [4]byte
}{}))) {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+18291, /* "unknown optimiza..." */
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+19080, /* "unknown optimiza..." */
uintptr(0)))
for i = 0; uint64(i) < (uint64(unsafe.Sizeof(aOpt)) / uint64(unsafe.Sizeof(struct {
FzOptName uintptr
Fmask int32
_ [4]byte
}{}))); i++ {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+16, ts+4765 /* " " */, aOpt[i].FzOptName, uintptr(0)))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+16, ts+4755 /* " " */, aOpt[i].FzOptName, uintptr(0)))
}
return TCL_ERROR
}
@@ -51296,25 +53074,25 @@ var aOpt = [13]struct {
Fmask int32
_ [4]byte
}{
- {FzOptName: ts + 18332 /* "all" */, Fmask: libc.Int32FromUint32(SQLITE_AllOpts)},
- {FzOptName: ts + 18336 /* "none" */},
- {FzOptName: ts + 18341 /* "query-flattener" */, Fmask: SQLITE_QueryFlattener},
- {FzOptName: ts + 18357 /* "groupby-order" */, Fmask: SQLITE_GroupByOrder},
- {FzOptName: ts + 18371 /* "factor-constants" */, Fmask: SQLITE_FactorOutConst},
- {FzOptName: ts + 18388 /* "distinct-opt" */, Fmask: SQLITE_DistinctOpt},
- {FzOptName: ts + 18401 /* "cover-idx-scan" */, Fmask: SQLITE_CoverIdxScan},
- {FzOptName: ts + 18416 /* "order-by-idx-joi..." */, Fmask: SQLITE_OrderByIdxJoin},
- {FzOptName: ts + 18434 /* "transitive" */, Fmask: SQLITE_Transitive},
- {FzOptName: ts + 18445 /* "omit-noop-join" */, Fmask: SQLITE_OmitNoopJoin},
- {FzOptName: ts + 18460 /* "stat4" */, Fmask: SQLITE_Stat4},
- {FzOptName: ts + 18466 /* "skip-scan" */, Fmask: SQLITE_SkipScan},
- {FzOptName: ts + 18476 /* "push-down" */, Fmask: SQLITE_PushDown},
-} /* test1.c:7443:5 */
+ {FzOptName: ts + 19121 /* "all" */, Fmask: libc.Int32FromUint32(SQLITE_AllOpts)},
+ {FzOptName: ts + 19125 /* "none" */},
+ {FzOptName: ts + 19130 /* "query-flattener" */, Fmask: SQLITE_QueryFlattener},
+ {FzOptName: ts + 19146 /* "groupby-order" */, Fmask: SQLITE_GroupByOrder},
+ {FzOptName: ts + 19160 /* "factor-constants" */, Fmask: SQLITE_FactorOutConst},
+ {FzOptName: ts + 19177 /* "distinct-opt" */, Fmask: SQLITE_DistinctOpt},
+ {FzOptName: ts + 19190 /* "cover-idx-scan" */, Fmask: SQLITE_CoverIdxScan},
+ {FzOptName: ts + 19205 /* "order-by-idx-joi..." */, Fmask: SQLITE_OrderByIdxJoin},
+ {FzOptName: ts + 19223 /* "transitive" */, Fmask: SQLITE_Transitive},
+ {FzOptName: ts + 19234 /* "omit-noop-join" */, Fmask: SQLITE_OmitNoopJoin},
+ {FzOptName: ts + 19249 /* "stat4" */, Fmask: SQLITE_Stat4},
+ {FzOptName: ts + 19255 /* "skip-scan" */, Fmask: SQLITE_SkipScan},
+ {FzOptName: ts + 19265 /* "push-down" */, Fmask: SQLITE_PushDown},
+} /* test1.c:7503:5 */
// load_static_extension DB NAME ...
//
// Load one or more statically linked extensions.
-func tclLoadStaticExtensionCmd(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:7490:26: */
+func tclLoadStaticExtensionCmd(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:7550:26: */
bp := tls.Alloc(80)
defer tls.Free(80)
@@ -51326,7 +53104,7 @@ func tclLoadStaticExtensionCmd(tls *libc.TLS, clientData uintptr, interp uintptr
var rc int32
*(*uintptr)(unsafe.Pointer(bp + 72 /* zErrMsg */)) = uintptr(0)
if objc < 3 {
- tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+18486 /* "DB NAME ..." */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+19275 /* "DB NAME ..." */)
return TCL_ERROR
}
if getDbPointer(tls, interp, tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 1*8))), bp+64 /* &db */) != 0 {
@@ -51346,7 +53124,7 @@ func tclLoadStaticExtensionCmd(tls *libc.TLS, clientData uintptr, interp uintptr
FzExtName uintptr
FpInit uintptr
}{})))) {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+18498 /* "no such extensio..." */, zName, uintptr(0)))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+19287 /* "no such extensio..." */, zName, uintptr(0)))
return TCL_ERROR
}
if aExtension[i].FpInit != 0 {
@@ -51355,7 +53133,7 @@ func tclLoadStaticExtensionCmd(tls *libc.TLS, clientData uintptr, interp uintptr
rc = SQLITE_OK
}
if ((rc != SQLITE_OK) && (rc != (SQLITE_OK | (int32(1) << 8)))) || (*(*uintptr)(unsafe.Pointer(bp + 72 /* zErrMsg */)) != 0) {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+24, ts+18518 /* "initialization o..." */, zName, ts+18537 /* " failed: " */, *(*uintptr)(unsafe.Pointer(bp + 72 /* zErrMsg */)),
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+24, ts+19307 /* "initialization o..." */, zName, ts+19326 /* " failed: " */, *(*uintptr)(unsafe.Pointer(bp + 72 /* zErrMsg */)),
uintptr(0)))
sqlite3.Xsqlite3_free(tls, *(*uintptr)(unsafe.Pointer(bp + 72 /* zErrMsg */)))
return TCL_ERROR
@@ -51368,40 +53146,40 @@ var aExtension = [22]struct {
FzExtName uintptr
FpInit uintptr
}{
- {FzExtName: ts + 18547 /* "amatch" */, FpInit: 0},
- {FzExtName: ts + 18554 /* "appendvfs" */, FpInit: 0},
- {FzExtName: ts + 3931 /* "carray" */, FpInit: 0},
- {FzExtName: ts + 18564 /* "closure" */, FpInit: 0},
- {FzExtName: ts + 4686 /* "csv" */, FpInit: 0},
- {FzExtName: ts + 4709 /* "decimal" */, FpInit: 0},
- {FzExtName: ts + 4767 /* "eval" */, FpInit: 0},
- {FzExtName: ts + 4845 /* "explain" */, FpInit: 0},
- {FzExtName: ts + 18572 /* "fileio" */, FpInit: 0},
- {FzExtName: ts + 5354 /* "fuzzer" */, FpInit: 0},
- {FzExtName: ts + 5378 /* "ieee754" */, FpInit: 0},
- {FzExtName: ts + 18579 /* "nextchar" */, FpInit: 0},
- {FzExtName: ts + 5958 /* "percentile" */, FpInit: 0},
- {FzExtName: ts + 6033 /* "prefixes" */, FpInit: 0},
- {FzExtName: ts + 6345 /* "regexp" */, FpInit: 0},
- {FzExtName: ts + 6352 /* "remember" */, FpInit: 0},
- {FzExtName: ts + 18588 /* "series" */, FpInit: 0},
- {FzExtName: ts + 18595 /* "spellfix" */, FpInit: 0},
- {FzExtName: ts + 18604 /* "totype" */, FpInit: 0},
- {FzExtName: ts + 8369 /* "unionvtab" */, FpInit: 0},
- {FzExtName: ts + 8911 /* "wholenumber" */, FpInit: 0},
- {FzExtName: ts + 9014 /* "zipfile" */, FpInit: 0},
-} /* test1.c:7525:5 */
+ {FzExtName: ts + 19336 /* "amatch" */, FpInit: 0},
+ {FzExtName: ts + 19343 /* "appendvfs" */, FpInit: 0},
+ {FzExtName: ts + 3921 /* "carray" */, FpInit: 0},
+ {FzExtName: ts + 19353 /* "closure" */, FpInit: 0},
+ {FzExtName: ts + 4676 /* "csv" */, FpInit: 0},
+ {FzExtName: ts + 4699 /* "decimal" */, FpInit: 0},
+ {FzExtName: ts + 4757 /* "eval" */, FpInit: 0},
+ {FzExtName: ts + 4835 /* "explain" */, FpInit: 0},
+ {FzExtName: ts + 19361 /* "fileio" */, FpInit: 0},
+ {FzExtName: ts + 5344 /* "fuzzer" */, FpInit: 0},
+ {FzExtName: ts + 5368 /* "ieee754" */, FpInit: 0},
+ {FzExtName: ts + 19368 /* "nextchar" */, FpInit: 0},
+ {FzExtName: ts + 5948 /* "percentile" */, FpInit: 0},
+ {FzExtName: ts + 6023 /* "prefixes" */, FpInit: 0},
+ {FzExtName: ts + 6335 /* "regexp" */, FpInit: 0},
+ {FzExtName: ts + 6350 /* "remember" */, FpInit: 0},
+ {FzExtName: ts + 19377 /* "series" */, FpInit: 0},
+ {FzExtName: ts + 19384 /* "spellfix" */, FpInit: 0},
+ {FzExtName: ts + 19393 /* "totype" */, FpInit: 0},
+ {FzExtName: ts + 8367 /* "unionvtab" */, FpInit: 0},
+ {FzExtName: ts + 8909 /* "wholenumber" */, FpInit: 0},
+ {FzExtName: ts + 9012 /* "zipfile" */, FpInit: 0},
+} /* test1.c:7585:5 */
// sorter_test_fakeheap BOOL
//
-func sorter_test_fakeheap(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:7590:26: */
+func sorter_test_fakeheap(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:7650:26: */
bp := tls.Alloc(4)
defer tls.Free(4)
// var bArg int32 at bp, 4
if objc != 2 {
- tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+18611 /* "BOOL" */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+10615 /* "BOOL" */)
return TCL_ERROR
}
@@ -51431,7 +53209,7 @@ func sorter_test_fakeheap(tls *libc.TLS, clientData uintptr, interp uintptr, obj
//
// Then execute statement $SQL2. Check that the statement returns the same
// set of integers in the same order as in the previous step (using $SQL1).
-func sorter_test_sort4_helper(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:7630:26: */
+func sorter_test_sort4_helper(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:7690:26: */
bp := tls.Alloc(80)
defer tls.Free(80)
@@ -51456,7 +53234,7 @@ func sorter_test_sort4_helper(tls *libc.TLS, clientData uintptr, interp uintptr,
if !(objc != 5) {
goto __1
}
- tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+18616 /* "DB SQL1 NSTEP SQ..." */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+19400 /* "DB SQL1 NSTEP SQ..." */)
return TCL_ERROR
__1:
;
@@ -51494,7 +53272,7 @@ __5:
if !(a != sqlite3.Xsqlite3_column_int(tls, *(*uintptr)(unsafe.Pointer(bp + 72 /* pStmt */)), iB)) {
goto __8
}
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+18635 /* "data error: (a!=..." */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+19419 /* "data error: (a!=..." */, 0))
return TCL_ERROR
__8:
;
@@ -51547,14 +53325,14 @@ __14:
if !(iCksum1 != iCksum2) {
goto __15
}
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+16, ts+18654 /* "checksum mismatc..." */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+16, ts+19438 /* "checksum mismatc..." */, 0))
return TCL_ERROR
__15:
;
return TCL_OK
sql_error:
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+32, ts+18672 /* "sql error: " */, sqlite3.Xsqlite3_errmsg(tls, *(*uintptr)(unsafe.Pointer(bp + 56 /* db */))), 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+32, ts+19456 /* "sql error: " */, sqlite3.Xsqlite3_errmsg(tls, *(*uintptr)(unsafe.Pointer(bp + 56 /* db */))), 0))
return TCL_ERROR
}
@@ -51569,7 +53347,7 @@ sql_error:
// 2 Jump based on an uninitialized variable
// 3 Read after free
// 4 Panic
-func test_bad_behavior(tls *libc.TLS, clientData ClientData, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:7833:26: */
+func test_bad_behavior(tls *libc.TLS, clientData ClientData, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:7893:26: */
bp := tls.Alloc(44)
defer tls.Free(44)
@@ -51582,7 +53360,7 @@ func test_bad_behavior(tls *libc.TLS, clientData ClientData, interp uintptr, obj
var a uintptr
if objc != 2 {
- tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+18684 /* "TYPE" */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+19468 /* "TYPE" */)
return TCL_ERROR
}
if tcl.XTcl_GetIntFromObj(tls, interp, *(*uintptr)(unsafe.Pointer(objv + 1*8)), bp /* &iType */) != 0 {
@@ -51620,7 +53398,7 @@ func test_bad_behavior(tls *libc.TLS, clientData ClientData, interp uintptr, obj
}
case 4:
{
- tcl.XTcl_Panic(tls, ts+18689 /* "Deliberate panic" */, 0)
+ tcl.XTcl_Panic(tls, ts+19473 /* "Deliberate panic" */, 0)
break
}
@@ -51631,7 +53409,7 @@ func test_bad_behavior(tls *libc.TLS, clientData ClientData, interp uintptr, obj
// tclcmd: register_dbstat_vtab DB
//
// Cause the dbstat virtual table to be available on the connection DB
-func test_register_dbstat_vtab(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:7883:26: */
+func test_register_dbstat_vtab(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:7943:26: */
bp := tls.Alloc(64)
defer tls.Free(64)
@@ -51654,7 +53432,7 @@ func test_register_dbstat_vtab(tls *libc.TLS, clientData uintptr, interp uintptr
// tclcmd: sqlite3_db_config DB SETTING VALUE
//
// Invoke sqlite3_db_config() for one of the setting values.
-func test_sqlite3_db_config(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:7917:26: */
+func test_sqlite3_db_config(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:7977:26: */
bp := tls.Alloc(28)
defer tls.Free(28)
@@ -51664,20 +53442,20 @@ func test_sqlite3_db_config(tls *libc.TLS, clientData uintptr, interp uintptr, o
// var db uintptr at bp+16, 8
if (objc != 4) && (objc != 3) {
- tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+18706 /* "DB SETTING [VALU..." */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+19490 /* "DB SETTING [VALU..." */)
return TCL_ERROR
}
if getDbPointer(tls, interp, tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 1*8))), bp+16 /* &db */) != 0 {
return TCL_ERROR
}
zSetting = tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 2*8)))
- if sqlite3.Xsqlite3_strglob(tls, ts+18725 /* "SQLITE_*" */, zSetting) == 0 {
+ if sqlite3.Xsqlite3_strglob(tls, ts+19509 /* "SQLITE_*" */, zSetting) == 0 {
zSetting += uintptr(7)
}
- if sqlite3.Xsqlite3_strglob(tls, ts+18734 /* "DBCONFIG_*" */, zSetting) == 0 {
+ if sqlite3.Xsqlite3_strglob(tls, ts+19518 /* "DBCONFIG_*" */, zSetting) == 0 {
zSetting += uintptr(9)
}
- if sqlite3.Xsqlite3_strglob(tls, ts+18745 /* "ENABLE_*" */, zSetting) == 0 {
+ if sqlite3.Xsqlite3_strglob(tls, ts+19529 /* "ENABLE_*" */, zSetting) == 0 {
zSetting += uintptr(7)
}
for i = 0; i < (int32(uint64(unsafe.Sizeof(aSetting)) / uint64(unsafe.Sizeof(struct {
@@ -51695,7 +53473,7 @@ func test_sqlite3_db_config(tls *libc.TLS, clientData uintptr, interp uintptr, o
_ [4]byte
}{})))) {
tcl.XTcl_SetObjResult(tls, interp,
- tcl.XTcl_NewStringObj(tls, ts+18754 /* "unknown sqlite3_..." */, -1))
+ tcl.XTcl_NewStringObj(tls, ts+19538 /* "unknown sqlite3_..." */, -1))
return TCL_ERROR
}
if objc == 4 {
@@ -51715,28 +53493,28 @@ var aSetting = [14]struct {
FeVal int32
_ [4]byte
}{
- {FzName: ts + 18788 /* "FKEY" */, FeVal: SQLITE_DBCONFIG_ENABLE_FKEY},
- {FzName: ts + 18793 /* "TRIGGER" */, FeVal: SQLITE_DBCONFIG_ENABLE_TRIGGER},
- {FzName: ts + 18801 /* "FTS3_TOKENIZER" */, FeVal: SQLITE_DBCONFIG_ENABLE_FTS3_TOKENIZER},
- {FzName: ts + 18816 /* "LOAD_EXTENSION" */, FeVal: SQLITE_DBCONFIG_ENABLE_LOAD_EXTENSION},
- {FzName: ts + 18831 /* "NO_CKPT_ON_CLOSE" */, FeVal: SQLITE_DBCONFIG_NO_CKPT_ON_CLOSE},
- {FzName: ts + 18848 /* "QPSG" */, FeVal: SQLITE_DBCONFIG_ENABLE_QPSG},
- {FzName: ts + 18853 /* "TRIGGER_EQP" */, FeVal: SQLITE_DBCONFIG_TRIGGER_EQP},
- {FzName: ts + 18865 /* "RESET_DB" */, FeVal: SQLITE_DBCONFIG_RESET_DATABASE},
- {FzName: ts + 18874 /* "DEFENSIVE" */, FeVal: SQLITE_DBCONFIG_DEFENSIVE},
- {FzName: ts + 18884 /* "WRITABLE_SCHEMA" */, FeVal: SQLITE_DBCONFIG_WRITABLE_SCHEMA},
- {FzName: ts + 18900 /* "LEGACY_ALTER_TAB..." */, FeVal: SQLITE_DBCONFIG_LEGACY_ALTER_TABLE},
- {FzName: ts + 18919 /* "DQS_DML" */, FeVal: SQLITE_DBCONFIG_DQS_DML},
- {FzName: ts + 18927 /* "DQS_DDL" */, FeVal: SQLITE_DBCONFIG_DQS_DDL},
- {FzName: ts + 18935 /* "LEGACY_FILE_FORM..." */, FeVal: SQLITE_DBCONFIG_LEGACY_FILE_FORMAT},
-} /* test1.c:7926:5 */
+ {FzName: ts + 19572 /* "FKEY" */, FeVal: SQLITE_DBCONFIG_ENABLE_FKEY},
+ {FzName: ts + 19577 /* "TRIGGER" */, FeVal: SQLITE_DBCONFIG_ENABLE_TRIGGER},
+ {FzName: ts + 19585 /* "FTS3_TOKENIZER" */, FeVal: SQLITE_DBCONFIG_ENABLE_FTS3_TOKENIZER},
+ {FzName: ts + 19600 /* "LOAD_EXTENSION" */, FeVal: SQLITE_DBCONFIG_ENABLE_LOAD_EXTENSION},
+ {FzName: ts + 19615 /* "NO_CKPT_ON_CLOSE" */, FeVal: SQLITE_DBCONFIG_NO_CKPT_ON_CLOSE},
+ {FzName: ts + 19632 /* "QPSG" */, FeVal: SQLITE_DBCONFIG_ENABLE_QPSG},
+ {FzName: ts + 19637 /* "TRIGGER_EQP" */, FeVal: SQLITE_DBCONFIG_TRIGGER_EQP},
+ {FzName: ts + 19649 /* "RESET_DB" */, FeVal: SQLITE_DBCONFIG_RESET_DATABASE},
+ {FzName: ts + 19658 /* "DEFENSIVE" */, FeVal: SQLITE_DBCONFIG_DEFENSIVE},
+ {FzName: ts + 19668 /* "WRITABLE_SCHEMA" */, FeVal: SQLITE_DBCONFIG_WRITABLE_SCHEMA},
+ {FzName: ts + 19684 /* "LEGACY_ALTER_TAB..." */, FeVal: SQLITE_DBCONFIG_LEGACY_ALTER_TABLE},
+ {FzName: ts + 19703 /* "DQS_DML" */, FeVal: SQLITE_DBCONFIG_DQS_DML},
+ {FzName: ts + 19711 /* "DQS_DDL" */, FeVal: SQLITE_DBCONFIG_DQS_DDL},
+ {FzName: ts + 19719 /* "LEGACY_FILE_FORM..." */, FeVal: SQLITE_DBCONFIG_LEGACY_FILE_FORMAT},
+} /* test1.c:7986:5 */
// tclcmd: sqlite3_txn_state DB ?SCHEMA?
//
// Invoke sqlite3_txn_state(DB,SCHEMA) and return the
// numeric value that results. Use NULL for SCHEMA if the 3 argument
// is omitted.
-func test_sqlite3_txn_state(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:7980:26: */
+func test_sqlite3_txn_state(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:8040:26: */
bp := tls.Alloc(8)
defer tls.Free(8)
@@ -51746,7 +53524,7 @@ func test_sqlite3_txn_state(tls *libc.TLS, clientData uintptr, interp uintptr, o
var iTxn int32
if (objc != 2) && (objc != 3) {
- tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+18954 /* "DB ?SCHEMA?" */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+19738 /* "DB ?SCHEMA?" */)
return TCL_ERROR
}
if getDbPointer(tls, interp, tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 1*8))), bp /* &db */) != 0 {
@@ -51763,7 +53541,7 @@ func test_sqlite3_txn_state(tls *libc.TLS, clientData uintptr, interp uintptr, o
}
// Change the name of the main database schema from "main" to "icecube".
-func test_dbconfig_maindbname_icecube(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:8004:26: */
+func test_dbconfig_maindbname_icecube(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:8064:26: */
bp := tls.Alloc(16)
defer tls.Free(16)
@@ -51777,7 +53555,7 @@ func test_dbconfig_maindbname_icecube(tls *libc.TLS, clientData uintptr, interp
if getDbPointer(tls, interp, tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 1*8))), bp+8 /* &db */) != 0 {
return TCL_ERROR
}
- rc = sqlite3.Xsqlite3_db_config(tls, *(*uintptr)(unsafe.Pointer(bp + 8 /* db */)), SQLITE_DBCONFIG_MAINDBNAME, libc.VaList(bp, ts+18966 /* "icecube" */))
+ rc = sqlite3.Xsqlite3_db_config(tls, *(*uintptr)(unsafe.Pointer(bp + 8 /* db */)), SQLITE_DBCONFIG_MAINDBNAME, libc.VaList(bp, ts+19750 /* "icecube" */))
tcl.XTcl_SetObjResult(tls, interp, tcl.XTcl_NewIntObj(tls, rc))
return TCL_OK
}
@@ -51785,12 +53563,12 @@ func test_dbconfig_maindbname_icecube(tls *libc.TLS, clientData uintptr, interp
}
// Usage: sqlite3_mmap_warm DB DBNAME
-func test_mmap_warm(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:8027:26: */
+func test_mmap_warm(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:8087:26: */
bp := tls.Alloc(8)
defer tls.Free(8)
if (objc != 2) && (objc != 3) {
- tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+18974 /* "DB ?DBNAME?" */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+19758 /* "DB ?DBNAME?" */)
return TCL_ERROR
} else {
var rc int32
@@ -51815,7 +53593,7 @@ func test_mmap_warm(tls *libc.TLS, clientData uintptr, interp uintptr, objc int3
// Obtain the sqlite3_file* object for the database file for the "main" db
// of handle DB. Then invoke its xWrite method to write data DATA to offset
// OFFSET.
-func test_write_db(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:8060:26: */
+func test_write_db(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:8120:26: */
bp := tls.Alloc(32)
defer tls.Free(32)
@@ -51827,7 +53605,7 @@ func test_write_db(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32
var rc int32
if objc != 4 {
- tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+18986 /* "DB OFFSET DATA" */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+19770 /* "DB OFFSET DATA" */)
return TCL_ERROR
}
if getDbPointer(tls, interp, tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 1*8))), bp /* &db */) != 0 {
@@ -51847,7 +53625,7 @@ func test_write_db(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32
// Usage: sqlite3_register_cksumvfs
//
-func test_register_cksumvfs(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:8092:26: */
+func test_register_cksumvfs(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:8152:26: */
if objc != 1 {
tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+489 /* "" */)
return TCL_ERROR
@@ -51860,7 +53638,7 @@ func test_register_cksumvfs(tls *libc.TLS, clientData uintptr, interp uintptr, o
// Usage: sqlite3_unregister_cksumvfs
//
-func test_unregister_cksumvfs(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:8113:26: */
+func test_unregister_cksumvfs(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:8173:26: */
if objc != 1 {
tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+489 /* "" */)
return TCL_ERROR
@@ -51878,7 +53656,7 @@ func test_unregister_cksumvfs(tls *libc.TLS, clientData uintptr, interp uintptr,
// This routine returns a byte-array for an SQLite database file that
// is constructed from a text input which is the output of the "dbtotxt"
// utility.
-func test_decode_hexdb(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:8139:26: */
+func test_decode_hexdb(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* test1.c:8199:26: */
bp := tls.Alloc(296)
defer tls.Free(296)
@@ -51897,7 +53675,7 @@ func test_decode_hexdb(tls *libc.TLS, clientData uintptr, interp uintptr, objc i
// var x [16]uint32 at bp+232, 64
if objc != 2 {
- tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+19001 /* "HEXDB" */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+19785 /* "HEXDB" */)
return TCL_ERROR
}
zIn = tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 1*8)))
@@ -51914,17 +53692,17 @@ func test_decode_hexdb(tls *libc.TLS, clientData uintptr, interp uintptr, objc i
if a == uintptr(0) {
// var pgsz int32 at bp+220, 4
- rc = libc.Xsscanf(tls, (zIn + uintptr(i)), ts+19007 /* "| size %d pagesi..." */, libc.VaList(bp, bp+216 /* &n */, bp+220 /* &pgsz */))
+ rc = libc.Xsscanf(tls, (zIn + uintptr(i)), ts+19791 /* "| size %d pagesi..." */, libc.VaList(bp, bp+216 /* &n */, bp+220 /* &pgsz */))
if rc != 2 {
continue
}
if ((*(*int32)(unsafe.Pointer(bp + 220 /* pgsz */)) < 512) || (*(*int32)(unsafe.Pointer(bp + 220 /* pgsz */)) > 65536)) || ((*(*int32)(unsafe.Pointer(bp + 220 /* pgsz */)) & (*(*int32)(unsafe.Pointer(bp + 220 /* pgsz */)) - 1)) != 0) {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+16, ts+19029 /* "bad 'pagesize' f..." */, uintptr(0)))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+16, ts+19813 /* "bad 'pagesize' f..." */, uintptr(0)))
return TCL_ERROR
}
*(*int32)(unsafe.Pointer(bp + 216 /* n */)) = (((*(*int32)(unsafe.Pointer(bp + 216 /* n */)) + *(*int32)(unsafe.Pointer(bp + 220 /* pgsz */))) - 1) & ^(*(*int32)(unsafe.Pointer(bp + 220 /* pgsz */)) - 1)) // Round n up to the next multiple of pgsz
if *(*int32)(unsafe.Pointer(bp + 216 /* n */)) < 512 {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+32, ts+19050 /* "bad 'size' field" */, uintptr(0)))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+32, ts+19834 /* "bad 'size' field" */, uintptr(0)))
return TCL_ERROR
}
a = libc.Xmalloc(tls, uint64(*(*int32)(unsafe.Pointer(bp + 216 /* n */))))
@@ -51935,12 +53713,12 @@ func test_decode_hexdb(tls *libc.TLS, clientData uintptr, interp uintptr, objc i
libc.Xmemset(tls, a, 0, uint64(*(*int32)(unsafe.Pointer(bp + 216 /* n */))))
continue
}
- rc = libc.Xsscanf(tls, (zIn + uintptr(i)), ts+19067 /* "| page %d offset..." */, libc.VaList(bp+64, bp+224 /* &j */, bp+228 /* &k */))
+ rc = libc.Xsscanf(tls, (zIn + uintptr(i)), ts+19851 /* "| page %d offset..." */, libc.VaList(bp+64, bp+224 /* &j */, bp+228 /* &k */))
if rc == 2 {
iOffset = *(*int32)(unsafe.Pointer(bp + 228 /* k */))
continue
}
- rc = libc.Xsscanf(tls, (zIn + uintptr(i)), ts+19087, /* "| %d: %x %x %x %..." */
+ rc = libc.Xsscanf(tls, (zIn + uintptr(i)), ts+19871, /* "| %d: %x %x %x %..." */
libc.VaList(bp+80, bp+224 /* &j */, (bp+232 /* &x */), (bp+232 /* &x */ +1*4), (bp+232 /* &x */ +2*4), (bp+232 /* &x */ +3*4), (bp+232 /* &x */ +4*4), (bp+232 /* &x */ +5*4), (bp+232 /* &x */ +6*4), (bp+232 /* &x */ +7*4),
(bp+232 /* &x */ +8*4), (bp+232 /* &x */ +9*4), (bp+232 /* &x */ +10*4), (bp+232 /* &x */ +11*4), (bp+232 /* &x */ +12*4), (bp+232 /* &x */ +13*4), (bp+232 /* &x */ +14*4), (bp+232 /* &x */ +15*4)))
if rc == 17 {
@@ -51960,7 +53738,7 @@ func test_decode_hexdb(tls *libc.TLS, clientData uintptr, interp uintptr, objc i
}
// Register commands with the TCL interpreter.
-func Sqlitetest1_Init(tls *libc.TLS, interp uintptr) int32 { /* test1.c:8211:5: */
+func Sqlitetest1_Init(tls *libc.TLS, interp uintptr) int32 { /* test1.c:8271:5: */
var i int32
for i = 0; uint64(i) < (uint64(unsafe.Sizeof(aCmd1)) / uint64(unsafe.Sizeof(struct {
@@ -51977,285 +53755,286 @@ func Sqlitetest1_Init(tls *libc.TLS, interp uintptr) int32 { /* test1.c:8211:5:
tcl.XTcl_CreateObjCommand(tls, interp, aObjCmd1[i].FzName,
aObjCmd1[i].FxProc, aObjCmd1[i].FclientData, uintptr(0))
}
- tcl.XTcl_LinkVar(tls, interp, ts+19141, /* "sqlite_search_co..." */
+ tcl.XTcl_LinkVar(tls, interp, ts+19925, /* "sqlite_search_co..." */
uintptr(unsafe.Pointer(&sqlite3.Xsqlite3_search_count)), TCL_LINK_INT)
- tcl.XTcl_LinkVar(tls, interp, ts+19161, /* "sqlite_found_cou..." */
+ tcl.XTcl_LinkVar(tls, interp, ts+19945, /* "sqlite_found_cou..." */
uintptr(unsafe.Pointer(&sqlite3.Xsqlite3_found_count)), TCL_LINK_INT)
- tcl.XTcl_LinkVar(tls, interp, ts+19180, /* "sqlite_sort_coun..." */
+ tcl.XTcl_LinkVar(tls, interp, ts+19964, /* "sqlite_sort_coun..." */
uintptr(unsafe.Pointer(&sqlite3.Xsqlite3_sort_count)), TCL_LINK_INT)
- tcl.XTcl_LinkVar(tls, interp, ts+19198, /* "sqlite3_max_blob..." */
+ tcl.XTcl_LinkVar(tls, interp, ts+19982, /* "sqlite3_max_blob..." */
uintptr(unsafe.Pointer(&sqlite3.Xsqlite3_max_blobsize)), TCL_LINK_INT)
- tcl.XTcl_LinkVar(tls, interp, ts+19219, /* "sqlite_like_coun..." */
+ tcl.XTcl_LinkVar(tls, interp, ts+20003, /* "sqlite_like_coun..." */
uintptr(unsafe.Pointer(&sqlite3.Xsqlite3_like_count)), TCL_LINK_INT)
- tcl.XTcl_LinkVar(tls, interp, ts+19237, /* "sqlite_interrupt..." */
+ tcl.XTcl_LinkVar(tls, interp, ts+20021, /* "sqlite_interrupt..." */
uintptr(unsafe.Pointer(&sqlite3.Xsqlite3_interrupt_count)), TCL_LINK_INT)
- tcl.XTcl_LinkVar(tls, interp, ts+19260, /* "sqlite_open_file..." */
+ tcl.XTcl_LinkVar(tls, interp, ts+20044, /* "sqlite_open_file..." */
uintptr(unsafe.Pointer(&sqlite3.Xsqlite3_open_file_count)), TCL_LINK_INT)
- tcl.XTcl_LinkVar(tls, interp, ts+19283, /* "sqlite_current_t..." */
+ tcl.XTcl_LinkVar(tls, interp, ts+20067, /* "sqlite_current_t..." */
uintptr(unsafe.Pointer(&sqlite3.Xsqlite3_current_time)), TCL_LINK_INT)
- tcl.XTcl_LinkVar(tls, interp, ts+19303, /* "sqlite3_xferopt_..." */
+ tcl.XTcl_LinkVar(tls, interp, ts+20087, /* "sqlite3_xferopt_..." */
uintptr(unsafe.Pointer(&sqlite3.Xsqlite3_xferopt_count)), TCL_LINK_INT)
- tcl.XTcl_LinkVar(tls, interp, ts+19325, /* "sqlite3_pager_re..." */
+ tcl.XTcl_LinkVar(tls, interp, ts+20109, /* "sqlite3_pager_re..." */
uintptr(unsafe.Pointer(&sqlite3.Xsqlite3_pager_readdb_count)), TCL_LINK_INT)
- tcl.XTcl_LinkVar(tls, interp, ts+19352, /* "sqlite3_pager_wr..." */
+ tcl.XTcl_LinkVar(tls, interp, ts+20136, /* "sqlite3_pager_wr..." */
uintptr(unsafe.Pointer(&sqlite3.Xsqlite3_pager_writedb_count)), TCL_LINK_INT)
- tcl.XTcl_LinkVar(tls, interp, ts+19380, /* "sqlite3_pager_wr..." */
+ tcl.XTcl_LinkVar(tls, interp, ts+20164, /* "sqlite3_pager_wr..." */
uintptr(unsafe.Pointer(&sqlite3.Xsqlite3_pager_writej_count)), TCL_LINK_INT)
- tcl.XTcl_LinkVar(tls, interp, ts+19407, /* "unaligned_string..." */
+ tcl.XTcl_LinkVar(tls, interp, ts+20191, /* "unaligned_string..." */
uintptr(unsafe.Pointer(&unaligned_string_counter)), TCL_LINK_INT)
- tcl.XTcl_LinkVar(tls, interp, ts+19432, /* "sqlite_last_need..." */
+ tcl.XTcl_LinkVar(tls, interp, ts+20216, /* "sqlite_last_need..." */
uintptr(unsafe.Pointer(&pzNeededCollation)), (TCL_LINK_STRING | TCL_LINK_READ_ONLY))
{
- tcl.XTcl_LinkVar(tls, interp, ts+19461, /* "sqlite_query_pla..." */
+ tcl.XTcl_LinkVar(tls, interp, ts+20245, /* "sqlite_query_pla..." */
uintptr(unsafe.Pointer(&query_plan)), (TCL_LINK_STRING | TCL_LINK_READ_ONLY))
}
- tcl.XTcl_LinkVar(tls, interp, ts+19479, /* "sqlite_opentemp_..." */
+ tcl.XTcl_LinkVar(tls, interp, ts+20263, /* "sqlite_opentemp_..." */
uintptr(unsafe.Pointer(&sqlite3.Xsqlite3_opentemp_count)), TCL_LINK_INT)
- tcl.XTcl_LinkVar(tls, interp, ts+19501, /* "sqlite_static_bi..." */
+ tcl.XTcl_LinkVar(tls, interp, ts+20285, /* "sqlite_static_bi..." */
uintptr(unsafe.Pointer(&sqlite_static_bind_value)), TCL_LINK_STRING)
- tcl.XTcl_LinkVar(tls, interp, ts+19526, /* "sqlite_static_bi..." */
+ tcl.XTcl_LinkVar(tls, interp, ts+20310, /* "sqlite_static_bi..." */
uintptr(unsafe.Pointer(&sqlite_static_bind_nbyte)), TCL_LINK_INT)
- tcl.XTcl_LinkVar(tls, interp, ts+19551, /* "sqlite_temp_dire..." */
+ tcl.XTcl_LinkVar(tls, interp, ts+20335, /* "sqlite_temp_dire..." */
uintptr(unsafe.Pointer(&sqlite3.Xsqlite3_temp_directory)), TCL_LINK_STRING)
- tcl.XTcl_LinkVar(tls, interp, ts+19573, /* "sqlite_data_dire..." */
+ tcl.XTcl_LinkVar(tls, interp, ts+20357, /* "sqlite_data_dire..." */
uintptr(unsafe.Pointer(&sqlite3.Xsqlite3_data_directory)), TCL_LINK_STRING)
- tcl.XTcl_LinkVar(tls, interp, ts+19595, /* "bitmask_size" */
+ tcl.XTcl_LinkVar(tls, interp, ts+20379, /* "bitmask_size" */
uintptr(unsafe.Pointer(&bitmask_size)), (TCL_LINK_INT | TCL_LINK_READ_ONLY))
- tcl.XTcl_LinkVar(tls, interp, ts+19608, /* "longdouble_size" */
+ tcl.XTcl_LinkVar(tls, interp, ts+20392, /* "longdouble_size" */
uintptr(unsafe.Pointer(&longdouble_size)), (TCL_LINK_INT | TCL_LINK_READ_ONLY))
- tcl.XTcl_LinkVar(tls, interp, ts+19624, /* "sqlite_sync_coun..." */
+ tcl.XTcl_LinkVar(tls, interp, ts+20408, /* "sqlite_sync_coun..." */
uintptr(unsafe.Pointer(&sqlite3.Xsqlite3_sync_count)), TCL_LINK_INT)
- tcl.XTcl_LinkVar(tls, interp, ts+19642, /* "sqlite_fullsync_..." */
+ tcl.XTcl_LinkVar(tls, interp, ts+20426, /* "sqlite_fullsync_..." */
uintptr(unsafe.Pointer(&sqlite3.Xsqlite3_fullsync_count)), TCL_LINK_INT)
return TCL_OK
}
-var iZero int32 = 0 /* test1.c:8224:14 */
+var iZero int32 = 0 /* test1.c:8284:14 */
var aCmd1 = [40]struct {
FzName uintptr
FxProc uintptr
}{
- {FzName: ts + 19664 /* "db_enter" */, FxProc: 0},
- {FzName: ts + 19673 /* "db_leave" */, FxProc: 0},
- {FzName: ts + 19682 /* "sqlite3_mprintf_..." */, FxProc: 0},
- {FzName: ts + 19702 /* "sqlite3_mprintf_..." */, FxProc: 0},
- {FzName: ts + 19724 /* "sqlite3_mprintf_..." */, FxProc: 0},
- {FzName: ts + 19745 /* "sqlite3_mprintf_..." */, FxProc: 0},
- {FzName: ts + 19765 /* "sqlite3_snprintf..." */, FxProc: 0},
- {FzName: ts + 19786 /* "sqlite3_mprintf_..." */, FxProc: 0},
- {FzName: ts + 19810 /* "sqlite3_mprintf_..." */, FxProc: 0},
- {FzName: ts + 19833 /* "sqlite3_mprintf_..." */, FxProc: 0},
- {FzName: ts + 19856 /* "sqlite3_mprintf_..." */, FxProc: 0},
- {FzName: ts + 19882 /* "sqlite3_mprintf_..." */, FxProc: 0},
- {FzName: ts + 19905 /* "sqlite3_mprintf_..." */, FxProc: 0},
- {FzName: ts + 19928 /* "sqlite3_snprintf..." */, FxProc: 0},
- {FzName: ts + 19949 /* "sqlite3_last_ins..." */, FxProc: 0},
- {FzName: ts + 19975 /* "sqlite3_exec_pri..." */, FxProc: 0},
- {FzName: ts + 19995 /* "sqlite3_exec_hex" */, FxProc: 0},
- {FzName: ts + 20012 /* "sqlite3_exec" */, FxProc: 0},
- {FzName: ts + 20025 /* "sqlite3_exec_nr" */, FxProc: 0},
- {FzName: ts + 20041 /* "sqlite3_get_tabl..." */, FxProc: 0},
- {FzName: ts + 20066 /* "sqlite3_close" */, FxProc: 0},
- {FzName: ts + 20080 /* "sqlite3_close_v2" */, FxProc: 0},
- {FzName: ts + 20097 /* "sqlite3_create_f..." */, FxProc: 0},
- {FzName: ts + 20121 /* "sqlite3_create_a..." */, FxProc: 0},
- {FzName: ts + 20146 /* "sqlite3_drop_mod..." */, FxProc: 0},
- {FzName: ts + 20167 /* "sqlite_register_..." */, FxProc: 0},
- {FzName: ts + 20197 /* "sqlite_abort" */, FxProc: 0},
- {FzName: ts + 20210 /* "sqlite_bind" */, FxProc: 0},
- {FzName: ts + 20222 /* "breakpoint" */, FxProc: 0},
- {FzName: ts + 20233 /* "sqlite3_key" */, FxProc: 0},
- {FzName: ts + 20245 /* "sqlite3_rekey" */, FxProc: 0},
- {FzName: ts + 20259 /* "sqlite_set_magic" */, FxProc: 0},
- {FzName: ts + 20276 /* "sqlite3_interrup..." */, FxProc: 0},
- {FzName: ts + 20294 /* "sqlite_delete_fu..." */, FxProc: 0},
- {FzName: ts + 20317 /* "sqlite_delete_co..." */, FxProc: 0},
- {FzName: ts + 20341 /* "sqlite3_get_auto..." */, FxProc: 0},
- {FzName: ts + 20364 /* "sqlite3_busy_tim..." */, FxProc: 0},
- {FzName: ts + 20385 /* "printf" */, FxProc: 0},
- {FzName: ts + 20392 /* "sqlite3IoTrace" */, FxProc: 0},
- {FzName: ts + 20407 /* "clang_sanitize_a..." */, FxProc: 0},
-} /* test1.c:8228:5 */
-var aObjCmd1 = [160]struct {
+ {FzName: ts + 20448 /* "db_enter" */, FxProc: 0},
+ {FzName: ts + 20457 /* "db_leave" */, FxProc: 0},
+ {FzName: ts + 20466 /* "sqlite3_mprintf_..." */, FxProc: 0},
+ {FzName: ts + 20486 /* "sqlite3_mprintf_..." */, FxProc: 0},
+ {FzName: ts + 20508 /* "sqlite3_mprintf_..." */, FxProc: 0},
+ {FzName: ts + 20529 /* "sqlite3_mprintf_..." */, FxProc: 0},
+ {FzName: ts + 20549 /* "sqlite3_snprintf..." */, FxProc: 0},
+ {FzName: ts + 20570 /* "sqlite3_mprintf_..." */, FxProc: 0},
+ {FzName: ts + 20594 /* "sqlite3_mprintf_..." */, FxProc: 0},
+ {FzName: ts + 20617 /* "sqlite3_mprintf_..." */, FxProc: 0},
+ {FzName: ts + 20640 /* "sqlite3_mprintf_..." */, FxProc: 0},
+ {FzName: ts + 20666 /* "sqlite3_mprintf_..." */, FxProc: 0},
+ {FzName: ts + 20689 /* "sqlite3_mprintf_..." */, FxProc: 0},
+ {FzName: ts + 20712 /* "sqlite3_snprintf..." */, FxProc: 0},
+ {FzName: ts + 20733 /* "sqlite3_last_ins..." */, FxProc: 0},
+ {FzName: ts + 20759 /* "sqlite3_exec_pri..." */, FxProc: 0},
+ {FzName: ts + 20779 /* "sqlite3_exec_hex" */, FxProc: 0},
+ {FzName: ts + 20796 /* "sqlite3_exec" */, FxProc: 0},
+ {FzName: ts + 20809 /* "sqlite3_exec_nr" */, FxProc: 0},
+ {FzName: ts + 20825 /* "sqlite3_get_tabl..." */, FxProc: 0},
+ {FzName: ts + 20850 /* "sqlite3_close" */, FxProc: 0},
+ {FzName: ts + 20864 /* "sqlite3_close_v2" */, FxProc: 0},
+ {FzName: ts + 20881 /* "sqlite3_create_f..." */, FxProc: 0},
+ {FzName: ts + 20905 /* "sqlite3_create_a..." */, FxProc: 0},
+ {FzName: ts + 20930 /* "sqlite3_drop_mod..." */, FxProc: 0},
+ {FzName: ts + 20951 /* "sqlite_register_..." */, FxProc: 0},
+ {FzName: ts + 20981 /* "sqlite_abort" */, FxProc: 0},
+ {FzName: ts + 20994 /* "sqlite_bind" */, FxProc: 0},
+ {FzName: ts + 21006 /* "breakpoint" */, FxProc: 0},
+ {FzName: ts + 21017 /* "sqlite3_key" */, FxProc: 0},
+ {FzName: ts + 21029 /* "sqlite3_rekey" */, FxProc: 0},
+ {FzName: ts + 21043 /* "sqlite_set_magic" */, FxProc: 0},
+ {FzName: ts + 21060 /* "sqlite3_interrup..." */, FxProc: 0},
+ {FzName: ts + 21078 /* "sqlite_delete_fu..." */, FxProc: 0},
+ {FzName: ts + 21101 /* "sqlite_delete_co..." */, FxProc: 0},
+ {FzName: ts + 21125 /* "sqlite3_get_auto..." */, FxProc: 0},
+ {FzName: ts + 21148 /* "sqlite3_busy_tim..." */, FxProc: 0},
+ {FzName: ts + 21169 /* "printf" */, FxProc: 0},
+ {FzName: ts + 21176 /* "sqlite3IoTrace" */, FxProc: 0},
+ {FzName: ts + 21191 /* "clang_sanitize_a..." */, FxProc: 0},
+} /* test1.c:8288:5 */
+var aObjCmd1 = [161]struct {
FzName uintptr
FxProc uintptr
FclientData uintptr
}{
- {FzName: ts + 20430 /* "sqlite3_db_confi..." */, FxProc: 0},
- {FzName: ts + 20448 /* "sqlite3_txn_stat..." */, FxProc: 0},
- {FzName: ts + 20466 /* "bad_behavior" */, FxProc: 0, FclientData: 0},
- {FzName: ts + 20479 /* "register_dbstat_..." */, FxProc: 0},
- {FzName: ts + 20500 /* "sqlite3_connecti..." */, FxProc: 0},
- {FzName: ts + 20527 /* "intarray_addr" */, FxProc: 0},
- {FzName: ts + 20541 /* "int64array_addr" */, FxProc: 0},
- {FzName: ts + 20557 /* "doublearray_addr" */, FxProc: 0},
- {FzName: ts + 20574 /* "textarray_addr" */, FxProc: 0},
- {FzName: ts + 20589 /* "sqlite3_bind_int" */, FxProc: 0},
- {FzName: ts + 20606 /* "sqlite3_bind_zer..." */, FxProc: 0},
- {FzName: ts + 20628 /* "sqlite3_bind_zer..." */, FxProc: 0},
- {FzName: ts + 20652 /* "sqlite3_bind_int..." */, FxProc: 0},
- {FzName: ts + 20671 /* "sqlite3_bind_dou..." */, FxProc: 0},
- {FzName: ts + 20691 /* "sqlite3_bind_nul..." */, FxProc: 0},
- {FzName: ts + 20709 /* "sqlite3_bind_tex..." */, FxProc: 0},
- {FzName: ts + 20727 /* "sqlite3_bind_tex..." */, FxProc: 0},
- {FzName: ts + 20747 /* "sqlite3_bind_blo..." */, FxProc: 0},
- {FzName: ts + 20765 /* "sqlite3_carray_b..." */, FxProc: 0},
- {FzName: ts + 20785 /* "sqlite3_bind_par..." */, FxProc: 0},
- {FzName: ts + 20814 /* "sqlite3_bind_par..." */, FxProc: 0},
- {FzName: ts + 20842 /* "sqlite3_bind_par..." */, FxProc: 0},
- {FzName: ts + 20871 /* "sqlite3_clear_bi..." */, FxProc: 0},
- {FzName: ts + 20894 /* "sqlite3_sleep" */, FxProc: 0},
- {FzName: ts + 20908 /* "sqlite3_errcode" */, FxProc: 0},
- {FzName: ts + 20924 /* "sqlite3_extended..." */, FxProc: 0},
- {FzName: ts + 20949 /* "sqlite3_errmsg" */, FxProc: 0},
- {FzName: ts + 20964 /* "sqlite3_errmsg16" */, FxProc: 0},
- {FzName: ts + 20981 /* "sqlite3_open" */, FxProc: 0},
- {FzName: ts + 20994 /* "sqlite3_open16" */, FxProc: 0},
- {FzName: ts + 21009 /* "sqlite3_open_v2" */, FxProc: 0},
- {FzName: ts + 21025 /* "sqlite3_complete..." */, FxProc: 0},
- {FzName: ts + 21044 /* "sqlite3_normaliz..." */, FxProc: 0},
+ {FzName: ts + 21214 /* "sqlite3_db_confi..." */, FxProc: 0},
+ {FzName: ts + 21232 /* "sqlite3_txn_stat..." */, FxProc: 0},
+ {FzName: ts + 21250 /* "bad_behavior" */, FxProc: 0, FclientData: 0},
+ {FzName: ts + 21263 /* "register_dbstat_..." */, FxProc: 0},
+ {FzName: ts + 21284 /* "sqlite3_connecti..." */, FxProc: 0},
+ {FzName: ts + 21311 /* "intarray_addr" */, FxProc: 0},
+ {FzName: ts + 21325 /* "int64array_addr" */, FxProc: 0},
+ {FzName: ts + 21341 /* "doublearray_addr" */, FxProc: 0},
+ {FzName: ts + 21358 /* "textarray_addr" */, FxProc: 0},
+ {FzName: ts + 21373 /* "sqlite3_bind_int" */, FxProc: 0},
+ {FzName: ts + 21390 /* "sqlite3_bind_zer..." */, FxProc: 0},
+ {FzName: ts + 21412 /* "sqlite3_bind_zer..." */, FxProc: 0},
+ {FzName: ts + 21436 /* "sqlite3_bind_int..." */, FxProc: 0},
+ {FzName: ts + 21455 /* "sqlite3_bind_dou..." */, FxProc: 0},
+ {FzName: ts + 21475 /* "sqlite3_bind_nul..." */, FxProc: 0},
+ {FzName: ts + 21493 /* "sqlite3_bind_tex..." */, FxProc: 0},
+ {FzName: ts + 21511 /* "sqlite3_bind_tex..." */, FxProc: 0},
+ {FzName: ts + 21531 /* "sqlite3_bind_blo..." */, FxProc: 0},
+ {FzName: ts + 21549 /* "sqlite3_carray_b..." */, FxProc: 0},
+ {FzName: ts + 21569 /* "sqlite3_bind_par..." */, FxProc: 0},
+ {FzName: ts + 21598 /* "sqlite3_bind_par..." */, FxProc: 0},
+ {FzName: ts + 21626 /* "sqlite3_bind_par..." */, FxProc: 0},
+ {FzName: ts + 21655 /* "sqlite3_clear_bi..." */, FxProc: 0},
+ {FzName: ts + 21678 /* "sqlite3_sleep" */, FxProc: 0},
+ {FzName: ts + 21692 /* "sqlite3_errcode" */, FxProc: 0},
+ {FzName: ts + 21708 /* "sqlite3_extended..." */, FxProc: 0},
+ {FzName: ts + 21733 /* "sqlite3_errmsg" */, FxProc: 0},
+ {FzName: ts + 21748 /* "sqlite3_errmsg16" */, FxProc: 0},
+ {FzName: ts + 21765 /* "sqlite3_open" */, FxProc: 0},
+ {FzName: ts + 21778 /* "sqlite3_open16" */, FxProc: 0},
+ {FzName: ts + 21793 /* "sqlite3_open_v2" */, FxProc: 0},
+ {FzName: ts + 21809 /* "sqlite3_complete..." */, FxProc: 0},
+ {FzName: ts + 21828 /* "sqlite3_normaliz..." */, FxProc: 0},
- {FzName: ts + 21062 /* "sqlite3_prepare" */, FxProc: 0},
- {FzName: ts + 21078 /* "sqlite3_prepare1..." */, FxProc: 0},
- {FzName: ts + 21096 /* "sqlite3_prepare_..." */, FxProc: 0},
- {FzName: ts + 21115 /* "sqlite3_prepare_..." */, FxProc: 0},
- {FzName: ts + 21134 /* "sqlite3_prepare_..." */, FxProc: 0},
- {FzName: ts + 21158 /* "sqlite3_prepare1..." */, FxProc: 0},
- {FzName: ts + 21179 /* "sqlite3_finalize" */, FxProc: 0},
- {FzName: ts + 21196 /* "sqlite3_stmt_sta..." */, FxProc: 0},
- {FzName: ts + 21216 /* "sqlite3_reset" */, FxProc: 0},
- {FzName: ts + 21230 /* "sqlite3_expired" */, FxProc: 0},
- {FzName: ts + 21246 /* "sqlite3_transfer..." */, FxProc: 0},
- {FzName: ts + 21272 /* "sqlite3_changes" */, FxProc: 0},
- {FzName: ts + 21288 /* "sqlite3_step" */, FxProc: 0},
- {FzName: ts + 21301 /* "sqlite3_sql" */, FxProc: 0},
- {FzName: ts + 21313 /* "sqlite3_expanded..." */, FxProc: 0},
- {FzName: ts + 21334 /* "sqlite3_next_stm..." */, FxProc: 0},
- {FzName: ts + 21352 /* "sqlite3_stmt_rea..." */, FxProc: 0},
- {FzName: ts + 21374 /* "sqlite3_stmt_ise..." */, FxProc: 0},
- {FzName: ts + 21397 /* "sqlite3_stmt_bus..." */, FxProc: 0},
- {FzName: ts + 21415 /* "uses_stmt_journa..." */, FxProc: 0},
+ {FzName: ts + 21846 /* "sqlite3_prepare" */, FxProc: 0},
+ {FzName: ts + 21862 /* "sqlite3_prepare1..." */, FxProc: 0},
+ {FzName: ts + 21880 /* "sqlite3_prepare_..." */, FxProc: 0},
+ {FzName: ts + 21899 /* "sqlite3_prepare_..." */, FxProc: 0},
+ {FzName: ts + 21918 /* "sqlite3_prepare_..." */, FxProc: 0},
+ {FzName: ts + 21942 /* "sqlite3_prepare1..." */, FxProc: 0},
+ {FzName: ts + 21963 /* "sqlite3_finalize" */, FxProc: 0},
+ {FzName: ts + 21980 /* "sqlite3_stmt_sta..." */, FxProc: 0},
+ {FzName: ts + 22000 /* "sqlite3_reset" */, FxProc: 0},
+ {FzName: ts + 22014 /* "sqlite3_expired" */, FxProc: 0},
+ {FzName: ts + 22030 /* "sqlite3_transfer..." */, FxProc: 0},
+ {FzName: ts + 22056 /* "sqlite3_changes" */, FxProc: 0},
+ {FzName: ts + 22072 /* "sqlite3_step" */, FxProc: 0},
+ {FzName: ts + 22085 /* "sqlite3_sql" */, FxProc: 0},
+ {FzName: ts + 22097 /* "sqlite3_expanded..." */, FxProc: 0},
+ {FzName: ts + 22118 /* "sqlite3_next_stm..." */, FxProc: 0},
+ {FzName: ts + 22136 /* "sqlite3_stmt_rea..." */, FxProc: 0},
+ {FzName: ts + 22158 /* "sqlite3_stmt_ise..." */, FxProc: 0},
+ {FzName: ts + 22181 /* "sqlite3_stmt_bus..." */, FxProc: 0},
+ {FzName: ts + 22199 /* "uses_stmt_journa..." */, FxProc: 0},
- {FzName: ts + 21433 /* "sqlite3_release_..." */, FxProc: 0},
- {FzName: ts + 21456 /* "sqlite3_db_relea..." */, FxProc: 0},
- {FzName: ts + 21482 /* "sqlite3_db_cache..." */, FxProc: 0},
- {FzName: ts + 21504 /* "sqlite3_system_e..." */, FxProc: 0},
- {FzName: ts + 21525 /* "sqlite3_db_filen..." */, FxProc: 0},
- {FzName: ts + 21545 /* "sqlite3_db_reado..." */, FxProc: 0},
- {FzName: ts + 21565 /* "sqlite3_soft_hea..." */, FxProc: 0},
- {FzName: ts + 21589 /* "sqlite3_soft_hea..." */, FxProc: 0},
- {FzName: ts + 21615 /* "sqlite3_hard_hea..." */, FxProc: 0},
- {FzName: ts + 21641 /* "sqlite3_thread_c..." */, FxProc: 0},
- {FzName: ts + 21664 /* "sqlite3_pager_re..." */, FxProc: 0},
+ {FzName: ts + 22217 /* "sqlite3_release_..." */, FxProc: 0},
+ {FzName: ts + 22240 /* "sqlite3_db_relea..." */, FxProc: 0},
+ {FzName: ts + 22266 /* "sqlite3_db_cache..." */, FxProc: 0},
+ {FzName: ts + 22288 /* "sqlite3_system_e..." */, FxProc: 0},
+ {FzName: ts + 22309 /* "sqlite3_db_filen..." */, FxProc: 0},
+ {FzName: ts + 22329 /* "sqlite3_db_reado..." */, FxProc: 0},
+ {FzName: ts + 22349 /* "sqlite3_soft_hea..." */, FxProc: 0},
+ {FzName: ts + 22373 /* "sqlite3_soft_hea..." */, FxProc: 0},
+ {FzName: ts + 22399 /* "sqlite3_hard_hea..." */, FxProc: 0},
+ {FzName: ts + 22425 /* "sqlite3_thread_c..." */, FxProc: 0},
+ {FzName: ts + 22448 /* "sqlite3_pager_re..." */, FxProc: 0},
- {FzName: ts + 21688 /* "sqlite3_load_ext..." */, FxProc: 0},
- {FzName: ts + 21711 /* "sqlite3_enable_l..." */, FxProc: 0},
- {FzName: ts + 21741 /* "sqlite3_extended..." */, FxProc: 0},
- {FzName: ts + 21771 /* "sqlite3_limit" */, FxProc: 0},
- {FzName: ts + 21785 /* "dbconfig_maindbn..." */, FxProc: 0},
+ {FzName: ts + 22472 /* "sqlite3_load_ext..." */, FxProc: 0},
+ {FzName: ts + 22495 /* "sqlite3_enable_l..." */, FxProc: 0},
+ {FzName: ts + 22525 /* "sqlite3_extended..." */, FxProc: 0},
+ {FzName: ts + 22555 /* "sqlite3_limit" */, FxProc: 0},
+ {FzName: ts + 22569 /* "dbconfig_maindbn..." */, FxProc: 0},
- {FzName: ts + 21813 /* "save_prng_state" */, FxProc: 0},
- {FzName: ts + 21829 /* "restore_prng_sta..." */, FxProc: 0},
- {FzName: ts + 21848 /* "reset_prng_state" */, FxProc: 0},
- {FzName: ts + 21865 /* "prng_seed" */, FxProc: 0},
- {FzName: ts + 21875 /* "extra_schema_che..." */, FxProc: 0},
- {FzName: ts + 21895 /* "database_never_c..." */, FxProc: 0},
- {FzName: ts + 21918 /* "database_may_be_..." */, FxProc: 0},
- {FzName: ts + 21942 /* "optimization_con..." */, FxProc: 0},
- {FzName: ts + 21963 /* "tcl_objproc" */, FxProc: 0},
+ {FzName: ts + 22597 /* "save_prng_state" */, FxProc: 0},
+ {FzName: ts + 22613 /* "restore_prng_sta..." */, FxProc: 0},
+ {FzName: ts + 22632 /* "reset_prng_state" */, FxProc: 0},
+ {FzName: ts + 22649 /* "prng_seed" */, FxProc: 0},
+ {FzName: ts + 22659 /* "extra_schema_che..." */, FxProc: 0},
+ {FzName: ts + 22679 /* "database_never_c..." */, FxProc: 0},
+ {FzName: ts + 22702 /* "database_may_be_..." */, FxProc: 0},
+ {FzName: ts + 22726 /* "optimization_con..." */, FxProc: 0},
+ {FzName: ts + 22747 /* "tcl_objproc" */, FxProc: 0},
// sqlite3_column_*() API
- {FzName: ts + 21975 /* "sqlite3_column_c..." */, FxProc: 0},
- {FzName: ts + 21996 /* "sqlite3_data_cou..." */, FxProc: 0},
- {FzName: ts + 22015 /* "sqlite3_column_t..." */, FxProc: 0},
- {FzName: ts + 22035 /* "sqlite3_column_b..." */, FxProc: 0},
- {FzName: ts + 22055 /* "sqlite3_column_d..." */, FxProc: 0},
- {FzName: ts + 22077 /* "sqlite3_column_i..." */, FxProc: 0},
- {FzName: ts + 22098 /* "sqlite3_column_t..." */, FxProc: 0, FclientData: 0},
- {FzName: ts + 22118 /* "sqlite3_column_n..." */, FxProc: 0, FclientData: 0},
- {FzName: ts + 22138 /* "sqlite3_column_i..." */, FxProc: 0, FclientData: 0},
- {FzName: ts + 22157 /* "sqlite3_column_b..." */, FxProc: 0, FclientData: 0},
- {FzName: ts + 22178 /* "sqlite3_column_d..." */, FxProc: 0, FclientData: 0},
- {FzName: ts + 22202 /* "sqlite3_column_d..." */, FxProc: 0, FclientData: 0},
- {FzName: ts + 22231 /* "sqlite3_column_t..." */, FxProc: 0, FclientData: 0},
- {FzName: ts + 22257 /* "sqlite3_column_o..." */, FxProc: 0, FclientData: 0},
+ {FzName: ts + 22759 /* "sqlite3_column_c..." */, FxProc: 0},
+ {FzName: ts + 22780 /* "sqlite3_data_cou..." */, FxProc: 0},
+ {FzName: ts + 22799 /* "sqlite3_column_t..." */, FxProc: 0},
+ {FzName: ts + 22819 /* "sqlite3_column_b..." */, FxProc: 0},
+ {FzName: ts + 22839 /* "sqlite3_column_d..." */, FxProc: 0},
+ {FzName: ts + 22861 /* "sqlite3_column_i..." */, FxProc: 0},
+ {FzName: ts + 22882 /* "sqlite3_column_t..." */, FxProc: 0, FclientData: 0},
+ {FzName: ts + 22902 /* "sqlite3_column_n..." */, FxProc: 0, FclientData: 0},
+ {FzName: ts + 22922 /* "sqlite3_column_i..." */, FxProc: 0, FclientData: 0},
+ {FzName: ts + 22941 /* "sqlite3_column_b..." */, FxProc: 0, FclientData: 0},
+ {FzName: ts + 22962 /* "sqlite3_column_d..." */, FxProc: 0, FclientData: 0},
+ {FzName: ts + 22986 /* "sqlite3_column_d..." */, FxProc: 0, FclientData: 0},
+ {FzName: ts + 23015 /* "sqlite3_column_t..." */, FxProc: 0, FclientData: 0},
+ {FzName: ts + 23041 /* "sqlite3_column_o..." */, FxProc: 0, FclientData: 0},
- {FzName: ts + 22284 /* "sqlite3_column_b..." */, FxProc: 0, FclientData: 0},
- {FzName: ts + 22307 /* "sqlite3_column_t..." */, FxProc: 0, FclientData: 0},
- {FzName: ts + 22329 /* "sqlite3_column_n..." */, FxProc: 0, FclientData: 0},
- {FzName: ts + 22351 /* "add_alignment_te..." */, FxProc: 0},
- {FzName: ts + 22381 /* "sqlite3_column_d..." */, FxProc: 0, FclientData: 0},
- {FzName: ts + 22407, /* "sqlite3_column_d..." */
+ {FzName: ts + 23068 /* "sqlite3_column_b..." */, FxProc: 0, FclientData: 0},
+ {FzName: ts + 23091 /* "sqlite3_column_t..." */, FxProc: 0, FclientData: 0},
+ {FzName: ts + 23113 /* "sqlite3_column_n..." */, FxProc: 0, FclientData: 0},
+ {FzName: ts + 23135 /* "add_alignment_te..." */, FxProc: 0},
+ {FzName: ts + 23165 /* "sqlite3_column_d..." */, FxProc: 0, FclientData: 0},
+ {FzName: ts + 23191, /* "sqlite3_column_d..." */
FxProc: 0, FclientData: 0},
- {FzName: ts + 22438 /* "sqlite3_column_t..." */, FxProc: 0, FclientData: 0},
- {FzName: ts + 22466 /* "sqlite3_column_o..." */, FxProc: 0, FclientData: 0},
- {FzName: ts + 22495 /* "sqlite3_create_c..." */, FxProc: 0},
- {FzName: ts + 22523 /* "sqlite3_global_r..." */, FxProc: 0},
- {FzName: ts + 22546 /* "working_64bit_in..." */, FxProc: 0},
- {FzName: ts + 22564 /* "vfs_unlink_test" */, FxProc: 0},
- {FzName: ts + 22580 /* "vfs_initfail_tes..." */, FxProc: 0},
- {FzName: ts + 22598 /* "vfs_unregister_a..." */, FxProc: 0},
- {FzName: ts + 22617 /* "vfs_reregister_a..." */, FxProc: 0},
- {FzName: ts + 22636 /* "file_control_tes..." */, FxProc: 0},
- {FzName: ts + 22654 /* "file_control_las..." */, FxProc: 0},
- {FzName: ts + 22682 /* "file_control_loc..." */, FxProc: 0},
- {FzName: ts + 22710 /* "file_control_chu..." */, FxProc: 0},
- {FzName: ts + 22738 /* "file_control_siz..." */, FxProc: 0},
- {FzName: ts + 22765 /* "file_control_dat..." */, FxProc: 0},
- {FzName: ts + 22791 /* "file_control_per..." */, FxProc: 0},
- {FzName: ts + 22816 /* "file_control_pow..." */, FxProc: 0},
- {FzName: ts + 22849 /* "file_control_vfs..." */, FxProc: 0},
- {FzName: ts + 22870 /* "file_control_res..." */, FxProc: 0},
- {FzName: ts + 22896 /* "file_control_tem..." */, FxProc: 0},
- {FzName: ts + 22922 /* "sqlite3_vfs_list" */, FxProc: 0},
- {FzName: ts + 22939 /* "sqlite3_create_f..." */, FxProc: 0},
+ {FzName: ts + 23222 /* "sqlite3_column_t..." */, FxProc: 0, FclientData: 0},
+ {FzName: ts + 23250 /* "sqlite3_column_o..." */, FxProc: 0, FclientData: 0},
+ {FzName: ts + 23279 /* "sqlite3_create_c..." */, FxProc: 0},
+ {FzName: ts + 23307 /* "sqlite3_global_r..." */, FxProc: 0},
+ {FzName: ts + 23330 /* "working_64bit_in..." */, FxProc: 0},
+ {FzName: ts + 23348 /* "vfs_unlink_test" */, FxProc: 0},
+ {FzName: ts + 23364 /* "vfs_initfail_tes..." */, FxProc: 0},
+ {FzName: ts + 23382 /* "vfs_unregister_a..." */, FxProc: 0},
+ {FzName: ts + 23401 /* "vfs_reregister_a..." */, FxProc: 0},
+ {FzName: ts + 23420 /* "file_control_tes..." */, FxProc: 0},
+ {FzName: ts + 23438 /* "file_control_las..." */, FxProc: 0},
+ {FzName: ts + 23466 /* "file_control_loc..." */, FxProc: 0},
+ {FzName: ts + 23494 /* "file_control_chu..." */, FxProc: 0},
+ {FzName: ts + 23522 /* "file_control_siz..." */, FxProc: 0},
+ {FzName: ts + 23549 /* "file_control_dat..." */, FxProc: 0},
+ {FzName: ts + 23575 /* "file_control_per..." */, FxProc: 0},
+ {FzName: ts + 23600 /* "file_control_pow..." */, FxProc: 0},
+ {FzName: ts + 23633 /* "file_control_vfs..." */, FxProc: 0},
+ {FzName: ts + 23654 /* "file_control_res..." */, FxProc: 0},
+ {FzName: ts + 23680 /* "file_control_tem..." */, FxProc: 0},
+ {FzName: ts + 23706 /* "file_control_ext..." */, FxProc: 0},
+ {FzName: ts + 23735 /* "sqlite3_vfs_list" */, FxProc: 0},
+ {FzName: ts + 23752 /* "sqlite3_create_f..." */, FxProc: 0},
// Functions from os.h
- {FzName: ts + 22966 /* "add_test_collate" */, FxProc: 0},
- {FzName: ts + 22983 /* "add_test_collate..." */, FxProc: 0},
- {FzName: ts + 23007 /* "add_test_functio..." */, FxProc: 0},
- {FzName: ts + 23025 /* "add_test_utf16bi..." */, FxProc: 0},
- {FzName: ts + 23051 /* "sqlite3_test_err..." */, FxProc: 0},
- {FzName: ts + 23071 /* "tcl_variable_typ..." */, FxProc: 0},
- {FzName: ts + 23089 /* "sqlite3_enable_s..." */, FxProc: 0},
- {FzName: ts + 23117 /* "sqlite3_shared_c..." */, FxProc: 0},
- {FzName: ts + 23145 /* "sqlite3_libversi..." */, FxProc: 0},
- {FzName: ts + 23171 /* "sqlite3_table_co..." */, FxProc: 0},
- {FzName: ts + 23201 /* "sqlite3_blob_reo..." */, FxProc: 0},
- {FzName: ts + 23221 /* "pcache_stats" */, FxProc: 0},
- {FzName: ts + 23234 /* "sqlite3_unlock_n..." */, FxProc: 0},
- {FzName: ts + 23256 /* "sqlite3_wal_chec..." */, FxProc: 0},
- {FzName: ts + 23279 /* "sqlite3_wal_chec..." */, FxProc: 0},
- {FzName: ts + 23305 /* "sqlite3_wal_auto..." */, FxProc: 0},
- {FzName: ts + 23332 /* "test_sqlite3_log" */, FxProc: 0},
- {FzName: ts + 23349 /* "print_explain_qu..." */, FxProc: 0},
- {FzName: ts + 23374 /* "sqlite3_test_con..." */, FxProc: 0},
- {FzName: ts + 23395 /* "getrusage" */, FxProc: 0},
- {FzName: ts + 23405 /* "load_static_exte..." */, FxProc: 0},
- {FzName: ts + 23427 /* "sorter_test_fake..." */, FxProc: 0},
- {FzName: ts + 23448 /* "sorter_test_sort..." */, FxProc: 0},
- {FzName: ts + 23473 /* "vfs_current_time..." */, FxProc: 0},
- {FzName: ts + 23496 /* "sqlite3_snapshot..." */, FxProc: 0},
- {FzName: ts + 23517 /* "sqlite3_snapshot..." */, FxProc: 0},
- {FzName: ts + 23539 /* "sqlite3_snapshot..." */, FxProc: 0},
- {FzName: ts + 23561 /* "sqlite3_snapshot..." */, FxProc: 0},
- {FzName: ts + 23582 /* "sqlite3_snapshot..." */, FxProc: 0},
- {FzName: ts + 23607 /* "sqlite3_snapshot..." */, FxProc: 0},
- {FzName: ts + 23633 /* "sqlite3_snapshot..." */, FxProc: 0},
- {FzName: ts + 23660 /* "sqlite3_snapshot..." */, FxProc: 0},
- {FzName: ts + 23686 /* "sqlite3_delete_d..." */, FxProc: 0},
- {FzName: ts + 23710 /* "atomic_batch_wri..." */, FxProc: 0},
- {FzName: ts + 23729 /* "sqlite3_mmap_war..." */, FxProc: 0},
- {FzName: ts + 23747 /* "sqlite3_config_s..." */, FxProc: 0},
- {FzName: ts + 23772 /* "decode_hexdb" */, FxProc: 0},
- {FzName: ts + 23785 /* "test_write_db" */, FxProc: 0},
- {FzName: ts + 23799 /* "sqlite3_register..." */, FxProc: 0},
- {FzName: ts + 23825 /* "sqlite3_unregist..." */, FxProc: 0},
-} /* test1.c:8276:5 */
-var bitmask_size int32 = (int32(uint64(unsafe.Sizeof(Bitmask(0))) * uint64(8))) /* test1.c:8503:14 */
-var longdouble_size int32 = int32(unsafe.Sizeof(float64(0))) /* test1.c:8504:14 */
-var query_plan uintptr = ts + 23853 /* "*** OBSOLETE VAR..." */ /* test1.c:8576:23 */
+ {FzName: ts + 23779 /* "add_test_collate" */, FxProc: 0},
+ {FzName: ts + 23796 /* "add_test_collate..." */, FxProc: 0},
+ {FzName: ts + 23820 /* "add_test_functio..." */, FxProc: 0},
+ {FzName: ts + 23838 /* "add_test_utf16bi..." */, FxProc: 0},
+ {FzName: ts + 23864 /* "sqlite3_test_err..." */, FxProc: 0},
+ {FzName: ts + 23884 /* "tcl_variable_typ..." */, FxProc: 0},
+ {FzName: ts + 23902 /* "sqlite3_enable_s..." */, FxProc: 0},
+ {FzName: ts + 23930 /* "sqlite3_shared_c..." */, FxProc: 0},
+ {FzName: ts + 23958 /* "sqlite3_libversi..." */, FxProc: 0},
+ {FzName: ts + 23984 /* "sqlite3_table_co..." */, FxProc: 0},
+ {FzName: ts + 24014 /* "sqlite3_blob_reo..." */, FxProc: 0},
+ {FzName: ts + 24034 /* "pcache_stats" */, FxProc: 0},
+ {FzName: ts + 24047 /* "sqlite3_unlock_n..." */, FxProc: 0},
+ {FzName: ts + 24069 /* "sqlite3_wal_chec..." */, FxProc: 0},
+ {FzName: ts + 24092 /* "sqlite3_wal_chec..." */, FxProc: 0},
+ {FzName: ts + 24118 /* "sqlite3_wal_auto..." */, FxProc: 0},
+ {FzName: ts + 24145 /* "test_sqlite3_log" */, FxProc: 0},
+ {FzName: ts + 24162 /* "print_explain_qu..." */, FxProc: 0},
+ {FzName: ts + 24187 /* "sqlite3_test_con..." */, FxProc: 0},
+ {FzName: ts + 24208 /* "getrusage" */, FxProc: 0},
+ {FzName: ts + 24218 /* "load_static_exte..." */, FxProc: 0},
+ {FzName: ts + 24240 /* "sorter_test_fake..." */, FxProc: 0},
+ {FzName: ts + 24261 /* "sorter_test_sort..." */, FxProc: 0},
+ {FzName: ts + 24286 /* "vfs_current_time..." */, FxProc: 0},
+ {FzName: ts + 24309 /* "sqlite3_snapshot..." */, FxProc: 0},
+ {FzName: ts + 24330 /* "sqlite3_snapshot..." */, FxProc: 0},
+ {FzName: ts + 24352 /* "sqlite3_snapshot..." */, FxProc: 0},
+ {FzName: ts + 24374 /* "sqlite3_snapshot..." */, FxProc: 0},
+ {FzName: ts + 24395 /* "sqlite3_snapshot..." */, FxProc: 0},
+ {FzName: ts + 24420 /* "sqlite3_snapshot..." */, FxProc: 0},
+ {FzName: ts + 24446 /* "sqlite3_snapshot..." */, FxProc: 0},
+ {FzName: ts + 24473 /* "sqlite3_snapshot..." */, FxProc: 0},
+ {FzName: ts + 24499 /* "sqlite3_delete_d..." */, FxProc: 0},
+ {FzName: ts + 24523 /* "atomic_batch_wri..." */, FxProc: 0},
+ {FzName: ts + 24542 /* "sqlite3_mmap_war..." */, FxProc: 0},
+ {FzName: ts + 24560 /* "sqlite3_config_s..." */, FxProc: 0},
+ {FzName: ts + 24585 /* "decode_hexdb" */, FxProc: 0},
+ {FzName: ts + 24598 /* "test_write_db" */, FxProc: 0},
+ {FzName: ts + 24612 /* "sqlite3_register..." */, FxProc: 0},
+ {FzName: ts + 24638 /* "sqlite3_unregist..." */, FxProc: 0},
+} /* test1.c:8336:5 */
+var bitmask_size int32 = (int32(uint64(unsafe.Sizeof(Bitmask(0))) * uint64(8))) /* test1.c:8564:14 */
+var longdouble_size int32 = int32(unsafe.Sizeof(float64(0))) /* test1.c:8565:14 */
+var query_plan uintptr = ts + 24666 /* "*** OBSOLETE VAR..." */ /* test1.c:8637:23 */
// Page size and reserved size used for testing.
var test_pagesize int32 = 1024 /* test2.c:31:12 */
@@ -52272,7 +54051,7 @@ func pager_open(tls *libc.TLS, NotUsed uintptr, interp uintptr, argc int32, argv
bp := tls.Alloc(192)
defer tls.Free(192)
- // var pageSize u322 at bp+88, 4
+ // var pageSize u32 at bp+88, 4
// var pPager uintptr at bp+80, 8
@@ -52282,8 +54061,8 @@ func pager_open(tls *libc.TLS, NotUsed uintptr, interp uintptr, argc int32, argv
// var zBuf [100]int8 at bp+92, 100
if argc != 3 {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+14631 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
- ts+23879 /* " FILENAME N-PAGE..." */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15410 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
+ ts+24692 /* " FILENAME N-PAGE..." */, 0))
return TCL_ERROR
}
if tcl.XTcl_GetInt(tls, interp, *(*uintptr)(unsafe.Pointer(argv + 2*8)), bp+72 /* &nPage */) != 0 {
@@ -52297,9 +54076,9 @@ func pager_open(tls *libc.TLS, NotUsed uintptr, interp uintptr, argc int32, argv
return TCL_ERROR
}
sqlite3.Xsqlite3PagerSetCachesize(tls, *(*uintptr)(unsafe.Pointer(bp + 80 /* pPager */)), *(*int32)(unsafe.Pointer(bp + 72 /* nPage */)))
- *(*u322)(unsafe.Pointer(bp + 88 /* pageSize */)) = u322(test_pagesize)
+ *(*u32)(unsafe.Pointer(bp + 88 /* pageSize */)) = u32(test_pagesize)
sqlite3.Xsqlite3PagerSetPagesize(tls, *(*uintptr)(unsafe.Pointer(bp + 80 /* pPager */)), bp+88 /* &pageSize */, -1)
- sqlite3.Xsqlite3_snprintf(tls, int32(unsafe.Sizeof([100]int8{})), bp+92 /* &zBuf[0] */, ts+13023 /* "%p" */, libc.VaList(bp+48, *(*uintptr)(unsafe.Pointer(bp + 80 /* pPager */))))
+ sqlite3.Xsqlite3_snprintf(tls, int32(unsafe.Sizeof([100]int8{})), bp+92 /* &zBuf[0] */, ts+13802 /* "%p" */, libc.VaList(bp+48, *(*uintptr)(unsafe.Pointer(bp + 80 /* pPager */))))
tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+56, bp+92 /* &zBuf[0] */, 0))
return TCL_OK
}
@@ -52314,8 +54093,8 @@ func pager_close(tls *libc.TLS, NotUsed uintptr, interp uintptr, argc int32, arg
var pPager uintptr
var rc int32
if argc != 2 {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+14631 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
- ts+23897 /* " ID\"" */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15410 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
+ ts+24710 /* " ID\"" */, 0))
return TCL_ERROR
}
pPager = sqlite3TestTextToPtr(tls, *(*uintptr)(unsafe.Pointer(argv + 1*8)))
@@ -52337,8 +54116,8 @@ func pager_rollback(tls *libc.TLS, NotUsed uintptr, interp uintptr, argc int32,
var pPager uintptr
var rc int32
if argc != 2 {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+14631 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
- ts+23897 /* " ID\"" */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15410 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
+ ts+24710 /* " ID\"" */, 0))
return TCL_ERROR
}
pPager = sqlite3TestTextToPtr(tls, *(*uintptr)(unsafe.Pointer(argv + 1*8)))
@@ -52360,8 +54139,8 @@ func pager_commit(tls *libc.TLS, NotUsed uintptr, interp uintptr, argc int32, ar
var pPager uintptr
var rc int32
if argc != 2 {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+14631 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
- ts+23897 /* " ID\"" */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15410 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
+ ts+24710 /* " ID\"" */, 0))
return TCL_ERROR
}
pPager = sqlite3TestTextToPtr(tls, *(*uintptr)(unsafe.Pointer(argv + 1*8)))
@@ -52388,8 +54167,8 @@ func pager_stmt_begin(tls *libc.TLS, NotUsed uintptr, interp uintptr, argc int32
var pPager uintptr
var rc int32
if argc != 2 {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+14631 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
- ts+23897 /* " ID\"" */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15410 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
+ ts+24710 /* " ID\"" */, 0))
return TCL_ERROR
}
pPager = sqlite3TestTextToPtr(tls, *(*uintptr)(unsafe.Pointer(argv + 1*8)))
@@ -52411,8 +54190,8 @@ func pager_stmt_rollback(tls *libc.TLS, NotUsed uintptr, interp uintptr, argc in
var pPager uintptr
var rc int32
if argc != 2 {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+14631 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
- ts+23897 /* " ID\"" */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15410 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
+ ts+24710 /* " ID\"" */, 0))
return TCL_ERROR
}
pPager = sqlite3TestTextToPtr(tls, *(*uintptr)(unsafe.Pointer(argv + 1*8)))
@@ -52435,8 +54214,8 @@ func pager_stmt_commit(tls *libc.TLS, NotUsed uintptr, interp uintptr, argc int3
var pPager uintptr
var rc int32
if argc != 2 {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+14631 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
- ts+23897 /* " ID\"" */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15410 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
+ ts+24710 /* " ID\"" */, 0))
return TCL_ERROR
}
pPager = sqlite3TestTextToPtr(tls, *(*uintptr)(unsafe.Pointer(argv + 1*8)))
@@ -52459,8 +54238,8 @@ func pager_stats(tls *libc.TLS, NotUsed uintptr, interp uintptr, argc int32, arg
var i int32
var a uintptr
if argc != 2 {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+14631 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
- ts+23897 /* " ID\"" */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15410 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
+ ts+24710 /* " ID\"" */, 0))
return TCL_ERROR
}
pPager = sqlite3TestTextToPtr(tls, *(*uintptr)(unsafe.Pointer(argv + 1*8)))
@@ -52476,8 +54255,8 @@ func pager_stats(tls *libc.TLS, NotUsed uintptr, interp uintptr, argc int32, arg
}
var zName = [9]uintptr{
- ts + 23902 /* "ref" */, ts + 23906 /* "page" */, ts + 17904 /* "max" */, ts + 11493 /* "size" */, ts + 10195 /* "state" */, ts + 23911, /* "err" */
- ts + 23915 /* "hit" */, ts + 23919 /* "miss" */, ts + 23924, /* "ovfl" */
+ ts + 24715 /* "ref" */, ts + 24719 /* "page" */, ts + 18693 /* "max" */, ts + 12279 /* "size" */, ts + 10193 /* "state" */, ts + 24724, /* "err" */
+ ts + 24728 /* "hit" */, ts + 24732 /* "miss" */, ts + 24737, /* "ovfl" */
} /* test2.c:266:17 */
// Usage: pager_pagecount ID
@@ -52493,8 +54272,8 @@ func pager_pagecount(tls *libc.TLS, NotUsed uintptr, interp uintptr, argc int32,
// var nPage int32 at bp+56, 4
if argc != 2 {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+14631 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
- ts+23897 /* " ID\"" */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15410 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
+ ts+24710 /* " ID\"" */, 0))
return TCL_ERROR
}
pPager = sqlite3TestTextToPtr(tls, *(*uintptr)(unsafe.Pointer(argv + 1*8)))
@@ -52519,8 +54298,8 @@ func page_get(tls *libc.TLS, NotUsed uintptr, interp uintptr, argc int32, argv u
var rc int32
if argc != 3 {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+14631 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
- ts+23929 /* " ID PGNO\"" */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15410 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
+ ts+24742 /* " ID PGNO\"" */, 0))
return TCL_ERROR
}
pPager = sqlite3TestTextToPtr(tls, *(*uintptr)(unsafe.Pointer(argv + 1*8)))
@@ -52535,7 +54314,7 @@ func page_get(tls *libc.TLS, NotUsed uintptr, interp uintptr, argc int32, argv u
tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+32, sqlite3.Xsqlite3ErrName(tls, rc), 0))
return TCL_ERROR
}
- sqlite3.Xsqlite3_snprintf(tls, int32(unsafe.Sizeof([100]int8{})), bp+88 /* &zBuf[0] */, ts+13023 /* "%p" */, libc.VaList(bp+48, *(*uintptr)(unsafe.Pointer(bp + 80 /* pPage */))))
+ sqlite3.Xsqlite3_snprintf(tls, int32(unsafe.Sizeof([100]int8{})), bp+88 /* &zBuf[0] */, ts+13802 /* "%p" */, libc.VaList(bp+48, *(*uintptr)(unsafe.Pointer(bp + 80 /* pPage */))))
tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+56, bp+88 /* &zBuf[0] */, 0))
return TCL_OK
}
@@ -52555,8 +54334,8 @@ func page_lookup(tls *libc.TLS, NotUsed uintptr, interp uintptr, argc int32, arg
// var pgno int32 at bp+56, 4
if argc != 3 {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+14631 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
- ts+23929 /* " ID PGNO\"" */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15410 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
+ ts+24742 /* " ID PGNO\"" */, 0))
return TCL_ERROR
}
pPager = sqlite3TestTextToPtr(tls, *(*uintptr)(unsafe.Pointer(argv + 1*8)))
@@ -52565,7 +54344,7 @@ func page_lookup(tls *libc.TLS, NotUsed uintptr, interp uintptr, argc int32, arg
}
pPage = sqlite3.Xsqlite3PagerLookup(tls, pPager, uint32(*(*int32)(unsafe.Pointer(bp + 56 /* pgno */))))
if pPage != 0 {
- sqlite3.Xsqlite3_snprintf(tls, int32(unsafe.Sizeof([100]int8{})), bp+60 /* &zBuf[0] */, ts+13023 /* "%p" */, libc.VaList(bp+32, pPage))
+ sqlite3.Xsqlite3_snprintf(tls, int32(unsafe.Sizeof([100]int8{})), bp+60 /* &zBuf[0] */, ts+13802 /* "%p" */, libc.VaList(bp+32, pPage))
tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+40, bp+60 /* &zBuf[0] */, 0))
}
return TCL_OK
@@ -52580,8 +54359,8 @@ func pager_truncate(tls *libc.TLS, NotUsed uintptr, interp uintptr, argc int32,
// var pgno int32 at bp+32, 4
if argc != 3 {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+14631 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
- ts+23929 /* " ID PGNO\"" */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15410 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
+ ts+24742 /* " ID PGNO\"" */, 0))
return TCL_ERROR
}
pPager = sqlite3TestTextToPtr(tls, *(*uintptr)(unsafe.Pointer(argv + 1*8)))
@@ -52601,8 +54380,8 @@ func page_unref(tls *libc.TLS, NotUsed uintptr, interp uintptr, argc int32, argv
var pPage uintptr
if argc != 2 {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+14631 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
- ts+23939 /* " PAGE\"" */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15410 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
+ ts+24752 /* " PAGE\"" */, 0))
return TCL_ERROR
}
pPage = sqlite3TestTextToPtr(tls, *(*uintptr)(unsafe.Pointer(argv + 1*8)))
@@ -52621,8 +54400,8 @@ func page_read(tls *libc.TLS, NotUsed uintptr, interp uintptr, argc int32, argv
var pPage uintptr
if argc != 2 {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+14631 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
- ts+23939 /* " PAGE\"" */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15410 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
+ ts+24752 /* " PAGE\"" */, 0))
return TCL_ERROR
}
pPage = sqlite3TestTextToPtr(tls, *(*uintptr)(unsafe.Pointer(argv + 1*8)))
@@ -52642,8 +54421,8 @@ func page_number(tls *libc.TLS, NotUsed uintptr, interp uintptr, argc int32, arg
var pPage uintptr
if argc != 2 {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+14631 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
- ts+23939 /* " PAGE\"" */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15410 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
+ ts+24752 /* " PAGE\"" */, 0))
return TCL_ERROR
}
pPage = sqlite3TestTextToPtr(tls, *(*uintptr)(unsafe.Pointer(argv + 1*8)))
@@ -52663,8 +54442,8 @@ func page_write(tls *libc.TLS, NotUsed uintptr, interp uintptr, argc int32, argv
var pData uintptr
var rc int32
if argc != 3 {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+14631 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
- ts+23946 /* " PAGE DATA\"" */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15410 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
+ ts+24759 /* " PAGE DATA\"" */, 0))
return TCL_ERROR
}
pPage = sqlite3TestTextToPtr(tls, *(*uintptr)(unsafe.Pointer(argv + 1*8)))
@@ -52699,8 +54478,8 @@ func fake_big_file(tls *libc.TLS, NotUsed uintptr, interp uintptr, argc int32, a
var zFile uintptr
var nFile int32
if argc != 3 {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+14631 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
- ts+23958 /* " N-MEGABYTES FIL..." */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15410 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
+ ts+24771 /* " N-MEGABYTES FIL..." */, 0))
return TCL_ERROR
}
if tcl.XTcl_GetInt(tls, interp, *(*uintptr)(unsafe.Pointer(argv + 1*8)), bp+80 /* &n */) != 0 {
@@ -52718,17 +54497,17 @@ func fake_big_file(tls *libc.TLS, NotUsed uintptr, interp uintptr, argc int32, a
rc = sqlite3.Xsqlite3OsOpenMalloc(tls, pVfs, zFile, bp+88, /* &fd */
((SQLITE_OPEN_CREATE | SQLITE_OPEN_READWRITE) | SQLITE_OPEN_MAIN_DB), uintptr(0))
if rc != 0 {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+32, ts+23977 /* "open failed: " */, sqlite3.Xsqlite3ErrName(tls, rc), 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+32, ts+24790 /* "open failed: " */, sqlite3.Xsqlite3ErrName(tls, rc), 0))
sqlite3.Xsqlite3_free(tls, zFile)
return TCL_ERROR
}
offset = i64(*(*int32)(unsafe.Pointer(bp + 80 /* n */)))
offset = offset * (int64(1024 * 1024))
- rc = sqlite3.Xsqlite3OsWrite(tls, *(*uintptr)(unsafe.Pointer(bp + 88 /* fd */)), ts+23991 /* "Hello, World!" */, 14, offset)
+ rc = sqlite3.Xsqlite3OsWrite(tls, *(*uintptr)(unsafe.Pointer(bp + 88 /* fd */)), ts+24804 /* "Hello, World!" */, 14, offset)
sqlite3.Xsqlite3OsCloseFree(tls, *(*uintptr)(unsafe.Pointer(bp + 88 /* fd */)))
sqlite3.Xsqlite3_free(tls, zFile)
if rc != 0 {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+56, ts+24005 /* "write failed: " */, sqlite3.Xsqlite3ErrName(tls, rc), 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+56, ts+24818 /* "write failed: " */, sqlite3.Xsqlite3ErrName(tls, rc), 0))
return TCL_ERROR
}
return TCL_OK
@@ -52745,8 +54524,8 @@ func testPendingByte(tls *libc.TLS, NotUsed uintptr, interp uintptr, argc int32,
var rc int32
if argc != 2 {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+14631 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
- ts+24020 /* " PENDING-BYTE\"" */, uintptr(0)))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15410 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
+ ts+24833 /* " PENDING-BYTE\"" */, uintptr(0)))
return TCL_ERROR
}
if tcl.XTcl_GetInt(tls, interp, *(*uintptr)(unsafe.Pointer(argv + 1*8)), bp+40 /* &pbyte */) != 0 {
@@ -52772,7 +54551,7 @@ func faultSimCallback(tls *libc.TLS, x int32) int32 { /* test2.c:583:12: */
var isNeg int32
var rc int32
if x == 0 {
- libc.Xmemcpy(tls, (faultSimScript + uintptr(faultSimScriptSize)), ts+13875 /* "0" */, uint64(2))
+ libc.Xmemcpy(tls, (faultSimScript + uintptr(faultSimScriptSize)), ts+14654 /* "0" */, uint64(2))
} else {
// Convert x to text without using any sqlite3 routines
if x < 0 {
@@ -52806,7 +54585,7 @@ func faultSimCallback(tls *libc.TLS, x int32) int32 { /* test2.c:583:12: */
}
rc = tcl.XTcl_Eval(tls, faultSimInterp, faultSimScript)
if rc != 0 {
- libc.Xfprintf(tls, libc.Xstderr, ts+24035 /* "fault simulator ..." */, libc.VaList(bp, faultSimScript))
+ libc.Xfprintf(tls, libc.Xstderr, ts+24848 /* "fault simulator ..." */, libc.VaList(bp, faultSimScript))
rc = SQLITE_ERROR
} else {
rc = libc.Xatoi(tls, tcl.XTcl_GetStringResult(tls, faultSimInterp))
@@ -52828,8 +54607,8 @@ func faultInstallCmd(tls *libc.TLS, NotUsed uintptr, interp uintptr, argc int32,
var nScript int32
var rc int32
if (argc != 1) && (argc != 2) {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+14631 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
- ts+24071 /* " SCRIPT\"" */, uintptr(0)))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15410 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
+ ts+24884 /* " SCRIPT\"" */, uintptr(0)))
}
if argc == 2 {
zScript = *(*uintptr)(unsafe.Pointer(argv + 1*8))
@@ -52875,8 +54654,8 @@ func testBitvecBuiltinTest(tls *libc.TLS, NotUsed uintptr, interp uintptr, argc
var z uintptr
if argc != 3 {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+14631 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
- ts+24080 /* " SIZE PROGRAM\"" */, uintptr(0)))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15410 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
+ ts+24893 /* " SIZE PROGRAM\"" */, uintptr(0)))
}
if tcl.XTcl_GetInt(tls, interp, *(*uintptr)(unsafe.Pointer(argv + 1*8)), bp+48 /* &sz */) != 0 {
return TCL_ERROR
@@ -52909,19 +54688,19 @@ func Sqlitetest2_Init(tls *libc.TLS, interp uintptr) int32 { /* test2.c:697:5: *
}{}))); i++ {
tcl.XTcl_CreateCommand(tls, interp, aCmd2[i].FzName, aCmd2[i].FxProc, uintptr(0), uintptr(0))
}
- tcl.XTcl_LinkVar(tls, interp, ts+24095, /* "sqlite_io_error_..." */
+ tcl.XTcl_LinkVar(tls, interp, ts+24908, /* "sqlite_io_error_..." */
uintptr(unsafe.Pointer(&sqlite3.Xsqlite3_io_error_pending)), TCL_LINK_INT)
- tcl.XTcl_LinkVar(tls, interp, ts+24119, /* "sqlite_io_error_..." */
+ tcl.XTcl_LinkVar(tls, interp, ts+24932, /* "sqlite_io_error_..." */
uintptr(unsafe.Pointer(&sqlite3.Xsqlite3_io_error_persist)), TCL_LINK_INT)
- tcl.XTcl_LinkVar(tls, interp, ts+24143, /* "sqlite_io_error_..." */
+ tcl.XTcl_LinkVar(tls, interp, ts+24956, /* "sqlite_io_error_..." */
uintptr(unsafe.Pointer(&sqlite3.Xsqlite3_io_error_hit)), TCL_LINK_INT)
- tcl.XTcl_LinkVar(tls, interp, ts+24163, /* "sqlite_io_error_..." */
+ tcl.XTcl_LinkVar(tls, interp, ts+24976, /* "sqlite_io_error_..." */
uintptr(unsafe.Pointer(&sqlite3.Xsqlite3_io_error_hardhit)), TCL_LINK_INT)
- tcl.XTcl_LinkVar(tls, interp, ts+24187, /* "sqlite_diskfull_..." */
+ tcl.XTcl_LinkVar(tls, interp, ts+25000, /* "sqlite_diskfull_..." */
uintptr(unsafe.Pointer(&sqlite3.Xsqlite3_diskfull_pending)), TCL_LINK_INT)
- tcl.XTcl_LinkVar(tls, interp, ts+24211, /* "sqlite_diskfull" */
+ tcl.XTcl_LinkVar(tls, interp, ts+25024, /* "sqlite_diskfull" */
uintptr(unsafe.Pointer(&sqlite3.Xsqlite3_diskfull)), TCL_LINK_INT)
- tcl.XTcl_LinkVar(tls, interp, ts+24227, /* "sqlite_pending_b..." */
+ tcl.XTcl_LinkVar(tls, interp, ts+25040, /* "sqlite_pending_b..." */
uintptr(unsafe.Pointer(&sqlite3.Xsqlite3PendingByte)), (TCL_LINK_INT | TCL_LINK_READ_ONLY))
return TCL_OK
}
@@ -52930,26 +54709,26 @@ var aCmd2 = [20]struct {
FzName uintptr
FxProc uintptr
}{
- {FzName: ts + 24247 /* "pager_open" */, FxProc: 0},
- {FzName: ts + 24258 /* "pager_close" */, FxProc: 0},
- {FzName: ts + 24270 /* "pager_commit" */, FxProc: 0},
- {FzName: ts + 24283 /* "pager_rollback" */, FxProc: 0},
- {FzName: ts + 24298 /* "pager_stmt_begin" */, FxProc: 0},
- {FzName: ts + 24315 /* "pager_stmt_commi..." */, FxProc: 0},
- {FzName: ts + 24333 /* "pager_stmt_rollb..." */, FxProc: 0},
- {FzName: ts + 24353 /* "pager_stats" */, FxProc: 0},
- {FzName: ts + 24365 /* "pager_pagecount" */, FxProc: 0},
- {FzName: ts + 24381 /* "page_get" */, FxProc: 0},
- {FzName: ts + 24390 /* "page_lookup" */, FxProc: 0},
- {FzName: ts + 24402 /* "page_unref" */, FxProc: 0},
- {FzName: ts + 24413 /* "page_read" */, FxProc: 0},
- {FzName: ts + 24423 /* "page_write" */, FxProc: 0},
- {FzName: ts + 24434 /* "page_number" */, FxProc: 0},
- {FzName: ts + 24446 /* "pager_truncate" */, FxProc: 0},
- {FzName: ts + 24461 /* "fake_big_file" */, FxProc: 0},
- {FzName: ts + 24475 /* "sqlite3BitvecBui..." */, FxProc: 0},
- {FzName: ts + 24500 /* "sqlite3_test_con..." */, FxProc: 0},
- {FzName: ts + 24534 /* "sqlite3_test_con..." */, FxProc: 0},
+ {FzName: ts + 25060 /* "pager_open" */, FxProc: 0},
+ {FzName: ts + 25071 /* "pager_close" */, FxProc: 0},
+ {FzName: ts + 25083 /* "pager_commit" */, FxProc: 0},
+ {FzName: ts + 25096 /* "pager_rollback" */, FxProc: 0},
+ {FzName: ts + 25111 /* "pager_stmt_begin" */, FxProc: 0},
+ {FzName: ts + 25128 /* "pager_stmt_commi..." */, FxProc: 0},
+ {FzName: ts + 25146 /* "pager_stmt_rollb..." */, FxProc: 0},
+ {FzName: ts + 25166 /* "pager_stats" */, FxProc: 0},
+ {FzName: ts + 25178 /* "pager_pagecount" */, FxProc: 0},
+ {FzName: ts + 25194 /* "page_get" */, FxProc: 0},
+ {FzName: ts + 25203 /* "page_lookup" */, FxProc: 0},
+ {FzName: ts + 25215 /* "page_unref" */, FxProc: 0},
+ {FzName: ts + 25226 /* "page_read" */, FxProc: 0},
+ {FzName: ts + 25236 /* "page_write" */, FxProc: 0},
+ {FzName: ts + 25247 /* "page_number" */, FxProc: 0},
+ {FzName: ts + 25259 /* "pager_truncate" */, FxProc: 0},
+ {FzName: ts + 25274 /* "fake_big_file" */, FxProc: 0},
+ {FzName: ts + 25288 /* "sqlite3BitvecBui..." */, FxProc: 0},
+ {FzName: ts + 25313 /* "sqlite3_test_con..." */, FxProc: 0},
+ {FzName: ts + 25347 /* "sqlite3_test_con..." */, FxProc: 0},
} /* test2.c:707:5 */
// 2001 September 15
@@ -53491,7 +55270,7 @@ type BtLock = BtLock1 /* btreeInt.h:233:23 */
type CellInfo1 = struct {
FnKey i64
FpPayload uintptr
- FnPayload u322
+ FnPayload u32
FnLocal u16
FnSize u16
} /* btree.h:39:9 */
@@ -53726,8 +55505,8 @@ func btree_open(tls *libc.TLS, NotUsed uintptr, interp uintptr, argc int32, argv
var n int32
var zFilename uintptr
if argc != 3 {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+14631 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
- ts+24569 /* " FILENAME NCACHE..." */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15410 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
+ ts+25382 /* " FILENAME NCACHE..." */, 0))
return TCL_ERROR
}
if tcl.XTcl_GetInt(tls, interp, *(*uintptr)(unsafe.Pointer(argv + 2*8)), bp+72 /* &nCache */) != 0 {
@@ -53754,7 +55533,7 @@ func btree_open(tls *libc.TLS, NotUsed uintptr, interp uintptr, argc int32, argv
return TCL_ERROR
}
sqlite3.Xsqlite3BtreeSetCacheSize(tls, *(*uintptr)(unsafe.Pointer(bp + 80 /* pBt */)), *(*int32)(unsafe.Pointer(bp + 72 /* nCache */)))
- sqlite3.Xsqlite3_snprintf(tls, int32(unsafe.Sizeof([100]int8{})), bp+88 /* &zBuf[0] */, ts+13023 /* "%p" */, libc.VaList(bp+48, *(*uintptr)(unsafe.Pointer(bp + 80 /* pBt */))))
+ sqlite3.Xsqlite3_snprintf(tls, int32(unsafe.Sizeof([100]int8{})), bp+88 /* &zBuf[0] */, ts+13802 /* "%p" */, libc.VaList(bp+48, *(*uintptr)(unsafe.Pointer(bp + 80 /* pBt */))))
tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+56, bp+88 /* &zBuf[0] */, 0))
return TCL_OK
}
@@ -53769,8 +55548,8 @@ func btree_close(tls *libc.TLS, NotUsed uintptr, interp uintptr, argc int32, arg
var pBt uintptr
var rc int32
if argc != 2 {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+14631 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
- ts+23897 /* " ID\"" */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15410 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
+ ts+24710 /* " ID\"" */, 0))
return TCL_ERROR
}
pBt = sqlite3TestTextToPtr(tls, *(*uintptr)(unsafe.Pointer(argv + 1*8)))
@@ -53799,8 +55578,8 @@ func btree_begin_transaction(tls *libc.TLS, NotUsed uintptr, interp uintptr, arg
var pBt uintptr
var rc int32
if argc != 2 {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+14631 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
- ts+23897 /* " ID\"" */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15410 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
+ ts+24710 /* " ID\"" */, 0))
return TCL_ERROR
}
pBt = sqlite3TestTextToPtr(tls, *(*uintptr)(unsafe.Pointer(argv + 1*8)))
@@ -53826,8 +55605,8 @@ func btree_pager_stats(tls *libc.TLS, NotUsed uintptr, interp uintptr, argc int3
var a uintptr
if argc != 2 {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+14631 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
- ts+23897 /* " ID\"" */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15410 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
+ ts+24710 /* " ID\"" */, 0))
return TCL_ERROR
}
pBt = sqlite3TestTextToPtr(tls, *(*uintptr)(unsafe.Pointer(argv + 1*8)))
@@ -53857,8 +55636,8 @@ func btree_pager_stats(tls *libc.TLS, NotUsed uintptr, interp uintptr, argc int3
}
var zName1 = [11]uintptr{
- ts + 23902 /* "ref" */, ts + 23906 /* "page" */, ts + 17904 /* "max" */, ts + 11493 /* "size" */, ts + 10195 /* "state" */, ts + 23911, /* "err" */
- ts + 23915 /* "hit" */, ts + 23919 /* "miss" */, ts + 23924 /* "ovfl" */, ts + 24593 /* "read" */, ts + 24598, /* "write" */
+ ts + 24715 /* "ref" */, ts + 24719 /* "page" */, ts + 18693 /* "max" */, ts + 12279 /* "size" */, ts + 10193 /* "state" */, ts + 24724, /* "err" */
+ ts + 24728 /* "hit" */, ts + 24732 /* "miss" */, ts + 24737 /* "ovfl" */, ts + 25406 /* "read" */, ts + 25411, /* "write" */
} /* test3.c:179:17 */
// Usage: btree_cursor ID TABLENUM WRITEABLE
@@ -53878,8 +55657,8 @@ func btree_cursor(tls *libc.TLS, NotUsed uintptr, interp uintptr, argc int32, ar
// var zBuf [30]int8 at bp+80, 30
if argc != 4 {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+14631 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
- ts+24604 /* " ID TABLENUM WRI..." */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15410 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
+ ts+25417 /* " ID TABLENUM WRI..." */, 0))
return TCL_ERROR
}
pBt = sqlite3TestTextToPtr(tls, *(*uintptr)(unsafe.Pointer(argv + 1*8)))
@@ -53907,7 +55686,7 @@ func btree_cursor(tls *libc.TLS, NotUsed uintptr, interp uintptr, argc int32, ar
tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+32, sqlite3.Xsqlite3ErrName(tls, rc), 0))
return TCL_ERROR
}
- sqlite3.Xsqlite3_snprintf(tls, int32(unsafe.Sizeof([30]int8{})), bp+80 /* &zBuf[0] */, ts+13023 /* "%p" */, libc.VaList(bp+48, pCur))
+ sqlite3.Xsqlite3_snprintf(tls, int32(unsafe.Sizeof([30]int8{})), bp+80 /* &zBuf[0] */, ts+13802 /* "%p" */, libc.VaList(bp+48, pCur))
tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+56, bp+80 /* &zBuf[0] */, 0))
return SQLITE_OK
}
@@ -53923,8 +55702,8 @@ func btree_close_cursor(tls *libc.TLS, NotUsed uintptr, interp uintptr, argc int
var rc int32
if argc != 2 {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+14631 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
- ts+23897 /* " ID\"" */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15410 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
+ ts+24710 /* " ID\"" */, 0))
return TCL_ERROR
}
pCur = sqlite3TestTextToPtr(tls, *(*uintptr)(unsafe.Pointer(argv + 1*8)))
@@ -53960,8 +55739,8 @@ func btree_next(tls *libc.TLS, NotUsed uintptr, interp uintptr, argc int32, argv
// var zBuf [100]int8 at bp+72, 100
if argc != 2 {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+14631 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
- ts+23897 /* " ID\"" */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15410 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
+ ts+24710 /* " ID\"" */, 0))
return TCL_ERROR
}
pCur = sqlite3TestTextToPtr(tls, *(*uintptr)(unsafe.Pointer(argv + 1*8)))
@@ -53995,8 +55774,8 @@ func btree_first(tls *libc.TLS, NotUsed uintptr, interp uintptr, argc int32, arg
// var zBuf [100]int8 at bp+76, 100
if argc != 2 {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+14631 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
- ts+23897 /* " ID\"" */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15410 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
+ ts+24710 /* " ID\"" */, 0))
return TCL_ERROR
}
pCur = sqlite3TestTextToPtr(tls, *(*uintptr)(unsafe.Pointer(argv + 1*8)))
@@ -54025,8 +55804,8 @@ func btree_eof(tls *libc.TLS, NotUsed uintptr, interp uintptr, argc int32, argv
// var zBuf [50]int8 at bp+56, 50
if argc != 2 {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+14631 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
- ts+23897 /* " ID\"" */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15410 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
+ ts+24710 /* " ID\"" */, 0))
return TCL_ERROR
}
pCur = sqlite3TestTextToPtr(tls, *(*uintptr)(unsafe.Pointer(argv + 1*8)))
@@ -54046,19 +55825,19 @@ func btree_payload_size(tls *libc.TLS, NotUsed uintptr, interp uintptr, argc int
defer tls.Free(106)
var pCur uintptr
- var n u322
+ var n u32
// var zBuf [50]int8 at bp+56, 50
if argc != 2 {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+14631 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
- ts+23897 /* " ID\"" */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15410 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
+ ts+24710 /* " ID\"" */, 0))
return TCL_ERROR
}
pCur = sqlite3TestTextToPtr(tls, *(*uintptr)(unsafe.Pointer(argv + 1*8)))
sqlite3.Xsqlite3BtreeEnter(tls, (*BtCursor)(unsafe.Pointer(pCur)).FpBtree)
n = sqlite3.Xsqlite3BtreePayloadSize(tls, pCur)
sqlite3.Xsqlite3BtreeLeave(tls, (*BtCursor)(unsafe.Pointer(pCur)).FpBtree)
- sqlite3.Xsqlite3_snprintf(tls, int32(unsafe.Sizeof([50]int8{})), bp+56 /* &zBuf[0] */, ts+17441 /* "%u" */, libc.VaList(bp+32, n))
+ sqlite3.Xsqlite3_snprintf(tls, int32(unsafe.Sizeof([50]int8{})), bp+56 /* &zBuf[0] */, ts+18230 /* "%u" */, libc.VaList(bp+32, n))
tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+40, bp+56 /* &zBuf[0] */, 0))
return SQLITE_OK
}
@@ -54079,13 +55858,13 @@ func btree_varint_test(tls *libc.TLS, NotUsed uintptr, interp uintptr, argc int3
bp := tls.Alloc(516)
defer tls.Free(516)
- // var start u322 at bp+184, 4
+ // var start u32 at bp+184, 4
- // var mult u322 at bp+188, 4
+ // var mult u32 at bp+188, 4
- // var count u322 at bp+192, 4
+ // var count u32 at bp+192, 4
- // var incr u322 at bp+196, 4
+ // var incr u32 at bp+196, 4
var in u64
// var out u64 at bp+504, 8
@@ -54097,8 +55876,8 @@ func btree_varint_test(tls *libc.TLS, NotUsed uintptr, interp uintptr, argc int3
// var zBuf [100]uint8 at bp+200, 100
if argc != 5 {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+14631 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
- ts+24628 /* " START MULTIPLIE..." */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15410 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
+ ts+25441 /* " START MULTIPLIE..." */, 0))
return TCL_ERROR
}
if tcl.XTcl_GetInt(tls, interp, *(*uintptr)(unsafe.Pointer(argv + 1*8)), bp+184 /* &start */) != 0 {
@@ -54113,54 +55892,54 @@ func btree_varint_test(tls *libc.TLS, NotUsed uintptr, interp uintptr, argc int3
if tcl.XTcl_GetInt(tls, interp, *(*uintptr)(unsafe.Pointer(argv + 4*8)), bp+196 /* &incr */) != 0 {
return TCL_ERROR
}
- in = u64(*(*u322)(unsafe.Pointer(bp + 184 /* start */)))
- in = in * (u64(*(*u322)(unsafe.Pointer(bp + 188 /* mult */))))
- for i = 0; i < int32(*(*u322)(unsafe.Pointer(bp + 192 /* count */))); i++ {
+ in = u64(*(*u32)(unsafe.Pointer(bp + 184 /* start */)))
+ in = in * (u64(*(*u32)(unsafe.Pointer(bp + 188 /* mult */))))
+ for i = 0; i < int32(*(*u32)(unsafe.Pointer(bp + 192 /* count */))); i++ {
// var zErr [200]int8 at bp+300, 200
n1 = sqlite3.Xsqlite3PutVarint(tls, bp+200 /* &zBuf[0] */, in)
if (n1 > 9) || (n1 < 1) {
sqlite3.Xsqlite3_snprintf(tls, int32(unsafe.Sizeof([200]int8{})), bp+300, /* &zErr[0] */
- ts+24663 /* "putVarint return..." */, libc.VaList(bp+32, n1))
+ ts+25476 /* "putVarint return..." */, libc.VaList(bp+32, n1))
tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+40, bp+300 /* &zErr[0] */, 0))
return TCL_ERROR
}
n2 = int32(sqlite3.Xsqlite3GetVarint(tls, bp+200 /* &zBuf[0] */, bp+504 /* &out */))
if n1 != n2 {
sqlite3.Xsqlite3_snprintf(tls, int32(unsafe.Sizeof([200]int8{})), bp+300, /* &zErr[0] */
- ts+24713 /* "putVarint return..." */, libc.VaList(bp+56, n1, n2))
+ ts+25526 /* "putVarint return..." */, libc.VaList(bp+56, n1, n2))
tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+72, bp+300 /* &zErr[0] */, 0))
return TCL_ERROR
}
if in != *(*u64)(unsafe.Pointer(bp + 504 /* out */)) {
sqlite3.Xsqlite3_snprintf(tls, int32(unsafe.Sizeof([200]int8{})), bp+300, /* &zErr[0] */
- ts+24761 /* "Wrote 0x%016llx ..." */, libc.VaList(bp+88, in, *(*u64)(unsafe.Pointer(bp + 504 /* out */))))
+ ts+25574 /* "Wrote 0x%016llx ..." */, libc.VaList(bp+88, in, *(*u64)(unsafe.Pointer(bp + 504 /* out */))))
tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+104, bp+300 /* &zErr[0] */, 0))
return TCL_ERROR
}
if (in & uint64(0xffffffff)) == in {
- // var out32 u322 at bp+512, 4
+ // var out32 u32 at bp+512, 4
n2 = int32(func() uint8 {
if int32(*(*uint8)(unsafe.Pointer(bp + 200 /* zBuf */))) < int32(u8(0x80)) {
return uint8(func() int32 {
- (*(*u322)(unsafe.Pointer(bp + 512 /* out32 */))) = u322(*(*uint8)(unsafe.Pointer(bp + 200 /* zBuf */)))
+ (*(*u32)(unsafe.Pointer(bp + 512 /* out32 */))) = u32(*(*uint8)(unsafe.Pointer(bp + 200 /* zBuf */)))
return 1
}())
}
return sqlite3.Xsqlite3GetVarint32(tls, bp+200 /* &zBuf[0] */, bp+512 /* &out32 */)
}())
- *(*u64)(unsafe.Pointer(bp + 504 /* out */)) = u64(*(*u322)(unsafe.Pointer(bp + 512 /* out32 */)))
+ *(*u64)(unsafe.Pointer(bp + 504 /* out */)) = u64(*(*u32)(unsafe.Pointer(bp + 512 /* out32 */)))
if n1 != n2 {
sqlite3.Xsqlite3_snprintf(tls, int32(unsafe.Sizeof([200]int8{})), bp+300, /* &zErr[0] */
- ts+24800, /* "putVarint return..." */
+ ts+25613, /* "putVarint return..." */
libc.VaList(bp+120, n1, n2))
tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+136, bp+300 /* &zErr[0] */, 0))
return TCL_ERROR
}
if in != *(*u64)(unsafe.Pointer(bp + 504 /* out */)) {
sqlite3.Xsqlite3_snprintf(tls, int32(unsafe.Sizeof([200]int8{})), bp+300, /* &zErr[0] */
- ts+24850, /* "Wrote 0x%016llx ..." */
+ ts+25663, /* "Wrote 0x%016llx ..." */
libc.VaList(bp+152, in, *(*u64)(unsafe.Pointer(bp + 504 /* out */))))
tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+168, bp+300 /* &zErr[0] */, 0))
return TCL_ERROR
@@ -54173,7 +55952,7 @@ func btree_varint_test(tls *libc.TLS, NotUsed uintptr, interp uintptr, argc int3
for j = 0; j < 19; j++ {
sqlite3.Xsqlite3GetVarint(tls, bp+200 /* &zBuf[0] */, bp+504 /* &out */)
}
- in = in + (u64(*(*u322)(unsafe.Pointer(bp + 196 /* incr */))))
+ in = in + (u64(*(*u32)(unsafe.Pointer(bp + 196 /* incr */))))
}
return TCL_OK
}
@@ -54198,13 +55977,13 @@ func btree_from_db(tls *libc.TLS, NotUsed uintptr, interp uintptr, argc int32, a
var iDb int32 = 0
if (argc != 2) && (argc != 3) {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+14631 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
- ts+24906 /* " DB-HANDLE ?N?\"" */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15410 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
+ ts+25719 /* " DB-HANDLE ?N?\"" */, 0))
return TCL_ERROR
}
if 1 != tcl.XTcl_GetCommandInfo(tls, interp, *(*uintptr)(unsafe.Pointer(argv + 1*8)), bp+72 /* &info */) {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+32, ts+24922 /* "No such db-handl..." */, *(*uintptr)(unsafe.Pointer(argv + 1*8)), ts+11636 /* "\"" */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+32, ts+25735 /* "No such db-handl..." */, *(*uintptr)(unsafe.Pointer(argv + 1*8)), ts+12415 /* "\"" */, 0))
return TCL_ERROR
}
if argc == 3 {
@@ -54214,7 +55993,7 @@ func btree_from_db(tls *libc.TLS, NotUsed uintptr, interp uintptr, argc int32, a
db = *(*uintptr)(unsafe.Pointer((*Tcl_CmdInfo)(unsafe.Pointer(bp + 72 /* &info */)).FobjClientData))
pBt = (*Db)(unsafe.Pointer((*sqlite31)(unsafe.Pointer(db)).FaDb + uintptr(iDb)*32)).FpBt
- sqlite3.Xsqlite3_snprintf(tls, int32(unsafe.Sizeof([100]int8{})), bp+136 /* &zBuf[0] */, ts+13023 /* "%p" */, libc.VaList(bp+64, pBt))
+ sqlite3.Xsqlite3_snprintf(tls, int32(unsafe.Sizeof([100]int8{})), bp+136 /* &zBuf[0] */, ts+13802 /* "%p" */, libc.VaList(bp+64, pBt))
tcl.XTcl_SetResult(tls, interp, bp+136 /* &zBuf[0] */, uintptr(1))
return TCL_OK
}
@@ -54231,8 +56010,8 @@ func btree_ismemdb(tls *libc.TLS, NotUsed uintptr, interp uintptr, argc int32, a
var pFile uintptr
if argc != 2 {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+14631 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
- ts+23897 /* " ID\"" */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15410 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
+ ts+24710 /* " ID\"" */, 0))
return TCL_ERROR
}
pBt = sqlite3TestTextToPtr(tls, *(*uintptr)(unsafe.Pointer(argv + 1*8)))
@@ -54259,7 +56038,7 @@ func btree_set_cache_size(tls *libc.TLS, NotUsed uintptr, interp uintptr, argc i
if argc != 3 {
tcl.XTcl_AppendResult(tls,
- interp, libc.VaList(bp, ts+14631 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)), ts+24943 /* " BT NCACHE\"" */, 0))
+ interp, libc.VaList(bp, ts+15410 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)), ts+25756 /* " BT NCACHE\"" */, 0))
return TCL_ERROR
}
pBt = sqlite3TestTextToPtr(tls, *(*uintptr)(unsafe.Pointer(argv + 1*8)))
@@ -54288,7 +56067,7 @@ func btree_insert(tls *libc.TLS, clientData ClientData, interp uintptr, objc int
// var x BtreePayload at bp+16, 48
if (objc != 4) && (objc != 3) {
- tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+24955 /* "?-intkey? CSR KE..." */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+25768 /* "?-intkey? CSR KE..." */)
return TCL_ERROR
}
@@ -54330,7 +56109,7 @@ func Sqlitetest3_Init(tls *libc.TLS, interp uintptr) int32 { /* test3.c:661:5: *
tcl.XTcl_CreateCommand(tls, interp, aCmd3[i].FzName, aCmd3[i].FxProc, uintptr(0), uintptr(0))
}
- tcl.XTcl_CreateObjCommand(tls, interp, ts+24979 /* "btree_insert" */, *(*uintptr)(unsafe.Pointer(&struct {
+ tcl.XTcl_CreateObjCommand(tls, interp, ts+25792 /* "btree_insert" */, *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, ClientData, uintptr, int32, uintptr) int32
}{btree_insert})), uintptr(0), uintptr(0))
@@ -54341,20 +56120,20 @@ var aCmd3 = [14]struct {
FzName uintptr
FxProc uintptr
}{
- {FzName: ts + 24992 /* "btree_open" */, FxProc: 0},
- {FzName: ts + 25003 /* "btree_close" */, FxProc: 0},
- {FzName: ts + 25015 /* "btree_begin_tran..." */, FxProc: 0},
- {FzName: ts + 25039 /* "btree_pager_stat..." */, FxProc: 0},
- {FzName: ts + 25057 /* "btree_cursor" */, FxProc: 0},
- {FzName: ts + 25070 /* "btree_close_curs..." */, FxProc: 0},
- {FzName: ts + 25089 /* "btree_next" */, FxProc: 0},
- {FzName: ts + 25100 /* "btree_eof" */, FxProc: 0},
- {FzName: ts + 25110 /* "btree_payload_si..." */, FxProc: 0},
- {FzName: ts + 25129 /* "btree_first" */, FxProc: 0},
- {FzName: ts + 25141 /* "btree_varint_tes..." */, FxProc: 0},
- {FzName: ts + 25159 /* "btree_from_db" */, FxProc: 0},
- {FzName: ts + 25173 /* "btree_ismemdb" */, FxProc: 0},
- {FzName: ts + 25187 /* "btree_set_cache_..." */, FxProc: 0},
+ {FzName: ts + 25805 /* "btree_open" */, FxProc: 0},
+ {FzName: ts + 25816 /* "btree_close" */, FxProc: 0},
+ {FzName: ts + 25828 /* "btree_begin_tran..." */, FxProc: 0},
+ {FzName: ts + 25852 /* "btree_pager_stat..." */, FxProc: 0},
+ {FzName: ts + 25870 /* "btree_cursor" */, FxProc: 0},
+ {FzName: ts + 25883 /* "btree_close_curs..." */, FxProc: 0},
+ {FzName: ts + 25902 /* "btree_next" */, FxProc: 0},
+ {FzName: ts + 25913 /* "btree_eof" */, FxProc: 0},
+ {FzName: ts + 25923 /* "btree_payload_si..." */, FxProc: 0},
+ {FzName: ts + 25942 /* "btree_first" */, FxProc: 0},
+ {FzName: ts + 25954 /* "btree_varint_tes..." */, FxProc: 0},
+ {FzName: ts + 25972 /* "btree_from_db" */, FxProc: 0},
+ {FzName: ts + 25986 /* "btree_ismemdb" */, FxProc: 0},
+ {FzName: ts + 26000 /* "btree_set_cache_..." */, FxProc: 0},
} /* test3.c:665:5 */
// end block for C++
@@ -54364,7 +56143,7 @@ var aCmd3 = [14]struct {
// c-basic-offset: 4
// fill-column: 78
// End:
-// Copyright (C) 1991-2018 Free Software Foundation, Inc.
+// Copyright (C) 1991-2020 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
@@ -54379,11 +56158,11 @@ var aCmd3 = [14]struct {
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// ISO C99 Standard: 7.20 General utilities
-// Copyright (C) 1991-2018 Free Software Foundation, Inc.
+// Copyright (C) 1991-2020 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
@@ -54398,11 +56177,11 @@ var aCmd3 = [14]struct {
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// ISO C99 Standard: 7.21 String handling
-// Copyright (C) 2002-2018 Free Software Foundation, Inc.
+// Copyright (C) 2002-2020 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
@@ -54417,9 +56196,9 @@ var aCmd3 = [14]struct {
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
-// Copyright (C) 1991-2018 Free Software Foundation, Inc.
+// Copyright (C) 1991-2020 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
@@ -54434,27 +56213,10 @@ var aCmd3 = [14]struct {
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
-
-// Copyright (C) 1992-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
-// .
+// .
// Definitions for POSIX 1003.1b-1993 (aka POSIX.4) scheduling interface.
-// Copyright (C) 1996-2018 Free Software Foundation, Inc.
+// Copyright (C) 1996-2020 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
@@ -54469,9 +56231,9 @@ var aCmd3 = [14]struct {
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
-// Copyright (C) 1991-2018 Free Software Foundation, Inc.
+// Copyright (C) 1991-2020 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
@@ -54486,11 +56248,11 @@ var aCmd3 = [14]struct {
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// Get type definitions.
// bits/types.h -- definitions of __*_t types underlying *_t types.
-// Copyright (C) 2002-2018 Free Software Foundation, Inc.
+// Copyright (C) 2002-2020 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
@@ -54505,11 +56267,11 @@ var aCmd3 = [14]struct {
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// Never include this file directly; use instead.
-// Copyright (C) 1989-2018 Free Software Foundation, Inc.
+// Copyright (C) 1989-2017 Free Software Foundation, Inc.
//
// This file is part of GCC.
//
@@ -54600,7 +56362,7 @@ var aCmd3 = [14]struct {
// Get system specific constant and data structure definitions.
// Definitions of constants and data structure for POSIX 1003.1b-1993
// scheduling interface.
-// Copyright (C) 1996-2018 Free Software Foundation, Inc.
+// Copyright (C) 1996-2020 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
@@ -54615,14 +56377,14 @@ var aCmd3 = [14]struct {
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// Scheduling algorithms.
// Cloning flags.
// Sched parameter structure. Generic version.
-// Copyright (C) 1996-2018 Free Software Foundation, Inc.
+// Copyright (C) 1996-2020 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
@@ -54637,7 +56399,7 @@ var aCmd3 = [14]struct {
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// Data structure to describe a process' schedulability.
type sched_param = struct{ Fsched_priority int32 } /* struct_sched_param.h:23:1 */
@@ -54647,7 +56409,7 @@ type sched_param = struct{ Fsched_priority int32 } /* struct_sched_param.h:23:1
// Data structure to describe CPU mask.
type cpu_set_t = struct{ F__bits [16]uint64 } /* cpu-set.h:42:3 */
-// Copyright (C) 1991-2018 Free Software Foundation, Inc.
+// Copyright (C) 1991-2020 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
@@ -54662,11 +56424,11 @@ type cpu_set_t = struct{ F__bits [16]uint64 } /* cpu-set.h:42:3 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// ISO C99 Standard: 7.23 Date and time
-// Copyright (C) 1991-2018 Free Software Foundation, Inc.
+// Copyright (C) 1991-2020 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
@@ -54681,9 +56443,9 @@ type cpu_set_t = struct{ F__bits [16]uint64 } /* cpu-set.h:42:3 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
-// Copyright (C) 1989-2018 Free Software Foundation, Inc.
+// Copyright (C) 1989-2017 Free Software Foundation, Inc.
//
// This file is part of GCC.
//
@@ -54772,7 +56534,7 @@ type cpu_set_t = struct{ F__bits [16]uint64 } /* cpu-set.h:42:3 */
// This defines CLOCKS_PER_SEC, which is the number of processor clock
// ticks per second, and possibly a number of other constants.
// System-dependent timing definitions. Linux version.
-// Copyright (C) 1996-2018 Free Software Foundation, Inc.
+// Copyright (C) 1996-2020 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
@@ -54787,12 +56549,12 @@ type cpu_set_t = struct{ F__bits [16]uint64 } /* cpu-set.h:42:3 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// Never include this file directly; use instead.
// bits/types.h -- definitions of __*_t types underlying *_t types.
-// Copyright (C) 2002-2018 Free Software Foundation, Inc.
+// Copyright (C) 2002-2020 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
@@ -54807,7 +56569,7 @@ type cpu_set_t = struct{ F__bits [16]uint64 } /* cpu-set.h:42:3 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// Never include this file directly; use instead.
@@ -54832,7 +56594,7 @@ type cpu_set_t = struct{ F__bits [16]uint64 } /* cpu-set.h:42:3 */
// Flag to indicate time is absolute.
-// Copyright (C) 1995-2018 Free Software Foundation, Inc.
+// Copyright (C) 1995-2020 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
@@ -54847,10 +56609,10 @@ type cpu_set_t = struct{ F__bits [16]uint64 } /* cpu-set.h:42:3 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// bits/types.h -- definitions of __*_t types underlying *_t types.
-// Copyright (C) 2002-2018 Free Software Foundation, Inc.
+// Copyright (C) 2002-2020 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
@@ -54865,7 +56627,7 @@ type cpu_set_t = struct{ F__bits [16]uint64 } /* cpu-set.h:42:3 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// Never include this file directly; use instead.
@@ -54911,8 +56673,8 @@ type timex = struct {
__204 uint32 /* int : 32 */
} /* timex.h:26:1 */
-// Declaration of common pthread types for all architectures.
-// Copyright (C) 2017-2018 Free Software Foundation, Inc.
+// Endian macros for string.h functions
+// Copyright (C) 1992-2020 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
@@ -54929,7 +56691,8 @@ type timex = struct {
// License along with the GNU C Library; if not, see
// .
-// Copyright (C) 2000-2018 Free Software Foundation, Inc.
+// Declaration of common pthread types for all architectures.
+// Copyright (C) 2017-2020 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
@@ -54944,7 +56707,24 @@ type timex = struct {
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
+
+// Copyright (C) 2000-2020 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
+// .
// Define the machine-dependent type `jmp_buf'. IBM s390 version.
@@ -54964,7 +56744,7 @@ type _pthread_cleanup_buffer = struct {
F__canceltype int32
_ [4]byte
F__prev uintptr
-} /* pthread.h:191:1 */
+} /* pthread.h:155:1 */
// No special attributes by default.
@@ -54974,7 +56754,7 @@ type __pthread_cleanup_frame = struct {
F__cancel_arg uintptr
F__do_it int32
F__cancel_type int32
-} /* pthread.h:541:1 */
+} /* pthread.h:516:1 */
// Each thread is controlled by an instance of the following
// structure.
@@ -55053,7 +56833,7 @@ func parse_thread_id(tls *libc.TLS, interp uintptr, zArg uintptr) int32 { /* tes
defer tls.Free(16)
if (((zArg == uintptr(0)) || (int32(*(*int8)(unsafe.Pointer(zArg))) == 0)) || (int32(*(*int8)(unsafe.Pointer(zArg + 1))) != 0)) || !((int32(*(*uint16)(unsafe.Pointer((*(*uintptr)(unsafe.Pointer(libc.X__ctype_b_loc(tls)))) + uintptr(int32(uint8(*(*int8)(unsafe.Pointer(zArg)))))*2))) & int32(_ISupper)) != 0) {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+25208 /* "thread ID must b..." */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+26021 /* "thread ID must b..." */, 0))
return -1
}
return (int32(*(*int8)(unsafe.Pointer(zArg))) - 'A')
@@ -55073,8 +56853,8 @@ func tcl_thread_create(tls *libc.TLS, NotUsed uintptr, interp uintptr, argc int3
var rc int32
if argc != 3 {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+14631 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
- ts+25247 /* " ID FILENAME" */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15410 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
+ ts+26060 /* " ID FILENAME" */, 0))
return TCL_ERROR
}
i = parse_thread_id(tls, interp, *(*uintptr)(unsafe.Pointer(argv + 1*8)))
@@ -55082,7 +56862,7 @@ func tcl_thread_create(tls *libc.TLS, NotUsed uintptr, interp uintptr, argc int3
return TCL_ERROR
}
if threadset[i].Fbusy != 0 {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+32, ts+25260 /* "thread " */, *(*uintptr)(unsafe.Pointer(argv + 1*8)), ts+25268 /* " is already runn..." */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+32, ts+26073 /* "thread " */, *(*uintptr)(unsafe.Pointer(argv + 1*8)), ts+26081 /* " is already runn..." */, 0))
return TCL_ERROR
}
threadset[i].Fbusy = 1
@@ -55094,7 +56874,7 @@ func tcl_thread_create(tls *libc.TLS, NotUsed uintptr, interp uintptr, argc int3
f func(*libc.TLS, uintptr) uintptr
}{test_thread_main})), (uintptr(unsafe.Pointer(&threadset)) + uintptr(i)*1680))
if rc != 0 {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+72, ts+25288 /* "failed to create..." */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+72, ts+26101 /* "failed to create..." */, 0))
sqlite3.Xsqlite3_free(tls, threadset[i].FzFilename)
threadset[i].Fbusy = 0
return TCL_ERROR
@@ -55120,8 +56900,8 @@ func tcl_thread_wait(tls *libc.TLS, NotUsed uintptr, interp uintptr, argc int32,
var i int32
if argc != 2 {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+14631 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
- ts+25316 /* " ID" */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15410 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
+ ts+26129 /* " ID" */, 0))
return TCL_ERROR
}
i = parse_thread_id(tls, interp, *(*uintptr)(unsafe.Pointer(argv + 1*8)))
@@ -55129,7 +56909,7 @@ func tcl_thread_wait(tls *libc.TLS, NotUsed uintptr, interp uintptr, argc int32,
return TCL_ERROR
}
if !(threadset[i].Fbusy != 0) {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+32, ts+25320 /* "no such thread" */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+32, ts+26133 /* "no such thread" */, 0))
return TCL_ERROR
}
test_thread_wait(tls, (uintptr(unsafe.Pointer(&threadset)) + uintptr(i)*1680))
@@ -55160,8 +56940,8 @@ func tcl_thread_halt(tls *libc.TLS, NotUsed uintptr, interp uintptr, argc int32,
var i int32
if argc != 2 {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+14631 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
- ts+25316 /* " ID" */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15410 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
+ ts+26129 /* " ID" */, 0))
return TCL_ERROR
}
if (int32(*(*int8)(unsafe.Pointer(*(*uintptr)(unsafe.Pointer(argv + 1*8))))) == '*') && (int32(*(*int8)(unsafe.Pointer(*(*uintptr)(unsafe.Pointer(argv + 1*8)) + 1))) == 0) {
@@ -55176,7 +56956,7 @@ func tcl_thread_halt(tls *libc.TLS, NotUsed uintptr, interp uintptr, argc int32,
return TCL_ERROR
}
if !(threadset[i].Fbusy != 0) {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+32, ts+25320 /* "no such thread" */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+32, ts+26133 /* "no such thread" */, 0))
return TCL_ERROR
}
test_stop_thread(tls, (uintptr(unsafe.Pointer(&threadset)) + uintptr(i)*1680))
@@ -55196,8 +56976,8 @@ func tcl_thread_argc(tls *libc.TLS, NotUsed uintptr, interp uintptr, argc int32,
// var zBuf [100]int8 at bp+72, 100
if argc != 2 {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+14631 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
- ts+25316 /* " ID" */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15410 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
+ ts+26129 /* " ID" */, 0))
return TCL_ERROR
}
i = parse_thread_id(tls, interp, *(*uintptr)(unsafe.Pointer(argv + 1*8)))
@@ -55205,7 +56985,7 @@ func tcl_thread_argc(tls *libc.TLS, NotUsed uintptr, interp uintptr, argc int32,
return TCL_ERROR
}
if !(threadset[i].Fbusy != 0) {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+32, ts+25320 /* "no such thread" */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+32, ts+26133 /* "no such thread" */, 0))
return TCL_ERROR
}
test_thread_wait(tls, (uintptr(unsafe.Pointer(&threadset)) + uintptr(i)*1680))
@@ -55226,8 +57006,8 @@ func tcl_thread_argv(tls *libc.TLS, NotUsed uintptr, interp uintptr, argc int32,
// var n int32 at bp+80, 4
if argc != 3 {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+14631 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
- ts+25335 /* " ID N" */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15410 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
+ ts+26148 /* " ID N" */, 0))
return TCL_ERROR
}
i = parse_thread_id(tls, interp, *(*uintptr)(unsafe.Pointer(argv + 1*8)))
@@ -55235,7 +57015,7 @@ func tcl_thread_argv(tls *libc.TLS, NotUsed uintptr, interp uintptr, argc int32,
return TCL_ERROR
}
if !(threadset[i].Fbusy != 0) {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+32, ts+25320 /* "no such thread" */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+32, ts+26133 /* "no such thread" */, 0))
return TCL_ERROR
}
if tcl.XTcl_GetInt(tls, interp, *(*uintptr)(unsafe.Pointer(argv + 2*8)), bp+80 /* &n */) != 0 {
@@ -55243,7 +57023,7 @@ func tcl_thread_argv(tls *libc.TLS, NotUsed uintptr, interp uintptr, argc int32,
}
test_thread_wait(tls, (uintptr(unsafe.Pointer(&threadset)) + uintptr(i)*1680))
if (*(*int32)(unsafe.Pointer(bp + 80 /* n */)) < 0) || (*(*int32)(unsafe.Pointer(bp + 80 /* n */)) >= threadset[i].Fargc) {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+48, ts+25341 /* "column number ou..." */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+48, ts+26154 /* "column number ou..." */, 0))
return TCL_ERROR
}
tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+64, *(*uintptr)(unsafe.Pointer((uintptr(unsafe.Pointer(&threadset)) + uintptr(i)*1680 + 80 /* &.argv */) + uintptr(*(*int32)(unsafe.Pointer(bp + 80 /* n */)))*8)), 0))
@@ -55262,8 +57042,8 @@ func tcl_thread_colname(tls *libc.TLS, NotUsed uintptr, interp uintptr, argc int
// var n int32 at bp+80, 4
if argc != 3 {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+14631 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
- ts+25335 /* " ID N" */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15410 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
+ ts+26148 /* " ID N" */, 0))
return TCL_ERROR
}
i = parse_thread_id(tls, interp, *(*uintptr)(unsafe.Pointer(argv + 1*8)))
@@ -55271,7 +57051,7 @@ func tcl_thread_colname(tls *libc.TLS, NotUsed uintptr, interp uintptr, argc int
return TCL_ERROR
}
if !(threadset[i].Fbusy != 0) {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+32, ts+25320 /* "no such thread" */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+32, ts+26133 /* "no such thread" */, 0))
return TCL_ERROR
}
if tcl.XTcl_GetInt(tls, interp, *(*uintptr)(unsafe.Pointer(argv + 2*8)), bp+80 /* &n */) != 0 {
@@ -55279,7 +57059,7 @@ func tcl_thread_colname(tls *libc.TLS, NotUsed uintptr, interp uintptr, argc int
}
test_thread_wait(tls, (uintptr(unsafe.Pointer(&threadset)) + uintptr(i)*1680))
if (*(*int32)(unsafe.Pointer(bp + 80 /* n */)) < 0) || (*(*int32)(unsafe.Pointer(bp + 80 /* n */)) >= threadset[i].Fargc) {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+48, ts+25341 /* "column number ou..." */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+48, ts+26154 /* "column number ou..." */, 0))
return TCL_ERROR
}
tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+64, *(*uintptr)(unsafe.Pointer((uintptr(unsafe.Pointer(&threadset)) + uintptr(i)*1680 + 880 /* &.colv */) + uintptr(*(*int32)(unsafe.Pointer(bp + 80 /* n */)))*8)), 0))
@@ -55298,8 +57078,8 @@ func tcl_thread_result(tls *libc.TLS, NotUsed uintptr, interp uintptr, argc int3
var zName uintptr
if argc != 2 {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+14631 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
- ts+25316 /* " ID" */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15410 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
+ ts+26129 /* " ID" */, 0))
return TCL_ERROR
}
i = parse_thread_id(tls, interp, *(*uintptr)(unsafe.Pointer(argv + 1*8)))
@@ -55307,7 +57087,7 @@ func tcl_thread_result(tls *libc.TLS, NotUsed uintptr, interp uintptr, argc int3
return TCL_ERROR
}
if !(threadset[i].Fbusy != 0) {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+32, ts+25320 /* "no such thread" */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+32, ts+26133 /* "no such thread" */, 0))
return TCL_ERROR
}
test_thread_wait(tls, (uintptr(unsafe.Pointer(&threadset)) + uintptr(i)*1680))
@@ -55327,8 +57107,8 @@ func tcl_thread_error(tls *libc.TLS, NotUsed uintptr, interp uintptr, argc int32
var i int32
if argc != 2 {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+14631 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
- ts+25316 /* " ID" */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15410 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
+ ts+26129 /* " ID" */, 0))
return TCL_ERROR
}
i = parse_thread_id(tls, interp, *(*uintptr)(unsafe.Pointer(argv + 1*8)))
@@ -55336,7 +57116,7 @@ func tcl_thread_error(tls *libc.TLS, NotUsed uintptr, interp uintptr, argc int32
return TCL_ERROR
}
if !(threadset[i].Fbusy != 0) {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+32, ts+25320 /* "no such thread" */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+32, ts+26133 /* "no such thread" */, 0))
return TCL_ERROR
}
test_thread_wait(tls, (uintptr(unsafe.Pointer(&threadset)) + uintptr(i)*1680))
@@ -55347,7 +57127,7 @@ func tcl_thread_error(tls *libc.TLS, NotUsed uintptr, interp uintptr, argc int32
// This procedure runs in the thread to compile an SQL statement.
func do_compile(tls *libc.TLS, p uintptr) { /* test4.c:419:13: */
if (*Thread)(unsafe.Pointer(p)).Fdb == uintptr(0) {
- (*Thread)(unsafe.Pointer(p)).FzErr = libc.AssignPtrUintptr(p+64 /* &.zStaticErr */, ts+25368 /* "no database is o..." */)
+ (*Thread)(unsafe.Pointer(p)).FzErr = libc.AssignPtrUintptr(p+64 /* &.zStaticErr */, ts+26181 /* "no database is o..." */)
(*Thread)(unsafe.Pointer(p)).Frc = SQLITE_ERROR
return
}
@@ -55367,8 +57147,8 @@ func tcl_thread_compile(tls *libc.TLS, NotUsed uintptr, interp uintptr, argc int
var i int32
if argc != 3 {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+14631 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
- ts+25388 /* " ID SQL" */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15410 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
+ ts+26201 /* " ID SQL" */, 0))
return TCL_ERROR
}
i = parse_thread_id(tls, interp, *(*uintptr)(unsafe.Pointer(argv + 1*8)))
@@ -55376,7 +57156,7 @@ func tcl_thread_compile(tls *libc.TLS, NotUsed uintptr, interp uintptr, argc int
return TCL_ERROR
}
if !(threadset[i].Fbusy != 0) {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+32, ts+25320 /* "no such thread" */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+32, ts+26133 /* "no such thread" */, 0))
return TCL_ERROR
}
test_thread_wait(tls, (uintptr(unsafe.Pointer(&threadset)) + uintptr(i)*1680))
@@ -55391,7 +57171,7 @@ func tcl_thread_compile(tls *libc.TLS, NotUsed uintptr, interp uintptr, argc int
func do_step(tls *libc.TLS, p uintptr) { /* test4.c:466:13: */
var i int32
if (*Thread)(unsafe.Pointer(p)).FpStmt == uintptr(0) {
- (*Thread)(unsafe.Pointer(p)).FzErr = libc.AssignPtrUintptr(p+64 /* &.zStaticErr */, ts+25396 /* "no virtual machi..." */)
+ (*Thread)(unsafe.Pointer(p)).FzErr = libc.AssignPtrUintptr(p+64 /* &.zStaticErr */, ts+26209 /* "no virtual machi..." */)
(*Thread)(unsafe.Pointer(p)).Frc = SQLITE_ERROR
return
}
@@ -55416,8 +57196,8 @@ func tcl_thread_step(tls *libc.TLS, NotUsed uintptr, interp uintptr, argc int32,
var i int32
if argc != 2 {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+14631 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
- ts+25425 /* " IDL" */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15410 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
+ ts+26238 /* " IDL" */, 0))
return TCL_ERROR
}
i = parse_thread_id(tls, interp, *(*uintptr)(unsafe.Pointer(argv + 1*8)))
@@ -55425,7 +57205,7 @@ func tcl_thread_step(tls *libc.TLS, NotUsed uintptr, interp uintptr, argc int32,
return TCL_ERROR
}
if !(threadset[i].Fbusy != 0) {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+32, ts+25320 /* "no such thread" */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+32, ts+26133 /* "no such thread" */, 0))
return TCL_ERROR
}
test_thread_wait(tls, (uintptr(unsafe.Pointer(&threadset)) + uintptr(i)*1680))
@@ -55437,7 +57217,7 @@ func tcl_thread_step(tls *libc.TLS, NotUsed uintptr, interp uintptr, argc int32,
// This procedure runs in the thread to finalize a virtual machine.
func do_finalize(tls *libc.TLS, p uintptr) { /* test4.c:517:13: */
if (*Thread)(unsafe.Pointer(p)).FpStmt == uintptr(0) {
- (*Thread)(unsafe.Pointer(p)).FzErr = libc.AssignPtrUintptr(p+64 /* &.zStaticErr */, ts+25396 /* "no virtual machi..." */)
+ (*Thread)(unsafe.Pointer(p)).FzErr = libc.AssignPtrUintptr(p+64 /* &.zStaticErr */, ts+26209 /* "no virtual machi..." */)
(*Thread)(unsafe.Pointer(p)).Frc = SQLITE_ERROR
return
}
@@ -55454,8 +57234,8 @@ func tcl_thread_finalize(tls *libc.TLS, NotUsed uintptr, interp uintptr, argc in
var i int32
if argc != 2 {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+14631 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
- ts+25425 /* " IDL" */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15410 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
+ ts+26238 /* " IDL" */, 0))
return TCL_ERROR
}
i = parse_thread_id(tls, interp, *(*uintptr)(unsafe.Pointer(argv + 1*8)))
@@ -55463,7 +57243,7 @@ func tcl_thread_finalize(tls *libc.TLS, NotUsed uintptr, interp uintptr, argc in
return TCL_ERROR
}
if !(threadset[i].Fbusy != 0) {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+32, ts+25320 /* "no such thread" */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+32, ts+26133 /* "no such thread" */, 0))
return TCL_ERROR
}
test_thread_wait(tls, (uintptr(unsafe.Pointer(&threadset)) + uintptr(i)*1680))
@@ -55485,8 +57265,8 @@ func tcl_thread_swap(tls *libc.TLS, NotUsed uintptr, interp uintptr, argc int32,
var j int32
var temp uintptr
if argc != 3 {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+14631 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
- ts+25430 /* " ID1 ID2" */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15410 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
+ ts+26243 /* " ID1 ID2" */, 0))
return TCL_ERROR
}
i = parse_thread_id(tls, interp, *(*uintptr)(unsafe.Pointer(argv + 1*8)))
@@ -55494,7 +57274,7 @@ func tcl_thread_swap(tls *libc.TLS, NotUsed uintptr, interp uintptr, argc int32,
return TCL_ERROR
}
if !(threadset[i].Fbusy != 0) {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+32, ts+25320 /* "no such thread" */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+32, ts+26133 /* "no such thread" */, 0))
return TCL_ERROR
}
test_thread_wait(tls, (uintptr(unsafe.Pointer(&threadset)) + uintptr(i)*1680))
@@ -55503,7 +57283,7 @@ func tcl_thread_swap(tls *libc.TLS, NotUsed uintptr, interp uintptr, argc int32,
return TCL_ERROR
}
if !(threadset[j].Fbusy != 0) {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+48, ts+25320 /* "no such thread" */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+48, ts+26133 /* "no such thread" */, 0))
return TCL_ERROR
}
test_thread_wait(tls, (uintptr(unsafe.Pointer(&threadset)) + uintptr(j)*1680))
@@ -55526,8 +57306,8 @@ func tcl_thread_db_get(tls *libc.TLS, NotUsed uintptr, interp uintptr, argc int3
// var zBuf [100]int8 at bp+64, 100
if argc != 2 {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+14631 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
- ts+25316 /* " ID" */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15410 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
+ ts+26129 /* " ID" */, 0))
return TCL_ERROR
}
i = parse_thread_id(tls, interp, *(*uintptr)(unsafe.Pointer(argv + 1*8)))
@@ -55535,7 +57315,7 @@ func tcl_thread_db_get(tls *libc.TLS, NotUsed uintptr, interp uintptr, argc int3
return TCL_ERROR
}
if !(threadset[i].Fbusy != 0) {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+32, ts+25320 /* "no such thread" */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+32, ts+26133 /* "no such thread" */, 0))
return TCL_ERROR
}
test_thread_wait(tls, (uintptr(unsafe.Pointer(&threadset)) + uintptr(i)*1680))
@@ -55553,8 +57333,8 @@ func tcl_thread_db_put(tls *libc.TLS, NotUsed uintptr, interp uintptr, argc int3
var i int32
if argc != 3 {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+14631 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
- ts+25439 /* " ID DB" */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15410 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
+ ts+26252 /* " ID DB" */, 0))
return TCL_ERROR
}
i = parse_thread_id(tls, interp, *(*uintptr)(unsafe.Pointer(argv + 1*8)))
@@ -55562,7 +57342,7 @@ func tcl_thread_db_put(tls *libc.TLS, NotUsed uintptr, interp uintptr, argc int3
return TCL_ERROR
}
if !(threadset[i].Fbusy != 0) {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+32, ts+25320 /* "no such thread" */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+32, ts+26133 /* "no such thread" */, 0))
return TCL_ERROR
}
test_thread_wait(tls, (uintptr(unsafe.Pointer(&threadset)) + uintptr(i)*1680))
@@ -55583,8 +57363,8 @@ func tcl_thread_stmt_get(tls *libc.TLS, NotUsed uintptr, interp uintptr, argc in
// var zBuf [100]int8 at bp+64, 100
if argc != 2 {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+14631 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
- ts+25316 /* " ID" */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15410 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
+ ts+26129 /* " ID" */, 0))
return TCL_ERROR
}
i = parse_thread_id(tls, interp, *(*uintptr)(unsafe.Pointer(argv + 1*8)))
@@ -55592,7 +57372,7 @@ func tcl_thread_stmt_get(tls *libc.TLS, NotUsed uintptr, interp uintptr, argc in
return TCL_ERROR
}
if !(threadset[i].Fbusy != 0) {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+32, ts+25320 /* "no such thread" */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+32, ts+26133 /* "no such thread" */, 0))
return TCL_ERROR
}
test_thread_wait(tls, (uintptr(unsafe.Pointer(&threadset)) + uintptr(i)*1680))
@@ -55619,21 +57399,21 @@ var aCmd4 = [15]struct {
FzName uintptr
FxProc uintptr
}{
- {FzName: ts + 25446 /* "thread_create" */, FxProc: 0},
- {FzName: ts + 25460 /* "thread_wait" */, FxProc: 0},
- {FzName: ts + 25472 /* "thread_halt" */, FxProc: 0},
- {FzName: ts + 25484 /* "thread_argc" */, FxProc: 0},
- {FzName: ts + 25496 /* "thread_argv" */, FxProc: 0},
- {FzName: ts + 25508 /* "thread_colname" */, FxProc: 0},
- {FzName: ts + 25523 /* "thread_result" */, FxProc: 0},
- {FzName: ts + 25537 /* "thread_error" */, FxProc: 0},
- {FzName: ts + 25550 /* "thread_compile" */, FxProc: 0},
- {FzName: ts + 25565 /* "thread_step" */, FxProc: 0},
- {FzName: ts + 25577 /* "thread_finalize" */, FxProc: 0},
- {FzName: ts + 25593 /* "thread_swap" */, FxProc: 0},
- {FzName: ts + 25605 /* "thread_db_get" */, FxProc: 0},
- {FzName: ts + 25619 /* "thread_db_put" */, FxProc: 0},
- {FzName: ts + 25633 /* "thread_stmt_get" */, FxProc: 0},
+ {FzName: ts + 26259 /* "thread_create" */, FxProc: 0},
+ {FzName: ts + 26273 /* "thread_wait" */, FxProc: 0},
+ {FzName: ts + 26285 /* "thread_halt" */, FxProc: 0},
+ {FzName: ts + 26297 /* "thread_argc" */, FxProc: 0},
+ {FzName: ts + 26309 /* "thread_argv" */, FxProc: 0},
+ {FzName: ts + 26321 /* "thread_colname" */, FxProc: 0},
+ {FzName: ts + 26336 /* "thread_result" */, FxProc: 0},
+ {FzName: ts + 26350 /* "thread_error" */, FxProc: 0},
+ {FzName: ts + 26363 /* "thread_compile" */, FxProc: 0},
+ {FzName: ts + 26378 /* "thread_step" */, FxProc: 0},
+ {FzName: ts + 26390 /* "thread_finalize" */, FxProc: 0},
+ {FzName: ts + 26406 /* "thread_swap" */, FxProc: 0},
+ {FzName: ts + 26418 /* "thread_db_get" */, FxProc: 0},
+ {FzName: ts + 26432 /* "thread_db_put" */, FxProc: 0},
+ {FzName: ts + 26446 /* "thread_stmt_get" */, FxProc: 0},
} /* test4.c:700:5 */
// end block for C++
@@ -55643,7 +57423,7 @@ var aCmd4 = [15]struct {
// c-basic-offset: 4
// fill-column: 78
// End:
-// Copyright (C) 1991-2018 Free Software Foundation, Inc.
+// Copyright (C) 1991-2020 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
@@ -55658,11 +57438,11 @@ var aCmd4 = [15]struct {
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// ISO C99 Standard: 7.20 General utilities
-// Copyright (C) 1991-2018 Free Software Foundation, Inc.
+// Copyright (C) 1991-2020 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
@@ -55677,7 +57457,7 @@ var aCmd4 = [15]struct {
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// ISO C99 Standard: 7.21 String handling
@@ -55720,8 +57500,8 @@ func test_value_overhead(tls *libc.TLS, clientData uintptr, interp uintptr, objc
// var val Mem at bp+40, 56
if objc != 3 {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+14631, /* "wrong # args: sh..." */
- tcl.XTcl_GetStringFromObj(tls, *(*uintptr)(unsafe.Pointer(objv)), uintptr(0)), ts+25649 /* " ..." */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15410, /* "wrong # args: sh..." */
+ tcl.XTcl_GetStringFromObj(tls, *(*uintptr)(unsafe.Pointer(objv)), uintptr(0)), ts+26462 /* " ..." */, 0))
return TCL_ERROR
}
@@ -55733,7 +57513,7 @@ func test_value_overhead(tls *libc.TLS, clientData uintptr, interp uintptr, objc
}
(*Mem)(unsafe.Pointer(bp + 40 /* &val */)).Fflags = (u16((MEM_Str | MEM_Term) | MEM_Static))
- (*Mem)(unsafe.Pointer(bp + 40 /* &val */)).Fz = ts + 25676 /* "hello world" */
+ (*Mem)(unsafe.Pointer(bp + 40 /* &val */)).Fz = ts + 26489 /* "hello world" */
(*Mem)(unsafe.Pointer(bp + 40 /* &val */)).Fenc = u8(SQLITE_UTF8)
for i = 0; i < *(*int32)(unsafe.Pointer(bp + 32 /* repeat_count */)); i++ {
@@ -55750,10 +57530,10 @@ func name_to_enc(tls *libc.TLS, interp uintptr, pObj uintptr) u8 { /* test5.c:94
defer tls.Free(104)
*(*[5]EncName)(unsafe.Pointer(bp + 24 /* encnames */)) = [5]EncName{
- {FzName: ts + 25688 /* "UTF8" */, Fenc: u8(SQLITE_UTF8)},
- {FzName: ts + 25693 /* "UTF16LE" */, Fenc: u8(SQLITE_UTF16LE)},
- {FzName: ts + 25701 /* "UTF16BE" */, Fenc: u8(SQLITE_UTF16BE)},
- {FzName: ts + 25709 /* "UTF16" */, Fenc: u8(SQLITE_UTF16)},
+ {FzName: ts + 26501 /* "UTF8" */, Fenc: u8(SQLITE_UTF8)},
+ {FzName: ts + 26506 /* "UTF16LE" */, Fenc: u8(SQLITE_UTF16LE)},
+ {FzName: ts + 26514 /* "UTF16BE" */, Fenc: u8(SQLITE_UTF16BE)},
+ {FzName: ts + 26522 /* "UTF16" */, Fenc: u8(SQLITE_UTF16)},
{},
}
var pEnc uintptr
@@ -55764,7 +57544,7 @@ func name_to_enc(tls *libc.TLS, interp uintptr, pObj uintptr) u8 { /* test5.c:94
}
}
if !(int32((*EncName)(unsafe.Pointer(pEnc)).Fenc) != 0) {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+25715 /* "No such encoding..." */, z, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+26528 /* "No such encoding..." */, z, 0))
}
if int32((*EncName)(unsafe.Pointer(pEnc)).Fenc) == SQLITE_UTF16 {
return func() uint8 {
@@ -55798,9 +57578,9 @@ func test_translate(tls *libc.TLS, clientData uintptr, interp uintptr, objc int3
var xDel uintptr = uintptr(0)
if (objc != 4) && (objc != 5) {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+14631, /* "wrong # args: sh..." */
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15410, /* "wrong # args: sh..." */
tcl.XTcl_GetStringFromObj(tls, *(*uintptr)(unsafe.Pointer(objv)), uintptr(0)),
- ts+25734 /* " <..." */, 0))
+ ts+26547 /* " <..." */, 0))
return TCL_ERROR
}
if objc == 5 {
@@ -55869,10 +57649,10 @@ var aCmd5 = [4]struct {
FzName uintptr
FxProc uintptr
}{
- {FzName: ts + 25769 /* "binarize" */, FxProc: 0},
- {FzName: ts + 25778 /* "test_value_overh..." */, FxProc: 0},
- {FzName: ts + 25798 /* "test_translate" */, FxProc: 0},
- {FzName: ts + 25813 /* "translate_selfte..." */, FxProc: 0},
+ {FzName: ts + 26582 /* "binarize" */, FxProc: 0},
+ {FzName: ts + 26591 /* "test_value_overh..." */, FxProc: 0},
+ {FzName: ts + 26611 /* "test_translate" */, FxProc: 0},
+ {FzName: ts + 26626 /* "translate_selfte..." */, FxProc: 0},
} /* test5.c:209:5 */
// end block for C++
@@ -56126,7 +57906,7 @@ func writeListAppend(tls *libc.TLS, pFile uintptr, iOffset sqlite3_int64, zBuf u
pNew = crash_malloc(tls, (int32(uint64(unsafe.Sizeof(WriteBuffer{})) + uint64(nBuf))))
if pNew == uintptr(0) {
- libc.Xfprintf(tls, libc.Xstderr, ts+25832 /* "out of memory in..." */, 0)
+ libc.Xfprintf(tls, libc.Xstderr, ts+26645 /* "out of memory in..." */, 0)
}
libc.Xmemset(tls, pNew, 0, (uint64(unsafe.Sizeof(WriteBuffer{})) + uint64(nBuf)))
(*WriteBuffer)(unsafe.Pointer(pNew)).FiOffset = iOffset
@@ -56444,19 +58224,19 @@ func processDevSymArgs(tls *libc.TLS, interp uintptr, objc int32, objv uintptr,
defer tls.Free(316)
*(*[14]DeviceFlag)(unsafe.Pointer(bp + 88 /* aFlag */)) = [14]DeviceFlag{
- {FzName: ts + 25870 /* "atomic" */, FiValue: SQLITE_IOCAP_ATOMIC},
- {FzName: ts + 25877 /* "atomic512" */, FiValue: SQLITE_IOCAP_ATOMIC512},
- {FzName: ts + 25887 /* "atomic1k" */, FiValue: SQLITE_IOCAP_ATOMIC1K},
- {FzName: ts + 25896 /* "atomic2k" */, FiValue: SQLITE_IOCAP_ATOMIC2K},
- {FzName: ts + 25905 /* "atomic4k" */, FiValue: SQLITE_IOCAP_ATOMIC4K},
- {FzName: ts + 25914 /* "atomic8k" */, FiValue: SQLITE_IOCAP_ATOMIC8K},
- {FzName: ts + 25923 /* "atomic16k" */, FiValue: SQLITE_IOCAP_ATOMIC16K},
- {FzName: ts + 25933 /* "atomic32k" */, FiValue: SQLITE_IOCAP_ATOMIC32K},
- {FzName: ts + 25943 /* "atomic64k" */, FiValue: SQLITE_IOCAP_ATOMIC64K},
- {FzName: ts + 25953 /* "sequential" */, FiValue: SQLITE_IOCAP_SEQUENTIAL},
- {FzName: ts + 25964 /* "safe_append" */, FiValue: SQLITE_IOCAP_SAFE_APPEND},
- {FzName: ts + 25976 /* "powersafe_overwr..." */, FiValue: SQLITE_IOCAP_POWERSAFE_OVERWRITE},
- {FzName: ts + 25996 /* "batch-atomic" */, FiValue: SQLITE_IOCAP_BATCH_ATOMIC},
+ {FzName: ts + 26683 /* "atomic" */, FiValue: SQLITE_IOCAP_ATOMIC},
+ {FzName: ts + 26690 /* "atomic512" */, FiValue: SQLITE_IOCAP_ATOMIC512},
+ {FzName: ts + 26700 /* "atomic1k" */, FiValue: SQLITE_IOCAP_ATOMIC1K},
+ {FzName: ts + 26709 /* "atomic2k" */, FiValue: SQLITE_IOCAP_ATOMIC2K},
+ {FzName: ts + 26718 /* "atomic4k" */, FiValue: SQLITE_IOCAP_ATOMIC4K},
+ {FzName: ts + 26727 /* "atomic8k" */, FiValue: SQLITE_IOCAP_ATOMIC8K},
+ {FzName: ts + 26736 /* "atomic16k" */, FiValue: SQLITE_IOCAP_ATOMIC16K},
+ {FzName: ts + 26746 /* "atomic32k" */, FiValue: SQLITE_IOCAP_ATOMIC32K},
+ {FzName: ts + 26756 /* "atomic64k" */, FiValue: SQLITE_IOCAP_ATOMIC64K},
+ {FzName: ts + 26766 /* "sequential" */, FiValue: SQLITE_IOCAP_SEQUENTIAL},
+ {FzName: ts + 26777 /* "safe_append" */, FiValue: SQLITE_IOCAP_SAFE_APPEND},
+ {FzName: ts + 26789 /* "powersafe_overwr..." */, FiValue: SQLITE_IOCAP_POWERSAFE_OVERWRITE},
+ {FzName: ts + 26809 /* "batch-atomic" */, FiValue: SQLITE_IOCAP_BATCH_ATOMIC},
{},
}
var i int32
@@ -56470,15 +58250,15 @@ func processDevSymArgs(tls *libc.TLS, interp uintptr, objc int32, objv uintptr,
var zOpt uintptr = tcl.XTcl_GetStringFromObj(tls, *(*uintptr)(unsafe.Pointer(objv + uintptr(i)*8)), bp+64 /* &nOpt */)
- if (((*(*int32)(unsafe.Pointer(bp + 64 /* nOpt */)) > 11) || (*(*int32)(unsafe.Pointer(bp + 64 /* nOpt */)) < 2)) || (libc.Xstrncmp(tls, ts+26009 /* "-sectorsize" */, zOpt, uint64(*(*int32)(unsafe.Pointer(bp + 64 /* nOpt */)))) != 0)) &&
- (((*(*int32)(unsafe.Pointer(bp + 64 /* nOpt */)) > 16) || (*(*int32)(unsafe.Pointer(bp + 64 /* nOpt */)) < 2)) || (libc.Xstrncmp(tls, ts+26021 /* "-characteristics" */, zOpt, uint64(*(*int32)(unsafe.Pointer(bp + 64 /* nOpt */)))) != 0)) {
+ if (((*(*int32)(unsafe.Pointer(bp + 64 /* nOpt */)) > 11) || (*(*int32)(unsafe.Pointer(bp + 64 /* nOpt */)) < 2)) || (libc.Xstrncmp(tls, ts+26822 /* "-sectorsize" */, zOpt, uint64(*(*int32)(unsafe.Pointer(bp + 64 /* nOpt */)))) != 0)) &&
+ (((*(*int32)(unsafe.Pointer(bp + 64 /* nOpt */)) > 16) || (*(*int32)(unsafe.Pointer(bp + 64 /* nOpt */)) < 2)) || (libc.Xstrncmp(tls, ts+26834 /* "-characteristics" */, zOpt, uint64(*(*int32)(unsafe.Pointer(bp + 64 /* nOpt */)))) != 0)) {
tcl.XTcl_AppendResult(tls, interp,
- libc.VaList(bp, ts+26038 /* "Bad option: \"" */, zOpt,
- ts+26052 /* "\" - must be \"-ch..." */, 0))
+ libc.VaList(bp, ts+26851 /* "Bad option: \"" */, zOpt,
+ ts+26865 /* "\" - must be \"-ch..." */, 0))
return TCL_ERROR
}
if i == (objc - 1) {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+32, ts+26100 /* "Option requires ..." */, zOpt, ts+11636 /* "\"" */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+32, ts+26913 /* "Option requires ..." */, zOpt, ts+12415 /* "\"" */, 0))
return TCL_ERROR
}
@@ -56505,7 +58285,7 @@ func processDevSymArgs(tls *libc.TLS, interp uintptr, objc int32, objv uintptr,
tcl.XTcl_UtfToLower(tls, tcl.XTcl_GetString(tls, pFlag))
rc = tcl.XTcl_GetIndexFromObjStruct(tls,
- interp, pFlag, bp+88 /* &aFlag[0] */, int32(unsafe.Sizeof(DeviceFlag{})), ts+26131 /* "no such flag" */, 0, bp+312 /* &iChoice */)
+ interp, pFlag, bp+88 /* &aFlag[0] */, int32(unsafe.Sizeof(DeviceFlag{})), ts+26944 /* "no such flag" */, 0, bp+312 /* &iChoice */)
for ok := true; ok; ok = 0 != 0 {
var _objPtr uintptr = pFlag
if libc.PostDecInt32(&(*Tcl_Obj)(unsafe.Pointer((_objPtr))).FrefCount, 1) <= 1 {
@@ -56565,7 +58345,7 @@ func crashEnableCmd(tls *libc.TLS, clientData uintptr, interp uintptr, objc int3
*(*int32)(unsafe.Pointer(bp + 4 /* isDefault */)) = 0
if (objc != 2) && (objc != 3) {
- tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+26144 /* "ENABLE ?DEFAULT?" */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+26957 /* "ENABLE ?DEFAULT?" */)
return TCL_ERROR
}
@@ -56596,7 +58376,7 @@ func crashEnableCmd(tls *libc.TLS, clientData uintptr, interp uintptr, objc int3
var crashVfs = sqlite3_vfs{
FiVersion: 2, // pNext
- FzName: ts + 26161, /* "crash" */ // pAppData
+ FzName: ts + 26974, /* "crash" */ // pAppData
FxOpen: 0, // xOpen
FxDelete: 0, // xDelete
@@ -56647,7 +58427,7 @@ func crashParamsObjCmd(tls *libc.TLS, clientData uintptr, interp uintptr, objc i
if !(objc < 3) {
goto __1
}
- tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+26167 /* "?OPTIONS? DELAY ..." */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+26980 /* "?OPTIONS? DELAY ..." */)
goto error
__1:
;
@@ -56656,7 +58436,7 @@ __1:
if !(uint64(*(*int32)(unsafe.Pointer(bp + 32 /* nCrashFile */))) >= uint64(unsafe.Sizeof([500]int8{}))) {
goto __2
}
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+26193 /* "Filename is too ..." */, zCrashFile, ts+11636 /* "\"" */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+27006 /* "Filename is too ..." */, zCrashFile, ts+12415 /* "\"" */, 0))
goto error
__2:
;
@@ -56719,7 +58499,7 @@ func writeCrashObjCmd(tls *libc.TLS, clientData uintptr, interp uintptr, objc in
*(*int32)(unsafe.Pointer(bp /* nWrite */)) = 0
if objc != 2 {
- tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+26217 /* "NWRITE" */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+27030 /* "NWRITE" */)
return TCL_ERROR
}
if tcl.XTcl_GetIntFromObj(tls, interp, *(*uintptr)(unsafe.Pointer(objv + 1*8)), bp /* &nWrite */) != 0 {
@@ -56750,14 +58530,14 @@ func jtObjCmd(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, obj
var zParent uintptr = uintptr(0)
if (objc != 2) && (objc != 3) {
- tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+26224 /* "?-default? PAREN..." */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+27037 /* "?-default? PAREN..." */)
return TCL_ERROR
}
zParent = tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 1*8)))
if objc == 3 {
- if libc.Xstrcmp(tls, zParent, ts+26246 /* "-default" */) != 0 {
+ if libc.Xstrcmp(tls, zParent, ts+27059 /* "-default" */) != 0 {
tcl.XTcl_AppendResult(tls, interp,
- libc.VaList(bp, ts+11535 /* "bad option \"" */, zParent, ts+26255 /* "\": must be -defa..." */, 0))
+ libc.VaList(bp, ts+12321 /* "bad option \"" */, zParent, ts+27068 /* "\": must be -defa..." */, 0))
return TCL_ERROR
}
zParent = tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 2*8)))
@@ -56767,7 +58547,7 @@ func jtObjCmd(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, obj
zParent = uintptr(0)
}
if jt_register(tls, zParent, (libc.Bool32(objc == 3))) != 0 {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+32, ts+26275 /* "Error in jt_regi..." */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+32, ts+27088 /* "Error in jt_regi..." */, 0))
return TCL_ERROR
}
@@ -56788,28 +58568,28 @@ func jtUnregisterObjCmd(tls *libc.TLS, clientData uintptr, interp uintptr, objc
// This procedure registers the TCL procedures defined in this file.
func Sqlitetest6_Init(tls *libc.TLS, interp uintptr) int32 { /* test6.c:1093:5: */
- tcl.XTcl_CreateObjCommand(tls, interp, ts+26296 /* "sqlite3_crash_en..." */, *(*uintptr)(unsafe.Pointer(&struct {
+ tcl.XTcl_CreateObjCommand(tls, interp, ts+27109 /* "sqlite3_crash_en..." */, *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32
}{crashEnableCmd})), uintptr(0), uintptr(0))
- tcl.XTcl_CreateObjCommand(tls, interp, ts+26317 /* "sqlite3_crashpar..." */, *(*uintptr)(unsafe.Pointer(&struct {
+ tcl.XTcl_CreateObjCommand(tls, interp, ts+27130 /* "sqlite3_crashpar..." */, *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32
}{crashParamsObjCmd})), uintptr(0), uintptr(0))
- tcl.XTcl_CreateObjCommand(tls, interp, ts+26337 /* "sqlite3_crash_no..." */, *(*uintptr)(unsafe.Pointer(&struct {
+ tcl.XTcl_CreateObjCommand(tls, interp, ts+27150 /* "sqlite3_crash_no..." */, *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32
}{crashNowCmd})), uintptr(0), uintptr(0))
- tcl.XTcl_CreateObjCommand(tls, interp, ts+26355 /* "sqlite3_simulate..." */, *(*uintptr)(unsafe.Pointer(&struct {
+ tcl.XTcl_CreateObjCommand(tls, interp, ts+27168 /* "sqlite3_simulate..." */, *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32
}{devSymObjCmd})), uintptr(0), uintptr(0))
- tcl.XTcl_CreateObjCommand(tls, interp, ts+26379 /* "sqlite3_crash_on..." */, *(*uintptr)(unsafe.Pointer(&struct {
+ tcl.XTcl_CreateObjCommand(tls, interp, ts+27192 /* "sqlite3_crash_on..." */, *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32
}{writeCrashObjCmd})), uintptr(0), uintptr(0))
- tcl.XTcl_CreateObjCommand(tls, interp, ts+26402 /* "unregister_devsi..." */, *(*uintptr)(unsafe.Pointer(&struct {
+ tcl.XTcl_CreateObjCommand(tls, interp, ts+27215 /* "unregister_devsi..." */, *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32
}{dsUnregisterObjCmd})), uintptr(0), uintptr(0))
- tcl.XTcl_CreateObjCommand(tls, interp, ts+26420 /* "register_jt_vfs" */, *(*uintptr)(unsafe.Pointer(&struct {
+ tcl.XTcl_CreateObjCommand(tls, interp, ts+27233 /* "register_jt_vfs" */, *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32
}{jtObjCmd})), uintptr(0), uintptr(0))
- tcl.XTcl_CreateObjCommand(tls, interp, ts+26436 /* "unregister_jt_vf..." */, *(*uintptr)(unsafe.Pointer(&struct {
+ tcl.XTcl_CreateObjCommand(tls, interp, ts+27249 /* "unregister_jt_vf..." */, *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32
}{jtUnregisterObjCmd})), uintptr(0), uintptr(0))
return TCL_OK
@@ -56894,7 +58674,7 @@ func parse_client_id(tls *libc.TLS, interp uintptr, zArg uintptr) int32 { /* tes
defer tls.Free(16)
if (((zArg == uintptr(0)) || (int32(*(*int8)(unsafe.Pointer(zArg))) == 0)) || (int32(*(*int8)(unsafe.Pointer(zArg + 1))) != 0)) || !((int32(*(*uint16)(unsafe.Pointer((*(*uintptr)(unsafe.Pointer(libc.X__ctype_b_loc(tls)))) + uintptr(int32(uint8(*(*int8)(unsafe.Pointer(zArg)))))*2))) & int32(_ISupper)) != 0) {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+25208 /* "thread ID must b..." */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+26021 /* "thread ID must b..." */, 0))
return -1
}
return (int32(*(*int8)(unsafe.Pointer(zArg))) - 'A')
@@ -56914,8 +58694,8 @@ func tcl_client_create(tls *libc.TLS, NotUsed uintptr, interp uintptr, argc int3
var rc int32
if argc != 3 {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+14631 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
- ts+25247 /* " ID FILENAME" */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15410 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
+ ts+26060 /* " ID FILENAME" */, 0))
return TCL_ERROR
}
i = parse_client_id(tls, interp, *(*uintptr)(unsafe.Pointer(argv + 1*8)))
@@ -56923,7 +58703,7 @@ func tcl_client_create(tls *libc.TLS, NotUsed uintptr, interp uintptr, argc int3
return TCL_ERROR
}
if threadset1[i].Fbusy != 0 {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+32, ts+25260 /* "thread " */, *(*uintptr)(unsafe.Pointer(argv + 1*8)), ts+25268 /* " is already runn..." */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+32, ts+26073 /* "thread " */, *(*uintptr)(unsafe.Pointer(argv + 1*8)), ts+26081 /* " is already runn..." */, 0))
return TCL_ERROR
}
threadset1[i].Fbusy = 1
@@ -56935,7 +58715,7 @@ func tcl_client_create(tls *libc.TLS, NotUsed uintptr, interp uintptr, argc int3
f func(*libc.TLS, uintptr) uintptr
}{client_main})), (uintptr(unsafe.Pointer(&threadset1)) + uintptr(i)*1688))
if rc != 0 {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+72, ts+25288 /* "failed to create..." */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+72, ts+26101 /* "failed to create..." */, 0))
sqlite3.Xsqlite3_free(tls, threadset1[i].FzFilename)
threadset1[i].Fbusy = 0
return TCL_ERROR
@@ -56965,8 +58745,8 @@ func tcl_client_wait(tls *libc.TLS, NotUsed uintptr, interp uintptr, argc int32,
var i int32
if argc != 2 {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+14631 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
- ts+25316 /* " ID" */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15410 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
+ ts+26129 /* " ID" */, 0))
return TCL_ERROR
}
i = parse_client_id(tls, interp, *(*uintptr)(unsafe.Pointer(argv + 1*8)))
@@ -56974,7 +58754,7 @@ func tcl_client_wait(tls *libc.TLS, NotUsed uintptr, interp uintptr, argc int32,
return TCL_ERROR
}
if !(threadset1[i].Fbusy != 0) {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+32, ts+25320 /* "no such thread" */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+32, ts+26133 /* "no such thread" */, 0))
return TCL_ERROR
}
client_wait(tls, (uintptr(unsafe.Pointer(&threadset1)) + uintptr(i)*1688))
@@ -57005,8 +58785,8 @@ func tcl_client_halt(tls *libc.TLS, NotUsed uintptr, interp uintptr, argc int32,
var i int32
if argc != 2 {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+14631 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
- ts+25316 /* " ID" */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15410 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
+ ts+26129 /* " ID" */, 0))
return TCL_ERROR
}
if (int32(*(*int8)(unsafe.Pointer(*(*uintptr)(unsafe.Pointer(argv + 1*8))))) == '*') && (int32(*(*int8)(unsafe.Pointer(*(*uintptr)(unsafe.Pointer(argv + 1*8)) + 1))) == 0) {
@@ -57021,7 +58801,7 @@ func tcl_client_halt(tls *libc.TLS, NotUsed uintptr, interp uintptr, argc int32,
return TCL_ERROR
}
if !(threadset1[i].Fbusy != 0) {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+32, ts+25320 /* "no such thread" */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+32, ts+26133 /* "no such thread" */, 0))
return TCL_ERROR
}
stop_thread(tls, (uintptr(unsafe.Pointer(&threadset1)) + uintptr(i)*1688))
@@ -57056,8 +58836,8 @@ func tcl_client_argc(tls *libc.TLS, NotUsed uintptr, interp uintptr, argc int32,
// var zBuf [100]int8 at bp+72, 100
if argc != 2 {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+14631 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
- ts+25316 /* " ID" */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15410 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
+ ts+26129 /* " ID" */, 0))
return TCL_ERROR
}
i = parse_client_id(tls, interp, *(*uintptr)(unsafe.Pointer(argv + 1*8)))
@@ -57065,7 +58845,7 @@ func tcl_client_argc(tls *libc.TLS, NotUsed uintptr, interp uintptr, argc int32,
return TCL_ERROR
}
if !(threadset1[i].Fbusy != 0) {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+32, ts+25320 /* "no such thread" */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+32, ts+26133 /* "no such thread" */, 0))
return TCL_ERROR
}
client_wait(tls, (uintptr(unsafe.Pointer(&threadset1)) + uintptr(i)*1688))
@@ -57086,8 +58866,8 @@ func tcl_client_argv(tls *libc.TLS, NotUsed uintptr, interp uintptr, argc int32,
// var n int32 at bp+80, 4
if argc != 3 {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+14631 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
- ts+25335 /* " ID N" */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15410 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
+ ts+26148 /* " ID N" */, 0))
return TCL_ERROR
}
i = parse_client_id(tls, interp, *(*uintptr)(unsafe.Pointer(argv + 1*8)))
@@ -57095,7 +58875,7 @@ func tcl_client_argv(tls *libc.TLS, NotUsed uintptr, interp uintptr, argc int32,
return TCL_ERROR
}
if !(threadset1[i].Fbusy != 0) {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+32, ts+25320 /* "no such thread" */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+32, ts+26133 /* "no such thread" */, 0))
return TCL_ERROR
}
if tcl.XTcl_GetInt(tls, interp, *(*uintptr)(unsafe.Pointer(argv + 2*8)), bp+80 /* &n */) != 0 {
@@ -57103,7 +58883,7 @@ func tcl_client_argv(tls *libc.TLS, NotUsed uintptr, interp uintptr, argc int32,
}
client_wait(tls, (uintptr(unsafe.Pointer(&threadset1)) + uintptr(i)*1688))
if (*(*int32)(unsafe.Pointer(bp + 80 /* n */)) < 0) || (*(*int32)(unsafe.Pointer(bp + 80 /* n */)) >= threadset1[i].Fargc) {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+48, ts+25341 /* "column number ou..." */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+48, ts+26154 /* "column number ou..." */, 0))
return TCL_ERROR
}
tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+64, *(*uintptr)(unsafe.Pointer((uintptr(unsafe.Pointer(&threadset1)) + uintptr(i)*1688 + 80 /* &.argv */) + uintptr(*(*int32)(unsafe.Pointer(bp + 80 /* n */)))*8)), 0))
@@ -57122,8 +58902,8 @@ func tcl_client_colname(tls *libc.TLS, NotUsed uintptr, interp uintptr, argc int
// var n int32 at bp+80, 4
if argc != 3 {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+14631 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
- ts+25335 /* " ID N" */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15410 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
+ ts+26148 /* " ID N" */, 0))
return TCL_ERROR
}
i = parse_client_id(tls, interp, *(*uintptr)(unsafe.Pointer(argv + 1*8)))
@@ -57131,7 +58911,7 @@ func tcl_client_colname(tls *libc.TLS, NotUsed uintptr, interp uintptr, argc int
return TCL_ERROR
}
if !(threadset1[i].Fbusy != 0) {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+32, ts+25320 /* "no such thread" */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+32, ts+26133 /* "no such thread" */, 0))
return TCL_ERROR
}
if tcl.XTcl_GetInt(tls, interp, *(*uintptr)(unsafe.Pointer(argv + 2*8)), bp+80 /* &n */) != 0 {
@@ -57139,7 +58919,7 @@ func tcl_client_colname(tls *libc.TLS, NotUsed uintptr, interp uintptr, argc int
}
client_wait(tls, (uintptr(unsafe.Pointer(&threadset1)) + uintptr(i)*1688))
if (*(*int32)(unsafe.Pointer(bp + 80 /* n */)) < 0) || (*(*int32)(unsafe.Pointer(bp + 80 /* n */)) >= threadset1[i].Fargc) {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+48, ts+25341 /* "column number ou..." */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+48, ts+26154 /* "column number ou..." */, 0))
return TCL_ERROR
}
tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+64, *(*uintptr)(unsafe.Pointer((uintptr(unsafe.Pointer(&threadset1)) + uintptr(i)*1688 + 880 /* &.colv */) + uintptr(*(*int32)(unsafe.Pointer(bp + 80 /* n */)))*8)), 0))
@@ -57158,8 +58938,8 @@ func tcl_client_result(tls *libc.TLS, NotUsed uintptr, interp uintptr, argc int3
var zName uintptr
if argc != 2 {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+14631 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
- ts+25316 /* " ID" */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15410 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
+ ts+26129 /* " ID" */, 0))
return TCL_ERROR
}
i = parse_client_id(tls, interp, *(*uintptr)(unsafe.Pointer(argv + 1*8)))
@@ -57167,7 +58947,7 @@ func tcl_client_result(tls *libc.TLS, NotUsed uintptr, interp uintptr, argc int3
return TCL_ERROR
}
if !(threadset1[i].Fbusy != 0) {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+32, ts+25320 /* "no such thread" */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+32, ts+26133 /* "no such thread" */, 0))
return TCL_ERROR
}
client_wait(tls, (uintptr(unsafe.Pointer(&threadset1)) + uintptr(i)*1688))
@@ -57187,8 +58967,8 @@ func tcl_client_error(tls *libc.TLS, NotUsed uintptr, interp uintptr, argc int32
var i int32
if argc != 2 {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+14631 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
- ts+25316 /* " ID" */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15410 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
+ ts+26129 /* " ID" */, 0))
return TCL_ERROR
}
i = parse_client_id(tls, interp, *(*uintptr)(unsafe.Pointer(argv + 1*8)))
@@ -57196,7 +58976,7 @@ func tcl_client_error(tls *libc.TLS, NotUsed uintptr, interp uintptr, argc int32
return TCL_ERROR
}
if !(threadset1[i].Fbusy != 0) {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+32, ts+25320 /* "no such thread" */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+32, ts+26133 /* "no such thread" */, 0))
return TCL_ERROR
}
client_wait(tls, (uintptr(unsafe.Pointer(&threadset1)) + uintptr(i)*1688))
@@ -57207,7 +58987,7 @@ func tcl_client_error(tls *libc.TLS, NotUsed uintptr, interp uintptr, argc int32
// This procedure runs in the thread to compile an SQL statement.
func do_compile1(tls *libc.TLS, p uintptr) { /* test7.c:466:13: */
if (*Thread1)(unsafe.Pointer(p)).Fdb == uintptr(0) {
- (*Thread1)(unsafe.Pointer(p)).FzErr = libc.AssignPtrUintptr(p+64 /* &.zStaticErr */, ts+25368 /* "no database is o..." */)
+ (*Thread1)(unsafe.Pointer(p)).FzErr = libc.AssignPtrUintptr(p+64 /* &.zStaticErr */, ts+26181 /* "no database is o..." */)
(*Thread1)(unsafe.Pointer(p)).Frc = SQLITE_ERROR
return
}
@@ -57227,8 +59007,8 @@ func tcl_client_compile(tls *libc.TLS, NotUsed uintptr, interp uintptr, argc int
var i int32
if argc != 3 {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+14631 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
- ts+25388 /* " ID SQL" */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15410 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
+ ts+26201 /* " ID SQL" */, 0))
return TCL_ERROR
}
i = parse_client_id(tls, interp, *(*uintptr)(unsafe.Pointer(argv + 1*8)))
@@ -57236,7 +59016,7 @@ func tcl_client_compile(tls *libc.TLS, NotUsed uintptr, interp uintptr, argc int
return TCL_ERROR
}
if !(threadset1[i].Fbusy != 0) {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+32, ts+25320 /* "no such thread" */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+32, ts+26133 /* "no such thread" */, 0))
return TCL_ERROR
}
client_wait(tls, (uintptr(unsafe.Pointer(&threadset1)) + uintptr(i)*1688))
@@ -57251,7 +59031,7 @@ func tcl_client_compile(tls *libc.TLS, NotUsed uintptr, interp uintptr, argc int
func do_step1(tls *libc.TLS, p uintptr) { /* test7.c:513:13: */
var i int32
if (*Thread1)(unsafe.Pointer(p)).FpStmt == uintptr(0) {
- (*Thread1)(unsafe.Pointer(p)).FzErr = libc.AssignPtrUintptr(p+64 /* &.zStaticErr */, ts+25396 /* "no virtual machi..." */)
+ (*Thread1)(unsafe.Pointer(p)).FzErr = libc.AssignPtrUintptr(p+64 /* &.zStaticErr */, ts+26209 /* "no virtual machi..." */)
(*Thread1)(unsafe.Pointer(p)).Frc = SQLITE_ERROR
return
}
@@ -57276,8 +59056,8 @@ func tcl_client_step(tls *libc.TLS, NotUsed uintptr, interp uintptr, argc int32,
var i int32
if argc != 2 {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+14631 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
- ts+25425 /* " IDL" */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15410 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
+ ts+26238 /* " IDL" */, 0))
return TCL_ERROR
}
i = parse_client_id(tls, interp, *(*uintptr)(unsafe.Pointer(argv + 1*8)))
@@ -57285,7 +59065,7 @@ func tcl_client_step(tls *libc.TLS, NotUsed uintptr, interp uintptr, argc int32,
return TCL_ERROR
}
if !(threadset1[i].Fbusy != 0) {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+32, ts+25320 /* "no such thread" */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+32, ts+26133 /* "no such thread" */, 0))
return TCL_ERROR
}
client_wait(tls, (uintptr(unsafe.Pointer(&threadset1)) + uintptr(i)*1688))
@@ -57297,7 +59077,7 @@ func tcl_client_step(tls *libc.TLS, NotUsed uintptr, interp uintptr, argc int32,
// This procedure runs in the thread to finalize a virtual machine.
func do_finalize1(tls *libc.TLS, p uintptr) { /* test7.c:564:13: */
if (*Thread1)(unsafe.Pointer(p)).FpStmt == uintptr(0) {
- (*Thread1)(unsafe.Pointer(p)).FzErr = libc.AssignPtrUintptr(p+64 /* &.zStaticErr */, ts+25396 /* "no virtual machi..." */)
+ (*Thread1)(unsafe.Pointer(p)).FzErr = libc.AssignPtrUintptr(p+64 /* &.zStaticErr */, ts+26209 /* "no virtual machi..." */)
(*Thread1)(unsafe.Pointer(p)).Frc = SQLITE_ERROR
return
}
@@ -57314,8 +59094,8 @@ func tcl_client_finalize(tls *libc.TLS, NotUsed uintptr, interp uintptr, argc in
var i int32
if argc != 2 {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+14631 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
- ts+25425 /* " IDL" */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15410 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
+ ts+26238 /* " IDL" */, 0))
return TCL_ERROR
}
i = parse_client_id(tls, interp, *(*uintptr)(unsafe.Pointer(argv + 1*8)))
@@ -57323,7 +59103,7 @@ func tcl_client_finalize(tls *libc.TLS, NotUsed uintptr, interp uintptr, argc in
return TCL_ERROR
}
if !(threadset1[i].Fbusy != 0) {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+32, ts+25320 /* "no such thread" */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+32, ts+26133 /* "no such thread" */, 0))
return TCL_ERROR
}
client_wait(tls, (uintptr(unsafe.Pointer(&threadset1)) + uintptr(i)*1688))
@@ -57337,7 +59117,7 @@ func tcl_client_finalize(tls *libc.TLS, NotUsed uintptr, interp uintptr, argc in
// This procedure runs in the thread to reset a virtual machine.
func do_reset(tls *libc.TLS, p uintptr) { /* test7.c:608:13: */
if (*Thread1)(unsafe.Pointer(p)).FpStmt == uintptr(0) {
- (*Thread1)(unsafe.Pointer(p)).FzErr = libc.AssignPtrUintptr(p+64 /* &.zStaticErr */, ts+25396 /* "no virtual machi..." */)
+ (*Thread1)(unsafe.Pointer(p)).FzErr = libc.AssignPtrUintptr(p+64 /* &.zStaticErr */, ts+26209 /* "no virtual machi..." */)
(*Thread1)(unsafe.Pointer(p)).Frc = SQLITE_ERROR
return
}
@@ -57354,8 +59134,8 @@ func tcl_client_reset(tls *libc.TLS, NotUsed uintptr, interp uintptr, argc int32
var i int32
if argc != 2 {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+14631 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
- ts+25425 /* " IDL" */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15410 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
+ ts+26238 /* " IDL" */, 0))
return TCL_ERROR
}
i = parse_client_id(tls, interp, *(*uintptr)(unsafe.Pointer(argv + 1*8)))
@@ -57363,7 +59143,7 @@ func tcl_client_reset(tls *libc.TLS, NotUsed uintptr, interp uintptr, argc int32
return TCL_ERROR
}
if !(threadset1[i].Fbusy != 0) {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+32, ts+25320 /* "no such thread" */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+32, ts+26133 /* "no such thread" */, 0))
return TCL_ERROR
}
client_wait(tls, (uintptr(unsafe.Pointer(&threadset1)) + uintptr(i)*1688))
@@ -57385,8 +59165,8 @@ func tcl_client_swap(tls *libc.TLS, NotUsed uintptr, interp uintptr, argc int32,
var j int32
var temp uintptr
if argc != 3 {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+14631 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
- ts+25430 /* " ID1 ID2" */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15410 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
+ ts+26243 /* " ID1 ID2" */, 0))
return TCL_ERROR
}
i = parse_client_id(tls, interp, *(*uintptr)(unsafe.Pointer(argv + 1*8)))
@@ -57394,7 +59174,7 @@ func tcl_client_swap(tls *libc.TLS, NotUsed uintptr, interp uintptr, argc int32,
return TCL_ERROR
}
if !(threadset1[i].Fbusy != 0) {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+32, ts+25320 /* "no such thread" */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+32, ts+26133 /* "no such thread" */, 0))
return TCL_ERROR
}
client_wait(tls, (uintptr(unsafe.Pointer(&threadset1)) + uintptr(i)*1688))
@@ -57403,7 +59183,7 @@ func tcl_client_swap(tls *libc.TLS, NotUsed uintptr, interp uintptr, argc int32,
return TCL_ERROR
}
if !(threadset1[j].Fbusy != 0) {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+48, ts+25320 /* "no such thread" */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+48, ts+26133 /* "no such thread" */, 0))
return TCL_ERROR
}
client_wait(tls, (uintptr(unsafe.Pointer(&threadset1)) + uintptr(j)*1688))
@@ -57430,19 +59210,19 @@ var aCmd6 = [13]struct {
FzName uintptr
FxProc uintptr
}{
- {FzName: ts + 26454 /* "client_create" */, FxProc: 0},
- {FzName: ts + 26468 /* "client_wait" */, FxProc: 0},
- {FzName: ts + 26480 /* "client_halt" */, FxProc: 0},
- {FzName: ts + 26492 /* "client_argc" */, FxProc: 0},
- {FzName: ts + 26504 /* "client_argv" */, FxProc: 0},
- {FzName: ts + 26516 /* "client_colname" */, FxProc: 0},
- {FzName: ts + 26531 /* "client_result" */, FxProc: 0},
- {FzName: ts + 26545 /* "client_error" */, FxProc: 0},
- {FzName: ts + 26558 /* "client_compile" */, FxProc: 0},
- {FzName: ts + 26573 /* "client_step" */, FxProc: 0},
- {FzName: ts + 26585 /* "client_reset" */, FxProc: 0},
- {FzName: ts + 26598 /* "client_finalize" */, FxProc: 0},
- {FzName: ts + 26614 /* "client_swap" */, FxProc: 0},
+ {FzName: ts + 27267 /* "client_create" */, FxProc: 0},
+ {FzName: ts + 27281 /* "client_wait" */, FxProc: 0},
+ {FzName: ts + 27293 /* "client_halt" */, FxProc: 0},
+ {FzName: ts + 27305 /* "client_argc" */, FxProc: 0},
+ {FzName: ts + 27317 /* "client_argv" */, FxProc: 0},
+ {FzName: ts + 27329 /* "client_colname" */, FxProc: 0},
+ {FzName: ts + 27344 /* "client_result" */, FxProc: 0},
+ {FzName: ts + 27358 /* "client_error" */, FxProc: 0},
+ {FzName: ts + 27371 /* "client_compile" */, FxProc: 0},
+ {FzName: ts + 27386 /* "client_step" */, FxProc: 0},
+ {FzName: ts + 27398 /* "client_reset" */, FxProc: 0},
+ {FzName: ts + 27411 /* "client_finalize" */, FxProc: 0},
+ {FzName: ts + 27427 /* "client_swap" */, FxProc: 0},
} /* test7.c:694:5 */
// end block for C++
@@ -57452,7 +59232,7 @@ var aCmd6 = [13]struct {
// c-basic-offset: 4
// fill-column: 78
// End:
-// Copyright (C) 1991-2018 Free Software Foundation, Inc.
+// Copyright (C) 1991-2020 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
@@ -57467,11 +59247,11 @@ var aCmd6 = [13]struct {
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// ISO C99 Standard: 7.20 General utilities
-// Copyright (C) 1991-2018 Free Software Foundation, Inc.
+// Copyright (C) 1991-2020 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
@@ -57486,7 +59266,7 @@ var aCmd6 = [13]struct {
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// ISO C99 Standard: 7.21 String handling
@@ -57512,7 +59292,7 @@ type echo_vtab1 = struct {
// c-basic-offset: 4
// fill-column: 78
// End:
-// Copyright (C) 1991-2018 Free Software Foundation, Inc.
+// Copyright (C) 1991-2020 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
@@ -57527,11 +59307,11 @@ type echo_vtab1 = struct {
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// ISO C99 Standard: 7.20 General utilities
-// Copyright (C) 1991-2018 Free Software Foundation, Inc.
+// Copyright (C) 1991-2020 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
@@ -57546,7 +59326,7 @@ type echo_vtab1 = struct {
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// ISO C99 Standard: 7.21 String handling
@@ -57566,10 +59346,10 @@ func simulateVtabError(tls *libc.TLS, p uintptr, zMethod uintptr) int32 { /* tes
// var zVarname [128]int8 at bp+24, 128
*(*int8)(unsafe.Pointer(bp + 24 /* &zVarname[0] */ + 127)) = int8(0)
- sqlite3.Xsqlite3_snprintf(tls, 127, bp+24 /* &zVarname[0] */, ts+26626 /* "echo_module_fail..." */, libc.VaList(bp, zMethod, (*echo_vtab)(unsafe.Pointer(p)).FzTableName))
+ sqlite3.Xsqlite3_snprintf(tls, 127, bp+24 /* &zVarname[0] */, ts+27439 /* "echo_module_fail..." */, libc.VaList(bp, zMethod, (*echo_vtab)(unsafe.Pointer(p)).FzTableName))
zErr = tcl.XTcl_GetVar2(tls, (*echo_vtab)(unsafe.Pointer(p)).Finterp, bp+24 /* &zVarname[0] */, uintptr(0), TCL_GLOBAL_ONLY)
if zErr != 0 {
- (*echo_vtab)(unsafe.Pointer(p)).Fbase.FzErrMsg = sqlite3.Xsqlite3_mprintf(tls, ts+26650 /* "echo-vtab-error:..." */, libc.VaList(bp+16, zErr))
+ (*echo_vtab)(unsafe.Pointer(p)).Fbase.FzErrMsg = sqlite3.Xsqlite3_mprintf(tls, ts+27463 /* "echo-vtab-error:..." */, libc.VaList(bp+16, zErr))
}
return (libc.Bool32(zErr != uintptr(0)))
}
@@ -57653,7 +59433,7 @@ func getColumnNames(tls *libc.TLS, db uintptr, zTab uintptr, paCol uintptr, pnCo
// Prepare the statement "SELECT * FROM ". The column names
// of the result set of the compiled SELECT will be the same as
// the column names of table .
- zSql = sqlite3.Xsqlite3_mprintf(tls, ts+26670 /* "SELECT * FROM %Q" */, libc.VaList(bp, zTab))
+ zSql = sqlite3.Xsqlite3_mprintf(tls, ts+27483 /* "SELECT * FROM %Q" */, libc.VaList(bp, zTab))
if !(!(zSql != 0)) {
goto __1
}
@@ -57770,7 +59550,7 @@ __1:
;
// Compile an sqlite pragma to loop through all indices on table zTab
- zSql = sqlite3.Xsqlite3_mprintf(tls, ts+26687 /* "PRAGMA index_lis..." */, libc.VaList(bp, zTab))
+ zSql = sqlite3.Xsqlite3_mprintf(tls, ts+27500 /* "PRAGMA index_lis..." */, libc.VaList(bp, zTab))
if !(!(zSql != 0)) {
goto __2
}
@@ -57795,7 +59575,7 @@ __3:
goto __3
__5:
;
- zSql = sqlite3.Xsqlite3_mprintf(tls, ts+26709 /* "PRAGMA index_inf..." */, libc.VaList(bp+8, zIdx))
+ zSql = sqlite3.Xsqlite3_mprintf(tls, ts+27522 /* "PRAGMA index_inf..." */, libc.VaList(bp+8, zIdx))
if !(!(zSql != 0)) {
goto __6
}
@@ -57857,7 +59637,7 @@ __12:
// the string element zArg to that list in interpreter interp.
func appendToEchoModule(tls *libc.TLS, interp uintptr, zArg uintptr) { /* test8.c:313:13: */
var flags int32 = ((TCL_APPEND_VALUE | TCL_LIST_ELEMENT) | TCL_GLOBAL_ONLY)
- tcl.XTcl_SetVar2(tls, interp, ts+26731 /* "echo_module" */, uintptr(0), func() uintptr {
+ tcl.XTcl_SetVar2(tls, interp, ts+27544 /* "echo_module" */, uintptr(0), func() uintptr {
if zArg != 0 {
return zArg
}
@@ -57889,7 +59669,7 @@ func echoDeclareVtab(tls *libc.TLS, pVtab uintptr, db uintptr) int32 { /* test8.
if (*echo_vtab)(unsafe.Pointer(pVtab)).FzTableName != 0 {
*(*uintptr)(unsafe.Pointer(bp /* pStmt */)) = uintptr(0)
rc = sqlite3.Xsqlite3_prepare(tls, db,
- ts+26743, /* "SELECT sql FROM ..." */
+ ts+27556, /* "SELECT sql FROM ..." */
-1, bp /* &pStmt */, uintptr(0))
if rc == SQLITE_OK {
sqlite3.Xsqlite3_bind_text(tls, *(*uintptr)(unsafe.Pointer(bp /* pStmt */)), 1, (*echo_vtab)(unsafe.Pointer(pVtab)).FzTableName, -1, uintptr(0))
@@ -57932,14 +59712,17 @@ func echoDestructor(tls *libc.TLS, pVtab uintptr) int32 { /* test8.c:378:12: */
return 0
}
-type EchoModule1 = struct{ Finterp uintptr } /* test8.c:389:9 */
+type EchoModule1 = struct {
+ Finterp uintptr
+ Fdb uintptr
+} /* test8.c:389:9 */
type EchoModule = EchoModule1 /* test8.c:389:27 */
// This function is called to do the work of the xConnect() method -
// to allocate the required in-memory structures for a newly connected
// virtual table.
-func echoConstructor(tls *libc.TLS, db uintptr, pAux uintptr, argc int32, argv uintptr, ppVtab uintptr, pzErr uintptr) int32 { /* test8.c:399:12: */
+func echoConstructor(tls *libc.TLS, db uintptr, pAux uintptr, argc int32, argv uintptr, ppVtab uintptr, pzErr uintptr) int32 { /* test8.c:400:12: */
bp := tls.Alloc(32)
defer tls.Free(32)
@@ -57967,7 +59750,7 @@ func echoConstructor(tls *libc.TLS, db uintptr, pAux uintptr, argc int32, argv u
(*echo_vtab)(unsafe.Pointer(pVtab)).FzTableName = sqlite3.Xsqlite3_mprintf(tls, ts /* "%s" */, libc.VaList(bp+8, *(*uintptr)(unsafe.Pointer(argv + 3*8))))
dequoteString(tls, (*echo_vtab)(unsafe.Pointer(pVtab)).FzTableName)
if ((*echo_vtab)(unsafe.Pointer(pVtab)).FzTableName != 0) && (int32(*(*int8)(unsafe.Pointer((*echo_vtab)(unsafe.Pointer(pVtab)).FzTableName))) == '*') {
- var z uintptr = sqlite3.Xsqlite3_mprintf(tls, ts+26807 /* "%s%s" */, libc.VaList(bp+16, *(*uintptr)(unsafe.Pointer(argv + 2*8)), ((*echo_vtab)(unsafe.Pointer(pVtab)).FzTableName+1)))
+ var z uintptr = sqlite3.Xsqlite3_mprintf(tls, ts+27620 /* "%s%s" */, libc.VaList(bp+16, *(*uintptr)(unsafe.Pointer(argv + 2*8)), ((*echo_vtab)(unsafe.Pointer(pVtab)).FzTableName+1)))
sqlite3.Xsqlite3_free(tls, (*echo_vtab)(unsafe.Pointer(pVtab)).FzTableName)
(*echo_vtab)(unsafe.Pointer(pVtab)).FzTableName = z
(*echo_vtab)(unsafe.Pointer(pVtab)).FisPattern = 1
@@ -57998,12 +59781,12 @@ func echoConstructor(tls *libc.TLS, db uintptr, pAux uintptr, argc int32, argv u
}
// Echo virtual table module xCreate method.
-func echoCreate(tls *libc.TLS, db uintptr, pAux uintptr, argc int32, argv uintptr, ppVtab uintptr, pzErr uintptr) int32 { /* test8.c:464:12: */
+func echoCreate(tls *libc.TLS, db uintptr, pAux uintptr, argc int32, argv uintptr, ppVtab uintptr, pzErr uintptr) int32 { /* test8.c:465:12: */
bp := tls.Alloc(24)
defer tls.Free(24)
var rc int32 = SQLITE_OK
- appendToEchoModule(tls, (*EchoModule)(unsafe.Pointer(pAux)).Finterp, ts+26812 /* "xCreate" */)
+ appendToEchoModule(tls, (*EchoModule)(unsafe.Pointer(pAux)).Finterp, ts+27625 /* "xCreate" */)
rc = echoConstructor(tls, db, pAux, argc, argv, ppVtab, pzErr)
// If there were two arguments passed to the module at the SQL level
@@ -58019,7 +59802,7 @@ func echoCreate(tls *libc.TLS, db uintptr, pAux uintptr, argc int32, argv uintpt
var zSql uintptr
var pVtab uintptr = *(*uintptr)(unsafe.Pointer(ppVtab))
(*echo_vtab)(unsafe.Pointer(pVtab)).FzLogName = sqlite3.Xsqlite3_mprintf(tls, ts /* "%s" */, libc.VaList(bp, *(*uintptr)(unsafe.Pointer(argv + 4*8))))
- zSql = sqlite3.Xsqlite3_mprintf(tls, ts+26820 /* "CREATE TABLE %Q(..." */, libc.VaList(bp+8, (*echo_vtab)(unsafe.Pointer(pVtab)).FzLogName))
+ zSql = sqlite3.Xsqlite3_mprintf(tls, ts+27633 /* "CREATE TABLE %Q(..." */, libc.VaList(bp+8, (*echo_vtab)(unsafe.Pointer(pVtab)).FzLogName))
rc = sqlite3.Xsqlite3_exec(tls, db, zSql, uintptr(0), uintptr(0), uintptr(0))
sqlite3.Xsqlite3_free(tls, zSql)
if rc != SQLITE_OK {
@@ -58040,30 +59823,30 @@ func echoCreate(tls *libc.TLS, db uintptr, pAux uintptr, argc int32, argv uintpt
}
// Echo virtual table module xConnect method.
-func echoConnect(tls *libc.TLS, db uintptr, pAux uintptr, argc int32, argv uintptr, ppVtab uintptr, pzErr uintptr) int32 { /* test8.c:512:12: */
- appendToEchoModule(tls, (*EchoModule)(unsafe.Pointer(pAux)).Finterp, ts+26844 /* "xConnect" */)
+func echoConnect(tls *libc.TLS, db uintptr, pAux uintptr, argc int32, argv uintptr, ppVtab uintptr, pzErr uintptr) int32 { /* test8.c:513:12: */
+ appendToEchoModule(tls, (*EchoModule)(unsafe.Pointer(pAux)).Finterp, ts+27657 /* "xConnect" */)
return echoConstructor(tls, db, pAux, argc, argv, ppVtab, pzErr)
}
// Echo virtual table module xDisconnect method.
-func echoDisconnect(tls *libc.TLS, pVtab uintptr) int32 { /* test8.c:526:12: */
- appendToEchoModule(tls, (*echo_vtab)(unsafe.Pointer(pVtab)).Finterp, ts+26853 /* "xDisconnect" */)
+func echoDisconnect(tls *libc.TLS, pVtab uintptr) int32 { /* test8.c:527:12: */
+ appendToEchoModule(tls, (*echo_vtab)(unsafe.Pointer(pVtab)).Finterp, ts+27666 /* "xDisconnect" */)
return echoDestructor(tls, pVtab)
}
// Echo virtual table module xDestroy method.
-func echoDestroy(tls *libc.TLS, pVtab uintptr) int32 { /* test8.c:534:12: */
+func echoDestroy(tls *libc.TLS, pVtab uintptr) int32 { /* test8.c:535:12: */
bp := tls.Alloc(8)
defer tls.Free(8)
var rc int32 = SQLITE_OK
var p uintptr = pVtab
- appendToEchoModule(tls, (*echo_vtab)(unsafe.Pointer(pVtab)).Finterp, ts+26865 /* "xDestroy" */)
+ appendToEchoModule(tls, (*echo_vtab)(unsafe.Pointer(pVtab)).Finterp, ts+27678 /* "xDestroy" */)
// Drop the "log" table, if one exists (see echoCreate() for details)
if (p != 0) && ((*echo_vtab)(unsafe.Pointer(p)).FzLogName != 0) {
var zSql uintptr
- zSql = sqlite3.Xsqlite3_mprintf(tls, ts+26874 /* "DROP TABLE %Q" */, libc.VaList(bp, (*echo_vtab)(unsafe.Pointer(p)).FzLogName))
+ zSql = sqlite3.Xsqlite3_mprintf(tls, ts+27687 /* "DROP TABLE %Q" */, libc.VaList(bp, (*echo_vtab)(unsafe.Pointer(p)).FzLogName))
rc = sqlite3.Xsqlite3_exec(tls, (*echo_vtab)(unsafe.Pointer(p)).Fdb, zSql, uintptr(0), uintptr(0), uintptr(0))
sqlite3.Xsqlite3_free(tls, zSql)
}
@@ -58075,9 +59858,9 @@ func echoDestroy(tls *libc.TLS, pVtab uintptr) int32 { /* test8.c:534:12: */
}
// Echo virtual table module xOpen method.
-func echoOpen(tls *libc.TLS, pVTab uintptr, ppCursor uintptr) int32 { /* test8.c:556:12: */
+func echoOpen(tls *libc.TLS, pVTab uintptr, ppCursor uintptr) int32 { /* test8.c:557:12: */
var pCur uintptr
- if simulateVtabError(tls, pVTab, ts+26888 /* "xOpen" */) != 0 {
+ if simulateVtabError(tls, pVTab, ts+27701 /* "xOpen" */) != 0 {
return SQLITE_ERROR
}
pCur = sqlite3.Xsqlite3MallocZero(tls, uint64(unsafe.Sizeof(echo_cursor{})))
@@ -58091,7 +59874,7 @@ func echoOpen(tls *libc.TLS, pVTab uintptr, ppCursor uintptr) int32 { /* test8.c
}
// Echo virtual table module xClose method.
-func echoClose(tls *libc.TLS, cur uintptr) int32 { /* test8.c:569:12: */
+func echoClose(tls *libc.TLS, cur uintptr) int32 { /* test8.c:570:12: */
var rc int32
var pCur uintptr = cur
var pStmt uintptr = (*echo_cursor)(unsafe.Pointer(pCur)).FpStmt
@@ -58103,7 +59886,7 @@ func echoClose(tls *libc.TLS, cur uintptr) int32 { /* test8.c:569:12: */
// Return non-zero if the cursor does not currently point to a valid record
// (i.e if the scan has finished), or zero otherwise.
-func echoEof(tls *libc.TLS, cur uintptr) int32 { /* test8.c:583:12: */
+func echoEof(tls *libc.TLS, cur uintptr) int32 { /* test8.c:584:12: */
return func() int32 {
if (*echo_cursor)(unsafe.Pointer(cur)).FpStmt != 0 {
return 0
@@ -58113,11 +59896,11 @@ func echoEof(tls *libc.TLS, cur uintptr) int32 { /* test8.c:583:12: */
}
// Echo virtual table module xNext method.
-func echoNext(tls *libc.TLS, cur uintptr) int32 { /* test8.c:590:12: */
+func echoNext(tls *libc.TLS, cur uintptr) int32 { /* test8.c:591:12: */
var rc int32 = SQLITE_OK
var pCur uintptr = cur
- if simulateVtabError(tls, (*sqlite3_vtab_cursor)(unsafe.Pointer(cur)).FpVtab, ts+26894 /* "xNext" */) != 0 {
+ if simulateVtabError(tls, (*sqlite3_vtab_cursor)(unsafe.Pointer(cur)).FpVtab, ts+27707 /* "xNext" */) != 0 {
return SQLITE_ERROR
}
@@ -58135,11 +59918,11 @@ func echoNext(tls *libc.TLS, cur uintptr) int32 { /* test8.c:590:12: */
}
// Echo virtual table module xColumn method.
-func echoColumn(tls *libc.TLS, cur uintptr, ctx uintptr, i int32) int32 { /* test8.c:614:12: */
+func echoColumn(tls *libc.TLS, cur uintptr, ctx uintptr, i int32) int32 { /* test8.c:615:12: */
var iCol int32 = (i + 1)
var pStmt uintptr = (*echo_cursor)(unsafe.Pointer(cur)).FpStmt
- if simulateVtabError(tls, (*sqlite3_vtab_cursor)(unsafe.Pointer(cur)).FpVtab, ts+26900 /* "xColumn" */) != 0 {
+ if simulateVtabError(tls, (*sqlite3_vtab_cursor)(unsafe.Pointer(cur)).FpVtab, ts+27713 /* "xColumn" */) != 0 {
return SQLITE_ERROR
}
@@ -58153,7 +59936,7 @@ func echoColumn(tls *libc.TLS, cur uintptr, ctx uintptr, i int32) int32 { /* tes
}
// Echo virtual table module xRowid method.
-func echoRowid(tls *libc.TLS, cur uintptr, pRowid uintptr) int32 { /* test8.c:634:12: */
+func echoRowid(tls *libc.TLS, cur uintptr, pRowid uintptr) int32 { /* test8.c:635:12: */
var pStmt uintptr = (*echo_cursor)(unsafe.Pointer(cur)).FpStmt
if simulateVtabError(tls, (*sqlite3_vtab_cursor)(unsafe.Pointer(cur)).FpVtab, ts+2165 /* "xRowid" */) != 0 {
@@ -58171,17 +59954,17 @@ func echoRowid(tls *libc.TLS, cur uintptr, pRowid uintptr) int32 { /* test8.c:63
// in echoBestIndex(), idxNum is set to the corresponding hash value.
// In echoFilter(), code assert()s that the supplied idxNum value is
// indeed the hash of the supplied idxStr.
-func hashString(tls *libc.TLS, zString uintptr) int32 { /* test8.c:654:12: */
- var val u322 = u322(0)
+func hashString(tls *libc.TLS, zString uintptr) int32 { /* test8.c:655:12: */
+ var val u32 = u32(0)
var ii int32
for ii = 0; *(*int8)(unsafe.Pointer(zString + uintptr(ii))) != 0; ii++ {
- val = ((val << 3) + u322(int32(*(*int8)(unsafe.Pointer(zString + uintptr(ii))))))
+ val = ((val << 3) + u32(int32(*(*int8)(unsafe.Pointer(zString + uintptr(ii))))))
}
- return (int32(val & u322(0x7fffffff)))
+ return (int32(val & u32(0x7fffffff)))
}
// Echo virtual table module xFilter method.
-func echoFilter(tls *libc.TLS, pVtabCursor uintptr, idxNum int32, idxStr uintptr, argc int32, argv uintptr) int32 { /* test8.c:666:12: */
+func echoFilter(tls *libc.TLS, pVtabCursor uintptr, idxNum int32, idxStr uintptr, argc int32, argv uintptr) int32 { /* test8.c:667:12: */
var rc int32
var i int32
@@ -58189,14 +59972,14 @@ func echoFilter(tls *libc.TLS, pVtabCursor uintptr, idxNum int32, idxStr uintptr
var pVtab uintptr = (*sqlite3_vtab_cursor)(unsafe.Pointer(pVtabCursor)).FpVtab
var db uintptr = (*echo_vtab)(unsafe.Pointer(pVtab)).Fdb
- if simulateVtabError(tls, pVtab, ts+26908 /* "xFilter" */) != 0 {
+ if simulateVtabError(tls, pVtab, ts+27721 /* "xFilter" */) != 0 {
return SQLITE_ERROR
}
// Check that idxNum matches idxStr
// Log arguments to the ::echo_module Tcl variable
- appendToEchoModule(tls, (*echo_vtab)(unsafe.Pointer(pVtab)).Finterp, ts+26908 /* "xFilter" */)
+ appendToEchoModule(tls, (*echo_vtab)(unsafe.Pointer(pVtab)).Finterp, ts+27721 /* "xFilter" */)
appendToEchoModule(tls, (*echo_vtab)(unsafe.Pointer(pVtab)).Finterp, idxStr)
for i = 0; i < argc; i++ {
appendToEchoModule(tls, (*echo_vtab)(unsafe.Pointer(pVtab)).Finterp, sqlite3.Xsqlite3_value_text(tls, *(*uintptr)(unsafe.Pointer(argv + uintptr(i)*8))))
@@ -58232,7 +60015,7 @@ func echoFilter(tls *libc.TLS, pVtabCursor uintptr, idxNum int32, idxStr uintptr
//
// If the third argument, doFree, is true, then sqlite3_free() is
// also called to free the buffer pointed to by zAppend.
-func string_concat(tls *libc.TLS, pzStr uintptr, zAppend uintptr, doFree int32, pRc uintptr) { /* test8.c:726:13: */
+func string_concat(tls *libc.TLS, pzStr uintptr, zAppend uintptr, doFree int32, pRc uintptr) { /* test8.c:727:13: */
bp := tls.Alloc(24)
defer tls.Free(24)
@@ -58246,7 +60029,7 @@ func string_concat(tls *libc.TLS, pzStr uintptr, zAppend uintptr, doFree int32,
} else {
if zIn != 0 {
var zTemp uintptr = zIn
- zIn = sqlite3.Xsqlite3_mprintf(tls, ts+26807 /* "%s%s" */, libc.VaList(bp, zIn, zAppend))
+ zIn = sqlite3.Xsqlite3_mprintf(tls, ts+27620 /* "%s%s" */, libc.VaList(bp, zIn, zAppend))
sqlite3.Xsqlite3_free(tls, zTemp)
} else {
zIn = sqlite3.Xsqlite3_mprintf(tls, ts /* "%s" */, libc.VaList(bp+16, zAppend))
@@ -58269,13 +60052,13 @@ func string_concat(tls *libc.TLS, pzStr uintptr, zAppend uintptr, doFree int32,
// If the current SQLite version is earlier than 3.10.0, this is just "*"
// (select all columns). Or, for version 3.10.0 and greater, the list of
// columns identified by the pIdxInfo->colUsed mask.
-func echoSelectList(tls *libc.TLS, pTab uintptr, pIdxInfo uintptr) uintptr { /* test8.c:762:13: */
+func echoSelectList(tls *libc.TLS, pTab uintptr, pIdxInfo uintptr) uintptr { /* test8.c:763:13: */
bp := tls.Alloc(24)
defer tls.Free(24)
var zRet uintptr = uintptr(0)
if sqlite3.Xsqlite3_libversion_number(tls) < 3010000 {
- zRet = sqlite3.Xsqlite3_mprintf(tls, ts+26916 /* ", *" */, 0)
+ zRet = sqlite3.Xsqlite3_mprintf(tls, ts+27729 /* ", *" */, 0)
} else {
var i int32
for i = 0; i < (*echo_vtab)(unsafe.Pointer(pTab)).FnCol; i++ {
@@ -58285,9 +60068,9 @@ func echoSelectList(tls *libc.TLS, pTab uintptr, pIdxInfo uintptr) uintptr { /*
}
return i
}()))) != 0 {
- zRet = sqlite3.Xsqlite3_mprintf(tls, ts+26920 /* "%z, %s" */, libc.VaList(bp, zRet, *(*uintptr)(unsafe.Pointer((*echo_vtab)(unsafe.Pointer(pTab)).FaCol + uintptr(i)*8))))
+ zRet = sqlite3.Xsqlite3_mprintf(tls, ts+27733 /* "%z, %s" */, libc.VaList(bp, zRet, *(*uintptr)(unsafe.Pointer((*echo_vtab)(unsafe.Pointer(pTab)).FaCol + uintptr(i)*8))))
} else {
- zRet = sqlite3.Xsqlite3_mprintf(tls, ts+26927 /* "%z, NULL" */, libc.VaList(bp+16, zRet))
+ zRet = sqlite3.Xsqlite3_mprintf(tls, ts+27740 /* "%z, NULL" */, libc.VaList(bp+16, zRet))
}
if !(zRet != 0) {
break
@@ -58317,7 +60100,7 @@ func echoSelectList(tls *libc.TLS, pTab uintptr, pIdxInfo uintptr) uintptr { /*
//
// where the and are determined
// by the contents of the structure pointed to by the pIdxInfo argument.
-func echoBestIndex(tls *libc.TLS, tab uintptr, pIdxInfo uintptr) int32 { /* test8.c:802:12: */
+func echoBestIndex(tls *libc.TLS, tab uintptr, pIdxInfo uintptr) int32 { /* test8.c:803:12: */
bp := tls.Alloc(100)
defer tls.Free(100)
@@ -58326,7 +60109,7 @@ func echoBestIndex(tls *libc.TLS, tab uintptr, pIdxInfo uintptr) int32 { /* test
var zCol uintptr = uintptr(0)
var zNew uintptr
var nArg int32 = 0
- var zSep uintptr = ts + 8840 /* "WHERE" */
+ var zSep uintptr = ts + 8838 /* "WHERE" */
var pVtab uintptr = tab
*(*uintptr)(unsafe.Pointer(bp + 80 /* pStmt */)) = uintptr(0)
var interp uintptr = (*echo_vtab)(unsafe.Pointer(pVtab)).Finterp
@@ -58337,11 +60120,11 @@ func echoBestIndex(tls *libc.TLS, tab uintptr, pIdxInfo uintptr) int32 { /* test
var useCost int32 = 0
var cost float64 = float64(0)
var isIgnoreUsable int32 = 0
- if tcl.XTcl_GetVar2(tls, interp, ts+26936 /* "echo_module_igno..." */, uintptr(0), TCL_GLOBAL_ONLY) != 0 {
+ if tcl.XTcl_GetVar2(tls, interp, ts+27749 /* "echo_module_igno..." */, uintptr(0), TCL_GLOBAL_ONLY) != 0 {
isIgnoreUsable = 1
}
- if simulateVtabError(tls, pVtab, ts+26962 /* "xBestIndex" */) != 0 {
+ if simulateVtabError(tls, pVtab, ts+27775 /* "xBestIndex" */) != 0 {
return SQLITE_ERROR
}
@@ -58349,11 +60132,11 @@ func echoBestIndex(tls *libc.TLS, tab uintptr, pIdxInfo uintptr) int32 { /* test
// variable nRow. The 'estimated-cost' of the scan will be the number of
// rows in the table for a linear scan, or the log (base 2) of the
// number of rows if the proposed scan uses an index.
- if tcl.XTcl_GetVar2(tls, interp, ts+26973 /* "echo_module_cost" */, uintptr(0), TCL_GLOBAL_ONLY) != 0 {
- cost = libc.Xatof(tls, tcl.XTcl_GetVar2(tls, interp, ts+26973 /* "echo_module_cost" */, uintptr(0), TCL_GLOBAL_ONLY))
+ if tcl.XTcl_GetVar2(tls, interp, ts+27786 /* "echo_module_cost" */, uintptr(0), TCL_GLOBAL_ONLY) != 0 {
+ cost = libc.Xatof(tls, tcl.XTcl_GetVar2(tls, interp, ts+27786 /* "echo_module_cost" */, uintptr(0), TCL_GLOBAL_ONLY))
useCost = 1
} else {
- *(*uintptr)(unsafe.Pointer(bp + 88 /* zQuery */)) = sqlite3.Xsqlite3_mprintf(tls, ts+26990 /* "SELECT count(*) ..." */, libc.VaList(bp, (*echo_vtab)(unsafe.Pointer(pVtab)).FzTableName))
+ *(*uintptr)(unsafe.Pointer(bp + 88 /* zQuery */)) = sqlite3.Xsqlite3_mprintf(tls, ts+27803 /* "SELECT count(*) ..." */, libc.VaList(bp, (*echo_vtab)(unsafe.Pointer(pVtab)).FzTableName))
if !(*(*uintptr)(unsafe.Pointer(bp + 88 /* zQuery */)) != 0) {
return SQLITE_NOMEM
}
@@ -58374,7 +60157,7 @@ func echoBestIndex(tls *libc.TLS, tab uintptr, pIdxInfo uintptr) int32 { /* test
if !(zCol != 0) {
return SQLITE_NOMEM
}
- *(*uintptr)(unsafe.Pointer(bp + 88 /* zQuery */)) = sqlite3.Xsqlite3_mprintf(tls, ts+27014 /* "SELECT rowid%z F..." */, libc.VaList(bp+8, zCol, (*echo_vtab)(unsafe.Pointer(pVtab)).FzTableName))
+ *(*uintptr)(unsafe.Pointer(bp + 88 /* zQuery */)) = sqlite3.Xsqlite3_mprintf(tls, ts+27827 /* "SELECT rowid%z F..." */, libc.VaList(bp+8, zCol, (*echo_vtab)(unsafe.Pointer(pVtab)).FzTableName))
if !(*(*uintptr)(unsafe.Pointer(bp + 88 /* zQuery */)) != 0) {
return SQLITE_NOMEM
}
@@ -58397,29 +60180,29 @@ func echoBestIndex(tls *libc.TLS, tab uintptr, pIdxInfo uintptr) int32 { /* test
if iCol >= 0 {
zNewCol = *(*uintptr)(unsafe.Pointer((*echo_vtab)(unsafe.Pointer(pVtab)).FaCol + uintptr(iCol)*8))
} else {
- zNewCol = ts + 27037 /* "rowid" */
+ zNewCol = ts + 27850 /* "rowid" */
}
var zOp uintptr = uintptr(0)
useIdx = 1
switch int32((*sqlite3_index_constraint)(unsafe.Pointer(pConstraint)).Fop) {
case SQLITE_INDEX_CONSTRAINT_EQ:
- zOp = ts + 27043 /* "=" */
+ zOp = ts + 27856 /* "=" */
break
fallthrough
case SQLITE_INDEX_CONSTRAINT_LT:
- zOp = ts + 27045 /* "<" */
+ zOp = ts + 27858 /* "<" */
break
fallthrough
case SQLITE_INDEX_CONSTRAINT_GT:
- zOp = ts + 27047 /* ">" */
+ zOp = ts + 27860 /* ">" */
break
fallthrough
case SQLITE_INDEX_CONSTRAINT_LE:
- zOp = ts + 27049 /* "<=" */
+ zOp = ts + 27862 /* "<=" */
break
fallthrough
case SQLITE_INDEX_CONSTRAINT_GE:
- zOp = ts + 27052 /* ">=" */
+ zOp = ts + 27865 /* ">=" */
break
fallthrough
case SQLITE_INDEX_CONSTRAINT_MATCH:
@@ -58429,30 +60212,30 @@ func echoBestIndex(tls *libc.TLS, tab uintptr, pIdxInfo uintptr) int32 { /* test
// of code requires the first letter of this operator to be
// in upper-case to trigger the special MATCH handling (i.e.
// wrapping the bound parameter with literal '%'s).
- zOp = ts + 27055 /* "LIKE" */
+ zOp = ts + 27868 /* "LIKE" */
break
fallthrough
case SQLITE_INDEX_CONSTRAINT_LIKE:
- zOp = ts + 27060 /* "like" */
+ zOp = ts + 27873 /* "like" */
break
fallthrough
case SQLITE_INDEX_CONSTRAINT_GLOB:
- zOp = ts + 27065 /* "glob" */
+ zOp = ts + 27878 /* "glob" */
break
fallthrough
case SQLITE_INDEX_CONSTRAINT_REGEXP:
- zOp = ts + 6345 /* "regexp" */
+ zOp = ts + 6335 /* "regexp" */
break
}
if zOp != 0 {
if int32(*(*int8)(unsafe.Pointer(zOp))) == 'L' {
- zNew = sqlite3.Xsqlite3_mprintf(tls, ts+27070, /* " %s %s LIKE (SEL..." */
+ zNew = sqlite3.Xsqlite3_mprintf(tls, ts+27883, /* " %s %s LIKE (SEL..." */
libc.VaList(bp+24, zSep, zNewCol))
} else {
- zNew = sqlite3.Xsqlite3_mprintf(tls, ts+27105 /* " %s %s %s ?" */, libc.VaList(bp+40, zSep, zNewCol, zOp))
+ zNew = sqlite3.Xsqlite3_mprintf(tls, ts+27918 /* " %s %s %s ?" */, libc.VaList(bp+40, zSep, zNewCol, zOp))
}
string_concat(tls, bp+88 /* &zQuery */, zNew, 1, bp+96 /* &rc */)
- zSep = ts + 8867 /* "AND" */
+ zSep = ts + 8865 /* "AND" */
(*sqlite3_index_constraint_usage)(unsafe.Pointer(pUsage)).FargvIndex = libc.PreIncInt32(&nArg, 1)
(*sqlite3_index_constraint_usage)(unsafe.Pointer(pUsage)).Fomit = uint8(1)
}
@@ -58468,20 +60251,20 @@ func echoBestIndex(tls *libc.TLS, tab uintptr, pIdxInfo uintptr) int32 { /* test
if iCol >= 0 {
zNewCol = *(*uintptr)(unsafe.Pointer((*echo_vtab)(unsafe.Pointer(pVtab)).FaCol + uintptr(iCol)*8))
} else {
- zNewCol = ts + 27037 /* "rowid" */
+ zNewCol = ts + 27850 /* "rowid" */
}
var zDir uintptr
if (*sqlite3_index_orderby)(unsafe.Pointer((*sqlite3_index_info)(unsafe.Pointer(pIdxInfo)).FaOrderBy)).Fdesc != 0 {
- zDir = ts + 27117 /* "DESC" */
+ zDir = ts + 27930 /* "DESC" */
} else {
- zDir = ts + 27122 /* "ASC" */
+ zDir = ts + 27935 /* "ASC" */
}
- zNew = sqlite3.Xsqlite3_mprintf(tls, ts+27126 /* " ORDER BY %s %s" */, libc.VaList(bp+64, zNewCol, zDir))
+ zNew = sqlite3.Xsqlite3_mprintf(tls, ts+27939 /* " ORDER BY %s %s" */, libc.VaList(bp+64, zNewCol, zDir))
string_concat(tls, bp+88 /* &zQuery */, zNew, 1, bp+96 /* &rc */)
(*sqlite3_index_info)(unsafe.Pointer(pIdxInfo)).ForderByConsumed = 1
}
- appendToEchoModule(tls, (*echo_vtab)(unsafe.Pointer(pVtab)).Finterp, ts+26962 /* "xBestIndex" */)
+ appendToEchoModule(tls, (*echo_vtab)(unsafe.Pointer(pVtab)).Finterp, ts+27775 /* "xBestIndex" */)
appendToEchoModule(tls, (*echo_vtab)(unsafe.Pointer(pVtab)).Finterp, *(*uintptr)(unsafe.Pointer(bp + 88 /* zQuery */)))
@@ -58518,7 +60301,7 @@ func echoBestIndex(tls *libc.TLS, tab uintptr, pIdxInfo uintptr) int32 { /* test
// NULL NULL (nCol args) INSERT INTO (automatic rowid value)
// NULL INTEGER (nCol args) INSERT (incl. rowid value)
//
-func echoUpdate(tls *libc.TLS, tab uintptr, nData int32, apData uintptr, pRowid uintptr) int32 { /* test8.c:968:5: */
+func echoUpdate(tls *libc.TLS, tab uintptr, nData int32, apData uintptr, pRowid uintptr) int32 { /* test8.c:969:5: */
bp := tls.Alloc(136)
defer tls.Free(136)
@@ -58535,14 +60318,14 @@ func echoUpdate(tls *libc.TLS, tab uintptr, nData int32, apData uintptr, pRowid
// Ticket #3083 - make sure we always start a transaction prior to
// making any changes to a virtual table
- if simulateVtabError(tls, pVtab, ts+27142 /* "xUpdate" */) != 0 {
+ if simulateVtabError(tls, pVtab, ts+27955 /* "xUpdate" */) != 0 {
return SQLITE_ERROR
}
// If apData[0] is an integer and nData>1 then do an UPDATE
if (nData > 1) && (sqlite3.Xsqlite3_value_type(tls, *(*uintptr)(unsafe.Pointer(apData))) == SQLITE_INTEGER) {
- var zSep uintptr = ts + 27150 /* " SET" */
- *(*uintptr)(unsafe.Pointer(bp + 96 /* z */)) = sqlite3.Xsqlite3_mprintf(tls, ts+27155 /* "UPDATE %Q" */, libc.VaList(bp, (*echo_vtab)(unsafe.Pointer(pVtab)).FzTableName))
+ var zSep uintptr = ts + 27963 /* " SET" */
+ *(*uintptr)(unsafe.Pointer(bp + 96 /* z */)) = sqlite3.Xsqlite3_mprintf(tls, ts+27968 /* "UPDATE %Q" */, libc.VaList(bp, (*echo_vtab)(unsafe.Pointer(pVtab)).FzTableName))
if !(*(*uintptr)(unsafe.Pointer(bp + 96 /* z */)) != 0) {
*(*int32)(unsafe.Pointer(bp + 104 /* rc */)) = SQLITE_NOMEM
}
@@ -58551,20 +60334,20 @@ func echoUpdate(tls *libc.TLS, tab uintptr, nData int32, apData uintptr, pRowid
bindArgZero = 1
if bindArgOne != 0 {
- string_concat(tls, bp+96 /* &z */, ts+27165 /* " SET rowid=?1 " */, 0, bp+104 /* &rc */)
- zSep = ts + 4629 /* "," */
+ string_concat(tls, bp+96 /* &z */, ts+27978 /* " SET rowid=?1 " */, 0, bp+104 /* &rc */)
+ zSep = ts + 4619 /* "," */
}
for i = 2; i < nData; i++ {
if *(*uintptr)(unsafe.Pointer(apData + uintptr(i)*8)) == uintptr(0) {
continue
}
string_concat(tls, bp+96 /* &z */, sqlite3.Xsqlite3_mprintf(tls,
- ts+27180 /* "%s %Q=?%d" */, libc.VaList(bp+8, zSep, *(*uintptr)(unsafe.Pointer((*echo_vtab)(unsafe.Pointer(pVtab)).FaCol + uintptr((i-2))*8)), i)), 1, bp+104 /* &rc */)
- zSep = ts + 4629 /* "," */
+ ts+27993 /* "%s %Q=?%d" */, libc.VaList(bp+8, zSep, *(*uintptr)(unsafe.Pointer((*echo_vtab)(unsafe.Pointer(pVtab)).FaCol + uintptr((i-2))*8)), i)), 1, bp+104 /* &rc */)
+ zSep = ts + 4619 /* "," */
}
- string_concat(tls, bp+96 /* &z */, sqlite3.Xsqlite3_mprintf(tls, ts+27190 /* " WHERE rowid=?%d" */, libc.VaList(bp+32, nData)), 1, bp+104 /* &rc */)
+ string_concat(tls, bp+96 /* &z */, sqlite3.Xsqlite3_mprintf(tls, ts+28003 /* " WHERE rowid=?%d" */, libc.VaList(bp+32, nData)), 1, bp+104 /* &rc */)
} else if (nData == 1) && (sqlite3.Xsqlite3_value_type(tls, *(*uintptr)(unsafe.Pointer(apData))) == SQLITE_INTEGER) {
- *(*uintptr)(unsafe.Pointer(bp + 96 /* z */)) = sqlite3.Xsqlite3_mprintf(tls, ts+27207 /* "DELETE FROM %Q W..." */, libc.VaList(bp+40, (*echo_vtab)(unsafe.Pointer(pVtab)).FzTableName))
+ *(*uintptr)(unsafe.Pointer(bp + 96 /* z */)) = sqlite3.Xsqlite3_mprintf(tls, ts+28020 /* "DELETE FROM %Q W..." */, libc.VaList(bp+40, (*echo_vtab)(unsafe.Pointer(pVtab)).FzTableName))
if !(*(*uintptr)(unsafe.Pointer(bp + 96 /* z */)) != 0) {
*(*int32)(unsafe.Pointer(bp + 104 /* rc */)) = SQLITE_NOMEM
}
@@ -58574,26 +60357,26 @@ func echoUpdate(tls *libc.TLS, tab uintptr, nData int32, apData uintptr, pRowid
*(*uintptr)(unsafe.Pointer(bp + 112 /* zInsert */)) = uintptr(0)
*(*uintptr)(unsafe.Pointer(bp + 120 /* zValues */)) = uintptr(0)
- *(*uintptr)(unsafe.Pointer(bp + 112 /* zInsert */)) = sqlite3.Xsqlite3_mprintf(tls, ts+27239 /* "INSERT INTO %Q (" */, libc.VaList(bp+48, (*echo_vtab)(unsafe.Pointer(pVtab)).FzTableName))
+ *(*uintptr)(unsafe.Pointer(bp + 112 /* zInsert */)) = sqlite3.Xsqlite3_mprintf(tls, ts+28052 /* "INSERT INTO %Q (" */, libc.VaList(bp+48, (*echo_vtab)(unsafe.Pointer(pVtab)).FzTableName))
if !(*(*uintptr)(unsafe.Pointer(bp + 112 /* zInsert */)) != 0) {
*(*int32)(unsafe.Pointer(bp + 104 /* rc */)) = SQLITE_NOMEM
}
if sqlite3.Xsqlite3_value_type(tls, *(*uintptr)(unsafe.Pointer(apData + 1*8))) == SQLITE_INTEGER {
bindArgOne = 1
- *(*uintptr)(unsafe.Pointer(bp + 120 /* zValues */)) = sqlite3.Xsqlite3_mprintf(tls, ts+3276 /* "?" */, 0)
- string_concat(tls, bp+112 /* &zInsert */, ts+27037 /* "rowid" */, 0, bp+104 /* &rc */)
+ *(*uintptr)(unsafe.Pointer(bp + 120 /* zValues */)) = sqlite3.Xsqlite3_mprintf(tls, ts+3266 /* "?" */, 0)
+ string_concat(tls, bp+112 /* &zInsert */, ts+27850 /* "rowid" */, 0, bp+104 /* &rc */)
}
for ii = 2; ii < nData; ii++ {
string_concat(tls, bp+112, /* &zInsert */
- sqlite3.Xsqlite3_mprintf(tls, ts+27256 /* "%s%Q" */, libc.VaList(bp+56, func() uintptr {
+ sqlite3.Xsqlite3_mprintf(tls, ts+28069 /* "%s%Q" */, libc.VaList(bp+56, func() uintptr {
if *(*uintptr)(unsafe.Pointer(bp + 120 /* zValues */)) != 0 {
return ts + 90 /* ", " */
}
return ts + 489 /* "" */
}(), *(*uintptr)(unsafe.Pointer((*echo_vtab)(unsafe.Pointer(pVtab)).FaCol + uintptr((ii-2))*8)))), 1, bp+104 /* &rc */)
string_concat(tls, bp+120, /* &zValues */
- sqlite3.Xsqlite3_mprintf(tls, ts+27261 /* "%s?%d" */, libc.VaList(bp+72, func() uintptr {
+ sqlite3.Xsqlite3_mprintf(tls, ts+28074 /* "%s?%d" */, libc.VaList(bp+72, func() uintptr {
if *(*uintptr)(unsafe.Pointer(bp + 120 /* zValues */)) != 0 {
return ts + 90 /* ", " */
}
@@ -58602,7 +60385,7 @@ func echoUpdate(tls *libc.TLS, tab uintptr, nData int32, apData uintptr, pRowid
}
string_concat(tls, bp+96 /* &z */, *(*uintptr)(unsafe.Pointer(bp + 112 /* zInsert */)), 1, bp+104 /* &rc */)
- string_concat(tls, bp+96 /* &z */, ts+27267 /* ") VALUES(" */, 0, bp+104 /* &rc */)
+ string_concat(tls, bp+96 /* &z */, ts+28080 /* ") VALUES(" */, 0, bp+104 /* &rc */)
string_concat(tls, bp+96 /* &z */, *(*uintptr)(unsafe.Pointer(bp + 120 /* zValues */)), 1, bp+104 /* &rc */)
string_concat(tls, bp+96 /* &z */, ts+490 /* ")" */, 0, bp+104 /* &rc */)
} else {
@@ -58639,7 +60422,7 @@ func echoUpdate(tls *libc.TLS, tab uintptr, nData int32, apData uintptr, pRowid
*(*sqlite_int64)(unsafe.Pointer(pRowid)) = sqlite3.Xsqlite3_last_insert_rowid(tls, db)
}
if *(*int32)(unsafe.Pointer(bp + 104 /* rc */)) != SQLITE_OK {
- (*sqlite3_vtab)(unsafe.Pointer(tab)).FzErrMsg = sqlite3.Xsqlite3_mprintf(tls, ts+26650 /* "echo-vtab-error:..." */, libc.VaList(bp+88, sqlite3.Xsqlite3_errmsg(tls, db)))
+ (*sqlite3_vtab)(unsafe.Pointer(tab)).FzErrMsg = sqlite3.Xsqlite3_mprintf(tls, ts+27463 /* "echo-vtab-error:..." */, libc.VaList(bp+88, sqlite3.Xsqlite3_errmsg(tls, db)))
}
return *(*int32)(unsafe.Pointer(bp + 104 /* rc */))
@@ -58648,13 +60431,13 @@ func echoUpdate(tls *libc.TLS, tab uintptr, nData int32, apData uintptr, pRowid
// xBegin, xSync, xCommit and xRollback callbacks for echo module
// virtual tables. Do nothing other than add the name of the callback
// to the $::echo_module Tcl variable.
-func echoTransactionCall(tls *libc.TLS, tab uintptr, zCall uintptr) int32 { /* test8.c:1101:12: */
+func echoTransactionCall(tls *libc.TLS, tab uintptr, zCall uintptr) int32 { /* test8.c:1102:12: */
bp := tls.Alloc(8)
defer tls.Free(8)
var z uintptr
var pVtab uintptr = tab
- z = sqlite3.Xsqlite3_mprintf(tls, ts+27277 /* "echo(%s)" */, libc.VaList(bp, (*echo_vtab)(unsafe.Pointer(pVtab)).FzTableName))
+ z = sqlite3.Xsqlite3_mprintf(tls, ts+28090 /* "echo(%s)" */, libc.VaList(bp, (*echo_vtab)(unsafe.Pointer(pVtab)).FzTableName))
if z == uintptr(0) {
return SQLITE_NOMEM
}
@@ -58664,7 +60447,7 @@ func echoTransactionCall(tls *libc.TLS, tab uintptr, zCall uintptr) int32 { /* t
return SQLITE_OK
}
-func echoBegin(tls *libc.TLS, tab uintptr) int32 { /* test8.c:1111:12: */
+func echoBegin(tls *libc.TLS, tab uintptr) int32 { /* test8.c:1112:12: */
var rc int32
var pVtab uintptr = tab
var interp uintptr = (*echo_vtab)(unsafe.Pointer(pVtab)).Finterp
@@ -58673,17 +60456,17 @@ func echoBegin(tls *libc.TLS, tab uintptr) int32 { /* test8.c:1111:12: */
// Ticket #3083 - do not start a transaction if we are already in
// a transaction
- if simulateVtabError(tls, pVtab, ts+27286 /* "xBegin" */) != 0 {
+ if simulateVtabError(tls, pVtab, ts+28099 /* "xBegin" */) != 0 {
return SQLITE_ERROR
}
- rc = echoTransactionCall(tls, tab, ts+27286 /* "xBegin" */)
+ rc = echoTransactionCall(tls, tab, ts+28099 /* "xBegin" */)
if rc == SQLITE_OK {
// Check if the $::echo_module_begin_fail variable is defined. If it is,
// and it is set to the name of the real table underlying this virtual
// echo module table, then cause this xSync operation to fail.
- zVal = tcl.XTcl_GetVar2(tls, interp, ts+27293 /* "echo_module_begi..." */, uintptr(0), TCL_GLOBAL_ONLY)
+ zVal = tcl.XTcl_GetVar2(tls, interp, ts+28106 /* "echo_module_begi..." */, uintptr(0), TCL_GLOBAL_ONLY)
if (zVal != 0) && (0 == libc.Xstrcmp(tls, zVal, (*echo_vtab)(unsafe.Pointer(pVtab)).FzTableName)) {
rc = SQLITE_ERROR
}
@@ -58694,7 +60477,7 @@ func echoBegin(tls *libc.TLS, tab uintptr) int32 { /* test8.c:1111:12: */
return rc
}
-func echoSync(tls *libc.TLS, tab uintptr) int32 { /* test8.c:1142:12: */
+func echoSync(tls *libc.TLS, tab uintptr) int32 { /* test8.c:1143:12: */
var rc int32
var pVtab uintptr = tab
var interp uintptr = (*echo_vtab)(unsafe.Pointer(pVtab)).Finterp
@@ -58703,17 +60486,17 @@ func echoSync(tls *libc.TLS, tab uintptr) int32 { /* test8.c:1142:12: */
// Ticket #3083 - Only call xSync if we have previously started a
// transaction
- if simulateVtabError(tls, pVtab, ts+27316 /* "xSync" */) != 0 {
+ if simulateVtabError(tls, pVtab, ts+28129 /* "xSync" */) != 0 {
return SQLITE_ERROR
}
- rc = echoTransactionCall(tls, tab, ts+27316 /* "xSync" */)
+ rc = echoTransactionCall(tls, tab, ts+28129 /* "xSync" */)
if rc == SQLITE_OK {
// Check if the $::echo_module_sync_fail variable is defined. If it is,
// and it is set to the name of the real table underlying this virtual
// echo module table, then cause this xSync operation to fail.
- zVal = tcl.XTcl_GetVar2(tls, interp, ts+27322 /* "echo_module_sync..." */, uintptr(0), TCL_GLOBAL_ONLY)
+ zVal = tcl.XTcl_GetVar2(tls, interp, ts+28135 /* "echo_module_sync..." */, uintptr(0), TCL_GLOBAL_ONLY)
if (zVal != 0) && (0 == libc.Xstrcmp(tls, zVal, (*echo_vtab)(unsafe.Pointer(pVtab)).FzTableName)) {
rc = -1
}
@@ -58721,32 +60504,32 @@ func echoSync(tls *libc.TLS, tab uintptr) int32 { /* test8.c:1142:12: */
return rc
}
-func echoCommit(tls *libc.TLS, tab uintptr) int32 { /* test8.c:1170:12: */
+func echoCommit(tls *libc.TLS, tab uintptr) int32 { /* test8.c:1171:12: */
var pVtab uintptr = tab
var rc int32
// Ticket #3083 - Only call xCommit if we have previously started
// a transaction
- if simulateVtabError(tls, pVtab, ts+27344 /* "xCommit" */) != 0 {
+ if simulateVtabError(tls, pVtab, ts+28157 /* "xCommit" */) != 0 {
return SQLITE_ERROR
}
sqlite3.Xsqlite3BeginBenignMalloc(tls)
- rc = echoTransactionCall(tls, tab, ts+27344 /* "xCommit" */)
+ rc = echoTransactionCall(tls, tab, ts+28157 /* "xCommit" */)
sqlite3.Xsqlite3EndBenignMalloc(tls)
(*echo_vtab)(unsafe.Pointer(pVtab)).FinTransaction = 0
return rc
}
-func echoRollback(tls *libc.TLS, tab uintptr) int32 { /* test8.c:1188:12: */
+func echoRollback(tls *libc.TLS, tab uintptr) int32 { /* test8.c:1189:12: */
var rc int32
var pVtab uintptr = tab
// Ticket #3083 - Only call xRollback if we have previously started
// a transaction
- rc = echoTransactionCall(tls, tab, ts+27352 /* "xRollback" */)
+ rc = echoTransactionCall(tls, tab, ts+28165 /* "xRollback" */)
(*echo_vtab)(unsafe.Pointer(pVtab)).FinTransaction = 0
return rc
}
@@ -58754,7 +60537,7 @@ func echoRollback(tls *libc.TLS, tab uintptr) int32 { /* test8.c:1188:12: */
// Implementation of "GLOB" function on the echo module. Pass
// all arguments to the ::echo_glob_overload procedure of TCL
// and return the result of that procedure as a string.
-func overloadedGlobFunction(tls *libc.TLS, pContext uintptr, nArg int32, apArg uintptr) { /* test8.c:1206:13: */
+func overloadedGlobFunction(tls *libc.TLS, pContext uintptr, nArg int32, apArg uintptr) { /* test8.c:1207:13: */
bp := tls.Alloc(216)
defer tls.Free(216)
@@ -58764,7 +60547,7 @@ func overloadedGlobFunction(tls *libc.TLS, pContext uintptr, nArg int32, apArg u
var i int32
var rc int32
tcl.XTcl_DStringInit(tls, bp /* &str */)
- tcl.XTcl_DStringAppendElement(tls, bp /* &str */, ts+27362 /* "::echo_glob_over..." */)
+ tcl.XTcl_DStringAppendElement(tls, bp /* &str */, ts+28175 /* "::echo_glob_over..." */)
for i = 0; i < nArg; i++ {
tcl.XTcl_DStringAppendElement(tls, bp /* &str */, sqlite3.Xsqlite3_value_text(tls, *(*uintptr)(unsafe.Pointer(apArg + uintptr(i)*8))))
}
@@ -58785,7 +60568,7 @@ func overloadedGlobFunction(tls *libc.TLS, pContext uintptr, nArg int32, apArg u
// override the implementation of that function. It will choose to
// do so if the function is named "glob", and a TCL command named
// ::echo_glob_overload exists.
-func echoFindFunction(tls *libc.TLS, vtab uintptr, nArg int32, zFuncName uintptr, pxFunc uintptr, ppArg uintptr) int32 { /* test8.c:1239:12: */
+func echoFindFunction(tls *libc.TLS, vtab uintptr, nArg int32, zFuncName uintptr, pxFunc uintptr, ppArg uintptr) int32 { /* test8.c:1240:12: */
bp := tls.Alloc(64)
defer tls.Free(64)
@@ -58793,10 +60576,10 @@ func echoFindFunction(tls *libc.TLS, vtab uintptr, nArg int32, zFuncName uintptr
var interp uintptr = (*echo_vtab)(unsafe.Pointer(pVtab)).Finterp
// var info Tcl_CmdInfo at bp, 64
- if libc.Xstrcmp(tls, zFuncName, ts+27065 /* "glob" */) != 0 {
+ if libc.Xstrcmp(tls, zFuncName, ts+27878 /* "glob" */) != 0 {
return 0
}
- if tcl.XTcl_GetCommandInfo(tls, interp, ts+27362 /* "::echo_glob_over..." */, bp /* &info */) == 0 {
+ if tcl.XTcl_GetCommandInfo(tls, interp, ts+28175 /* "::echo_glob_over..." */, bp /* &info */) == 0 {
return 0
}
*(*uintptr)(unsafe.Pointer(pxFunc)) = *(*uintptr)(unsafe.Pointer(&struct {
@@ -58806,20 +60589,20 @@ func echoFindFunction(tls *libc.TLS, vtab uintptr, nArg int32, zFuncName uintptr
return 1
}
-func echoRename(tls *libc.TLS, vtab uintptr, zNewName uintptr) int32 { /* test8.c:1260:12: */
+func echoRename(tls *libc.TLS, vtab uintptr, zNewName uintptr) int32 { /* test8.c:1261:12: */
bp := tls.Alloc(24)
defer tls.Free(24)
var rc int32 = SQLITE_OK
var p uintptr = vtab
- if simulateVtabError(tls, p, ts+27383 /* "xRename" */) != 0 {
+ if simulateVtabError(tls, p, ts+28196 /* "xRename" */) != 0 {
return SQLITE_ERROR
}
if (*echo_vtab)(unsafe.Pointer(p)).FisPattern != 0 {
var nThis int32 = int32(libc.Xstrlen(tls, (*echo_vtab)(unsafe.Pointer(p)).FzThis))
- var zSql uintptr = sqlite3.Xsqlite3_mprintf(tls, ts+27391, /* "ALTER TABLE %s R..." */
+ var zSql uintptr = sqlite3.Xsqlite3_mprintf(tls, ts+28204, /* "ALTER TABLE %s R..." */
libc.VaList(bp, (*echo_vtab)(unsafe.Pointer(p)).FzTableName, zNewName, ((*echo_vtab)(unsafe.Pointer(p)).FzTableName+uintptr(nThis))))
rc = sqlite3.Xsqlite3_exec(tls, (*echo_vtab)(unsafe.Pointer(p)).Fdb, zSql, uintptr(0), uintptr(0), uintptr(0))
sqlite3.Xsqlite3_free(tls, zSql)
@@ -58828,17 +60611,17 @@ func echoRename(tls *libc.TLS, vtab uintptr, zNewName uintptr) int32 { /* test8.
return rc
}
-func echoSavepoint(tls *libc.TLS, pVTab uintptr, iSavepoint int32) int32 { /* test8.c:1280:12: */
+func echoSavepoint(tls *libc.TLS, pVTab uintptr, iSavepoint int32) int32 { /* test8.c:1281:12: */
return SQLITE_OK
}
-func echoRelease(tls *libc.TLS, pVTab uintptr, iSavepoint int32) int32 { /* test8.c:1285:12: */
+func echoRelease(tls *libc.TLS, pVTab uintptr, iSavepoint int32) int32 { /* test8.c:1286:12: */
return SQLITE_OK
}
-func echoRollbackTo(tls *libc.TLS, pVTab uintptr, iSavepoint int32) int32 { /* test8.c:1290:12: */
+func echoRollbackTo(tls *libc.TLS, pVTab uintptr, iSavepoint int32) int32 { /* test8.c:1291:12: */
return SQLITE_OK
}
@@ -58866,7 +60649,7 @@ var echoModule = sqlite3_module{
FxRollback: 0, // xRollback - rollback transaction
FxFindFunction: 0, // xFindFunction - function overloading
FxRename: 0, // xRename - rename the table
-} /* test8.c:1299:23 */
+} /* test8.c:1300:23 */
var echoModuleV2 = sqlite3_module{
FiVersion: 2, // iVersion
@@ -58892,14 +60675,17 @@ var echoModuleV2 = sqlite3_module{
FxSavepoint: 0,
FxRelease: 0,
FxRollbackTo: 0,
-} /* test8.c:1322:23 */
+} /* test8.c:1323:23 */
-func moduleDestroy(tls *libc.TLS, p uintptr) { /* test8.c:1354:13: */
+func moduleDestroy(tls *libc.TLS, p uintptr) { /* test8.c:1355:13: */
+ var pMod uintptr = p
+ sqlite3.Xsqlite3_create_function(tls, (*EchoModule)(unsafe.Pointer(pMod)).Fdb, ts+28234, /* "function_that_do..." */
+ SQLITE_ANY, 1, uintptr(0), uintptr(0), uintptr(0), uintptr(0))
sqlite3.Xsqlite3_free(tls, p)
}
// Register the echo virtual table module.
-func register_echo_module(tls *libc.TLS, clientData ClientData, interp uintptr, objc int32, objv uintptr) int32 { /* test8.c:1361:26: */
+func register_echo_module(tls *libc.TLS, clientData ClientData, interp uintptr, objc int32, objv uintptr) int32 { /* test8.c:1365:26: */
bp := tls.Alloc(8)
defer tls.Free(8)
@@ -58918,14 +60704,16 @@ func register_echo_module(tls *libc.TLS, clientData ClientData, interp uintptr,
// Virtual table module "echo"
pMod = sqlite3.Xsqlite3_malloc(tls, int32(unsafe.Sizeof(EchoModule{})))
(*EchoModule)(unsafe.Pointer(pMod)).Finterp = interp
+ (*EchoModule)(unsafe.Pointer(pMod)).Fdb = *(*uintptr)(unsafe.Pointer(bp /* db */))
rc = sqlite3.Xsqlite3_create_module_v2(tls,
- *(*uintptr)(unsafe.Pointer(bp /* db */)), ts+27421 /* "echo" */, uintptr(unsafe.Pointer(&echoModule)), pMod, *(*uintptr)(unsafe.Pointer(&struct{ f func(*libc.TLS, uintptr) }{moduleDestroy})))
+ *(*uintptr)(unsafe.Pointer(bp /* db */)), ts+28272 /* "echo" */, uintptr(unsafe.Pointer(&echoModule)), pMod, *(*uintptr)(unsafe.Pointer(&struct{ f func(*libc.TLS, uintptr) }{moduleDestroy})))
// Virtual table module "echo_v2"
if rc == SQLITE_OK {
pMod = sqlite3.Xsqlite3_malloc(tls, int32(unsafe.Sizeof(EchoModule{})))
(*EchoModule)(unsafe.Pointer(pMod)).Finterp = interp
- rc = sqlite3.Xsqlite3_create_module_v2(tls, *(*uintptr)(unsafe.Pointer(bp /* db */)), ts+27426, /* "echo_v2" */
+ (*EchoModule)(unsafe.Pointer(pMod)).Fdb = *(*uintptr)(unsafe.Pointer(bp /* db */))
+ rc = sqlite3.Xsqlite3_create_module_v2(tls, *(*uintptr)(unsafe.Pointer(bp /* db */)), ts+28277, /* "echo_v2" */
uintptr(unsafe.Pointer(&echoModuleV2)), pMod, *(*uintptr)(unsafe.Pointer(&struct{ f func(*libc.TLS, uintptr) }{moduleDestroy})))
}
@@ -58936,7 +60724,7 @@ func register_echo_module(tls *libc.TLS, clientData ClientData, interp uintptr,
// Tcl interface to sqlite3_declare_vtab, invoked as follows from Tcl:
//
// sqlite3_declare_vtab DB SQL
-func declare_vtab(tls *libc.TLS, clientData ClientData, interp uintptr, objc int32, objv uintptr) int32 { /* test8.c:1401:26: */
+func declare_vtab(tls *libc.TLS, clientData ClientData, interp uintptr, objc int32, objv uintptr) int32 { /* test8.c:1407:26: */
bp := tls.Alloc(8)
defer tls.Free(8)
@@ -58944,7 +60732,7 @@ func declare_vtab(tls *libc.TLS, clientData ClientData, interp uintptr, objc int
var rc int32
if objc != 3 {
- tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+27434 /* "DB SQL" */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+10524 /* "DB SQL" */)
return TCL_ERROR
}
if getDbPointer(tls, interp, tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 1*8))), bp /* &db */) != 0 {
@@ -58959,7 +60747,7 @@ func declare_vtab(tls *libc.TLS, clientData ClientData, interp uintptr, objc int
}
// Register commands with the TCL interpreter.
-func Sqlitetest8_Init(tls *libc.TLS, interp uintptr) int32 { /* test8.c:1427:5: */
+func Sqlitetest8_Init(tls *libc.TLS, interp uintptr) int32 { /* test8.c:1433:5: */
var i int32
for i = 0; uint64(i) < (uint64(unsafe.Sizeof(aObjCmd2)) / uint64(unsafe.Sizeof(struct {
FzName uintptr
@@ -58977,9 +60765,9 @@ var aObjCmd2 = [2]struct {
FxProc uintptr
FclientData uintptr
}{
- {FzName: ts + 27441 /* "register_echo_mo..." */, FxProc: 0},
- {FzName: ts + 27462 /* "sqlite3_declare_..." */, FxProc: 0},
-} /* test8.c:1433:5 */
+ {FzName: ts + 28285 /* "register_echo_mo..." */, FxProc: 0},
+ {FzName: ts + 28306 /* "sqlite3_declare_..." */, FxProc: 0},
+} /* test8.c:1439:5 */
// end block for C++
@@ -58988,7 +60776,7 @@ var aObjCmd2 = [2]struct {
// c-basic-offset: 4
// fill-column: 78
// End:
-// Copyright (C) 1991-2018 Free Software Foundation, Inc.
+// Copyright (C) 1991-2020 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
@@ -59003,11 +60791,11 @@ var aObjCmd2 = [2]struct {
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// ISO C99 Standard: 7.20 General utilities
-// Copyright (C) 1991-2018 Free Software Foundation, Inc.
+// Copyright (C) 1991-2020 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
@@ -59022,7 +60810,7 @@ var aObjCmd2 = [2]struct {
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// ISO C99 Standard: 7.21 String handling
@@ -59035,7 +60823,7 @@ func c_collation_test(tls *libc.TLS, clientData ClientData, interp uintptr, objc
// var db uintptr at bp+24, 8
var rc int32
- zErrFunction = ts + 27483 /* "N/A" */
+ zErrFunction = ts + 28327 /* "N/A" */
if !(objc != 1) {
goto __1
}
@@ -59049,17 +60837,17 @@ __1:
if !(rc != SQLITE_OK) {
goto __2
}
- zErrFunction = ts + 20981 /* "sqlite3_open" */
+ zErrFunction = ts + 21765 /* "sqlite3_open" */
goto error_out
__2:
;
- rc = sqlite3.Xsqlite3_create_collation(tls, *(*uintptr)(unsafe.Pointer(bp + 24 /* db */)), ts+13096 /* "collate" */, 456, uintptr(0), uintptr(0))
+ rc = sqlite3.Xsqlite3_create_collation(tls, *(*uintptr)(unsafe.Pointer(bp + 24 /* db */)), ts+13875 /* "collate" */, 456, uintptr(0), uintptr(0))
if !(rc != SQLITE_MISUSE) {
goto __3
}
sqlite3.Xsqlite3_close(tls, *(*uintptr)(unsafe.Pointer(bp + 24 /* db */)))
- zErrFunction = ts + 27487 /* "sqlite3_create_c..." */
+ zErrFunction = ts + 28331 /* "sqlite3_create_c..." */
goto error_out
__3:
;
@@ -59069,7 +60857,7 @@ __3:
error_out:
tcl.XTcl_ResetResult(tls, interp)
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+27512 /* "Error testing fu..." */, zErrFunction, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+28356 /* "Error testing fu..." */, zErrFunction, 0))
return TCL_ERROR
}
@@ -59080,7 +60868,7 @@ func c_realloc_test(tls *libc.TLS, clientData ClientData, interp uintptr, objc i
var p uintptr
var zErrFunction uintptr
- zErrFunction = ts + 27483 /* "N/A" */
+ zErrFunction = ts + 28327 /* "N/A" */
if !(objc != 1) {
goto __1
@@ -59094,7 +60882,7 @@ __1:
if !(!(p != 0)) {
goto __2
}
- zErrFunction = ts + 27537 /* "sqlite3_malloc" */
+ zErrFunction = ts + 28381 /* "sqlite3_malloc" */
goto error_out
__2:
;
@@ -59105,7 +60893,7 @@ __2:
if !(p != 0) {
goto __3
}
- zErrFunction = ts + 27552 /* "sqlite3_realloc" */
+ zErrFunction = ts + 28396 /* "sqlite3_realloc" */
goto error_out
__3:
;
@@ -59114,7 +60902,7 @@ __3:
error_out:
tcl.XTcl_ResetResult(tls, interp)
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+27512 /* "Error testing fu..." */, zErrFunction, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+28356 /* "Error testing fu..." */, zErrFunction, 0))
return TCL_ERROR
}
@@ -59129,7 +60917,7 @@ func c_misuse_test(tls *libc.TLS, clientData ClientData, interp uintptr, objc in
// var pStmt uintptr at bp+32, 8
var rc int32
- zErrFunction = ts + 27483 /* "N/A" */
+ zErrFunction = ts + 28327 /* "N/A" */
*(*uintptr)(unsafe.Pointer(bp + 24 /* db */)) = uintptr(0)
if !(objc != 1) {
@@ -59146,7 +60934,7 @@ __1:
if !(rc != SQLITE_OK) {
goto __2
}
- zErrFunction = ts + 20981 /* "sqlite3_open" */
+ zErrFunction = ts + 21765 /* "sqlite3_open" */
goto error_out
__2:
;
@@ -59156,7 +60944,7 @@ __2:
if !(rc != SQLITE_MISUSE) {
goto __3
}
- zErrFunction = ts + 20908 /* "sqlite3_errcode" */
+ zErrFunction = ts + 21692 /* "sqlite3_errcode" */
goto error_out
__3:
;
@@ -59166,7 +60954,7 @@ __3:
if !(rc != SQLITE_MISUSE) {
goto __4
}
- zErrFunction = ts + 21062 /* "sqlite3_prepare" */
+ zErrFunction = ts + 21846 /* "sqlite3_prepare" */
goto error_out
__4:
;
@@ -59177,7 +60965,7 @@ __4:
if !(rc != SQLITE_MISUSE) {
goto __5
}
- zErrFunction = ts + 21096 /* "sqlite3_prepare_..." */
+ zErrFunction = ts + 21880 /* "sqlite3_prepare_..." */
goto error_out
__5:
;
@@ -59187,7 +60975,7 @@ __5:
if !(rc != SQLITE_MISUSE) {
goto __6
}
- zErrFunction = ts + 21078 /* "sqlite3_prepare1..." */
+ zErrFunction = ts + 21862 /* "sqlite3_prepare1..." */
goto error_out
__6:
;
@@ -59197,7 +60985,7 @@ __6:
if !(rc != SQLITE_MISUSE) {
goto __7
}
- zErrFunction = ts + 21158 /* "sqlite3_prepare1..." */
+ zErrFunction = ts + 21942 /* "sqlite3_prepare1..." */
goto error_out
__7:
;
@@ -59206,7 +60994,7 @@ __7:
error_out:
tcl.XTcl_ResetResult(tls, interp)
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+27512 /* "Error testing fu..." */, zErrFunction, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+28356 /* "Error testing fu..." */, zErrFunction, 0))
return TCL_ERROR
}
@@ -59229,9 +61017,9 @@ var aObjCmd3 = [3]struct {
FxProc uintptr
FclientData uintptr
}{
- {FzName: ts + 27568 /* "c_misuse_test" */, FxProc: 0},
- {FzName: ts + 27582 /* "c_realloc_test" */, FxProc: 0},
- {FzName: ts + 27597 /* "c_collation_test" */, FxProc: 0},
+ {FzName: ts + 28412 /* "c_misuse_test" */, FxProc: 0},
+ {FzName: ts + 28426 /* "c_realloc_test" */, FxProc: 0},
+ {FzName: ts + 28441 /* "c_collation_test" */, FxProc: 0},
} /* test9.c:193:5 */
// end block for C++
@@ -59272,7 +61060,7 @@ func resetAutoExtObjCmd(tls *libc.TLS, clientData uintptr, interp uintptr, objc
// This procedure registers the TCL procs defined in this file.
func Sqlitetest_autoext_Init(tls *libc.TLS, interp uintptr) int32 { /* test_autoext.c:210:5: */
- tcl.XTcl_CreateObjCommand(tls, interp, ts+27614, /* "sqlite3_reset_au..." */
+ tcl.XTcl_CreateObjCommand(tls, interp, ts+28458, /* "sqlite3_reset_au..." */
*(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32
}{resetAutoExtObjCmd})), uintptr(0), uintptr(0))
@@ -59284,10 +61072,10 @@ func backupTestCmd(tls *libc.TLS, clientData ClientData, interp uintptr, objc in
defer tls.Free(196)
*(*[5]BackupSubCommand)(unsafe.Pointer(bp /* aSub */)) = [5]BackupSubCommand{
- {FzCmd: ts + 10122 /* "step" */, FnArg: 1, FzArg: ts + 27643 /* "npage" */},
- {FzCmd: ts + 27649 /* "finish" */, FeCmd: uint32(1) /* BACKUP_FINISH */, FzArg: ts + 489 /* "" */},
- {FzCmd: ts + 27656 /* "remaining" */, FeCmd: uint32(2) /* BACKUP_REMAINING */, FzArg: ts + 489 /* "" */},
- {FzCmd: ts + 27666 /* "pagecount" */, FeCmd: uint32(3) /* BACKUP_PAGECOUNT */, FzArg: ts + 489 /* "" */},
+ {FzCmd: ts + 10120 /* "step" */, FnArg: 1, FzArg: ts + 28487 /* "npage" */},
+ {FzCmd: ts + 28493 /* "finish" */, FeCmd: uint32(1) /* BACKUP_FINISH */, FzArg: ts + 489 /* "" */},
+ {FzCmd: ts + 28500 /* "remaining" */, FeCmd: uint32(2) /* BACKUP_REMAINING */, FzArg: ts + 489 /* "" */},
+ {FzCmd: ts + 28510 /* "pagecount" */, FeCmd: uint32(3) /* BACKUP_PAGECOUNT */, FzArg: ts + 489 /* "" */},
{},
}
@@ -59297,7 +61085,7 @@ func backupTestCmd(tls *libc.TLS, clientData ClientData, interp uintptr, objc in
var rc int32
rc = tcl.XTcl_GetIndexFromObjStruct(tls,
- interp, *(*uintptr)(unsafe.Pointer(objv + 1*8)), bp /* &aSub[0] */, int32(unsafe.Sizeof(BackupSubCommand{})), ts+11375 /* "option" */, 0, bp+120 /* &iCmd */)
+ interp, *(*uintptr)(unsafe.Pointer(objv + 1*8)), bp /* &aSub[0] */, int32(unsafe.Sizeof(BackupSubCommand{})), ts+12161 /* "option" */, 0, bp+120 /* &iCmd */)
if rc != TCL_OK {
return rc
}
@@ -59379,7 +61167,7 @@ func backupTestInit(tls *libc.TLS, clientData ClientData, interp uintptr, objc i
if objc != 6 {
tcl.XTcl_WrongNumArgs(tls,
- interp, 1, objv, ts+27676 /* "CMDNAME DESTHAND..." */)
+ interp, 1, objv, ts+28520 /* "CMDNAME DESTHAND..." */)
return TCL_ERROR
}
@@ -59391,7 +61179,7 @@ func backupTestInit(tls *libc.TLS, clientData ClientData, interp uintptr, objc i
pBackup = sqlite3.Xsqlite3_backup_init(tls, *(*uintptr)(unsafe.Pointer(bp + 16 /* pDestDb */)), zDestName, *(*uintptr)(unsafe.Pointer(bp + 24 /* pSrcDb */)), zSrcName)
if !(pBackup != 0) {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+27722 /* "sqlite3_backup_i..." */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+28566 /* "sqlite3_backup_i..." */, 0))
return TCL_ERROR
}
@@ -59403,7 +61191,7 @@ func backupTestInit(tls *libc.TLS, clientData ClientData, interp uintptr, objc i
}
func Sqlitetestbackup_Init(tls *libc.TLS, interp uintptr) int32 { /* test_backup.c:154:5: */
- tcl.XTcl_CreateObjCommand(tls, interp, ts+27751 /* "sqlite3_backup" */, *(*uintptr)(unsafe.Pointer(&struct {
+ tcl.XTcl_CreateObjCommand(tls, interp, ts+28595 /* "sqlite3_backup" */, *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, ClientData, uintptr, int32, uintptr) int32
}{backupTestInit})), uintptr(0), uintptr(0))
return TCL_OK
@@ -59494,7 +61282,7 @@ func tclConnect(tls *libc.TLS, db uintptr, pAux uintptr, argc int32, argv uintpt
var rc int32 = SQLITE_OK
if argc != 4 {
- *(*uintptr)(unsafe.Pointer(pzErr)) = sqlite3.Xsqlite3_mprintf(tls, ts+27766 /* "wrong number of ..." */, 0)
+ *(*uintptr)(unsafe.Pointer(pzErr)) = sqlite3.Xsqlite3_mprintf(tls, ts+28610 /* "wrong number of ..." */, 0)
return SQLITE_ERROR
}
@@ -59512,7 +61300,7 @@ func tclConnect(tls *libc.TLS, db uintptr, pAux uintptr, argc int32, argv uintpt
pScript = tcl.XTcl_DuplicateObj(tls, (*tcl_vtab)(unsafe.Pointer(pTab)).FpCmd)
(*Tcl_Obj)(unsafe.Pointer(pScript)).FrefCount++
- tcl.XTcl_ListObjAppendElement(tls, interp, pScript, tcl.XTcl_NewStringObj(tls, ts+26844 /* "xConnect" */, -1))
+ tcl.XTcl_ListObjAppendElement(tls, interp, pScript, tcl.XTcl_NewStringObj(tls, ts+27657 /* "xConnect" */, -1))
rc = tcl.XTcl_EvalObjEx(tls, interp, pScript, TCL_EVAL_GLOBAL)
if rc != TCL_OK {
@@ -59605,7 +61393,7 @@ func tclFilter(tls *libc.TLS, pVtabCursor uintptr, idxNum int32, idxStr uintptr,
pScript = tcl.XTcl_DuplicateObj(tls, (*tcl_vtab)(unsafe.Pointer(pTab)).FpCmd)
(*Tcl_Obj)(unsafe.Pointer(pScript)).FrefCount++
- tcl.XTcl_ListObjAppendElement(tls, interp, pScript, tcl.XTcl_NewStringObj(tls, ts+26908 /* "xFilter" */, -1))
+ tcl.XTcl_ListObjAppendElement(tls, interp, pScript, tcl.XTcl_NewStringObj(tls, ts+27721 /* "xFilter" */, -1))
tcl.XTcl_ListObjAppendElement(tls, interp, pScript, tcl.XTcl_NewIntObj(tls, idxNum))
if idxStr != 0 {
tcl.XTcl_ListObjAppendElement(tls, interp, pScript, tcl.XTcl_NewStringObj(tls, idxStr, -1))
@@ -59662,11 +61450,11 @@ func tclFilter(tls *libc.TLS, pVtabCursor uintptr, idxNum int32, idxStr uintptr,
rc = sqlite3.Xsqlite3_prepare_v2(tls, (*tcl_vtab)(unsafe.Pointer(pTab)).Fdb, zSql, -1, (pCsr + 8 /* &.pStmt */), uintptr(0))
if rc != SQLITE_OK {
var zErr uintptr = sqlite3.Xsqlite3_errmsg(tls, (*tcl_vtab)(unsafe.Pointer(pTab)).Fdb)
- (*tcl_vtab)(unsafe.Pointer(pTab)).Fbase.FzErrMsg = sqlite3.Xsqlite3_mprintf(tls, ts+27792 /* "unexpected: %s" */, libc.VaList(bp+16, zErr))
+ (*tcl_vtab)(unsafe.Pointer(pTab)).Fbase.FzErrMsg = sqlite3.Xsqlite3_mprintf(tls, ts+28636 /* "unexpected: %s" */, libc.VaList(bp+16, zErr))
}
} else {
rc = SQLITE_ERROR
- (*tcl_vtab)(unsafe.Pointer(pTab)).Fbase.FzErrMsg = sqlite3.Xsqlite3_mprintf(tls, ts+27792 /* "unexpected: %s" */, libc.VaList(bp+24, zCmd))
+ (*tcl_vtab)(unsafe.Pointer(pTab)).Fbase.FzErrMsg = sqlite3.Xsqlite3_mprintf(tls, ts+28636 /* "unexpected: %s" */, libc.VaList(bp+24, zCmd))
}
}
}
@@ -59708,67 +61496,67 @@ func tclBestIndex(tls *libc.TLS, tab uintptr, pIdxInfo uintptr) int32 { /* test_
pScript = tcl.XTcl_DuplicateObj(tls, (*tcl_vtab)(unsafe.Pointer(pTab)).FpCmd)
(*Tcl_Obj)(unsafe.Pointer(pScript)).FrefCount++
- tcl.XTcl_ListObjAppendElement(tls, interp, pScript, tcl.XTcl_NewStringObj(tls, ts+26962 /* "xBestIndex" */, -1))
+ tcl.XTcl_ListObjAppendElement(tls, interp, pScript, tcl.XTcl_NewStringObj(tls, ts+27775 /* "xBestIndex" */, -1))
pArg = tcl.XTcl_NewObj(tls)
(*Tcl_Obj)(unsafe.Pointer(pArg)).FrefCount++
for ii = 0; ii < (*sqlite3_index_info)(unsafe.Pointer(pIdxInfo)).FnConstraint; ii++ {
var pCons uintptr = ((*sqlite3_index_info)(unsafe.Pointer(pIdxInfo)).FaConstraint + uintptr(ii)*12)
var pElem uintptr = tcl.XTcl_NewObj(tls)
- var zOp uintptr = ts + 3276 /* "?" */
+ var zOp uintptr = ts + 3266 /* "?" */
(*Tcl_Obj)(unsafe.Pointer(pElem)).FrefCount++
switch int32((*sqlite3_index_constraint)(unsafe.Pointer(pCons)).Fop) {
case SQLITE_INDEX_CONSTRAINT_EQ:
- zOp = ts + 27807 /* "eq" */
+ zOp = ts + 28651 /* "eq" */
break
case SQLITE_INDEX_CONSTRAINT_GT:
- zOp = ts + 27810 /* "gt" */
+ zOp = ts + 28654 /* "gt" */
break
case SQLITE_INDEX_CONSTRAINT_LE:
- zOp = ts + 27813 /* "le" */
+ zOp = ts + 28657 /* "le" */
break
case SQLITE_INDEX_CONSTRAINT_LT:
- zOp = ts + 27816 /* "lt" */
+ zOp = ts + 28660 /* "lt" */
break
case SQLITE_INDEX_CONSTRAINT_GE:
- zOp = ts + 27819 /* "ge" */
+ zOp = ts + 28663 /* "ge" */
break
case SQLITE_INDEX_CONSTRAINT_MATCH:
- zOp = ts + 27822 /* "match" */
+ zOp = ts + 28666 /* "match" */
break
case SQLITE_INDEX_CONSTRAINT_LIKE:
- zOp = ts + 27060 /* "like" */
+ zOp = ts + 27873 /* "like" */
break
case SQLITE_INDEX_CONSTRAINT_GLOB:
- zOp = ts + 27065 /* "glob" */
+ zOp = ts + 27878 /* "glob" */
break
case SQLITE_INDEX_CONSTRAINT_REGEXP:
- zOp = ts + 6345 /* "regexp" */
+ zOp = ts + 6335 /* "regexp" */
break
case SQLITE_INDEX_CONSTRAINT_NE:
- zOp = ts + 27828 /* "ne" */
+ zOp = ts + 28672 /* "ne" */
break
case SQLITE_INDEX_CONSTRAINT_ISNOT:
- zOp = ts + 27831 /* "isnot" */
+ zOp = ts + 28675 /* "isnot" */
break
case SQLITE_INDEX_CONSTRAINT_ISNOTNULL:
- zOp = ts + 27837 /* "isnotnull" */
+ zOp = ts + 28681 /* "isnotnull" */
break
case SQLITE_INDEX_CONSTRAINT_ISNULL:
- zOp = ts + 27847 /* "isnull" */
+ zOp = ts + 28691 /* "isnull" */
break
case SQLITE_INDEX_CONSTRAINT_IS:
- zOp = ts + 5722 /* "is" */
+ zOp = ts + 5712 /* "is" */
break
}
- tcl.XTcl_ListObjAppendElement(tls, uintptr(0), pElem, tcl.XTcl_NewStringObj(tls, ts+27854 /* "op" */, -1))
+ tcl.XTcl_ListObjAppendElement(tls, uintptr(0), pElem, tcl.XTcl_NewStringObj(tls, ts+28698 /* "op" */, -1))
tcl.XTcl_ListObjAppendElement(tls, uintptr(0), pElem, tcl.XTcl_NewStringObj(tls, zOp, -1))
- tcl.XTcl_ListObjAppendElement(tls, uintptr(0), pElem, tcl.XTcl_NewStringObj(tls, ts+27857 /* "column" */, -1))
+ tcl.XTcl_ListObjAppendElement(tls, uintptr(0), pElem, tcl.XTcl_NewStringObj(tls, ts+28701 /* "column" */, -1))
tcl.XTcl_ListObjAppendElement(tls, uintptr(0), pElem, tcl.XTcl_NewIntObj(tls, (*sqlite3_index_constraint)(unsafe.Pointer(pCons)).FiColumn))
- tcl.XTcl_ListObjAppendElement(tls, uintptr(0), pElem, tcl.XTcl_NewStringObj(tls, ts+27864 /* "usable" */, -1))
+ tcl.XTcl_ListObjAppendElement(tls, uintptr(0), pElem, tcl.XTcl_NewStringObj(tls, ts+28708 /* "usable" */, -1))
tcl.XTcl_ListObjAppendElement(tls, uintptr(0), pElem, tcl.XTcl_NewIntObj(tls, int32((*sqlite3_index_constraint)(unsafe.Pointer(pCons)).Fusable)))
tcl.XTcl_ListObjAppendElement(tls, uintptr(0), pArg, pElem)
@@ -59795,9 +61583,9 @@ func tclBestIndex(tls *libc.TLS, tab uintptr, pIdxInfo uintptr) int32 { /* test_
var pElem uintptr = tcl.XTcl_NewObj(tls)
(*Tcl_Obj)(unsafe.Pointer(pElem)).FrefCount++
- tcl.XTcl_ListObjAppendElement(tls, uintptr(0), pElem, tcl.XTcl_NewStringObj(tls, ts+27857 /* "column" */, -1))
+ tcl.XTcl_ListObjAppendElement(tls, uintptr(0), pElem, tcl.XTcl_NewStringObj(tls, ts+28701 /* "column" */, -1))
tcl.XTcl_ListObjAppendElement(tls, uintptr(0), pElem, tcl.XTcl_NewIntObj(tls, (*sqlite3_index_orderby)(unsafe.Pointer(pOrder)).FiColumn))
- tcl.XTcl_ListObjAppendElement(tls, uintptr(0), pElem, tcl.XTcl_NewStringObj(tls, ts+27871 /* "desc" */, -1))
+ tcl.XTcl_ListObjAppendElement(tls, uintptr(0), pElem, tcl.XTcl_NewStringObj(tls, ts+28715 /* "desc" */, -1))
tcl.XTcl_ListObjAppendElement(tls, uintptr(0), pElem, tcl.XTcl_NewIntObj(tls, int32((*sqlite3_index_orderby)(unsafe.Pointer(pOrder)).Fdesc)))
tcl.XTcl_ListObjAppendElement(tls, uintptr(0), pArg, pElem)
@@ -59856,29 +61644,29 @@ func tclBestIndex(tls *libc.TLS, tab uintptr, pIdxInfo uintptr) int32 { /* test_
for ii = 0; (rc == SQLITE_OK) && (ii < *(*int32)(unsafe.Pointer(bp + 48 /* nElem */))); ii = ii + (2) {
var zCmd uintptr = tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(*(*uintptr)(unsafe.Pointer(bp + 56 /* apElem */)) + uintptr(ii)*8)))
var p uintptr = *(*uintptr)(unsafe.Pointer(*(*uintptr)(unsafe.Pointer(bp + 56 /* apElem */)) + uintptr((ii+1))*8))
- if sqlite3.Xsqlite3_stricmp(tls, ts+27876 /* "cost" */, zCmd) == 0 {
+ if sqlite3.Xsqlite3_stricmp(tls, ts+28720 /* "cost" */, zCmd) == 0 {
rc = tcl.XTcl_GetDoubleFromObj(tls, interp, p, (pIdxInfo + 64 /* &.estimatedCost */))
- } else if sqlite3.Xsqlite3_stricmp(tls, ts+27881 /* "orderby" */, zCmd) == 0 {
+ } else if sqlite3.Xsqlite3_stricmp(tls, ts+28725 /* "orderby" */, zCmd) == 0 {
rc = tcl.XTcl_GetIntFromObj(tls, interp, p, (pIdxInfo + 60 /* &.orderByConsumed */))
- } else if sqlite3.Xsqlite3_stricmp(tls, ts+27889 /* "idxnum" */, zCmd) == 0 {
+ } else if sqlite3.Xsqlite3_stricmp(tls, ts+28733 /* "idxnum" */, zCmd) == 0 {
rc = tcl.XTcl_GetIntFromObj(tls, interp, p, (pIdxInfo + 40 /* &.idxNum */))
- } else if sqlite3.Xsqlite3_stricmp(tls, ts+27896 /* "idxstr" */, zCmd) == 0 {
+ } else if sqlite3.Xsqlite3_stricmp(tls, ts+28740 /* "idxstr" */, zCmd) == 0 {
sqlite3.Xsqlite3_free(tls, (*sqlite3_index_info)(unsafe.Pointer(pIdxInfo)).FidxStr)
(*sqlite3_index_info)(unsafe.Pointer(pIdxInfo)).FidxStr = sqlite3.Xsqlite3_mprintf(tls, ts /* "%s" */, libc.VaList(bp+16, tcl.XTcl_GetString(tls, p)))
(*sqlite3_index_info)(unsafe.Pointer(pIdxInfo)).FneedToFreeIdxStr = 1
- } else if sqlite3.Xsqlite3_stricmp(tls, ts+27903 /* "rows" */, zCmd) == 0 {
+ } else if sqlite3.Xsqlite3_stricmp(tls, ts+28747 /* "rows" */, zCmd) == 0 {
*(*Tcl_WideInt)(unsafe.Pointer(bp + 64 /* x */)) = int64(0)
rc = tcl.XTcl_GetWideIntFromObj(tls, interp, p, bp+64 /* &x */)
(*sqlite3_index_info)(unsafe.Pointer(pIdxInfo)).FestimatedRows = sqlite3_int64(tRowcnt(*(*Tcl_WideInt)(unsafe.Pointer(bp + 64 /* x */))))
- } else if (sqlite3.Xsqlite3_stricmp(tls, ts+27908 /* "use" */, zCmd) == 0) ||
- (sqlite3.Xsqlite3_stricmp(tls, ts+27912 /* "omit" */, zCmd) == 0) {
+ } else if (sqlite3.Xsqlite3_stricmp(tls, ts+28752 /* "use" */, zCmd) == 0) ||
+ (sqlite3.Xsqlite3_stricmp(tls, ts+28756 /* "omit" */, zCmd) == 0) {
// var iCons int32 at bp+72, 4
rc = tcl.XTcl_GetIntFromObj(tls, interp, p, bp+72 /* &iCons */)
if rc == SQLITE_OK {
if (*(*int32)(unsafe.Pointer(bp + 72 /* iCons */)) < 0) || (*(*int32)(unsafe.Pointer(bp + 72 /* iCons */)) >= (*sqlite3_index_info)(unsafe.Pointer(pIdxInfo)).FnConstraint) {
rc = SQLITE_ERROR
- (*tcl_vtab)(unsafe.Pointer(pTab)).Fbase.FzErrMsg = sqlite3.Xsqlite3_mprintf(tls, ts+27917 /* "unexpected: %d" */, libc.VaList(bp+24, *(*int32)(unsafe.Pointer(bp + 72 /* iCons */))))
+ (*tcl_vtab)(unsafe.Pointer(pTab)).Fbase.FzErrMsg = sqlite3.Xsqlite3_mprintf(tls, ts+28761 /* "unexpected: %d" */, libc.VaList(bp+24, *(*int32)(unsafe.Pointer(bp + 72 /* iCons */))))
} else {
var bOmit int32 = (libc.Bool32((int32(*(*int8)(unsafe.Pointer(zCmd))) == 'o') || (int32(*(*int8)(unsafe.Pointer(zCmd))) == 'O')))
(*sqlite3_index_constraint_usage)(unsafe.Pointer((*sqlite3_index_info)(unsafe.Pointer(pIdxInfo)).FaConstraintUsage + uintptr(*(*int32)(unsafe.Pointer(bp + 72 /* iCons */)))*8)).FargvIndex = libc.PostIncInt32(&iArgv, 1)
@@ -59887,7 +61675,7 @@ func tclBestIndex(tls *libc.TLS, tab uintptr, pIdxInfo uintptr) int32 { /* test_
}
} else {
rc = SQLITE_ERROR
- (*tcl_vtab)(unsafe.Pointer(pTab)).Fbase.FzErrMsg = sqlite3.Xsqlite3_mprintf(tls, ts+27792 /* "unexpected: %s" */, libc.VaList(bp+32, zCmd))
+ (*tcl_vtab)(unsafe.Pointer(pTab)).Fbase.FzErrMsg = sqlite3.Xsqlite3_mprintf(tls, ts+28636 /* "unexpected: %s" */, libc.VaList(bp+32, zCmd))
}
if (rc != SQLITE_OK) && ((*tcl_vtab)(unsafe.Pointer(pTab)).Fbase.FzErrMsg == uintptr(0)) {
var zErr uintptr = tcl.XTcl_GetStringResult(tls, interp)
@@ -59931,7 +61719,7 @@ func register_tcl_module(tls *libc.TLS, clientData ClientData, interp uintptr, o
if getDbPointer(tls, interp, tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 1*8))), bp /* &db */) != 0 {
return TCL_ERROR
}
- sqlite3.Xsqlite3_create_module(tls, *(*uintptr)(unsafe.Pointer(bp /* db */)), ts+27932 /* "tcl" */, uintptr(unsafe.Pointer(&tclModule)), interp)
+ sqlite3.Xsqlite3_create_module(tls, *(*uintptr)(unsafe.Pointer(bp /* db */)), ts+28776 /* "tcl" */, uintptr(unsafe.Pointer(&tclModule)), interp)
return TCL_OK
}
@@ -59954,7 +61742,7 @@ var aObjCmd4 = [1]struct {
FxProc uintptr
FclientData uintptr
}{
- {FzName: ts + 27936 /* "register_tcl_mod..." */, FxProc: 0},
+ {FzName: ts + 28780 /* "register_tcl_mod..." */, FxProc: 0},
} /* test_bestindex.c:610:5 */
// Return a pointer to a buffer containing a text representation of the
@@ -59964,7 +61752,7 @@ func ptrToText(tls *libc.TLS, p uintptr) uintptr { /* test_blob.c:37:13: */
bp := tls.Alloc(8)
defer tls.Free(8)
- sqlite3.Xsqlite3_snprintf(tls, (int32(uint64(unsafe.Sizeof(buf)) - uint64(1))), uintptr(unsafe.Pointer(&buf)), ts+13023 /* "%p" */, libc.VaList(bp, p))
+ sqlite3.Xsqlite3_snprintf(tls, (int32(uint64(unsafe.Sizeof(buf)) - uint64(1))), uintptr(unsafe.Pointer(&buf)), ts+13802 /* "%p" */, libc.VaList(bp, p))
return uintptr(unsafe.Pointer(&buf))
}
@@ -59990,7 +61778,7 @@ func blobHandleFromObj1(tls *libc.TLS, interp uintptr, pObj uintptr, ppBlob uint
z = tcl.XTcl_GetStringFromObj(tls, pObj, bp /* &n */)
if *(*int32)(unsafe.Pointer(bp /* n */)) == 0 {
*(*uintptr)(unsafe.Pointer(ppBlob)) = uintptr(0)
- } else if (*(*int32)(unsafe.Pointer(bp /* n */)) > 9) && (0 == libc.Xmemcmp(tls, ts+27956 /* "incrblob_" */, z, uint64(9))) {
+ } else if (*(*int32)(unsafe.Pointer(bp /* n */)) > 9) && (0 == libc.Xmemcmp(tls, ts+28800 /* "incrblob_" */, z, uint64(9))) {
// var notUsed int32 at bp+4, 4
var channel Tcl_Channel
@@ -60054,7 +61842,7 @@ func test_blob_open(tls *libc.TLS, clientData ClientData, interp uintptr, objc i
var rc int32
if objc != 8 {
- var zUsage uintptr = ts + 27966 /* "DB DATABASE TABL..." */
+ var zUsage uintptr = ts + 28810 /* "DB DATABASE TABL..." */
tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, zUsage)
return TCL_ERROR
}
@@ -60098,7 +61886,7 @@ func test_blob_close(tls *libc.TLS, clientData ClientData, interp uintptr, objc
var rc int32
if objc != 2 {
- tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+28011 /* "HANDLE" */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+28855 /* "HANDLE" */)
return TCL_ERROR
}
@@ -60125,7 +61913,7 @@ func test_blob_bytes(tls *libc.TLS, clientData ClientData, interp uintptr, objc
var nByte int32
if objc != 2 {
- tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+28011 /* "HANDLE" */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+28855 /* "HANDLE" */)
return TCL_ERROR
}
@@ -60165,7 +61953,7 @@ func test_blob_read(tls *libc.TLS, clientData ClientData, interp uintptr, objc i
var rc int32
if objc != 4 {
- tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+28018 /* "CHANNEL OFFSET N" */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+28862 /* "CHANNEL OFFSET N" */)
return TCL_ERROR
}
@@ -60180,7 +61968,7 @@ func test_blob_read(tls *libc.TLS, clientData ClientData, interp uintptr, objc i
if *(*int32)(unsafe.Pointer(bp + 28 /* nByte */)) > 0 {
zBuf = tcl.XTcl_AttemptAlloc(tls, uint32(*(*int32)(unsafe.Pointer(bp + 28 /* nByte */))))
if zBuf == uintptr(0) {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+28035 /* "out of memory in..." */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+28879 /* "out of memory in..." */, 0))
return TCL_ERROR
}
}
@@ -60225,7 +62013,7 @@ func test_blob_write(tls *libc.TLS, clientData ClientData, interp uintptr, objc
// var nBuf int32 at bp+12, 4
if (objc != 4) && (objc != 5) {
- tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+28096 /* "HANDLE OFFSET DA..." */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+28940 /* "HANDLE OFFSET DA..." */)
return TCL_ERROR
}
@@ -60269,11 +62057,11 @@ var aObjCmd5 = [5]struct {
FzName uintptr
FxProc uintptr
}{
- {FzName: ts + 28123 /* "sqlite3_blob_ope..." */, FxProc: 0},
- {FzName: ts + 28141 /* "sqlite3_blob_clo..." */, FxProc: 0},
- {FzName: ts + 28160 /* "sqlite3_blob_byt..." */, FxProc: 0},
- {FzName: ts + 28179 /* "sqlite3_blob_rea..." */, FxProc: 0},
- {FzName: ts + 28197 /* "sqlite3_blob_wri..." */, FxProc: 0},
+ {FzName: ts + 28967 /* "sqlite3_blob_ope..." */, FxProc: 0},
+ {FzName: ts + 28985 /* "sqlite3_blob_clo..." */, FxProc: 0},
+ {FzName: ts + 29004 /* "sqlite3_blob_byt..." */, FxProc: 0},
+ {FzName: ts + 29023 /* "sqlite3_blob_rea..." */, FxProc: 0},
+ {FzName: ts + 29041 /* "sqlite3_blob_wri..." */, FxProc: 0},
} /* test_blob.c:317:5 */
// end block for C++
@@ -60311,7 +62099,7 @@ func sqlite3BtreeCursorList(tls *libc.TLS, p uintptr) { /* test_btree.c:52:6: */
// c-basic-offset: 4
// fill-column: 78
// End:
-// Copyright (C) 1991-2018 Free Software Foundation, Inc.
+// Copyright (C) 1991-2020 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
@@ -60326,11 +62114,11 @@ func sqlite3BtreeCursorList(tls *libc.TLS, p uintptr) { /* test_btree.c:52:6: */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// ISO C99 Standard: 7.20 General utilities
-// Copyright (C) 1991-2018 Free Software Foundation, Inc.
+// Copyright (C) 1991-2020 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
@@ -60345,7 +62133,7 @@ func sqlite3BtreeCursorList(tls *libc.TLS, p uintptr) { /* test_btree.c:52:6: */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// ISO C99 Standard: 7.21 String handling
@@ -60356,395 +62144,399 @@ func sqlite3BtreeCursorList(tls *libc.TLS, p uintptr) { /* test_btree.c:52:6: */
// according to the compile-time configuration of the database. Test
// procedures use this to determine when tests should be omitted.
func set_options(tls *libc.TLS, interp uintptr) { /* test_config.c:47:13: */
- tcl.XTcl_SetVar2(tls, interp, ts+28216 /* "sqlite_options" */, ts+28231 /* "malloc_usable_si..." */, ts+28250, /* "1" */
+ tcl.XTcl_SetVar2(tls, interp, ts+29060 /* "sqlite_options" */, ts+29075 /* "malloc_usable_si..." */, ts+29094, /* "1" */
TCL_GLOBAL_ONLY)
- tcl.XTcl_SetVar2(tls, interp, ts+28216 /* "sqlite_options" */, ts+28252 /* "rowid32" */, ts+13875 /* "0" */, TCL_GLOBAL_ONLY)
+ tcl.XTcl_SetVar2(tls, interp, ts+29060 /* "sqlite_options" */, ts+29096 /* "rowid32" */, ts+14654 /* "0" */, TCL_GLOBAL_ONLY)
- tcl.XTcl_SetVar2(tls, interp, ts+28216 /* "sqlite_options" */, ts+28260 /* "casesensitivelik..." */, ts+13875 /* "0" */, TCL_GLOBAL_ONLY)
+ tcl.XTcl_SetVar2(tls, interp, ts+29060 /* "sqlite_options" */, ts+29104 /* "casesensitivelik..." */, ts+14654 /* "0" */, TCL_GLOBAL_ONLY)
- tcl.XTcl_SetVar2(tls, interp, ts+28216 /* "sqlite_options" */, ts+28278 /* "curdir" */, ts+28250 /* "1" */, TCL_GLOBAL_ONLY)
+ tcl.XTcl_SetVar2(tls, interp, ts+29060 /* "sqlite_options" */, ts+29122 /* "configslower" */, ts+29135 /* "1.0" */, TCL_GLOBAL_ONLY)
- tcl.XTcl_SetVar2(tls, interp, ts+28216 /* "sqlite_options" */, ts+28285 /* "win32malloc" */, ts+13875 /* "0" */, TCL_GLOBAL_ONLY)
+ tcl.XTcl_SetVar2(tls, interp, ts+29060 /* "sqlite_options" */, ts+29139 /* "curdir" */, ts+29094 /* "1" */, TCL_GLOBAL_ONLY)
- tcl.XTcl_SetVar2(tls, interp, ts+28216 /* "sqlite_options" */, ts+28297 /* "debug" */, ts+13875 /* "0" */, TCL_GLOBAL_ONLY)
+ tcl.XTcl_SetVar2(tls, interp, ts+29060 /* "sqlite_options" */, ts+29146 /* "win32malloc" */, ts+14654 /* "0" */, TCL_GLOBAL_ONLY)
- tcl.XTcl_SetVar2(tls, interp, ts+28216 /* "sqlite_options" */, ts+28303 /* "default_ckptfull..." */, ts+13875 /* "0" */, TCL_GLOBAL_ONLY)
+ tcl.XTcl_SetVar2(tls, interp, ts+29060 /* "sqlite_options" */, ts+29158 /* "debug" */, ts+14654 /* "0" */, TCL_GLOBAL_ONLY)
- tcl.XTcl_SetVar2(tls, interp, ts+28216 /* "sqlite_options" */, ts+28325 /* "direct_read" */, ts+13875 /* "0" */, TCL_GLOBAL_ONLY)
+ tcl.XTcl_SetVar2(tls, interp, ts+29060 /* "sqlite_options" */, ts+29164 /* "default_ckptfull..." */, ts+14654 /* "0" */, TCL_GLOBAL_ONLY)
- tcl.XTcl_SetVar2(tls, interp, ts+28216 /* "sqlite_options" */, ts+28337 /* "dirsync" */, ts+28250 /* "1" */, TCL_GLOBAL_ONLY)
+ tcl.XTcl_SetVar2(tls, interp, ts+29060 /* "sqlite_options" */, ts+29186 /* "direct_read" */, ts+14654 /* "0" */, TCL_GLOBAL_ONLY)
- tcl.XTcl_SetVar2(tls, interp, ts+28216 /* "sqlite_options" */, ts+28345 /* "lfs" */, ts+28250 /* "1" */, TCL_GLOBAL_ONLY)
+ tcl.XTcl_SetVar2(tls, interp, ts+29060 /* "sqlite_options" */, ts+29198 /* "dirsync" */, ts+29094 /* "1" */, TCL_GLOBAL_ONLY)
- tcl.XTcl_SetVar2(tls, interp, ts+28216 /* "sqlite_options" */, ts+28349 /* "pagecache_overfl..." */, ts+28250 /* "1" */, TCL_GLOBAL_ONLY)
+ tcl.XTcl_SetVar2(tls, interp, ts+29060 /* "sqlite_options" */, ts+29206 /* "lfs" */, ts+29094 /* "1" */, TCL_GLOBAL_ONLY)
- tcl.XTcl_SetVar2(tls, interp, ts+28216 /* "sqlite_options" */, ts+28374 /* "mmap" */, ts+28250 /* "1" */, TCL_GLOBAL_ONLY)
+ tcl.XTcl_SetVar2(tls, interp, ts+29060 /* "sqlite_options" */, ts+29210 /* "pagecache_overfl..." */, ts+29094 /* "1" */, TCL_GLOBAL_ONLY)
- tcl.XTcl_SetVar2(tls, interp, ts+28216 /* "sqlite_options" */, ts+28379, /* "worker_threads" */
- ts+28394 /* "8" */, TCL_GLOBAL_ONLY)
+ tcl.XTcl_SetVar2(tls, interp, ts+29060 /* "sqlite_options" */, ts+29235 /* "mmap" */, ts+29094 /* "1" */, TCL_GLOBAL_ONLY)
- tcl.XTcl_SetVar2(tls, interp, ts+28216 /* "sqlite_options" */, ts+28396 /* "memdebug" */, ts+13875 /* "0" */, TCL_GLOBAL_ONLY)
+ tcl.XTcl_SetVar2(tls, interp, ts+29060 /* "sqlite_options" */, ts+29240, /* "worker_threads" */
+ ts+29255 /* "8" */, TCL_GLOBAL_ONLY)
- tcl.XTcl_SetVar2(tls, interp, ts+28216 /* "sqlite_options" */, ts+28405 /* "8_3_names" */, ts+13875 /* "0" */, TCL_GLOBAL_ONLY)
+ tcl.XTcl_SetVar2(tls, interp, ts+29060 /* "sqlite_options" */, ts+29257 /* "memdebug" */, ts+14654 /* "0" */, TCL_GLOBAL_ONLY)
- tcl.XTcl_SetVar2(tls, interp, ts+28216 /* "sqlite_options" */, ts+28415 /* "cursorhints" */, ts+13875 /* "0" */, TCL_GLOBAL_ONLY)
+ tcl.XTcl_SetVar2(tls, interp, ts+29060 /* "sqlite_options" */, ts+29266 /* "8_3_names" */, ts+14654 /* "0" */, TCL_GLOBAL_ONLY)
- tcl.XTcl_SetVar2(tls, interp, ts+28216 /* "sqlite_options" */, ts+28427 /* "hiddencolumns" */, ts+13875 /* "0" */, TCL_GLOBAL_ONLY)
+ tcl.XTcl_SetVar2(tls, interp, ts+29060 /* "sqlite_options" */, ts+29276 /* "cursorhints" */, ts+14654 /* "0" */, TCL_GLOBAL_ONLY)
- tcl.XTcl_SetVar2(tls, interp, ts+28216 /* "sqlite_options" */, ts+13154 /* "deserialize" */, ts+28250 /* "1" */, TCL_GLOBAL_ONLY)
+ tcl.XTcl_SetVar2(tls, interp, ts+29060 /* "sqlite_options" */, ts+29288 /* "hiddencolumns" */, ts+14654 /* "0" */, TCL_GLOBAL_ONLY)
- tcl.XTcl_SetVar2(tls, interp, ts+28216 /* "sqlite_options" */, ts+28441 /* "mathlib" */, ts+13875 /* "0" */, TCL_GLOBAL_ONLY)
+ tcl.XTcl_SetVar2(tls, interp, ts+29060 /* "sqlite_options" */, ts+13933 /* "deserialize" */, ts+29094 /* "1" */, TCL_GLOBAL_ONLY)
- tcl.XTcl_SetVar2(tls, interp, ts+28216 /* "sqlite_options" */, ts+28449 /* "mem3" */, ts+13875 /* "0" */, TCL_GLOBAL_ONLY)
+ tcl.XTcl_SetVar2(tls, interp, ts+29060 /* "sqlite_options" */, ts+29302 /* "mathlib" */, ts+14654 /* "0" */, TCL_GLOBAL_ONLY)
- tcl.XTcl_SetVar2(tls, interp, ts+28216 /* "sqlite_options" */, ts+28454 /* "mem5" */, ts+13875 /* "0" */, TCL_GLOBAL_ONLY)
+ tcl.XTcl_SetVar2(tls, interp, ts+29060 /* "sqlite_options" */, ts+29310 /* "mem3" */, ts+14654 /* "0" */, TCL_GLOBAL_ONLY)
- tcl.XTcl_SetVar2(tls, interp, ts+28216 /* "sqlite_options" */, ts+28459 /* "offset_sql_func" */, ts+28250 /* "1" */, TCL_GLOBAL_ONLY)
+ tcl.XTcl_SetVar2(tls, interp, ts+29060 /* "sqlite_options" */, ts+29315 /* "mem5" */, ts+14654 /* "0" */, TCL_GLOBAL_ONLY)
- tcl.XTcl_SetVar2(tls, interp, ts+28216 /* "sqlite_options" */, ts+13262 /* "preupdate" */, ts+28250 /* "1" */, TCL_GLOBAL_ONLY)
+ tcl.XTcl_SetVar2(tls, interp, ts+29060 /* "sqlite_options" */, ts+29320 /* "offset_sql_func" */, ts+29094 /* "1" */, TCL_GLOBAL_ONLY)
- tcl.XTcl_SetVar2(tls, interp, ts+28216 /* "sqlite_options" */, ts+28475 /* "snapshot" */, ts+28250 /* "1" */, TCL_GLOBAL_ONLY)
+ tcl.XTcl_SetVar2(tls, interp, ts+29060 /* "sqlite_options" */, ts+14041 /* "preupdate" */, ts+29094 /* "1" */, TCL_GLOBAL_ONLY)
- tcl.XTcl_SetVar2(tls, interp, ts+28216 /* "sqlite_options" */, ts+28484 /* "mutex" */, ts+28250 /* "1" */, TCL_GLOBAL_ONLY)
+ tcl.XTcl_SetVar2(tls, interp, ts+29060 /* "sqlite_options" */, ts+29336 /* "snapshot" */, ts+29094 /* "1" */, TCL_GLOBAL_ONLY)
- tcl.XTcl_SetVar2(tls, interp, ts+28216 /* "sqlite_options" */, ts+28490 /* "mutex_noop" */, ts+28250 /* "1" */, TCL_GLOBAL_ONLY)
+ tcl.XTcl_SetVar2(tls, interp, ts+29060 /* "sqlite_options" */, ts+29345 /* "mutex" */, ts+29094 /* "1" */, TCL_GLOBAL_ONLY)
- tcl.XTcl_SetVar2(tls, interp, ts+28216 /* "sqlite_options" */, ts+28501 /* "altertable" */, ts+28250 /* "1" */, TCL_GLOBAL_ONLY)
+ tcl.XTcl_SetVar2(tls, interp, ts+29060 /* "sqlite_options" */, ts+29351 /* "mutex_noop" */, ts+29094 /* "1" */, TCL_GLOBAL_ONLY)
- tcl.XTcl_SetVar2(tls, interp, ts+28216 /* "sqlite_options" */, ts+1818 /* "analyze" */, ts+28250 /* "1" */, TCL_GLOBAL_ONLY)
+ tcl.XTcl_SetVar2(tls, interp, ts+29060 /* "sqlite_options" */, ts+29362 /* "altertable" */, ts+29094 /* "1" */, TCL_GLOBAL_ONLY)
- tcl.XTcl_SetVar2(tls, interp, ts+28216 /* "sqlite_options" */, ts+28512 /* "api_armor" */, ts+13875 /* "0" */, TCL_GLOBAL_ONLY)
+ tcl.XTcl_SetVar2(tls, interp, ts+29060 /* "sqlite_options" */, ts+1818 /* "analyze" */, ts+29094 /* "1" */, TCL_GLOBAL_ONLY)
- tcl.XTcl_SetVar2(tls, interp, ts+28216 /* "sqlite_options" */, ts+28522 /* "atomicwrite" */, ts+13875 /* "0" */, TCL_GLOBAL_ONLY)
+ tcl.XTcl_SetVar2(tls, interp, ts+29060 /* "sqlite_options" */, ts+29373 /* "api_armor" */, ts+14654 /* "0" */, TCL_GLOBAL_ONLY)
- tcl.XTcl_SetVar2(tls, interp, ts+28216 /* "sqlite_options" */, ts+28534 /* "json1" */, ts+28250 /* "1" */, TCL_GLOBAL_ONLY)
+ tcl.XTcl_SetVar2(tls, interp, ts+29060 /* "sqlite_options" */, ts+29383 /* "atomicwrite" */, ts+14654 /* "0" */, TCL_GLOBAL_ONLY)
- tcl.XTcl_SetVar2(tls, interp, ts+28216 /* "sqlite_options" */, ts+28540 /* "has_codec" */, ts+13875 /* "0" */, TCL_GLOBAL_ONLY)
+ tcl.XTcl_SetVar2(tls, interp, ts+29060 /* "sqlite_options" */, ts+29395 /* "geopoly" */, ts+29094 /* "1" */, TCL_GLOBAL_ONLY)
- tcl.XTcl_SetVar2(tls, interp, ts+28216 /* "sqlite_options" */, ts+28550 /* "like_match_blobs" */, ts+13875 /* "0" */, TCL_GLOBAL_ONLY)
+ tcl.XTcl_SetVar2(tls, interp, ts+29060 /* "sqlite_options" */, ts+29403 /* "json1" */, ts+29094 /* "1" */, TCL_GLOBAL_ONLY)
- tcl.XTcl_SetVar2(tls, interp, ts+28216 /* "sqlite_options" */, ts+28567 /* "attach" */, ts+28250 /* "1" */, TCL_GLOBAL_ONLY)
+ tcl.XTcl_SetVar2(tls, interp, ts+29060 /* "sqlite_options" */, ts+29409 /* "has_codec" */, ts+14654 /* "0" */, TCL_GLOBAL_ONLY)
- tcl.XTcl_SetVar2(tls, interp, ts+28216 /* "sqlite_options" */, ts+28574 /* "auth" */, ts+28250 /* "1" */, TCL_GLOBAL_ONLY)
+ tcl.XTcl_SetVar2(tls, interp, ts+29060 /* "sqlite_options" */, ts+29419 /* "like_match_blobs" */, ts+14654 /* "0" */, TCL_GLOBAL_ONLY)
- tcl.XTcl_SetVar2(tls, interp, ts+28216 /* "sqlite_options" */, ts+28579 /* "autoinc" */, ts+28250 /* "1" */, TCL_GLOBAL_ONLY)
+ tcl.XTcl_SetVar2(tls, interp, ts+29060 /* "sqlite_options" */, ts+10584 /* "attach" */, ts+29094 /* "1" */, TCL_GLOBAL_ONLY)
- tcl.XTcl_SetVar2(tls, interp, ts+28216 /* "sqlite_options" */, ts+12735 /* "autoindex" */, ts+28250 /* "1" */, TCL_GLOBAL_ONLY)
+ tcl.XTcl_SetVar2(tls, interp, ts+29060 /* "sqlite_options" */, ts+29436 /* "auth" */, ts+29094 /* "1" */, TCL_GLOBAL_ONLY)
- tcl.XTcl_SetVar2(tls, interp, ts+28216 /* "sqlite_options" */, ts+28587 /* "autoreset" */, ts+28250 /* "1" */, TCL_GLOBAL_ONLY)
+ tcl.XTcl_SetVar2(tls, interp, ts+29060 /* "sqlite_options" */, ts+29441 /* "autoinc" */, ts+29094 /* "1" */, TCL_GLOBAL_ONLY)
- tcl.XTcl_SetVar2(tls, interp, ts+28216 /* "sqlite_options" */, ts+28597 /* "autovacuum" */, ts+28250 /* "1" */, TCL_GLOBAL_ONLY)
- tcl.XTcl_SetVar2(tls, interp, ts+28216 /* "sqlite_options" */, ts+28608, /* "default_autovacu..." */
- ts+13875 /* "0" */, TCL_GLOBAL_ONLY)
+ tcl.XTcl_SetVar2(tls, interp, ts+29060 /* "sqlite_options" */, ts+13514 /* "autoindex" */, ts+29094 /* "1" */, TCL_GLOBAL_ONLY)
- tcl.XTcl_SetVar2(tls, interp, ts+28216 /* "sqlite_options" */, ts+28627 /* "between_opt" */, ts+28250 /* "1" */, TCL_GLOBAL_ONLY)
+ tcl.XTcl_SetVar2(tls, interp, ts+29060 /* "sqlite_options" */, ts+29449 /* "autoreset" */, ts+29094 /* "1" */, TCL_GLOBAL_ONLY)
- tcl.XTcl_SetVar2(tls, interp, ts+28216 /* "sqlite_options" */, ts+28639 /* "builtin_test" */, ts+28250 /* "1" */, TCL_GLOBAL_ONLY)
+ tcl.XTcl_SetVar2(tls, interp, ts+29060 /* "sqlite_options" */, ts+29459 /* "autovacuum" */, ts+29094 /* "1" */, TCL_GLOBAL_ONLY)
+ tcl.XTcl_SetVar2(tls, interp, ts+29060 /* "sqlite_options" */, ts+29470, /* "default_autovacu..." */
+ ts+14654 /* "0" */, TCL_GLOBAL_ONLY)
- tcl.XTcl_SetVar2(tls, interp, ts+28216 /* "sqlite_options" */, ts+28652 /* "bloblit" */, ts+28250 /* "1" */, TCL_GLOBAL_ONLY)
+ tcl.XTcl_SetVar2(tls, interp, ts+29060 /* "sqlite_options" */, ts+29489 /* "between_opt" */, ts+29094 /* "1" */, TCL_GLOBAL_ONLY)
- tcl.XTcl_SetVar2(tls, interp, ts+28216 /* "sqlite_options" */, ts+28660 /* "cast" */, ts+28250 /* "1" */, TCL_GLOBAL_ONLY)
+ tcl.XTcl_SetVar2(tls, interp, ts+29060 /* "sqlite_options" */, ts+29501 /* "builtin_test" */, ts+29094 /* "1" */, TCL_GLOBAL_ONLY)
- tcl.XTcl_SetVar2(tls, interp, ts+28216 /* "sqlite_options" */, ts+28665 /* "check" */, ts+28250 /* "1" */, TCL_GLOBAL_ONLY)
+ tcl.XTcl_SetVar2(tls, interp, ts+29060 /* "sqlite_options" */, ts+29514 /* "bloblit" */, ts+29094 /* "1" */, TCL_GLOBAL_ONLY)
- tcl.XTcl_SetVar2(tls, interp, ts+28216 /* "sqlite_options" */, ts+28671 /* "cte" */, ts+28250 /* "1" */, TCL_GLOBAL_ONLY)
+ tcl.XTcl_SetVar2(tls, interp, ts+29060 /* "sqlite_options" */, ts+29522 /* "cast" */, ts+29094 /* "1" */, TCL_GLOBAL_ONLY)
- tcl.XTcl_SetVar2(tls, interp, ts+28216 /* "sqlite_options" */, ts+28675 /* "columnmetadata" */, ts+28250 /* "1" */, TCL_GLOBAL_ONLY)
+ tcl.XTcl_SetVar2(tls, interp, ts+29060 /* "sqlite_options" */, ts+29527 /* "check" */, ts+29094 /* "1" */, TCL_GLOBAL_ONLY)
- tcl.XTcl_SetVar2(tls, interp, ts+28216 /* "sqlite_options" */, ts+28690 /* "oversize_cell_ch..." */, ts+13875, /* "0" */
+ tcl.XTcl_SetVar2(tls, interp, ts+29060 /* "sqlite_options" */, ts+29533 /* "cte" */, ts+29094 /* "1" */, TCL_GLOBAL_ONLY)
+
+ tcl.XTcl_SetVar2(tls, interp, ts+29060 /* "sqlite_options" */, ts+29537 /* "columnmetadata" */, ts+29094 /* "1" */, TCL_GLOBAL_ONLY)
+
+ tcl.XTcl_SetVar2(tls, interp, ts+29060 /* "sqlite_options" */, ts+29552 /* "oversize_cell_ch..." */, ts+14654, /* "0" */
TCL_GLOBAL_ONLY)
- tcl.XTcl_SetVar2(tls, interp, ts+28216 /* "sqlite_options" */, ts+28710 /* "compileoption_di..." */, ts+28250 /* "1" */, TCL_GLOBAL_ONLY)
+ tcl.XTcl_SetVar2(tls, interp, ts+29060 /* "sqlite_options" */, ts+29572 /* "compileoption_di..." */, ts+29094 /* "1" */, TCL_GLOBAL_ONLY)
- tcl.XTcl_SetVar2(tls, interp, ts+28216 /* "sqlite_options" */, ts+13133 /* "complete" */, ts+28250 /* "1" */, TCL_GLOBAL_ONLY)
+ tcl.XTcl_SetVar2(tls, interp, ts+29060 /* "sqlite_options" */, ts+13912 /* "complete" */, ts+29094 /* "1" */, TCL_GLOBAL_ONLY)
- tcl.XTcl_SetVar2(tls, interp, ts+28216 /* "sqlite_options" */, ts+28730 /* "compound" */, ts+28250 /* "1" */, TCL_GLOBAL_ONLY)
+ tcl.XTcl_SetVar2(tls, interp, ts+29060 /* "sqlite_options" */, ts+29592 /* "compound" */, ts+29094 /* "1" */, TCL_GLOBAL_ONLY)
- tcl.XTcl_SetVar2(tls, interp, ts+28216 /* "sqlite_options" */, ts+28739 /* "conflict" */, ts+28250 /* "1" */, TCL_GLOBAL_ONLY)
- tcl.XTcl_SetVar2(tls, interp, ts+28216 /* "sqlite_options" */, ts+28748 /* "crashtest" */, ts+28250 /* "1" */, TCL_GLOBAL_ONLY)
+ tcl.XTcl_SetVar2(tls, interp, ts+29060 /* "sqlite_options" */, ts+29601 /* "conflict" */, ts+29094 /* "1" */, TCL_GLOBAL_ONLY)
+ tcl.XTcl_SetVar2(tls, interp, ts+29060 /* "sqlite_options" */, ts+29610 /* "crashtest" */, ts+29094 /* "1" */, TCL_GLOBAL_ONLY)
- tcl.XTcl_SetVar2(tls, interp, ts+28216 /* "sqlite_options" */, ts+28758 /* "datetime" */, ts+28250 /* "1" */, TCL_GLOBAL_ONLY)
+ tcl.XTcl_SetVar2(tls, interp, ts+29060 /* "sqlite_options" */, ts+29620 /* "datetime" */, ts+29094 /* "1" */, TCL_GLOBAL_ONLY)
- tcl.XTcl_SetVar2(tls, interp, ts+28216 /* "sqlite_options" */, ts+28767 /* "decltype" */, ts+28250 /* "1" */, TCL_GLOBAL_ONLY)
+ tcl.XTcl_SetVar2(tls, interp, ts+29060 /* "sqlite_options" */, ts+29629 /* "decltype" */, ts+29094 /* "1" */, TCL_GLOBAL_ONLY)
- tcl.XTcl_SetVar2(tls, interp, ts+28216 /* "sqlite_options" */, ts+28776 /* "deprecated" */, ts+28250 /* "1" */, TCL_GLOBAL_ONLY)
+ tcl.XTcl_SetVar2(tls, interp, ts+29060 /* "sqlite_options" */, ts+29638 /* "deprecated" */, ts+29094 /* "1" */, TCL_GLOBAL_ONLY)
- tcl.XTcl_SetVar2(tls, interp, ts+28216 /* "sqlite_options" */, ts+28787 /* "diskio" */, ts+28250 /* "1" */, TCL_GLOBAL_ONLY)
+ tcl.XTcl_SetVar2(tls, interp, ts+29060 /* "sqlite_options" */, ts+29649 /* "diskio" */, ts+29094 /* "1" */, TCL_GLOBAL_ONLY)
- tcl.XTcl_SetVar2(tls, interp, ts+28216 /* "sqlite_options" */, ts+4845 /* "explain" */, ts+28250 /* "1" */, TCL_GLOBAL_ONLY)
+ tcl.XTcl_SetVar2(tls, interp, ts+29060 /* "sqlite_options" */, ts+4835 /* "explain" */, ts+29094 /* "1" */, TCL_GLOBAL_ONLY)
- tcl.XTcl_SetVar2(tls, interp, ts+28216 /* "sqlite_options" */, ts+28794 /* "floatingpoint" */, ts+28250 /* "1" */, TCL_GLOBAL_ONLY)
+ tcl.XTcl_SetVar2(tls, interp, ts+29060 /* "sqlite_options" */, ts+29656 /* "floatingpoint" */, ts+29094 /* "1" */, TCL_GLOBAL_ONLY)
- tcl.XTcl_SetVar2(tls, interp, ts+28216 /* "sqlite_options" */, ts+28808 /* "foreignkey" */, ts+28250 /* "1" */, TCL_GLOBAL_ONLY)
+ tcl.XTcl_SetVar2(tls, interp, ts+29060 /* "sqlite_options" */, ts+29670 /* "foreignkey" */, ts+29094 /* "1" */, TCL_GLOBAL_ONLY)
- tcl.XTcl_SetVar2(tls, interp, ts+28216 /* "sqlite_options" */, ts+28819 /* "fts1" */, ts+13875 /* "0" */, TCL_GLOBAL_ONLY)
+ tcl.XTcl_SetVar2(tls, interp, ts+29060 /* "sqlite_options" */, ts+29681 /* "fts1" */, ts+14654 /* "0" */, TCL_GLOBAL_ONLY)
- tcl.XTcl_SetVar2(tls, interp, ts+28216 /* "sqlite_options" */, ts+28824 /* "fts2" */, ts+13875 /* "0" */, TCL_GLOBAL_ONLY)
+ tcl.XTcl_SetVar2(tls, interp, ts+29060 /* "sqlite_options" */, ts+29686 /* "fts2" */, ts+14654 /* "0" */, TCL_GLOBAL_ONLY)
- tcl.XTcl_SetVar2(tls, interp, ts+28216 /* "sqlite_options" */, ts+28829 /* "fts3" */, ts+13875 /* "0" */, TCL_GLOBAL_ONLY)
+ tcl.XTcl_SetVar2(tls, interp, ts+29060 /* "sqlite_options" */, ts+29691 /* "fts3" */, ts+14654 /* "0" */, TCL_GLOBAL_ONLY)
- tcl.XTcl_SetVar2(tls, interp, ts+28216 /* "sqlite_options" */, ts+28834 /* "fts5" */, ts+28250 /* "1" */, TCL_GLOBAL_ONLY)
+ tcl.XTcl_SetVar2(tls, interp, ts+29060 /* "sqlite_options" */, ts+29696 /* "fts5" */, ts+29094 /* "1" */, TCL_GLOBAL_ONLY)
- tcl.XTcl_SetVar2(tls, interp, ts+28216 /* "sqlite_options" */, ts+28839 /* "fts3_unicode" */, ts+13875 /* "0" */, TCL_GLOBAL_ONLY)
+ tcl.XTcl_SetVar2(tls, interp, ts+29060 /* "sqlite_options" */, ts+29701 /* "fts3_unicode" */, ts+14654 /* "0" */, TCL_GLOBAL_ONLY)
- tcl.XTcl_SetVar2(tls, interp, ts+28216 /* "sqlite_options" */, ts+28852 /* "fts4_deferred" */, ts+28250 /* "1" */, TCL_GLOBAL_ONLY)
+ tcl.XTcl_SetVar2(tls, interp, ts+29060 /* "sqlite_options" */, ts+29714 /* "fts4_deferred" */, ts+29094 /* "1" */, TCL_GLOBAL_ONLY)
- tcl.XTcl_SetVar2(tls, interp, ts+28216 /* "sqlite_options" */, ts+28866 /* "gettable" */, ts+28250 /* "1" */, TCL_GLOBAL_ONLY)
+ tcl.XTcl_SetVar2(tls, interp, ts+29060 /* "sqlite_options" */, ts+29728 /* "gettable" */, ts+29094 /* "1" */, TCL_GLOBAL_ONLY)
- tcl.XTcl_SetVar2(tls, interp, ts+28216 /* "sqlite_options" */, ts+28875 /* "icu" */, ts+13875 /* "0" */, TCL_GLOBAL_ONLY)
+ tcl.XTcl_SetVar2(tls, interp, ts+29060 /* "sqlite_options" */, ts+29737 /* "icu" */, ts+14654 /* "0" */, TCL_GLOBAL_ONLY)
- tcl.XTcl_SetVar2(tls, interp, ts+28216 /* "sqlite_options" */, ts+28879 /* "icu_collations" */, ts+13875 /* "0" */, TCL_GLOBAL_ONLY)
+ tcl.XTcl_SetVar2(tls, interp, ts+29060 /* "sqlite_options" */, ts+29741 /* "icu_collations" */, ts+14654 /* "0" */, TCL_GLOBAL_ONLY)
- tcl.XTcl_SetVar2(tls, interp, ts+28216 /* "sqlite_options" */, ts+10526 /* "incrblob" */, ts+28250 /* "1" */, TCL_GLOBAL_ONLY)
+ tcl.XTcl_SetVar2(tls, interp, ts+29060 /* "sqlite_options" */, ts+11333 /* "incrblob" */, ts+29094 /* "1" */, TCL_GLOBAL_ONLY)
- tcl.XTcl_SetVar2(tls, interp, ts+28216 /* "sqlite_options" */, ts+28894 /* "integrityck" */, ts+28250 /* "1" */, TCL_GLOBAL_ONLY)
+ tcl.XTcl_SetVar2(tls, interp, ts+29060 /* "sqlite_options" */, ts+29756 /* "integrityck" */, ts+29094 /* "1" */, TCL_GLOBAL_ONLY)
- tcl.XTcl_SetVar2(tls, interp, ts+28216 /* "sqlite_options" */, ts+28906 /* "legacyformat" */, ts+13875 /* "0" */, TCL_GLOBAL_ONLY)
+ tcl.XTcl_SetVar2(tls, interp, ts+29060 /* "sqlite_options" */, ts+29768 /* "legacyformat" */, ts+14654 /* "0" */, TCL_GLOBAL_ONLY)
- tcl.XTcl_SetVar2(tls, interp, ts+28216 /* "sqlite_options" */, ts+28919 /* "like_opt" */, ts+28250 /* "1" */, TCL_GLOBAL_ONLY)
+ tcl.XTcl_SetVar2(tls, interp, ts+29060 /* "sqlite_options" */, ts+29781 /* "like_opt" */, ts+29094 /* "1" */, TCL_GLOBAL_ONLY)
- tcl.XTcl_SetVar2(tls, interp, ts+28216 /* "sqlite_options" */, ts+28928 /* "load_ext" */, ts+13875 /* "0" */, TCL_GLOBAL_ONLY)
+ tcl.XTcl_SetVar2(tls, interp, ts+29060 /* "sqlite_options" */, ts+29790 /* "load_ext" */, ts+14654 /* "0" */, TCL_GLOBAL_ONLY)
- tcl.XTcl_SetVar2(tls, interp, ts+28216 /* "sqlite_options" */, ts+28937 /* "localtime" */, ts+28250 /* "1" */, TCL_GLOBAL_ONLY)
+ tcl.XTcl_SetVar2(tls, interp, ts+29060 /* "sqlite_options" */, ts+29799 /* "localtime" */, ts+29094 /* "1" */, TCL_GLOBAL_ONLY)
- tcl.XTcl_SetVar2(tls, interp, ts+28216 /* "sqlite_options" */, ts+28947 /* "lookaside" */, ts+28250 /* "1" */, TCL_GLOBAL_ONLY)
+ tcl.XTcl_SetVar2(tls, interp, ts+29060 /* "sqlite_options" */, ts+29809 /* "lookaside" */, ts+29094 /* "1" */, TCL_GLOBAL_ONLY)
- tcl.XTcl_SetVar2(tls, interp, ts+28216 /* "sqlite_options" */, ts+28957, /* "long_double" */
+ tcl.XTcl_SetVar2(tls, interp, ts+29060 /* "sqlite_options" */, ts+29819, /* "long_double" */
func() uintptr {
if uint64(unsafe.Sizeof(float64(0))) > uint64(unsafe.Sizeof(float64(0))) {
- return ts + 28250 /* "1" */
+ return ts + 29094 /* "1" */
}
- return ts + 13875 /* "0" */
+ return ts + 14654 /* "0" */
}(),
TCL_GLOBAL_ONLY)
- tcl.XTcl_SetVar2(tls, interp, ts+28216 /* "sqlite_options" */, ts+28969 /* "memorydb" */, ts+28250 /* "1" */, TCL_GLOBAL_ONLY)
+ tcl.XTcl_SetVar2(tls, interp, ts+29060 /* "sqlite_options" */, ts+29831 /* "memorydb" */, ts+29094 /* "1" */, TCL_GLOBAL_ONLY)
- tcl.XTcl_SetVar2(tls, interp, ts+28216 /* "sqlite_options" */, ts+28978 /* "memorymanage" */, ts+28250 /* "1" */, TCL_GLOBAL_ONLY)
+ tcl.XTcl_SetVar2(tls, interp, ts+29060 /* "sqlite_options" */, ts+29840 /* "memorymanage" */, ts+29094 /* "1" */, TCL_GLOBAL_ONLY)
- tcl.XTcl_SetVar2(tls, interp, ts+28216 /* "sqlite_options" */, ts+28991 /* "mergesort" */, ts+28250 /* "1" */, TCL_GLOBAL_ONLY)
+ tcl.XTcl_SetVar2(tls, interp, ts+29060 /* "sqlite_options" */, ts+29853 /* "mergesort" */, ts+29094 /* "1" */, TCL_GLOBAL_ONLY)
- tcl.XTcl_SetVar2(tls, interp, ts+28216 /* "sqlite_options" */, ts+29001 /* "null_trim" */, ts+13875 /* "0" */, TCL_GLOBAL_ONLY)
+ tcl.XTcl_SetVar2(tls, interp, ts+29060 /* "sqlite_options" */, ts+29863 /* "null_trim" */, ts+14654 /* "0" */, TCL_GLOBAL_ONLY)
- tcl.XTcl_SetVar2(tls, interp, ts+28216 /* "sqlite_options" */, ts+29011 /* "or_opt" */, ts+28250 /* "1" */, TCL_GLOBAL_ONLY)
+ tcl.XTcl_SetVar2(tls, interp, ts+29060 /* "sqlite_options" */, ts+29873 /* "or_opt" */, ts+29094 /* "1" */, TCL_GLOBAL_ONLY)
- tcl.XTcl_SetVar2(tls, interp, ts+28216 /* "sqlite_options" */, ts+29018 /* "rbu" */, ts+28250 /* "1" */, TCL_GLOBAL_ONLY)
+ tcl.XTcl_SetVar2(tls, interp, ts+29060 /* "sqlite_options" */, ts+29880 /* "rbu" */, ts+29094 /* "1" */, TCL_GLOBAL_ONLY)
- tcl.XTcl_SetVar2(tls, interp, ts+28216 /* "sqlite_options" */, ts+29022 /* "pager_pragmas" */, ts+28250 /* "1" */, TCL_GLOBAL_ONLY)
+ tcl.XTcl_SetVar2(tls, interp, ts+29060 /* "sqlite_options" */, ts+29884 /* "pager_pragmas" */, ts+29094 /* "1" */, TCL_GLOBAL_ONLY)
- tcl.XTcl_SetVar2(tls, interp, ts+28216 /* "sqlite_options" */, ts+29036 /* "pragma" */, ts+28250 /* "1" */, TCL_GLOBAL_ONLY)
+ tcl.XTcl_SetVar2(tls, interp, ts+29060 /* "sqlite_options" */, ts+29898 /* "pragma" */, ts+29094 /* "1" */, TCL_GLOBAL_ONLY)
- tcl.XTcl_SetVar2(tls, interp, ts+28216 /* "sqlite_options" */, ts+10201 /* "progress" */, ts+28250 /* "1" */, TCL_GLOBAL_ONLY)
+ tcl.XTcl_SetVar2(tls, interp, ts+29060 /* "sqlite_options" */, ts+10199 /* "progress" */, ts+29094 /* "1" */, TCL_GLOBAL_ONLY)
- tcl.XTcl_SetVar2(tls, interp, ts+28216 /* "sqlite_options" */, ts+29043 /* "reindex" */, ts+28250 /* "1" */, TCL_GLOBAL_ONLY)
+ tcl.XTcl_SetVar2(tls, interp, ts+29060 /* "sqlite_options" */, ts+29905 /* "reindex" */, ts+29094 /* "1" */, TCL_GLOBAL_ONLY)
- tcl.XTcl_SetVar2(tls, interp, ts+28216 /* "sqlite_options" */, ts+29051 /* "rtree" */, ts+28250 /* "1" */, TCL_GLOBAL_ONLY)
+ tcl.XTcl_SetVar2(tls, interp, ts+29060 /* "sqlite_options" */, ts+29913 /* "rtree" */, ts+29094 /* "1" */, TCL_GLOBAL_ONLY)
- tcl.XTcl_SetVar2(tls, interp, ts+28216 /* "sqlite_options" */, ts+29057 /* "rtree_int_only" */, ts+13875 /* "0" */, TCL_GLOBAL_ONLY)
+ tcl.XTcl_SetVar2(tls, interp, ts+29060 /* "sqlite_options" */, ts+29919 /* "rtree_int_only" */, ts+14654 /* "0" */, TCL_GLOBAL_ONLY)
- tcl.XTcl_SetVar2(tls, interp, ts+28216 /* "sqlite_options" */, ts+29072 /* "schema_pragmas" */, ts+28250 /* "1" */, TCL_GLOBAL_ONLY)
+ tcl.XTcl_SetVar2(tls, interp, ts+29060 /* "sqlite_options" */, ts+29934 /* "schema_pragmas" */, ts+29094 /* "1" */, TCL_GLOBAL_ONLY)
- tcl.XTcl_SetVar2(tls, interp, ts+28216 /* "sqlite_options" */, ts+29087 /* "schema_version" */, ts+28250 /* "1" */, TCL_GLOBAL_ONLY)
+ tcl.XTcl_SetVar2(tls, interp, ts+29060 /* "sqlite_options" */, ts+29949 /* "schema_version" */, ts+29094 /* "1" */, TCL_GLOBAL_ONLY)
- tcl.XTcl_SetVar2(tls, interp, ts+28216 /* "sqlite_options" */, ts+29102 /* "session" */, ts+13875 /* "0" */, TCL_GLOBAL_ONLY)
+ tcl.XTcl_SetVar2(tls, interp, ts+29060 /* "sqlite_options" */, ts+29964 /* "session" */, ts+29094 /* "1" */, TCL_GLOBAL_ONLY)
- tcl.XTcl_SetVar2(tls, interp, ts+28216 /* "sqlite_options" */, ts+18460 /* "stat4" */, ts+28250 /* "1" */, TCL_GLOBAL_ONLY)
- tcl.XTcl_SetVar2(tls, interp, ts+28216 /* "sqlite_options" */, ts+29110 /* "stmtvtab" */, ts+28250 /* "1" */, TCL_GLOBAL_ONLY)
+ tcl.XTcl_SetVar2(tls, interp, ts+29060 /* "sqlite_options" */, ts+19249 /* "stat4" */, ts+29094 /* "1" */, TCL_GLOBAL_ONLY)
+ tcl.XTcl_SetVar2(tls, interp, ts+29060 /* "sqlite_options" */, ts+29972 /* "stmtvtab" */, ts+29094 /* "1" */, TCL_GLOBAL_ONLY)
- tcl.XTcl_SetVar2(tls, interp, ts+28216 /* "sqlite_options" */, ts+29119 /* "scanstatus" */, ts+13875 /* "0" */, TCL_GLOBAL_ONLY)
+ tcl.XTcl_SetVar2(tls, interp, ts+29060 /* "sqlite_options" */, ts+29981 /* "scanstatus" */, ts+14654 /* "0" */, TCL_GLOBAL_ONLY)
- tcl.XTcl_SetVar2(tls, interp, ts+28216 /* "sqlite_options" */, ts+29130 /* "lock_proxy_pragm..." */, ts+13875 /* "0" */, TCL_GLOBAL_ONLY)
- tcl.XTcl_SetVar2(tls, interp, ts+28216 /* "sqlite_options" */, ts+29149 /* "prefer_proxy_loc..." */, ts+13875 /* "0" */, TCL_GLOBAL_ONLY)
+ tcl.XTcl_SetVar2(tls, interp, ts+29060 /* "sqlite_options" */, ts+29992 /* "lock_proxy_pragm..." */, ts+14654 /* "0" */, TCL_GLOBAL_ONLY)
+ tcl.XTcl_SetVar2(tls, interp, ts+29060 /* "sqlite_options" */, ts+30011 /* "prefer_proxy_loc..." */, ts+14654 /* "0" */, TCL_GLOBAL_ONLY)
- tcl.XTcl_SetVar2(tls, interp, ts+28216 /* "sqlite_options" */, ts+29170 /* "shared_cache" */, ts+28250 /* "1" */, TCL_GLOBAL_ONLY)
+ tcl.XTcl_SetVar2(tls, interp, ts+29060 /* "sqlite_options" */, ts+30032 /* "shared_cache" */, ts+29094 /* "1" */, TCL_GLOBAL_ONLY)
- tcl.XTcl_SetVar2(tls, interp, ts+28216 /* "sqlite_options" */, ts+29183 /* "subquery" */, ts+28250 /* "1" */, TCL_GLOBAL_ONLY)
+ tcl.XTcl_SetVar2(tls, interp, ts+29060 /* "sqlite_options" */, ts+30045 /* "subquery" */, ts+29094 /* "1" */, TCL_GLOBAL_ONLY)
- tcl.XTcl_SetVar2(tls, interp, ts+28216 /* "sqlite_options" */, ts+29192 /* "tclvar" */, ts+28250 /* "1" */, TCL_GLOBAL_ONLY)
+ tcl.XTcl_SetVar2(tls, interp, ts+29060 /* "sqlite_options" */, ts+30054 /* "tclvar" */, ts+29094 /* "1" */, TCL_GLOBAL_ONLY)
- tcl.XTcl_SetVar2(tls, interp, ts+28216 /* "sqlite_options" */, ts+29199, /* "threadsafe" */
+ tcl.XTcl_SetVar2(tls, interp, ts+29060 /* "sqlite_options" */, ts+30061, /* "threadsafe" */
func() uintptr {
if 1 != 0 {
- return ts + 28250 /* "1" */
+ return ts + 29094 /* "1" */
}
- return ts + 13875 /* "0" */
+ return ts + 14654 /* "0" */
}(), TCL_GLOBAL_ONLY)
- tcl.XTcl_SetVar2(tls, interp, ts+28216 /* "sqlite_options" */, ts+29210, /* "threadsafe1" */
+ tcl.XTcl_SetVar2(tls, interp, ts+29060 /* "sqlite_options" */, ts+30072, /* "threadsafe1" */
func() uintptr {
if SQLITE_THREADSAFE == 1 {
- return ts + 28250 /* "1" */
+ return ts + 29094 /* "1" */
}
- return ts + 13875 /* "0" */
+ return ts + 14654 /* "0" */
}(), TCL_GLOBAL_ONLY)
- tcl.XTcl_SetVar2(tls, interp, ts+28216 /* "sqlite_options" */, ts+29222, /* "threadsafe2" */
+ tcl.XTcl_SetVar2(tls, interp, ts+29060 /* "sqlite_options" */, ts+30084, /* "threadsafe2" */
func() uintptr {
if SQLITE_THREADSAFE == 2 {
- return ts + 28250 /* "1" */
+ return ts + 29094 /* "1" */
}
- return ts + 13875 /* "0" */
+ return ts + 14654 /* "0" */
}(), TCL_GLOBAL_ONLY)
- tcl.XTcl_SetVar2(tls, interp, ts+28216 /* "sqlite_options" */, ts+29234 /* "tempdb" */, ts+28250 /* "1" */, TCL_GLOBAL_ONLY)
+ tcl.XTcl_SetVar2(tls, interp, ts+29060 /* "sqlite_options" */, ts+30096 /* "tempdb" */, ts+29094 /* "1" */, TCL_GLOBAL_ONLY)
- tcl.XTcl_SetVar2(tls, interp, ts+28216 /* "sqlite_options" */, ts+13347 /* "trace" */, ts+28250 /* "1" */, TCL_GLOBAL_ONLY)
+ tcl.XTcl_SetVar2(tls, interp, ts+29060 /* "sqlite_options" */, ts+14126 /* "trace" */, ts+29094 /* "1" */, TCL_GLOBAL_ONLY)
- tcl.XTcl_SetVar2(tls, interp, ts+28216 /* "sqlite_options" */, ts+29241 /* "trigger" */, ts+28250 /* "1" */, TCL_GLOBAL_ONLY)
+ tcl.XTcl_SetVar2(tls, interp, ts+29060 /* "sqlite_options" */, ts+30103 /* "trigger" */, ts+29094 /* "1" */, TCL_GLOBAL_ONLY)
- tcl.XTcl_SetVar2(tls, interp, ts+28216 /* "sqlite_options" */, ts+29249 /* "truncate_opt" */, ts+28250 /* "1" */, TCL_GLOBAL_ONLY)
+ tcl.XTcl_SetVar2(tls, interp, ts+29060 /* "sqlite_options" */, ts+30111 /* "truncate_opt" */, ts+29094 /* "1" */, TCL_GLOBAL_ONLY)
- tcl.XTcl_SetVar2(tls, interp, ts+28216 /* "sqlite_options" */, ts+15410 /* "utf16" */, ts+28250 /* "1" */, TCL_GLOBAL_ONLY)
+ tcl.XTcl_SetVar2(tls, interp, ts+29060 /* "sqlite_options" */, ts+16199 /* "utf16" */, ts+29094 /* "1" */, TCL_GLOBAL_ONLY)
- tcl.XTcl_SetVar2(tls, interp, ts+28216 /* "sqlite_options" */, ts+29262 /* "vacuum" */, ts+28250 /* "1" */, TCL_GLOBAL_ONLY)
+ tcl.XTcl_SetVar2(tls, interp, ts+29060 /* "sqlite_options" */, ts+30124 /* "vacuum" */, ts+29094 /* "1" */, TCL_GLOBAL_ONLY)
- tcl.XTcl_SetVar2(tls, interp, ts+28216 /* "sqlite_options" */, ts+29269 /* "view" */, ts+28250 /* "1" */, TCL_GLOBAL_ONLY)
+ tcl.XTcl_SetVar2(tls, interp, ts+29060 /* "sqlite_options" */, ts+30131 /* "view" */, ts+29094 /* "1" */, TCL_GLOBAL_ONLY)
- tcl.XTcl_SetVar2(tls, interp, ts+28216 /* "sqlite_options" */, ts+29274 /* "vtab" */, ts+28250 /* "1" */, TCL_GLOBAL_ONLY)
+ tcl.XTcl_SetVar2(tls, interp, ts+29060 /* "sqlite_options" */, ts+30136 /* "vtab" */, ts+29094 /* "1" */, TCL_GLOBAL_ONLY)
- tcl.XTcl_SetVar2(tls, interp, ts+28216 /* "sqlite_options" */, ts+29279 /* "wal" */, ts+28250 /* "1" */, TCL_GLOBAL_ONLY)
+ tcl.XTcl_SetVar2(tls, interp, ts+29060 /* "sqlite_options" */, ts+30141 /* "wal" */, ts+29094 /* "1" */, TCL_GLOBAL_ONLY)
- tcl.XTcl_SetVar2(tls, interp, ts+28216 /* "sqlite_options" */, ts+29283 /* "wsd" */, ts+28250 /* "1" */, TCL_GLOBAL_ONLY)
+ tcl.XTcl_SetVar2(tls, interp, ts+29060 /* "sqlite_options" */, ts+30145 /* "wsd" */, ts+29094 /* "1" */, TCL_GLOBAL_ONLY)
- tcl.XTcl_SetVar2(tls, interp, ts+28216 /* "sqlite_options" */, ts+29287 /* "update_delete_li..." */, ts+13875 /* "0" */, TCL_GLOBAL_ONLY)
+ tcl.XTcl_SetVar2(tls, interp, ts+29060 /* "sqlite_options" */, ts+30149 /* "update_delete_li..." */, ts+14654 /* "0" */, TCL_GLOBAL_ONLY)
- tcl.XTcl_SetVar2(tls, interp, ts+28216 /* "sqlite_options" */, ts+13374 /* "unlock_notify" */, ts+28250 /* "1" */, TCL_GLOBAL_ONLY)
+ tcl.XTcl_SetVar2(tls, interp, ts+29060 /* "sqlite_options" */, ts+14153 /* "unlock_notify" */, ts+29094 /* "1" */, TCL_GLOBAL_ONLY)
- tcl.XTcl_SetVar2(tls, interp, ts+28216 /* "sqlite_options" */, ts+29307 /* "fast_secure_dele..." */, ts+13875 /* "0" */, TCL_GLOBAL_ONLY)
+ tcl.XTcl_SetVar2(tls, interp, ts+29060 /* "sqlite_options" */, ts+30169 /* "fast_secure_dele..." */, ts+14654 /* "0" */, TCL_GLOBAL_ONLY)
- tcl.XTcl_SetVar2(tls, interp, ts+28216 /* "sqlite_options" */, ts+29326 /* "secure_delete" */, ts+13875 /* "0" */, TCL_GLOBAL_ONLY)
+ tcl.XTcl_SetVar2(tls, interp, ts+29060 /* "sqlite_options" */, ts+30188 /* "secure_delete" */, ts+14654 /* "0" */, TCL_GLOBAL_ONLY)
- tcl.XTcl_SetVar2(tls, interp, ts+28216 /* "sqlite_options" */, ts+29340 /* "userauth" */, ts+13875 /* "0" */, TCL_GLOBAL_ONLY)
+ tcl.XTcl_SetVar2(tls, interp, ts+29060 /* "sqlite_options" */, ts+30202 /* "userauth" */, ts+14654 /* "0" */, TCL_GLOBAL_ONLY)
- tcl.XTcl_SetVar2(tls, interp, ts+28216 /* "sqlite_options" */, ts+29349 /* "multiplex_ext_ov..." */, ts+13875 /* "0" */, TCL_GLOBAL_ONLY)
+ tcl.XTcl_SetVar2(tls, interp, ts+29060 /* "sqlite_options" */, ts+30211 /* "multiplex_ext_ov..." */, ts+14654 /* "0" */, TCL_GLOBAL_ONLY)
- tcl.XTcl_SetVar2(tls, interp, ts+28216 /* "sqlite_options" */, ts+29373 /* "yytrackmaxstackd..." */, ts+13875 /* "0" */, TCL_GLOBAL_ONLY)
+ tcl.XTcl_SetVar2(tls, interp, ts+29060 /* "sqlite_options" */, ts+30235 /* "yytrackmaxstackd..." */, ts+14654 /* "0" */, TCL_GLOBAL_ONLY)
- tcl.XTcl_SetVar2(tls, interp, ts+28216 /* "sqlite_options" */, ts+29394 /* "sqllog" */, ts+13875 /* "0" */, TCL_GLOBAL_ONLY)
+ tcl.XTcl_SetVar2(tls, interp, ts+29060 /* "sqlite_options" */, ts+30256 /* "sqllog" */, ts+14654 /* "0" */, TCL_GLOBAL_ONLY)
- tcl.XTcl_SetVar2(tls, interp, ts+28216 /* "sqlite_options" */, ts+29401 /* "uri_00_error" */, ts+13875 /* "0" */, TCL_GLOBAL_ONLY)
+ tcl.XTcl_SetVar2(tls, interp, ts+29060 /* "sqlite_options" */, ts+30263 /* "uri_00_error" */, ts+14654 /* "0" */, TCL_GLOBAL_ONLY)
- tcl.XTcl_SetVar2(tls, interp, ts+28216 /* "sqlite_options" */, ts+29414 /* "normalize" */, ts+13875 /* "0" */, TCL_GLOBAL_ONLY)
+ tcl.XTcl_SetVar2(tls, interp, ts+29060 /* "sqlite_options" */, ts+30276 /* "normalize" */, ts+14654 /* "0" */, TCL_GLOBAL_ONLY)
- tcl.XTcl_SetVar2(tls, interp, ts+28216 /* "sqlite_options" */, ts+29424 /* "windowfunc" */, ts+28250 /* "1" */, TCL_GLOBAL_ONLY)
+ tcl.XTcl_SetVar2(tls, interp, ts+29060 /* "sqlite_options" */, ts+30286 /* "windowfunc" */, ts+29094 /* "1" */, TCL_GLOBAL_ONLY)
{
- tcl.XTcl_LinkVar(tls, interp, ts+29435 /* "SQLITE_MAX_LENGT..." */, uintptr(unsafe.Pointer(&cv_MAX_LENGTH)), (TCL_LINK_INT | TCL_LINK_READ_ONLY))
+ tcl.XTcl_LinkVar(tls, interp, ts+30297 /* "SQLITE_MAX_LENGT..." */, uintptr(unsafe.Pointer(&cv_MAX_LENGTH)), (TCL_LINK_INT | TCL_LINK_READ_ONLY))
}
{
- tcl.XTcl_LinkVar(tls, interp, ts+29453 /* "SQLITE_MAX_COLUM..." */, uintptr(unsafe.Pointer(&cv_MAX_COLUMN)), (TCL_LINK_INT | TCL_LINK_READ_ONLY))
+ tcl.XTcl_LinkVar(tls, interp, ts+30315 /* "SQLITE_MAX_COLUM..." */, uintptr(unsafe.Pointer(&cv_MAX_COLUMN)), (TCL_LINK_INT | TCL_LINK_READ_ONLY))
}
{
- tcl.XTcl_LinkVar(tls, interp, ts+29471 /* "SQLITE_MAX_SQL_L..." */, uintptr(unsafe.Pointer(&cv_MAX_SQL_LENGTH)), (TCL_LINK_INT | TCL_LINK_READ_ONLY))
+ tcl.XTcl_LinkVar(tls, interp, ts+30333 /* "SQLITE_MAX_SQL_L..." */, uintptr(unsafe.Pointer(&cv_MAX_SQL_LENGTH)), (TCL_LINK_INT | TCL_LINK_READ_ONLY))
}
{
- tcl.XTcl_LinkVar(tls, interp, ts+29493 /* "SQLITE_MAX_EXPR_..." */, uintptr(unsafe.Pointer(&cv_MAX_EXPR_DEPTH)), (TCL_LINK_INT | TCL_LINK_READ_ONLY))
+ tcl.XTcl_LinkVar(tls, interp, ts+30355 /* "SQLITE_MAX_EXPR_..." */, uintptr(unsafe.Pointer(&cv_MAX_EXPR_DEPTH)), (TCL_LINK_INT | TCL_LINK_READ_ONLY))
}
{
- tcl.XTcl_LinkVar(tls, interp, ts+29515 /* "SQLITE_MAX_COMPO..." */, uintptr(unsafe.Pointer(&cv_MAX_COMPOUND_SELECT)), (TCL_LINK_INT | TCL_LINK_READ_ONLY))
+ tcl.XTcl_LinkVar(tls, interp, ts+30377 /* "SQLITE_MAX_COMPO..." */, uintptr(unsafe.Pointer(&cv_MAX_COMPOUND_SELECT)), (TCL_LINK_INT | TCL_LINK_READ_ONLY))
}
{
- tcl.XTcl_LinkVar(tls, interp, ts+29542 /* "SQLITE_MAX_VDBE_..." */, uintptr(unsafe.Pointer(&cv_MAX_VDBE_OP)), (TCL_LINK_INT | TCL_LINK_READ_ONLY))
+ tcl.XTcl_LinkVar(tls, interp, ts+30404 /* "SQLITE_MAX_VDBE_..." */, uintptr(unsafe.Pointer(&cv_MAX_VDBE_OP)), (TCL_LINK_INT | TCL_LINK_READ_ONLY))
}
{
- tcl.XTcl_LinkVar(tls, interp, ts+29561 /* "SQLITE_MAX_FUNCT..." */, uintptr(unsafe.Pointer(&cv_MAX_FUNCTION_ARG)), (TCL_LINK_INT | TCL_LINK_READ_ONLY))
+ tcl.XTcl_LinkVar(tls, interp, ts+30423 /* "SQLITE_MAX_FUNCT..." */, uintptr(unsafe.Pointer(&cv_MAX_FUNCTION_ARG)), (TCL_LINK_INT | TCL_LINK_READ_ONLY))
}
{
- tcl.XTcl_LinkVar(tls, interp, ts+29585 /* "SQLITE_MAX_VARIA..." */, uintptr(unsafe.Pointer(&cv_MAX_VARIABLE_NUMBER)), (TCL_LINK_INT | TCL_LINK_READ_ONLY))
+ tcl.XTcl_LinkVar(tls, interp, ts+30447 /* "SQLITE_MAX_VARIA..." */, uintptr(unsafe.Pointer(&cv_MAX_VARIABLE_NUMBER)), (TCL_LINK_INT | TCL_LINK_READ_ONLY))
}
{
- tcl.XTcl_LinkVar(tls, interp, ts+29612 /* "SQLITE_MAX_PAGE_..." */, uintptr(unsafe.Pointer(&cv_MAX_PAGE_SIZE)), (TCL_LINK_INT | TCL_LINK_READ_ONLY))
+ tcl.XTcl_LinkVar(tls, interp, ts+30474 /* "SQLITE_MAX_PAGE_..." */, uintptr(unsafe.Pointer(&cv_MAX_PAGE_SIZE)), (TCL_LINK_INT | TCL_LINK_READ_ONLY))
}
{
- tcl.XTcl_LinkVar(tls, interp, ts+29633 /* "SQLITE_MAX_PAGE_..." */, uintptr(unsafe.Pointer(&cv_MAX_PAGE_COUNT)), (TCL_LINK_INT | TCL_LINK_READ_ONLY))
+ tcl.XTcl_LinkVar(tls, interp, ts+30495 /* "SQLITE_MAX_PAGE_..." */, uintptr(unsafe.Pointer(&cv_MAX_PAGE_COUNT)), (TCL_LINK_INT | TCL_LINK_READ_ONLY))
}
{
- tcl.XTcl_LinkVar(tls, interp, ts+29655 /* "SQLITE_MAX_LIKE_..." */, uintptr(unsafe.Pointer(&cv_MAX_LIKE_PATTERN_LENGTH)), (TCL_LINK_INT | TCL_LINK_READ_ONLY))
+ tcl.XTcl_LinkVar(tls, interp, ts+30517 /* "SQLITE_MAX_LIKE_..." */, uintptr(unsafe.Pointer(&cv_MAX_LIKE_PATTERN_LENGTH)), (TCL_LINK_INT | TCL_LINK_READ_ONLY))
}
{
- tcl.XTcl_LinkVar(tls, interp, ts+29686 /* "SQLITE_MAX_TRIGG..." */, uintptr(unsafe.Pointer(&cv_MAX_TRIGGER_DEPTH)), (TCL_LINK_INT | TCL_LINK_READ_ONLY))
+ tcl.XTcl_LinkVar(tls, interp, ts+30548 /* "SQLITE_MAX_TRIGG..." */, uintptr(unsafe.Pointer(&cv_MAX_TRIGGER_DEPTH)), (TCL_LINK_INT | TCL_LINK_READ_ONLY))
}
{
- tcl.XTcl_LinkVar(tls, interp, ts+29711 /* "SQLITE_DEFAULT_C..." */, uintptr(unsafe.Pointer(&cv_DEFAULT_CACHE_SIZE)), (TCL_LINK_INT | TCL_LINK_READ_ONLY))
+ tcl.XTcl_LinkVar(tls, interp, ts+30573 /* "SQLITE_DEFAULT_C..." */, uintptr(unsafe.Pointer(&cv_DEFAULT_CACHE_SIZE)), (TCL_LINK_INT | TCL_LINK_READ_ONLY))
}
{
- tcl.XTcl_LinkVar(tls, interp, ts+29737 /* "SQLITE_DEFAULT_P..." */, uintptr(unsafe.Pointer(&cv_DEFAULT_PAGE_SIZE)), (TCL_LINK_INT | TCL_LINK_READ_ONLY))
+ tcl.XTcl_LinkVar(tls, interp, ts+30599 /* "SQLITE_DEFAULT_P..." */, uintptr(unsafe.Pointer(&cv_DEFAULT_PAGE_SIZE)), (TCL_LINK_INT | TCL_LINK_READ_ONLY))
}
{
- tcl.XTcl_LinkVar(tls, interp, ts+29762 /* "SQLITE_DEFAULT_F..." */, uintptr(unsafe.Pointer(&cv_DEFAULT_FILE_FORMAT)), (TCL_LINK_INT | TCL_LINK_READ_ONLY))
+ tcl.XTcl_LinkVar(tls, interp, ts+30624 /* "SQLITE_DEFAULT_F..." */, uintptr(unsafe.Pointer(&cv_DEFAULT_FILE_FORMAT)), (TCL_LINK_INT | TCL_LINK_READ_ONLY))
}
{
- tcl.XTcl_LinkVar(tls, interp, ts+29789 /* "SQLITE_DEFAULT_S..." */, uintptr(unsafe.Pointer(&cv_DEFAULT_SYNCHRONOUS)), (TCL_LINK_INT | TCL_LINK_READ_ONLY))
+ tcl.XTcl_LinkVar(tls, interp, ts+30651 /* "SQLITE_DEFAULT_S..." */, uintptr(unsafe.Pointer(&cv_DEFAULT_SYNCHRONOUS)), (TCL_LINK_INT | TCL_LINK_READ_ONLY))
}
{
- tcl.XTcl_LinkVar(tls, interp, ts+29816 /* "SQLITE_DEFAULT_W..." */, uintptr(unsafe.Pointer(&cv_DEFAULT_WAL_SYNCHRONOUS)), (TCL_LINK_INT | TCL_LINK_READ_ONLY))
+ tcl.XTcl_LinkVar(tls, interp, ts+30678 /* "SQLITE_DEFAULT_W..." */, uintptr(unsafe.Pointer(&cv_DEFAULT_WAL_SYNCHRONOUS)), (TCL_LINK_INT | TCL_LINK_READ_ONLY))
}
{
- tcl.XTcl_LinkVar(tls, interp, ts+29847 /* "SQLITE_MAX_ATTAC..." */, uintptr(unsafe.Pointer(&cv_MAX_ATTACHED)), (TCL_LINK_INT | TCL_LINK_READ_ONLY))
+ tcl.XTcl_LinkVar(tls, interp, ts+30709 /* "SQLITE_MAX_ATTAC..." */, uintptr(unsafe.Pointer(&cv_MAX_ATTACHED)), (TCL_LINK_INT | TCL_LINK_READ_ONLY))
}
{
- tcl.XTcl_LinkVar(tls, interp, ts+29867 /* "SQLITE_MAX_DEFAU..." */, uintptr(unsafe.Pointer(&cv_MAX_DEFAULT_PAGE_SIZE)), (TCL_LINK_INT | TCL_LINK_READ_ONLY))
+ tcl.XTcl_LinkVar(tls, interp, ts+30729 /* "SQLITE_MAX_DEFAU..." */, uintptr(unsafe.Pointer(&cv_MAX_DEFAULT_PAGE_SIZE)), (TCL_LINK_INT | TCL_LINK_READ_ONLY))
}
{
- tcl.XTcl_LinkVar(tls, interp, ts+29896 /* "SQLITE_MAX_WORKE..." */, uintptr(unsafe.Pointer(&cv_MAX_WORKER_THREADS)), (TCL_LINK_INT | TCL_LINK_READ_ONLY))
+ tcl.XTcl_LinkVar(tls, interp, ts+30758 /* "SQLITE_MAX_WORKE..." */, uintptr(unsafe.Pointer(&cv_MAX_WORKER_THREADS)), (TCL_LINK_INT | TCL_LINK_READ_ONLY))
}
{
- tcl.XTcl_LinkVar(tls, interp, ts+29922 /* "TEMP_STORE" */, uintptr(unsafe.Pointer(&cv_TEMP_STORE)),
+ tcl.XTcl_LinkVar(tls, interp, ts+30784 /* "TEMP_STORE" */, uintptr(unsafe.Pointer(&cv_TEMP_STORE)),
(TCL_LINK_INT | TCL_LINK_READ_ONLY))
}
{
- tcl.XTcl_LinkVar(tls, interp, ts+29933 /* "__GNUC__" */, uintptr(unsafe.Pointer(&cv___GNUC__)),
+ tcl.XTcl_LinkVar(tls, interp, ts+30795 /* "__GNUC__" */, uintptr(unsafe.Pointer(&cv___GNUC__)),
(TCL_LINK_INT | TCL_LINK_READ_ONLY))
}
}
-var cv_MAX_LENGTH int32 = SQLITE_MAX_LENGTH /* test_config.c:778:3 */
-var cv_MAX_COLUMN int32 = SQLITE_MAX_COLUMN /* test_config.c:779:3 */
-var cv_MAX_SQL_LENGTH int32 = SQLITE_MAX_SQL_LENGTH /* test_config.c:780:3 */
-var cv_MAX_EXPR_DEPTH int32 = SQLITE_MAX_EXPR_DEPTH /* test_config.c:781:3 */
-var cv_MAX_COMPOUND_SELECT int32 = SQLITE_MAX_COMPOUND_SELECT /* test_config.c:782:3 */
-var cv_MAX_VDBE_OP int32 = SQLITE_MAX_VDBE_OP /* test_config.c:783:3 */
-var cv_MAX_FUNCTION_ARG int32 = SQLITE_MAX_FUNCTION_ARG /* test_config.c:784:3 */
-var cv_MAX_VARIABLE_NUMBER int32 = SQLITE_MAX_VARIABLE_NUMBER /* test_config.c:785:3 */
-var cv_MAX_PAGE_SIZE int32 = SQLITE_MAX_PAGE_SIZE /* test_config.c:786:3 */
-var cv_MAX_PAGE_COUNT int32 = SQLITE_MAX_PAGE_COUNT /* test_config.c:787:3 */
-var cv_MAX_LIKE_PATTERN_LENGTH int32 = SQLITE_MAX_LIKE_PATTERN_LENGTH /* test_config.c:788:3 */
-var cv_MAX_TRIGGER_DEPTH int32 = SQLITE_MAX_TRIGGER_DEPTH /* test_config.c:789:3 */
-var cv_DEFAULT_CACHE_SIZE int32 = -2000 /* test_config.c:790:3 */
-var cv_DEFAULT_PAGE_SIZE int32 = SQLITE_DEFAULT_PAGE_SIZE /* test_config.c:791:3 */
-var cv_DEFAULT_FILE_FORMAT int32 = SQLITE_DEFAULT_FILE_FORMAT /* test_config.c:792:3 */
-var cv_DEFAULT_SYNCHRONOUS int32 = SQLITE_DEFAULT_SYNCHRONOUS /* test_config.c:793:3 */
-var cv_DEFAULT_WAL_SYNCHRONOUS int32 = SQLITE_DEFAULT_SYNCHRONOUS /* test_config.c:794:3 */
-var cv_MAX_ATTACHED int32 = SQLITE_MAX_ATTACHED /* test_config.c:795:3 */
-var cv_MAX_DEFAULT_PAGE_SIZE int32 = SQLITE_MAX_DEFAULT_PAGE_SIZE /* test_config.c:796:3 */
-var cv_MAX_WORKER_THREADS int32 = SQLITE_MAX_WORKER_THREADS /* test_config.c:797:3 */
-var cv_TEMP_STORE int32 = SQLITE_TEMP_STORE /* test_config.c:800:22 */
-var cv___GNUC__ int32 = 1 /* test_config.c:814:22 */
+var cv_MAX_LENGTH int32 = SQLITE_MAX_LENGTH /* test_config.c:791:3 */
+var cv_MAX_COLUMN int32 = SQLITE_MAX_COLUMN /* test_config.c:792:3 */
+var cv_MAX_SQL_LENGTH int32 = SQLITE_MAX_SQL_LENGTH /* test_config.c:793:3 */
+var cv_MAX_EXPR_DEPTH int32 = SQLITE_MAX_EXPR_DEPTH /* test_config.c:794:3 */
+var cv_MAX_COMPOUND_SELECT int32 = SQLITE_MAX_COMPOUND_SELECT /* test_config.c:795:3 */
+var cv_MAX_VDBE_OP int32 = SQLITE_MAX_VDBE_OP /* test_config.c:796:3 */
+var cv_MAX_FUNCTION_ARG int32 = SQLITE_MAX_FUNCTION_ARG /* test_config.c:797:3 */
+var cv_MAX_VARIABLE_NUMBER int32 = SQLITE_MAX_VARIABLE_NUMBER /* test_config.c:798:3 */
+var cv_MAX_PAGE_SIZE int32 = SQLITE_MAX_PAGE_SIZE /* test_config.c:799:3 */
+var cv_MAX_PAGE_COUNT int32 = SQLITE_MAX_PAGE_COUNT /* test_config.c:800:3 */
+var cv_MAX_LIKE_PATTERN_LENGTH int32 = SQLITE_MAX_LIKE_PATTERN_LENGTH /* test_config.c:801:3 */
+var cv_MAX_TRIGGER_DEPTH int32 = SQLITE_MAX_TRIGGER_DEPTH /* test_config.c:802:3 */
+var cv_DEFAULT_CACHE_SIZE int32 = -2000 /* test_config.c:803:3 */
+var cv_DEFAULT_PAGE_SIZE int32 = SQLITE_DEFAULT_PAGE_SIZE /* test_config.c:804:3 */
+var cv_DEFAULT_FILE_FORMAT int32 = SQLITE_DEFAULT_FILE_FORMAT /* test_config.c:805:3 */
+var cv_DEFAULT_SYNCHRONOUS int32 = SQLITE_DEFAULT_SYNCHRONOUS /* test_config.c:806:3 */
+var cv_DEFAULT_WAL_SYNCHRONOUS int32 = SQLITE_DEFAULT_SYNCHRONOUS /* test_config.c:807:3 */
+var cv_MAX_ATTACHED int32 = SQLITE_MAX_ATTACHED /* test_config.c:808:3 */
+var cv_MAX_DEFAULT_PAGE_SIZE int32 = SQLITE_MAX_DEFAULT_PAGE_SIZE /* test_config.c:809:3 */
+var cv_MAX_WORKER_THREADS int32 = SQLITE_MAX_WORKER_THREADS /* test_config.c:810:3 */
+var cv_TEMP_STORE int32 = SQLITE_TEMP_STORE /* test_config.c:813:22 */
+var cv___GNUC__ int32 = 1 /* test_config.c:827:22 */
// Register commands with the TCL interpreter.
-func Sqliteconfig_Init(tls *libc.TLS, interp uintptr) int32 { /* test_config.c:825:5: */
+func Sqliteconfig_Init(tls *libc.TLS, interp uintptr) int32 { /* test_config.c:838:5: */
set_options(tls, interp)
return TCL_OK
}
@@ -60807,15 +62599,15 @@ func sqlite3_delete_database(tls *libc.TLS, zFile uintptr) int32 { /* test_delet
var rc int32 = 0 // System error code
var i int32 // Iterate through azFmt[] and aMFile[]
- *(*[4]uintptr)(unsafe.Pointer(bp + 24 /* azFmt */)) = [4]uintptr{ts /* "%s" */, ts + 29942 /* "%s-journal" */, ts + 29953 /* "%s-wal" */, ts + 29960 /* "%s-shm" */}
+ *(*[4]uintptr)(unsafe.Pointer(bp + 24 /* azFmt */)) = [4]uintptr{ts /* "%s" */, ts + 30804 /* "%s-journal" */, ts + 30815 /* "%s-wal" */, ts + 30822 /* "%s-shm" */}
*(*[6]MFile)(unsafe.Pointer(bp + 56 /* aMFile */)) = [6]MFile{
- {FzFmt: ts + 29967 /* "%s%03d" */},
- {FzFmt: ts + 29974 /* "%s-journal%03d" */},
- {FzFmt: ts + 29989 /* "%s-wal%03d" */},
- {FzFmt: ts + 29967 /* "%s%03d" */, Fb83: 1},
- {FzFmt: ts + 29974 /* "%s-journal%03d" */, FiOffset: SQLITE_MULTIPLEX_JOURNAL_8_3_OFFSET, Fb83: 1},
- {FzFmt: ts + 29989 /* "%s-wal%03d" */, FiOffset: SQLITE_MULTIPLEX_WAL_8_3_OFFSET, Fb83: 1},
+ {FzFmt: ts + 30829 /* "%s%03d" */},
+ {FzFmt: ts + 30836 /* "%s-journal%03d" */},
+ {FzFmt: ts + 30851 /* "%s-wal%03d" */},
+ {FzFmt: ts + 30829 /* "%s%03d" */, Fb83: 1},
+ {FzFmt: ts + 30836 /* "%s-journal%03d" */, FiOffset: SQLITE_MULTIPLEX_JOURNAL_8_3_OFFSET, Fb83: 1},
+ {FzFmt: ts + 30851 /* "%s-wal%03d" */, FiOffset: SQLITE_MULTIPLEX_WAL_8_3_OFFSET, Fb83: 1},
}
var pVfs uintptr = uintptr(0)
@@ -61130,7 +62922,7 @@ var devsym_vfs = sqlite3_vfs{
FiVersion: 2, // iVersion
FszOsFile: int32(unsafe.Sizeof(devsym_file{})), // szOsFile
FmxPathname: DEVSYM_MAX_PATHNAME, // pNext
- FzName: ts + 30000, /* "devsym" */ // pAppData
+ FzName: ts + 30862, /* "devsym" */ // pAppData
FxOpen: 0, // xOpen
FxDelete: 0, // xDelete
FxAccess: 0, // xAccess
@@ -61144,7 +62936,7 @@ var writecrash_vfs = sqlite3_vfs{
FiVersion: 2, // iVersion
FszOsFile: int32(unsafe.Sizeof(devsym_file{})), // szOsFile
FmxPathname: DEVSYM_MAX_PATHNAME, // pNext
- FzName: ts + 30007, /* "writecrash" */ // pAppData
+ FzName: ts + 30869, /* "writecrash" */ // pAppData
FxOpen: 0, // xOpen
FxDelete: 0, // xDelete
FxAccess: 0, // xAccess
@@ -61200,7 +62992,7 @@ func devsym_crash_on_write(tls *libc.TLS, nWrite int32) { /* test_devsym.c:514:6
// The next short section of defines are only done when not running on Windows
// or some other strange platform.
-type Tcl_StatBuf = stat /* tcl.h:470:25 */
+type Tcl_StatBuf = stat /* tcl.h:474:25 */
// Note stat64 is the same shape as stat.
type stat64 = struct {
@@ -61230,36 +63022,55 @@ type stat64 = struct {
F__glibc_reserved [3]int64
} /* stat.h:147:1 */
-// statx-related definitions and declarations.
-// Copyright (C) 2018 Free Software Foundation, Inc.
-// This file is part of the GNU C Library.
+// Timestamp structure for the timestamps in struct statx.
//
-// 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.
+// tv_sec holds the number of seconds before (negative) or after (positive)
+// 00:00:00 1st January 1970 UTC.
//
-// 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.
+// tv_nsec holds a number of nanoseconds (0..999,999,999) after the tv_sec time.
//
-// You should have received a copy of the GNU Lesser General Public
-// License along with the GNU C Library; if not, see
-// .
-
-// This interface is based on in Linux.
-
+// __reserved is held in case we need a yet finer resolution.
type statx_timestamp = struct {
- Ftv_sec int64
- Ftv_nsec uint32
- F__statx_timestamp_pad1 [1]int32
-} /* statx.h:25:1 */
+ Ftv_sec int64
+ Ftv_nsec uint32
+ F__reserved int32
+} /* stat.h:56:1 */
-// Warning: The kernel may add additional fields to this struct in the
-// future. Only use this struct for calling the statx function, not
-// for storing data. (Expansion will be controlled by the mask
-// argument of the statx function.)
+// Structures for the extended file attribute retrieval system call
+// (statx()).
+//
+// The caller passes a mask of what they're specifically interested in as a
+// parameter to statx(). What statx() actually got will be indicated in
+// st_mask upon return.
+//
+// For each bit in the mask argument:
+//
+// - if the datum is not supported:
+//
+// - the bit will be cleared, and
+//
+// - the datum will be set to an appropriate fabricated value if one is
+// available (eg. CIFS can take a default uid and gid), otherwise
+//
+// - the field will be cleared;
+//
+// - otherwise, if explicitly requested:
+//
+// - the datum will be synchronised to the server if AT_STATX_FORCE_SYNC is
+// set or if the datum is considered out of date, and
+//
+// - the field will be filled in and the bit will be set;
+//
+// - otherwise, if not requested, but available in approximate form without any
+// effort, it will be filled in anyway, and the bit will be set upon return
+// (it might not be up to date, however, and no attempt will be made to
+// synchronise the internal state first);
+//
+// - otherwise the field and the bit will be cleared before returning.
+//
+// Items in STATX_BASIC_STATS may be marked unavailable on return, but they
+// will have values installed for compatibility purposes so that stat() and
+// co. can be emulated in userspace.
type statx = struct {
Fstx_mask uint32
Fstx_blksize uint32
@@ -61268,37 +63079,37 @@ type statx = struct {
Fstx_uid uint32
Fstx_gid uint32
Fstx_mode uint16
- F__statx_pad1 [1]uint16
+ F__spare0 [1]uint16
Fstx_ino uint64
Fstx_size uint64
Fstx_blocks uint64
Fstx_attributes_mask uint64
Fstx_atime struct {
- Ftv_sec int64
- Ftv_nsec uint32
- F__statx_timestamp_pad1 [1]int32
+ Ftv_sec int64
+ Ftv_nsec uint32
+ F__reserved int32
}
Fstx_btime struct {
- Ftv_sec int64
- Ftv_nsec uint32
- F__statx_timestamp_pad1 [1]int32
+ Ftv_sec int64
+ Ftv_nsec uint32
+ F__reserved int32
}
Fstx_ctime struct {
- Ftv_sec int64
- Ftv_nsec uint32
- F__statx_timestamp_pad1 [1]int32
+ Ftv_sec int64
+ Ftv_nsec uint32
+ F__reserved int32
}
Fstx_mtime struct {
- Ftv_sec int64
- Ftv_nsec uint32
- F__statx_timestamp_pad1 [1]int32
+ Ftv_sec int64
+ Ftv_nsec uint32
+ F__reserved int32
}
Fstx_rdev_major uint32
Fstx_rdev_minor uint32
Fstx_dev_major uint32
Fstx_dev_minor uint32
- F__statx_pad2 [14]uint64
-} /* statx.h:36:1 */
+ F__spare2 [14]uint64
+} /* stat.h:99:1 */
type flock64 = struct {
Fl_type int16
@@ -61312,7 +63123,7 @@ type flock64 = struct {
// Include generic Linux declarations.
// O_*, F_*, FD_* bit values for Linux.
-// Copyright (C) 2001-2018 Free Software Foundation, Inc.
+// Copyright (C) 2001-2020 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
@@ -61327,7 +63138,7 @@ type flock64 = struct {
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// This file contains shared definitions between Linux architectures
// and is included by to declare them. The various
@@ -61343,7 +63154,7 @@ type flock64 = struct {
// #include
// Define struct iovec.
-// Copyright (C) 1996-2018 Free Software Foundation, Inc.
+// Copyright (C) 1996-2020 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
@@ -61358,9 +63169,9 @@ type flock64 = struct {
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
-// Copyright (C) 1989-2018 Free Software Foundation, Inc.
+// Copyright (C) 1989-2017 Free Software Foundation, Inc.
//
// This file is part of GCC.
//
@@ -61468,6 +63279,8 @@ type f_owner_ex = struct {
// Advise to `posix_fadvise'.
// Flags for SYNC_FILE_RANGE.
+// SYNC_FILE_RANGE_WRITE_AND_WAIT ensures all pages in the range are
+// written to disk before returning.
// Flags for SPLICE and VMSPLICE.
@@ -61538,7 +63351,7 @@ type file_handle = struct {
_ [0]uint32
Fhandle_bytes uint32
Fhandle_type int32
-} /* fcntl-linux.h:350:1 */
+} /* fcntl-linux.h:357:1 */
type dirent64 = struct {
Fd_ino uint64
@@ -61599,7 +63412,7 @@ func fsdirConnect1(tls *libc.TLS, db uintptr, pAux uintptr, argc int32, argv uin
var pTab uintptr
if argc != 3 {
- *(*uintptr)(unsafe.Pointer(pzErr)) = sqlite3.Xsqlite3_mprintf(tls, ts+27766 /* "wrong number of ..." */, 0)
+ *(*uintptr)(unsafe.Pointer(pzErr)) = sqlite3.Xsqlite3_mprintf(tls, ts+28610 /* "wrong number of ..." */, 0)
return SQLITE_ERROR
}
@@ -61610,7 +63423,7 @@ func fsdirConnect1(tls *libc.TLS, db uintptr, pAux uintptr, argc int32, argv uin
libc.Xmemset(tls, pTab, 0, uint64(unsafe.Sizeof(FsdirVtab{})))
*(*uintptr)(unsafe.Pointer(ppVtab)) = (pTab /* &.base */)
- sqlite3.Xsqlite3_declare_vtab(tls, db, ts+30018 /* "CREATE TABLE xyz..." */)
+ sqlite3.Xsqlite3_declare_vtab(tls, db, ts+30880 /* "CREATE TABLE xyz..." */)
return SQLITE_OK
}
@@ -61792,7 +63605,7 @@ func fstreeConnect(tls *libc.TLS, db uintptr, pAux uintptr, argc int32, argv uin
var pTab uintptr
if argc != 3 {
- *(*uintptr)(unsafe.Pointer(pzErr)) = sqlite3.Xsqlite3_mprintf(tls, ts+27766 /* "wrong number of ..." */, 0)
+ *(*uintptr)(unsafe.Pointer(pzErr)) = sqlite3.Xsqlite3_mprintf(tls, ts+28610 /* "wrong number of ..." */, 0)
return SQLITE_ERROR
}
@@ -61804,7 +63617,7 @@ func fstreeConnect(tls *libc.TLS, db uintptr, pAux uintptr, argc int32, argv uin
(*FstreeVtab)(unsafe.Pointer(pTab)).Fdb = db
*(*uintptr)(unsafe.Pointer(ppVtab)) = (pTab /* &.base */)
- sqlite3.Xsqlite3_declare_vtab(tls, db, ts+30047 /* "CREATE TABLE xyz..." */)
+ sqlite3.Xsqlite3_declare_vtab(tls, db, ts+30909 /* "CREATE TABLE xyz..." */)
return SQLITE_OK
}
@@ -61896,7 +63709,7 @@ func fstreeFilter(tls *libc.TLS, pVtabCursor uintptr, idxNum int32, idxStr uintp
var pCsr uintptr = pVtabCursor
var pTab uintptr = (*FstreeCsr)(unsafe.Pointer(pCsr)).Fbase.FpVtab
var rc int32
- var zSql uintptr = ts + 30083 /* "WITH r(d) AS ( ..." */
+ var zSql uintptr = ts + 30945 /* "WITH r(d) AS ( ..." */
var zRoot uintptr
var nRoot int32
var zPrefix uintptr
@@ -61905,7 +63718,7 @@ func fstreeFilter(tls *libc.TLS, pVtabCursor uintptr, idxNum int32, idxStr uintp
var nDir int32
*(*[2]int8)(unsafe.Pointer(bp /* aWild */)) = [2]int8{int8(0), int8(0)}
- zRoot = ts + 30315 /* "/" */
+ zRoot = ts + 31177 /* "/" */
nRoot = 1
zPrefix = ts + 489 /* "" */
nPrefix = 0
@@ -62026,7 +63839,7 @@ func fsConnect(tls *libc.TLS, db uintptr, pAux uintptr, argc int32, argv uintptr
var zDb uintptr = *(*uintptr)(unsafe.Pointer(argv + 1*8))
if argc != 4 {
- *(*uintptr)(unsafe.Pointer(pzErr)) = sqlite3.Xsqlite3_mprintf(tls, ts+27766 /* "wrong number of ..." */, 0)
+ *(*uintptr)(unsafe.Pointer(pzErr)) = sqlite3.Xsqlite3_mprintf(tls, ts+28610 /* "wrong number of ..." */, 0)
return SQLITE_ERROR
}
zTbl = *(*uintptr)(unsafe.Pointer(argv + 3*8))
@@ -62043,7 +63856,7 @@ func fsConnect(tls *libc.TLS, db uintptr, pAux uintptr, argc int32, argv uintptr
libc.Xmemcpy(tls, (*fs_vtab)(unsafe.Pointer(pVtab)).FzTbl, zTbl, libc.Xstrlen(tls, zTbl))
libc.Xmemcpy(tls, (*fs_vtab)(unsafe.Pointer(pVtab)).FzDb, zDb, libc.Xstrlen(tls, zDb))
*(*uintptr)(unsafe.Pointer(ppVtab)) = (pVtab /* &.base */)
- sqlite3.Xsqlite3_declare_vtab(tls, db, ts+30317 /* "CREATE TABLE x(p..." */)
+ sqlite3.Xsqlite3_declare_vtab(tls, db, ts+31179 /* "CREATE TABLE x(p..." */)
return SQLITE_OK
}
@@ -62097,7 +63910,7 @@ func fsFilter(tls *libc.TLS, pVtabCursor uintptr, idxNum int32, idxStr uintptr,
if idxNum == 1 {
var zStmt uintptr = sqlite3.Xsqlite3_mprintf(tls,
- ts+30354 /* "SELECT * FROM %Q..." */, libc.VaList(bp, (*fs_vtab)(unsafe.Pointer(p)).FzDb, (*fs_vtab)(unsafe.Pointer(p)).FzTbl))
+ ts+31216 /* "SELECT * FROM %Q..." */, libc.VaList(bp, (*fs_vtab)(unsafe.Pointer(p)).FzDb, (*fs_vtab)(unsafe.Pointer(p)).FzTbl))
if !(zStmt != 0) {
return SQLITE_NOMEM
}
@@ -62107,7 +63920,7 @@ func fsFilter(tls *libc.TLS, pVtabCursor uintptr, idxNum int32, idxStr uintptr,
sqlite3.Xsqlite3_bind_value(tls, (*fs_cursor)(unsafe.Pointer(pCur)).FpStmt, 1, *(*uintptr)(unsafe.Pointer(argv)))
}
} else {
- var zStmt uintptr = sqlite3.Xsqlite3_mprintf(tls, ts+3278 /* "SELECT * FROM %Q..." */, libc.VaList(bp+16, (*fs_vtab)(unsafe.Pointer(p)).FzDb, (*fs_vtab)(unsafe.Pointer(p)).FzTbl))
+ var zStmt uintptr = sqlite3.Xsqlite3_mprintf(tls, ts+3268 /* "SELECT * FROM %Q..." */, libc.VaList(bp+16, (*fs_vtab)(unsafe.Pointer(p)).FzDb, (*fs_vtab)(unsafe.Pointer(p)).FzTbl))
if !(zStmt != 0) {
return SQLITE_NOMEM
}
@@ -62262,9 +64075,9 @@ func register_fs_module(tls *libc.TLS, clientData ClientData, interp uintptr, ob
if getDbPointer(tls, interp, tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 1*8))), bp /* &db */) != 0 {
return TCL_ERROR
}
- sqlite3.Xsqlite3_create_module(tls, *(*uintptr)(unsafe.Pointer(bp /* db */)), ts+30388 /* "fs" */, uintptr(unsafe.Pointer(&fsModule)), interp)
- sqlite3.Xsqlite3_create_module(tls, *(*uintptr)(unsafe.Pointer(bp /* db */)), ts+5196 /* "fsdir" */, uintptr(unsafe.Pointer(&fsdirModule)), uintptr(0))
- sqlite3.Xsqlite3_create_module(tls, *(*uintptr)(unsafe.Pointer(bp /* db */)), ts+30391 /* "fstree" */, uintptr(unsafe.Pointer(&fstreeModule)), uintptr(0))
+ sqlite3.Xsqlite3_create_module(tls, *(*uintptr)(unsafe.Pointer(bp /* db */)), ts+31250 /* "fs" */, uintptr(unsafe.Pointer(&fsModule)), interp)
+ sqlite3.Xsqlite3_create_module(tls, *(*uintptr)(unsafe.Pointer(bp /* db */)), ts+5186 /* "fsdir" */, uintptr(unsafe.Pointer(&fsdirModule)), uintptr(0))
+ sqlite3.Xsqlite3_create_module(tls, *(*uintptr)(unsafe.Pointer(bp /* db */)), ts+31253 /* "fstree" */, uintptr(unsafe.Pointer(&fstreeModule)), uintptr(0))
return TCL_OK
}
@@ -62287,7 +64100,7 @@ var aObjCmd6 = [1]struct {
FxProc uintptr
FclientData uintptr
}{
- {FzName: ts + 30398 /* "register_fs_modu..." */, FxProc: 0},
+ {FzName: ts + 31260 /* "register_fs_modu..." */, FxProc: 0},
} /* test_fs.c:907:5 */
// Some versions of define this macros.
@@ -62353,7 +64166,7 @@ func randStr(tls *libc.TLS, context uintptr, argc int32, argv uintptr) { /* test
sqlite3.Xsqlite3_result_text(tls, context, bp+4 /* zBuf */, n, libc.UintptrFromInt32(-1))
}
-var zSrc = *(*[79]uint8)(unsafe.Pointer(ts + 30417 /* "abcdefghijklmnop..." */)) /* test_func.c:46:30 */
+var zSrc = *(*[79]uint8)(unsafe.Pointer(ts + 31279 /* "abcdefghijklmnop..." */)) /* test_func.c:46:30 */
// The following two SQL functions are used to test returning a text
// result with a destructor. Function 'test_destructor' takes one argument
@@ -62546,7 +64359,7 @@ func test_eval(tls *libc.TLS, pCtx uintptr, nArg int32, argv uintptr) { /* test_
if rc != 0 {
var zErr uintptr
- zErr = sqlite3.Xsqlite3_mprintf(tls, ts+30496 /* "sqlite3_prepare_..." */, libc.VaList(bp, sqlite3.Xsqlite3_errmsg(tls, db)))
+ zErr = sqlite3.Xsqlite3_mprintf(tls, ts+31358 /* "sqlite3_prepare_..." */, libc.VaList(bp, sqlite3.Xsqlite3_errmsg(tls, db)))
sqlite3.Xsqlite3_result_text(tls, pCtx, zErr, -1, *(*uintptr)(unsafe.Pointer(&struct{ f func(*libc.TLS, uintptr) }{sqlite3.Xsqlite3_free})))
sqlite3.Xsqlite3_result_error_code(tls, pCtx, rc)
}
@@ -62652,11 +64465,11 @@ func real2hex(tls *libc.TLS, context uintptr, argc int32, argv uintptr) { /* tes
*(*float64)(unsafe.Pointer(bp /* &v */)) = sqlite3.Xsqlite3_value_double(tls, *(*uintptr)(unsafe.Pointer(argv)))
for i = 0; i < 8; i++ {
if bigEndian != 0 {
- *(*int8)(unsafe.Pointer(bp + 8 /* &zOut[0] */ + uintptr((i * 2)))) = *(*int8)(unsafe.Pointer(ts + 30527 /* "0123456789abcdef" */ + uintptr((int32(*(*uint8)(unsafe.Pointer((bp /* &v */ /* &.x */) + uintptr(i)))) >> 4))))
- *(*int8)(unsafe.Pointer(bp + 8 /* &zOut[0] */ + uintptr(((i * 2) + 1)))) = *(*int8)(unsafe.Pointer(ts + 30527 /* "0123456789abcdef" */ + uintptr((int32(*(*uint8)(unsafe.Pointer((bp /* &v */ /* &.x */) + uintptr(i)))) & 0xf))))
+ *(*int8)(unsafe.Pointer(bp + 8 /* &zOut[0] */ + uintptr((i * 2)))) = *(*int8)(unsafe.Pointer(ts + 31389 /* "0123456789abcdef" */ + uintptr((int32(*(*uint8)(unsafe.Pointer((bp /* &v */ /* &.x */) + uintptr(i)))) >> 4))))
+ *(*int8)(unsafe.Pointer(bp + 8 /* &zOut[0] */ + uintptr(((i * 2) + 1)))) = *(*int8)(unsafe.Pointer(ts + 31389 /* "0123456789abcdef" */ + uintptr((int32(*(*uint8)(unsafe.Pointer((bp /* &v */ /* &.x */) + uintptr(i)))) & 0xf))))
} else {
- *(*int8)(unsafe.Pointer(bp + 8 /* &zOut[0] */ + uintptr((14 - (i * 2))))) = *(*int8)(unsafe.Pointer(ts + 30527 /* "0123456789abcdef" */ + uintptr((int32(*(*uint8)(unsafe.Pointer((bp /* &v */ /* &.x */) + uintptr(i)))) >> 4))))
- *(*int8)(unsafe.Pointer(bp + 8 /* &zOut[0] */ + uintptr(((14 - (i * 2)) + 1)))) = *(*int8)(unsafe.Pointer(ts + 30527 /* "0123456789abcdef" */ + uintptr((int32(*(*uint8)(unsafe.Pointer((bp /* &v */ /* &.x */) + uintptr(i)))) & 0xf))))
+ *(*int8)(unsafe.Pointer(bp + 8 /* &zOut[0] */ + uintptr((14 - (i * 2))))) = *(*int8)(unsafe.Pointer(ts + 31389 /* "0123456789abcdef" */ + uintptr((int32(*(*uint8)(unsafe.Pointer((bp /* &v */ /* &.x */) + uintptr(i)))) >> 4))))
+ *(*int8)(unsafe.Pointer(bp + 8 /* &zOut[0] */ + uintptr(((14 - (i * 2)) + 1)))) = *(*int8)(unsafe.Pointer(ts + 31389 /* "0123456789abcdef" */ + uintptr((int32(*(*uint8)(unsafe.Pointer((bp /* &v */ /* &.x */) + uintptr(i)))) & 0xf))))
}
}
*(*int8)(unsafe.Pointer(bp + 8 /* &zOut[0] */ + 16)) = int8(0)
@@ -62698,7 +64511,7 @@ func test_extract(tls *libc.TLS, context uintptr, argc int32, argv uintptr) { /*
(*Mem)(unsafe.Pointer(bp + 8 /* &mem */)).Fdb = db
(*Mem)(unsafe.Pointer(bp + 8 /* &mem */)).Fenc = (*sqlite31)(unsafe.Pointer(db)).Fenc
pHdr += uintptr(sqlite3.Xsqlite3GetVarint(tls, pHdr, bp+64 /* &iSerialType */))
- pBody += uintptr(sqlite3.Xsqlite3VdbeSerialGet(tls, pBody, u322(*(*u64)(unsafe.Pointer(bp + 64 /* iSerialType */))), bp+8 /* &mem */))
+ pBody += uintptr(sqlite3.Xsqlite3VdbeSerialGet(tls, pBody, u32(*(*u64)(unsafe.Pointer(bp + 64 /* iSerialType */))), bp+8 /* &mem */))
if iCurrent == iIdx {
sqlite3.Xsqlite3_result_value(tls, context, bp+8 /* &mem */)
@@ -62746,7 +64559,7 @@ func test_decode(tls *libc.TLS, context uintptr, argc int32, argv uintptr) { /*
(*Mem)(unsafe.Pointer(bp + 40 /* &mem */)).Fdb = db
(*Mem)(unsafe.Pointer(bp + 40 /* &mem */)).Fenc = (*sqlite31)(unsafe.Pointer(db)).Fenc
pHdr += uintptr(sqlite3.Xsqlite3GetVarint(tls, pHdr, bp+96 /* &iSerialType */))
- pBody += uintptr(sqlite3.Xsqlite3VdbeSerialGet(tls, pBody, u322(*(*u64)(unsafe.Pointer(bp + 96 /* iSerialType */))), bp+40 /* &mem */))
+ pBody += uintptr(sqlite3.Xsqlite3VdbeSerialGet(tls, pBody, u32(*(*u64)(unsafe.Pointer(bp + 96 /* iSerialType */))), bp+40 /* &mem */))
switch sqlite3.Xsqlite3_value_type(tls, bp+40 /* &mem */) {
case SQLITE_TEXT:
@@ -62762,7 +64575,7 @@ func test_decode(tls *libc.TLS, context uintptr, argc int32, argv uintptr) { /*
var n int32 = sqlite3.Xsqlite3_value_bytes(tls, bp+40 /* &mem */)
var z uintptr = sqlite3.Xsqlite3_value_blob(tls, bp+40 /* &mem */)
var i int32
- pVal = tcl.XTcl_NewStringObj(tls, ts+30544 /* "x'" */, -1)
+ pVal = tcl.XTcl_NewStringObj(tls, ts+31406 /* "x'" */, -1)
for i = 0; i < n; i++ {
// var hex [3]int8 at bp+104, 3
@@ -62771,7 +64584,7 @@ func test_decode(tls *libc.TLS, context uintptr, argc int32, argv uintptr) { /*
*(*int8)(unsafe.Pointer(bp + 104 /* &hex[0] */ + 2)) = int8(0)
tcl.XTcl_AppendStringsToObj(tls, pVal, libc.VaList(bp, bp+104 /* &hex[0] */, 0))
}
- tcl.XTcl_AppendStringsToObj(tls, pVal, libc.VaList(bp+16, ts+5495 /* "'" */, 0))
+ tcl.XTcl_AppendStringsToObj(tls, pVal, libc.VaList(bp+16, ts+5485 /* "'" */, 0))
break
}
@@ -62785,7 +64598,7 @@ func test_decode(tls *libc.TLS, context uintptr, argc int32, argv uintptr) { /*
break
case SQLITE_NULL:
- pVal = tcl.XTcl_NewStringObj(tls, ts+5717 /* "NULL" */, -1)
+ pVal = tcl.XTcl_NewStringObj(tls, ts+5707 /* "NULL" */, -1)
break
default:
@@ -62863,7 +64676,7 @@ func registerTestFunctions(tls *libc.TLS, db uintptr, pzErrMsg uintptr, pThunk u
int32(aFuncs[i].FeTextRep), uintptr(0), aFuncs[i].FxFunc, uintptr(0), uintptr(0))
}
- sqlite3.Xsqlite3_create_function(tls, db, ts+30547 /* "test_agg_errmsg1..." */, 0, SQLITE_ANY, uintptr(0), uintptr(0),
+ sqlite3.Xsqlite3_create_function(tls, db, ts+31409 /* "test_agg_errmsg1..." */, 0, SQLITE_ANY, uintptr(0), uintptr(0),
*(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, int32, uintptr)
}{test_agg_errmsg16_step})), *(*uintptr)(unsafe.Pointer(&struct{ f func(*libc.TLS, uintptr) }{test_agg_errmsg16_final})))
@@ -62878,26 +64691,26 @@ var aFuncs = [20]struct {
FeTextRep uint32
FxFunc uintptr
}{
- {FzName: ts + 30565 /* "randstr" */, FnArg: int8(2), FeTextRep: uint32(SQLITE_UTF8), FxFunc: 0},
- {FzName: ts + 30573 /* "test_destructor" */, FnArg: int8(1), FeTextRep: uint32(SQLITE_UTF8), FxFunc: 0},
- {FzName: ts + 30589 /* "test_destructor1..." */, FnArg: int8(1), FeTextRep: uint32(SQLITE_UTF8), FxFunc: 0},
- {FzName: ts + 30607 /* "hex_to_utf16be" */, FnArg: int8(1), FeTextRep: uint32(SQLITE_UTF8), FxFunc: 0},
- {FzName: ts + 30622 /* "hex_to_utf16le" */, FnArg: int8(1), FeTextRep: uint32(SQLITE_UTF8), FxFunc: 0},
- {FzName: ts + 30637 /* "hex_to_utf8" */, FnArg: int8(1), FeTextRep: uint32(SQLITE_UTF8), FxFunc: 0},
- {FzName: ts + 30649 /* "test_destructor_..." */, FeTextRep: uint32(SQLITE_UTF8), FxFunc: 0},
- {FzName: ts + 30671 /* "test_auxdata" */, FnArg: int8(-1), FeTextRep: uint32(SQLITE_UTF8), FxFunc: 0},
- {FzName: ts + 30684 /* "test_error" */, FnArg: int8(1), FeTextRep: uint32(SQLITE_UTF8), FxFunc: 0},
- {FzName: ts + 30684 /* "test_error" */, FnArg: int8(2), FeTextRep: uint32(SQLITE_UTF8), FxFunc: 0},
- {FzName: ts + 30695 /* "test_eval" */, FnArg: int8(1), FeTextRep: uint32(SQLITE_UTF8), FxFunc: 0},
- {FzName: ts + 30705 /* "test_isolation" */, FnArg: int8(2), FeTextRep: uint32(SQLITE_UTF8), FxFunc: 0},
- {FzName: ts + 30720 /* "test_counter" */, FnArg: int8(1), FeTextRep: uint32(SQLITE_UTF8), FxFunc: 0},
- {FzName: ts + 30733 /* "real2hex" */, FnArg: int8(1), FeTextRep: uint32(SQLITE_UTF8), FxFunc: 0},
- {FzName: ts + 30742 /* "test_decode" */, FnArg: int8(1), FeTextRep: uint32(SQLITE_UTF8), FxFunc: 0},
- {FzName: ts + 30754 /* "test_extract" */, FnArg: int8(2), FeTextRep: uint32(SQLITE_UTF8), FxFunc: 0},
- {FzName: ts + 30767 /* "test_zeroblob" */, FnArg: int8(1), FeTextRep: (uint32(SQLITE_UTF8 | SQLITE_DETERMINISTIC)), FxFunc: 0},
- {FzName: ts + 30781 /* "test_getsubtype" */, FnArg: int8(1), FeTextRep: uint32(SQLITE_UTF8), FxFunc: 0},
- {FzName: ts + 30797 /* "test_setsubtype" */, FnArg: int8(2), FeTextRep: uint32(SQLITE_UTF8), FxFunc: 0},
- {FzName: ts + 30813 /* "test_frombind" */, FnArg: int8(-1), FeTextRep: uint32(SQLITE_UTF8), FxFunc: 0},
+ {FzName: ts + 31427 /* "randstr" */, FnArg: int8(2), FeTextRep: uint32(SQLITE_UTF8), FxFunc: 0},
+ {FzName: ts + 31435 /* "test_destructor" */, FnArg: int8(1), FeTextRep: uint32(SQLITE_UTF8), FxFunc: 0},
+ {FzName: ts + 31451 /* "test_destructor1..." */, FnArg: int8(1), FeTextRep: uint32(SQLITE_UTF8), FxFunc: 0},
+ {FzName: ts + 31469 /* "hex_to_utf16be" */, FnArg: int8(1), FeTextRep: uint32(SQLITE_UTF8), FxFunc: 0},
+ {FzName: ts + 31484 /* "hex_to_utf16le" */, FnArg: int8(1), FeTextRep: uint32(SQLITE_UTF8), FxFunc: 0},
+ {FzName: ts + 31499 /* "hex_to_utf8" */, FnArg: int8(1), FeTextRep: uint32(SQLITE_UTF8), FxFunc: 0},
+ {FzName: ts + 31511 /* "test_destructor_..." */, FeTextRep: uint32(SQLITE_UTF8), FxFunc: 0},
+ {FzName: ts + 31533 /* "test_auxdata" */, FnArg: int8(-1), FeTextRep: uint32(SQLITE_UTF8), FxFunc: 0},
+ {FzName: ts + 31546 /* "test_error" */, FnArg: int8(1), FeTextRep: uint32(SQLITE_UTF8), FxFunc: 0},
+ {FzName: ts + 31546 /* "test_error" */, FnArg: int8(2), FeTextRep: uint32(SQLITE_UTF8), FxFunc: 0},
+ {FzName: ts + 31557 /* "test_eval" */, FnArg: int8(1), FeTextRep: uint32(SQLITE_UTF8), FxFunc: 0},
+ {FzName: ts + 31567 /* "test_isolation" */, FnArg: int8(2), FeTextRep: uint32(SQLITE_UTF8), FxFunc: 0},
+ {FzName: ts + 31582 /* "test_counter" */, FnArg: int8(1), FeTextRep: uint32(SQLITE_UTF8), FxFunc: 0},
+ {FzName: ts + 31595 /* "real2hex" */, FnArg: int8(1), FeTextRep: uint32(SQLITE_UTF8), FxFunc: 0},
+ {FzName: ts + 31604 /* "test_decode" */, FnArg: int8(1), FeTextRep: uint32(SQLITE_UTF8), FxFunc: 0},
+ {FzName: ts + 31616 /* "test_extract" */, FnArg: int8(2), FeTextRep: uint32(SQLITE_UTF8), FxFunc: 0},
+ {FzName: ts + 31629 /* "test_zeroblob" */, FnArg: int8(1), FeTextRep: (uint32(SQLITE_UTF8 | SQLITE_DETERMINISTIC)), FxFunc: 0},
+ {FzName: ts + 31643 /* "test_getsubtype" */, FnArg: int8(1), FeTextRep: uint32(SQLITE_UTF8), FxFunc: 0},
+ {FzName: ts + 31659 /* "test_setsubtype" */, FnArg: int8(2), FeTextRep: uint32(SQLITE_UTF8), FxFunc: 0},
+ {FzName: ts + 31675 /* "test_frombind" */, FnArg: int8(-1), FeTextRep: uint32(SQLITE_UTF8), FxFunc: 0},
} /* test_func.c:674:5 */
// TCLCMD: autoinstall_test_functions
@@ -62945,7 +64758,7 @@ func abuse_create_function(tls *libc.TLS, clientData uintptr, interp uintptr, ob
__1:
;
- rc = sqlite3.Xsqlite3_create_function(tls, *(*uintptr)(unsafe.Pointer(bp + 16 /* db */)), ts+30827 /* "tx" */, 1, SQLITE_UTF8, uintptr(0), *(*uintptr)(unsafe.Pointer(&struct {
+ rc = sqlite3.Xsqlite3_create_function(tls, *(*uintptr)(unsafe.Pointer(bp + 16 /* db */)), ts+31689 /* "tx" */, 1, SQLITE_UTF8, uintptr(0), *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, int32, uintptr)
}{tStep})), *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, int32, uintptr)
@@ -62957,7 +64770,7 @@ __1:
__2:
;
- rc = sqlite3.Xsqlite3_create_function(tls, *(*uintptr)(unsafe.Pointer(bp + 16 /* db */)), ts+30827 /* "tx" */, 1, SQLITE_UTF8, uintptr(0), *(*uintptr)(unsafe.Pointer(&struct {
+ rc = sqlite3.Xsqlite3_create_function(tls, *(*uintptr)(unsafe.Pointer(bp + 16 /* db */)), ts+31689 /* "tx" */, 1, SQLITE_UTF8, uintptr(0), *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, int32, uintptr)
}{tStep})), *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, int32, uintptr)
@@ -62969,7 +64782,7 @@ __2:
__3:
;
- rc = sqlite3.Xsqlite3_create_function(tls, *(*uintptr)(unsafe.Pointer(bp + 16 /* db */)), ts+30827 /* "tx" */, 1, SQLITE_UTF8, uintptr(0), *(*uintptr)(unsafe.Pointer(&struct {
+ rc = sqlite3.Xsqlite3_create_function(tls, *(*uintptr)(unsafe.Pointer(bp + 16 /* db */)), ts+31689 /* "tx" */, 1, SQLITE_UTF8, uintptr(0), *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, int32, uintptr)
}{tStep})), uintptr(0), *(*uintptr)(unsafe.Pointer(&struct{ f func(*libc.TLS, uintptr) }{tFinal})))
if !(rc != SQLITE_MISUSE) {
@@ -62979,7 +64792,7 @@ __3:
__4:
;
- rc = sqlite3.Xsqlite3_create_function(tls, *(*uintptr)(unsafe.Pointer(bp + 16 /* db */)), ts+30827 /* "tx" */, 1, SQLITE_UTF8, uintptr(0), uintptr(0), uintptr(0), *(*uintptr)(unsafe.Pointer(&struct{ f func(*libc.TLS, uintptr) }{tFinal})))
+ rc = sqlite3.Xsqlite3_create_function(tls, *(*uintptr)(unsafe.Pointer(bp + 16 /* db */)), ts+31689 /* "tx" */, 1, SQLITE_UTF8, uintptr(0), uintptr(0), uintptr(0), *(*uintptr)(unsafe.Pointer(&struct{ f func(*libc.TLS, uintptr) }{tFinal})))
if !(rc != SQLITE_MISUSE) {
goto __5
}
@@ -62987,7 +64800,7 @@ __4:
__5:
;
- rc = sqlite3.Xsqlite3_create_function(tls, *(*uintptr)(unsafe.Pointer(bp + 16 /* db */)), ts+30827 /* "tx" */, 1, SQLITE_UTF8, uintptr(0), uintptr(0), *(*uintptr)(unsafe.Pointer(&struct {
+ rc = sqlite3.Xsqlite3_create_function(tls, *(*uintptr)(unsafe.Pointer(bp + 16 /* db */)), ts+31689 /* "tx" */, 1, SQLITE_UTF8, uintptr(0), uintptr(0), *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, int32, uintptr)
}{tStep})), uintptr(0))
if !(rc != SQLITE_MISUSE) {
@@ -62997,7 +64810,7 @@ __5:
__6:
;
- rc = sqlite3.Xsqlite3_create_function(tls, *(*uintptr)(unsafe.Pointer(bp + 16 /* db */)), ts+30827 /* "tx" */, -2, SQLITE_UTF8, uintptr(0), *(*uintptr)(unsafe.Pointer(&struct {
+ rc = sqlite3.Xsqlite3_create_function(tls, *(*uintptr)(unsafe.Pointer(bp + 16 /* db */)), ts+31689 /* "tx" */, -2, SQLITE_UTF8, uintptr(0), *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, int32, uintptr)
}{tStep})), uintptr(0), uintptr(0))
if !(rc != SQLITE_MISUSE) {
@@ -63007,7 +64820,7 @@ __6:
__7:
;
- rc = sqlite3.Xsqlite3_create_function(tls, *(*uintptr)(unsafe.Pointer(bp + 16 /* db */)), ts+30827 /* "tx" */, 128, SQLITE_UTF8, uintptr(0), *(*uintptr)(unsafe.Pointer(&struct {
+ rc = sqlite3.Xsqlite3_create_function(tls, *(*uintptr)(unsafe.Pointer(bp + 16 /* db */)), ts+31689 /* "tx" */, 128, SQLITE_UTF8, uintptr(0), *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, int32, uintptr)
}{tStep})), uintptr(0), uintptr(0))
if !(rc != SQLITE_MISUSE) {
@@ -63019,7 +64832,7 @@ __8:
rc = sqlite3.Xsqlite3_create_function(tls, *(*uintptr)(unsafe.Pointer(bp + 16 /* db */)),
- ts+30830, /* "funcxx_123456789..." */
+ ts+31692, /* "funcxx_123456789..." */
1, SQLITE_UTF8, uintptr(0), *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, int32, uintptr)
}{tStep})), uintptr(0), uintptr(0))
@@ -63037,7 +64850,7 @@ __9:
mxArg = sqlite3.Xsqlite3_limit(tls, *(*uintptr)(unsafe.Pointer(bp + 16 /* db */)), SQLITE_LIMIT_FUNCTION_ARG, -1)
rc = sqlite3.Xsqlite3_create_function(tls, *(*uintptr)(unsafe.Pointer(bp + 16 /* db */)),
- ts+31087, /* "nullx_123456789_..." */
+ ts+31949, /* "nullx_123456789_..." */
mxArg, SQLITE_UTF8, uintptr(0), *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, int32, uintptr)
}{tStep})), uintptr(0), uintptr(0))
@@ -63051,7 +64864,7 @@ __10:
return TCL_OK
abuse_err:
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+31343, /* "sqlite3_create_f..." */
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+32205, /* "sqlite3_create_f..." */
uintptr(0)))
return TCL_ERROR
}
@@ -63138,7 +64951,7 @@ __2:
goto __3
}
sqlite3.Xsqlite3_result_error(tls, pCtx,
- ts+31386 /* "invalid matchinf..." */, -1)
+ ts+32248 /* "invalid matchinf..." */, -1)
return
__3:
;
@@ -63199,7 +65012,7 @@ __7:
// Jump here if the wrong number of arguments are passed to this function
wrong_number_args:
- sqlite3.Xsqlite3_result_error(tls, pCtx, ts+31435 /* "wrong number of ..." */, -1)
+ sqlite3.Xsqlite3_result_error(tls, pCtx, ts+32297 /* "wrong number of ..." */, -1)
}
func install_fts3_rank_function(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* test_func.c:910:26: */
@@ -63216,7 +65029,7 @@ func install_fts3_rank_function(tls *libc.TLS, clientData uintptr, interp uintpt
if getDbPointer(tls, interp, tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 1*8))), bp /* &db */) != 0 {
return TCL_ERROR
}
- sqlite3.Xsqlite3_create_function(tls, *(*uintptr)(unsafe.Pointer(bp /* db */)), ts+31480 /* "rank" */, -1, SQLITE_UTF8, uintptr(0), *(*uintptr)(unsafe.Pointer(&struct {
+ sqlite3.Xsqlite3_create_function(tls, *(*uintptr)(unsafe.Pointer(bp /* db */)), ts+32342 /* "rank" */, -1, SQLITE_UTF8, uintptr(0), *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, int32, uintptr)
}{rankfunc})), uintptr(0), uintptr(0))
return TCL_OK
@@ -63246,9 +65059,9 @@ var aObjCmd7 = [3]struct {
FzName uintptr
FxProc uintptr
}{
- {FzName: ts + 31485 /* "autoinstall_test..." */, FxProc: 0},
- {FzName: ts + 31512 /* "abuse_create_fun..." */, FxProc: 0},
- {FzName: ts + 31534 /* "install_fts3_ran..." */, FxProc: 0},
+ {FzName: ts + 32347 /* "autoinstall_test..." */, FxProc: 0},
+ {FzName: ts + 32374 /* "abuse_create_fun..." */, FxProc: 0},
+ {FzName: ts + 32396 /* "install_fts3_ran..." */, FxProc: 0},
} /* test_func.c:937:5 */
// Some versions of define this macros.
@@ -63264,7 +65077,7 @@ type fd_set3 = struct{ Ffds_bits [16]int64 } /* select.h:70:5 */
// c-basic-offset: 4
// fill-column: 78
// End:
-// Copyright (C) 1991-2018 Free Software Foundation, Inc.
+// Copyright (C) 1991-2020 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
@@ -63279,11 +65092,11 @@ type fd_set3 = struct{ Ffds_bits [16]int64 } /* select.h:70:5 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// ISO C99 Standard: 7.20 General utilities
-// Copyright (C) 1991-2018 Free Software Foundation, Inc.
+// Copyright (C) 1991-2020 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
@@ -63298,11 +65111,11 @@ type fd_set3 = struct{ Ffds_bits [16]int64 } /* select.h:70:5 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// ISO C99 Standard: 7.21 String handling
-// Copyright (C) 1991-2018 Free Software Foundation, Inc.
+// Copyright (C) 1991-2020 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
@@ -63317,11 +65130,11 @@ type fd_set3 = struct{ Ffds_bits [16]int64 } /* select.h:70:5 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// ISO C99 Standard: 7.2 Diagnostics
-// Copyright (C) 1991-2018 Free Software Foundation, Inc.
+// Copyright (C) 1991-2020 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
@@ -63336,7 +65149,7 @@ type fd_set3 = struct{ Ffds_bits [16]int64 } /* select.h:70:5 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// void assert (int expression);
//
@@ -63356,7 +65169,7 @@ func sqlite3TestBinToHex(tls *libc.TLS, zBuf uintptr, N int32) { /* test_hexio.c
bp := tls.Alloc(17)
defer tls.Free(17)
- *(*[17]uint8)(unsafe.Pointer(bp /* zHex */)) = *(*[17]uint8)(unsafe.Pointer(ts + 31561 /* "0123456789ABCDEF" */))
+ *(*[17]uint8)(unsafe.Pointer(bp /* zHex */)) = *(*[17]uint8)(unsafe.Pointer(ts + 32423 /* "0123456789ABCDEF" */))
var i int32
var j int32
var c uint8
@@ -63436,7 +65249,7 @@ func hexio_read(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, o
var in uintptr
if objc != 4 {
- tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+31578 /* "FILENAME OFFSET ..." */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+32440 /* "FILENAME OFFSET ..." */)
return TCL_ERROR
}
if tcl.XTcl_GetIntFromObj(tls, interp, *(*uintptr)(unsafe.Pointer(objv + 2*8)), bp+40 /* &offset */) != 0 {
@@ -63450,12 +65263,12 @@ func hexio_read(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, o
if zBuf == uintptr(0) {
return TCL_ERROR
}
- in = libc.Xfopen(tls, zFile, ts+4273 /* "rb" */)
+ in = libc.Xfopen(tls, zFile, ts+4263 /* "rb" */)
if in == uintptr(0) {
- in = libc.Xfopen(tls, zFile, ts+31598 /* "r" */)
+ in = libc.Xfopen(tls, zFile, ts+32460 /* "r" */)
}
if in == uintptr(0) {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+31600 /* "cannot open inpu..." */, zFile, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+32462 /* "cannot open inpu..." */, zFile, 0))
return TCL_ERROR
}
libc.Xfseek(tls, in, int64(*(*int32)(unsafe.Pointer(bp + 40 /* offset */))), SEEK_SET)
@@ -63490,7 +65303,7 @@ func hexio_write(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32,
var out uintptr
if objc != 4 {
- tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+31624 /* "FILENAME OFFSET ..." */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+32486 /* "FILENAME OFFSET ..." */)
return TCL_ERROR
}
if tcl.XTcl_GetIntFromObj(tls, interp, *(*uintptr)(unsafe.Pointer(objv + 2*8)), bp+24 /* &offset */) != 0 {
@@ -63503,12 +65316,12 @@ func hexio_write(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32,
return TCL_ERROR
}
nOut = sqlite3TestHexToBin(tls, zIn, *(*int32)(unsafe.Pointer(bp + 28 /* nIn */)), aOut)
- out = libc.Xfopen(tls, zFile, ts+31648 /* "r+b" */)
+ out = libc.Xfopen(tls, zFile, ts+32510 /* "r+b" */)
if out == uintptr(0) {
- out = libc.Xfopen(tls, zFile, ts+31652 /* "r+" */)
+ out = libc.Xfopen(tls, zFile, ts+32514 /* "r+" */)
}
if out == uintptr(0) {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+31655 /* "cannot open outp..." */, zFile, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+32517 /* "cannot open outp..." */, zFile, 0))
return TCL_ERROR
}
libc.Xfseek(tls, out, int64(*(*int32)(unsafe.Pointer(bp + 24 /* offset */))), SEEK_SET)
@@ -63537,7 +65350,7 @@ func hexio_get_int(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32
// var aNum [4]uint8 at bp+4, 4
if objc != 2 {
- tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+31680 /* "HEXDATA" */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+32542 /* "HEXDATA" */)
return TCL_ERROR
}
zIn = tcl.XTcl_GetStringFromObj(tls, *(*uintptr)(unsafe.Pointer(objv + 1*8)), bp /* &nIn */)
@@ -63620,7 +65433,7 @@ func utf8_to_utf8(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32,
defer tls.Free(16)
tcl.XTcl_AppendResult(tls, interp,
- libc.VaList(bp, ts+31688 /* "[utf8_to_utf8] u..." */, 0))
+ libc.VaList(bp, ts+32550 /* "[utf8_to_utf8] u..." */, 0))
return TCL_ERROR
}
@@ -63665,7 +65478,7 @@ func read_fts3varint(tls *libc.TLS, clientData uintptr, interp uintptr, objc int
var nVal int32
if objc != 3 {
- tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+31742 /* "BLOB VARNAME" */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+32604 /* "BLOB VARNAME" */)
return TCL_ERROR
}
zBlob = tcl.XTcl_GetByteArrayFromObj(tls, *(*uintptr)(unsafe.Pointer(objv + 1*8)), bp /* &nBlob */)
@@ -63689,7 +65502,7 @@ func make_fts3record(tls *libc.TLS, clientData uintptr, interp uintptr, objc int
var i int32
if objc != 2 {
- tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+31755 /* "LIST" */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+32617 /* "LIST" */)
return TCL_ERROR
}
if tcl.XTcl_ListObjGetElements(tls, interp, *(*uintptr)(unsafe.Pointer(objv + 1*8)), bp /* &nArg */, bp+8 /* &aArg */) != 0 {
@@ -63760,14 +65573,14 @@ var aObjCmd8 = [8]struct {
FzName uintptr
FxProc uintptr
}{
- {FzName: ts + 31760 /* "hexio_read" */, FxProc: 0},
- {FzName: ts + 31771 /* "hexio_write" */, FxProc: 0},
- {FzName: ts + 31783 /* "hexio_get_int" */, FxProc: 0},
- {FzName: ts + 31797 /* "hexio_render_int..." */, FxProc: 0},
- {FzName: ts + 31816 /* "hexio_render_int..." */, FxProc: 0},
- {FzName: ts + 31835 /* "utf8_to_utf8" */, FxProc: 0},
- {FzName: ts + 31848 /* "read_fts3varint" */, FxProc: 0},
- {FzName: ts + 31864 /* "make_fts3record" */, FxProc: 0},
+ {FzName: ts + 32622 /* "hexio_read" */, FxProc: 0},
+ {FzName: ts + 32633 /* "hexio_write" */, FxProc: 0},
+ {FzName: ts + 32645 /* "hexio_get_int" */, FxProc: 0},
+ {FzName: ts + 32659 /* "hexio_render_int..." */, FxProc: 0},
+ {FzName: ts + 32678 /* "hexio_render_int..." */, FxProc: 0},
+ {FzName: ts + 32697 /* "utf8_to_utf8" */, FxProc: 0},
+ {FzName: ts + 32710 /* "read_fts3varint" */, FxProc: 0},
+ {FzName: ts + 32726 /* "make_fts3record" */, FxProc: 0},
} /* test_hexio.c:450:5 */
// end block for C++
@@ -64008,14 +65821,14 @@ func init_wrapper_install(tls *libc.TLS, clientData ClientData, interp uintptr,
installInitWrappers(tls)
for i = 1; i < objc; i++ {
var z uintptr = tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + uintptr(i)*8)))
- if libc.Xstrcmp(tls, z, ts+31880 /* "mem" */) == 0 {
+ if libc.Xstrcmp(tls, z, ts+32742 /* "mem" */) == 0 {
wrapped.Fmem_fail = 1
- } else if libc.Xstrcmp(tls, z, ts+28484 /* "mutex" */) == 0 {
+ } else if libc.Xstrcmp(tls, z, ts+29345 /* "mutex" */) == 0 {
wrapped.Fmutex_fail = 1
- } else if libc.Xstrcmp(tls, z, ts+31884 /* "pcache" */) == 0 {
+ } else if libc.Xstrcmp(tls, z, ts+32746 /* "pcache" */) == 0 {
wrapped.Fpcache_fail = 1
} else {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+31891 /* "Unknown argument..." */, z, ts+11636 /* "\"" */))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+32753 /* "Unknown argument..." */, z, ts+12415 /* "\"" */))
return TCL_ERROR
}
}
@@ -64060,13 +65873,13 @@ func init_wrapper_query(tls *libc.TLS, clientData ClientData, interp uintptr, ob
pRet = tcl.XTcl_NewObj(tls)
if wrapped.Fmutex_init != 0 {
- tcl.XTcl_ListObjAppendElement(tls, interp, pRet, tcl.XTcl_NewStringObj(tls, ts+28484 /* "mutex" */, -1))
+ tcl.XTcl_ListObjAppendElement(tls, interp, pRet, tcl.XTcl_NewStringObj(tls, ts+29345 /* "mutex" */, -1))
}
if wrapped.Fmem_init != 0 {
- tcl.XTcl_ListObjAppendElement(tls, interp, pRet, tcl.XTcl_NewStringObj(tls, ts+31880 /* "mem" */, -1))
+ tcl.XTcl_ListObjAppendElement(tls, interp, pRet, tcl.XTcl_NewStringObj(tls, ts+32742 /* "mem" */, -1))
}
if wrapped.Fpcache_init != 0 {
- tcl.XTcl_ListObjAppendElement(tls, interp, pRet, tcl.XTcl_NewStringObj(tls, ts+31884 /* "pcache" */, -1))
+ tcl.XTcl_ListObjAppendElement(tls, interp, pRet, tcl.XTcl_NewStringObj(tls, ts+32746 /* "pcache" */, -1))
}
tcl.XTcl_SetObjResult(tls, interp, pRet)
@@ -64090,10 +65903,10 @@ var aObjCmd9 = [4]struct {
FzName uintptr
FxProc uintptr
}{
- {FzName: ts + 31911 /* "init_wrapper_ins..." */, FxProc: 0},
- {FzName: ts + 31932 /* "init_wrapper_que..." */, FxProc: 0},
- {FzName: ts + 31951 /* "init_wrapper_uni..." */, FxProc: 0},
- {FzName: ts + 31974 /* "init_wrapper_cle..." */, FxProc: 0},
+ {FzName: ts + 32773 /* "init_wrapper_ins..." */, FxProc: 0},
+ {FzName: ts + 32794 /* "init_wrapper_que..." */, FxProc: 0},
+ {FzName: ts + 32813 /* "init_wrapper_uni..." */, FxProc: 0},
+ {FzName: ts + 32836 /* "init_wrapper_cle..." */, FxProc: 0},
} /* test_init.c:282:5 */
//
@@ -64166,7 +65979,7 @@ func intarrayCreate(tls *libc.TLS, db uintptr, pAux uintptr, argc int32, argv ui
if pVtab != 0 {
libc.Xmemset(tls, pVtab, 0, uint64(unsafe.Sizeof(intarray_vtab{})))
(*intarray_vtab)(unsafe.Pointer(pVtab)).FpContent = pAux
- rc = sqlite3.Xsqlite3_declare_vtab(tls, db, ts+31993 /* "CREATE TABLE x(v..." */)
+ rc = sqlite3.Xsqlite3_declare_vtab(tls, db, ts+32855 /* "CREATE TABLE x(v..." */)
}
*(*uintptr)(unsafe.Pointer(ppVtab)) = pVtab
return rc
@@ -64276,7 +66089,7 @@ func sqlite3_intarray_create(tls *libc.TLS, db uintptr, zName uintptr, ppReturn
*(*uintptr)(unsafe.Pointer(&struct{ f func(*libc.TLS, uintptr) }{intarrayFree})))
if rc == SQLITE_OK {
var zSql uintptr
- zSql = sqlite3.Xsqlite3_mprintf(tls, ts+32035, /* "CREATE VIRTUAL T..." */
+ zSql = sqlite3.Xsqlite3_mprintf(tls, ts+32897, /* "CREATE VIRTUAL T..." */
libc.VaList(bp, zName, zName))
rc = sqlite3.Xsqlite3_exec(tls, db, zSql, uintptr(0), uintptr(0), uintptr(0))
sqlite3.Xsqlite3_free(tls, zSql)
@@ -64347,14 +66160,14 @@ func test_intarray_bind(tls *libc.TLS, clientData ClientData, interp uintptr, ob
var a uintptr
if objc < 2 {
- tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+32073 /* "INTARRAY" */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+32935 /* "INTARRAY" */)
return TCL_ERROR
}
pArray = sqlite3TestTextToPtr(tls, tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 1*8))))
n = (objc - 2)
a = sqlite3.Xsqlite3_malloc64(tls, (uint64(uint64(unsafe.Sizeof(sqlite3_int64(0))) * uint64(n))))
if a == uintptr(0) {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+32082 /* "SQLITE_NOMEM" */, uintptr(0)))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+32944 /* "SQLITE_NOMEM" */, uintptr(0)))
return TCL_ERROR
}
for i = 0; i < n; i++ {
@@ -64389,8 +66202,8 @@ var aObjCmd10 = [2]struct {
FxProc uintptr
FclientData uintptr
}{
- {FzName: ts + 32095 /* "sqlite3_intarray..." */, FxProc: 0},
- {FzName: ts + 32119 /* "sqlite3_intarray..." */, FxProc: 0},
+ {FzName: ts + 32957 /* "sqlite3_intarray..." */, FxProc: 0},
+ {FzName: ts + 32981 /* "sqlite3_intarray..." */, FxProc: 0},
} /* test_intarray.c:380:5 */
// Maximum pathname length supported by the jt backend.
@@ -64402,8 +66215,8 @@ type jt_file1 = struct {
FzName uintptr
Fflags int32
FeLock int32
- FnPage u322
- FnPagesize u322
+ FnPage u32
+ FnPagesize u32
FpWritable uintptr
FaCksum uintptr
FnSync int32
@@ -64423,7 +66236,7 @@ var jt_vfs = sqlite3_vfs{
FiVersion: 2, // iVersion
FszOsFile: int32(unsafe.Sizeof(jt_file{})), // szOsFile
FmxPathname: JT_MAX_PATHNAME, // pNext
- FzName: ts + 32141, /* "jt" */ // pAppData
+ FzName: ts + 33003, /* "jt" */ // pAppData
FxOpen: 0, // xOpen
FxDelete: 0, // xDelete
FxAccess: 0, // xAccess
@@ -64537,7 +66350,7 @@ func locateDatabaseHandle(tls *libc.TLS, zJournal uintptr, noLock int32) uintptr
var pMain uintptr = uintptr(0)
enterJtMutex(tls)
for pMain = g2.FpList; pMain != 0; pMain = (*jt_file)(unsafe.Pointer(pMain)).FpNext {
- var nName int32 = (int32(libc.Xstrlen(tls, zJournal) - libc.Xstrlen(tls, ts+32144 /* "-journal" */)))
+ var nName int32 = (int32(libc.Xstrlen(tls, zJournal) - libc.Xstrlen(tls, ts+33006 /* "-journal" */)))
if (((((*jt_file)(unsafe.Pointer(pMain)).Fflags & SQLITE_OPEN_MAIN_DB) != 0) &&
(int32(libc.Xstrlen(tls, (*jt_file)(unsafe.Pointer(pMain)).FzName)) == nName)) &&
(0 == libc.Xmemcmp(tls, (*jt_file)(unsafe.Pointer(pMain)).FzName, zJournal, uint64(nName)))) &&
@@ -64552,17 +66365,17 @@ func locateDatabaseHandle(tls *libc.TLS, zJournal uintptr, noLock int32) uintptr
// Parameter z points to a buffer of 4 bytes in size containing a
// unsigned 32-bit integer stored in big-endian format. Decode the
// integer and return its value.
-func decodeUint32(tls *libc.TLS, z uintptr) u322 { /* test_journal.c:314:12: */
- return (u322((((int32(*(*uint8)(unsafe.Pointer(z))) << 24) + (int32(*(*uint8)(unsafe.Pointer(z + 1))) << 16)) + (int32(*(*uint8)(unsafe.Pointer(z + 2))) << 8)) + int32(*(*uint8)(unsafe.Pointer(z + 3)))))
+func decodeUint32(tls *libc.TLS, z uintptr) u32 { /* test_journal.c:314:12: */
+ return (u32((((int32(*(*uint8)(unsafe.Pointer(z))) << 24) + (int32(*(*uint8)(unsafe.Pointer(z + 1))) << 16)) + (int32(*(*uint8)(unsafe.Pointer(z + 2))) << 8)) + int32(*(*uint8)(unsafe.Pointer(z + 3)))))
}
// Calculate a checksum from the buffer of length n bytes pointed to
// by parameter z.
-func genCksum(tls *libc.TLS, z uintptr, n int32) u322 { /* test_journal.c:322:12: */
+func genCksum(tls *libc.TLS, z uintptr, n int32) u32 { /* test_journal.c:322:12: */
var i int32
- var cksum u322 = u322(0)
+ var cksum u32 = u32(0)
for i = 0; i < n; i++ {
- cksum = ((cksum + u322(*(*uint8)(unsafe.Pointer(z + uintptr(i))))) + (cksum << 3))
+ cksum = ((cksum + u32(*(*uint8)(unsafe.Pointer(z + uintptr(i))))) + (cksum << 3))
}
return cksum
}
@@ -64583,16 +66396,16 @@ func decodeJournalHdr(tls *libc.TLS, zBuf uintptr, pnRec uintptr, pnPage uintptr
return SQLITE_ERROR
}
if pnRec != 0 {
- *(*u322)(unsafe.Pointer(pnRec)) = decodeUint32(tls, (zBuf + 8))
+ *(*u32)(unsafe.Pointer(pnRec)) = decodeUint32(tls, (zBuf + 8))
}
if pnPage != 0 {
- *(*u322)(unsafe.Pointer(pnPage)) = decodeUint32(tls, (zBuf + 16))
+ *(*u32)(unsafe.Pointer(pnPage)) = decodeUint32(tls, (zBuf + 16))
}
if pnSector != 0 {
- *(*u322)(unsafe.Pointer(pnSector)) = decodeUint32(tls, (zBuf + 20))
+ *(*u32)(unsafe.Pointer(pnSector)) = decodeUint32(tls, (zBuf + 20))
}
if pnPagesize != 0 {
- *(*u322)(unsafe.Pointer(pnPagesize)) = decodeUint32(tls, (zBuf + 24))
+ *(*u32)(unsafe.Pointer(pnPagesize)) = decodeUint32(tls, (zBuf + 24))
}
return SQLITE_OK
}
@@ -64610,13 +66423,13 @@ func openTransaction(tls *libc.TLS, pMain uintptr, pJournal uintptr) int32 { /*
closeTransaction(tls, pMain)
aData = sqlite3.Xsqlite3_malloc(tls, int32((*jt_file)(unsafe.Pointer(pMain)).FnPagesize))
(*jt_file)(unsafe.Pointer(pMain)).FpWritable = sqlite3.Xsqlite3BitvecCreate(tls, (*jt_file)(unsafe.Pointer(pMain)).FnPage)
- (*jt_file)(unsafe.Pointer(pMain)).FaCksum = sqlite3.Xsqlite3_malloc(tls, (int32(uint64(unsafe.Sizeof(u322(0))) * (uint64((*jt_file)(unsafe.Pointer(pMain)).FnPage + u322(1))))))
+ (*jt_file)(unsafe.Pointer(pMain)).FaCksum = sqlite3.Xsqlite3_malloc(tls, (int32(uint64(unsafe.Sizeof(u32(0))) * (uint64((*jt_file)(unsafe.Pointer(pMain)).FnPage + u32(1))))))
(*jt_file)(unsafe.Pointer(pJournal)).FiMaxOff = int64(0)
if (!(int32((*jt_file)(unsafe.Pointer(pMain)).FpWritable) != 0) || !(int32((*jt_file)(unsafe.Pointer(pMain)).FaCksum) != 0)) || !(aData != 0) {
rc = (SQLITE_IOERR | (int32(12) << 8))
- } else if (*jt_file)(unsafe.Pointer(pMain)).FnPage > u322(0) {
- var iTrunk u322
+ } else if (*jt_file)(unsafe.Pointer(pMain)).FnPage > u32(0) {
+ var iTrunk u32
// var iSave int32 at bp, 4
// var iSave2 int32 at bp+4, 4
@@ -64627,23 +66440,23 @@ func openTransaction(tls *libc.TLS, pMain uintptr, pJournal uintptr) int32 { /*
// leaf to the jt_file.pWritable bitvec.
rc = sqlite3.Xsqlite3OsRead(tls, p, aData, int32((*jt_file)(unsafe.Pointer(pMain)).FnPagesize), int64(0))
if rc == SQLITE_OK {
- var nDbsize u322 = decodeUint32(tls, (aData + 28))
- if (nDbsize > u322(0)) && (libc.Xmemcmp(tls, (aData+24), (aData+92), uint64(4)) == 0) {
- var iPg u322
- for iPg = (nDbsize + u322(1)); iPg <= (*jt_file)(unsafe.Pointer(pMain)).FnPage; iPg++ {
+ var nDbsize u32 = decodeUint32(tls, (aData + 28))
+ if (nDbsize > u32(0)) && (libc.Xmemcmp(tls, (aData+24), (aData+92), uint64(4)) == 0) {
+ var iPg u32
+ for iPg = (nDbsize + u32(1)); iPg <= (*jt_file)(unsafe.Pointer(pMain)).FnPage; iPg++ {
sqlite3.Xsqlite3BitvecSet(tls, (*jt_file)(unsafe.Pointer(pMain)).FpWritable, iPg)
}
}
}
iTrunk = decodeUint32(tls, (aData + 32))
- for (rc == SQLITE_OK) && (iTrunk > u322(0)) {
- var nLeaf u322
- var iLeaf u322
- var iOff sqlite3_int64 = ((i64(iTrunk - u322(1))) * i64((*jt_file)(unsafe.Pointer(pMain)).FnPagesize))
+ for (rc == SQLITE_OK) && (iTrunk > u32(0)) {
+ var nLeaf u32
+ var iLeaf u32
+ var iOff sqlite3_int64 = ((i64(iTrunk - u32(1))) * i64((*jt_file)(unsafe.Pointer(pMain)).FnPagesize))
rc = sqlite3.Xsqlite3OsRead(tls, p, aData, int32((*jt_file)(unsafe.Pointer(pMain)).FnPagesize), iOff)
nLeaf = decodeUint32(tls, (aData + 4))
- for iLeaf = u322(0); (rc == SQLITE_OK) && (iLeaf < nLeaf); iLeaf++ {
- var pgno u322 = decodeUint32(tls, (aData + uintptr((u322(8) + (u322(4) * iLeaf)))))
+ for iLeaf = u32(0); (rc == SQLITE_OK) && (iLeaf < nLeaf); iLeaf++ {
+ var pgno u32 = decodeUint32(tls, (aData + uintptr((u32(8) + (u32(4) * iLeaf)))))
sqlite3.Xsqlite3BitvecSet(tls, (*jt_file)(unsafe.Pointer(pMain)).FpWritable, pgno)
}
iTrunk = decodeUint32(tls, aData)
@@ -64658,7 +66471,7 @@ func openTransaction(tls *libc.TLS, pMain uintptr, pJournal uintptr) int32 { /*
continue
}
rc = sqlite3.Xsqlite3OsRead(tls, (*jt_file)(unsafe.Pointer(pMain)).FpReal, aData, int32((*jt_file)(unsafe.Pointer(pMain)).FnPagesize), iOff)
- *(*u322)(unsafe.Pointer((*jt_file)(unsafe.Pointer(pMain)).FaCksum + uintptr(ii)*4)) = genCksum(tls, aData, int32((*jt_file)(unsafe.Pointer(pMain)).FnPagesize))
+ *(*u32)(unsafe.Pointer((*jt_file)(unsafe.Pointer(pMain)).FaCksum + uintptr(ii)*4)) = genCksum(tls, aData, int32((*jt_file)(unsafe.Pointer(pMain)).FnPagesize))
if ((ii + 1) == int32((*jt_file)(unsafe.Pointer(pMain)).FnPage)) && (rc == (SQLITE_IOERR | (int32(2) << 8))) {
rc = SQLITE_OK
}
@@ -64690,18 +66503,18 @@ func readJournalFile(tls *libc.TLS, p uintptr, pMain uintptr) int32 { /* test_jo
// var iSave2 int32 at bp+4, 4
- var cksum u322
+ var cksum u32
_ = cksum
- var pgno u322
- // var nRec u322 at bp+36, 4
+ var pgno u32
+ // var nRec u32 at bp+36, 4
- // var nPage u322 at bp+40, 4
+ // var nPage u32 at bp+40, 4
- // var nSector u322 at bp+44, 4
+ // var nSector u32 at bp+44, 4
- // var nPagesize u322 at bp+48, 4
+ // var nPagesize u32 at bp+48, 4
- var ii u322
+ var ii u32
rc = SQLITE_OK
pReal = (*jt_file)(unsafe.Pointer(p)).FpReal
iOff = int64(0)
@@ -64731,15 +66544,15 @@ __2:
goto finish_rjf
__4:
;
- iOff = iOff + (sqlite3_int64(*(*u322)(unsafe.Pointer(bp + 44 /* nSector */))))
+ iOff = iOff + (sqlite3_int64(*(*u32)(unsafe.Pointer(bp + 44 /* nSector */))))
- if !(*(*u322)(unsafe.Pointer(bp + 36 /* nRec */)) == u322(0)) {
+ if !(*(*u32)(unsafe.Pointer(bp + 36 /* nRec */)) == u32(0)) {
goto __5
}
// A trick. There might be another journal-header immediately
// following this one. In this case, 0 records means 0 records,
// not "read until the end of the file". See also ticket #2565.
- if !(iSize >= (iOff + sqlite3_int64(*(*u322)(unsafe.Pointer(bp + 44 /* nSector */))))) {
+ if !(iSize >= (iOff + sqlite3_int64(*(*u32)(unsafe.Pointer(bp + 44 /* nSector */))))) {
goto __6
}
rc = sqlite3.Xsqlite3OsRead(tls, pReal, bp+8 /* &zBuf[0] */, 28, iOff)
@@ -64751,14 +66564,14 @@ __7:
;
__6:
;
- *(*u322)(unsafe.Pointer(bp + 36 /* nRec */)) = (u322((iSize - iOff) / (sqlite3_int64((*jt_file)(unsafe.Pointer(pMain)).FnPagesize + u322(8)))))
+ *(*u32)(unsafe.Pointer(bp + 36 /* nRec */)) = (u32((iSize - iOff) / (sqlite3_int64((*jt_file)(unsafe.Pointer(pMain)).FnPagesize + u32(8)))))
__5:
;
// Read all the records that follow the journal-header just read.
- ii = u322(0)
+ ii = u32(0)
__8:
- if !(((rc == SQLITE_OK) && (ii < *(*u322)(unsafe.Pointer(bp + 36 /* nRec */)))) && (iOff < iSize)) {
+ if !(((rc == SQLITE_OK) && (ii < *(*u32)(unsafe.Pointer(bp + 36 /* nRec */)))) && (iOff < iSize)) {
goto __10
}
rc = sqlite3.Xsqlite3OsRead(tls, pReal, bp+8 /* &zBuf[0] */, 4, iOff)
@@ -64766,7 +66579,7 @@ __8:
goto __11
}
pgno = decodeUint32(tls, bp+8 /* &zBuf[0] */)
- if !((pgno > u322(0)) && (pgno <= (*jt_file)(unsafe.Pointer(pMain)).FnPage)) {
+ if !((pgno > u32(0)) && (pgno <= (*jt_file)(unsafe.Pointer(pMain)).FnPage)) {
goto __12
}
if !(0 == sqlite3.Xsqlite3BitvecTest(tls, (*jt_file)(unsafe.Pointer(pMain)).FpWritable, pgno)) {
@@ -64785,7 +66598,7 @@ __13:
sqlite3.Xsqlite3BitvecSet(tls, (*jt_file)(unsafe.Pointer(pMain)).FpWritable, pgno)
__12:
;
- iOff = iOff + (sqlite3_int64(u322(8) + (*jt_file)(unsafe.Pointer(pMain)).FnPagesize))
+ iOff = iOff + (sqlite3_int64(u32(8) + (*jt_file)(unsafe.Pointer(pMain)).FnPagesize))
__11:
;
goto __9
@@ -64796,7 +66609,7 @@ __9:
__10:
;
- iOff = (((iOff + (sqlite3_int64(*(*u322)(unsafe.Pointer(bp + 44 /* nSector */)) - u322(1)))) / sqlite3_int64(*(*u322)(unsafe.Pointer(bp + 44 /* nSector */)))) * sqlite3_int64(*(*u322)(unsafe.Pointer(bp + 44 /* nSector */))))
+ iOff = (((iOff + (sqlite3_int64(*(*u32)(unsafe.Pointer(bp + 44 /* nSector */)) - u32(1)))) / sqlite3_int64(*(*u32)(unsafe.Pointer(bp + 44 /* nSector */)))) * sqlite3_int64(*(*u32)(unsafe.Pointer(bp + 44 /* nSector */))))
goto __2
__3:
;
@@ -64843,15 +66656,15 @@ func jtWrite(tls *libc.TLS, pFile uintptr, zBuf uintptr, iAmt int32, iOfst sqlit
if (((*jt_file)(unsafe.Pointer(p)).Fflags & SQLITE_OPEN_MAIN_DB) != 0) && ((*jt_file)(unsafe.Pointer(p)).FpWritable != 0) {
if (((iAmt < int32((*jt_file)(unsafe.Pointer(p)).FnPagesize)) &&
- (((*jt_file)(unsafe.Pointer(p)).FnPagesize % u322(iAmt)) == u322(0))) &&
+ (((*jt_file)(unsafe.Pointer(p)).FnPagesize % u32(iAmt)) == u32(0))) &&
(iOfst >= (sqlite_int64(sqlite3.Xsqlite3PendingByte + 512)))) &&
- ((iOfst + sqlite_int64(iAmt)) <= (sqlite_int64(u322(sqlite3.Xsqlite3PendingByte) + (*jt_file)(unsafe.Pointer(p)).FnPagesize))) {
+ ((iOfst + sqlite_int64(iAmt)) <= (sqlite_int64(u32(sqlite3.Xsqlite3PendingByte) + (*jt_file)(unsafe.Pointer(p)).FnPagesize))) {
// No-op. This special case is hit when the backup code is copying a
// to a database with a larger page-size than the source database and
// it needs to fill in the non-locking-region part of the original
// pending-byte page.
} else {
- var pgno u322 = (u322((iOfst / sqlite_int64((*jt_file)(unsafe.Pointer(p)).FnPagesize)) + int64(1)))
+ var pgno u32 = (u32((iOfst / sqlite_int64((*jt_file)(unsafe.Pointer(p)).FnPagesize)) + int64(1)))
_ = pgno
// The following assert() statements may fail if this layer is used
@@ -64881,10 +66694,10 @@ func jtTruncate(tls *libc.TLS, pFile uintptr, size sqlite_int64) int32 { /* test
closeTransaction(tls, pMain)
}
if (((*jt_file)(unsafe.Pointer(p)).Fflags & SQLITE_OPEN_MAIN_DB) != 0) && ((*jt_file)(unsafe.Pointer(p)).FpWritable != 0) {
- var pgno u322
- var locking_page u322 = ((u322(sqlite3.Xsqlite3PendingByte) / (*jt_file)(unsafe.Pointer(p)).FnPagesize) + u322(1))
+ var pgno u32
+ var locking_page u32 = ((u32(sqlite3.Xsqlite3PendingByte) / (*jt_file)(unsafe.Pointer(p)).FnPagesize) + u32(1))
_ = locking_page
- for pgno = (u322((size / sqlite_int64((*jt_file)(unsafe.Pointer(p)).FnPagesize)) + int64(1))); pgno <= (*jt_file)(unsafe.Pointer(p)).FnPage; pgno++ {
+ for pgno = (u32((size / sqlite_int64((*jt_file)(unsafe.Pointer(p)).FnPagesize)) + int64(1))); pgno <= (*jt_file)(unsafe.Pointer(p)).FnPage; pgno++ {
}
}
@@ -65002,7 +66815,7 @@ func jtOpen(tls *libc.TLS, pVfs uintptr, zName uintptr, pFile uintptr, flags int
// returning.
func jtDelete(tls *libc.TLS, pVfs uintptr, zPath uintptr, dirSync int32) int32 { /* test_journal.c:733:12: */
var nPath int32 = int32(libc.Xstrlen(tls, zPath))
- if (nPath > 8) && (0 == libc.Xstrcmp(tls, ts+32144 /* "-journal" */, (zPath+uintptr((nPath-8))))) {
+ if (nPath > 8) && (0 == libc.Xstrcmp(tls, ts+33006 /* "-journal" */, (zPath+uintptr((nPath-8))))) {
// Deleting a journal file. The end of a transaction.
var pMain uintptr = locateDatabaseHandle(tls, zPath, 0)
if pMain != 0 {
@@ -65110,7 +66923,7 @@ func jt_unregister(tls *libc.TLS) { /* test_journal.c:865:6: */
// c-basic-offset: 4
// fill-column: 78
// End:
-// Copyright (C) 1991-2018 Free Software Foundation, Inc.
+// Copyright (C) 1991-2020 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
@@ -65125,11 +66938,11 @@ func jt_unregister(tls *libc.TLS) { /* test_journal.c:865:6: */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// ISO C99 Standard: 7.20 General utilities
-// Copyright (C) 1991-2018 Free Software Foundation, Inc.
+// Copyright (C) 1991-2020 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
@@ -65144,11 +66957,11 @@ func jt_unregister(tls *libc.TLS) { /* test_journal.c:865:6: */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// ISO C99 Standard: 7.21 String handling
-// Copyright (C) 1991-2018 Free Software Foundation, Inc.
+// Copyright (C) 1991-2020 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
@@ -65163,11 +66976,11 @@ func jt_unregister(tls *libc.TLS) { /* test_journal.c:865:6: */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// ISO C99 Standard: 7.2 Diagnostics
-// Copyright (C) 1991-2018 Free Software Foundation, Inc.
+// Copyright (C) 1991-2020 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
@@ -65182,7 +66995,7 @@ func jt_unregister(tls *libc.TLS) { /* test_journal.c:865:6: */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// void assert (int expression);
//
@@ -65219,7 +67032,7 @@ type MemFault = struct {
// c-basic-offset: 4
// fill-column: 78
// End:
-// Copyright (C) 1991-2018 Free Software Foundation, Inc.
+// Copyright (C) 1991-2020 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
@@ -65234,11 +67047,11 @@ type MemFault = struct {
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// ISO C99 Standard: 7.20 General utilities
-// Copyright (C) 1991-2018 Free Software Foundation, Inc.
+// Copyright (C) 1991-2020 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
@@ -65253,11 +67066,11 @@ type MemFault = struct {
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// ISO C99 Standard: 7.21 String handling
-// Copyright (C) 1991-2018 Free Software Foundation, Inc.
+// Copyright (C) 1991-2020 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
@@ -65272,11 +67085,11 @@ type MemFault = struct {
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// ISO C99 Standard: 7.2 Diagnostics
-// Copyright (C) 1991-2018 Free Software Foundation, Inc.
+// Copyright (C) 1991-2020 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
@@ -65291,7 +67104,7 @@ type MemFault = struct {
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// void assert (int expression);
//
@@ -65493,7 +67306,7 @@ func pointerToText(tls *libc.TLS, p uintptr, z uintptr) { /* test_malloc.c:239:1
// var n sqlite3_uint64 at bp, 8
if *(*uintptr)(unsafe.Pointer(bp + 8 /* p */)) == uintptr(0) {
- libc.Xstrcpy(tls, z, ts+13875 /* "0" */)
+ libc.Xstrcpy(tls, z, ts+14654 /* "0" */)
return
}
if uint64(unsafe.Sizeof(sqlite3_uint64(0))) == uint64(unsafe.Sizeof(uintptr(0))) {
@@ -65526,7 +67339,7 @@ __3:
*(*int8)(unsafe.Pointer(z + 16)) = int8(0)
}
-var zHex = *(*[17]int8)(unsafe.Pointer(ts + 30527 /* "0123456789abcdef" */)) /* test_malloc.c:240:21 */
+var zHex = *(*[17]int8)(unsafe.Pointer(ts + 31389 /* "0123456789abcdef" */)) /* test_malloc.c:240:21 */
func hexToInt(tls *libc.TLS, h int32) int32 { /* test_malloc.c:262:12: */
if (h >= '0') && (h <= '9') {
@@ -65582,7 +67395,7 @@ func test_malloc(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32,
// var zOut [100]int8 at bp+20, 100
if objc != 2 {
- tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+32153 /* "NBYTES" */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+33015 /* "NBYTES" */)
return TCL_ERROR
}
if tcl.XTcl_GetIntFromObj(tls, interp, *(*uintptr)(unsafe.Pointer(objv + 1*8)), bp+16 /* &nByte */) != 0 {
@@ -65609,14 +67422,14 @@ func test_realloc(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32,
// var zOut [100]int8 at bp+56, 100
if objc != 3 {
- tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+32160 /* "PRIOR NBYTES" */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+33022 /* "PRIOR NBYTES" */)
return TCL_ERROR
}
if tcl.XTcl_GetIntFromObj(tls, interp, *(*uintptr)(unsafe.Pointer(objv + 2*8)), bp+40 /* &nByte */) != 0 {
return TCL_ERROR
}
if textToPointer(tls, tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 1*8))), bp+48 /* &pPrior */) != 0 {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+32173 /* "bad pointer: " */, tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 1*8))), uintptr(0)))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+33035 /* "bad pointer: " */, tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 1*8))), uintptr(0)))
return TCL_ERROR
}
p = sqlite3.Xsqlite3_realloc(tls, *(*uintptr)(unsafe.Pointer(bp + 48 /* pPrior */)), int32(uint32(*(*int32)(unsafe.Pointer(bp + 40 /* nByte */)))))
@@ -65635,11 +67448,11 @@ func test_free(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, ob
// var pPrior uintptr at bp+24, 8
if objc != 2 {
- tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+32187 /* "PRIOR" */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+33049 /* "PRIOR" */)
return TCL_ERROR
}
if textToPointer(tls, tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 1*8))), bp+24 /* &pPrior */) != 0 {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+32173 /* "bad pointer: " */, tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 1*8))), uintptr(0)))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+33035 /* "bad pointer: " */, tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 1*8))), uintptr(0)))
return TCL_ERROR
}
sqlite3.Xsqlite3_free(tls, *(*uintptr)(unsafe.Pointer(bp + 24 /* pPrior */)))
@@ -65666,18 +67479,18 @@ func test_memset(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32,
// var zBin [100]int8 at bp+72, 100
if objc != 4 {
- tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+32193 /* "ADDRESS SIZE HEX" */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+33055 /* "ADDRESS SIZE HEX" */)
return TCL_ERROR
}
if textToPointer(tls, tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 1*8))), bp+56 /* &p */) != 0 {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+32173 /* "bad pointer: " */, tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 1*8))), uintptr(0)))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+33035 /* "bad pointer: " */, tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 1*8))), uintptr(0)))
return TCL_ERROR
}
if tcl.XTcl_GetIntFromObj(tls, interp, *(*uintptr)(unsafe.Pointer(objv + 2*8)), bp+64 /* &size */) != 0 {
return TCL_ERROR
}
if *(*int32)(unsafe.Pointer(bp + 64 /* size */)) <= 0 {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+24, ts+32210 /* "size must be pos..." */, uintptr(0)))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+24, ts+33072 /* "size must be pos..." */, uintptr(0)))
return TCL_ERROR
}
zHex = tcl.XTcl_GetStringFromObj(tls, *(*uintptr)(unsafe.Pointer(objv + 3*8)), bp+68 /* &n */)
@@ -65686,7 +67499,7 @@ func test_memset(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32,
}
*(*int32)(unsafe.Pointer(bp + 68 /* n */)) = sqlite3TestHexToBin(tls, zHex, *(*int32)(unsafe.Pointer(bp + 68 /* n */)), bp+72 /* &zBin[0] */)
if *(*int32)(unsafe.Pointer(bp + 68 /* n */)) == 0 {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+40, ts+32232 /* "no data" */, uintptr(0)))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+40, ts+33094 /* "no data" */, uintptr(0)))
return TCL_ERROR
}
zOut = *(*uintptr)(unsafe.Pointer(bp + 56 /* p */))
@@ -65712,18 +67525,18 @@ func test_memget(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32,
// var zHex [100]int8 at bp+68, 100
if objc != 3 {
- tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+32240 /* "ADDRESS SIZE" */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+33102 /* "ADDRESS SIZE" */)
return TCL_ERROR
}
if textToPointer(tls, tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 1*8))), bp+56 /* &p */) != 0 {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+32173 /* "bad pointer: " */, tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 1*8))), uintptr(0)))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+33035 /* "bad pointer: " */, tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 1*8))), uintptr(0)))
return TCL_ERROR
}
if tcl.XTcl_GetIntFromObj(tls, interp, *(*uintptr)(unsafe.Pointer(objv + 2*8)), bp+64 /* &size */) != 0 {
return TCL_ERROR
}
if *(*int32)(unsafe.Pointer(bp + 64 /* size */)) <= 0 {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+24, ts+32210 /* "size must be pos..." */, uintptr(0)))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+24, ts+33072 /* "size must be pos..." */, uintptr(0)))
return TCL_ERROR
}
zBin = *(*uintptr)(unsafe.Pointer(bp + 56 /* p */))
@@ -65759,7 +67572,7 @@ func test_memory_highwater(tls *libc.TLS, clientData uintptr, interp uintptr, ob
*(*int32)(unsafe.Pointer(bp /* resetFlag */)) = 0
if (objc != 1) && (objc != 2) {
- tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+32253 /* "?RESET?" */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+33115 /* "?RESET?" */)
return TCL_ERROR
}
if objc == 2 {
@@ -65783,7 +67596,7 @@ func test_memdebug_backtrace(tls *libc.TLS, clientData uintptr, interp uintptr,
// var depth int32 at bp, 4
if objc != 2 {
- tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+32261 /* "DEPT" */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+33123 /* "DEPT" */)
return TCL_ERROR
}
if tcl.XTcl_GetIntFromObj(tls, interp, *(*uintptr)(unsafe.Pointer(objv + 1*8)), bp /* &depth */) != 0 {
@@ -65797,7 +67610,7 @@ func test_memdebug_backtrace(tls *libc.TLS, clientData uintptr, interp uintptr,
// Write a summary of unfreed memory to FILENAME.
func test_memdebug_dump(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* test_malloc.c:542:26: */
if objc != 2 {
- tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+32266 /* "FILENAME" */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+33128 /* "FILENAME" */)
return TCL_ERROR
}
return TCL_OK
@@ -65845,7 +67658,7 @@ func test_memdebug_fail(tls *libc.TLS, clientData uintptr, interp uintptr, objc
var nFail int32 = 0
if objc < 2 {
- tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+32275 /* "COUNTER ?OPTIONS..." */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+33137 /* "COUNTER ?OPTIONS..." */)
return TCL_ERROR
}
if tcl.XTcl_GetIntFromObj(tls, interp, *(*uintptr)(unsafe.Pointer(objv + 1*8)), bp+24 /* &iFail */) != 0 {
@@ -65858,22 +67671,22 @@ func test_memdebug_fail(tls *libc.TLS, clientData uintptr, interp uintptr, objc
var zOption uintptr = tcl.XTcl_GetStringFromObj(tls, *(*uintptr)(unsafe.Pointer(objv + uintptr(ii)*8)), bp+28 /* &nOption */)
var zErr uintptr = uintptr(0)
- if (*(*int32)(unsafe.Pointer(bp + 28 /* nOption */)) > 1) && (libc.Xstrncmp(tls, zOption, ts+32293 /* "-repeat" */, uint64(*(*int32)(unsafe.Pointer(bp + 28 /* nOption */)))) == 0) {
+ if (*(*int32)(unsafe.Pointer(bp + 28 /* nOption */)) > 1) && (libc.Xstrncmp(tls, zOption, ts+33155 /* "-repeat" */, uint64(*(*int32)(unsafe.Pointer(bp + 28 /* nOption */)))) == 0) {
if ii == (objc - 1) {
- zErr = ts + 12329 /* "option requires ..." */
+ zErr = ts + 13108 /* "option requires ..." */
} else {
if tcl.XTcl_GetIntFromObj(tls, interp, *(*uintptr)(unsafe.Pointer(objv + uintptr((ii+1))*8)), bp+32 /* &nRepeat */) != 0 {
return TCL_ERROR
}
}
- } else if (*(*int32)(unsafe.Pointer(bp + 28 /* nOption */)) > 1) && (libc.Xstrncmp(tls, zOption, ts+32301 /* "-benigncnt" */, uint64(*(*int32)(unsafe.Pointer(bp + 28 /* nOption */)))) == 0) {
+ } else if (*(*int32)(unsafe.Pointer(bp + 28 /* nOption */)) > 1) && (libc.Xstrncmp(tls, zOption, ts+33163 /* "-benigncnt" */, uint64(*(*int32)(unsafe.Pointer(bp + 28 /* nOption */)))) == 0) {
if ii == (objc - 1) {
- zErr = ts + 12329 /* "option requires ..." */
+ zErr = ts + 13108 /* "option requires ..." */
} else {
pBenignCnt = *(*uintptr)(unsafe.Pointer(objv + uintptr((ii+1))*8))
}
} else {
- zErr = ts + 12135 /* "unknown option: " */
+ zErr = ts + 12914 /* "unknown option: " */
}
if zErr != 0 {
@@ -65925,7 +67738,7 @@ var sqlite3_memdebug_title_count int32 = 0 /* test_malloc.c:694:12 */
func test_memdebug_settitle(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* test_malloc.c:706:26: */
sqlite3_memdebug_title_count++
if objc != 2 {
- tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+32312 /* "TITLE" */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+33174 /* "TITLE" */)
return TCL_ERROR
}
return TCL_OK
@@ -65978,7 +67791,7 @@ func test_memdebug_log(tls *libc.TLS, clientData uintptr, interp uintptr, objc i
}
if objc < 2 {
- tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+32318 /* "SUB-COMMAND ..." */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+33180 /* "SUB-COMMAND ..." */)
}
if tcl.XTcl_GetIndexFromObjStruct(tls, interp, *(*uintptr)(unsafe.Pointer(objv + 1*8)), uintptr(unsafe.Pointer(&MB_strs)), int32(unsafe.Sizeof(uintptr(0))), ts+1875 /* "sub-command" */, 0, bp /* &iSub */) != 0 {
return TCL_ERROR
@@ -66042,7 +67855,7 @@ func test_memdebug_log(tls *libc.TLS, clientData uintptr, interp uintptr, objc i
}
var isInit int32 = 0 /* test_malloc.c:793:14 */
-var MB_strs = [5]uintptr{ts + 32334 /* "start" */, ts + 32340 /* "stop" */, ts + 32345 /* "dump" */, ts + 32350 /* "clear" */, ts + 32356 /* "sync" */} /* test_malloc.c:796:21 */
+var MB_strs = [5]uintptr{ts + 33196 /* "start" */, ts + 33202 /* "stop" */, ts + 33207 /* "dump" */, ts + 33212 /* "clear" */, ts + 33218 /* "sync" */} /* test_malloc.c:796:21 */
// Usage: sqlite3_config_pagecache SIZE N
//
@@ -66062,7 +67875,7 @@ func test_config_pagecache(tls *libc.TLS, clientData uintptr, interp uintptr, ob
var pRes uintptr
if objc != 3 {
- tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+32361 /* "SIZE N" */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+33223 /* "SIZE N" */)
return TCL_ERROR
}
if tcl.XTcl_GetIntFromObj(tls, interp, *(*uintptr)(unsafe.Pointer(objv + 1*8)), bp+48 /* &sz */) != 0 {
@@ -66110,7 +67923,7 @@ func test_alt_pcache(tls *libc.TLS, clientData uintptr, interp uintptr, objc int
*(*int32)(unsafe.Pointer(bp + 28 /* highStress */)) = 0
if (objc < 2) || (objc > 5) {
tcl.XTcl_WrongNumArgs(tls, interp, 1, objv,
- ts+32368 /* "INSTALLFLAG DISC..." */)
+ ts+33230 /* "INSTALLFLAG DISC..." */)
return TCL_ERROR
}
if tcl.XTcl_GetIntFromObj(tls, interp, *(*uintptr)(unsafe.Pointer(objv + 1*8)), bp+16 /* &installFlag */) != 0 {
@@ -66126,7 +67939,7 @@ func test_alt_pcache(tls *libc.TLS, clientData uintptr, interp uintptr, objc int
return TCL_ERROR
}
if (*(*int32)(unsafe.Pointer(bp + 20 /* discardChance */)) < 0) || (*(*int32)(unsafe.Pointer(bp + 20 /* discardChance */)) > 100) {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+32415, /* "discard-chance s..." */
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+33277, /* "discard-chance s..." */
uintptr(0)))
return TCL_ERROR
}
@@ -66146,7 +67959,7 @@ func test_config_memstatus(tls *libc.TLS, clientData uintptr, interp uintptr, ob
var rc int32
if objc != 2 {
- tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+17888 /* "BOOLEAN" */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+18677 /* "BOOLEAN" */)
return TCL_ERROR
}
if tcl.XTcl_GetBooleanFromObj(tls, interp, *(*uintptr)(unsafe.Pointer(objv + 1*8)), bp+8 /* &enable */) != 0 {
@@ -66169,7 +67982,7 @@ func test_config_lookaside(tls *libc.TLS, clientData uintptr, interp uintptr, ob
var pRet uintptr
if objc != 3 {
- tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+32458 /* "SIZE COUNT" */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+33320 /* "SIZE COUNT" */)
return TCL_ERROR
}
if tcl.XTcl_GetIntFromObj(tls, interp, *(*uintptr)(unsafe.Pointer(objv + 1*8)), bp+16 /* &sz */) != 0 {
@@ -66207,7 +68020,7 @@ func test_db_config_lookaside(tls *libc.TLS, clientData uintptr, interp uintptr,
// var bufid int32 at bp+72, 4
if objc != 5 {
- tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+32469 /* "BUFID SIZE COUNT" */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+33331 /* "BUFID SIZE COUNT" */)
return TCL_ERROR
}
if getDbPointer(tls, interp, tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 1*8))), bp+64 /* &db */) != 0 {
@@ -66227,7 +68040,7 @@ func test_db_config_lookaside(tls *libc.TLS, clientData uintptr, interp uintptr,
} else if ((*(*int32)(unsafe.Pointer(bp + 72 /* bufid */)) >= 1) && (*(*int32)(unsafe.Pointer(bp + 72 /* bufid */)) <= 2)) && ((uint64(*(*int32)(unsafe.Pointer(bp + 76 /* sz */)) * *(*int32)(unsafe.Pointer(bp + 80 /* cnt */)))) <= uint64(unsafe.Sizeof([10000]int8{}))) {
rc = sqlite3.Xsqlite3_db_config(tls, *(*uintptr)(unsafe.Pointer(bp + 64 /* db */)), SQLITE_DBCONFIG_LOOKASIDE, libc.VaList(bp+24, (uintptr(unsafe.Pointer(&azBuf))+uintptr(*(*int32)(unsafe.Pointer(bp + 72 /* bufid */)))*10000), *(*int32)(unsafe.Pointer(bp + 76 /* sz */)), *(*int32)(unsafe.Pointer(bp + 80 /* cnt */))))
} else {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+48, ts+32486 /* "illegal argument..." */, uintptr(0)))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+48, ts+33348 /* "illegal argument..." */, uintptr(0)))
return TCL_ERROR
}
tcl.XTcl_SetObjResult(tls, interp, tcl.XTcl_NewIntObj(tls, rc))
@@ -66251,7 +68064,7 @@ func test_config_heap(tls *libc.TLS, clientData uintptr, interp uintptr, objc in
var nArg int32 = (objc - 1)
if nArg != 2 {
- tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+32524 /* "NBYTE NMINALLOC" */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+33386 /* "NBYTE NMINALLOC" */)
return TCL_ERROR
}
if tcl.XTcl_GetIntFromObj(tls, interp, *(*uintptr)(unsafe.Pointer(aArg)), bp+48 /* &nByte */) != 0 {
@@ -66289,7 +68102,7 @@ func test_config_heap_size(tls *libc.TLS, clientData uintptr, interp uintptr, ob
var nArg int32 = (objc - 1)
if nArg != 1 {
- tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+15902 /* "NBYTE" */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+16691 /* "NBYTE" */)
return TCL_ERROR
}
if tcl.XTcl_GetIntFromObj(tls, interp, *(*uintptr)(unsafe.Pointer(aArg)), bp+8 /* &nByte */) != 0 {
@@ -66313,7 +68126,7 @@ func test_config_error(tls *libc.TLS, clientData uintptr, interp uintptr, objc i
// var db uintptr at bp+32, 8
if (objc != 2) && (objc != 1) {
- tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+32540 /* "[DB]" */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+33402 /* "[DB]" */)
return TCL_ERROR
}
if objc == 2 {
@@ -66322,14 +68135,14 @@ func test_config_error(tls *libc.TLS, clientData uintptr, interp uintptr, objc i
}
if sqlite3.Xsqlite3_db_config(tls, *(*uintptr)(unsafe.Pointer(bp + 32 /* db */)), 99999, 0) != SQLITE_ERROR {
tcl.XTcl_AppendResult(tls, interp,
- libc.VaList(bp, ts+32545, /* "sqlite3_db_confi..." */
+ libc.VaList(bp, ts+33407, /* "sqlite3_db_confi..." */
uintptr(0)))
return TCL_ERROR
}
} else {
if sqlite3.Xsqlite3_config(tls, 99999, 0) != SQLITE_ERROR {
tcl.XTcl_AppendResult(tls, interp,
- libc.VaList(bp+16, ts+32603, /* "sqlite3_config(9..." */
+ libc.VaList(bp+16, ts+33465, /* "sqlite3_config(9..." */
uintptr(0)))
return TCL_ERROR
}
@@ -66349,7 +68162,7 @@ func test_config_uri(tls *libc.TLS, clientData uintptr, interp uintptr, objc int
// var bOpenUri int32 at bp+8, 4
if objc != 2 {
- tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+18611 /* "BOOL" */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+10615 /* "BOOL" */)
return TCL_ERROR
}
if tcl.XTcl_GetBooleanFromObj(tls, interp, *(*uintptr)(unsafe.Pointer(objv + 1*8)), bp+8 /* &bOpenUri */) != 0 {
@@ -66374,7 +68187,7 @@ func test_config_cis(tls *libc.TLS, clientData uintptr, interp uintptr, objc int
// var bUseCis int32 at bp+8, 4
if objc != 2 {
- tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+18611 /* "BOOL" */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+10615 /* "BOOL" */)
return TCL_ERROR
}
if tcl.XTcl_GetBooleanFromObj(tls, interp, *(*uintptr)(unsafe.Pointer(objv + 1*8)), bp+8 /* &bUseCis */) != 0 {
@@ -66398,7 +68211,7 @@ func test_config_pmasz(tls *libc.TLS, clientData uintptr, interp uintptr, objc i
// var iPmaSz int32 at bp+8, 4
if objc != 2 {
- tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+18611 /* "BOOL" */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+10615 /* "BOOL" */)
return TCL_ERROR
}
if tcl.XTcl_GetIntFromObj(tls, interp, *(*uintptr)(unsafe.Pointer(objv + 1*8)), bp+8 /* &iPmaSz */) != 0 {
@@ -66417,7 +68230,7 @@ func test_config_pmasz(tls *libc.TLS, clientData uintptr, interp uintptr, objc i
// Write a summary of unfreed memsys3 allocations to FILENAME.
func test_dump_memsys3(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* test_malloc.c:1251:26: */
if objc != 2 {
- tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+32266 /* "FILENAME" */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+33128 /* "FILENAME" */)
return TCL_ERROR
}
@@ -66455,7 +68268,7 @@ func test_status(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32,
var zOpName uintptr
var pResult uintptr
if objc != 3 {
- tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+32654 /* "PARAMETER RESETF..." */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+33516 /* "PARAMETER RESETF..." */)
return TCL_ERROR
}
zOpName = tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 1*8)))
@@ -66497,16 +68310,16 @@ var aOp1 = [10]struct {
Fop int32
_ [4]byte
}{
- {FzName: ts + 32674 /* "SQLITE_STATUS_ME..." */},
- {FzName: ts + 32700 /* "SQLITE_STATUS_MA..." */, Fop: SQLITE_STATUS_MALLOC_SIZE},
- {FzName: ts + 32726 /* "SQLITE_STATUS_PA..." */, Fop: SQLITE_STATUS_PAGECACHE_USED},
- {FzName: ts + 32755 /* "SQLITE_STATUS_PA..." */, Fop: SQLITE_STATUS_PAGECACHE_OVERFLOW},
- {FzName: ts + 32788 /* "SQLITE_STATUS_PA..." */, Fop: SQLITE_STATUS_PAGECACHE_SIZE},
- {FzName: ts + 32817 /* "SQLITE_STATUS_SC..." */, Fop: SQLITE_STATUS_SCRATCH_USED},
- {FzName: ts + 32844 /* "SQLITE_STATUS_SC..." */, Fop: SQLITE_STATUS_SCRATCH_OVERFLOW},
- {FzName: ts + 32875 /* "SQLITE_STATUS_SC..." */, Fop: SQLITE_STATUS_SCRATCH_SIZE},
- {FzName: ts + 32902 /* "SQLITE_STATUS_PA..." */, Fop: SQLITE_STATUS_PARSER_STACK},
- {FzName: ts + 32929 /* "SQLITE_STATUS_MA..." */, Fop: SQLITE_STATUS_MALLOC_COUNT},
+ {FzName: ts + 33536 /* "SQLITE_STATUS_ME..." */},
+ {FzName: ts + 33562 /* "SQLITE_STATUS_MA..." */, Fop: SQLITE_STATUS_MALLOC_SIZE},
+ {FzName: ts + 33588 /* "SQLITE_STATUS_PA..." */, Fop: SQLITE_STATUS_PAGECACHE_USED},
+ {FzName: ts + 33617 /* "SQLITE_STATUS_PA..." */, Fop: SQLITE_STATUS_PAGECACHE_OVERFLOW},
+ {FzName: ts + 33650 /* "SQLITE_STATUS_PA..." */, Fop: SQLITE_STATUS_PAGECACHE_SIZE},
+ {FzName: ts + 33679 /* "SQLITE_STATUS_SC..." */, Fop: SQLITE_STATUS_SCRATCH_USED},
+ {FzName: ts + 33706 /* "SQLITE_STATUS_SC..." */, Fop: SQLITE_STATUS_SCRATCH_OVERFLOW},
+ {FzName: ts + 33737 /* "SQLITE_STATUS_SC..." */, Fop: SQLITE_STATUS_SCRATCH_SIZE},
+ {FzName: ts + 33764 /* "SQLITE_STATUS_PA..." */, Fop: SQLITE_STATUS_PARSER_STACK},
+ {FzName: ts + 33791 /* "SQLITE_STATUS_MA..." */, Fop: SQLITE_STATUS_MALLOC_COUNT},
} /* test_malloc.c:1299:5 */
// Usage: sqlite3_db_status DATABASE OPCODE RESETFLAG
@@ -66531,17 +68344,17 @@ func test_db_status(tls *libc.TLS, clientData uintptr, interp uintptr, objc int3
var pResult uintptr
if objc != 4 {
- tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+32956 /* "DB PARAMETER RES..." */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+33818 /* "DB PARAMETER RES..." */)
return TCL_ERROR
}
if getDbPointer(tls, interp, tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 1*8))), bp /* &db */) != 0 {
return TCL_ERROR
}
zOpName = tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 2*8)))
- if libc.Xmemcmp(tls, zOpName, ts+32979 /* "SQLITE_" */, uint64(7)) == 0 {
+ if libc.Xmemcmp(tls, zOpName, ts+33841 /* "SQLITE_" */, uint64(7)) == 0 {
zOpName += uintptr(7)
}
- if libc.Xmemcmp(tls, zOpName, ts+32987 /* "DBSTATUS_" */, uint64(9)) == 0 {
+ if libc.Xmemcmp(tls, zOpName, ts+33849 /* "DBSTATUS_" */, uint64(9)) == 0 {
zOpName += uintptr(9)
}
for i = 0; i < (int32(uint64(unsafe.Sizeof(aOp2)) / uint64(unsafe.Sizeof(struct {
@@ -66582,19 +68395,19 @@ var aOp2 = [13]struct {
Fop int32
_ [4]byte
}{
- {FzName: ts + 32997 /* "LOOKASIDE_USED" */},
- {FzName: ts + 33012 /* "CACHE_USED" */, Fop: SQLITE_DBSTATUS_CACHE_USED},
- {FzName: ts + 33023 /* "SCHEMA_USED" */, Fop: SQLITE_DBSTATUS_SCHEMA_USED},
- {FzName: ts + 33035 /* "STMT_USED" */, Fop: SQLITE_DBSTATUS_STMT_USED},
- {FzName: ts + 33045 /* "LOOKASIDE_HIT" */, Fop: SQLITE_DBSTATUS_LOOKASIDE_HIT},
- {FzName: ts + 33059 /* "LOOKASIDE_MISS_S..." */, Fop: SQLITE_DBSTATUS_LOOKASIDE_MISS_SIZE},
- {FzName: ts + 33079 /* "LOOKASIDE_MISS_F..." */, Fop: SQLITE_DBSTATUS_LOOKASIDE_MISS_FULL},
- {FzName: ts + 33099 /* "CACHE_HIT" */, Fop: SQLITE_DBSTATUS_CACHE_HIT},
- {FzName: ts + 33109 /* "CACHE_MISS" */, Fop: SQLITE_DBSTATUS_CACHE_MISS},
- {FzName: ts + 33120 /* "CACHE_WRITE" */, Fop: SQLITE_DBSTATUS_CACHE_WRITE},
- {FzName: ts + 33132 /* "DEFERRED_FKS" */, Fop: SQLITE_DBSTATUS_DEFERRED_FKS},
- {FzName: ts + 33145 /* "CACHE_USED_SHARE..." */, Fop: SQLITE_DBSTATUS_CACHE_USED_SHARED},
- {FzName: ts + 33163 /* "CACHE_SPILL" */, Fop: SQLITE_DBSTATUS_CACHE_SPILL},
+ {FzName: ts + 33859 /* "LOOKASIDE_USED" */},
+ {FzName: ts + 33874 /* "CACHE_USED" */, Fop: SQLITE_DBSTATUS_CACHE_USED},
+ {FzName: ts + 33885 /* "SCHEMA_USED" */, Fop: SQLITE_DBSTATUS_SCHEMA_USED},
+ {FzName: ts + 33897 /* "STMT_USED" */, Fop: SQLITE_DBSTATUS_STMT_USED},
+ {FzName: ts + 33907 /* "LOOKASIDE_HIT" */, Fop: SQLITE_DBSTATUS_LOOKASIDE_HIT},
+ {FzName: ts + 33921 /* "LOOKASIDE_MISS_S..." */, Fop: SQLITE_DBSTATUS_LOOKASIDE_MISS_SIZE},
+ {FzName: ts + 33941 /* "LOOKASIDE_MISS_F..." */, Fop: SQLITE_DBSTATUS_LOOKASIDE_MISS_FULL},
+ {FzName: ts + 33961 /* "CACHE_HIT" */, Fop: SQLITE_DBSTATUS_CACHE_HIT},
+ {FzName: ts + 33971 /* "CACHE_MISS" */, Fop: SQLITE_DBSTATUS_CACHE_MISS},
+ {FzName: ts + 33982 /* "CACHE_WRITE" */, Fop: SQLITE_DBSTATUS_CACHE_WRITE},
+ {FzName: ts + 33994 /* "DEFERRED_FKS" */, Fop: SQLITE_DBSTATUS_DEFERRED_FKS},
+ {FzName: ts + 34007 /* "CACHE_USED_SHARE..." */, Fop: SQLITE_DBSTATUS_CACHE_USED_SHARED},
+ {FzName: ts + 34025 /* "CACHE_SPILL" */, Fop: SQLITE_DBSTATUS_CACHE_SPILL},
} /* test_malloc.c:1358:5 */
// install_malloc_faultsim BOOLEAN
@@ -66606,7 +68419,7 @@ func test_install_malloc_faultsim(tls *libc.TLS, clientData uintptr, interp uint
// var isInstall int32 at bp, 4
if objc != 2 {
- tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+17888 /* "BOOLEAN" */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+18677 /* "BOOLEAN" */)
return TCL_ERROR
}
if TCL_OK != tcl.XTcl_GetBooleanFromObj(tls, interp, *(*uintptr)(unsafe.Pointer(objv + 1*8)), bp /* &isInstall */) {
@@ -66629,7 +68442,7 @@ func test_vfs_oom_test(tls *libc.TLS, clientData uintptr, interp uintptr, objc i
defer tls.Free(4)
if objc > 2 {
- tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+33175 /* "?INTEGER?" */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+34037 /* "?INTEGER?" */)
return TCL_ERROR
} else if objc == 2 {
// var iNew int32 at bp, 4
@@ -66664,38 +68477,38 @@ var aObjCmd11 = [32]struct {
FclientData int32
_ [4]byte
}{
- {FzName: ts + 27537 /* "sqlite3_malloc" */, FxProc: 0},
- {FzName: ts + 27552 /* "sqlite3_realloc" */, FxProc: 0},
- {FzName: ts + 33185 /* "sqlite3_free" */, FxProc: 0},
- {FzName: ts + 33198 /* "memset" */, FxProc: 0},
- {FzName: ts + 33205 /* "memget" */, FxProc: 0},
- {FzName: ts + 33212 /* "sqlite3_memory_u..." */, FxProc: 0},
- {FzName: ts + 33232 /* "sqlite3_memory_h..." */, FxProc: 0},
- {FzName: ts + 33257 /* "sqlite3_memdebug..." */, FxProc: 0},
- {FzName: ts + 33284 /* "sqlite3_memdebug..." */, FxProc: 0},
- {FzName: ts + 33306 /* "sqlite3_memdebug..." */, FxProc: 0},
- {FzName: ts + 33328 /* "sqlite3_memdebug..." */, FxProc: 0},
- {FzName: ts + 33353 /* "sqlite3_memdebug..." */, FxProc: 0},
- {FzName: ts + 33379 /* "sqlite3_memdebug..." */, FxProc: 0},
- {FzName: ts + 33409 /* "sqlite3_memdebug..." */, FxProc: 0},
- {FzName: ts + 33430 /* "sqlite3_config_p..." */, FxProc: 0},
- {FzName: ts + 33455 /* "sqlite3_config_a..." */, FxProc: 0},
- {FzName: ts + 33481 /* "sqlite3_status" */, FxProc: 0},
- {FzName: ts + 33496 /* "sqlite3_db_statu..." */, FxProc: 0},
- {FzName: ts + 33514 /* "install_malloc_f..." */, FxProc: 0},
- {FzName: ts + 33538 /* "sqlite3_config_h..." */, FxProc: 0},
- {FzName: ts + 33558 /* "sqlite3_config_h..." */, FxProc: 0},
- {FzName: ts + 33583 /* "sqlite3_config_m..." */, FxProc: 0},
- {FzName: ts + 33608 /* "sqlite3_config_l..." */, FxProc: 0},
- {FzName: ts + 33633 /* "sqlite3_config_e..." */, FxProc: 0},
- {FzName: ts + 33654 /* "sqlite3_config_u..." */, FxProc: 0},
- {FzName: ts + 33673 /* "sqlite3_config_c..." */, FxProc: 0},
- {FzName: ts + 33692 /* "sqlite3_config_p..." */, FxProc: 0},
- {FzName: ts + 33713 /* "sqlite3_db_confi..." */, FxProc: 0},
- {FzName: ts + 33741 /* "sqlite3_dump_mem..." */, FxProc: 0, FclientData: 3},
- {FzName: ts + 33762 /* "sqlite3_dump_mem..." */, FxProc: 0, FclientData: 5},
- {FzName: ts + 33783 /* "sqlite3_install_..." */, FxProc: 0},
- {FzName: ts + 33807 /* "sqlite3_memdebug..." */, FxProc: 0},
+ {FzName: ts + 28381 /* "sqlite3_malloc" */, FxProc: 0},
+ {FzName: ts + 28396 /* "sqlite3_realloc" */, FxProc: 0},
+ {FzName: ts + 34047 /* "sqlite3_free" */, FxProc: 0},
+ {FzName: ts + 34060 /* "memset" */, FxProc: 0},
+ {FzName: ts + 34067 /* "memget" */, FxProc: 0},
+ {FzName: ts + 34074 /* "sqlite3_memory_u..." */, FxProc: 0},
+ {FzName: ts + 34094 /* "sqlite3_memory_h..." */, FxProc: 0},
+ {FzName: ts + 34119 /* "sqlite3_memdebug..." */, FxProc: 0},
+ {FzName: ts + 34146 /* "sqlite3_memdebug..." */, FxProc: 0},
+ {FzName: ts + 34168 /* "sqlite3_memdebug..." */, FxProc: 0},
+ {FzName: ts + 34190 /* "sqlite3_memdebug..." */, FxProc: 0},
+ {FzName: ts + 34215 /* "sqlite3_memdebug..." */, FxProc: 0},
+ {FzName: ts + 34241 /* "sqlite3_memdebug..." */, FxProc: 0},
+ {FzName: ts + 34271 /* "sqlite3_memdebug..." */, FxProc: 0},
+ {FzName: ts + 34292 /* "sqlite3_config_p..." */, FxProc: 0},
+ {FzName: ts + 34317 /* "sqlite3_config_a..." */, FxProc: 0},
+ {FzName: ts + 34343 /* "sqlite3_status" */, FxProc: 0},
+ {FzName: ts + 34358 /* "sqlite3_db_statu..." */, FxProc: 0},
+ {FzName: ts + 34376 /* "install_malloc_f..." */, FxProc: 0},
+ {FzName: ts + 34400 /* "sqlite3_config_h..." */, FxProc: 0},
+ {FzName: ts + 34420 /* "sqlite3_config_h..." */, FxProc: 0},
+ {FzName: ts + 34445 /* "sqlite3_config_m..." */, FxProc: 0},
+ {FzName: ts + 34470 /* "sqlite3_config_l..." */, FxProc: 0},
+ {FzName: ts + 34495 /* "sqlite3_config_e..." */, FxProc: 0},
+ {FzName: ts + 34516 /* "sqlite3_config_u..." */, FxProc: 0},
+ {FzName: ts + 34535 /* "sqlite3_config_c..." */, FxProc: 0},
+ {FzName: ts + 34554 /* "sqlite3_config_p..." */, FxProc: 0},
+ {FzName: ts + 34575 /* "sqlite3_db_confi..." */, FxProc: 0},
+ {FzName: ts + 34603 /* "sqlite3_dump_mem..." */, FxProc: 0, FclientData: 3},
+ {FzName: ts + 34624 /* "sqlite3_dump_mem..." */, FxProc: 0, FclientData: 5},
+ {FzName: ts + 34645 /* "sqlite3_install_..." */, FxProc: 0},
+ {FzName: ts + 34669 /* "sqlite3_memdebug..." */, FxProc: 0},
} /* test_malloc.c:1472:5 */
// Some versions of define this macros.
@@ -67087,7 +68900,7 @@ func MD5DigestToBase16(tls *libc.TLS, digest uintptr, zBuf uintptr) { /* test_md
*(*int8)(unsafe.Pointer(zBuf + uintptr(j))) = int8(0)
}
-var zEncode = *(*[17]int8)(unsafe.Pointer(ts + 30527 /* "0123456789abcdef" */)) /* test_md5.c:285:21 */
+var zEncode = *(*[17]int8)(unsafe.Pointer(ts + 31389 /* "0123456789abcdef" */)) /* test_md5.c:285:21 */
// Convert a 128-bit MD5 digest into sequency of eight 5-digit integers
// each representing 16 bits of the digest and separated from each
@@ -67104,7 +68917,7 @@ func MD5DigestToBase10x8(tls *libc.TLS, digest uintptr, zDigest uintptr) { /* te
if i > 0 {
*(*int8)(unsafe.Pointer(zDigest + uintptr(libc.PostIncInt32(&j, 1)))) = int8('-')
}
- sqlite3.Xsqlite3_snprintf(tls, (50 - j), (zDigest + uintptr(j)), ts+33837 /* "%05u" */, libc.VaList(bp, x))
+ sqlite3.Xsqlite3_snprintf(tls, (50 - j), (zDigest + uintptr(j)), ts+34699 /* "%05u" */, libc.VaList(bp, x))
j = j + (5)
}
*(*int8)(unsafe.Pointer(zDigest + uintptr(j))) = int8(0)
@@ -67125,8 +68938,8 @@ func md5_cmd(tls *libc.TLS, cd uintptr, interp uintptr, argc int32, argv uintptr
var converter uintptr
if argc != 2 {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+14631 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
- ts+14994 /* " TEXT\"" */, uintptr(0)))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15410 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
+ ts+15773 /* " TEXT\"" */, uintptr(0)))
return TCL_ERROR
}
MD5Init(tls, bp+48 /* &ctx */)
@@ -67155,8 +68968,8 @@ func md5file_cmd(tls *libc.TLS, cd uintptr, interp uintptr, argc int32, argv uin
// var zBuf [10240]int8 at bp+172, 10240
if (argc != 2) && (argc != 4) {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+14631 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
- ts+33842 /* " FILENAME [OFFSE..." */, uintptr(0)))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15410 /* "wrong # args: sh..." */, *(*uintptr)(unsafe.Pointer(argv)),
+ ts+34704 /* " FILENAME [OFFSE..." */, uintptr(0)))
return TCL_ERROR
}
if argc == 4 {
@@ -67166,10 +68979,10 @@ func md5file_cmd(tls *libc.TLS, cd uintptr, interp uintptr, argc int32, argv uin
ofst = 0
amt = 2147483647
}
- in = libc.Xfopen(tls, *(*uintptr)(unsafe.Pointer(argv + 1*8)), ts+4273 /* "rb" */)
+ in = libc.Xfopen(tls, *(*uintptr)(unsafe.Pointer(argv + 1*8)), ts+4263 /* "rb" */)
if in == uintptr(0) {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+32, ts+33866 /* "unable to open f..." */, *(*uintptr)(unsafe.Pointer(argv + 1*8)),
- ts+33888 /* "\" for reading" */, uintptr(0)))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+32, ts+34728 /* "unable to open f..." */, *(*uintptr)(unsafe.Pointer(argv + 1*8)),
+ ts+34750 /* "\" for reading" */, uintptr(0)))
return TCL_ERROR
}
libc.Xfseek(tls, in, int64(ofst), SEEK_SET)
@@ -67199,25 +69012,25 @@ func md5file_cmd(tls *libc.TLS, cd uintptr, interp uintptr, argc int32, argv uin
// Register the four new TCL commands for generating MD5 checksums
// with the TCL interpreter.
func Md5_Init(tls *libc.TLS, interp uintptr) int32 { /* test_md5.c:400:5: */
- tcl.XTcl_CreateCommand(tls, interp, ts+33902 /* "md5" */, *(*uintptr)(unsafe.Pointer(&struct {
+ tcl.XTcl_CreateCommand(tls, interp, ts+34764 /* "md5" */, *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32
}{md5_cmd})),
*(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, uintptr)
}{MD5DigestToBase16})), uintptr(0))
- tcl.XTcl_CreateCommand(tls, interp, ts+33906 /* "md5-10x8" */, *(*uintptr)(unsafe.Pointer(&struct {
+ tcl.XTcl_CreateCommand(tls, interp, ts+34768 /* "md5-10x8" */, *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32
}{md5_cmd})),
*(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, uintptr)
}{MD5DigestToBase10x8})), uintptr(0))
- tcl.XTcl_CreateCommand(tls, interp, ts+33915 /* "md5file" */, *(*uintptr)(unsafe.Pointer(&struct {
+ tcl.XTcl_CreateCommand(tls, interp, ts+34777 /* "md5file" */, *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32
}{md5file_cmd})),
*(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, uintptr)
}{MD5DigestToBase16})), uintptr(0))
- tcl.XTcl_CreateCommand(tls, interp, ts+33923 /* "md5file-10x8" */, *(*uintptr)(unsafe.Pointer(&struct {
+ tcl.XTcl_CreateCommand(tls, interp, ts+34785 /* "md5file-10x8" */, *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32
}{md5file_cmd})),
*(*uintptr)(unsafe.Pointer(&struct {
@@ -67265,11 +69078,11 @@ func md5finalize(tls *libc.TLS, context uintptr) { /* test_md5.c:432:13: */
}
func Md5_Register(tls *libc.TLS, db uintptr, pzErrMsg uintptr, pThunk uintptr) int32 { /* test_md5.c:441:5: */
- var rc int32 = sqlite3.Xsqlite3_create_function(tls, db, ts+33936 /* "md5sum" */, -1, SQLITE_UTF8, uintptr(0), uintptr(0),
+ var rc int32 = sqlite3.Xsqlite3_create_function(tls, db, ts+34798 /* "md5sum" */, -1, SQLITE_UTF8, uintptr(0), uintptr(0),
*(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, int32, uintptr)
}{md5step})), *(*uintptr)(unsafe.Pointer(&struct{ f func(*libc.TLS, uintptr) }{md5finalize})))
- sqlite3.Xsqlite3_overload_function(tls, db, ts+33936 /* "md5sum" */, -1) // To exercise this API
+ sqlite3.Xsqlite3_overload_function(tls, db, ts+34798 /* "md5sum" */, -1) // To exercise this API
return rc
}
@@ -67439,7 +69252,7 @@ func multiplexFilename(tls *libc.TLS, zBase uintptr, nBase int32, flags int32, i
var n int32 = nBase
libc.Xmemcpy(tls, zOut, zBase, (uint64(n + 1)))
if (iChunk != 0) && (iChunk <= MX_CHUNK_NUMBER) {
- sqlite3.Xsqlite3_snprintf(tls, 4, (zOut + uintptr(n)), ts+33943 /* "%03d" */, libc.VaList(bp, iChunk))
+ sqlite3.Xsqlite3_snprintf(tls, 4, (zOut + uintptr(n)), ts+34805 /* "%03d" */, libc.VaList(bp, iChunk))
n = n + (3)
}
@@ -67505,7 +69318,7 @@ func multiplexSubOpen(tls *libc.TLS, pGroup uintptr, iChunk int32, rc uintptr, p
SQLITE_ACCESS_EXISTS, bp+16 /* &bExists */)
if (*(*int32)(unsafe.Pointer(rc)) != 0) || !(*(*int32)(unsafe.Pointer(bp + 16 /* bExists */)) != 0) {
if *(*int32)(unsafe.Pointer(rc)) != 0 {
- sqlite3.Xsqlite3_log(tls, *(*int32)(unsafe.Pointer(rc)), ts+33948, /* "multiplexor.xAcc..." */
+ sqlite3.Xsqlite3_log(tls, *(*int32)(unsafe.Pointer(rc)), ts+34810, /* "multiplexor.xAcc..." */
libc.VaList(bp, (*multiplexReal)(unsafe.Pointer((*multiplexGroup)(unsafe.Pointer(pGroup)).FaReal+uintptr(iChunk)*16)).Fz))
}
return uintptr(0)
@@ -67521,7 +69334,7 @@ func multiplexSubOpen(tls *libc.TLS, pGroup uintptr, iChunk int32, rc uintptr, p
*(*int32)(unsafe.Pointer(rc)) = (*(*func(*libc.TLS, uintptr, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer((pOrigVfs + 40 /* &.xOpen */))))(tls, pOrigVfs, (*multiplexReal)(unsafe.Pointer((*multiplexGroup)(unsafe.Pointer(pGroup)).FaReal+uintptr(iChunk)*16)).Fz, pSubOpen,
flags, pOutFlags)
if (*(*int32)(unsafe.Pointer(rc))) != SQLITE_OK {
- sqlite3.Xsqlite3_log(tls, *(*int32)(unsafe.Pointer(rc)), ts+33982, /* "multiplexor.xOpe..." */
+ sqlite3.Xsqlite3_log(tls, *(*int32)(unsafe.Pointer(rc)), ts+34844, /* "multiplexor.xOpe..." */
libc.VaList(bp+8, (*multiplexReal)(unsafe.Pointer((*multiplexGroup)(unsafe.Pointer(pGroup)).FaReal+uintptr(iChunk)*16)).Fz))
sqlite3.Xsqlite3_free(tls, pSubOpen)
(*multiplexReal)(unsafe.Pointer((*multiplexGroup)(unsafe.Pointer(pGroup)).FaReal + uintptr(iChunk)*16)).Fp = uintptr(0)
@@ -67597,7 +69410,7 @@ func multiplexControlFunc(tls *libc.TLS, context uintptr, argc int32, argv uintp
// multiplex_control() function.
func multiplexFuncInit(tls *libc.TLS, db uintptr, pzErrMsg uintptr, pApi uintptr) int32 { /* test_multiplex.c:417:12: */
var rc int32
- rc = sqlite3.Xsqlite3_create_function(tls, db, ts+34014 /* "multiplex_contro..." */, 2, SQLITE_ANY,
+ rc = sqlite3.Xsqlite3_create_function(tls, db, ts+34876 /* "multiplex_contro..." */, 2, SQLITE_ANY,
uintptr(0), *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, int32, uintptr)
}{multiplexControlFunc})), uintptr(0), uintptr(0))
@@ -67682,9 +69495,9 @@ func multiplexOpen(tls *libc.TLS, pVfs uintptr, zName uintptr, pConn uintptr, fl
libc.Xmemset(tls, pGroup, 0, uint64(sz))
(*multiplexConn)(unsafe.Pointer(pMultiplexOpen)).FpGroup = pGroup
(*multiplexGroup)(unsafe.Pointer(pGroup)).FbEnabled = libc.Uint8(libc.Uint8FromInt32(-1))
- (*multiplexGroup)(unsafe.Pointer(pGroup)).FbTruncate = uint8(sqlite3.Xsqlite3_uri_boolean(tls, zUri, ts+17954, /* "truncate" */
+ (*multiplexGroup)(unsafe.Pointer(pGroup)).FbTruncate = uint8(sqlite3.Xsqlite3_uri_boolean(tls, zUri, ts+18743, /* "truncate" */
(libc.Bool32((flags & SQLITE_OPEN_MAIN_DB) == 0))))
- (*multiplexGroup)(unsafe.Pointer(pGroup)).FszChunk = uint32(int32(sqlite3.Xsqlite3_uri_int64(tls, zUri, ts+34032, /* "chunksize" */
+ (*multiplexGroup)(unsafe.Pointer(pGroup)).FszChunk = uint32(int32(sqlite3.Xsqlite3_uri_int64(tls, zUri, ts+34894, /* "chunksize" */
int64(SQLITE_MULTIPLEX_CHUNK_SIZE))))
(*multiplexGroup)(unsafe.Pointer(pGroup)).FszChunk = (((*multiplexGroup)(unsafe.Pointer(pGroup)).FszChunk + uint32(0xffff)) & libc.Uint32FromInt32(libc.CplInt32(0xffff)))
if zName != 0 {
@@ -68155,13 +69968,13 @@ func multiplexFileControl(tls *libc.TLS, pConn uintptr, op int32, pArg uintptr)
// second element of the array is the name of the pragma and the third
// element is the argument to the pragma or NULL if the pragma has no
// argument.
- if (*(*uintptr)(unsafe.Pointer(aFcntl + 1*8)) != 0) && (sqlite3.Xsqlite3_stricmp(tls, *(*uintptr)(unsafe.Pointer(aFcntl + 1*8)), ts+34042 /* "multiplex_trunca..." */) == 0) {
+ if (*(*uintptr)(unsafe.Pointer(aFcntl + 1*8)) != 0) && (sqlite3.Xsqlite3_stricmp(tls, *(*uintptr)(unsafe.Pointer(aFcntl + 1*8)), ts+34904 /* "multiplex_trunca..." */) == 0) {
if (*(*uintptr)(unsafe.Pointer(aFcntl + 2*8)) != 0) && (*(*int8)(unsafe.Pointer(*(*uintptr)(unsafe.Pointer(aFcntl + 2*8)))) != 0) {
- if (sqlite3.Xsqlite3_stricmp(tls, *(*uintptr)(unsafe.Pointer(aFcntl + 2*8)), ts+4049 /* "on" */) == 0) ||
- (sqlite3.Xsqlite3_stricmp(tls, *(*uintptr)(unsafe.Pointer(aFcntl + 2*8)), ts+28250 /* "1" */) == 0) {
+ if (sqlite3.Xsqlite3_stricmp(tls, *(*uintptr)(unsafe.Pointer(aFcntl + 2*8)), ts+4039 /* "on" */) == 0) ||
+ (sqlite3.Xsqlite3_stricmp(tls, *(*uintptr)(unsafe.Pointer(aFcntl + 2*8)), ts+29094 /* "1" */) == 0) {
(*multiplexGroup)(unsafe.Pointer(pGroup)).FbTruncate = uint8(1)
- } else if (sqlite3.Xsqlite3_stricmp(tls, *(*uintptr)(unsafe.Pointer(aFcntl + 2*8)), ts+4413 /* "off" */) == 0) ||
- (sqlite3.Xsqlite3_stricmp(tls, *(*uintptr)(unsafe.Pointer(aFcntl + 2*8)), ts+13875 /* "0" */) == 0) {
+ } else if (sqlite3.Xsqlite3_stricmp(tls, *(*uintptr)(unsafe.Pointer(aFcntl + 2*8)), ts+4403 /* "off" */) == 0) ||
+ (sqlite3.Xsqlite3_stricmp(tls, *(*uintptr)(unsafe.Pointer(aFcntl + 2*8)), ts+14654 /* "0" */) == 0) {
(*multiplexGroup)(unsafe.Pointer(pGroup)).FbTruncate = uint8(0)
}
}
@@ -68172,9 +69985,9 @@ func multiplexFileControl(tls *libc.TLS, pConn uintptr, op int32, pArg uintptr)
// or the error message if the pragma fails.
*(*uintptr)(unsafe.Pointer(aFcntl)) = sqlite3.Xsqlite3_mprintf(tls, func() uintptr {
if (*multiplexGroup)(unsafe.Pointer(pGroup)).FbTruncate != 0 {
- return ts + 4049 /* "on" */
+ return ts + 4039 /* "on" */
}
- return ts + 4413 /* "off" */
+ return ts + 4403 /* "off" */
}(), 0)
*(*int32)(unsafe.Pointer(bp + 8 /* rc */)) = SQLITE_OK
break
@@ -68189,7 +70002,7 @@ func multiplexFileControl(tls *libc.TLS, pConn uintptr, op int32, pArg uintptr)
if pSubOpen != 0 {
*(*int32)(unsafe.Pointer(bp + 8 /* rc */)) = (*(*func(*libc.TLS, uintptr, int32, uintptr) int32)(unsafe.Pointer(((*sqlite3_file)(unsafe.Pointer(pSubOpen)).FpMethods + 80 /* &.xFileControl */))))(tls, pSubOpen, op, pArg)
if (op == SQLITE_FCNTL_VFSNAME) && (*(*int32)(unsafe.Pointer(bp + 8 /* rc */)) == SQLITE_OK) {
- *(*uintptr)(unsafe.Pointer(pArg)) = sqlite3.Xsqlite3_mprintf(tls, ts+34061 /* "multiplex/%z" */, libc.VaList(bp, *(*uintptr)(unsafe.Pointer(pArg))))
+ *(*uintptr)(unsafe.Pointer(pArg)) = sqlite3.Xsqlite3_mprintf(tls, ts+34923 /* "multiplex/%z" */, libc.VaList(bp, *(*uintptr)(unsafe.Pointer(pArg))))
}
}
break
@@ -68311,7 +70124,7 @@ func sqlite3_multiplex_initialize(tls *libc.TLS, zOrigVfsName uintptr, makeDefau
gMultiplex.FpOrigVfs = pOrigVfs
gMultiplex.FsThisVfs = *(*sqlite3_vfs)(unsafe.Pointer(pOrigVfs))
*(*int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&gMultiplex)) + 8 /* &.sThisVfs */ + 4 /* &.szOsFile */)) += int32((uint64(unsafe.Sizeof(multiplexConn{}))))
- gMultiplex.FsThisVfs.FzName = ts + 34074 /* "multiplex" */
+ gMultiplex.FsThisVfs.FzName = ts + 34936 /* "multiplex" */
gMultiplex.FsThisVfs.FxOpen = *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, uintptr, uintptr, int32, uintptr) int32
}{multiplexOpen}))
@@ -68442,7 +70255,7 @@ func test_multiplex_initialize(tls *libc.TLS, clientData uintptr, interp uintptr
// Process arguments
if objc != 3 {
- tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+34084 /* "NAME MAKEDEFAULT" */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+34946 /* "NAME MAKEDEFAULT" */)
return TCL_ERROR
}
zName = tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 1*8)))
@@ -68466,11 +70279,11 @@ func test_multiplex_shutdown(tls *libc.TLS, clientData uintptr, interp uintptr,
_ = clientData
- if (objc == 2) && (libc.Xstrcmp(tls, tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 1*8))), ts+34101 /* "-force" */) != 0) {
+ if (objc == 2) && (libc.Xstrcmp(tls, tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 1*8))), ts+34963 /* "-force" */) != 0) {
objc = 3
}
if (objc != 1) && (objc != 2) {
- tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+34108 /* "?-force?" */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+34970 /* "?-force?" */)
return TCL_ERROR
}
@@ -68504,20 +70317,20 @@ func test_multiplex_control(tls *libc.TLS, cd ClientData, interp uintptr, objc i
Fop int32
Fargtype int32
}{
- {FzName: ts + 34117 /* "enable" */, Fop: MULTIPLEX_CTRL_ENABLE, Fargtype: 1},
- {FzName: ts + 34124 /* "chunk_size" */, Fop: MULTIPLEX_CTRL_SET_CHUNK_SIZE, Fargtype: 1},
- {FzName: ts + 34135 /* "max_chunks" */, Fop: MULTIPLEX_CTRL_SET_MAX_CHUNKS, Fargtype: 1},
+ {FzName: ts + 10608 /* "enable" */, Fop: MULTIPLEX_CTRL_ENABLE, Fargtype: 1},
+ {FzName: ts + 34979 /* "chunk_size" */, Fop: MULTIPLEX_CTRL_SET_CHUNK_SIZE, Fargtype: 1},
+ {FzName: ts + 34990 /* "max_chunks" */, Fop: MULTIPLEX_CTRL_SET_MAX_CHUNKS, Fargtype: 1},
{},
}
if objc != 5 {
- tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+34146 /* "HANDLE DBNAME SU..." */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+35001 /* "HANDLE DBNAME SU..." */)
return TCL_ERROR
}
if 0 == tcl.XTcl_GetCommandInfo(tls, interp, tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 1*8))), bp+40 /* &cmdInfo */) {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+34182 /* "expected databas..." */, 0))
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+16, tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 1*8))), ts+11636 /* "\"" */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+35037 /* "expected databas..." */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+16, tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 1*8))), ts+12415 /* "\"" */, 0))
return TCL_ERROR
} else {
db = *(*uintptr)(unsafe.Pointer((*Tcl_CmdInfo)(unsafe.Pointer(bp + 40 /* &cmdInfo */)).FobjClientData))
@@ -68581,9 +70394,9 @@ var aCmd7 = [3]struct {
FzName uintptr
FxProc uintptr
}{
- {FzName: ts + 34214 /* "sqlite3_multiple..." */, FxProc: 0},
- {FzName: ts + 34243 /* "sqlite3_multiple..." */, FxProc: 0},
- {FzName: ts + 34270 /* "sqlite3_multiple..." */, FxProc: 0},
+ {FzName: ts + 35069 /* "sqlite3_multiple..." */, FxProc: 0},
+ {FzName: ts + 35098 /* "sqlite3_multiple..." */, FxProc: 0},
+ {FzName: ts + 35125 /* "sqlite3_multiple..." */, FxProc: 0},
} /* test_multiplex.c:1310:5 */
// CAPI3REF: Standard File Control Opcodes
@@ -68906,6 +70719,23 @@ var aCmd7 = [3]struct {
// file to the database file, but before the *-shm file is updated to
// record the fact that the pages have been checkpointed.
//
+//
+// [[SQLITE_FCNTL_EXTERNAL_READER]]
+// The EXPERIMENTAL [SQLITE_FCNTL_EXTERNAL_READER] opcode is used to detect
+// whether or not there is a database client in another process with a wal-mode
+// transaction open on the database or not. It is only available on unix.The
+// (void*) argument passed with this file-control should be a pointer to a
+// value of type (int). The integer value is set to 1 if the database is a wal
+// mode database and there exists at least one client in another process that
+// currently has an SQL transaction open on the database. It is set to 0 if
+// the database is not a wal-mode db, or if there is no such connection in any
+// other process. This opcode cannot be used to detect transactions opened
+// by clients within the current process, only within other processes.
+//
+//
+// [[SQLITE_FCNTL_CKSM_FILE]]
+// Used by the cksmvfs VFS module only.
+//
// deprecated names
@@ -68917,13 +70747,13 @@ var aCmd7 = [3]struct {
// deals with pointers to the [sqlite3_mutex] object.
//
// Mutexes are created using [sqlite3_mutex_alloc()].
-type sqlite3_mutex = sqlite3_mutex1 /* sqlite3.h:1187:30 */
+type sqlite3_mutex = sqlite3_mutex1 /* sqlite3.h:1206:30 */
var aName = [15]uintptr{
- ts + 34296 /* "fast" */, ts + 34301 /* "recursive" */, ts + 34311 /* "static_main" */, ts + 34323, /* "static_mem" */
- ts + 34334 /* "static_open" */, ts + 34346 /* "static_prng" */, ts + 34358 /* "static_lru" */, ts + 34369, /* "static_pmem" */
- ts + 34381 /* "static_app1" */, ts + 34393 /* "static_app2" */, ts + 34405 /* "static_app3" */, ts + 34417, /* "static_vfs1" */
- ts + 34429 /* "static_vfs2" */, ts + 34441 /* "static_vfs3" */, uintptr(0),
+ ts + 35151 /* "fast" */, ts + 35156 /* "recursive" */, ts + 35166 /* "static_main" */, ts + 35178, /* "static_mem" */
+ ts + 35189 /* "static_open" */, ts + 35201 /* "static_prng" */, ts + 35213 /* "static_lru" */, ts + 35224, /* "static_pmem" */
+ ts + 35236 /* "static_app1" */, ts + 35248 /* "static_app2" */, ts + 35260 /* "static_app3" */, ts + 35272, /* "static_vfs1" */
+ ts + 35284 /* "static_vfs2" */, ts + 35296 /* "static_vfs3" */, uintptr(0),
} /* test_mutex.c:32:19 */
// State variables
@@ -69082,7 +70912,7 @@ func test_install_mutex_counters(tls *libc.TLS, clientData uintptr, interp uintp
}
if objc != 2 {
- tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+17888 /* "BOOLEAN" */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+18677 /* "BOOLEAN" */)
return TCL_ERROR
}
if TCL_OK != tcl.XTcl_GetBooleanFromObj(tls, interp, *(*uintptr)(unsafe.Pointer(objv + 1*8)), bp+56 /* &isInstall */) {
@@ -69090,12 +70920,12 @@ func test_install_mutex_counters(tls *libc.TLS, clientData uintptr, interp uintp
}
if *(*int32)(unsafe.Pointer(bp + 56 /* isInstall */)) == g3.FisInstalled {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+34453 /* "mutex counters a..." */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+35308 /* "mutex counters a..." */, 0))
tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+16, func() uintptr {
if *(*int32)(unsafe.Pointer(bp + 56 /* isInstall */)) != 0 {
- return ts + 34473 /* "already installe..." */
+ return ts + 35328 /* "already installe..." */
}
- return ts + 34491 /* "not installed" */
+ return ts + 35346 /* "not installed" */
}(), 0))
return TCL_ERROR
}
@@ -69174,7 +71004,7 @@ func test_alloc_mutex(tls *libc.TLS, clientData uintptr, interp uintptr, objc in
// var zBuf [100]int8 at bp+24, 100
sqlite3.Xsqlite3_mutex_free(tls, p)
- sqlite3.Xsqlite3_snprintf(tls, int32(unsafe.Sizeof([100]int8{})), bp+24 /* &zBuf[0] */, ts+13023 /* "%p" */, libc.VaList(bp, p))
+ sqlite3.Xsqlite3_snprintf(tls, int32(unsafe.Sizeof([100]int8{})), bp+24 /* &zBuf[0] */, ts+13802 /* "%p" */, libc.VaList(bp, p))
tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+8, bp+24 /* &zBuf[0] */, uintptr(0)))
return TCL_OK
}
@@ -69193,9 +71023,9 @@ func test_config(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32,
defer tls.Free(68)
*(*[4]ConfigOption)(unsafe.Pointer(bp /* aOpt */)) = [4]ConfigOption{
- {FzName: ts + 34505 /* "singlethread" */, FiValue: SQLITE_CONFIG_SINGLETHREAD},
- {FzName: ts + 34518 /* "multithread" */, FiValue: SQLITE_CONFIG_MULTITHREAD},
- {FzName: ts + 34530 /* "serialized" */, FiValue: SQLITE_CONFIG_SERIALIZED},
+ {FzName: ts + 35360 /* "singlethread" */, FiValue: SQLITE_CONFIG_SINGLETHREAD},
+ {FzName: ts + 35373 /* "multithread" */, FiValue: SQLITE_CONFIG_MULTITHREAD},
+ {FzName: ts + 35385 /* "serialized" */, FiValue: SQLITE_CONFIG_SERIALIZED},
{},
}
var s int32 = int32(unsafe.Sizeof(ConfigOption{}))
@@ -69208,7 +71038,7 @@ func test_config(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32,
return TCL_ERROR
}
- if tcl.XTcl_GetIndexFromObjStruct(tls, interp, *(*uintptr)(unsafe.Pointer(objv + 1*8)), bp /* &aOpt[0] */, s, ts+17196 /* "flag" */, 0, bp+64 /* &i */) != 0 {
+ if tcl.XTcl_GetIndexFromObjStruct(tls, interp, *(*uintptr)(unsafe.Pointer(objv + 1*8)), bp /* &aOpt[0] */, s, ts+17985 /* "flag" */, 0, bp+64 /* &i */) != 0 {
if tcl.XTcl_GetIntFromObj(tls, interp, *(*uintptr)(unsafe.Pointer(objv + 1*8)), bp+64 /* &i */) != 0 {
return TCL_ERROR
}
@@ -69250,7 +71080,7 @@ func getStaticMutexPointer(tls *libc.TLS, pInterp uintptr, pObj uintptr) uintptr
// var iMutex int32 at bp, 4
- if tcl.XTcl_GetIndexFromObjStruct(tls, pInterp, pObj, uintptr(unsafe.Pointer(&aName)), int32(unsafe.Sizeof(uintptr(0))), ts+34541 /* "mutex name" */, 0, bp /* &iMutex */) != 0 {
+ if tcl.XTcl_GetIndexFromObjStruct(tls, pInterp, pObj, uintptr(unsafe.Pointer(&aName)), int32(unsafe.Sizeof(uintptr(0))), ts+35396 /* "mutex name" */, 0, bp /* &iMutex */) != 0 {
return uintptr(0)
}
@@ -69260,7 +71090,7 @@ func getStaticMutexPointer(tls *libc.TLS, pInterp uintptr, pObj uintptr) uintptr
func test_enter_static_mutex(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* test_mutex.c:404:26: */
var pMutex uintptr
if objc != 2 {
- tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+10399 /* "NAME" */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+10397 /* "NAME" */)
return TCL_ERROR
}
pMutex = getStaticMutexPointer(tls, interp, *(*uintptr)(unsafe.Pointer(objv + 1*8)))
@@ -69274,7 +71104,7 @@ func test_enter_static_mutex(tls *libc.TLS, clientData uintptr, interp uintptr,
func test_leave_static_mutex(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* test_mutex.c:423:26: */
var pMutex uintptr
if objc != 2 {
- tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+10399 /* "NAME" */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+10397 /* "NAME" */)
return TCL_ERROR
}
pMutex = getStaticMutexPointer(tls, interp, *(*uintptr)(unsafe.Pointer(objv + 1*8)))
@@ -69322,9 +71152,9 @@ func Sqlitetest_mutex_Init(tls *libc.TLS, interp uintptr) int32 { /* test_mutex.
tcl.XTcl_CreateObjCommand(tls, interp, aCmd8[i].FzName, aCmd8[i].FxProc, uintptr(0), uintptr(0))
}
- tcl.XTcl_LinkVar(tls, interp, ts+34552, /* "disable_mutex_in..." */
+ tcl.XTcl_LinkVar(tls, interp, ts+35407, /* "disable_mutex_in..." */
(uintptr(unsafe.Pointer(&g3)) + 4 /* &.disableInit */), TCL_LINK_INT)
- tcl.XTcl_LinkVar(tls, interp, ts+34571, /* "disable_mutex_tr..." */
+ tcl.XTcl_LinkVar(tls, interp, ts+35426, /* "disable_mutex_tr..." */
(uintptr(unsafe.Pointer(&g3)) + 8 /* &.disableTry */), TCL_LINK_INT)
return SQLITE_OK
}
@@ -69333,20 +71163,20 @@ var aCmd8 = [11]struct {
FzName uintptr
FxProc uintptr
}{
- {FzName: ts + 34589 /* "sqlite3_shutdown" */, FxProc: 0},
- {FzName: ts + 34606 /* "sqlite3_initiali..." */, FxProc: 0},
- {FzName: ts + 34625 /* "sqlite3_config" */, FxProc: 0},
+ {FzName: ts + 35444 /* "sqlite3_shutdown" */, FxProc: 0},
+ {FzName: ts + 35461 /* "sqlite3_initiali..." */, FxProc: 0},
+ {FzName: ts + 35480 /* "sqlite3_config" */, FxProc: 0},
- {FzName: ts + 34640 /* "enter_static_mut..." */, FxProc: 0},
- {FzName: ts + 34659 /* "leave_static_mut..." */, FxProc: 0},
+ {FzName: ts + 35495 /* "enter_static_mut..." */, FxProc: 0},
+ {FzName: ts + 35514 /* "leave_static_mut..." */, FxProc: 0},
- {FzName: ts + 34678 /* "enter_db_mutex" */, FxProc: 0},
- {FzName: ts + 34693 /* "leave_db_mutex" */, FxProc: 0},
+ {FzName: ts + 35533 /* "enter_db_mutex" */, FxProc: 0},
+ {FzName: ts + 35548 /* "leave_db_mutex" */, FxProc: 0},
- {FzName: ts + 34708 /* "alloc_dealloc_mu..." */, FxProc: 0},
- {FzName: ts + 34728 /* "install_mutex_co..." */, FxProc: 0},
- {FzName: ts + 34751 /* "read_mutex_count..." */, FxProc: 0},
- {FzName: ts + 34771 /* "clear_mutex_coun..." */, FxProc: 0},
+ {FzName: ts + 35563 /* "alloc_dealloc_mu..." */, FxProc: 0},
+ {FzName: ts + 35583 /* "install_mutex_co..." */, FxProc: 0},
+ {FzName: ts + 35606 /* "read_mutex_count..." */, FxProc: 0},
+ {FzName: ts + 35626 /* "clear_mutex_coun..." */, FxProc: 0},
} /* test_mutex.c:484:5 */
// Maximum pathname length supported by the fs backend.
@@ -69399,7 +71229,7 @@ type fs_vfs_t = fs_vfs_t1 /* test_onefile.c:176:25 */
var fs_vfs = fs_vfs_t{
Fbase: sqlite3_vfs{
FiVersion: 1, // pNext
- FzName: ts + 30388, /* "fs" */ // pAppData
+ FzName: ts + 31250, /* "fs" */ // pAppData
FxOpen: 0, // xOpen
FxDelete: 0, // xDelete
FxAccess: 0, // xAccess
@@ -69850,7 +71680,7 @@ __8:
if !(*(*sqlite3_int64)(unsafe.Pointer(bp /* size */)) == int64(0)) {
goto __9
}
- rc = (*(*func(*libc.TLS, uintptr, uintptr, int32, sqlite3_int64) int32)(unsafe.Pointer(((*sqlite3_file)(unsafe.Pointer(pRealFile)).FpMethods + 24 /* &.xWrite */))))(tls, pRealFile, ts+34792 /* "\x00" */, 1, (int64(BLOBSIZE - 1)))
+ rc = (*(*func(*libc.TLS, uintptr, uintptr, int32, sqlite3_int64) int32)(unsafe.Pointer(((*sqlite3_file)(unsafe.Pointer(pRealFile)).FpMethods + 24 /* &.xWrite */))))(tls, pRealFile, ts+35647 /* "\x00" */, 1, (int64(BLOBSIZE - 1)))
(*fs_real_file)(unsafe.Pointer(pReal)).FnBlob = BLOBSIZE
goto __10
__9:
@@ -69929,7 +71759,7 @@ func fsDelete(tls *libc.TLS, pVfs uintptr, zPath uintptr, dirSync int32) int32 {
}
if pReal != 0 {
pF = (*fs_real_file)(unsafe.Pointer(pReal)).FpFile
- rc = (*(*func(*libc.TLS, uintptr, uintptr, int32, sqlite3_int64) int32)(unsafe.Pointer(((*sqlite3_file)(unsafe.Pointer(pF)).FpMethods + 24 /* &.xWrite */))))(tls, pF, ts+34794 /* "\x00\x00\x00\x00" */, 4, (int64((*fs_real_file)(unsafe.Pointer(pReal)).FnBlob - BLOCKSIZE)))
+ rc = (*(*func(*libc.TLS, uintptr, uintptr, int32, sqlite3_int64) int32)(unsafe.Pointer(((*sqlite3_file)(unsafe.Pointer(pF)).FpMethods + 24 /* &.xWrite */))))(tls, pF, ts+35649 /* "\x00\x00\x00\x00" */, 4, (int64((*fs_real_file)(unsafe.Pointer(pReal)).FnBlob - BLOCKSIZE)))
if rc == SQLITE_OK {
(*fs_real_file)(unsafe.Pointer(pReal)).FnJournal = 0
}
@@ -69950,7 +71780,7 @@ func fsAccess(tls *libc.TLS, pVfs uintptr, zPath uintptr, flags int32, pResOut u
return (*(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer((pParent + 56 /* &.xAccess */))))(tls, pParent, zPath, flags, pResOut)
}
- if (nName > 8) && (libc.Xstrcmp(tls, ts+32144 /* "-journal" */, (zPath+uintptr((nName-8)))) == 0) {
+ if (nName > 8) && (libc.Xstrcmp(tls, ts+33006 /* "-journal" */, (zPath+uintptr((nName-8)))) == 0) {
nName = nName - (8)
isJournal = 1
}
@@ -70039,7 +71869,7 @@ func SqlitetestOnefile_Init(tls *libc.TLS) int32 { /* test_onefile.c:830:7: */
return fs_register(tls)
}
-// Copyright (C) 1991-2018 Free Software Foundation, Inc.
+// Copyright (C) 1991-2020 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
@@ -70054,11 +71884,11 @@ func SqlitetestOnefile_Init(tls *libc.TLS) int32 { /* test_onefile.c:830:7: */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// ISO C99 Standard: 7.2 Diagnostics
-// Copyright (C) 1991-2018 Free Software Foundation, Inc.
+// Copyright (C) 1991-2020 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
@@ -70073,7 +71903,7 @@ func SqlitetestOnefile_Init(tls *libc.TLS) int32 { /* test_onefile.c:830:7: */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// void assert (int expression);
//
@@ -70100,7 +71930,7 @@ type VfslogVfs1 = struct {
_ [4]byte
} /* test_osinst.c:117:9 */
-// Copyright (C) 1991-2018 Free Software Foundation, Inc.
+// Copyright (C) 1991-2020 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
@@ -70115,11 +71945,11 @@ type VfslogVfs1 = struct {
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// ISO C99 Standard: 7.2 Diagnostics
-// Copyright (C) 1991-2018 Free Software Foundation, Inc.
+// Copyright (C) 1991-2020 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
@@ -70134,7 +71964,7 @@ type VfslogVfs1 = struct {
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// void assert (int expression);
//
@@ -70331,7 +72161,7 @@ func vfslogFileControl(tls *libc.TLS, pFile uintptr, op int32, pArg uintptr) int
var p uintptr = pFile
var rc int32 = (*(*func(*libc.TLS, uintptr, int32, uintptr) int32)(unsafe.Pointer(((*sqlite3_file)(unsafe.Pointer((*VfslogFile)(unsafe.Pointer(p)).FpReal)).FpMethods + 80 /* &.xFileControl */))))(tls, (*VfslogFile)(unsafe.Pointer(p)).FpReal, op, pArg)
if (op == SQLITE_FCNTL_VFSNAME) && (rc == SQLITE_OK) {
- *(*uintptr)(unsafe.Pointer(pArg)) = sqlite3.Xsqlite3_mprintf(tls, ts+34799 /* "vfslog/%z" */, libc.VaList(bp, *(*uintptr)(unsafe.Pointer(pArg))))
+ *(*uintptr)(unsafe.Pointer(pArg)) = sqlite3.Xsqlite3_mprintf(tls, ts+35654 /* "vfslog/%z" */, libc.VaList(bp, *(*uintptr)(unsafe.Pointer(pArg))))
}
return rc
}
@@ -70626,7 +72456,7 @@ func sqlite3_vfslog_new(tls *libc.TLS, zVfs uintptr, zParentVfs uintptr, zLog ui
(*(*func(*libc.TLS, uintptr, uintptr, int32) int32)(unsafe.Pointer((pParent + 48 /* &.xDelete */))))(tls, pParent, zFile, 0)
rc = (*(*func(*libc.TLS, uintptr, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer((pParent + 40 /* &.xOpen */))))(tls, pParent, zFile, (*VfslogVfs)(unsafe.Pointer(p)).FpLog, *(*int32)(unsafe.Pointer(bp /* flags */)), bp /* &flags */)
if rc == SQLITE_OK {
- libc.Xmemcpy(tls, p+204 /* &.aBuf */, ts+34809 /* "sqlite_ostrace1...." */, uint64(20))
+ libc.Xmemcpy(tls, p+204 /* &.aBuf */, ts+35664 /* "sqlite_ostrace1...." */, uint64(20))
(*VfslogVfs)(unsafe.Pointer(p)).FiOffset = int64(0)
(*VfslogVfs)(unsafe.Pointer(p)).FnBuf = 20
rc = sqlite3.Xsqlite3_vfs_register(tls, p, 1)
@@ -70655,78 +72485,78 @@ func vfslog_eventname(tls *libc.TLS, eEvent int32) uintptr { /* test_osinst.c:76
switch eEvent {
case OS_CLOSE:
- zEvent = ts + 34830 /* "xClose" */
+ zEvent = ts + 35685 /* "xClose" */
break
case OS_READ:
- zEvent = ts + 34837 /* "xRead" */
+ zEvent = ts + 35692 /* "xRead" */
break
case OS_WRITE:
- zEvent = ts + 34843 /* "xWrite" */
+ zEvent = ts + 35698 /* "xWrite" */
break
case OS_TRUNCATE:
- zEvent = ts + 34850 /* "xTruncate" */
+ zEvent = ts + 35705 /* "xTruncate" */
break
case OS_SYNC:
- zEvent = ts + 27316 /* "xSync" */
+ zEvent = ts + 28129 /* "xSync" */
break
case OS_FILESIZE:
- zEvent = ts + 34860 /* "xFilesize" */
+ zEvent = ts + 35715 /* "xFilesize" */
break
case OS_LOCK:
- zEvent = ts + 34870 /* "xLock" */
+ zEvent = ts + 35725 /* "xLock" */
break
case OS_UNLOCK:
- zEvent = ts + 34876 /* "xUnlock" */
+ zEvent = ts + 35731 /* "xUnlock" */
break
case OS_CHECKRESERVEDLOCK:
- zEvent = ts + 34884 /* "xCheckResLock" */
+ zEvent = ts + 35739 /* "xCheckResLock" */
break
case OS_FILECONTROL:
- zEvent = ts + 34898 /* "xFileControl" */
+ zEvent = ts + 35753 /* "xFileControl" */
break
case OS_SECTORSIZE:
- zEvent = ts + 34911 /* "xSectorSize" */
+ zEvent = ts + 35766 /* "xSectorSize" */
break
case OS_DEVCHAR:
- zEvent = ts + 34923 /* "xDeviceChar" */
+ zEvent = ts + 35778 /* "xDeviceChar" */
break
case OS_OPEN:
- zEvent = ts + 26888 /* "xOpen" */
+ zEvent = ts + 27701 /* "xOpen" */
break
case OS_DELETE:
- zEvent = ts + 34935 /* "xDelete" */
+ zEvent = ts + 35790 /* "xDelete" */
break
case OS_ACCESS:
- zEvent = ts + 34943 /* "xAccess" */
+ zEvent = ts + 35798 /* "xAccess" */
break
case OS_FULLPATHNAME:
- zEvent = ts + 34951 /* "xFullPathname" */
+ zEvent = ts + 35806 /* "xFullPathname" */
break
case OS_RANDOMNESS:
- zEvent = ts + 34965 /* "xRandomness" */
+ zEvent = ts + 35820 /* "xRandomness" */
break
case OS_SLEEP:
- zEvent = ts + 34977 /* "xSleep" */
+ zEvent = ts + 35832 /* "xSleep" */
break
case OS_CURRENTTIME:
- zEvent = ts + 34984 /* "xCurrentTime" */
+ zEvent = ts + 35839 /* "xCurrentTime" */
break
case OS_SHMUNMAP:
- zEvent = ts + 34997 /* "xShmUnmap" */
+ zEvent = ts + 35852 /* "xShmUnmap" */
break
case OS_SHMLOCK:
- zEvent = ts + 35007 /* "xShmLock" */
+ zEvent = ts + 35862 /* "xShmLock" */
break
case OS_SHMBARRIER:
- zEvent = ts + 35016 /* "xShmBarrier" */
+ zEvent = ts + 35871 /* "xShmBarrier" */
break
case OS_SHMMAP:
- zEvent = ts + 35028 /* "xShmMap" */
+ zEvent = ts + 35883 /* "xShmMap" */
break
case OS_ANNOTATE:
- zEvent = ts + 35036 /* "annotation" */
+ zEvent = ts + 35891 /* "annotation" */
break
}
@@ -70825,7 +72655,7 @@ func vlogConnect(tls *libc.TLS, db uintptr, pAux uintptr, argc int32, argv uintp
if rc == SQLITE_OK {
(*(*func(*libc.TLS, uintptr, uintptr) int32)(unsafe.Pointer(((*sqlite3_file)(unsafe.Pointer((*VfslogVtab)(unsafe.Pointer(p)).FpFd)).FpMethods + 48 /* &.xFileSize */))))(tls, (*VfslogVtab)(unsafe.Pointer(p)).FpFd, (p + 32 /* &.nByte */))
sqlite3.Xsqlite3_declare_vtab(tls, db,
- ts+35047 /* "CREATE TABLE xxx..." */)
+ ts+35902 /* "CREATE TABLE xxx..." */)
*(*uintptr)(unsafe.Pointer(ppVtab)) = (p /* &.base */)
} else {
sqlite3.Xsqlite3_free(tls, p)
@@ -70985,7 +72815,7 @@ func vlogRowid(tls *libc.TLS, pCursor uintptr, pRowid uintptr) int32 { /* test_o
func sqlite3_vfslog_register(tls *libc.TLS, db uintptr) int32 { /* test_osinst.c:1071:5: */
- sqlite3.Xsqlite3_create_module(tls, db, ts+35102 /* "vfslog" */, uintptr(unsafe.Pointer(&vfslog_module)), uintptr(0))
+ sqlite3.Xsqlite3_create_module(tls, db, ts+35957 /* "vfslog" */, uintptr(unsafe.Pointer(&vfslog_module)), uintptr(0))
return SQLITE_OK
}
@@ -71023,7 +72853,7 @@ func test_vfslog(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32,
// var iSub int32 at bp+72, 4
if objc < 2 {
- tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+32318 /* "SUB-COMMAND ..." */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+33180 /* "SUB-COMMAND ..." */)
return TCL_ERROR
}
if tcl.XTcl_GetIndexFromObjStruct(tls, interp, *(*uintptr)(unsafe.Pointer(objv + 1*8)), uintptr(unsafe.Pointer(&strs)), int32(unsafe.Sizeof(uintptr(0))), ts+1875 /* "sub-command" */, 0, bp+72 /* &iSub */) != 0 {
@@ -71036,14 +72866,14 @@ func test_vfslog(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32,
var zVfs uintptr
var zMsg uintptr
if objc != 4 {
- tcl.XTcl_WrongNumArgs(tls, interp, 3, objv, ts+35109 /* "VFS" */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 3, objv, ts+35964 /* "VFS" */)
return TCL_ERROR
}
zVfs = tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 2*8)))
zMsg = tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 3*8)))
rc = sqlite3_vfslog_annotate(tls, zVfs, zMsg)
if rc != SQLITE_OK {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+35113 /* "failed" */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+35968 /* "failed" */, 0))
return TCL_ERROR
}
break
@@ -71053,13 +72883,13 @@ func test_vfslog(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32,
{
var zVfs uintptr
if objc != 3 {
- tcl.XTcl_WrongNumArgs(tls, interp, 2, objv, ts+35109 /* "VFS" */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 2, objv, ts+35964 /* "VFS" */)
return TCL_ERROR
}
zVfs = tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 2*8)))
rc = sqlite3_vfslog_finalize(tls, zVfs)
if rc != SQLITE_OK {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+16, ts+35113 /* "failed" */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+16, ts+35968 /* "failed" */, 0))
return TCL_ERROR
}
break
@@ -71072,7 +72902,7 @@ func test_vfslog(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32,
var zParent uintptr
var zLog uintptr
if objc != 5 {
- tcl.XTcl_WrongNumArgs(tls, interp, 2, objv, ts+35120 /* "VFS PARENT LOGFI..." */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 2, objv, ts+35975 /* "VFS PARENT LOGFI..." */)
return TCL_ERROR
}
zVfs = tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 2*8)))
@@ -71083,7 +72913,7 @@ func test_vfslog(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32,
}
rc = sqlite3_vfslog_new(tls, zVfs, zParent, zLog)
if rc != SQLITE_OK {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+32, ts+35113 /* "failed" */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+32, ts+35968 /* "failed" */, 0))
return TCL_ERROR
}
break
@@ -71103,7 +72933,7 @@ func test_vfslog(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32,
rc = sqlite3_vfslog_register(tls, db)
}
if rc != SQLITE_OK {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+48, ts+35139 /* "bad sqlite3 hand..." */, zDb, uintptr(0)))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+48, ts+35994 /* "bad sqlite3 hand..." */, zDb, uintptr(0)))
return TCL_ERROR
}
break
@@ -71114,16 +72944,16 @@ func test_vfslog(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32,
return TCL_OK
}
-var strs = [5]uintptr{ts + 35160 /* "annotate" */, ts + 35169 /* "finalize" */, ts + 13691 /* "new" */, ts + 35178 /* "register" */, uintptr(0)} /* test_osinst.c:1127:21 */
+var strs = [5]uintptr{ts + 36015 /* "annotate" */, ts + 36024 /* "finalize" */, ts + 14470 /* "new" */, ts + 36033 /* "register" */, uintptr(0)} /* test_osinst.c:1127:21 */
func SqlitetestOsinst_Init(tls *libc.TLS, interp uintptr) int32 { /* test_osinst.c:1219:5: */
- tcl.XTcl_CreateObjCommand(tls, interp, ts+35102 /* "vfslog" */, *(*uintptr)(unsafe.Pointer(&struct {
+ tcl.XTcl_CreateObjCommand(tls, interp, ts+35957 /* "vfslog" */, *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32
}{test_vfslog})), uintptr(0), uintptr(0))
return TCL_OK
}
-// Copyright (C) 1991-2018 Free Software Foundation, Inc.
+// Copyright (C) 1991-2020 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
@@ -71138,11 +72968,11 @@ func SqlitetestOsinst_Init(tls *libc.TLS, interp uintptr) int32 { /* test_osinst
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// ISO C99 Standard: 7.2 Diagnostics
-// Copyright (C) 1991-2018 Free Software Foundation, Inc.
+// Copyright (C) 1991-2020 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
@@ -71157,7 +72987,7 @@ func SqlitetestOsinst_Init(tls *libc.TLS, interp uintptr) int32 { /* test_osinst
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// void assert (int expression);
//
@@ -71181,7 +73011,7 @@ type testpcacheGlobalType1 = struct {
FhighStress uint32
} /* test_pcache.c:33:9 */
-// Copyright (C) 1991-2018 Free Software Foundation, Inc.
+// Copyright (C) 1991-2020 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
@@ -71196,11 +73026,11 @@ type testpcacheGlobalType1 = struct {
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// ISO C99 Standard: 7.2 Diagnostics
-// Copyright (C) 1991-2018 Free Software Foundation, Inc.
+// Copyright (C) 1991-2020 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
@@ -71215,7 +73045,7 @@ type testpcacheGlobalType1 = struct {
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// void assert (int expression);
//
@@ -71655,6 +73485,25 @@ type quota_FILE = quota_FILE1 /* test_quota.h:145:27 */
// Define some macros helping to catch buffer overflows.
+// System-specific extensions.
+// System-specific extensions of , Linux version.
+// Copyright (C) 2019-2020 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
+// .
+
//*********************** Object Definitions *****************************
// Forward declaration of all object types
@@ -71672,6 +73521,25 @@ type quotaGroup1 = struct {
// Define some macros helping to catch buffer overflows.
+// System-specific extensions.
+// System-specific extensions of , Linux version.
+// Copyright (C) 2019-2020 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
+// .
+
//*********************** Object Definitions *****************************
// Forward declaration of all object types
@@ -72161,7 +74029,7 @@ func quotaFileControl(tls *libc.TLS, pConn uintptr, op int32, pArg uintptr) int3
var pSubOpen uintptr = quotaSubOpen(tls, pConn)
var rc int32 = (*(*func(*libc.TLS, uintptr, int32, uintptr) int32)(unsafe.Pointer(((*sqlite3_file)(unsafe.Pointer(pSubOpen)).FpMethods + 80 /* &.xFileControl */))))(tls, pSubOpen, op, pArg)
if (op == SQLITE_FCNTL_VFSNAME) && (rc == SQLITE_OK) {
- *(*uintptr)(unsafe.Pointer(pArg)) = sqlite3.Xsqlite3_mprintf(tls, ts+35187 /* "quota/%z" */, libc.VaList(bp, *(*uintptr)(unsafe.Pointer(pArg))))
+ *(*uintptr)(unsafe.Pointer(pArg)) = sqlite3.Xsqlite3_mprintf(tls, ts+36042 /* "quota/%z" */, libc.VaList(bp, *(*uintptr)(unsafe.Pointer(pArg))))
}
return rc
}
@@ -72236,7 +74104,7 @@ func sqlite3_quota_initialize(tls *libc.TLS, zOrigVfsName uintptr, makeDefault i
f func(*libc.TLS, uintptr, uintptr, int32) int32
}{quotaDelete}))
*(*int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&gQuota)) + 8 /* &.sThisVfs */ + 4 /* &.szOsFile */)) += int32((uint64(unsafe.Sizeof(quotaConn{}))))
- gQuota.FsThisVfs.FzName = ts + 35196 /* "quota" */
+ gQuota.FsThisVfs.FzName = ts + 36051 /* "quota" */
gQuota.FsIoMethodsV1.FiVersion = 1
gQuota.FsIoMethodsV1.FxClose = *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr) int32
@@ -72810,7 +74678,7 @@ func tclQuotaCallback(tls *libc.TLS, zFilename uintptr, piLimit uintptr, iSize s
return
}
- pVarname = tcl.XTcl_NewStringObj(tls, ts+35202 /* "::piLimit_" */, -1)
+ pVarname = tcl.XTcl_NewStringObj(tls, ts+36057 /* "::piLimit_" */, -1)
(*Tcl_Obj)(unsafe.Pointer(pVarname)).FrefCount++
sqlite3.Xsqlite3_randomness(tls, int32(unsafe.Sizeof(uint32(0))), bp /* &rnd */)
tcl.XTcl_AppendObjToObj(tls, pVarname, tcl.XTcl_NewIntObj(tls, (int32(*(*uint32)(unsafe.Pointer(bp /* rnd */))&uint32(0x7FFFFFFF)))))
@@ -72875,7 +74743,7 @@ func test_quota_initialize(tls *libc.TLS, clientData uintptr, interp uintptr, ob
// Process arguments
if objc != 3 {
- tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+34084 /* "NAME MAKEDEFAULT" */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+34946 /* "NAME MAKEDEFAULT" */)
return TCL_ERROR
}
zName = tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 1*8)))
@@ -72927,7 +74795,7 @@ func test_quota_set(tls *libc.TLS, clientData uintptr, interp uintptr, objc int3
// Process arguments
if objc != 4 {
- tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+35213 /* "PATTERN LIMIT SC..." */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+36068 /* "PATTERN LIMIT SC..." */)
return TCL_ERROR
}
zPattern = tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 1*8)))
@@ -72941,7 +74809,7 @@ func test_quota_set(tls *libc.TLS, clientData uintptr, interp uintptr, objc int3
// Allocate a TclQuotaCallback object
p = sqlite3.Xsqlite3_malloc(tls, int32(unsafe.Sizeof(TclQuotaCallback{})))
if !(p != 0) {
- tcl.XTcl_SetResult(tls, interp, ts+32082 /* "SQLITE_NOMEM" */, uintptr(0))
+ tcl.XTcl_SetResult(tls, interp, ts+32944 /* "SQLITE_NOMEM" */, uintptr(0))
return TCL_OK
}
libc.Xmemset(tls, p, 0, uint64(unsafe.Sizeof(TclQuotaCallback{})))
@@ -72972,7 +74840,7 @@ func test_quota_file(tls *libc.TLS, clientData uintptr, interp uintptr, objc int
// Process arguments
if objc != 2 {
- tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+32266 /* "FILENAME" */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+33128 /* "FILENAME" */)
return TCL_ERROR
}
zFilename = tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 1*8)))
@@ -73046,13 +74914,13 @@ func test_quota_fopen(tls *libc.TLS, clientData uintptr, interp uintptr, objc in
// Process arguments
if objc != 3 {
- tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+35234 /* "FILENAME MODE" */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+36089 /* "FILENAME MODE" */)
return TCL_ERROR
}
zFilename = tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 1*8)))
zMode = tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 2*8)))
p = sqlite3_quota_fopen(tls, zFilename, zMode)
- sqlite3.Xsqlite3_snprintf(tls, int32(unsafe.Sizeof([50]int8{})), bp+8 /* &zReturn[0] */, ts+13023 /* "%p" */, libc.VaList(bp, p))
+ sqlite3.Xsqlite3_snprintf(tls, int32(unsafe.Sizeof([50]int8{})), bp+8 /* &zReturn[0] */, ts+13802 /* "%p" */, libc.VaList(bp, p))
tcl.XTcl_SetResult(tls, interp, bp+8 /* &zReturn[0] */, uintptr(1))
return TCL_OK
}
@@ -73071,7 +74939,7 @@ func test_quota_fread(tls *libc.TLS, clientData uintptr, interp uintptr, objc in
var got size_t
if objc != 4 {
- tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+35248 /* "HANDLE SIZE NELE..." */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+36103 /* "HANDLE SIZE NELE..." */)
return TCL_ERROR
}
p = sqlite3TestTextToPtr(tls, tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 1*8))))
@@ -73107,7 +74975,7 @@ func test_quota_fwrite(tls *libc.TLS, clientData uintptr, interp uintptr, objc i
var got size_t
if objc != 5 {
- tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+35266 /* "HANDLE SIZE NELE..." */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+36121 /* "HANDLE SIZE NELE..." */)
return TCL_ERROR
}
p = sqlite3TestTextToPtr(tls, tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 1*8))))
@@ -73129,7 +74997,7 @@ func test_quota_fclose(tls *libc.TLS, clientData uintptr, interp uintptr, objc i
var rc int32
if objc != 2 {
- tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+28011 /* "HANDLE" */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+28855 /* "HANDLE" */)
return TCL_ERROR
}
p = sqlite3TestTextToPtr(tls, tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 1*8))))
@@ -73148,7 +75016,7 @@ func test_quota_fflush(tls *libc.TLS, clientData uintptr, interp uintptr, objc i
*(*int32)(unsafe.Pointer(bp /* doSync */)) = 0
if (objc != 2) && (objc != 3) {
- tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+35292 /* "HANDLE ?HARDSYNC..." */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+36147 /* "HANDLE ?HARDSYNC..." */)
return TCL_ERROR
}
p = sqlite3TestTextToPtr(tls, tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 1*8))))
@@ -73175,7 +75043,7 @@ func test_quota_fseek(tls *libc.TLS, clientData uintptr, interp uintptr, objc in
var rc int32
if objc != 4 {
- tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+35310 /* "HANDLE OFFSET WH..." */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+36165 /* "HANDLE OFFSET WH..." */)
return TCL_ERROR
}
p = sqlite3TestTextToPtr(tls, tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 1*8))))
@@ -73183,15 +75051,15 @@ func test_quota_fseek(tls *libc.TLS, clientData uintptr, interp uintptr, objc in
return TCL_ERROR
}
zWhence = tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 3*8)))
- if libc.Xstrcmp(tls, zWhence, ts+35331 /* "SEEK_SET" */) == 0 {
+ if libc.Xstrcmp(tls, zWhence, ts+36186 /* "SEEK_SET" */) == 0 {
whence = SEEK_SET
- } else if libc.Xstrcmp(tls, zWhence, ts+35340 /* "SEEK_CUR" */) == 0 {
+ } else if libc.Xstrcmp(tls, zWhence, ts+36195 /* "SEEK_CUR" */) == 0 {
whence = SEEK_CUR
- } else if libc.Xstrcmp(tls, zWhence, ts+35349 /* "SEEK_END" */) == 0 {
+ } else if libc.Xstrcmp(tls, zWhence, ts+36204 /* "SEEK_END" */) == 0 {
whence = SEEK_END
} else {
tcl.XTcl_AppendResult(tls, interp,
- libc.VaList(bp, ts+35358 /* "WHENCE should be..." */, uintptr(0)))
+ libc.VaList(bp, ts+36213 /* "WHENCE should be..." */, uintptr(0)))
return TCL_ERROR
}
rc = sqlite3_quota_fseek(tls, p, int64(*(*int32)(unsafe.Pointer(bp + 16 /* ofst */))), whence)
@@ -73203,7 +75071,7 @@ func test_quota_fseek(tls *libc.TLS, clientData uintptr, interp uintptr, objc in
func test_quota_rewind(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32, objv uintptr) int32 { /* test_quota.c:1718:26: */
var p uintptr
if objc != 2 {
- tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+28011 /* "HANDLE" */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+28855 /* "HANDLE" */)
return TCL_ERROR
}
p = sqlite3TestTextToPtr(tls, tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 1*8))))
@@ -73216,7 +75084,7 @@ func test_quota_ftell(tls *libc.TLS, clientData uintptr, interp uintptr, objc in
var p uintptr
var x sqlite3_int64
if objc != 2 {
- tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+28011 /* "HANDLE" */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+28855 /* "HANDLE" */)
return TCL_ERROR
}
p = sqlite3TestTextToPtr(tls, tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 1*8))))
@@ -73236,7 +75104,7 @@ func test_quota_ftruncate(tls *libc.TLS, clientData uintptr, interp uintptr, obj
var rc int32
if objc != 3 {
- tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+35407 /* "HANDLE SIZE" */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+36262 /* "HANDLE SIZE" */)
return TCL_ERROR
}
p = sqlite3TestTextToPtr(tls, tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 1*8))))
@@ -73254,7 +75122,7 @@ func test_quota_file_size(tls *libc.TLS, clientData uintptr, interp uintptr, obj
var p uintptr
var x sqlite3_int64
if objc != 2 {
- tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+28011 /* "HANDLE" */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+28855 /* "HANDLE" */)
return TCL_ERROR
}
p = sqlite3TestTextToPtr(tls, tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 1*8))))
@@ -73268,7 +75136,7 @@ func test_quota_file_truesize(tls *libc.TLS, clientData uintptr, interp uintptr,
var p uintptr
var x sqlite3_int64
if objc != 2 {
- tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+28011 /* "HANDLE" */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+28855 /* "HANDLE" */)
return TCL_ERROR
}
p = sqlite3TestTextToPtr(tls, tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 1*8))))
@@ -73286,7 +75154,7 @@ func test_quota_file_mtime(tls *libc.TLS, clientData uintptr, interp uintptr, ob
// var t time_t at bp, 8
if objc != 2 {
- tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+28011 /* "HANDLE" */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+28855 /* "HANDLE" */)
return TCL_ERROR
}
p = sqlite3TestTextToPtr(tls, tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 1*8))))
@@ -73301,7 +75169,7 @@ func test_quota_remove(tls *libc.TLS, clientData uintptr, interp uintptr, objc i
var zFilename uintptr // File pattern to configure
var rc int32
if objc != 2 {
- tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+32266 /* "FILENAME" */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+33128 /* "FILENAME" */)
return TCL_ERROR
}
zFilename = tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 1*8)))
@@ -73319,7 +75187,7 @@ func test_quota_glob(tls *libc.TLS, clientData uintptr, interp uintptr, objc int
var zText uintptr // Text to compare agains the pattern
var rc int32
if objc != 3 {
- tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+35419 /* "PATTERN TEXT" */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+36274 /* "PATTERN TEXT" */)
return TCL_ERROR
}
zPattern = tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 1*8)))
@@ -73337,7 +75205,7 @@ func test_quota_file_available(tls *libc.TLS, clientData uintptr, interp uintptr
var p uintptr
var x sqlite3_int64
if objc != 2 {
- tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+28011 /* "HANDLE" */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+28855 /* "HANDLE" */)
return TCL_ERROR
}
p = sqlite3TestTextToPtr(tls, tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 1*8))))
@@ -73353,7 +75221,7 @@ func test_quota_ferror(tls *libc.TLS, clientData uintptr, interp uintptr, objc i
var p uintptr
var x int32
if objc != 2 {
- tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+28011 /* "HANDLE" */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+28855 /* "HANDLE" */)
return TCL_ERROR
}
p = sqlite3TestTextToPtr(tls, tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 1*8))))
@@ -73382,27 +75250,27 @@ var aCmd9 = [21]struct {
FzName uintptr
FxProc uintptr
}{
- {FzName: ts + 35432 /* "sqlite3_quota_in..." */, FxProc: 0},
- {FzName: ts + 35457 /* "sqlite3_quota_sh..." */, FxProc: 0},
- {FzName: ts + 35480 /* "sqlite3_quota_se..." */, FxProc: 0},
- {FzName: ts + 35498 /* "sqlite3_quota_fi..." */, FxProc: 0},
- {FzName: ts + 35517 /* "sqlite3_quota_du..." */, FxProc: 0},
- {FzName: ts + 35536 /* "sqlite3_quota_fo..." */, FxProc: 0},
- {FzName: ts + 35556 /* "sqlite3_quota_fr..." */, FxProc: 0},
- {FzName: ts + 35576 /* "sqlite3_quota_fw..." */, FxProc: 0},
- {FzName: ts + 35597 /* "sqlite3_quota_fc..." */, FxProc: 0},
- {FzName: ts + 35618 /* "sqlite3_quota_ff..." */, FxProc: 0},
- {FzName: ts + 35639 /* "sqlite3_quota_fs..." */, FxProc: 0},
- {FzName: ts + 35659 /* "sqlite3_quota_re..." */, FxProc: 0},
- {FzName: ts + 35680 /* "sqlite3_quota_ft..." */, FxProc: 0},
- {FzName: ts + 35700 /* "sqlite3_quota_ft..." */, FxProc: 0},
- {FzName: ts + 35724 /* "sqlite3_quota_fi..." */, FxProc: 0},
- {FzName: ts + 35748 /* "sqlite3_quota_fi..." */, FxProc: 0},
- {FzName: ts + 35776 /* "sqlite3_quota_fi..." */, FxProc: 0},
- {FzName: ts + 35801 /* "sqlite3_quota_re..." */, FxProc: 0},
- {FzName: ts + 35822 /* "sqlite3_quota_gl..." */, FxProc: 0},
- {FzName: ts + 35841 /* "sqlite3_quota_fi..." */, FxProc: 0},
- {FzName: ts + 35870 /* "sqlite3_quota_fe..." */, FxProc: 0},
+ {FzName: ts + 36287 /* "sqlite3_quota_in..." */, FxProc: 0},
+ {FzName: ts + 36312 /* "sqlite3_quota_sh..." */, FxProc: 0},
+ {FzName: ts + 36335 /* "sqlite3_quota_se..." */, FxProc: 0},
+ {FzName: ts + 36353 /* "sqlite3_quota_fi..." */, FxProc: 0},
+ {FzName: ts + 36372 /* "sqlite3_quota_du..." */, FxProc: 0},
+ {FzName: ts + 36391 /* "sqlite3_quota_fo..." */, FxProc: 0},
+ {FzName: ts + 36411 /* "sqlite3_quota_fr..." */, FxProc: 0},
+ {FzName: ts + 36431 /* "sqlite3_quota_fw..." */, FxProc: 0},
+ {FzName: ts + 36452 /* "sqlite3_quota_fc..." */, FxProc: 0},
+ {FzName: ts + 36473 /* "sqlite3_quota_ff..." */, FxProc: 0},
+ {FzName: ts + 36494 /* "sqlite3_quota_fs..." */, FxProc: 0},
+ {FzName: ts + 36514 /* "sqlite3_quota_re..." */, FxProc: 0},
+ {FzName: ts + 36535 /* "sqlite3_quota_ft..." */, FxProc: 0},
+ {FzName: ts + 36555 /* "sqlite3_quota_ft..." */, FxProc: 0},
+ {FzName: ts + 36579 /* "sqlite3_quota_fi..." */, FxProc: 0},
+ {FzName: ts + 36603 /* "sqlite3_quota_fi..." */, FxProc: 0},
+ {FzName: ts + 36631 /* "sqlite3_quota_fi..." */, FxProc: 0},
+ {FzName: ts + 36656 /* "sqlite3_quota_re..." */, FxProc: 0},
+ {FzName: ts + 36677 /* "sqlite3_quota_gl..." */, FxProc: 0},
+ {FzName: ts + 36696 /* "sqlite3_quota_fi..." */, FxProc: 0},
+ {FzName: ts + 36725 /* "sqlite3_quota_fe..." */, FxProc: 0},
} /* test_quota.c:1948:5 */
// Type used to cache parameter information for the "circle" r-tree geometry
@@ -73784,7 +75652,7 @@ func bfs_query_func(tls *libc.TLS, p uintptr) int32 { /* test_rtree.c:329:12: */
//
//
-// Copyright (C) 1991-2018 Free Software Foundation, Inc.
+// Copyright (C) 1991-2020 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
@@ -73799,11 +75667,11 @@ func bfs_query_func(tls *libc.TLS, p uintptr) int32 { /* test_rtree.c:329:12: */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// ISO C99 Standard: 7.2 Diagnostics
-// Copyright (C) 1991-2018 Free Software Foundation, Inc.
+// Copyright (C) 1991-2020 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
@@ -73818,7 +75686,7 @@ func bfs_query_func(tls *libc.TLS, p uintptr) int32 { /* test_rtree.c:329:12: */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// void assert (int expression);
//
@@ -73864,7 +75732,7 @@ type Cube1 = struct {
//
//
-// Copyright (C) 1991-2018 Free Software Foundation, Inc.
+// Copyright (C) 1991-2020 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
@@ -73879,11 +75747,11 @@ type Cube1 = struct {
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// ISO C99 Standard: 7.2 Diagnostics
-// Copyright (C) 1991-2018 Free Software Foundation, Inc.
+// Copyright (C) 1991-2020 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
@@ -73898,7 +75766,7 @@ type Cube1 = struct {
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// void assert (int expression);
//
@@ -74000,7 +75868,7 @@ func register_cube_geom(tls *libc.TLS, clientData uintptr, interp uintptr, objc
if getDbPointer(tls, interp, tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 1*8))), bp /* &db */) != 0 {
return TCL_ERROR
}
- rc = sqlite3.Xsqlite3_rtree_geometry_callback(tls, *(*uintptr)(unsafe.Pointer(bp /* db */)), ts+35891 /* "cube" */, *(*uintptr)(unsafe.Pointer(&struct {
+ rc = sqlite3.Xsqlite3_rtree_geometry_callback(tls, *(*uintptr)(unsafe.Pointer(bp /* db */)), ts+36746 /* "cube" */, *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, int32, uintptr, uintptr) int32
}{cube_geom})), uintptr(unsafe.Pointer(&gHere)))
tcl.XTcl_SetResult(tls, interp, sqlite3.Xsqlite3ErrName(tls, rc), uintptr(0))
@@ -74022,17 +75890,17 @@ func register_circle_geom(tls *libc.TLS, clientData uintptr, interp uintptr, obj
if getDbPointer(tls, interp, tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 1*8))), bp /* &db */) != 0 {
return TCL_ERROR
}
- rc = sqlite3.Xsqlite3_rtree_geometry_callback(tls, *(*uintptr)(unsafe.Pointer(bp /* db */)), ts+35896 /* "circle" */, *(*uintptr)(unsafe.Pointer(&struct {
+ rc = sqlite3.Xsqlite3_rtree_geometry_callback(tls, *(*uintptr)(unsafe.Pointer(bp /* db */)), ts+36751 /* "circle" */, *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, int32, uintptr, uintptr) int32
}{circle_geom})), uintptr(0))
if rc == SQLITE_OK {
- rc = sqlite3.Xsqlite3_rtree_query_callback(tls, *(*uintptr)(unsafe.Pointer(bp /* db */)), ts+35903, /* "Qcircle" */
+ rc = sqlite3.Xsqlite3_rtree_query_callback(tls, *(*uintptr)(unsafe.Pointer(bp /* db */)), ts+36758, /* "Qcircle" */
*(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr) int32
}{circle_query_func})), uintptr(0), uintptr(0))
}
if rc == SQLITE_OK {
- rc = sqlite3.Xsqlite3_rtree_query_callback(tls, *(*uintptr)(unsafe.Pointer(bp /* db */)), ts+35911, /* "breadthfirstsear..." */
+ rc = sqlite3.Xsqlite3_rtree_query_callback(tls, *(*uintptr)(unsafe.Pointer(bp /* db */)), ts+36766, /* "breadthfirstsear..." */
*(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr) int32
}{bfs_query_func})), uintptr(0), uintptr(0))
@@ -74042,10 +75910,10 @@ func register_circle_geom(tls *libc.TLS, clientData uintptr, interp uintptr, obj
}
func Sqlitetestrtree_Init(tls *libc.TLS, interp uintptr) int32 { /* test_rtree.c:507:5: */
- tcl.XTcl_CreateObjCommand(tls, interp, ts+35930 /* "register_cube_ge..." */, *(*uintptr)(unsafe.Pointer(&struct {
+ tcl.XTcl_CreateObjCommand(tls, interp, ts+36785 /* "register_cube_ge..." */, *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32
}{register_cube_geom})), uintptr(0), uintptr(0))
- tcl.XTcl_CreateObjCommand(tls, interp, ts+35949 /* "register_circle_..." */, *(*uintptr)(unsafe.Pointer(&struct {
+ tcl.XTcl_CreateObjCommand(tls, interp, ts+36804 /* "register_circle_..." */, *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32
}{register_circle_geom})), uintptr(0), uintptr(0))
return TCL_OK
@@ -74065,7 +75933,7 @@ type fd_set5 = struct{ Ffds_bits [16]int64 } /* select.h:70:5 */
// fill-column: 78
// End:
-// Copyright (C) 1991-2018 Free Software Foundation, Inc.
+// Copyright (C) 1991-2020 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
@@ -74080,11 +75948,11 @@ type fd_set5 = struct{ Ffds_bits [16]int64 } /* select.h:70:5 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// ISO C99 Standard: 7.20 General utilities
-// Copyright (C) 1991-2018 Free Software Foundation, Inc.
+// Copyright (C) 1991-2020 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
@@ -74099,11 +75967,11 @@ type fd_set5 = struct{ Ffds_bits [16]int64 } /* select.h:70:5 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// ISO C99 Standard: 7.21 String handling
-// Copyright (C) 1991-2018 Free Software Foundation, Inc.
+// Copyright (C) 1991-2020 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
@@ -74118,11 +75986,11 @@ type fd_set5 = struct{ Ffds_bits [16]int64 } /* select.h:70:5 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// ISO C99 Standard: 7.2 Diagnostics
-// Copyright (C) 1991-2018 Free Software Foundation, Inc.
+// Copyright (C) 1991-2020 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
@@ -74137,7 +76005,7 @@ type fd_set5 = struct{ Ffds_bits [16]int64 } /* select.h:70:5 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// void assert (int expression);
//
@@ -74163,7 +76031,7 @@ type schema_vtab1 = struct {
// fill-column: 78
// End:
-// Copyright (C) 1991-2018 Free Software Foundation, Inc.
+// Copyright (C) 1991-2020 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
@@ -74178,11 +76046,11 @@ type schema_vtab1 = struct {
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// ISO C99 Standard: 7.20 General utilities
-// Copyright (C) 1991-2018 Free Software Foundation, Inc.
+// Copyright (C) 1991-2020 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
@@ -74197,11 +76065,11 @@ type schema_vtab1 = struct {
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// ISO C99 Standard: 7.21 String handling
-// Copyright (C) 1991-2018 Free Software Foundation, Inc.
+// Copyright (C) 1991-2020 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
@@ -74216,11 +76084,11 @@ type schema_vtab1 = struct {
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// ISO C99 Standard: 7.2 Diagnostics
-// Copyright (C) 1991-2018 Free Software Foundation, Inc.
+// Copyright (C) 1991-2020 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
@@ -74235,7 +76103,7 @@ type schema_vtab1 = struct {
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// void assert (int expression);
//
@@ -74275,7 +76143,7 @@ func schemaCreate(tls *libc.TLS, db uintptr, pAux uintptr, argc int32, argv uint
if pVtab != 0 {
libc.Xmemset(tls, pVtab, 0, uint64(unsafe.Sizeof(schema_vtab{})))
(*schema_vtab)(unsafe.Pointer(pVtab)).Fdb = db
- rc = sqlite3.Xsqlite3_declare_vtab(tls, db /* Name of database (i.e. main, temp etc.) */ /* Name of table */ /* Column number (from left-to-right, 0 upward) */ /* Column name */ /* Specified type (i.e. VARCHAR(32)) */ /* Boolean. True if NOT NULL was specified */ /* Default value for this column */ /* True if this column is part of the primary key */, ts+35970 /* "CREATE TABLE x(d..." */)
+ rc = sqlite3.Xsqlite3_declare_vtab(tls, db /* Name of database (i.e. main, temp etc.) */ /* Name of table */ /* Column number (from left-to-right, 0 upward) */ /* Column name */ /* Specified type (i.e. VARCHAR(32)) */ /* Boolean. True if NOT NULL was specified */ /* Default value for this column */ /* True if this column is part of the primary key */, ts+36825 /* "CREATE TABLE x(d..." */)
}
*(*uintptr)(unsafe.Pointer(ppVtab)) = pVtab
return rc
@@ -74399,12 +76267,12 @@ __8:
goto __9
}
zSql = sqlite3.Xsqlite3_mprintf(tls,
- ts+36042 /* "SELECT name FROM..." */, 0)
+ ts+36897 /* "SELECT name FROM..." */, 0)
goto __10
__9:
pDbList = (*schema_cursor)(unsafe.Pointer(pCur)).FpDbList
zSql = sqlite3.Xsqlite3_mprintf(tls,
- ts+36097, /* "SELECT name FROM..." */
+ ts+36952, /* "SELECT name FROM..." */
libc.VaList(bp, sqlite3.Xsqlite3_column_text(tls, pDbList, 1)))
__10:
;
@@ -74431,7 +76299,7 @@ __5:
// Set zSql to the SQL to the table_info pragma for the table currently
// identified by the rows pointed to by statements pCur->pDbList and
// pCur->pTableList.
- zSql = sqlite3.Xsqlite3_mprintf(tls, ts+36150, /* "PRAGMA %Q.table_..." */
+ zSql = sqlite3.Xsqlite3_mprintf(tls, ts+37005, /* "PRAGMA %Q.table_..." */
libc.VaList(bp+8, sqlite3.Xsqlite3_column_text(tls, (*schema_cursor)(unsafe.Pointer(pCur)).FpDbList, 1),
sqlite3.Xsqlite3_column_text(tls, (*schema_cursor)(unsafe.Pointer(pCur)).FpTableList, 0)))
@@ -74469,7 +76337,7 @@ func schemaFilter(tls *libc.TLS, pVtabCursor uintptr, idxNum int32, idxStr uintp
finalize(tls, (pCur + 16 /* &.pTableList */))
finalize(tls, (pCur + 24 /* &.pColumnList */))
finalize(tls, (pCur + 8 /* &.pDbList */))
- rc = sqlite3.Xsqlite3_prepare(tls, (*schema_vtab)(unsafe.Pointer(pVtab)).Fdb, ts+36175 /* "PRAGMA database_..." */, -1, (pCur + 8 /* &.pDbList */), uintptr(0))
+ rc = sqlite3.Xsqlite3_prepare(tls, (*schema_vtab)(unsafe.Pointer(pVtab)).Fdb, ts+37030 /* "PRAGMA database_..." */, -1, (pCur + 8 /* &.pDbList */), uintptr(0))
return func() int32 {
if rc == SQLITE_OK {
return schemaNext(tls, pVtabCursor)
@@ -74514,7 +76382,7 @@ func register_schema_module(tls *libc.TLS, clientData ClientData, interp uintptr
if getDbPointer(tls, interp, tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 1*8))), bp /* &db */) != 0 {
return TCL_ERROR
}
- sqlite3.Xsqlite3_create_module(tls, *(*uintptr)(unsafe.Pointer(bp /* db */)), ts+4679 /* "schema" */, uintptr(unsafe.Pointer(&schemaModule)), uintptr(0))
+ sqlite3.Xsqlite3_create_module(tls, *(*uintptr)(unsafe.Pointer(bp /* db */)), ts+4669 /* "schema" */, uintptr(unsafe.Pointer(&schemaModule)), uintptr(0))
return TCL_OK
}
@@ -74537,7 +76405,7 @@ var aObjCmd12 = [1]struct {
FxProc uintptr
FclientData uintptr
}{
- {FzName: ts + 36196 /* "register_schema_..." */, FxProc: 0},
+ {FzName: ts + 37051 /* "register_schema_..." */, FxProc: 0},
} /* test_schema.c:335:5 */
// 2001-09-15
@@ -74997,7 +76865,7 @@ func sqlite3_server_stop(tls *libc.TLS) { /* test_server.c:508:6: */
libc2.Xpthread_mutex_unlock(tls, (uintptr(unsafe.Pointer(&g4)) + 40 /* &.serverMutex */))
}
-// Copyright (C) 1991-2018 Free Software Foundation, Inc.
+// Copyright (C) 1991-2020 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
@@ -75012,11 +76880,11 @@ func sqlite3_server_stop(tls *libc.TLS) { /* test_server.c:508:6: */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// ISO C99 Standard: 7.2 Diagnostics
-// Copyright (C) 1991-2018 Free Software Foundation, Inc.
+// Copyright (C) 1991-2020 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
@@ -75031,7 +76899,7 @@ func sqlite3_server_stop(tls *libc.TLS) { /* test_server.c:508:6: */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// void assert (int expression);
//
@@ -75092,7 +76960,7 @@ func superlockIsWal(tls *libc.TLS, pLock uintptr) int32 { /* test_superlock.c:67
// var pStmt uintptr at bp, 8
// Compiled PRAGMA journal_mode statement
- rc = sqlite3.Xsqlite3_prepare(tls, (*Superlock)(unsafe.Pointer(pLock)).Fdb, ts+36219 /* "PRAGMA main.jour..." */, -1, bp /* &pStmt */, uintptr(0))
+ rc = sqlite3.Xsqlite3_prepare(tls, (*Superlock)(unsafe.Pointer(pLock)).Fdb, ts+37074 /* "PRAGMA main.jour..." */, -1, bp /* &pStmt */, uintptr(0))
if rc != SQLITE_OK {
return rc
}
@@ -75100,7 +76968,7 @@ func superlockIsWal(tls *libc.TLS, pLock uintptr) int32 { /* test_superlock.c:67
(*Superlock)(unsafe.Pointer(pLock)).FbWal = 0
if SQLITE_ROW == sqlite3.Xsqlite3_step(tls, *(*uintptr)(unsafe.Pointer(bp /* pStmt */))) {
var zMode uintptr = sqlite3.Xsqlite3_column_text(tls, *(*uintptr)(unsafe.Pointer(bp /* pStmt */)), 0)
- if ((zMode != 0) && (libc.Xstrlen(tls, zMode) == uint64(3))) && (sqlite3.Xsqlite3_strnicmp(tls, ts+29279 /* "wal" */, zMode, 3) == 0) {
+ if ((zMode != 0) && (libc.Xstrlen(tls, zMode) == uint64(3))) && (sqlite3.Xsqlite3_strnicmp(tls, ts+30141 /* "wal" */, zMode, 3) == 0) {
(*Superlock)(unsafe.Pointer(pLock)).FbWal = 1
}
}
@@ -75234,7 +77102,7 @@ func sqlite3demo_superlock(tls *libc.TLS, zPath uintptr, zVfs uintptr, xBusy uin
sqlite3.Xsqlite3_busy_handler(tls, (*Superlock)(unsafe.Pointer(pLock)).Fdb, *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, int32) int32
}{superlockBusyHandler})), bp /* &busy */)
- rc = sqlite3.Xsqlite3_exec(tls, (*Superlock)(unsafe.Pointer(pLock)).Fdb, ts+12908 /* "BEGIN EXCLUSIVE" */, uintptr(0), uintptr(0), uintptr(0))
+ rc = sqlite3.Xsqlite3_exec(tls, (*Superlock)(unsafe.Pointer(pLock)).Fdb, ts+13687 /* "BEGIN EXCLUSIVE" */, uintptr(0), uintptr(0), uintptr(0))
}
// If the BEGIN EXCLUSIVE was executed successfully and this is a WAL
@@ -75247,7 +77115,7 @@ func sqlite3demo_superlock(tls *libc.TLS, zPath uintptr, zVfs uintptr, xBusy uin
// new WAL locks may conflict with the old.
if rc == SQLITE_OK {
if (SQLITE_OK == (libc.AssignInt32(&rc, superlockIsWal(tls, pLock)))) && ((*Superlock)(unsafe.Pointer(pLock)).FbWal != 0) {
- rc = sqlite3.Xsqlite3_exec(tls, (*Superlock)(unsafe.Pointer(pLock)).Fdb, ts+11312 /* "COMMIT" */, uintptr(0), uintptr(0), uintptr(0))
+ rc = sqlite3.Xsqlite3_exec(tls, (*Superlock)(unsafe.Pointer(pLock)).Fdb, ts+12098 /* "COMMIT" */, uintptr(0), uintptr(0), uintptr(0))
if rc == SQLITE_OK {
rc = superlockWalLock(tls, (*Superlock)(unsafe.Pointer(pLock)).Fdb, bp /* &busy */)
}
@@ -75330,7 +77198,7 @@ func superlock_cmd(tls *libc.TLS, cd ClientData, interp uintptr, objc int32, obj
if (objc < 3) || (objc > 5) {
tcl.XTcl_WrongNumArgs(tls,
- interp, 1, objv, ts+36244 /* "CMDNAME PATH ?VF..." */)
+ interp, 1, objv, ts+37099 /* "CMDNAME PATH ?VF..." */)
return TCL_ERROR
}
@@ -75367,14 +77235,14 @@ func superlock_cmd(tls *libc.TLS, cd ClientData, interp uintptr, objc int32, obj
}
func SqliteSuperlock_Init(tls *libc.TLS, interp uintptr) int32 { /* test_superlock.c:359:5: */
- tcl.XTcl_CreateObjCommand(tls, interp, ts+36285 /* "sqlite3demo_supe..." */, *(*uintptr)(unsafe.Pointer(&struct {
+ tcl.XTcl_CreateObjCommand(tls, interp, ts+37140 /* "sqlite3demo_supe..." */, *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, ClientData, uintptr, int32, uintptr) int32
}{superlock_cmd})), uintptr(0), uintptr(0))
return TCL_OK
}
// Define error_t.
-// Copyright (C) 1991-2018 Free Software Foundation, Inc.
+// Copyright (C) 1991-2020 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
@@ -75389,7 +77257,7 @@ func SqliteSuperlock_Init(tls *libc.TLS, interp uintptr) int32 { /* test_superlo
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
type error_t = int32 /* error_t.h:22:13 */
@@ -75412,24 +77280,24 @@ type TestSyscallArray = struct {
} /* test_syscall.c:127:1 */
var aSyscall = [19]TestSyscallArray{
- /* 0 */ {FzName: ts + 36307 /* "open" */, FxTest: 0, Fdefault_errno: EACCES},
- /* 1 */ {FzName: ts + 10127 /* "close" */, FxTest: 0},
- /* 2 */ {FzName: ts + 36312 /* "access" */, FxTest: 0},
- /* 3 */ {FzName: ts + 36319 /* "getcwd" */, FxTest: 0},
- /* 4 */ {FzName: ts + 36326 /* "stat" */, FxTest: 0},
- /* 5 */ {FzName: ts + 36331 /* "fstat" */, FxTest: 0},
- /* 6 */ {FzName: ts + 36337 /* "ftruncate" */, FxTest: 0, Fdefault_errno: EIO},
- /* 7 */ {FzName: ts + 36347 /* "fcntl" */, FxTest: 0, Fdefault_errno: EACCES},
- /* 8 */ {FzName: ts + 24593 /* "read" */, FxTest: 0},
- /* 9 */ {FzName: ts + 36353 /* "pread" */, FxTest: 0},
- /* 10 */ {FzName: ts + 36359 /* "pread64" */, FxTest: 0},
- /* 11 */ {FzName: ts + 24598 /* "write" */, FxTest: 0},
- /* 12 */ {FzName: ts + 36367 /* "pwrite" */, FxTest: 0},
- /* 13 */ {FzName: ts + 36374 /* "pwrite64" */, FxTest: 0},
- /* 14 */ {FzName: ts + 36383 /* "fchmod" */, FxTest: 0},
- /* 15 */ {FzName: ts + 36390 /* "fallocate" */, FxTest: 0},
- /* 16 */ {FzName: ts + 28374 /* "mmap" */, FxTest: 0},
- /* 17 */ {FzName: ts + 36400 /* "mremap" */, FxTest: 0},
+ /* 0 */ {FzName: ts + 37162 /* "open" */, FxTest: 0, Fdefault_errno: EACCES},
+ /* 1 */ {FzName: ts + 10125 /* "close" */, FxTest: 0},
+ /* 2 */ {FzName: ts + 37167 /* "access" */, FxTest: 0},
+ /* 3 */ {FzName: ts + 37174 /* "getcwd" */, FxTest: 0},
+ /* 4 */ {FzName: ts + 37181 /* "stat" */, FxTest: 0},
+ /* 5 */ {FzName: ts + 37186 /* "fstat" */, FxTest: 0},
+ /* 6 */ {FzName: ts + 37192 /* "ftruncate" */, FxTest: 0, Fdefault_errno: EIO},
+ /* 7 */ {FzName: ts + 37202 /* "fcntl" */, FxTest: 0, Fdefault_errno: EACCES},
+ /* 8 */ {FzName: ts + 25406 /* "read" */, FxTest: 0},
+ /* 9 */ {FzName: ts + 37208 /* "pread" */, FxTest: 0},
+ /* 10 */ {FzName: ts + 37214 /* "pread64" */, FxTest: 0},
+ /* 11 */ {FzName: ts + 25411 /* "write" */, FxTest: 0},
+ /* 12 */ {FzName: ts + 37222 /* "pwrite" */, FxTest: 0},
+ /* 13 */ {FzName: ts + 37229 /* "pwrite64" */, FxTest: 0},
+ /* 14 */ {FzName: ts + 37238 /* "fchmod" */, FxTest: 0},
+ /* 15 */ {FzName: ts + 37245 /* "fallocate" */, FxTest: 0},
+ /* 16 */ {FzName: ts + 29235 /* "mmap" */, FxTest: 0},
+ /* 17 */ {FzName: ts + 37255 /* "mremap" */, FxTest: 0},
{},
} /* test_syscall.c:133:3 */
@@ -75481,7 +77349,7 @@ func tsIsFailErrno(tls *libc.TLS, zFunc uintptr) int32 { /* test_syscall.c:215:1
// A wrapper around open().
func ts_open(tls *libc.TLS, zFile uintptr, flags int32, mode int32) int32 { /* test_syscall.c:226:12: */
- if tsIsFailErrno(tls, ts+36307 /* "open" */) != 0 {
+ if tsIsFailErrno(tls, ts+37162 /* "open" */) != 0 {
return -1
}
return (*(*func(*libc.TLS, uintptr, int32, int32) int32)(unsafe.Pointer((uintptr(unsafe.Pointer(&aSyscall)) + 16 /* &.xOrig */))))(tls, zFile, flags, mode)
@@ -75527,7 +77395,7 @@ func ts_stat(tls *libc.TLS, zPath uintptr, p uintptr) int32 { /* test_syscall.c:
// A wrapper around fstat().
func ts_fstat(tls *libc.TLS, fd int32, p uintptr) int32 { /* test_syscall.c:282:12: */
- if tsIsFailErrno(tls, ts+36331 /* "fstat" */) != 0 {
+ if tsIsFailErrno(tls, ts+37186 /* "fstat" */) != 0 {
return -1
}
return (*(*func(*libc.TLS, int32, uintptr) int32)(unsafe.Pointer((uintptr(unsafe.Pointer(&aSyscall)) + 5*32 + 16 /* &.xOrig */))))(tls, fd, p)
@@ -75535,7 +77403,7 @@ func ts_fstat(tls *libc.TLS, fd int32, p uintptr) int32 { /* test_syscall.c:282:
// A wrapper around ftruncate().
func ts_ftruncate(tls *libc.TLS, fd int32, n off_t) int32 { /* test_syscall.c:292:12: */
- if tsIsFailErrno(tls, ts+36337 /* "ftruncate" */) != 0 {
+ if tsIsFailErrno(tls, ts+37192 /* "ftruncate" */) != 0 {
return -1
}
return (*(*func(*libc.TLS, int32, off_t) int32)(unsafe.Pointer((uintptr(unsafe.Pointer(&aSyscall)) + 6*32 + 16 /* &.xOrig */))))(tls, fd, n)
@@ -75549,7 +77417,7 @@ func ts_fcntl(tls *libc.TLS, fd int32, cmd int32, va uintptr) int32 { /* test_sy
var ap va_list
_ = ap
var pArg uintptr
- if tsIsFailErrno(tls, ts+36347 /* "fcntl" */) != 0 {
+ if tsIsFailErrno(tls, ts+37202 /* "fcntl" */) != 0 {
return -1
}
ap = va
@@ -75559,7 +77427,7 @@ func ts_fcntl(tls *libc.TLS, fd int32, cmd int32, va uintptr) int32 { /* test_sy
// A wrapper around read().
func ts_read(tls *libc.TLS, fd int32, aBuf uintptr, nBuf size_t) int32 { /* test_syscall.c:316:12: */
- if tsIsFailErrno(tls, ts+24593 /* "read" */) != 0 {
+ if tsIsFailErrno(tls, ts+25406 /* "read" */) != 0 {
return -1
}
return int32((*(*func(*libc.TLS, int32, uintptr, size_t) ssize_t)(unsafe.Pointer((uintptr(unsafe.Pointer(&aSyscall)) + 8*32 + 16 /* &.xOrig */))))(tls, fd, aBuf, nBuf))
@@ -75567,7 +77435,7 @@ func ts_read(tls *libc.TLS, fd int32, aBuf uintptr, nBuf size_t) int32 { /* test
// A wrapper around pread().
func ts_pread(tls *libc.TLS, fd int32, aBuf uintptr, nBuf size_t, off off_t) int32 { /* test_syscall.c:326:12: */
- if tsIsFailErrno(tls, ts+36353 /* "pread" */) != 0 {
+ if tsIsFailErrno(tls, ts+37208 /* "pread" */) != 0 {
return -1
}
return int32((*(*func(*libc.TLS, int32, uintptr, size_t, off_t) ssize_t)(unsafe.Pointer((uintptr(unsafe.Pointer(&aSyscall)) + 9*32 + 16 /* &.xOrig */))))(tls, fd, aBuf, nBuf, off))
@@ -75575,7 +77443,7 @@ func ts_pread(tls *libc.TLS, fd int32, aBuf uintptr, nBuf size_t, off off_t) int
// A wrapper around pread64().
func ts_pread64(tls *libc.TLS, fd int32, aBuf uintptr, nBuf size_t, off sqlite3_uint64) int32 { /* test_syscall.c:336:12: */
- if tsIsFailErrno(tls, ts+36359 /* "pread64" */) != 0 {
+ if tsIsFailErrno(tls, ts+37214 /* "pread64" */) != 0 {
return -1
}
return int32((*(*func(*libc.TLS, int32, uintptr, size_t, sqlite3_uint64) ssize_t)(unsafe.Pointer((uintptr(unsafe.Pointer(&aSyscall)) + 10*32 + 16 /* &.xOrig */))))(tls, fd, aBuf, nBuf, off))
@@ -75583,8 +77451,8 @@ func ts_pread64(tls *libc.TLS, fd int32, aBuf uintptr, nBuf size_t, off sqlite3_
// A wrapper around write().
func ts_write(tls *libc.TLS, fd int32, aBuf uintptr, nBuf size_t) int32 { /* test_syscall.c:346:12: */
- if tsIsFailErrno(tls, ts+24598 /* "write" */) != 0 {
- if tsErrno(tls, ts+24598 /* "write" */) == EINTR {
+ if tsIsFailErrno(tls, ts+25411 /* "write" */) != 0 {
+ if tsErrno(tls, ts+25411 /* "write" */) == EINTR {
(*(*func(*libc.TLS, int32, uintptr, size_t) ssize_t)(unsafe.Pointer((uintptr(unsafe.Pointer(&aSyscall)) + 11*32 + 16 /* &.xOrig */))))(tls, fd, aBuf, (nBuf / uint64(2)))
}
return -1
@@ -75594,7 +77462,7 @@ func ts_write(tls *libc.TLS, fd int32, aBuf uintptr, nBuf size_t) int32 { /* tes
// A wrapper around pwrite().
func ts_pwrite(tls *libc.TLS, fd int32, aBuf uintptr, nBuf size_t, off off_t) int32 { /* test_syscall.c:357:12: */
- if tsIsFailErrno(tls, ts+36367 /* "pwrite" */) != 0 {
+ if tsIsFailErrno(tls, ts+37222 /* "pwrite" */) != 0 {
return -1
}
return int32((*(*func(*libc.TLS, int32, uintptr, size_t, off_t) ssize_t)(unsafe.Pointer((uintptr(unsafe.Pointer(&aSyscall)) + 12*32 + 16 /* &.xOrig */))))(tls, fd, aBuf, nBuf, off))
@@ -75602,7 +77470,7 @@ func ts_pwrite(tls *libc.TLS, fd int32, aBuf uintptr, nBuf size_t, off off_t) in
// A wrapper around pwrite64().
func ts_pwrite64(tls *libc.TLS, fd int32, aBuf uintptr, nBuf size_t, off sqlite3_uint64) int32 { /* test_syscall.c:367:12: */
- if tsIsFailErrno(tls, ts+36374 /* "pwrite64" */) != 0 {
+ if tsIsFailErrno(tls, ts+37229 /* "pwrite64" */) != 0 {
return -1
}
return int32((*(*func(*libc.TLS, int32, uintptr, size_t, sqlite3_uint64) ssize_t)(unsafe.Pointer((uintptr(unsafe.Pointer(&aSyscall)) + 13*32 + 16 /* &.xOrig */))))(tls, fd, aBuf, nBuf, off))
@@ -75625,13 +77493,13 @@ func ts_fchmod(tls *libc.TLS, fd int32, mode mode_t) int32 { /* test_syscall.c:3
// failure. Note that errno is not set.
func ts_fallocate(tls *libc.TLS, fd int32, off off_t, len off_t) int32 { /* test_syscall.c:393:12: */
if tsIsFail(tls) != 0 {
- return tsErrno(tls, ts+36390 /* "fallocate" */)
+ return tsErrno(tls, ts+37245 /* "fallocate" */)
}
return (*(*func(*libc.TLS, int32, off_t, off_t) int32)(unsafe.Pointer((uintptr(unsafe.Pointer(&aSyscall)) + 15*32 + 16 /* &.xOrig */))))(tls, fd, off, len)
}
func ts_mmap(tls *libc.TLS, pAddr uintptr, nByte size_t, prot int32, flags int32, fd int32, iOff off_t) uintptr { /* test_syscall.c:400:13: */
- if tsIsFailErrno(tls, ts+28374 /* "mmap" */) != 0 {
+ if tsIsFailErrno(tls, ts+29235 /* "mmap" */) != 0 {
return libc.UintptrFromInt32(-1)
}
return (*(*func(*libc.TLS, uintptr, size_t, int32, int32, int32, off_t) uintptr)(unsafe.Pointer((uintptr(unsafe.Pointer(&aSyscall)) + 16*32 + 16 /* &.xOrig */))))(tls, pAddr, nByte, prot, flags, fd, iOff)
@@ -75644,7 +77512,7 @@ func ts_mremap(tls *libc.TLS, a uintptr, b size_t, c size_t, d int32, va uintptr
var ap va_list
_ = ap
var pArg uintptr
- if tsIsFailErrno(tls, ts+36400 /* "mremap" */) != 0 {
+ if tsIsFailErrno(tls, ts+37255 /* "mremap" */) != 0 {
return libc.UintptrFromInt32(-1)
}
ap = va
@@ -75663,7 +77531,7 @@ func test_syscall_install(tls *libc.TLS, clientData uintptr, interp uintptr, obj
// var apElem uintptr at bp+8, 8
if objc != 3 {
- tcl.XTcl_WrongNumArgs(tls, interp, 2, objv, ts+36407 /* "SYSCALL-LIST" */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 2, objv, ts+37262 /* "SYSCALL-LIST" */)
return TCL_ERROR
}
if tcl.XTcl_ListObjGetElements(tls, interp, *(*uintptr)(unsafe.Pointer(objv + 2*8)), bp /* &nElem */, bp+8 /* &apElem */) != 0 {
@@ -75675,7 +77543,7 @@ func test_syscall_install(tls *libc.TLS, clientData uintptr, interp uintptr, obj
// var iCall int32 at bp+16, 4
var rc int32 = tcl.XTcl_GetIndexFromObjStruct(tls, interp,
- *(*uintptr)(unsafe.Pointer(*(*uintptr)(unsafe.Pointer(bp + 8 /* apElem */)) + uintptr(i)*8)), uintptr(unsafe.Pointer(&aSyscall)), int32(unsafe.Sizeof(TestSyscallArray{})), ts+36420 /* "system-call" */, 0, bp+16 /* &iCall */)
+ *(*uintptr)(unsafe.Pointer(*(*uintptr)(unsafe.Pointer(bp + 8 /* apElem */)) + uintptr(i)*8)), uintptr(unsafe.Pointer(&aSyscall)), int32(unsafe.Sizeof(TestSyscallArray{})), ts+37275 /* "system-call" */, 0, bp+16 /* &iCall */)
if rc != 0 {
return rc
}
@@ -75775,7 +77643,7 @@ func test_syscall_fault(tls *libc.TLS, clientData uintptr, interp uintptr, objc
*(*int32)(unsafe.Pointer(bp + 4 /* bPersist */)) = 0
if (objc != 2) && (objc != 4) {
- tcl.XTcl_WrongNumArgs(tls, interp, 2, objv, ts+36432 /* "?COUNT PERSIST?" */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 2, objv, ts+37287 /* "?COUNT PERSIST?" */)
return TCL_ERROR
}
@@ -75804,32 +77672,32 @@ func test_syscall_errno(tls *libc.TLS, clientData uintptr, interp uintptr, objc
var rc int32
*(*[12]Errno)(unsafe.Pointer(bp + 8 /* aErrno */)) = [12]Errno{
- {Fz: ts + 36448 /* "EACCES" */, Fi: EACCES},
- {Fz: ts + 36455 /* "EINTR" */, Fi: EINTR},
- {Fz: ts + 36461 /* "EIO" */, Fi: EIO},
- {Fz: ts + 36465 /* "EOVERFLOW" */, Fi: EOVERFLOW},
- {Fz: ts + 36475 /* "ENOMEM" */, Fi: ENOMEM},
- {Fz: ts + 36482 /* "EAGAIN" */, Fi: EAGAIN},
- {Fz: ts + 36489 /* "ETIMEDOUT" */, Fi: ETIMEDOUT},
- {Fz: ts + 36499 /* "EBUSY" */, Fi: EBUSY},
- {Fz: ts + 36505 /* "EPERM" */, Fi: EPERM},
- {Fz: ts + 36511 /* "EDEADLK" */, Fi: EDEADLK},
- {Fz: ts + 36519 /* "ENOLCK" */, Fi: ENOLCK},
+ {Fz: ts + 37303 /* "EACCES" */, Fi: EACCES},
+ {Fz: ts + 37310 /* "EINTR" */, Fi: EINTR},
+ {Fz: ts + 37316 /* "EIO" */, Fi: EIO},
+ {Fz: ts + 37320 /* "EOVERFLOW" */, Fi: EOVERFLOW},
+ {Fz: ts + 37330 /* "ENOMEM" */, Fi: ENOMEM},
+ {Fz: ts + 37337 /* "EAGAIN" */, Fi: EAGAIN},
+ {Fz: ts + 37344 /* "ETIMEDOUT" */, Fi: ETIMEDOUT},
+ {Fz: ts + 37354 /* "EBUSY" */, Fi: EBUSY},
+ {Fz: ts + 37360 /* "EPERM" */, Fi: EPERM},
+ {Fz: ts + 37366 /* "EDEADLK" */, Fi: EDEADLK},
+ {Fz: ts + 37374 /* "ENOLCK" */, Fi: ENOLCK},
{},
}
if objc != 4 {
- tcl.XTcl_WrongNumArgs(tls, interp, 2, objv, ts+36526 /* "SYSCALL ERRNO" */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 2, objv, ts+37381 /* "SYSCALL ERRNO" */)
return TCL_ERROR
}
rc = tcl.XTcl_GetIndexFromObjStruct(tls, interp,
- *(*uintptr)(unsafe.Pointer(objv + 2*8)), uintptr(unsafe.Pointer(&aSyscall)), int32(unsafe.Sizeof(TestSyscallArray{})), ts+36420 /* "system-call" */, 0, bp /* &iCall */)
+ *(*uintptr)(unsafe.Pointer(objv + 2*8)), uintptr(unsafe.Pointer(&aSyscall)), int32(unsafe.Sizeof(TestSyscallArray{})), ts+37275 /* "system-call" */, 0, bp /* &iCall */)
if rc != TCL_OK {
return rc
}
rc = tcl.XTcl_GetIndexFromObjStruct(tls, interp,
- *(*uintptr)(unsafe.Pointer(objv + 3*8)), bp+8 /* &aErrno[0] */, int32(unsafe.Sizeof(Errno{})), ts+36540 /* "errno" */, 0, bp+200 /* &iErrno */)
+ *(*uintptr)(unsafe.Pointer(objv + 3*8)), bp+8 /* &aErrno[0] */, int32(unsafe.Sizeof(Errno{})), ts+37395 /* "errno" */, 0, bp+200 /* &iErrno */)
if rc != TCL_OK {
return rc
}
@@ -75896,7 +77764,7 @@ func test_syscall_pagesize(tls *libc.TLS, clientData uintptr, interp uintptr, ob
// var pgsz int32 at bp+16, 4
if objc != 3 {
- tcl.XTcl_WrongNumArgs(tls, interp, 2, objv, ts+36546 /* "PGSZ" */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 2, objv, ts+37401 /* "PGSZ" */)
return TCL_ERROR
}
if tcl.XTcl_GetIntFromObj(tls, interp, *(*uintptr)(unsafe.Pointer(objv + 2*8)), bp+16 /* &pgsz */) != 0 {
@@ -75905,17 +77773,17 @@ func test_syscall_pagesize(tls *libc.TLS, clientData uintptr, interp uintptr, ob
if *(*int32)(unsafe.Pointer(bp + 16 /* pgsz */)) < 0 {
if gSyscall.Forig_getpagesize != 0 {
- (*(*func(*libc.TLS, uintptr, uintptr, sqlite3_syscall_ptr) int32)(unsafe.Pointer((pVfs + 144 /* &.xSetSystemCall */))))(tls, pVfs, ts+36551 /* "getpagesize" */, gSyscall.Forig_getpagesize)
+ (*(*func(*libc.TLS, uintptr, uintptr, sqlite3_syscall_ptr) int32)(unsafe.Pointer((pVfs + 144 /* &.xSetSystemCall */))))(tls, pVfs, ts+37406 /* "getpagesize" */, gSyscall.Forig_getpagesize)
}
} else {
if (*(*int32)(unsafe.Pointer(bp + 16 /* pgsz */)) < 512) || ((*(*int32)(unsafe.Pointer(bp + 16 /* pgsz */)) & (*(*int32)(unsafe.Pointer(bp + 16 /* pgsz */)) - 1)) != 0) {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+36563 /* "pgsz out of rang..." */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+37418 /* "pgsz out of rang..." */, 0))
return TCL_ERROR
}
- gSyscall.Forig_getpagesize = (*(*func(*libc.TLS, uintptr, uintptr) sqlite3_syscall_ptr)(unsafe.Pointer((pVfs + 152 /* &.xGetSystemCall */))))(tls, pVfs, ts+36551 /* "getpagesize" */)
+ gSyscall.Forig_getpagesize = (*(*func(*libc.TLS, uintptr, uintptr) sqlite3_syscall_ptr)(unsafe.Pointer((pVfs + 152 /* &.xGetSystemCall */))))(tls, pVfs, ts+37406 /* "getpagesize" */)
gSyscall.Fpgsz = *(*int32)(unsafe.Pointer(bp + 16 /* pgsz */))
(*(*func(*libc.TLS, uintptr, uintptr, sqlite3_syscall_ptr) int32)(unsafe.Pointer((pVfs + 144 /* &.xSetSystemCall */))))(tls,
- pVfs, ts+36551 /* "getpagesize" */, *(*uintptr)(unsafe.Pointer(&struct{ f func(*libc.TLS) int32 }{ts_getpagesize})))
+ pVfs, ts+37406 /* "getpagesize" */, *(*uintptr)(unsafe.Pointer(&struct{ f func(*libc.TLS) int32 }{ts_getpagesize})))
}
return TCL_OK
@@ -75926,31 +77794,31 @@ func test_syscall(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32,
defer tls.Free(180)
*(*[10]SyscallCmd)(unsafe.Pointer(bp + 16 /* aCmd */)) = [10]SyscallCmd{
- {FzName: ts + 36581 /* "fault" */, FxCmd: *(*uintptr)(unsafe.Pointer(&struct {
+ {FzName: ts + 37436 /* "fault" */, FxCmd: *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32
}{test_syscall_fault}))},
- {FzName: ts + 36587 /* "install" */, FxCmd: *(*uintptr)(unsafe.Pointer(&struct {
+ {FzName: ts + 37442 /* "install" */, FxCmd: *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32
}{test_syscall_install}))},
- {FzName: ts + 36595 /* "uninstall" */, FxCmd: *(*uintptr)(unsafe.Pointer(&struct {
+ {FzName: ts + 37450 /* "uninstall" */, FxCmd: *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32
}{test_syscall_uninstall}))},
- {FzName: ts + 7381 /* "reset" */, FxCmd: *(*uintptr)(unsafe.Pointer(&struct {
+ {FzName: ts + 7379 /* "reset" */, FxCmd: *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32
}{test_syscall_reset}))},
- {FzName: ts + 36540 /* "errno" */, FxCmd: *(*uintptr)(unsafe.Pointer(&struct {
+ {FzName: ts + 37395 /* "errno" */, FxCmd: *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32
}{test_syscall_errno}))},
- {FzName: ts + 13198 /* "exists" */, FxCmd: *(*uintptr)(unsafe.Pointer(&struct {
+ {FzName: ts + 13977 /* "exists" */, FxCmd: *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32
}{test_syscall_exists}))},
- {FzName: ts + 36605 /* "list" */, FxCmd: *(*uintptr)(unsafe.Pointer(&struct {
+ {FzName: ts + 37460 /* "list" */, FxCmd: *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32
}{test_syscall_list}))},
- {FzName: ts + 36610 /* "defaultvfs" */, FxCmd: *(*uintptr)(unsafe.Pointer(&struct {
+ {FzName: ts + 37465 /* "defaultvfs" */, FxCmd: *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32
}{test_syscall_defaultvfs}))},
- {FzName: ts + 36621 /* "pagesize" */, FxCmd: *(*uintptr)(unsafe.Pointer(&struct {
+ {FzName: ts + 37476 /* "pagesize" */, FxCmd: *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32
}{test_syscall_pagesize}))},
{},
@@ -75961,11 +77829,11 @@ func test_syscall(tls *libc.TLS, clientData uintptr, interp uintptr, objc int32,
var pVfs uintptr = sqlite3.Xsqlite3_vfs_find(tls, uintptr(0))
if objc < 2 {
- tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+32318 /* "SUB-COMMAND ..." */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+33180 /* "SUB-COMMAND ..." */)
return TCL_ERROR
}
if ((*sqlite3_vfs)(unsafe.Pointer(pVfs)).FiVersion < 3) || ((*sqlite3_vfs)(unsafe.Pointer(pVfs)).FxSetSystemCall == uintptr(0)) {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+36630 /* "VFS does not sup..." */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+37485 /* "VFS does not sup..." */, 0))
rc = TCL_ERROR
} else {
rc = tcl.XTcl_GetIndexFromObjStruct(tls, interp,
@@ -75987,7 +77855,7 @@ func SqlitetestSyscall_Init(tls *libc.TLS, interp uintptr) int32 { /* test_sysca
defer tls.Free(16)
*(*[1]SyscallCmd)(unsafe.Pointer(bp /* aCmd */)) = [1]SyscallCmd{
- {FzName: ts + 36666 /* "test_syscall" */, FxCmd: *(*uintptr)(unsafe.Pointer(&struct {
+ {FzName: ts + 37521 /* "test_syscall" */, FxCmd: *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32
}{test_syscall}))},
}
@@ -76027,7 +77895,7 @@ func sqlite3TestInit(tls *libc.TLS, interp uintptr) uintptr { /* test_tclsh.c:58
}
- if tcl.XTcl_GetCommandInfo(tls, interp, ts+13949 /* "sqlite3" */, bp+16 /* &cmdInfo */) == 0 {
+ if tcl.XTcl_GetCommandInfo(tls, interp, ts+14728 /* "sqlite3" */, bp+16 /* &cmdInfo */) == 0 {
Sqlite3_Init(tls, interp)
}
Md5_Init(tls, interp)
@@ -76064,6 +77932,7 @@ func sqlite3TestInit(tls *libc.TLS, interp uintptr) uintptr { /* test_tclsh.c:58
Sqlitemultiplex_Init(tls, interp)
SqliteSuperlock_Init(tls, interp)
SqlitetestSyscall_Init(tls, interp)
+ TestSession_Init(tls, interp)
Fts5tcl_Init(tls, interp)
SqliteRbu_Init(tls, interp)
Sqlitetesttcl_Init(tls, interp)
@@ -76073,7 +77942,7 @@ func sqlite3TestInit(tls *libc.TLS, interp uintptr) uintptr { /* test_tclsh.c:58
Sqlitetestvdbecov_Init(tls, interp)
tcl.XTcl_CreateObjCommand(tls,
- interp, ts+36679 /* "load_testfixture..." */, *(*uintptr)(unsafe.Pointer(&struct {
+ interp, ts+37534 /* "load_testfixture..." */, *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, ClientData, uintptr, int32, uintptr) int32
}{load_testfixture_extensions})), uintptr(0), uintptr(0))
return uintptr(0)
@@ -76083,7 +77952,7 @@ func sqlite3TestInit(tls *libc.TLS, interp uintptr) uintptr { /* test_tclsh.c:58
func load_testfixture_extensions(tls *libc.TLS, cd ClientData, interp uintptr, objc int32, objv uintptr) int32 { /* test_tclsh.c:185:26: */
var slave uintptr
if objc != 2 {
- tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+36707 /* "SLAVE" */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+37562 /* "SLAVE" */)
return TCL_ERROR
}
@@ -76103,7 +77972,7 @@ func load_testfixture_extensions(tls *libc.TLS, cd ClientData, interp uintptr, o
// c-basic-offset: 4
// fill-column: 78
// End:
-// Copyright (C) 1991-2018 Free Software Foundation, Inc.
+// Copyright (C) 1991-2020 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
@@ -76118,11 +77987,11 @@ func load_testfixture_extensions(tls *libc.TLS, cd ClientData, interp uintptr, o
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// ISO C99 Standard: 7.20 General utilities
-// Copyright (C) 1991-2018 Free Software Foundation, Inc.
+// Copyright (C) 1991-2020 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
@@ -76137,7 +78006,7 @@ func load_testfixture_extensions(tls *libc.TLS, cd ClientData, interp uintptr, o
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// ISO C99 Standard: 7.21 String handling
@@ -76155,7 +78024,7 @@ type tclvar_vtab1 = struct {
// c-basic-offset: 4
// fill-column: 78
// End:
-// Copyright (C) 1991-2018 Free Software Foundation, Inc.
+// Copyright (C) 1991-2020 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
@@ -76170,11 +78039,11 @@ type tclvar_vtab1 = struct {
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// ISO C99 Standard: 7.20 General utilities
-// Copyright (C) 1991-2018 Free Software Foundation, Inc.
+// Copyright (C) 1991-2020 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
@@ -76189,7 +78058,7 @@ type tclvar_vtab1 = struct {
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// ISO C99 Standard: 7.21 String handling
@@ -76225,7 +78094,7 @@ var zSchema =
// Array index
// Value
// base(index) name
-*(*[100]int8)(unsafe.Pointer(ts + 36713 /* "CREATE TABLE x( ..." */)) /* test_tclvar.c:88:21 */
+*(*[100]int8)(unsafe.Pointer(ts + 37568 /* "CREATE TABLE x( ..." */)) /* test_tclvar.c:88:21 */
// Note that for this virtual table, the xCreate and xConnect
// methods are identical.
@@ -76277,7 +78146,7 @@ func next2(tls *libc.TLS, interp uintptr, pCur uintptr, pObj uintptr) int32 { /*
if pObj != 0 {
if !(int32((*tclvar_cursor)(unsafe.Pointer(pCur)).FpList2) != 0) {
- p = tcl.XTcl_NewStringObj(tls, ts+36813 /* "array names" */, -1)
+ p = tcl.XTcl_NewStringObj(tls, ts+37668 /* "array names" */, -1)
(*Tcl_Obj)(unsafe.Pointer(p)).FrefCount++
tcl.XTcl_ListObjAppendElement(tls, uintptr(0), p, pObj)
tcl.XTcl_EvalObjEx(tls, interp, p, TCL_EVAL_GLOBAL)
@@ -76338,7 +78207,7 @@ func tclvarNext(tls *libc.TLS, cur uintptr) int32 { /* test_tclvar.c:168:12: */
func tclvarFilter(tls *libc.TLS, pVtabCursor uintptr, idxNum int32, idxStr uintptr, argc int32, argv uintptr) int32 { /* test_tclvar.c:188:12: */
var pCur uintptr = pVtabCursor
var interp uintptr = (*tclvar_vtab)(unsafe.Pointer((*sqlite3_vtab_cursor)(unsafe.Pointer(pVtabCursor)).FpVtab)).Finterp
- var p uintptr = tcl.XTcl_NewStringObj(tls, ts+36825 /* "tclvar_filter_cm..." */, -1)
+ var p uintptr = tcl.XTcl_NewStringObj(tls, ts+37680 /* "tclvar_filter_cm..." */, -1)
var zEq uintptr = ts + 489 /* "" */
var zMatch uintptr = ts + 489 /* "" */
@@ -76456,7 +78325,7 @@ func tclvarColumn(tls *libc.TLS, cur uintptr, ctx uintptr, i int32) int32 { /* t
{
var z3 uintptr
if *(*uintptr)(unsafe.Pointer(bp + 24 /* p2 */)) != 0 {
- z3 = sqlite3.Xsqlite3_mprintf(tls, ts+36843 /* "%s(%s)" */, libc.VaList(bp, z1, z2))
+ z3 = sqlite3.Xsqlite3_mprintf(tls, ts+37698 /* "%s(%s)" */, libc.VaList(bp, z1, z2))
sqlite3.Xsqlite3_result_text(tls, ctx, z3, -1, *(*uintptr)(unsafe.Pointer(&struct{ f func(*libc.TLS, uintptr) }{sqlite3.Xsqlite3_free})))
} else {
sqlite3.Xsqlite3_result_text(tls, ctx, z1, -1, libc.UintptrFromInt32(-1))
@@ -76511,7 +78380,7 @@ func tclvarSetOmit(tls *libc.TLS, interp uintptr) int32 { /* test_tclvar.c:324:1
*(*int32)(unsafe.Pointer(bp /* res */)) = 0
var pRes uintptr
rc = tcl.XTcl_Eval(tls, interp,
- ts+36850 /* "expr {[info exis..." */)
+ ts+37705 /* "expr {[info exis..." */)
if rc == TCL_OK {
pRes = tcl.XTcl_GetObjResult(tls, interp)
rc = tcl.XTcl_GetBooleanFromObj(tls, uintptr(0), pRes, bp /* &res */)
@@ -76608,7 +78477,7 @@ func tclvarUpdate(tls *libc.TLS, tab uintptr, argc int32, argv uintptr, pRowid u
var zValue uintptr = sqlite3.Xsqlite3_value_text(tls, *(*uintptr)(unsafe.Pointer(argv + 4*8)))
var zName uintptr
if sqlite3.Xsqlite3_value_type(tls, *(*uintptr)(unsafe.Pointer(argv + 5*8))) != SQLITE_TEXT {
- (*sqlite3_vtab)(unsafe.Pointer(tab)).FzErrMsg = sqlite3.Xsqlite3_mprintf(tls, ts+36911 /* "the 'fullname' c..." */, 0)
+ (*sqlite3_vtab)(unsafe.Pointer(tab)).FzErrMsg = sqlite3.Xsqlite3_mprintf(tls, ts+37766 /* "the 'fullname' c..." */, 0)
return SQLITE_ERROR
}
zName = sqlite3.Xsqlite3_value_text(tls, *(*uintptr)(unsafe.Pointer(argv + 5*8)))
@@ -76634,7 +78503,7 @@ func tclvarUpdate(tls *libc.TLS, tab uintptr, argc int32, argv uintptr, pRowid u
}
return SQLITE_OK
}
- (*sqlite3_vtab)(unsafe.Pointer(tab)).FzErrMsg = sqlite3.Xsqlite3_mprintf(tls, ts+36946 /* "prohibited TCL v..." */, 0)
+ (*sqlite3_vtab)(unsafe.Pointer(tab)).FzErrMsg = sqlite3.Xsqlite3_mprintf(tls, ts+37801 /* "prohibited TCL v..." */, 0)
return SQLITE_ERROR
}
@@ -76671,10 +78540,10 @@ func register_tclvar_module(tls *libc.TLS, clientData ClientData, interp uintptr
if getDbPointer(tls, interp, tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 1*8))), bp /* &db */) != 0 {
return TCL_ERROR
}
- sqlite3.Xsqlite3_create_module(tls, *(*uintptr)(unsafe.Pointer(bp /* db */)), ts+29192 /* "tclvar" */, uintptr(unsafe.Pointer(&tclvarModule)), interp)
+ sqlite3.Xsqlite3_create_module(tls, *(*uintptr)(unsafe.Pointer(bp /* db */)), ts+30054 /* "tclvar" */, uintptr(unsafe.Pointer(&tclvarModule)), interp)
rc = tcl.XTcl_Eval(tls, interp,
- ts+36977 /* "proc like {patte..." */)
+ ts+37832 /* "proc like {patte..." */)
return rc
}
@@ -76697,11 +78566,9 @@ var aObjCmd13 = [1]struct {
FxProc uintptr
FclientData uintptr
}{
- {FzName: ts + 37513 /* "register_tclvar_..." */, FxProc: 0},
+ {FzName: ts + 38368 /* "register_tclvar_..." */, FxProc: 0},
} /* test_tclvar.c:552:5 */
-// Define some macros helping to catch buffer overflows.
-
// One of these is allocated for each thread created by [sqlthread spawn].
type SqlThread1 = struct {
Fparent Tcl_ThreadId
@@ -76710,8 +78577,6 @@ type SqlThread1 = struct {
FzVarname uintptr
} /* test_thread.c:36:9 */
-// Define some macros helping to catch buffer overflows.
-
// One of these is allocated for each thread created by [sqlthread spawn].
type SqlThread = SqlThread1 /* test_thread.c:36:26 */
@@ -76778,21 +78643,21 @@ func tclScriptThread(tls *libc.TLS, pSqlThread ClientData) { /* test_thread.c:11
var p uintptr = pSqlThread
interp = tcl.XTcl_CreateInterp(tls)
- tcl.XTcl_CreateObjCommand(tls, interp, ts+37536 /* "clock_seconds" */, *(*uintptr)(unsafe.Pointer(&struct {
+ tcl.XTcl_CreateObjCommand(tls, interp, ts+38391 /* "clock_seconds" */, *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, ClientData, uintptr, int32, uintptr) int32
}{clock_seconds_proc})), uintptr(0), uintptr(0))
- tcl.XTcl_CreateObjCommand(tls, interp, ts+37550 /* "sqlthread" */, *(*uintptr)(unsafe.Pointer(&struct {
+ tcl.XTcl_CreateObjCommand(tls, interp, ts+38405 /* "sqlthread" */, *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, ClientData, uintptr, int32, uintptr) int32
}{sqlthread_proc})), pSqlThread, uintptr(0))
- tcl.XTcl_CreateObjCommand(tls, interp, ts+37560 /* "sqlite3_blocking..." */, *(*uintptr)(unsafe.Pointer(&struct {
+ tcl.XTcl_CreateObjCommand(tls, interp, ts+38415 /* "sqlite3_blocking..." */, *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32
}{blocking_step_proc})), uintptr(0), uintptr(0))
tcl.XTcl_CreateObjCommand(tls, interp,
- ts+37582 /* "sqlite3_blocking..." */, *(*uintptr)(unsafe.Pointer(&struct {
+ ts+38437 /* "sqlite3_blocking..." */, *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32
}{blocking_prepare_v2_proc})), uintptr(1), uintptr(0))
tcl.XTcl_CreateObjCommand(tls, interp,
- ts+37610 /* "sqlite3_nonblock..." */, *(*uintptr)(unsafe.Pointer(&struct {
+ ts+38465 /* "sqlite3_nonblock..." */, *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32
}{blocking_prepare_v2_proc})), uintptr(0), uintptr(0))
Sqlitetest1_Init(tls, interp)
@@ -76806,7 +78671,7 @@ func tclScriptThread(tls *libc.TLS, pSqlThread ClientData) { /* test_thread.c:11
(*Tcl_Obj)(unsafe.Pointer(pRes)).FrefCount++
if rc != TCL_OK {
- tcl.XTcl_ListObjAppendElement(tls, interp, pList, tcl.XTcl_NewStringObj(tls, ts+10311 /* "error" */, -1))
+ tcl.XTcl_ListObjAppendElement(tls, interp, pList, tcl.XTcl_NewStringObj(tls, ts+10309 /* "error" */, -1))
tcl.XTcl_ListObjAppendElement(tls, interp, pList, pRes)
postToParent(tls, p, pList)
for ok := true; ok; ok = 0 != 0 {
@@ -76818,7 +78683,7 @@ func tclScriptThread(tls *libc.TLS, pSqlThread ClientData) { /* test_thread.c:11
pList = tcl.XTcl_NewObj(tls)
}
- tcl.XTcl_ListObjAppendElement(tls, interp, pList, tcl.XTcl_NewStringObj(tls, ts+37641 /* "set" */, -1))
+ tcl.XTcl_ListObjAppendElement(tls, interp, pList, tcl.XTcl_NewStringObj(tls, ts+38496 /* "set" */, -1))
tcl.XTcl_ListObjAppendElement(tls, interp, pList, tcl.XTcl_NewStringObj(tls, (*SqlThread)(unsafe.Pointer(p)).FzVarname, -1))
tcl.XTcl_ListObjAppendElement(tls, interp, pList, pRes)
postToParent(tls, p, pList)
@@ -76886,7 +78751,7 @@ func sqlthread_spawn(tls *libc.TLS, clientData ClientData, interp uintptr, objc
rc = tcl.XTcl_CreateThread(tls, bp+24 /* &x */, *(*uintptr)(unsafe.Pointer(&struct{ f func(*libc.TLS, ClientData) }{tclScriptThread})), pNew, nStack, flags)
if rc != TCL_OK {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+37645 /* "Error in Tcl_Cre..." */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+38500 /* "Error in Tcl_Cre..." */, 0))
tcl.XTcl_Free(tls, pNew)
return TCL_ERROR
}
@@ -76916,7 +78781,7 @@ func sqlthread_parent(tls *libc.TLS, clientData ClientData, interp uintptr, objc
_ = objc
if p == uintptr(0) {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+37673 /* "no parent thread" */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+38528 /* "no parent thread" */, 0))
return TCL_ERROR
}
@@ -77004,16 +78869,16 @@ func sqlthread_proc(tls *libc.TLS, clientData ClientData, interp uintptr, objc i
_ [4]byte
FzUsage uintptr
}{
- {FzName: ts + 37690 /* "parent" */, FxProc: *(*uintptr)(unsafe.Pointer(&struct {
+ {FzName: ts + 38545 /* "parent" */, FxProc: *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, ClientData, uintptr, int32, uintptr) int32
- }{sqlthread_parent})), FnArg: 1, FzUsage: ts + 11585 /* "SCRIPT" */},
- {FzName: ts + 37697 /* "spawn" */, FxProc: *(*uintptr)(unsafe.Pointer(&struct {
+ }{sqlthread_parent})), FnArg: 1, FzUsage: ts + 10650 /* "SCRIPT" */},
+ {FzName: ts + 38552 /* "spawn" */, FxProc: *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, ClientData, uintptr, int32, uintptr) int32
- }{sqlthread_spawn})), FnArg: 2, FzUsage: ts + 37703 /* "VARNAME SCRIPT" */},
- {FzName: ts + 36307 /* "open" */, FxProc: *(*uintptr)(unsafe.Pointer(&struct {
+ }{sqlthread_spawn})), FnArg: 2, FzUsage: ts + 38558 /* "VARNAME SCRIPT" */},
+ {FzName: ts + 37162 /* "open" */, FxProc: *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, ClientData, uintptr, int32, uintptr) int32
- }{sqlthread_open})), FnArg: 1, FzUsage: ts + 37718 /* "DBNAME" */},
- {FzName: ts + 37725 /* "id" */, FxProc: *(*uintptr)(unsafe.Pointer(&struct {
+ }{sqlthread_open})), FnArg: 1, FzUsage: ts + 38573 /* "DBNAME" */},
+ {FzName: ts + 38580 /* "id" */, FxProc: *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, ClientData, uintptr, int32, uintptr) int32
}{sqlthread_id})), FzUsage: ts + 489 /* "" */},
{},
@@ -77208,7 +79073,7 @@ func blocking_step_proc(tls *libc.TLS, clientData uintptr, interp uintptr, objc
var rc int32
if objc != 2 {
- tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+16629 /* "STMT" */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+17418 /* "STMT" */)
return TCL_ERROR
}
@@ -77238,8 +79103,8 @@ func blocking_prepare_v2_proc(tls *libc.TLS, clientData uintptr, interp uintptr,
var isBlocking int32 = libc.BoolInt32(!(clientData == uintptr(0)))
if (objc != 5) && (objc != 4) {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+14631, /* "wrong # args: sh..." */
- tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv))), ts+16675 /* " DB sql bytes ta..." */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+15410, /* "wrong # args: sh..." */
+ tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv))), ts+17464 /* " DB sql bytes ta..." */, 0))
return TCL_ERROR
}
if getDbPointer(tls, interp, tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 1*8))), bp+80 /* &db */) != 0 {
@@ -77264,7 +79129,7 @@ func blocking_prepare_v2_proc(tls *libc.TLS, clientData uintptr, interp uintptr,
}
if rc != SQLITE_OK {
- sqlite3.Xsqlite3_snprintf(tls, int32(unsafe.Sizeof([50]int8{})), bp+112 /* &zBuf[0] */, ts+37728 /* "%s " */, libc.VaList(bp+32, sqlite3.Xsqlite3ErrName(tls, rc)))
+ sqlite3.Xsqlite3_snprintf(tls, int32(unsafe.Sizeof([50]int8{})), bp+112 /* &zBuf[0] */, ts+38583 /* "%s " */, libc.VaList(bp+32, sqlite3.Xsqlite3ErrName(tls, rc)))
tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+40, bp+112 /* &zBuf[0] */, sqlite3.Xsqlite3_errmsg(tls, *(*uintptr)(unsafe.Pointer(bp + 80 /* db */))), 0))
return TCL_ERROR
}
@@ -77284,21 +79149,21 @@ func blocking_prepare_v2_proc(tls *libc.TLS, clientData uintptr, interp uintptr,
// Register commands with the TCL interpreter.
func SqlitetestThread_Init(tls *libc.TLS, interp uintptr) int32 { /* test_thread.c:619:5: */
- tcl.XTcl_CreateObjCommand(tls, interp, ts+37550 /* "sqlthread" */, *(*uintptr)(unsafe.Pointer(&struct {
+ tcl.XTcl_CreateObjCommand(tls, interp, ts+38405 /* "sqlthread" */, *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, ClientData, uintptr, int32, uintptr) int32
}{sqlthread_proc})), uintptr(0), uintptr(0))
- tcl.XTcl_CreateObjCommand(tls, interp, ts+37536 /* "clock_seconds" */, *(*uintptr)(unsafe.Pointer(&struct {
+ tcl.XTcl_CreateObjCommand(tls, interp, ts+38391 /* "clock_seconds" */, *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, ClientData, uintptr, int32, uintptr) int32
}{clock_seconds_proc})), uintptr(0), uintptr(0))
- tcl.XTcl_CreateObjCommand(tls, interp, ts+37560 /* "sqlite3_blocking..." */, *(*uintptr)(unsafe.Pointer(&struct {
+ tcl.XTcl_CreateObjCommand(tls, interp, ts+38415 /* "sqlite3_blocking..." */, *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32
}{blocking_step_proc})), uintptr(0), uintptr(0))
tcl.XTcl_CreateObjCommand(tls, interp,
- ts+37582 /* "sqlite3_blocking..." */, *(*uintptr)(unsafe.Pointer(&struct {
+ ts+38437 /* "sqlite3_blocking..." */, *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32
}{blocking_prepare_v2_proc})), uintptr(1), uintptr(0))
tcl.XTcl_CreateObjCommand(tls, interp,
- ts+37610 /* "sqlite3_nonblock..." */, *(*uintptr)(unsafe.Pointer(&struct {
+ ts+38465 /* "sqlite3_nonblock..." */, *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32
}{blocking_prepare_v2_proc})), uintptr(0), uintptr(0))
return TCL_OK
@@ -77372,8 +79237,8 @@ type TestvfsFd1 = struct {
FpReal uintptr
FpShmId uintptr
FpShm uintptr
- Fexcllock u322
- Fsharedlock u322
+ Fexcllock u32
+ Fsharedlock u32
FpNext uintptr
} /* test_vfs.c:37:9 */
@@ -77416,13 +79281,13 @@ func tvfsResultCode(tls *libc.TLS, p uintptr, pRc uintptr) int32 { /* test_vfs.c
*(*[9]errcode)(unsafe.Pointer(bp /* aCode */)) = [9]errcode{
{FzCode: ts + 1988 /* "SQLITE_OK" */},
{FeCode: SQLITE_ERROR, FzCode: ts + 1975 /* "SQLITE_ERROR" */},
- {FeCode: SQLITE_IOERR, FzCode: ts + 37732 /* "SQLITE_IOERR" */},
- {FeCode: SQLITE_LOCKED, FzCode: ts + 37745 /* "SQLITE_LOCKED" */},
- {FeCode: SQLITE_BUSY, FzCode: ts + 37759 /* "SQLITE_BUSY" */},
- {FeCode: SQLITE_READONLY, FzCode: ts + 37771 /* "SQLITE_READONLY" */},
- {FeCode: (SQLITE_READONLY | (int32(5) << 8)), FzCode: ts + 37787 /* "SQLITE_READONLY_..." */},
- {FeCode: SQLITE_NOTFOUND, FzCode: ts + 37812 /* "SQLITE_NOTFOUND" */},
- {FeCode: -1, FzCode: ts + 37828 /* "SQLITE_OMIT" */},
+ {FeCode: SQLITE_IOERR, FzCode: ts + 38587 /* "SQLITE_IOERR" */},
+ {FeCode: SQLITE_LOCKED, FzCode: ts + 38600 /* "SQLITE_LOCKED" */},
+ {FeCode: SQLITE_BUSY, FzCode: ts + 38614 /* "SQLITE_BUSY" */},
+ {FeCode: SQLITE_READONLY, FzCode: ts + 38626 /* "SQLITE_READONLY" */},
+ {FeCode: (SQLITE_READONLY | (int32(5) << 8)), FzCode: ts + 38642 /* "SQLITE_READONLY_..." */},
+ {FeCode: SQLITE_NOTFOUND, FzCode: ts + 38667 /* "SQLITE_NOTFOUND" */},
+ {FeCode: -1, FzCode: ts + 38683 /* "SQLITE_OMIT" */},
}
var z uintptr
var i int32
@@ -77502,7 +79367,7 @@ func tvfsClose(tls *libc.TLS, pFile uintptr) int32 { /* test_vfs.c:317:12: */
var p uintptr = (*sqlite3_vfs)(unsafe.Pointer((*TestvfsFd)(unsafe.Pointer(pFd)).FpVfs)).FpAppData
if ((*Testvfs)(unsafe.Pointer(p)).FpScript != 0) && (((*Testvfs)(unsafe.Pointer(p)).Fmask & TESTVFS_CLOSE_MASK) != 0) {
- tvfsExecTcl(tls, p, ts+34830, /* "xClose" */
+ tvfsExecTcl(tls, p, ts+35685, /* "xClose" */
tcl.XTcl_NewStringObj(tls, (*TestvfsFd)(unsafe.Pointer(pFd)).FzFilename, -1), (*TestvfsFd)(unsafe.Pointer(pFd)).FpShmId, uintptr(0), uintptr(0))
}
@@ -77533,7 +79398,7 @@ func tvfsRead(tls *libc.TLS, pFile uintptr, zBuf uintptr, iAmt int32, iOfst sqli
var pFd uintptr = (*TestvfsFile)(unsafe.Pointer(pFile)).FpFd
var p uintptr = (*sqlite3_vfs)(unsafe.Pointer((*TestvfsFd)(unsafe.Pointer(pFd)).FpVfs)).FpAppData
if ((*Testvfs)(unsafe.Pointer(p)).FpScript != 0) && (((*Testvfs)(unsafe.Pointer(p)).Fmask & TESTVFS_READ_MASK) != 0) {
- tvfsExecTcl(tls, p, ts+34837, /* "xRead" */
+ tvfsExecTcl(tls, p, ts+35692, /* "xRead" */
tcl.XTcl_NewStringObj(tls, (*TestvfsFd)(unsafe.Pointer(pFd)).FzFilename, -1), (*TestvfsFd)(unsafe.Pointer(pFd)).FpShmId, uintptr(0), uintptr(0))
tvfsResultCode(tls, p, bp /* &rc */)
}
@@ -77556,7 +79421,7 @@ func tvfsWrite(tls *libc.TLS, pFile uintptr, zBuf uintptr, iAmt int32, iOfst sql
var p uintptr = (*sqlite3_vfs)(unsafe.Pointer((*TestvfsFd)(unsafe.Pointer(pFd)).FpVfs)).FpAppData
if ((*Testvfs)(unsafe.Pointer(p)).FpScript != 0) && (((*Testvfs)(unsafe.Pointer(p)).Fmask & TESTVFS_WRITE_MASK) != 0) {
- tvfsExecTcl(tls, p, ts+34843, /* "xWrite" */
+ tvfsExecTcl(tls, p, ts+35698, /* "xWrite" */
tcl.XTcl_NewStringObj(tls, (*TestvfsFd)(unsafe.Pointer(pFd)).FzFilename, -1), (*TestvfsFd)(unsafe.Pointer(pFd)).FpShmId,
tcl.XTcl_NewWideIntObj(tls, iOfst), tcl.XTcl_NewIntObj(tls, iAmt))
tvfsResultCode(tls, p, bp /* &rc */)
@@ -77588,7 +79453,7 @@ func tvfsTruncate(tls *libc.TLS, pFile uintptr, size sqlite_int64) int32 { /* te
var p uintptr = (*sqlite3_vfs)(unsafe.Pointer((*TestvfsFd)(unsafe.Pointer(pFd)).FpVfs)).FpAppData
if ((*Testvfs)(unsafe.Pointer(p)).FpScript != 0) && (((*Testvfs)(unsafe.Pointer(p)).Fmask & TESTVFS_TRUNCATE_MASK) != 0) {
- tvfsExecTcl(tls, p, ts+34850, /* "xTruncate" */
+ tvfsExecTcl(tls, p, ts+35705, /* "xTruncate" */
tcl.XTcl_NewStringObj(tls, (*TestvfsFd)(unsafe.Pointer(pFd)).FzFilename, -1), (*TestvfsFd)(unsafe.Pointer(pFd)).FpShmId, uintptr(0), uintptr(0))
tvfsResultCode(tls, p, bp /* &rc */)
}
@@ -77613,26 +79478,26 @@ func tvfsSync(tls *libc.TLS, pFile uintptr, flags int32) int32 { /* test_vfs.c:4
switch flags {
case SQLITE_SYNC_NORMAL:
- zFlags = ts + 16080 /* "normal" */
+ zFlags = ts + 16869 /* "normal" */
break
fallthrough
case SQLITE_SYNC_FULL:
- zFlags = ts + 17941 /* "full" */
+ zFlags = ts + 18730 /* "full" */
break
fallthrough
case (SQLITE_SYNC_NORMAL | SQLITE_SYNC_DATAONLY):
- zFlags = ts + 37840 /* "normal|dataonly" */
+ zFlags = ts + 38695 /* "normal|dataonly" */
break
fallthrough
case (SQLITE_SYNC_FULL | SQLITE_SYNC_DATAONLY):
- zFlags = ts + 37856 /* "full|dataonly" */
+ zFlags = ts + 38711 /* "full|dataonly" */
break
fallthrough
default:
}
- tvfsExecTcl(tls, p, ts+27316, /* "xSync" */
+ tvfsExecTcl(tls, p, ts+28129, /* "xSync" */
tcl.XTcl_NewStringObj(tls, (*TestvfsFd)(unsafe.Pointer(pFd)).FzFilename, -1), (*TestvfsFd)(unsafe.Pointer(pFd)).FpShmId,
tcl.XTcl_NewStringObj(tls, zFlags, -1), uintptr(0))
tvfsResultCode(tls, p, bp /* &rc */)
@@ -77666,7 +79531,7 @@ func tvfsLock(tls *libc.TLS, pFile uintptr, eLock int32) int32 { /* test_vfs.c:4
// var zLock [30]int8 at bp+8, 30
sqlite3.Xsqlite3_snprintf(tls, int32(unsafe.Sizeof([30]int8{})), bp+8 /* &zLock[0] */, ts+1238 /* "%d" */, libc.VaList(bp, eLock))
- tvfsExecTcl(tls, p, ts+34870 /* "xLock" */, tcl.XTcl_NewStringObj(tls, (*TestvfsFd)(unsafe.Pointer(pFd)).FzFilename, -1),
+ tvfsExecTcl(tls, p, ts+35725 /* "xLock" */, tcl.XTcl_NewStringObj(tls, (*TestvfsFd)(unsafe.Pointer(pFd)).FzFilename, -1),
tcl.XTcl_NewStringObj(tls, bp+8 /* &zLock[0] */, -1), uintptr(0), uintptr(0))
}
return sqlite3.Xsqlite3OsLock(tls, (*TestvfsFd)(unsafe.Pointer(pFd)).FpReal, eLock)
@@ -77683,7 +79548,7 @@ func tvfsUnlock(tls *libc.TLS, pFile uintptr, eLock int32) int32 { /* test_vfs.c
// var zLock [30]int8 at bp+8, 30
sqlite3.Xsqlite3_snprintf(tls, int32(unsafe.Sizeof([30]int8{})), bp+8 /* &zLock[0] */, ts+1238 /* "%d" */, libc.VaList(bp, eLock))
- tvfsExecTcl(tls, p, ts+34876 /* "xUnlock" */, tcl.XTcl_NewStringObj(tls, (*TestvfsFd)(unsafe.Pointer(pFd)).FzFilename, -1),
+ tvfsExecTcl(tls, p, ts+35731 /* "xUnlock" */, tcl.XTcl_NewStringObj(tls, (*TestvfsFd)(unsafe.Pointer(pFd)).FzFilename, -1),
tcl.XTcl_NewStringObj(tls, bp+8 /* &zLock[0] */, -1), uintptr(0), uintptr(0))
}
if (((*Testvfs)(unsafe.Pointer(p)).Fmask & TESTVFS_WRITE_MASK) != 0) && (tvfsInjectIoerr(tls, p) != 0) {
@@ -77697,7 +79562,7 @@ func tvfsCheckReservedLock(tls *libc.TLS, pFile uintptr, pResOut uintptr) int32
var pFd uintptr = (*TestvfsFile)(unsafe.Pointer(pFile)).FpFd
var p uintptr = (*sqlite3_vfs)(unsafe.Pointer((*TestvfsFd)(unsafe.Pointer(pFd)).FpVfs)).FpAppData
if ((*Testvfs)(unsafe.Pointer(p)).FpScript != 0) && (((*Testvfs)(unsafe.Pointer(p)).Fmask & TESTVFS_CKLOCK_MASK) != 0) {
- tvfsExecTcl(tls, p, ts+37870 /* "xCheckReservedLo..." */, tcl.XTcl_NewStringObj(tls, (*TestvfsFd)(unsafe.Pointer(pFd)).FzFilename, -1),
+ tvfsExecTcl(tls, p, ts+38725 /* "xCheckReservedLo..." */, tcl.XTcl_NewStringObj(tls, (*TestvfsFd)(unsafe.Pointer(pFd)).FzFilename, -1),
uintptr(0), uintptr(0), uintptr(0))
}
return sqlite3.Xsqlite3OsCheckReservedLock(tls, (*TestvfsFd)(unsafe.Pointer(pFd)).FpReal, pResOut)
@@ -77712,7 +79577,7 @@ func tvfsFileControl(tls *libc.TLS, pFile uintptr, op int32, pArg uintptr) int32
var p uintptr = (*sqlite3_vfs)(unsafe.Pointer((*TestvfsFd)(unsafe.Pointer(pFd)).FpVfs)).FpAppData
if op == SQLITE_FCNTL_PRAGMA {
var argv uintptr = pArg
- if sqlite3.Xsqlite3_stricmp(tls, *(*uintptr)(unsafe.Pointer(argv + 1*8)), ts+10311 /* "error" */) == 0 {
+ if sqlite3.Xsqlite3_stricmp(tls, *(*uintptr)(unsafe.Pointer(argv + 1*8)), ts+10309 /* "error" */) == 0 {
var rc int32 = SQLITE_ERROR
if *(*uintptr)(unsafe.Pointer(argv + 2*8)) != 0 {
var z uintptr = *(*uintptr)(unsafe.Pointer(argv + 2*8))
@@ -77732,16 +79597,16 @@ func tvfsFileControl(tls *libc.TLS, pFile uintptr, op int32, pArg uintptr) int32
}
return rc
}
- if sqlite3.Xsqlite3_stricmp(tls, *(*uintptr)(unsafe.Pointer(argv + 1*8)), ts+4665 /* "filename" */) == 0 {
+ if sqlite3.Xsqlite3_stricmp(tls, *(*uintptr)(unsafe.Pointer(argv + 1*8)), ts+4655 /* "filename" */) == 0 {
*(*uintptr)(unsafe.Pointer(argv)) = sqlite3.Xsqlite3_mprintf(tls, ts /* "%s" */, libc.VaList(bp+8, (*TestvfsFd)(unsafe.Pointer(pFd)).FzFilename))
return SQLITE_OK
}
}
if ((*Testvfs)(unsafe.Pointer(p)).FpScript != 0) && (((*Testvfs)(unsafe.Pointer(p)).Fmask & TESTVFS_FCNTL_MASK) != 0) {
*(*[3]Fcntl)(unsafe.Pointer(bp + 16 /* aF */)) = [3]Fcntl{
- {FiFnctl: SQLITE_FCNTL_BEGIN_ATOMIC_WRITE, FzFnctl: ts + 37889 /* "BEGIN_ATOMIC_WRI..." */},
- {FiFnctl: SQLITE_FCNTL_COMMIT_ATOMIC_WRITE, FzFnctl: ts + 37908 /* "COMMIT_ATOMIC_WR..." */},
- {FiFnctl: SQLITE_FCNTL_ZIPVFS, FzFnctl: ts + 37928 /* "ZIPVFS" */},
+ {FiFnctl: SQLITE_FCNTL_BEGIN_ATOMIC_WRITE, FzFnctl: ts + 38744 /* "BEGIN_ATOMIC_WRI..." */},
+ {FiFnctl: SQLITE_FCNTL_COMMIT_ATOMIC_WRITE, FzFnctl: ts + 38763 /* "COMMIT_ATOMIC_WR..." */},
+ {FiFnctl: SQLITE_FCNTL_ZIPVFS, FzFnctl: ts + 38783 /* "ZIPVFS" */},
}
var i int32
for i = 0; uint64(i) < (uint64(unsafe.Sizeof([3]Fcntl{})) / uint64(unsafe.Sizeof(Fcntl{}))); i++ {
@@ -77751,7 +79616,7 @@ func tvfsFileControl(tls *libc.TLS, pFile uintptr, op int32, pArg uintptr) int32
}
if uint64(i) < (uint64(unsafe.Sizeof([3]Fcntl{})) / uint64(unsafe.Sizeof(Fcntl{}))) {
*(*int32)(unsafe.Pointer(bp + 64 /* rc */)) = 0
- tvfsExecTcl(tls, p, ts+34898, /* "xFileControl" */
+ tvfsExecTcl(tls, p, ts+35753, /* "xFileControl" */
tcl.XTcl_NewStringObj(tls, (*TestvfsFd)(unsafe.Pointer(pFd)).FzFilename, -1),
tcl.XTcl_NewStringObj(tls, (*Fcntl)(unsafe.Pointer(bp+16 /* &aF */ +uintptr(i)*16)).FzFnctl, -1),
uintptr(0), uintptr(0))
@@ -77838,7 +79703,7 @@ func tvfsOpen(tls *libc.TLS, pVfs uintptr, zName uintptr, pFile uintptr, flags i
z += (uintptr(libc.Xstrlen(tls, z) + uint64(1)))
}
}
- tvfsExecTcl(tls, p, ts+26888 /* "xOpen" */, tcl.XTcl_NewStringObj(tls, (*TestvfsFd)(unsafe.Pointer(pFd)).FzFilename, -1), pArg, uintptr(0), uintptr(0))
+ tvfsExecTcl(tls, p, ts+27701 /* "xOpen" */, tcl.XTcl_NewStringObj(tls, (*TestvfsFd)(unsafe.Pointer(pFd)).FzFilename, -1), pArg, uintptr(0), uintptr(0))
for ok := true; ok; ok = 0 != 0 {
var _objPtr uintptr = pArg
if libc.PostDecInt32(&(*Tcl_Obj)(unsafe.Pointer((_objPtr))).FrefCount, 1) <= 1 {
@@ -77865,7 +79730,7 @@ func tvfsOpen(tls *libc.TLS, pVfs uintptr, zName uintptr, pFile uintptr, flags i
}
if !(pId != 0) {
- pId = tcl.XTcl_NewStringObj(tls, ts+37935 /* "anon" */, -1)
+ pId = tcl.XTcl_NewStringObj(tls, ts+38790 /* "anon" */, -1)
}
(*Tcl_Obj)(unsafe.Pointer(pId)).FrefCount++
(*TestvfsFd)(unsafe.Pointer(pFd)).FpShmId = pId
@@ -77911,7 +79776,7 @@ func tvfsDelete(tls *libc.TLS, pVfs uintptr, zPath uintptr, dirSync int32) int32
var p uintptr = (*sqlite3_vfs)(unsafe.Pointer(pVfs)).FpAppData
if ((*Testvfs)(unsafe.Pointer(p)).FpScript != 0) && (((*Testvfs)(unsafe.Pointer(p)).Fmask & TESTVFS_DELETE_MASK) != 0) {
- tvfsExecTcl(tls, p, ts+34935, /* "xDelete" */
+ tvfsExecTcl(tls, p, ts+35790, /* "xDelete" */
tcl.XTcl_NewStringObj(tls, zPath, -1), tcl.XTcl_NewIntObj(tls, dirSync), uintptr(0), uintptr(0))
tvfsResultCode(tls, p, bp /* &rc */)
}
@@ -77933,15 +79798,15 @@ func tvfsAccess(tls *libc.TLS, pVfs uintptr, zPath uintptr, flags int32, pResOut
var zArg uintptr = uintptr(0)
if flags == SQLITE_ACCESS_EXISTS {
- zArg = ts + 37940 /* "SQLITE_ACCESS_EX..." */
+ zArg = ts + 38795 /* "SQLITE_ACCESS_EX..." */
}
if flags == SQLITE_ACCESS_READWRITE {
- zArg = ts + 37961 /* "SQLITE_ACCESS_RE..." */
+ zArg = ts + 38816 /* "SQLITE_ACCESS_RE..." */
}
if flags == SQLITE_ACCESS_READ {
- zArg = ts + 37985 /* "SQLITE_ACCESS_RE..." */
+ zArg = ts + 38840 /* "SQLITE_ACCESS_RE..." */
}
- tvfsExecTcl(tls, p, ts+34943, /* "xAccess" */
+ tvfsExecTcl(tls, p, ts+35798, /* "xAccess" */
tcl.XTcl_NewStringObj(tls, zPath, -1), tcl.XTcl_NewStringObj(tls, zArg, -1), uintptr(0), uintptr(0))
if tvfsResultCode(tls, p, bp /* &rc */) != 0 {
if *(*int32)(unsafe.Pointer(bp /* rc */)) != SQLITE_OK {
@@ -77968,7 +79833,7 @@ func tvfsFullPathname(tls *libc.TLS, pVfs uintptr, zPath uintptr, nOut int32, zO
if ((*Testvfs)(unsafe.Pointer(p)).FpScript != 0) && (((*Testvfs)(unsafe.Pointer(p)).Fmask & TESTVFS_FULLPATHNAME_MASK) != 0) {
// var rc int32 at bp, 4
- tvfsExecTcl(tls, p, ts+34951 /* "xFullPathname" */, tcl.XTcl_NewStringObj(tls, zPath, -1), uintptr(0), uintptr(0), uintptr(0))
+ tvfsExecTcl(tls, p, ts+35806 /* "xFullPathname" */, tcl.XTcl_NewStringObj(tls, zPath, -1), uintptr(0), uintptr(0), uintptr(0))
if tvfsResultCode(tls, p, bp /* &rc */) != 0 {
if *(*int32)(unsafe.Pointer(bp /* rc */)) != SQLITE_OK {
return *(*int32)(unsafe.Pointer(bp /* rc */))
@@ -78012,7 +79877,7 @@ func tvfsShmOpen(tls *libc.TLS, pFile uintptr) int32 { /* test_vfs.c:827:12: */
// SCRIPT xShmOpen FILENAME
tcl.XTcl_ResetResult(tls, (*Testvfs)(unsafe.Pointer(p)).Finterp)
if ((*Testvfs)(unsafe.Pointer(p)).FpScript != 0) && (((*Testvfs)(unsafe.Pointer(p)).Fmask & TESTVFS_SHMOPEN_MASK) != 0) {
- tvfsExecTcl(tls, p, ts+38004 /* "xShmOpen" */, tcl.XTcl_NewStringObj(tls, (*TestvfsFd)(unsafe.Pointer(pFd)).FzFilename, -1), uintptr(0), uintptr(0), uintptr(0))
+ tvfsExecTcl(tls, p, ts+38859 /* "xShmOpen" */, tcl.XTcl_NewStringObj(tls, (*TestvfsFd)(unsafe.Pointer(pFd)).FzFilename, -1), uintptr(0), uintptr(0), uintptr(0))
if tvfsResultCode(tls, p, bp /* &rc */) != 0 {
if *(*int32)(unsafe.Pointer(bp /* rc */)) != SQLITE_OK {
return *(*int32)(unsafe.Pointer(bp /* rc */))
@@ -78083,7 +79948,7 @@ func tvfsShmMap(tls *libc.TLS, pFile uintptr, iPage int32, pgsz int32, isWrite i
tcl.XTcl_ListObjAppendElement(tls, (*Testvfs)(unsafe.Pointer(p)).Finterp, pArg, tcl.XTcl_NewIntObj(tls, iPage))
tcl.XTcl_ListObjAppendElement(tls, (*Testvfs)(unsafe.Pointer(p)).Finterp, pArg, tcl.XTcl_NewIntObj(tls, pgsz))
tcl.XTcl_ListObjAppendElement(tls, (*Testvfs)(unsafe.Pointer(p)).Finterp, pArg, tcl.XTcl_NewIntObj(tls, isWrite))
- tvfsExecTcl(tls, p, ts+35028, /* "xShmMap" */
+ tvfsExecTcl(tls, p, ts+35883, /* "xShmMap" */
tcl.XTcl_NewStringObj(tls, (*TestvfsBuffer)(unsafe.Pointer((*TestvfsFd)(unsafe.Pointer(pFd)).FpShm)).FzFile, -1), (*TestvfsFd)(unsafe.Pointer(pFd)).FpShmId, pArg, uintptr(0))
tvfsResultCode(tls, p, bp /* &rc */)
for ok := true; ok; ok = 0 != 0 {
@@ -78123,20 +79988,20 @@ func tvfsShmLock(tls *libc.TLS, pFile uintptr, ofst int32, n int32, flags int32)
}
if ((*Testvfs)(unsafe.Pointer(p)).FpScript != 0) && (((*Testvfs)(unsafe.Pointer(p)).Fmask & TESTVFS_SHMLOCK_MASK) != 0) {
- sqlite3.Xsqlite3_snprintf(tls, int32(unsafe.Sizeof([80]int8{})), bp+16 /* &zLock[0] */, ts+17476 /* "%d %d" */, libc.VaList(bp, ofst, n))
+ sqlite3.Xsqlite3_snprintf(tls, int32(unsafe.Sizeof([80]int8{})), bp+16 /* &zLock[0] */, ts+18265 /* "%d %d" */, libc.VaList(bp, ofst, n))
nLock = int32(libc.Xstrlen(tls, bp+16 /* &zLock[0] */))
if (flags & SQLITE_SHM_LOCK) != 0 {
- libc.Xstrcpy(tls, (bp + 16 /* &zLock */ + uintptr(nLock)), ts+38013 /* " lock" */)
+ libc.Xstrcpy(tls, (bp + 16 /* &zLock */ + uintptr(nLock)), ts+38868 /* " lock" */)
} else {
- libc.Xstrcpy(tls, (bp + 16 /* &zLock */ + uintptr(nLock)), ts+38019 /* " unlock" */)
+ libc.Xstrcpy(tls, (bp + 16 /* &zLock */ + uintptr(nLock)), ts+38874 /* " unlock" */)
}
nLock = nLock + (int32(libc.Xstrlen(tls, (bp + 16 /* &zLock */ + uintptr(nLock)))))
if (flags & SQLITE_SHM_SHARED) != 0 {
- libc.Xstrcpy(tls, (bp + 16 /* &zLock */ + uintptr(nLock)), ts+38027 /* " shared" */)
+ libc.Xstrcpy(tls, (bp + 16 /* &zLock */ + uintptr(nLock)), ts+38882 /* " shared" */)
} else {
- libc.Xstrcpy(tls, (bp + 16 /* &zLock */ + uintptr(nLock)), ts+38035 /* " exclusive" */)
+ libc.Xstrcpy(tls, (bp + 16 /* &zLock */ + uintptr(nLock)), ts+38890 /* " exclusive" */)
}
- tvfsExecTcl(tls, p, ts+35007, /* "xShmLock" */
+ tvfsExecTcl(tls, p, ts+35862, /* "xShmLock" */
tcl.XTcl_NewStringObj(tls, (*TestvfsBuffer)(unsafe.Pointer((*TestvfsFd)(unsafe.Pointer(pFd)).FpShm)).FzFile, -1), (*TestvfsFd)(unsafe.Pointer(pFd)).FpShmId,
tcl.XTcl_NewStringObj(tls, bp+16 /* &zLock[0] */, -1), uintptr(0))
tvfsResultCode(tls, p, bp+96 /* &rc */)
@@ -78149,7 +80014,7 @@ func tvfsShmLock(tls *libc.TLS, pFile uintptr, ofst int32, n int32, flags int32)
if *(*int32)(unsafe.Pointer(bp + 96 /* rc */)) == SQLITE_OK {
var isLock int32 = (flags & SQLITE_SHM_LOCK)
var isExcl int32 = (flags & SQLITE_SHM_EXCLUSIVE)
- var mask u322 = (u322(((int32(1) << n) - 1) << ofst))
+ var mask u32 = (u32(((int32(1) << n) - 1) << ofst))
if isLock != 0 {
var p2 uintptr
for p2 = (*TestvfsBuffer)(unsafe.Pointer((*TestvfsFd)(unsafe.Pointer(pFd)).FpShm)).FpFile; p2 != 0; p2 = (*TestvfsFd)(unsafe.Pointer(p2)).FpNext {
@@ -78163,18 +80028,18 @@ func tvfsShmLock(tls *libc.TLS, pFile uintptr, ofst int32, n int32, flags int32)
}
if *(*int32)(unsafe.Pointer(bp + 96 /* rc */)) == SQLITE_OK {
if isExcl != 0 {
- *(*u322)(unsafe.Pointer(pFd + 40 /* &.excllock */)) |= (mask)
+ *(*u32)(unsafe.Pointer(pFd + 40 /* &.excllock */)) |= (mask)
}
if !(isExcl != 0) {
- *(*u322)(unsafe.Pointer(pFd + 44 /* &.sharedlock */)) |= (mask)
+ *(*u32)(unsafe.Pointer(pFd + 44 /* &.sharedlock */)) |= (mask)
}
}
} else {
if isExcl != 0 {
- *(*u322)(unsafe.Pointer(pFd + 40 /* &.excllock */)) &= (^mask)
+ *(*u32)(unsafe.Pointer(pFd + 40 /* &.excllock */)) &= (^mask)
}
if !(isExcl != 0) {
- *(*u322)(unsafe.Pointer(pFd + 44 /* &.sharedlock */)) &= (^mask)
+ *(*u32)(unsafe.Pointer(pFd + 44 /* &.sharedlock */)) &= (^mask)
}
}
}
@@ -78193,7 +80058,7 @@ func tvfsShmBarrier(tls *libc.TLS, pFile uintptr) { /* test_vfs.c:1004:13: */
} else {
z = ts + 489 /* "" */
}
- tvfsExecTcl(tls, p, ts+35016 /* "xShmBarrier" */, tcl.XTcl_NewStringObj(tls, z, -1), (*TestvfsFd)(unsafe.Pointer(pFd)).FpShmId, uintptr(0), uintptr(0))
+ tvfsExecTcl(tls, p, ts+35871 /* "xShmBarrier" */, tcl.XTcl_NewStringObj(tls, z, -1), (*TestvfsFd)(unsafe.Pointer(pFd)).FpShmId, uintptr(0), uintptr(0))
}
if (*Testvfs)(unsafe.Pointer(p)).FisFullshm != 0 {
@@ -78223,7 +80088,7 @@ func tvfsShmUnmap(tls *libc.TLS, pFile uintptr, deleteFlag int32) int32 { /* tes
}
if ((*Testvfs)(unsafe.Pointer(p)).FpScript != 0) && (((*Testvfs)(unsafe.Pointer(p)).Fmask & TESTVFS_SHMCLOSE_MASK) != 0) {
- tvfsExecTcl(tls, p, ts+34997, /* "xShmUnmap" */
+ tvfsExecTcl(tls, p, ts+35852, /* "xShmUnmap" */
tcl.XTcl_NewStringObj(tls, (*TestvfsBuffer)(unsafe.Pointer((*TestvfsFd)(unsafe.Pointer(pFd)).FpShm)).FzFile, -1), (*TestvfsFd)(unsafe.Pointer(pFd)).FpShmId, uintptr(0), uintptr(0))
tvfsResultCode(tls, p, bp /* &rc */)
}
@@ -78266,15 +80131,15 @@ func testvfs_obj_cmd(tls *libc.TLS, cd ClientData, interp uintptr, objc int32, o
var p uintptr = cd
*(*[10]TestvfsSubcmd)(unsafe.Pointer(bp + 96 /* aSubcmd */)) = [10]TestvfsSubcmd{
- {FzName: ts + 38046 /* "shm" */},
- {FzName: ts + 38050 /* "delete" */, FeCmd: uint32(1) /* CMD_DELETE */},
- {FzName: ts + 38057 /* "filter" */, FeCmd: uint32(2) /* CMD_FILTER */},
- {FzName: ts + 38064 /* "ioerr" */, FeCmd: uint32(3) /* CMD_IOERR */},
- {FzName: ts + 38070 /* "fullerr" */, FeCmd: uint32(7) /* CMD_FULLERR */},
- {FzName: ts + 38078 /* "cantopenerr" */, FeCmd: uint32(8) /* CMD_CANTOPENERR */},
- {FzName: ts + 38090 /* "script" */, FeCmd: uint32(4) /* CMD_SCRIPT */},
- {FzName: ts + 38097 /* "devchar" */, FeCmd: uint32(5) /* CMD_DEVCHAR */},
- {FzName: ts + 38105 /* "sectorsize" */, FeCmd: uint32(6) /* CMD_SECTORSIZE */},
+ {FzName: ts + 38901 /* "shm" */},
+ {FzName: ts + 10601 /* "delete" */, FeCmd: uint32(1) /* CMD_DELETE */},
+ {FzName: ts + 38905 /* "filter" */, FeCmd: uint32(2) /* CMD_FILTER */},
+ {FzName: ts + 38912 /* "ioerr" */, FeCmd: uint32(3) /* CMD_IOERR */},
+ {FzName: ts + 38918 /* "fullerr" */, FeCmd: uint32(7) /* CMD_FULLERR */},
+ {FzName: ts + 38926 /* "cantopenerr" */, FeCmd: uint32(8) /* CMD_CANTOPENERR */},
+ {FzName: ts + 38938 /* "script" */, FeCmd: uint32(4) /* CMD_SCRIPT */},
+ {FzName: ts + 38945 /* "devchar" */, FeCmd: uint32(5) /* CMD_DEVCHAR */},
+ {FzName: ts + 38953 /* "sectorsize" */, FeCmd: uint32(6) /* CMD_SECTORSIZE */},
{},
}
// var i int32 at bp+256, 4
@@ -78284,7 +80149,7 @@ func testvfs_obj_cmd(tls *libc.TLS, cd ClientData, interp uintptr, objc int32, o
return TCL_ERROR
}
if tcl.XTcl_GetIndexFromObjStruct(tls,
- interp, *(*uintptr)(unsafe.Pointer(objv + 1*8)), bp+96 /* &aSubcmd[0] */, int32(unsafe.Sizeof(TestvfsSubcmd{})), ts+38116 /* "subcommand" */, 0, bp+256 /* &i */) != 0 {
+ interp, *(*uintptr)(unsafe.Pointer(objv + 1*8)), bp+96 /* &aSubcmd[0] */, int32(unsafe.Sizeof(TestvfsSubcmd{})), ts+38964 /* "subcommand" */, 0, bp+256 /* &i */) != 0 {
return TCL_ERROR
}
tcl.XTcl_ResetResult(tls, interp)
@@ -78297,7 +80162,7 @@ func testvfs_obj_cmd(tls *libc.TLS, cd ClientData, interp uintptr, objc int32, o
var pBuffer uintptr
var zName uintptr
if (objc != 3) && (objc != 4) {
- tcl.XTcl_WrongNumArgs(tls, interp, 2, objv, ts+38127 /* "FILE ?VALUE?" */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 2, objv, ts+38975 /* "FILE ?VALUE?" */)
return TCL_ERROR
}
zName = tcl.XTcl_Alloc(tls, uint32((*sqlite3_vfs)(unsafe.Pointer((*Testvfs)(unsafe.Pointer(p)).FpParent)).FmxPathname))
@@ -78305,7 +80170,7 @@ func testvfs_obj_cmd(tls *libc.TLS, cd ClientData, interp uintptr, objc int32, o
(*Testvfs)(unsafe.Pointer(p)).FpParent, tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 2*8))),
(*sqlite3_vfs)(unsafe.Pointer((*Testvfs)(unsafe.Pointer(p)).FpParent)).FmxPathname, zName)
if rc != SQLITE_OK {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+38140, /* "failed to get fu..." */
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+38988, /* "failed to get fu..." */
tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 2*8))), 0))
tcl.XTcl_Free(tls, zName)
return TCL_ERROR
@@ -78317,7 +80182,7 @@ func testvfs_obj_cmd(tls *libc.TLS, cd ClientData, interp uintptr, objc int32, o
}
tcl.XTcl_Free(tls, zName)
if !(pBuffer != 0) {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+24, ts+38166 /* "no such file: " */, tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 2*8))), 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+24, ts+39014 /* "no such file: " */, tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 2*8))), 0))
return TCL_ERROR
}
if objc == 4 {
@@ -78360,7 +80225,7 @@ func testvfs_obj_cmd(tls *libc.TLS, cd ClientData, interp uintptr, objc int32, o
*(*int32)(unsafe.Pointer(bp + 264 /* nElem */)) = 0
var mask int32 = 0
if objc != 3 {
- tcl.XTcl_WrongNumArgs(tls, interp, 2, objv, ts+31755 /* "LIST" */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 2, objv, ts+32617 /* "LIST" */)
return TCL_ERROR
}
if tcl.XTcl_ListObjGetElements(tls, interp, *(*uintptr)(unsafe.Pointer(objv + 2*8)), bp+264 /* &nElem */, bp+272 /* &apElem */) != 0 {
@@ -78377,7 +80242,7 @@ func testvfs_obj_cmd(tls *libc.TLS, cd ClientData, interp uintptr, objc int32, o
}
}
if iMethod == (int32(uint64(unsafe.Sizeof(vfsmethod)) / uint64(unsafe.Sizeof(VfsMethod{})))) {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+48, ts+38181 /* "unknown method: " */, zElem, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+48, ts+39029 /* "unknown method: " */, zElem, 0))
return TCL_ERROR
}
}
@@ -78410,7 +80275,7 @@ func testvfs_obj_cmd(tls *libc.TLS, cd ClientData, interp uintptr, objc int32, o
(*Tcl_Obj)(unsafe.Pointer((*Testvfs)(unsafe.Pointer(p)).FpScript)).FrefCount++
}
} else if objc != 2 {
- tcl.XTcl_WrongNumArgs(tls, interp, 2, objv, ts+12940 /* "?SCRIPT?" */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 2, objv, ts+13719 /* "?SCRIPT?" */)
return TCL_ERROR
}
@@ -78469,7 +80334,7 @@ func testvfs_obj_cmd(tls *libc.TLS, cd ClientData, interp uintptr, objc int32, o
}()
(*TestFaultInject)(unsafe.Pointer(pTest)).FiCnt = *(*int32)(unsafe.Pointer(bp + 284 /* iCnt */))
} else if objc != 2 {
- tcl.XTcl_WrongNumArgs(tls, interp, 2, objv, ts+38198 /* "?CNT PERSIST?" */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 2, objv, ts+39046 /* "?CNT PERSIST?" */)
return TCL_ERROR
}
tcl.XTcl_SetObjResult(tls, interp, tcl.XTcl_NewIntObj(tls, iRet))
@@ -78487,28 +80352,28 @@ func testvfs_obj_cmd(tls *libc.TLS, cd ClientData, interp uintptr, objc int32, o
case uint32(5) /* CMD_DEVCHAR */ :
{
*(*[16]DeviceFlag)(unsafe.Pointer(bp + 304 /* aFlag */)) = [16]DeviceFlag{
- {FzName: ts + 38212 /* "default" */, FiValue: -1},
- {FzName: ts + 25870 /* "atomic" */, FiValue: SQLITE_IOCAP_ATOMIC},
- {FzName: ts + 25877 /* "atomic512" */, FiValue: SQLITE_IOCAP_ATOMIC512},
- {FzName: ts + 25887 /* "atomic1k" */, FiValue: SQLITE_IOCAP_ATOMIC1K},
- {FzName: ts + 25896 /* "atomic2k" */, FiValue: SQLITE_IOCAP_ATOMIC2K},
- {FzName: ts + 25905 /* "atomic4k" */, FiValue: SQLITE_IOCAP_ATOMIC4K},
- {FzName: ts + 25914 /* "atomic8k" */, FiValue: SQLITE_IOCAP_ATOMIC8K},
- {FzName: ts + 25923 /* "atomic16k" */, FiValue: SQLITE_IOCAP_ATOMIC16K},
- {FzName: ts + 25933 /* "atomic32k" */, FiValue: SQLITE_IOCAP_ATOMIC32K},
- {FzName: ts + 25943 /* "atomic64k" */, FiValue: SQLITE_IOCAP_ATOMIC64K},
- {FzName: ts + 25953 /* "sequential" */, FiValue: SQLITE_IOCAP_SEQUENTIAL},
- {FzName: ts + 25964 /* "safe_append" */, FiValue: SQLITE_IOCAP_SAFE_APPEND},
- {FzName: ts + 38220 /* "undeletable_when..." */, FiValue: SQLITE_IOCAP_UNDELETABLE_WHEN_OPEN},
- {FzName: ts + 25976 /* "powersafe_overwr..." */, FiValue: SQLITE_IOCAP_POWERSAFE_OVERWRITE},
- {FzName: ts + 38242 /* "immutable" */, FiValue: SQLITE_IOCAP_IMMUTABLE},
+ {FzName: ts + 39060 /* "default" */, FiValue: -1},
+ {FzName: ts + 26683 /* "atomic" */, FiValue: SQLITE_IOCAP_ATOMIC},
+ {FzName: ts + 26690 /* "atomic512" */, FiValue: SQLITE_IOCAP_ATOMIC512},
+ {FzName: ts + 26700 /* "atomic1k" */, FiValue: SQLITE_IOCAP_ATOMIC1K},
+ {FzName: ts + 26709 /* "atomic2k" */, FiValue: SQLITE_IOCAP_ATOMIC2K},
+ {FzName: ts + 26718 /* "atomic4k" */, FiValue: SQLITE_IOCAP_ATOMIC4K},
+ {FzName: ts + 26727 /* "atomic8k" */, FiValue: SQLITE_IOCAP_ATOMIC8K},
+ {FzName: ts + 26736 /* "atomic16k" */, FiValue: SQLITE_IOCAP_ATOMIC16K},
+ {FzName: ts + 26746 /* "atomic32k" */, FiValue: SQLITE_IOCAP_ATOMIC32K},
+ {FzName: ts + 26756 /* "atomic64k" */, FiValue: SQLITE_IOCAP_ATOMIC64K},
+ {FzName: ts + 26766 /* "sequential" */, FiValue: SQLITE_IOCAP_SEQUENTIAL},
+ {FzName: ts + 26777 /* "safe_append" */, FiValue: SQLITE_IOCAP_SAFE_APPEND},
+ {FzName: ts + 39068 /* "undeletable_when..." */, FiValue: SQLITE_IOCAP_UNDELETABLE_WHEN_OPEN},
+ {FzName: ts + 26789 /* "powersafe_overwr..." */, FiValue: SQLITE_IOCAP_POWERSAFE_OVERWRITE},
+ {FzName: ts + 39090 /* "immutable" */, FiValue: SQLITE_IOCAP_IMMUTABLE},
{},
}
var pRet uintptr
var iFlag int32
if objc > 3 {
- tcl.XTcl_WrongNumArgs(tls, interp, 2, objv, ts+38252 /* "?ATTR-LIST?" */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 2, objv, ts+39100 /* "?ATTR-LIST?" */)
return TCL_ERROR
}
if objc == 3 {
@@ -78524,11 +80389,11 @@ func testvfs_obj_cmd(tls *libc.TLS, cd ClientData, interp uintptr, objc int32, o
for j = 0; j < *(*int32)(unsafe.Pointer(bp + 292 /* nFlags */)); j++ {
*(*int32)(unsafe.Pointer(bp + 560 /* idx */)) = 0
if tcl.XTcl_GetIndexFromObjStruct(tls, interp, *(*uintptr)(unsafe.Pointer(*(*uintptr)(unsafe.Pointer(bp + 296 /* flags */)) + uintptr(j)*8)), bp+304, /* &aFlag[0] */
- int32(unsafe.Sizeof(DeviceFlag{})), ts+17196 /* "flag" */, 0, bp+560 /* &idx */) != 0 {
+ int32(unsafe.Sizeof(DeviceFlag{})), ts+17985 /* "flag" */, 0, bp+560 /* &idx */) != 0 {
return TCL_ERROR
}
if ((*DeviceFlag)(unsafe.Pointer(bp+304 /* &aFlag */ +uintptr(*(*int32)(unsafe.Pointer(bp + 560 /* idx */)))*16)).FiValue < 0) && (*(*int32)(unsafe.Pointer(bp + 292 /* nFlags */)) > 1) {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+72, ts+38264 /* "bad flags: " */, tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 2*8))), 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp+72, ts+39112 /* "bad flags: " */, tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 2*8))), 0))
return TCL_ERROR
}
iNew = iNew | ((*DeviceFlag)(unsafe.Pointer(bp + 304 /* &aFlag */ + uintptr(*(*int32)(unsafe.Pointer(bp + 560 /* idx */)))*16)).FiValue)
@@ -78553,7 +80418,7 @@ func testvfs_obj_cmd(tls *libc.TLS, cd ClientData, interp uintptr, objc int32, o
case uint32(6) /* CMD_SECTORSIZE */ :
{
if objc > 3 {
- tcl.XTcl_WrongNumArgs(tls, interp, 2, objv, ts+38276 /* "?VALUE?" */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 2, objv, ts+39124 /* "?VALUE?" */)
return TCL_ERROR
}
if objc == 3 {
@@ -78585,24 +80450,24 @@ type VfsMethod = struct {
} /* test_vfs.c:1179:14 */
var vfsmethod = [18]VfsMethod{
- {FzName: ts + 38004 /* "xShmOpen" */, Fmask: TESTVFS_SHMOPEN_MASK},
- {FzName: ts + 35007 /* "xShmLock" */, Fmask: TESTVFS_SHMLOCK_MASK},
- {FzName: ts + 35016 /* "xShmBarrier" */, Fmask: TESTVFS_SHMBARRIER_MASK},
- {FzName: ts + 34997 /* "xShmUnmap" */, Fmask: TESTVFS_SHMCLOSE_MASK},
- {FzName: ts + 35028 /* "xShmMap" */, Fmask: TESTVFS_SHMMAP_MASK},
- {FzName: ts + 27316 /* "xSync" */, Fmask: TESTVFS_SYNC_MASK},
- {FzName: ts + 34935 /* "xDelete" */, Fmask: TESTVFS_DELETE_MASK},
- {FzName: ts + 34843 /* "xWrite" */, Fmask: TESTVFS_WRITE_MASK},
- {FzName: ts + 34837 /* "xRead" */, Fmask: TESTVFS_READ_MASK},
- {FzName: ts + 34850 /* "xTruncate" */, Fmask: TESTVFS_TRUNCATE_MASK},
- {FzName: ts + 26888 /* "xOpen" */, Fmask: TESTVFS_OPEN_MASK},
- {FzName: ts + 34830 /* "xClose" */, Fmask: TESTVFS_CLOSE_MASK},
- {FzName: ts + 34943 /* "xAccess" */, Fmask: TESTVFS_ACCESS_MASK},
- {FzName: ts + 34951 /* "xFullPathname" */, Fmask: TESTVFS_FULLPATHNAME_MASK},
- {FzName: ts + 34876 /* "xUnlock" */, Fmask: TESTVFS_UNLOCK_MASK},
- {FzName: ts + 34870 /* "xLock" */, Fmask: TESTVFS_LOCK_MASK},
- {FzName: ts + 37870 /* "xCheckReservedLo..." */, Fmask: TESTVFS_CKLOCK_MASK},
- {FzName: ts + 34898 /* "xFileControl" */, Fmask: TESTVFS_FCNTL_MASK},
+ {FzName: ts + 38859 /* "xShmOpen" */, Fmask: TESTVFS_SHMOPEN_MASK},
+ {FzName: ts + 35862 /* "xShmLock" */, Fmask: TESTVFS_SHMLOCK_MASK},
+ {FzName: ts + 35871 /* "xShmBarrier" */, Fmask: TESTVFS_SHMBARRIER_MASK},
+ {FzName: ts + 35852 /* "xShmUnmap" */, Fmask: TESTVFS_SHMCLOSE_MASK},
+ {FzName: ts + 35883 /* "xShmMap" */, Fmask: TESTVFS_SHMMAP_MASK},
+ {FzName: ts + 28129 /* "xSync" */, Fmask: TESTVFS_SYNC_MASK},
+ {FzName: ts + 35790 /* "xDelete" */, Fmask: TESTVFS_DELETE_MASK},
+ {FzName: ts + 35698 /* "xWrite" */, Fmask: TESTVFS_WRITE_MASK},
+ {FzName: ts + 35692 /* "xRead" */, Fmask: TESTVFS_READ_MASK},
+ {FzName: ts + 35705 /* "xTruncate" */, Fmask: TESTVFS_TRUNCATE_MASK},
+ {FzName: ts + 27701 /* "xOpen" */, Fmask: TESTVFS_OPEN_MASK},
+ {FzName: ts + 35685 /* "xClose" */, Fmask: TESTVFS_CLOSE_MASK},
+ {FzName: ts + 35798 /* "xAccess" */, Fmask: TESTVFS_ACCESS_MASK},
+ {FzName: ts + 35806 /* "xFullPathname" */, Fmask: TESTVFS_FULLPATHNAME_MASK},
+ {FzName: ts + 35731 /* "xUnlock" */, Fmask: TESTVFS_UNLOCK_MASK},
+ {FzName: ts + 35725 /* "xLock" */, Fmask: TESTVFS_LOCK_MASK},
+ {FzName: ts + 38725 /* "xCheckReservedLo..." */, Fmask: TESTVFS_CKLOCK_MASK},
+ {FzName: ts + 35753 /* "xFileControl" */, Fmask: TESTVFS_FCNTL_MASK},
} /* test_vfs.c:1182:9 */
func testvfs_obj_del(tls *libc.TLS, cd ClientData) { /* test_vfs.c:1393:27: */
@@ -78700,7 +80565,7 @@ __2:
}
zSwitch = tcl.XTcl_GetStringFromObj(tls, *(*uintptr)(unsafe.Pointer(objv + uintptr(i)*8)), bp /* &nSwitch */)
- if !((*(*int32)(unsafe.Pointer(bp /* nSwitch */)) > 2) && (0 == libc.Xstrncmp(tls, ts+38284 /* "-noshm" */, zSwitch, uint64(*(*int32)(unsafe.Pointer(bp /* nSwitch */)))))) {
+ if !((*(*int32)(unsafe.Pointer(bp /* nSwitch */)) > 2) && (0 == libc.Xstrncmp(tls, ts+39132 /* "-noshm" */, zSwitch, uint64(*(*int32)(unsafe.Pointer(bp /* nSwitch */)))))) {
goto __5
}
if !(tcl.XTcl_GetBooleanFromObj(tls, interp, *(*uintptr)(unsafe.Pointer(objv + uintptr((i+1))*8)), bp+4 /* &isNoshm */) != 0) {
@@ -78717,7 +80582,7 @@ __8:
;
goto __6
__5:
- if !((*(*int32)(unsafe.Pointer(bp /* nSwitch */)) > 2) && (0 == libc.Xstrncmp(tls, ts+26246 /* "-default" */, zSwitch, uint64(*(*int32)(unsafe.Pointer(bp /* nSwitch */)))))) {
+ if !((*(*int32)(unsafe.Pointer(bp /* nSwitch */)) > 2) && (0 == libc.Xstrncmp(tls, ts+27059 /* "-default" */, zSwitch, uint64(*(*int32)(unsafe.Pointer(bp /* nSwitch */)))))) {
goto __9
}
if !(tcl.XTcl_GetBooleanFromObj(tls, interp, *(*uintptr)(unsafe.Pointer(objv + uintptr((i+1))*8)), bp+8 /* &isDefault */) != 0) {
@@ -78728,7 +80593,7 @@ __11:
;
goto __10
__9:
- if !((*(*int32)(unsafe.Pointer(bp /* nSwitch */)) > 2) && (0 == libc.Xstrncmp(tls, ts+38291 /* "-szosfile" */, zSwitch, uint64(*(*int32)(unsafe.Pointer(bp /* nSwitch */)))))) {
+ if !((*(*int32)(unsafe.Pointer(bp /* nSwitch */)) > 2) && (0 == libc.Xstrncmp(tls, ts+39139 /* "-szosfile" */, zSwitch, uint64(*(*int32)(unsafe.Pointer(bp /* nSwitch */)))))) {
goto __12
}
if !(tcl.XTcl_GetIntFromObj(tls, interp, *(*uintptr)(unsafe.Pointer(objv + uintptr((i+1))*8)), bp+12 /* &szOsFile */) != 0) {
@@ -78739,7 +80604,7 @@ __14:
;
goto __13
__12:
- if !((*(*int32)(unsafe.Pointer(bp /* nSwitch */)) > 2) && (0 == libc.Xstrncmp(tls, ts+38301 /* "-mxpathname" */, zSwitch, uint64(*(*int32)(unsafe.Pointer(bp /* nSwitch */)))))) {
+ if !((*(*int32)(unsafe.Pointer(bp /* nSwitch */)) > 2) && (0 == libc.Xstrncmp(tls, ts+39149 /* "-mxpathname" */, zSwitch, uint64(*(*int32)(unsafe.Pointer(bp /* nSwitch */)))))) {
goto __15
}
if !(tcl.XTcl_GetIntFromObj(tls, interp, *(*uintptr)(unsafe.Pointer(objv + uintptr((i+1))*8)), bp+16 /* &mxPathname */) != 0) {
@@ -78750,7 +80615,7 @@ __17:
;
goto __16
__15:
- if !((*(*int32)(unsafe.Pointer(bp /* nSwitch */)) > 2) && (0 == libc.Xstrncmp(tls, ts+38313 /* "-iversion" */, zSwitch, uint64(*(*int32)(unsafe.Pointer(bp /* nSwitch */)))))) {
+ if !((*(*int32)(unsafe.Pointer(bp /* nSwitch */)) > 2) && (0 == libc.Xstrncmp(tls, ts+39161 /* "-iversion" */, zSwitch, uint64(*(*int32)(unsafe.Pointer(bp /* nSwitch */)))))) {
goto __18
}
if !(tcl.XTcl_GetIntFromObj(tls, interp, *(*uintptr)(unsafe.Pointer(objv + uintptr((i+1))*8)), bp+20 /* &iVersion */) != 0) {
@@ -78761,7 +80626,7 @@ __20:
;
goto __19
__18:
- if !((*(*int32)(unsafe.Pointer(bp /* nSwitch */)) > 2) && (0 == libc.Xstrncmp(tls, ts+38323 /* "-fullshm" */, zSwitch, uint64(*(*int32)(unsafe.Pointer(bp /* nSwitch */)))))) {
+ if !((*(*int32)(unsafe.Pointer(bp /* nSwitch */)) > 2) && (0 == libc.Xstrncmp(tls, ts+39171 /* "-fullshm" */, zSwitch, uint64(*(*int32)(unsafe.Pointer(bp /* nSwitch */)))))) {
goto __21
}
if !(tcl.XTcl_GetBooleanFromObj(tls, interp, *(*uintptr)(unsafe.Pointer(objv + uintptr((i+1))*8)), bp+24 /* &isFullshm */) != 0) {
@@ -78850,7 +80715,7 @@ __26:
return TCL_OK
bad_args:
- tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+38332 /* "VFSNAME ?-noshm ..." */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+39180 /* "VFSNAME ?-noshm ..." */)
return TCL_ERROR
}
@@ -78870,8 +80735,8 @@ func test_vfs_shmlock(tls *libc.TLS, clientData uintptr, interp uintptr, objc in
bp := tls.Alloc(88)
defer tls.Free(88)
- *(*[3]uintptr)(unsafe.Pointer(bp + 8 /* azArg1 */)) = [3]uintptr{ts + 38436 /* "shared" */, ts + 13660 /* "exclusive" */, uintptr(0)}
- *(*[3]uintptr)(unsafe.Pointer(bp + 40 /* azArg2 */)) = [3]uintptr{ts + 38443 /* "lock" */, ts + 38448 /* "unlock" */, uintptr(0)}
+ *(*[3]uintptr)(unsafe.Pointer(bp + 8 /* azArg1 */)) = [3]uintptr{ts + 39284 /* "shared" */, ts + 14439 /* "exclusive" */, uintptr(0)}
+ *(*[3]uintptr)(unsafe.Pointer(bp + 40 /* azArg2 */)) = [3]uintptr{ts + 39291 /* "lock" */, ts + 39296 /* "unlock" */, uintptr(0)}
*(*uintptr)(unsafe.Pointer(bp /* db */)) = uintptr(0)
var rc int32 = SQLITE_OK
var zDbname uintptr = uintptr(0)
@@ -78883,14 +80748,14 @@ func test_vfs_shmlock(tls *libc.TLS, clientData uintptr, interp uintptr, objc in
if objc != 7 {
tcl.XTcl_WrongNumArgs(tls, interp, 1, objv,
- ts+38455 /* "DB DBNAME (share..." */)
+ ts+39303 /* "DB DBNAME (share..." */)
return TCL_ERROR
}
zDbname = tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 2*8)))
if ((((getDbPointer(tls, interp, tcl.XTcl_GetString(tls, *(*uintptr)(unsafe.Pointer(objv + 1*8))), bp /* &db */) != 0) ||
- (tcl.XTcl_GetIndexFromObjStruct(tls, interp, *(*uintptr)(unsafe.Pointer(objv + 3*8)), bp+8 /* &azArg1[0] */, int32(unsafe.Sizeof(uintptr(0))), ts+38507 /* "ARG" */, 0, bp+32 /* &iArg1 */) != 0)) ||
- (tcl.XTcl_GetIndexFromObjStruct(tls, interp, *(*uintptr)(unsafe.Pointer(objv + 4*8)), bp+40 /* &azArg2[0] */, int32(unsafe.Sizeof(uintptr(0))), ts+38507 /* "ARG" */, 0, bp+64 /* &iArg2 */) != 0)) ||
+ (tcl.XTcl_GetIndexFromObjStruct(tls, interp, *(*uintptr)(unsafe.Pointer(objv + 3*8)), bp+8 /* &azArg1[0] */, int32(unsafe.Sizeof(uintptr(0))), ts+39355 /* "ARG" */, 0, bp+32 /* &iArg1 */) != 0)) ||
+ (tcl.XTcl_GetIndexFromObjStruct(tls, interp, *(*uintptr)(unsafe.Pointer(objv + 4*8)), bp+40 /* &azArg2[0] */, int32(unsafe.Sizeof(uintptr(0))), ts+39355 /* "ARG" */, 0, bp+64 /* &iArg2 */) != 0)) ||
(tcl.XTcl_GetIntFromObj(tls, interp, *(*uintptr)(unsafe.Pointer(objv + 5*8)), bp+68 /* &iOffset */) != 0)) ||
(tcl.XTcl_GetIntFromObj(tls, interp, *(*uintptr)(unsafe.Pointer(objv + 6*8)), bp+72 /* &n */) != 0) {
return TCL_ERROR
@@ -78933,7 +80798,7 @@ func test_vfs_set_readmark(tls *libc.TLS, clientData uintptr, interp uintptr, ob
var iOff int32
if (objc != 4) && (objc != 5) {
- tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+38511 /* "DB DBNAME SLOT ?..." */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+39359 /* "DB DBNAME SLOT ?..." */)
return TCL_ERROR
}
@@ -78954,28 +80819,28 @@ func test_vfs_set_readmark(tls *libc.TLS, clientData uintptr, interp uintptr, ob
return TCL_ERROR
}
if libc.AtomicLoadPUintptr(bp+40 /* pShm */) == uintptr(0) {
- tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+38534 /* "*-shm is not yet..." */, 0))
+ tcl.XTcl_AppendResult(tls, interp, libc.VaList(bp, ts+39382 /* "*-shm is not yet..." */, 0))
return TCL_ERROR
}
aShm = libc.AtomicLoadPUintptr(bp + 40 /* pShm */)
iOff = (((12 * 2) + 1) + *(*int32)(unsafe.Pointer(bp + 24 /* iSlot */)))
if objc == 5 {
- *(*u322)(unsafe.Pointer(aShm + uintptr(iOff)*4)) = u322(*(*int32)(unsafe.Pointer(bp + 28 /* iVal */)))
+ *(*u32)(unsafe.Pointer(aShm + uintptr(iOff)*4)) = u32(*(*int32)(unsafe.Pointer(bp + 28 /* iVal */)))
}
- tcl.XTcl_SetObjResult(tls, interp, tcl.XTcl_NewIntObj(tls, int32(*(*u322)(unsafe.Pointer(aShm + uintptr(iOff)*4)))))
+ tcl.XTcl_SetObjResult(tls, interp, tcl.XTcl_NewIntObj(tls, int32(*(*u32)(unsafe.Pointer(aShm + uintptr(iOff)*4)))))
return TCL_OK
}
func Sqlitetestvfs_Init(tls *libc.TLS, interp uintptr) int32 { /* test_vfs.c:1685:5: */
- tcl.XTcl_CreateObjCommand(tls, interp, ts+38558 /* "testvfs" */, *(*uintptr)(unsafe.Pointer(&struct {
+ tcl.XTcl_CreateObjCommand(tls, interp, ts+39406 /* "testvfs" */, *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, ClientData, uintptr, int32, uintptr) int32
}{testvfs_cmd})), uintptr(0), uintptr(0))
- tcl.XTcl_CreateObjCommand(tls, interp, ts+38566 /* "vfs_shmlock" */, *(*uintptr)(unsafe.Pointer(&struct {
+ tcl.XTcl_CreateObjCommand(tls, interp, ts+39414 /* "vfs_shmlock" */, *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32
}{test_vfs_shmlock})), uintptr(0), uintptr(0))
- tcl.XTcl_CreateObjCommand(tls, interp, ts+38578 /* "vfs_set_readmark" */, *(*uintptr)(unsafe.Pointer(&struct {
+ tcl.XTcl_CreateObjCommand(tls, interp, ts+39426 /* "vfs_set_readmark" */, *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32
}{test_vfs_set_readmark})), uintptr(0), uintptr(0))
return TCL_OK
@@ -79138,7 +81003,7 @@ func test_create_window(tls *libc.TLS, clientData uintptr, interp uintptr, objc
var rc int32
if objc != 7 {
- tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+38595 /* "DB NAME XSTEP XF..." */)
+ tcl.XTcl_WrongNumArgs(tls, interp, 1, objv, ts+39443 /* "DB NAME XSTEP XF..." */)
return TCL_ERROR
}
@@ -79196,7 +81061,7 @@ __1:
__2:
;
- rc = sqlite3.Xsqlite3_create_window_function(tls, *(*uintptr)(unsafe.Pointer(bp /* db */)), ts+38632 /* "fff" */, -1, SQLITE_UTF8, uintptr(0),
+ rc = sqlite3.Xsqlite3_create_window_function(tls, *(*uintptr)(unsafe.Pointer(bp /* db */)), ts+39480 /* "fff" */, -1, SQLITE_UTF8, uintptr(0),
uintptr(0), *(*uintptr)(unsafe.Pointer(&struct{ f func(*libc.TLS, uintptr) }{testWindowFinal})), *(*uintptr)(unsafe.Pointer(&struct{ f func(*libc.TLS, uintptr) }{testWindowValue})), *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, int32, uintptr)
}{testWindowInverse})),
@@ -79207,7 +81072,7 @@ __2:
goto error
__3:
;
- rc = sqlite3.Xsqlite3_create_window_function(tls, *(*uintptr)(unsafe.Pointer(bp /* db */)), ts+38632 /* "fff" */, -1, SQLITE_UTF8, uintptr(0),
+ rc = sqlite3.Xsqlite3_create_window_function(tls, *(*uintptr)(unsafe.Pointer(bp /* db */)), ts+39480 /* "fff" */, -1, SQLITE_UTF8, uintptr(0),
*(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, int32, uintptr)
}{testWindowStep})), uintptr(0), *(*uintptr)(unsafe.Pointer(&struct{ f func(*libc.TLS, uintptr) }{testWindowValue})), *(*uintptr)(unsafe.Pointer(&struct {
@@ -79220,7 +81085,7 @@ __3:
goto error
__4:
;
- rc = sqlite3.Xsqlite3_create_window_function(tls, *(*uintptr)(unsafe.Pointer(bp /* db */)), ts+38632 /* "fff" */, -1, SQLITE_UTF8, uintptr(0),
+ rc = sqlite3.Xsqlite3_create_window_function(tls, *(*uintptr)(unsafe.Pointer(bp /* db */)), ts+39480 /* "fff" */, -1, SQLITE_UTF8, uintptr(0),
*(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, int32, uintptr)
}{testWindowStep})), *(*uintptr)(unsafe.Pointer(&struct{ f func(*libc.TLS, uintptr) }{testWindowFinal})), uintptr(0), *(*uintptr)(unsafe.Pointer(&struct {
@@ -79233,7 +81098,7 @@ __4:
goto error
__5:
;
- rc = sqlite3.Xsqlite3_create_window_function(tls, *(*uintptr)(unsafe.Pointer(bp /* db */)), ts+38632 /* "fff" */, -1, SQLITE_UTF8, uintptr(0),
+ rc = sqlite3.Xsqlite3_create_window_function(tls, *(*uintptr)(unsafe.Pointer(bp /* db */)), ts+39480 /* "fff" */, -1, SQLITE_UTF8, uintptr(0),
*(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, int32, uintptr)
}{testWindowStep})), *(*uintptr)(unsafe.Pointer(&struct{ f func(*libc.TLS, uintptr) }{testWindowFinal})), *(*uintptr)(unsafe.Pointer(&struct{ f func(*libc.TLS, uintptr) }{testWindowValue})), uintptr(0),
@@ -79248,7 +81113,7 @@ __6:
return TCL_OK
error:
- tcl.XTcl_SetObjResult(tls, interp, tcl.XTcl_NewStringObj(tls, ts+38636 /* "misuse test erro..." */, -1))
+ tcl.XTcl_SetObjResult(tls, interp, tcl.XTcl_NewStringObj(tls, ts+39484 /* "misuse test erro..." */, -1))
return TCL_ERROR
}
@@ -79257,7 +81122,7 @@ func sumintStep(tls *libc.TLS, ctx uintptr, nArg int32, apArg uintptr) { /* test
var pInt uintptr
if sqlite3.Xsqlite3_value_type(tls, *(*uintptr)(unsafe.Pointer(apArg))) != SQLITE_INTEGER {
- sqlite3.Xsqlite3_result_error(tls, ctx, ts+38654 /* "invalid argument" */, -1)
+ sqlite3.Xsqlite3_result_error(tls, ctx, ts+39502 /* "invalid argument" */, -1)
return
}
pInt = sqlite3.Xsqlite3_aggregate_context(tls, ctx, int32(unsafe.Sizeof(sqlite3_int64(0))))
@@ -79311,7 +81176,7 @@ func test_create_sumint(tls *libc.TLS, clientData uintptr, interp uintptr, objc
return TCL_ERROR
}
- rc = sqlite3.Xsqlite3_create_window_function(tls, *(*uintptr)(unsafe.Pointer(bp /* db */)), ts+38671 /* "sumint" */, 1, SQLITE_UTF8, uintptr(0),
+ rc = sqlite3.Xsqlite3_create_window_function(tls, *(*uintptr)(unsafe.Pointer(bp /* db */)), ts+39519 /* "sumint" */, 1, SQLITE_UTF8, uintptr(0),
*(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, int32, uintptr)
}{sumintStep})), *(*uintptr)(unsafe.Pointer(&struct{ f func(*libc.TLS, uintptr) }{sumintFinal})), *(*uintptr)(unsafe.Pointer(&struct{ f func(*libc.TLS, uintptr) }{sumintValue})), *(*uintptr)(unsafe.Pointer(&struct {
@@ -79342,7 +81207,7 @@ func test_override_sum(tls *libc.TLS, clientData uintptr, interp uintptr, objc i
return TCL_ERROR
}
- rc = sqlite3.Xsqlite3_create_function(tls, *(*uintptr)(unsafe.Pointer(bp /* db */)), ts+38678 /* "sum" */, -1, SQLITE_UTF8, uintptr(0),
+ rc = sqlite3.Xsqlite3_create_function(tls, *(*uintptr)(unsafe.Pointer(bp /* db */)), ts+39526 /* "sum" */, -1, SQLITE_UTF8, uintptr(0),
uintptr(0), *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, int32, uintptr)
}{sumintStep})), *(*uintptr)(unsafe.Pointer(&struct{ f func(*libc.TLS, uintptr) }{sumintFinal})))
@@ -79374,10 +81239,10 @@ var aObjCmd14 = [4]struct {
FclientData int32
_ [4]byte
}{
- {FzName: ts + 38682 /* "sqlite3_create_w..." */, FxProc: 0},
- {FzName: ts + 38713 /* "test_create_wind..." */, FxProc: 0},
- {FzName: ts + 38748 /* "test_create_sumi..." */, FxProc: 0},
- {FzName: ts + 38767 /* "test_override_su..." */, FxProc: 0},
+ {FzName: ts + 39530 /* "sqlite3_create_w..." */, FxProc: 0},
+ {FzName: ts + 39561 /* "test_create_wind..." */, FxProc: 0},
+ {FzName: ts + 39596 /* "test_create_sumi..." */, FxProc: 0},
+ {FzName: ts + 39615 /* "test_override_su..." */, FxProc: 0},
} /* test_window.c:336:5 */
// 2008 September 1
@@ -79443,134 +81308,134 @@ func init() {
*(*func(*libc.TLS, ClientData, int64, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&IncrblobChannelType)) + 40 /* .seekProc */)) = incrblobSeek // tclsqlite.c:375:3:
*(*func(*libc.TLS, ClientData, int32))(unsafe.Pointer(uintptr(unsafe.Pointer(&IncrblobChannelType)) + 64 /* .watchProc */)) = incrblobWatch // tclsqlite.c:378:3:
*(*func(*libc.TLS, ClientData, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&IncrblobChannelType)) + 72 /* .getHandleProc */)) = incrblobHandle // tclsqlite.c:379:3:
- *(*func(*libc.TLS, ClientData, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aCmd)) + 8 /* .xProc */)) = f5tCreateTokenizer // fts5_tcl.c:1125:42:
- *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aCmd)) + 32 /* .xProc */)) = f5tTokenizerReturn // fts5_tcl.c:1126:42:
- *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aCmd)) + 56 /* .xProc */)) = f5tTokenize // fts5_tcl.c:1127:42:
- *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aCmd)) + 80 /* .xProc */)) = f5tCreateFunction // fts5_tcl.c:1128:42:
- *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aCmd)) + 104 /* .xProc */)) = f5tMayBeCorrupt // fts5_tcl.c:1129:42:
- *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aCmd)) + 128 /* .xProc */)) = f5tTokenHash // fts5_tcl.c:1130:42:
- *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aCmd)) + 152 /* .xProc */)) = f5tRegisterMatchinfo // fts5_tcl.c:1131:42:
- *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aCmd)) + 176 /* .xProc */)) = f5tRegisterTok // fts5_tcl.c:1132:45:
+ *(*func(*libc.TLS, ClientData, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aCmd)) + 8 /* .xProc */)) = f5tCreateTokenizer // fts5_tcl.c:1129:42:
+ *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aCmd)) + 32 /* .xProc */)) = f5tTokenizerReturn // fts5_tcl.c:1130:42:
+ *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aCmd)) + 56 /* .xProc */)) = f5tTokenize // fts5_tcl.c:1131:42:
+ *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aCmd)) + 80 /* .xProc */)) = f5tCreateFunction // fts5_tcl.c:1132:42:
+ *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aCmd)) + 104 /* .xProc */)) = f5tMayBeCorrupt // fts5_tcl.c:1133:42:
+ *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aCmd)) + 128 /* .xProc */)) = f5tTokenHash // fts5_tcl.c:1134:42:
+ *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aCmd)) + 152 /* .xProc */)) = f5tRegisterMatchinfo // fts5_tcl.c:1135:42:
+ *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aCmd)) + 176 /* .xProc */)) = f5tRegisterTok // fts5_tcl.c:1136:45:
*(*uintptr)(unsafe.Pointer(uintptr(unsafe.Pointer(&aCmd1)) + 8 /* .xProc */)) = *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32
- }{db_enter})) // test1.c:8229:41:
+ }{db_enter})) // test1.c:8289:41:
*(*uintptr)(unsafe.Pointer(uintptr(unsafe.Pointer(&aCmd1)) + 24 /* .xProc */)) = *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32
- }{db_leave})) // test1.c:8230:41:
+ }{db_leave})) // test1.c:8290:41:
*(*uintptr)(unsafe.Pointer(uintptr(unsafe.Pointer(&aCmd1)) + 40 /* .xProc */)) = *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32
- }{sqlite3_mprintf_int})) // test1.c:8231:41:
+ }{sqlite3_mprintf_int})) // test1.c:8291:41:
*(*uintptr)(unsafe.Pointer(uintptr(unsafe.Pointer(&aCmd1)) + 56 /* .xProc */)) = *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32
- }{sqlite3_mprintf_int64})) // test1.c:8232:41:
+ }{sqlite3_mprintf_int64})) // test1.c:8292:41:
*(*uintptr)(unsafe.Pointer(uintptr(unsafe.Pointer(&aCmd1)) + 72 /* .xProc */)) = *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32
- }{sqlite3_mprintf_long})) // test1.c:8233:41:
+ }{sqlite3_mprintf_long})) // test1.c:8293:41:
*(*uintptr)(unsafe.Pointer(uintptr(unsafe.Pointer(&aCmd1)) + 88 /* .xProc */)) = *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32
- }{sqlite3_mprintf_str})) // test1.c:8234:41:
+ }{sqlite3_mprintf_str})) // test1.c:8294:41:
*(*uintptr)(unsafe.Pointer(uintptr(unsafe.Pointer(&aCmd1)) + 104 /* .xProc */)) = *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32
- }{sqlite3_snprintf_str})) // test1.c:8235:41:
+ }{sqlite3_snprintf_str})) // test1.c:8295:41:
*(*uintptr)(unsafe.Pointer(uintptr(unsafe.Pointer(&aCmd1)) + 120 /* .xProc */)) = *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32
- }{sqlite3_mprintf_stronly})) // test1.c:8236:41:
+ }{sqlite3_mprintf_stronly})) // test1.c:8296:41:
*(*uintptr)(unsafe.Pointer(uintptr(unsafe.Pointer(&aCmd1)) + 136 /* .xProc */)) = *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32
- }{sqlite3_mprintf_double})) // test1.c:8237:41:
+ }{sqlite3_mprintf_double})) // test1.c:8297:41:
*(*uintptr)(unsafe.Pointer(uintptr(unsafe.Pointer(&aCmd1)) + 152 /* .xProc */)) = *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32
- }{sqlite3_mprintf_scaled})) // test1.c:8238:41:
+ }{sqlite3_mprintf_scaled})) // test1.c:8298:41:
*(*uintptr)(unsafe.Pointer(uintptr(unsafe.Pointer(&aCmd1)) + 168 /* .xProc */)) = *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32
- }{sqlite3_mprintf_hexdouble})) // test1.c:8239:39:
+ }{sqlite3_mprintf_hexdouble})) // test1.c:8299:39:
*(*uintptr)(unsafe.Pointer(uintptr(unsafe.Pointer(&aCmd1)) + 184 /* .xProc */)) = *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32
- }{test_mprintf_z})) // test1.c:8240:41:
+ }{test_mprintf_z})) // test1.c:8300:41:
*(*uintptr)(unsafe.Pointer(uintptr(unsafe.Pointer(&aCmd1)) + 200 /* .xProc */)) = *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32
- }{test_mprintf_n})) // test1.c:8241:41:
+ }{test_mprintf_n})) // test1.c:8301:41:
*(*uintptr)(unsafe.Pointer(uintptr(unsafe.Pointer(&aCmd1)) + 216 /* .xProc */)) = *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32
- }{test_snprintf_int})) // test1.c:8242:41:
+ }{test_snprintf_int})) // test1.c:8302:41:
*(*uintptr)(unsafe.Pointer(uintptr(unsafe.Pointer(&aCmd1)) + 232 /* .xProc */)) = *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32
- }{test_last_rowid})) // test1.c:8243:41:
+ }{test_last_rowid})) // test1.c:8303:41:
*(*uintptr)(unsafe.Pointer(uintptr(unsafe.Pointer(&aCmd1)) + 248 /* .xProc */)) = *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32
- }{test_exec_printf})) // test1.c:8244:41:
+ }{test_exec_printf})) // test1.c:8304:41:
*(*uintptr)(unsafe.Pointer(uintptr(unsafe.Pointer(&aCmd1)) + 264 /* .xProc */)) = *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32
- }{test_exec_hex})) // test1.c:8245:41:
+ }{test_exec_hex})) // test1.c:8305:41:
*(*uintptr)(unsafe.Pointer(uintptr(unsafe.Pointer(&aCmd1)) + 280 /* .xProc */)) = *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32
- }{test_exec})) // test1.c:8246:41:
+ }{test_exec})) // test1.c:8306:41:
*(*uintptr)(unsafe.Pointer(uintptr(unsafe.Pointer(&aCmd1)) + 296 /* .xProc */)) = *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32
- }{test_exec_nr})) // test1.c:8247:41:
+ }{test_exec_nr})) // test1.c:8307:41:
*(*uintptr)(unsafe.Pointer(uintptr(unsafe.Pointer(&aCmd1)) + 312 /* .xProc */)) = *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32
- }{test_get_table_printf})) // test1.c:8249:41:
+ }{test_get_table_printf})) // test1.c:8309:41:
*(*uintptr)(unsafe.Pointer(uintptr(unsafe.Pointer(&aCmd1)) + 328 /* .xProc */)) = *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32
- }{sqlite_test_close})) // test1.c:8251:41:
+ }{sqlite_test_close})) // test1.c:8311:41:
*(*uintptr)(unsafe.Pointer(uintptr(unsafe.Pointer(&aCmd1)) + 344 /* .xProc */)) = *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32
- }{sqlite_test_close_v2})) // test1.c:8252:41:
+ }{sqlite_test_close_v2})) // test1.c:8312:41:
*(*uintptr)(unsafe.Pointer(uintptr(unsafe.Pointer(&aCmd1)) + 360 /* .xProc */)) = *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32
- }{test_create_function})) // test1.c:8253:41:
+ }{test_create_function})) // test1.c:8313:41:
*(*uintptr)(unsafe.Pointer(uintptr(unsafe.Pointer(&aCmd1)) + 376 /* .xProc */)) = *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32
- }{test_create_aggregate})) // test1.c:8254:41:
+ }{test_create_aggregate})) // test1.c:8314:41:
*(*uintptr)(unsafe.Pointer(uintptr(unsafe.Pointer(&aCmd1)) + 392 /* .xProc */)) = *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32
- }{test_drop_modules})) // test1.c:8255:41:
+ }{test_drop_modules})) // test1.c:8315:41:
*(*uintptr)(unsafe.Pointer(uintptr(unsafe.Pointer(&aCmd1)) + 408 /* .xProc */)) = *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32
- }{test_register_func})) // test1.c:8256:41:
+ }{test_register_func})) // test1.c:8316:41:
*(*uintptr)(unsafe.Pointer(uintptr(unsafe.Pointer(&aCmd1)) + 424 /* .xProc */)) = *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32
- }{sqlite_abort})) // test1.c:8257:41:
+ }{sqlite_abort})) // test1.c:8317:41:
*(*uintptr)(unsafe.Pointer(uintptr(unsafe.Pointer(&aCmd1)) + 440 /* .xProc */)) = *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32
- }{test_bind})) // test1.c:8258:41:
+ }{test_bind})) // test1.c:8318:41:
*(*uintptr)(unsafe.Pointer(uintptr(unsafe.Pointer(&aCmd1)) + 456 /* .xProc */)) = *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32
- }{test_breakpoint})) // test1.c:8259:41:
+ }{test_breakpoint})) // test1.c:8319:41:
*(*uintptr)(unsafe.Pointer(uintptr(unsafe.Pointer(&aCmd1)) + 472 /* .xProc */)) = *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32
- }{test_key})) // test1.c:8260:41:
+ }{test_key})) // test1.c:8320:41:
*(*uintptr)(unsafe.Pointer(uintptr(unsafe.Pointer(&aCmd1)) + 488 /* .xProc */)) = *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32
- }{test_rekey})) // test1.c:8261:41:
+ }{test_rekey})) // test1.c:8321:41:
*(*uintptr)(unsafe.Pointer(uintptr(unsafe.Pointer(&aCmd1)) + 504 /* .xProc */)) = *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32
- }{sqlite_set_magic})) // test1.c:8262:41:
+ }{sqlite_set_magic})) // test1.c:8322:41:
*(*uintptr)(unsafe.Pointer(uintptr(unsafe.Pointer(&aCmd1)) + 520 /* .xProc */)) = *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32
- }{test_interrupt})) // test1.c:8263:41:
+ }{test_interrupt})) // test1.c:8323:41:
*(*uintptr)(unsafe.Pointer(uintptr(unsafe.Pointer(&aCmd1)) + 536 /* .xProc */)) = *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32
- }{delete_function})) // test1.c:8264:41:
+ }{delete_function})) // test1.c:8324:41:
*(*uintptr)(unsafe.Pointer(uintptr(unsafe.Pointer(&aCmd1)) + 552 /* .xProc */)) = *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32
- }{delete_collation})) // test1.c:8265:41:
+ }{delete_collation})) // test1.c:8325:41:
*(*uintptr)(unsafe.Pointer(uintptr(unsafe.Pointer(&aCmd1)) + 568 /* .xProc */)) = *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32
- }{get_autocommit})) // test1.c:8266:41:
+ }{get_autocommit})) // test1.c:8326:41:
*(*uintptr)(unsafe.Pointer(uintptr(unsafe.Pointer(&aCmd1)) + 584 /* .xProc */)) = *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32
- }{test_busy_timeout})) // test1.c:8267:41:
+ }{test_busy_timeout})) // test1.c:8327:41:
*(*uintptr)(unsafe.Pointer(uintptr(unsafe.Pointer(&aCmd1)) + 600 /* .xProc */)) = *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32
- }{test_printf})) // test1.c:8268:41:
+ }{test_printf})) // test1.c:8328:41:
*(*uintptr)(unsafe.Pointer(uintptr(unsafe.Pointer(&aCmd1)) + 616 /* .xProc */)) = *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32
- }{test_io_trace})) // test1.c:8269:39:
+ }{test_io_trace})) // test1.c:8329:39:
*(*uintptr)(unsafe.Pointer(uintptr(unsafe.Pointer(&aCmd1)) + 632 /* .xProc */)) = *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32
- }{clang_sanitize_address})) // test1.c:8270:41:
+ }{clang_sanitize_address})) // test1.c:8330:41:
*(*uintptr)(unsafe.Pointer(uintptr(unsafe.Pointer(&aCmd2)) + 8 /* .xProc */)) = *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32
}{pager_open})) // test2.c:708:34:
@@ -79826,33 +81691,33 @@ func init() {
*(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aCmd9)) + 296 /* .xProc */)) = test_quota_glob // test_quota.c:1967:38:
*(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aCmd9)) + 312 /* .xProc */)) = test_quota_file_available // test_quota.c:1968:38:
*(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aCmd9)) + 328 /* .xProc */)) = test_quota_ferror // test_quota.c:1969:38:
- *(*func(*libc.TLS, uintptr, uintptr, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aExtension)) + 8 /* .pInit */)) = sqlite3_amatch_init // test1.c:7526:32:
- *(*func(*libc.TLS, uintptr, uintptr, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aExtension)) + 24 /* .pInit */)) = sqlite3_appendvfs_init // test1.c:7527:32:
- *(*func(*libc.TLS, uintptr, uintptr, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aExtension)) + 40 /* .pInit */)) = sqlite3_carray_init // test1.c:7528:32:
- *(*func(*libc.TLS, uintptr, uintptr, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aExtension)) + 56 /* .pInit */)) = sqlite3_closure_init // test1.c:7529:32:
- *(*func(*libc.TLS, uintptr, uintptr, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aExtension)) + 72 /* .pInit */)) = sqlite3_csv_init // test1.c:7530:32:
- *(*func(*libc.TLS, uintptr, uintptr, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aExtension)) + 88 /* .pInit */)) = sqlite3_decimal_init // test1.c:7531:32:
- *(*func(*libc.TLS, uintptr, uintptr, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aExtension)) + 104 /* .pInit */)) = sqlite3_eval_init // test1.c:7532:32:
- *(*func(*libc.TLS, uintptr, uintptr, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aExtension)) + 120 /* .pInit */)) = sqlite3_explain_init // test1.c:7533:32:
- *(*func(*libc.TLS, uintptr, uintptr, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aExtension)) + 136 /* .pInit */)) = sqlite3_fileio_init // test1.c:7534:32:
- *(*func(*libc.TLS, uintptr, uintptr, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aExtension)) + 152 /* .pInit */)) = sqlite3_fuzzer_init // test1.c:7535:32:
- *(*func(*libc.TLS, uintptr, uintptr, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aExtension)) + 168 /* .pInit */)) = sqlite3_ieee_init // test1.c:7536:32:
- *(*func(*libc.TLS, uintptr, uintptr, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aExtension)) + 184 /* .pInit */)) = sqlite3_nextchar_init // test1.c:7537:32:
- *(*func(*libc.TLS, uintptr, uintptr, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aExtension)) + 200 /* .pInit */)) = sqlite3_percentile_init // test1.c:7538:32:
- *(*func(*libc.TLS, uintptr, uintptr, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aExtension)) + 216 /* .pInit */)) = sqlite3_prefixes_init // test1.c:7540:32:
- *(*func(*libc.TLS, uintptr, uintptr, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aExtension)) + 232 /* .pInit */)) = sqlite3_regexp_init // test1.c:7542:32:
- *(*func(*libc.TLS, uintptr, uintptr, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aExtension)) + 248 /* .pInit */)) = sqlite3_remember_init // test1.c:7543:32:
- *(*func(*libc.TLS, uintptr, uintptr, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aExtension)) + 264 /* .pInit */)) = sqlite3_series_init // test1.c:7544:32:
- *(*func(*libc.TLS, uintptr, uintptr, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aExtension)) + 280 /* .pInit */)) = sqlite3_spellfix_init // test1.c:7545:32:
- *(*func(*libc.TLS, uintptr, uintptr, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aExtension)) + 296 /* .pInit */)) = sqlite3_totype_init // test1.c:7546:32:
- *(*func(*libc.TLS, uintptr, uintptr, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aExtension)) + 312 /* .pInit */)) = sqlite3_unionvtab_init // test1.c:7547:32:
- *(*func(*libc.TLS, uintptr, uintptr, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aExtension)) + 328 /* .pInit */)) = sqlite3_wholenumber_init // test1.c:7548:32:
- *(*func(*libc.TLS, uintptr, uintptr, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aExtension)) + 344 /* .pInit */)) = sqlite3_zipfile_init // test1.c:7550:32:
- *(*func(*libc.TLS, uintptr, int32, uintptr))(unsafe.Pointer(uintptr(unsafe.Pointer(&aFunc)) + 16 /* .xFunc */)) = decimalFunc // decimal.c:607:29:
- *(*func(*libc.TLS, uintptr, int32, uintptr))(unsafe.Pointer(uintptr(unsafe.Pointer(&aFunc)) + 40 /* .xFunc */)) = decimalCmpFunc // decimal.c:608:29:
- *(*func(*libc.TLS, uintptr, int32, uintptr))(unsafe.Pointer(uintptr(unsafe.Pointer(&aFunc)) + 64 /* .xFunc */)) = decimalAddFunc // decimal.c:609:29:
- *(*func(*libc.TLS, uintptr, int32, uintptr))(unsafe.Pointer(uintptr(unsafe.Pointer(&aFunc)) + 88 /* .xFunc */)) = decimalSubFunc // decimal.c:610:29:
- *(*func(*libc.TLS, uintptr, int32, uintptr))(unsafe.Pointer(uintptr(unsafe.Pointer(&aFunc)) + 112 /* .xFunc */)) = decimalMulFunc // decimal.c:611:29:
+ *(*func(*libc.TLS, uintptr, uintptr, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aExtension)) + 8 /* .pInit */)) = sqlite3_amatch_init // test1.c:7586:32:
+ *(*func(*libc.TLS, uintptr, uintptr, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aExtension)) + 24 /* .pInit */)) = sqlite3_appendvfs_init // test1.c:7587:32:
+ *(*func(*libc.TLS, uintptr, uintptr, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aExtension)) + 40 /* .pInit */)) = sqlite3_carray_init // test1.c:7588:32:
+ *(*func(*libc.TLS, uintptr, uintptr, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aExtension)) + 56 /* .pInit */)) = sqlite3_closure_init // test1.c:7589:32:
+ *(*func(*libc.TLS, uintptr, uintptr, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aExtension)) + 72 /* .pInit */)) = sqlite3_csv_init // test1.c:7590:32:
+ *(*func(*libc.TLS, uintptr, uintptr, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aExtension)) + 88 /* .pInit */)) = sqlite3_decimal_init // test1.c:7591:32:
+ *(*func(*libc.TLS, uintptr, uintptr, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aExtension)) + 104 /* .pInit */)) = sqlite3_eval_init // test1.c:7592:32:
+ *(*func(*libc.TLS, uintptr, uintptr, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aExtension)) + 120 /* .pInit */)) = sqlite3_explain_init // test1.c:7593:32:
+ *(*func(*libc.TLS, uintptr, uintptr, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aExtension)) + 136 /* .pInit */)) = sqlite3_fileio_init // test1.c:7594:32:
+ *(*func(*libc.TLS, uintptr, uintptr, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aExtension)) + 152 /* .pInit */)) = sqlite3_fuzzer_init // test1.c:7595:32:
+ *(*func(*libc.TLS, uintptr, uintptr, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aExtension)) + 168 /* .pInit */)) = sqlite3_ieee_init // test1.c:7596:32:
+ *(*func(*libc.TLS, uintptr, uintptr, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aExtension)) + 184 /* .pInit */)) = sqlite3_nextchar_init // test1.c:7597:32:
+ *(*func(*libc.TLS, uintptr, uintptr, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aExtension)) + 200 /* .pInit */)) = sqlite3_percentile_init // test1.c:7598:32:
+ *(*func(*libc.TLS, uintptr, uintptr, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aExtension)) + 216 /* .pInit */)) = sqlite3_prefixes_init // test1.c:7600:32:
+ *(*func(*libc.TLS, uintptr, uintptr, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aExtension)) + 232 /* .pInit */)) = sqlite3_regexp_init // test1.c:7602:32:
+ *(*func(*libc.TLS, uintptr, uintptr, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aExtension)) + 248 /* .pInit */)) = sqlite3_remember_init // test1.c:7603:32:
+ *(*func(*libc.TLS, uintptr, uintptr, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aExtension)) + 264 /* .pInit */)) = sqlite3_series_init // test1.c:7604:32:
+ *(*func(*libc.TLS, uintptr, uintptr, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aExtension)) + 280 /* .pInit */)) = sqlite3_spellfix_init // test1.c:7605:32:
+ *(*func(*libc.TLS, uintptr, uintptr, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aExtension)) + 296 /* .pInit */)) = sqlite3_totype_init // test1.c:7606:32:
+ *(*func(*libc.TLS, uintptr, uintptr, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aExtension)) + 312 /* .pInit */)) = sqlite3_unionvtab_init // test1.c:7607:32:
+ *(*func(*libc.TLS, uintptr, uintptr, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aExtension)) + 328 /* .pInit */)) = sqlite3_wholenumber_init // test1.c:7608:32:
+ *(*func(*libc.TLS, uintptr, uintptr, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aExtension)) + 344 /* .pInit */)) = sqlite3_zipfile_init // test1.c:7610:32:
+ *(*func(*libc.TLS, uintptr, int32, uintptr))(unsafe.Pointer(uintptr(unsafe.Pointer(&aFunc)) + 16 /* .xFunc */)) = decimalFunc // decimal.c:608:29:
+ *(*func(*libc.TLS, uintptr, int32, uintptr))(unsafe.Pointer(uintptr(unsafe.Pointer(&aFunc)) + 40 /* .xFunc */)) = decimalCmpFunc // decimal.c:609:29:
+ *(*func(*libc.TLS, uintptr, int32, uintptr))(unsafe.Pointer(uintptr(unsafe.Pointer(&aFunc)) + 64 /* .xFunc */)) = decimalAddFunc // decimal.c:610:29:
+ *(*func(*libc.TLS, uintptr, int32, uintptr))(unsafe.Pointer(uintptr(unsafe.Pointer(&aFunc)) + 88 /* .xFunc */)) = decimalSubFunc // decimal.c:611:29:
+ *(*func(*libc.TLS, uintptr, int32, uintptr))(unsafe.Pointer(uintptr(unsafe.Pointer(&aFunc)) + 112 /* .xFunc */)) = decimalMulFunc // decimal.c:612:29:
*(*func(*libc.TLS, uintptr, int32, uintptr))(unsafe.Pointer(uintptr(unsafe.Pointer(&aFunc1)) + 16 /* .xFunc */)) = ieee754func // ieee754.c:270:36:
*(*func(*libc.TLS, uintptr, int32, uintptr))(unsafe.Pointer(uintptr(unsafe.Pointer(&aFunc1)) + 40 /* .xFunc */)) = ieee754func // ieee754.c:271:36:
*(*func(*libc.TLS, uintptr, int32, uintptr))(unsafe.Pointer(uintptr(unsafe.Pointer(&aFunc1)) + 64 /* .xFunc */)) = ieee754func // ieee754.c:272:36:
@@ -79884,212 +81749,213 @@ func init() {
*(*func(*libc.TLS, ClientData, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd)) + 40 /* .xProc */)) = test_sqlite3rbu_create_vfs // test_rbu.c:372:32:
*(*func(*libc.TLS, ClientData, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd)) + 56 /* .xProc */)) = test_sqlite3rbu_destroy_vfs // test_rbu.c:373:33:
*(*func(*libc.TLS, ClientData, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd)) + 72 /* .xProc */)) = test_sqlite3rbu_internal_test // test_rbu.c:374:35:
- *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 8 /* .xProc */)) = test_sqlite3_db_config // test1.c:8277:41:
- *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 32 /* .xProc */)) = test_sqlite3_txn_state // test1.c:8278:41:
- *(*func(*libc.TLS, ClientData, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 56 /* .xProc */)) = test_bad_behavior // test1.c:8279:41:
- *(*uintptr)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 64 /* .clientData */)) = uintptr(unsafe.Pointer(&iZero)) // test1.c:8279:61:
- *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 80 /* .xProc */)) = test_register_dbstat_vtab // test1.c:8280:41:
- *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 104 /* .xProc */)) = get_sqlite_pointer // test1.c:8281:41:
- *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 128 /* .xProc */)) = test_intarray_addr // test1.c:8282:41:
- *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 152 /* .xProc */)) = test_int64array_addr // test1.c:8283:41:
- *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 176 /* .xProc */)) = test_doublearray_addr // test1.c:8284:41:
- *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 200 /* .xProc */)) = test_textarray_addr // test1.c:8285:41:
- *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 224 /* .xProc */)) = test_bind_int // test1.c:8286:41:
- *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 248 /* .xProc */)) = test_bind_zeroblob // test1.c:8287:41:
- *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 272 /* .xProc */)) = test_bind_zeroblob64 // test1.c:8288:41:
- *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 296 /* .xProc */)) = test_bind_int64 // test1.c:8289:41:
- *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 320 /* .xProc */)) = test_bind_double // test1.c:8290:41:
- *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 344 /* .xProc */)) = test_bind_null // test1.c:8291:41:
- *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 368 /* .xProc */)) = test_bind_text // test1.c:8292:41:
- *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 392 /* .xProc */)) = test_bind_text16 // test1.c:8293:41:
- *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 416 /* .xProc */)) = test_bind_blob // test1.c:8294:41:
- *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 440 /* .xProc */)) = test_carray_bind // test1.c:8296:41:
- *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 464 /* .xProc */)) = test_bind_parameter_count // test1.c:8298:41:
- *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 488 /* .xProc */)) = test_bind_parameter_name // test1.c:8299:41:
- *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 512 /* .xProc */)) = test_bind_parameter_index // test1.c:8300:41:
- *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 536 /* .xProc */)) = test_clear_bindings // test1.c:8301:41:
- *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 560 /* .xProc */)) = test_sleep // test1.c:8302:41:
- *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 584 /* .xProc */)) = test_errcode // test1.c:8303:41:
- *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 608 /* .xProc */)) = test_ex_errcode // test1.c:8304:41:
- *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 632 /* .xProc */)) = test_errmsg // test1.c:8305:41:
- *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 656 /* .xProc */)) = test_errmsg16 // test1.c:8306:41:
- *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 680 /* .xProc */)) = test_open // test1.c:8307:41:
- *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 704 /* .xProc */)) = test_open16 // test1.c:8308:41:
- *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 728 /* .xProc */)) = test_open_v2 // test1.c:8309:41:
- *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 752 /* .xProc */)) = test_complete16 // test1.c:8310:41:
- *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 776 /* .xProc */)) = test_normalize // test1.c:8311:41:
- *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 800 /* .xProc */)) = test_prepare // test1.c:8313:41:
- *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 824 /* .xProc */)) = test_prepare16 // test1.c:8314:41:
- *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 848 /* .xProc */)) = test_prepare_v2 // test1.c:8315:41:
- *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 872 /* .xProc */)) = test_prepare_v3 // test1.c:8316:41:
- *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 896 /* .xProc */)) = test_prepare_tkt3134 // test1.c:8317:41:
- *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 920 /* .xProc */)) = test_prepare16_v2 // test1.c:8318:41:
- *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 944 /* .xProc */)) = test_finalize // test1.c:8319:41:
- *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 968 /* .xProc */)) = test_stmt_status // test1.c:8320:41:
- *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 992 /* .xProc */)) = test_reset // test1.c:8321:41:
- *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 1016 /* .xProc */)) = test_expired // test1.c:8322:41:
- *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 1040 /* .xProc */)) = test_transfer_bind // test1.c:8323:41:
- *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 1064 /* .xProc */)) = test_changes // test1.c:8324:41:
- *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 1088 /* .xProc */)) = test_step // test1.c:8325:41:
- *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 1112 /* .xProc */)) = test_sql // test1.c:8326:41:
- *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 1136 /* .xProc */)) = test_ex_sql // test1.c:8327:41:
- *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 1160 /* .xProc */)) = test_next_stmt // test1.c:8331:41:
- *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 1184 /* .xProc */)) = test_stmt_readonly // test1.c:8332:41:
- *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 1208 /* .xProc */)) = test_stmt_isexplain // test1.c:8333:41:
- *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 1232 /* .xProc */)) = test_stmt_busy // test1.c:8334:41:
- *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 1256 /* .xProc */)) = uses_stmt_journal // test1.c:8335:41:
- *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 1280 /* .xProc */)) = test_release_memory // test1.c:8337:41:
- *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 1304 /* .xProc */)) = test_db_release_memory // test1.c:8338:41:
- *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 1328 /* .xProc */)) = test_db_cacheflush // test1.c:8339:41:
- *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 1352 /* .xProc */)) = test_system_errno // test1.c:8340:41:
- *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 1376 /* .xProc */)) = test_db_filename // test1.c:8341:41:
- *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 1400 /* .xProc */)) = test_db_readonly // test1.c:8342:41:
- *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 1424 /* .xProc */)) = test_soft_heap_limit // test1.c:8343:41:
- *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 1448 /* .xProc */)) = test_soft_heap_limit // test1.c:8344:41:
- *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 1472 /* .xProc */)) = test_hard_heap_limit // test1.c:8345:41:
- *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 1496 /* .xProc */)) = test_thread_cleanup // test1.c:8346:41:
- *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 1520 /* .xProc */)) = test_pager_refcounts // test1.c:8347:41:
- *(*func(*libc.TLS, ClientData, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 1544 /* .xProc */)) = test_load_extension // test1.c:8349:41:
- *(*func(*libc.TLS, ClientData, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 1568 /* .xProc */)) = test_enable_load // test1.c:8350:41:
- *(*func(*libc.TLS, ClientData, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 1592 /* .xProc */)) = test_extended_result_codes // test1.c:8351:41:
- *(*func(*libc.TLS, ClientData, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 1616 /* .xProc */)) = test_limit // test1.c:8352:41:
- *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 1640 /* .xProc */)) = test_dbconfig_maindbname_icecube // test1.c:8353:41:
- *(*func(*libc.TLS, ClientData, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 1664 /* .xProc */)) = save_prng_state // test1.c:8355:41:
- *(*func(*libc.TLS, ClientData, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 1688 /* .xProc */)) = restore_prng_state // test1.c:8356:41:
- *(*func(*libc.TLS, ClientData, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 1712 /* .xProc */)) = reset_prng_state // test1.c:8357:41:
- *(*func(*libc.TLS, ClientData, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 1736 /* .xProc */)) = prng_seed // test1.c:8358:41:
- *(*func(*libc.TLS, ClientData, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 1760 /* .xProc */)) = extra_schema_checks // test1.c:8359:41:
- *(*func(*libc.TLS, ClientData, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 1784 /* .xProc */)) = database_never_corrupt // test1.c:8360:41:
- *(*func(*libc.TLS, ClientData, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 1808 /* .xProc */)) = database_may_be_corrupt // test1.c:8361:41:
- *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 1832 /* .xProc */)) = optimization_control // test1.c:8362:41:
- *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 1856 /* .xProc */)) = runAsObjProc // test1.c:8371:41:
- *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 1880 /* .xProc */)) = test_column_count // test1.c:8374:41:
- *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 1904 /* .xProc */)) = test_data_count // test1.c:8375:41:
- *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 1928 /* .xProc */)) = test_column_type // test1.c:8376:41:
- *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 1952 /* .xProc */)) = test_column_blob // test1.c:8377:41:
- *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 1976 /* .xProc */)) = test_column_double // test1.c:8378:41:
- *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 2000 /* .xProc */)) = test_column_int64 // test1.c:8379:41:
- *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 2024 /* .xProc */)) = test_stmt_utf8 // test1.c:8380:33:
+ *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 8 /* .xProc */)) = test_sqlite3_db_config // test1.c:8337:41:
+ *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 32 /* .xProc */)) = test_sqlite3_txn_state // test1.c:8338:41:
+ *(*func(*libc.TLS, ClientData, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 56 /* .xProc */)) = test_bad_behavior // test1.c:8339:41:
+ *(*uintptr)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 64 /* .clientData */)) = uintptr(unsafe.Pointer(&iZero)) // test1.c:8339:61:
+ *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 80 /* .xProc */)) = test_register_dbstat_vtab // test1.c:8340:41:
+ *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 104 /* .xProc */)) = get_sqlite_pointer // test1.c:8341:41:
+ *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 128 /* .xProc */)) = test_intarray_addr // test1.c:8342:41:
+ *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 152 /* .xProc */)) = test_int64array_addr // test1.c:8343:41:
+ *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 176 /* .xProc */)) = test_doublearray_addr // test1.c:8344:41:
+ *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 200 /* .xProc */)) = test_textarray_addr // test1.c:8345:41:
+ *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 224 /* .xProc */)) = test_bind_int // test1.c:8346:41:
+ *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 248 /* .xProc */)) = test_bind_zeroblob // test1.c:8347:41:
+ *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 272 /* .xProc */)) = test_bind_zeroblob64 // test1.c:8348:41:
+ *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 296 /* .xProc */)) = test_bind_int64 // test1.c:8349:41:
+ *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 320 /* .xProc */)) = test_bind_double // test1.c:8350:41:
+ *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 344 /* .xProc */)) = test_bind_null // test1.c:8351:41:
+ *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 368 /* .xProc */)) = test_bind_text // test1.c:8352:41:
+ *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 392 /* .xProc */)) = test_bind_text16 // test1.c:8353:41:
+ *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 416 /* .xProc */)) = test_bind_blob // test1.c:8354:41:
+ *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 440 /* .xProc */)) = test_carray_bind // test1.c:8356:41:
+ *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 464 /* .xProc */)) = test_bind_parameter_count // test1.c:8358:41:
+ *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 488 /* .xProc */)) = test_bind_parameter_name // test1.c:8359:41:
+ *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 512 /* .xProc */)) = test_bind_parameter_index // test1.c:8360:41:
+ *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 536 /* .xProc */)) = test_clear_bindings // test1.c:8361:41:
+ *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 560 /* .xProc */)) = test_sleep // test1.c:8362:41:
+ *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 584 /* .xProc */)) = test_errcode // test1.c:8363:41:
+ *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 608 /* .xProc */)) = test_ex_errcode // test1.c:8364:41:
+ *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 632 /* .xProc */)) = test_errmsg // test1.c:8365:41:
+ *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 656 /* .xProc */)) = test_errmsg16 // test1.c:8366:41:
+ *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 680 /* .xProc */)) = test_open // test1.c:8367:41:
+ *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 704 /* .xProc */)) = test_open16 // test1.c:8368:41:
+ *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 728 /* .xProc */)) = test_open_v2 // test1.c:8369:41:
+ *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 752 /* .xProc */)) = test_complete16 // test1.c:8370:41:
+ *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 776 /* .xProc */)) = test_normalize // test1.c:8371:41:
+ *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 800 /* .xProc */)) = test_prepare // test1.c:8373:41:
+ *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 824 /* .xProc */)) = test_prepare16 // test1.c:8374:41:
+ *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 848 /* .xProc */)) = test_prepare_v2 // test1.c:8375:41:
+ *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 872 /* .xProc */)) = test_prepare_v3 // test1.c:8376:41:
+ *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 896 /* .xProc */)) = test_prepare_tkt3134 // test1.c:8377:41:
+ *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 920 /* .xProc */)) = test_prepare16_v2 // test1.c:8378:41:
+ *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 944 /* .xProc */)) = test_finalize // test1.c:8379:41:
+ *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 968 /* .xProc */)) = test_stmt_status // test1.c:8380:41:
+ *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 992 /* .xProc */)) = test_reset // test1.c:8381:41:
+ *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 1016 /* .xProc */)) = test_expired // test1.c:8382:41:
+ *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 1040 /* .xProc */)) = test_transfer_bind // test1.c:8383:41:
+ *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 1064 /* .xProc */)) = test_changes // test1.c:8384:41:
+ *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 1088 /* .xProc */)) = test_step // test1.c:8385:41:
+ *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 1112 /* .xProc */)) = test_sql // test1.c:8386:41:
+ *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 1136 /* .xProc */)) = test_ex_sql // test1.c:8387:41:
+ *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 1160 /* .xProc */)) = test_next_stmt // test1.c:8391:41:
+ *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 1184 /* .xProc */)) = test_stmt_readonly // test1.c:8392:41:
+ *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 1208 /* .xProc */)) = test_stmt_isexplain // test1.c:8393:41:
+ *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 1232 /* .xProc */)) = test_stmt_busy // test1.c:8394:41:
+ *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 1256 /* .xProc */)) = uses_stmt_journal // test1.c:8395:41:
+ *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 1280 /* .xProc */)) = test_release_memory // test1.c:8397:41:
+ *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 1304 /* .xProc */)) = test_db_release_memory // test1.c:8398:41:
+ *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 1328 /* .xProc */)) = test_db_cacheflush // test1.c:8399:41:
+ *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 1352 /* .xProc */)) = test_system_errno // test1.c:8400:41:
+ *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 1376 /* .xProc */)) = test_db_filename // test1.c:8401:41:
+ *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 1400 /* .xProc */)) = test_db_readonly // test1.c:8402:41:
+ *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 1424 /* .xProc */)) = test_soft_heap_limit // test1.c:8403:41:
+ *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 1448 /* .xProc */)) = test_soft_heap_limit // test1.c:8404:41:
+ *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 1472 /* .xProc */)) = test_hard_heap_limit // test1.c:8405:41:
+ *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 1496 /* .xProc */)) = test_thread_cleanup // test1.c:8406:41:
+ *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 1520 /* .xProc */)) = test_pager_refcounts // test1.c:8407:41:
+ *(*func(*libc.TLS, ClientData, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 1544 /* .xProc */)) = test_load_extension // test1.c:8409:41:
+ *(*func(*libc.TLS, ClientData, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 1568 /* .xProc */)) = test_enable_load // test1.c:8410:41:
+ *(*func(*libc.TLS, ClientData, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 1592 /* .xProc */)) = test_extended_result_codes // test1.c:8411:41:
+ *(*func(*libc.TLS, ClientData, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 1616 /* .xProc */)) = test_limit // test1.c:8412:41:
+ *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 1640 /* .xProc */)) = test_dbconfig_maindbname_icecube // test1.c:8413:41:
+ *(*func(*libc.TLS, ClientData, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 1664 /* .xProc */)) = save_prng_state // test1.c:8415:41:
+ *(*func(*libc.TLS, ClientData, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 1688 /* .xProc */)) = restore_prng_state // test1.c:8416:41:
+ *(*func(*libc.TLS, ClientData, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 1712 /* .xProc */)) = reset_prng_state // test1.c:8417:41:
+ *(*func(*libc.TLS, ClientData, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 1736 /* .xProc */)) = prng_seed // test1.c:8418:41:
+ *(*func(*libc.TLS, ClientData, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 1760 /* .xProc */)) = extra_schema_checks // test1.c:8419:41:
+ *(*func(*libc.TLS, ClientData, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 1784 /* .xProc */)) = database_never_corrupt // test1.c:8420:41:
+ *(*func(*libc.TLS, ClientData, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 1808 /* .xProc */)) = database_may_be_corrupt // test1.c:8421:41:
+ *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 1832 /* .xProc */)) = optimization_control // test1.c:8422:41:
+ *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 1856 /* .xProc */)) = runAsObjProc // test1.c:8431:41:
+ *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 1880 /* .xProc */)) = test_column_count // test1.c:8434:41:
+ *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 1904 /* .xProc */)) = test_data_count // test1.c:8435:41:
+ *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 1928 /* .xProc */)) = test_column_type // test1.c:8436:41:
+ *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 1952 /* .xProc */)) = test_column_blob // test1.c:8437:41:
+ *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 1976 /* .xProc */)) = test_column_double // test1.c:8438:41:
+ *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 2000 /* .xProc */)) = test_column_int64 // test1.c:8439:41:
+ *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 2024 /* .xProc */)) = test_stmt_utf8 // test1.c:8440:33:
*(*uintptr)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 2032 /* .clientData */)) = *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, int32) uintptr
- }{sqlite3.Xsqlite3_column_text})) // test1.c:8380:50:
- *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 2048 /* .xProc */)) = test_stmt_utf8 // test1.c:8381:33:
+ }{sqlite3.Xsqlite3_column_text})) // test1.c:8440:50:
+ *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 2048 /* .xProc */)) = test_stmt_utf8 // test1.c:8441:33:
*(*uintptr)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 2056 /* .clientData */)) = *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, int32) uintptr
- }{sqlite3.Xsqlite3_column_name})) // test1.c:8381:50:
- *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 2072 /* .xProc */)) = test_stmt_int // test1.c:8382:33:
+ }{sqlite3.Xsqlite3_column_name})) // test1.c:8441:50:
+ *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 2072 /* .xProc */)) = test_stmt_int // test1.c:8442:33:
*(*uintptr)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 2080 /* .clientData */)) = *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, int32) int32
- }{sqlite3.Xsqlite3_column_int})) // test1.c:8382:50:
- *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 2096 /* .xProc */)) = test_stmt_int // test1.c:8383:33:
+ }{sqlite3.Xsqlite3_column_int})) // test1.c:8442:50:
+ *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 2096 /* .xProc */)) = test_stmt_int // test1.c:8443:33:
*(*uintptr)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 2104 /* .clientData */)) = *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, int32) int32
- }{sqlite3.Xsqlite3_column_bytes})) // test1.c:8383:50:
- *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 2120 /* .xProc */)) = test_stmt_utf8 // test1.c:8385:34:
+ }{sqlite3.Xsqlite3_column_bytes})) // test1.c:8443:50:
+ *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 2120 /* .xProc */)) = test_stmt_utf8 // test1.c:8445:34:
*(*uintptr)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 2128 /* .clientData */)) = *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, int32) uintptr
- }{sqlite3.Xsqlite3_column_decltype})) // test1.c:8385:49:
- *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 2144 /* .xProc */)) = test_stmt_utf8 // test1.c:8388:34:
+ }{sqlite3.Xsqlite3_column_decltype})) // test1.c:8445:49:
+ *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 2144 /* .xProc */)) = test_stmt_utf8 // test1.c:8448:34:
*(*uintptr)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 2152 /* .clientData */)) = *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, int32) uintptr
- }{sqlite3.Xsqlite3_column_database_name})) // test1.c:8388:49:
- *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 2168 /* .xProc */)) = test_stmt_utf8 // test1.c:8389:31:
+ }{sqlite3.Xsqlite3_column_database_name})) // test1.c:8448:49:
+ *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 2168 /* .xProc */)) = test_stmt_utf8 // test1.c:8449:31:
*(*uintptr)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 2176 /* .clientData */)) = *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, int32) uintptr
- }{sqlite3.Xsqlite3_column_table_name})) // test1.c:8389:46:
- *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 2192 /* .xProc */)) = test_stmt_utf8 // test1.c:8390:32:
+ }{sqlite3.Xsqlite3_column_table_name})) // test1.c:8449:46:
+ *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 2192 /* .xProc */)) = test_stmt_utf8 // test1.c:8450:32:
*(*uintptr)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 2200 /* .clientData */)) = *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, int32) uintptr
- }{sqlite3.Xsqlite3_column_origin_name})) // test1.c:8390:47:
- *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 2216 /* .xProc */)) = test_stmt_int // test1.c:8394:34:
+ }{sqlite3.Xsqlite3_column_origin_name})) // test1.c:8450:47:
+ *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 2216 /* .xProc */)) = test_stmt_int // test1.c:8454:34:
*(*uintptr)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 2224 /* .clientData */)) = *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, int32) int32
- }{sqlite3.Xsqlite3_column_bytes16})) // test1.c:8394:49:
- *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 2240 /* .xProc */)) = test_stmt_utf16 // test1.c:8395:34:
+ }{sqlite3.Xsqlite3_column_bytes16})) // test1.c:8454:49:
+ *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 2240 /* .xProc */)) = test_stmt_utf16 // test1.c:8455:34:
*(*uintptr)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 2248 /* .clientData */)) = *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, int32) uintptr
- }{sqlite3.Xsqlite3_column_text16})) // test1.c:8395:51:
- *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 2264 /* .xProc */)) = test_stmt_utf16 // test1.c:8396:34:
+ }{sqlite3.Xsqlite3_column_text16})) // test1.c:8455:51:
+ *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 2264 /* .xProc */)) = test_stmt_utf16 // test1.c:8456:34:
*(*uintptr)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 2272 /* .clientData */)) = *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, int32) uintptr
- }{sqlite3.Xsqlite3_column_name16})) // test1.c:8396:51:
- *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 2288 /* .xProc */)) = add_alignment_test_collations // test1.c:8397:41:
- *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 2312 /* .xProc */)) = test_stmt_utf16 // test1.c:8399:36:
+ }{sqlite3.Xsqlite3_column_name16})) // test1.c:8456:51:
+ *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 2288 /* .xProc */)) = add_alignment_test_collations // test1.c:8457:41:
+ *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 2312 /* .xProc */)) = test_stmt_utf16 // test1.c:8459:36:
*(*uintptr)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 2320 /* .clientData */)) = *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, int32) uintptr
- }{sqlite3.Xsqlite3_column_decltype16})) // test1.c:8399:52:
- *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 2336 /* .xProc */)) = test_stmt_utf16 // test1.c:8403:3:
+ }{sqlite3.Xsqlite3_column_decltype16})) // test1.c:8459:52:
+ *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 2336 /* .xProc */)) = test_stmt_utf16 // test1.c:8463:3:
*(*uintptr)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 2344 /* .clientData */)) = *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, int32) uintptr
- }{sqlite3.Xsqlite3_column_database_name16})) // test1.c:8403:20:
- *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 2360 /* .xProc */)) = test_stmt_utf16 // test1.c:8404:33:
+ }{sqlite3.Xsqlite3_column_database_name16})) // test1.c:8463:20:
+ *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 2360 /* .xProc */)) = test_stmt_utf16 // test1.c:8464:33:
*(*uintptr)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 2368 /* .clientData */)) = *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, int32) uintptr
- }{sqlite3.Xsqlite3_column_table_name16})) // test1.c:8404:50:
- *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 2384 /* .xProc */)) = test_stmt_utf16 // test1.c:8405:34:
+ }{sqlite3.Xsqlite3_column_table_name16})) // test1.c:8464:50:
+ *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 2384 /* .xProc */)) = test_stmt_utf16 // test1.c:8465:34:
*(*uintptr)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 2392 /* .clientData */)) = *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, int32) uintptr
- }{sqlite3.Xsqlite3_column_origin_name16})) // test1.c:8405:51:
- *(*func(*libc.TLS, ClientData, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 2408 /* .xProc */)) = test_create_collation_v2 // test1.c:8408:39:
- *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 2432 /* .xProc */)) = test_global_recover // test1.c:8409:38:
- *(*func(*libc.TLS, ClientData, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 2456 /* .xProc */)) = working_64bit_int // test1.c:8410:38:
- *(*func(*libc.TLS, ClientData, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 2480 /* .xProc */)) = vfs_unlink_test // test1.c:8411:38:
- *(*func(*libc.TLS, ClientData, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 2504 /* .xProc */)) = vfs_initfail_test // test1.c:8412:38:
- *(*func(*libc.TLS, ClientData, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 2528 /* .xProc */)) = vfs_unregister_all // test1.c:8413:38:
- *(*func(*libc.TLS, ClientData, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 2552 /* .xProc */)) = vfs_reregister_all // test1.c:8414:38:
- *(*func(*libc.TLS, ClientData, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 2576 /* .xProc */)) = file_control_test // test1.c:8415:38:
- *(*func(*libc.TLS, ClientData, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 2600 /* .xProc */)) = file_control_lasterrno_test // test1.c:8416:39:
- *(*func(*libc.TLS, ClientData, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 2624 /* .xProc */)) = file_control_lockproxy_test // test1.c:8417:39:
- *(*func(*libc.TLS, ClientData, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 2648 /* .xProc */)) = file_control_chunksize_test // test1.c:8418:39:
- *(*func(*libc.TLS, ClientData, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 2672 /* .xProc */)) = file_control_sizehint_test // test1.c:8419:39:
- *(*func(*libc.TLS, ClientData, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 2696 /* .xProc */)) = file_control_data_version // test1.c:8420:39:
- *(*func(*libc.TLS, ClientData, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 2720 /* .xProc */)) = file_control_persist_wal // test1.c:8426:39:
- *(*func(*libc.TLS, ClientData, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 2744 /* .xProc */)) = file_control_powersafe_overwrite // test1.c:8427:43:
- *(*func(*libc.TLS, ClientData, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 2768 /* .xProc */)) = file_control_vfsname // test1.c:8428:39:
- *(*func(*libc.TLS, ClientData, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 2792 /* .xProc */)) = file_control_reservebytes // test1.c:8429:39:
- *(*func(*libc.TLS, ClientData, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 2816 /* .xProc */)) = file_control_tempfilename // test1.c:8430:39:
- *(*func(*libc.TLS, ClientData, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 2840 /* .xProc */)) = vfs_list // test1.c:8431:38:
- *(*func(*libc.TLS, ClientData, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 2864 /* .xProc */)) = test_create_function_v2 // test1.c:8432:38:
- *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 2888 /* .xProc */)) = test_collate // test1.c:8436:35:
- *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 2912 /* .xProc */)) = test_collate_needed // test1.c:8437:35:
- *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 2936 /* .xProc */)) = test_function // test1.c:8438:35:
- *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 2960 /* .xProc */)) = test_utf16bin_collate // test1.c:8439:40:
- *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 2984 /* .xProc */)) = test_errstr // test1.c:8441:35:
- *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 3008 /* .xProc */)) = tcl_variable_type // test1.c:8442:35:
- *(*func(*libc.TLS, ClientData, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 3032 /* .xProc */)) = test_enable_shared // test1.c:8444:39:
- *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 3056 /* .xProc */)) = sqlite3BtreeSharedCacheReport // test1.c:8445:39:
- *(*func(*libc.TLS, ClientData, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 3080 /* .xProc */)) = test_libversion_number // test1.c:8447:37:
- *(*func(*libc.TLS, ClientData, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 3104 /* .xProc */)) = test_table_column_metadata // test1.c:8448:41:
- *(*func(*libc.TLS, ClientData, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 3128 /* .xProc */)) = test_blob_reopen // test1.c:8450:31:
- *(*func(*libc.TLS, ClientData, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 3152 /* .xProc */)) = test_pcache_stats // test1.c:8452:30:
- *(*func(*libc.TLS, ClientData, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 3176 /* .xProc */)) = test_unlock_notify // test1.c:8454:33:
- *(*func(*libc.TLS, ClientData, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 3200 /* .xProc */)) = test_wal_checkpoint // test1.c:8456:36:
- *(*func(*libc.TLS, ClientData, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 3224 /* .xProc */)) = test_wal_checkpoint_v2 // test1.c:8457:36:
- *(*func(*libc.TLS, ClientData, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 3248 /* .xProc */)) = test_wal_autocheckpoint // test1.c:8458:37:
- *(*func(*libc.TLS, ClientData, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 3272 /* .xProc */)) = test_sqlite3_log // test1.c:8459:36:
- *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 3296 /* .xProc */)) = test_print_eqp // test1.c:8461:36:
- *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 3320 /* .xProc */)) = test_test_control // test1.c:8463:32:
- *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 3344 /* .xProc */)) = test_getrusage // test1.c:8465:21:
- *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 3368 /* .xProc */)) = tclLoadStaticExtensionCmd // test1.c:8467:33:
- *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 3392 /* .xProc */)) = sorter_test_fakeheap // test1.c:8468:32:
- *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 3416 /* .xProc */)) = sorter_test_sort4_helper // test1.c:8469:36:
- *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 3440 /* .xProc */)) = vfsCurrentTimeInt64 // test1.c:8483:44:
- *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 3464 /* .xProc */)) = test_snapshot_get // test1.c:8485:32:
- *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 3488 /* .xProc */)) = test_snapshot_open // test1.c:8486:33:
- *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 3512 /* .xProc */)) = test_snapshot_free // test1.c:8487:33:
- *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 3536 /* .xProc */)) = test_snapshot_cmp // test1.c:8488:32:
- *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 3560 /* .xProc */)) = test_snapshot_recover // test1.c:8489:36:
- *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 3584 /* .xProc */)) = test_snapshot_get_blob // test1.c:8490:37:
- *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 3608 /* .xProc */)) = test_snapshot_open_blob // test1.c:8491:38:
- *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 3632 /* .xProc */)) = test_snapshot_cmp_blob // test1.c:8492:37:
- *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 3656 /* .xProc */)) = test_delete_database // test1.c:8494:35:
- *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 3680 /* .xProc */)) = test_atomic_batch_write // test1.c:8495:35:
- *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 3704 /* .xProc */)) = test_mmap_warm // test1.c:8496:35:
- *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 3728 /* .xProc */)) = test_config_sorterref // test1.c:8497:36:
- *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 3752 /* .xProc */)) = test_decode_hexdb // test1.c:8498:36:
- *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 3776 /* .xProc */)) = test_write_db // test1.c:8499:36:
- *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 3800 /* .xProc */)) = test_register_cksumvfs // test1.c:8500:37:
- *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 3824 /* .xProc */)) = test_unregister_cksumvfs // test1.c:8501:39:
+ }{sqlite3.Xsqlite3_column_origin_name16})) // test1.c:8465:51:
+ *(*func(*libc.TLS, ClientData, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 2408 /* .xProc */)) = test_create_collation_v2 // test1.c:8468:39:
+ *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 2432 /* .xProc */)) = test_global_recover // test1.c:8469:38:
+ *(*func(*libc.TLS, ClientData, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 2456 /* .xProc */)) = working_64bit_int // test1.c:8470:38:
+ *(*func(*libc.TLS, ClientData, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 2480 /* .xProc */)) = vfs_unlink_test // test1.c:8471:38:
+ *(*func(*libc.TLS, ClientData, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 2504 /* .xProc */)) = vfs_initfail_test // test1.c:8472:38:
+ *(*func(*libc.TLS, ClientData, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 2528 /* .xProc */)) = vfs_unregister_all // test1.c:8473:38:
+ *(*func(*libc.TLS, ClientData, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 2552 /* .xProc */)) = vfs_reregister_all // test1.c:8474:38:
+ *(*func(*libc.TLS, ClientData, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 2576 /* .xProc */)) = file_control_test // test1.c:8475:38:
+ *(*func(*libc.TLS, ClientData, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 2600 /* .xProc */)) = file_control_lasterrno_test // test1.c:8476:39:
+ *(*func(*libc.TLS, ClientData, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 2624 /* .xProc */)) = file_control_lockproxy_test // test1.c:8477:39:
+ *(*func(*libc.TLS, ClientData, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 2648 /* .xProc */)) = file_control_chunksize_test // test1.c:8478:39:
+ *(*func(*libc.TLS, ClientData, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 2672 /* .xProc */)) = file_control_sizehint_test // test1.c:8479:39:
+ *(*func(*libc.TLS, ClientData, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 2696 /* .xProc */)) = file_control_data_version // test1.c:8480:39:
+ *(*func(*libc.TLS, ClientData, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 2720 /* .xProc */)) = file_control_persist_wal // test1.c:8486:39:
+ *(*func(*libc.TLS, ClientData, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 2744 /* .xProc */)) = file_control_powersafe_overwrite // test1.c:8487:43:
+ *(*func(*libc.TLS, ClientData, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 2768 /* .xProc */)) = file_control_vfsname // test1.c:8488:39:
+ *(*func(*libc.TLS, ClientData, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 2792 /* .xProc */)) = file_control_reservebytes // test1.c:8489:39:
+ *(*func(*libc.TLS, ClientData, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 2816 /* .xProc */)) = file_control_tempfilename // test1.c:8490:39:
+ *(*func(*libc.TLS, ClientData, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 2840 /* .xProc */)) = file_control_external_reader // test1.c:8491:42:
+ *(*func(*libc.TLS, ClientData, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 2864 /* .xProc */)) = vfs_list // test1.c:8492:38:
+ *(*func(*libc.TLS, ClientData, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 2888 /* .xProc */)) = test_create_function_v2 // test1.c:8493:38:
+ *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 2912 /* .xProc */)) = test_collate // test1.c:8497:35:
+ *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 2936 /* .xProc */)) = test_collate_needed // test1.c:8498:35:
+ *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 2960 /* .xProc */)) = test_function // test1.c:8499:35:
+ *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 2984 /* .xProc */)) = test_utf16bin_collate // test1.c:8500:40:
+ *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 3008 /* .xProc */)) = test_errstr // test1.c:8502:35:
+ *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 3032 /* .xProc */)) = tcl_variable_type // test1.c:8503:35:
+ *(*func(*libc.TLS, ClientData, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 3056 /* .xProc */)) = test_enable_shared // test1.c:8505:39:
+ *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 3080 /* .xProc */)) = sqlite3BtreeSharedCacheReport // test1.c:8506:39:
+ *(*func(*libc.TLS, ClientData, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 3104 /* .xProc */)) = test_libversion_number // test1.c:8508:37:
+ *(*func(*libc.TLS, ClientData, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 3128 /* .xProc */)) = test_table_column_metadata // test1.c:8509:41:
+ *(*func(*libc.TLS, ClientData, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 3152 /* .xProc */)) = test_blob_reopen // test1.c:8511:31:
+ *(*func(*libc.TLS, ClientData, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 3176 /* .xProc */)) = test_pcache_stats // test1.c:8513:30:
+ *(*func(*libc.TLS, ClientData, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 3200 /* .xProc */)) = test_unlock_notify // test1.c:8515:33:
+ *(*func(*libc.TLS, ClientData, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 3224 /* .xProc */)) = test_wal_checkpoint // test1.c:8517:36:
+ *(*func(*libc.TLS, ClientData, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 3248 /* .xProc */)) = test_wal_checkpoint_v2 // test1.c:8518:36:
+ *(*func(*libc.TLS, ClientData, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 3272 /* .xProc */)) = test_wal_autocheckpoint // test1.c:8519:37:
+ *(*func(*libc.TLS, ClientData, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 3296 /* .xProc */)) = test_sqlite3_log // test1.c:8520:36:
+ *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 3320 /* .xProc */)) = test_print_eqp // test1.c:8522:36:
+ *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 3344 /* .xProc */)) = test_test_control // test1.c:8524:32:
+ *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 3368 /* .xProc */)) = test_getrusage // test1.c:8526:21:
+ *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 3392 /* .xProc */)) = tclLoadStaticExtensionCmd // test1.c:8528:33:
+ *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 3416 /* .xProc */)) = sorter_test_fakeheap // test1.c:8529:32:
+ *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 3440 /* .xProc */)) = sorter_test_sort4_helper // test1.c:8530:36:
+ *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 3464 /* .xProc */)) = vfsCurrentTimeInt64 // test1.c:8544:44:
+ *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 3488 /* .xProc */)) = test_snapshot_get // test1.c:8546:32:
+ *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 3512 /* .xProc */)) = test_snapshot_open // test1.c:8547:33:
+ *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 3536 /* .xProc */)) = test_snapshot_free // test1.c:8548:33:
+ *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 3560 /* .xProc */)) = test_snapshot_cmp // test1.c:8549:32:
+ *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 3584 /* .xProc */)) = test_snapshot_recover // test1.c:8550:36:
+ *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 3608 /* .xProc */)) = test_snapshot_get_blob // test1.c:8551:37:
+ *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 3632 /* .xProc */)) = test_snapshot_open_blob // test1.c:8552:38:
+ *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 3656 /* .xProc */)) = test_snapshot_cmp_blob // test1.c:8553:37:
+ *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 3680 /* .xProc */)) = test_delete_database // test1.c:8555:35:
+ *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 3704 /* .xProc */)) = test_atomic_batch_write // test1.c:8556:35:
+ *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 3728 /* .xProc */)) = test_mmap_warm // test1.c:8557:35:
+ *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 3752 /* .xProc */)) = test_config_sorterref // test1.c:8558:36:
+ *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 3776 /* .xProc */)) = test_decode_hexdb // test1.c:8559:36:
+ *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 3800 /* .xProc */)) = test_write_db // test1.c:8560:36:
+ *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 3824 /* .xProc */)) = test_register_cksumvfs // test1.c:8561:37:
+ *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd1)) + 3848 /* .xProc */)) = test_unregister_cksumvfs // test1.c:8562:39:
*(*func(*libc.TLS, ClientData, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd10)) + 8 /* .xProc */)) = test_intarray_create // test_intarray.c:381:35:
*(*func(*libc.TLS, ClientData, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd10)) + 32 /* .xProc */)) = test_intarray_bind // test_intarray.c:382:33:
*(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd11)) + 8 /* .xProc */)) = test_malloc // test_malloc.c:1473:38:
@@ -80130,8 +81996,8 @@ func init() {
*(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd14)) + 32 /* .xProc */)) = test_create_window_misuse // test_window.c:338:46:
*(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd14)) + 56 /* .xProc */)) = test_create_sumint // test_window.c:339:30:
*(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd14)) + 80 /* .xProc */)) = test_override_sum // test_window.c:340:29:
- *(*func(*libc.TLS, ClientData, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd2)) + 8 /* .xProc */)) = register_echo_module // test8.c:1434:38:
- *(*func(*libc.TLS, ClientData, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd2)) + 32 /* .xProc */)) = declare_vtab // test8.c:1435:38:
+ *(*func(*libc.TLS, ClientData, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd2)) + 8 /* .xProc */)) = register_echo_module // test8.c:1440:38:
+ *(*func(*libc.TLS, ClientData, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd2)) + 32 /* .xProc */)) = declare_vtab // test8.c:1441:38:
*(*func(*libc.TLS, ClientData, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd3)) + 8 /* .xProc */)) = c_misuse_test // test9.c:194:28:
*(*func(*libc.TLS, ClientData, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd3)) + 32 /* .xProc */)) = c_realloc_test // test9.c:195:28:
*(*func(*libc.TLS, ClientData, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&aObjCmd3)) + 56 /* .xProc */)) = c_collation_test // test9.c:196:28:
@@ -80347,47 +82213,47 @@ func init() {
*(*func(*libc.TLS, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&devsym_vfs)) + 104 /* .xRandomness */)) = devsymRandomness // test_devsym.c:443:3:
*(*func(*libc.TLS, uintptr, int32) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&devsym_vfs)) + 112 /* .xSleep */)) = devsymSleep // test_devsym.c:444:3:
*(*func(*libc.TLS, uintptr, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&devsym_vfs)) + 120 /* .xCurrentTime */)) = devsymCurrentTime // test_devsym.c:445:3:
- *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr, uintptr, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&echoModule)) + 8 /* .xCreate */)) = echoCreate // test8.c:1301:3:
- *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr, uintptr, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&echoModule)) + 16 /* .xConnect */)) = echoConnect // test8.c:1302:3:
- *(*func(*libc.TLS, uintptr, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&echoModule)) + 24 /* .xBestIndex */)) = echoBestIndex // test8.c:1303:3:
- *(*func(*libc.TLS, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&echoModule)) + 32 /* .xDisconnect */)) = echoDisconnect // test8.c:1304:3:
- *(*func(*libc.TLS, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&echoModule)) + 40 /* .xDestroy */)) = echoDestroy // test8.c:1305:3:
- *(*func(*libc.TLS, uintptr, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&echoModule)) + 48 /* .xOpen */)) = echoOpen // test8.c:1306:3:
- *(*func(*libc.TLS, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&echoModule)) + 56 /* .xClose */)) = echoClose // test8.c:1307:3:
- *(*func(*libc.TLS, uintptr, int32, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&echoModule)) + 64 /* .xFilter */)) = echoFilter // test8.c:1308:3:
- *(*func(*libc.TLS, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&echoModule)) + 72 /* .xNext */)) = echoNext // test8.c:1309:3:
- *(*func(*libc.TLS, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&echoModule)) + 80 /* .xEof */)) = echoEof // test8.c:1310:3:
- *(*func(*libc.TLS, uintptr, uintptr, int32) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&echoModule)) + 88 /* .xColumn */)) = echoColumn // test8.c:1311:3:
- *(*func(*libc.TLS, uintptr, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&echoModule)) + 96 /* .xRowid */)) = echoRowid // test8.c:1312:3:
- *(*func(*libc.TLS, uintptr, int32, uintptr, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&echoModule)) + 104 /* .xUpdate */)) = echoUpdate // test8.c:1313:3:
- *(*func(*libc.TLS, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&echoModule)) + 112 /* .xBegin */)) = echoBegin // test8.c:1314:3:
- *(*func(*libc.TLS, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&echoModule)) + 120 /* .xSync */)) = echoSync // test8.c:1315:3:
- *(*func(*libc.TLS, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&echoModule)) + 128 /* .xCommit */)) = echoCommit // test8.c:1316:3:
- *(*func(*libc.TLS, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&echoModule)) + 136 /* .xRollback */)) = echoRollback // test8.c:1317:3:
- *(*func(*libc.TLS, uintptr, int32, uintptr, uintptr, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&echoModule)) + 144 /* .xFindFunction */)) = echoFindFunction // test8.c:1318:3:
- *(*func(*libc.TLS, uintptr, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&echoModule)) + 152 /* .xRename */)) = echoRename // test8.c:1319:3:
- *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr, uintptr, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&echoModuleV2)) + 8 /* .xCreate */)) = echoCreate // test8.c:1324:3:
- *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr, uintptr, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&echoModuleV2)) + 16 /* .xConnect */)) = echoConnect // test8.c:1325:3:
- *(*func(*libc.TLS, uintptr, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&echoModuleV2)) + 24 /* .xBestIndex */)) = echoBestIndex // test8.c:1326:3:
- *(*func(*libc.TLS, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&echoModuleV2)) + 32 /* .xDisconnect */)) = echoDisconnect // test8.c:1327:3:
- *(*func(*libc.TLS, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&echoModuleV2)) + 40 /* .xDestroy */)) = echoDestroy // test8.c:1328:3:
- *(*func(*libc.TLS, uintptr, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&echoModuleV2)) + 48 /* .xOpen */)) = echoOpen // test8.c:1329:3:
- *(*func(*libc.TLS, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&echoModuleV2)) + 56 /* .xClose */)) = echoClose // test8.c:1330:3:
- *(*func(*libc.TLS, uintptr, int32, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&echoModuleV2)) + 64 /* .xFilter */)) = echoFilter // test8.c:1331:3:
- *(*func(*libc.TLS, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&echoModuleV2)) + 72 /* .xNext */)) = echoNext // test8.c:1332:3:
- *(*func(*libc.TLS, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&echoModuleV2)) + 80 /* .xEof */)) = echoEof // test8.c:1333:3:
- *(*func(*libc.TLS, uintptr, uintptr, int32) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&echoModuleV2)) + 88 /* .xColumn */)) = echoColumn // test8.c:1334:3:
- *(*func(*libc.TLS, uintptr, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&echoModuleV2)) + 96 /* .xRowid */)) = echoRowid // test8.c:1335:3:
- *(*func(*libc.TLS, uintptr, int32, uintptr, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&echoModuleV2)) + 104 /* .xUpdate */)) = echoUpdate // test8.c:1336:3:
- *(*func(*libc.TLS, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&echoModuleV2)) + 112 /* .xBegin */)) = echoBegin // test8.c:1337:3:
- *(*func(*libc.TLS, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&echoModuleV2)) + 120 /* .xSync */)) = echoSync // test8.c:1338:3:
- *(*func(*libc.TLS, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&echoModuleV2)) + 128 /* .xCommit */)) = echoCommit // test8.c:1339:3:
- *(*func(*libc.TLS, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&echoModuleV2)) + 136 /* .xRollback */)) = echoRollback // test8.c:1340:3:
- *(*func(*libc.TLS, uintptr, int32, uintptr, uintptr, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&echoModuleV2)) + 144 /* .xFindFunction */)) = echoFindFunction // test8.c:1341:3:
- *(*func(*libc.TLS, uintptr, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&echoModuleV2)) + 152 /* .xRename */)) = echoRename // test8.c:1342:3:
- *(*func(*libc.TLS, uintptr, int32) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&echoModuleV2)) + 160 /* .xSavepoint */)) = echoSavepoint // test8.c:1343:3:
- *(*func(*libc.TLS, uintptr, int32) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&echoModuleV2)) + 168 /* .xRelease */)) = echoRelease // test8.c:1344:3:
- *(*func(*libc.TLS, uintptr, int32) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&echoModuleV2)) + 176 /* .xRollbackTo */)) = echoRollbackTo // test8.c:1345:3:
+ *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr, uintptr, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&echoModule)) + 8 /* .xCreate */)) = echoCreate // test8.c:1302:3:
+ *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr, uintptr, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&echoModule)) + 16 /* .xConnect */)) = echoConnect // test8.c:1303:3:
+ *(*func(*libc.TLS, uintptr, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&echoModule)) + 24 /* .xBestIndex */)) = echoBestIndex // test8.c:1304:3:
+ *(*func(*libc.TLS, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&echoModule)) + 32 /* .xDisconnect */)) = echoDisconnect // test8.c:1305:3:
+ *(*func(*libc.TLS, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&echoModule)) + 40 /* .xDestroy */)) = echoDestroy // test8.c:1306:3:
+ *(*func(*libc.TLS, uintptr, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&echoModule)) + 48 /* .xOpen */)) = echoOpen // test8.c:1307:3:
+ *(*func(*libc.TLS, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&echoModule)) + 56 /* .xClose */)) = echoClose // test8.c:1308:3:
+ *(*func(*libc.TLS, uintptr, int32, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&echoModule)) + 64 /* .xFilter */)) = echoFilter // test8.c:1309:3:
+ *(*func(*libc.TLS, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&echoModule)) + 72 /* .xNext */)) = echoNext // test8.c:1310:3:
+ *(*func(*libc.TLS, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&echoModule)) + 80 /* .xEof */)) = echoEof // test8.c:1311:3:
+ *(*func(*libc.TLS, uintptr, uintptr, int32) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&echoModule)) + 88 /* .xColumn */)) = echoColumn // test8.c:1312:3:
+ *(*func(*libc.TLS, uintptr, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&echoModule)) + 96 /* .xRowid */)) = echoRowid // test8.c:1313:3:
+ *(*func(*libc.TLS, uintptr, int32, uintptr, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&echoModule)) + 104 /* .xUpdate */)) = echoUpdate // test8.c:1314:3:
+ *(*func(*libc.TLS, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&echoModule)) + 112 /* .xBegin */)) = echoBegin // test8.c:1315:3:
+ *(*func(*libc.TLS, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&echoModule)) + 120 /* .xSync */)) = echoSync // test8.c:1316:3:
+ *(*func(*libc.TLS, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&echoModule)) + 128 /* .xCommit */)) = echoCommit // test8.c:1317:3:
+ *(*func(*libc.TLS, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&echoModule)) + 136 /* .xRollback */)) = echoRollback // test8.c:1318:3:
+ *(*func(*libc.TLS, uintptr, int32, uintptr, uintptr, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&echoModule)) + 144 /* .xFindFunction */)) = echoFindFunction // test8.c:1319:3:
+ *(*func(*libc.TLS, uintptr, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&echoModule)) + 152 /* .xRename */)) = echoRename // test8.c:1320:3:
+ *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr, uintptr, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&echoModuleV2)) + 8 /* .xCreate */)) = echoCreate // test8.c:1325:3:
+ *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr, uintptr, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&echoModuleV2)) + 16 /* .xConnect */)) = echoConnect // test8.c:1326:3:
+ *(*func(*libc.TLS, uintptr, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&echoModuleV2)) + 24 /* .xBestIndex */)) = echoBestIndex // test8.c:1327:3:
+ *(*func(*libc.TLS, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&echoModuleV2)) + 32 /* .xDisconnect */)) = echoDisconnect // test8.c:1328:3:
+ *(*func(*libc.TLS, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&echoModuleV2)) + 40 /* .xDestroy */)) = echoDestroy // test8.c:1329:3:
+ *(*func(*libc.TLS, uintptr, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&echoModuleV2)) + 48 /* .xOpen */)) = echoOpen // test8.c:1330:3:
+ *(*func(*libc.TLS, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&echoModuleV2)) + 56 /* .xClose */)) = echoClose // test8.c:1331:3:
+ *(*func(*libc.TLS, uintptr, int32, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&echoModuleV2)) + 64 /* .xFilter */)) = echoFilter // test8.c:1332:3:
+ *(*func(*libc.TLS, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&echoModuleV2)) + 72 /* .xNext */)) = echoNext // test8.c:1333:3:
+ *(*func(*libc.TLS, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&echoModuleV2)) + 80 /* .xEof */)) = echoEof // test8.c:1334:3:
+ *(*func(*libc.TLS, uintptr, uintptr, int32) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&echoModuleV2)) + 88 /* .xColumn */)) = echoColumn // test8.c:1335:3:
+ *(*func(*libc.TLS, uintptr, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&echoModuleV2)) + 96 /* .xRowid */)) = echoRowid // test8.c:1336:3:
+ *(*func(*libc.TLS, uintptr, int32, uintptr, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&echoModuleV2)) + 104 /* .xUpdate */)) = echoUpdate // test8.c:1337:3:
+ *(*func(*libc.TLS, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&echoModuleV2)) + 112 /* .xBegin */)) = echoBegin // test8.c:1338:3:
+ *(*func(*libc.TLS, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&echoModuleV2)) + 120 /* .xSync */)) = echoSync // test8.c:1339:3:
+ *(*func(*libc.TLS, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&echoModuleV2)) + 128 /* .xCommit */)) = echoCommit // test8.c:1340:3:
+ *(*func(*libc.TLS, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&echoModuleV2)) + 136 /* .xRollback */)) = echoRollback // test8.c:1341:3:
+ *(*func(*libc.TLS, uintptr, int32, uintptr, uintptr, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&echoModuleV2)) + 144 /* .xFindFunction */)) = echoFindFunction // test8.c:1342:3:
+ *(*func(*libc.TLS, uintptr, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&echoModuleV2)) + 152 /* .xRename */)) = echoRename // test8.c:1343:3:
+ *(*func(*libc.TLS, uintptr, int32) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&echoModuleV2)) + 160 /* .xSavepoint */)) = echoSavepoint // test8.c:1344:3:
+ *(*func(*libc.TLS, uintptr, int32) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&echoModuleV2)) + 168 /* .xRelease */)) = echoRelease // test8.c:1345:3:
+ *(*func(*libc.TLS, uintptr, int32) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&echoModuleV2)) + 176 /* .xRollbackTo */)) = echoRollbackTo // test8.c:1346:3:
*(*func(*libc.TLS, uintptr, uintptr, int32, uintptr, uintptr, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&expertModule)) + 8 /* .xCreate */)) = expertConnect // sqlite3expert.c:625:5:
*(*func(*libc.TLS, uintptr, uintptr, int32, uintptr, uintptr, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&expertModule)) + 16 /* .xConnect */)) = expertConnect // sqlite3expert.c:626:5:
*(*func(*libc.TLS, uintptr, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&expertModule)) + 24 /* .xBestIndex */)) = expertBestIndex // sqlite3expert.c:627:5:
@@ -80749,23 +82615,23 @@ func init() {
*(*func(*libc.TLS, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&writecrash_vfs)) + 104 /* .xRandomness */)) = devsymRandomness // test_devsym.c:472:3:
*(*func(*libc.TLS, uintptr, int32) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&writecrash_vfs)) + 112 /* .xSleep */)) = devsymSleep // test_devsym.c:473:3:
*(*func(*libc.TLS, uintptr, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&writecrash_vfs)) + 120 /* .xCurrentTime */)) = devsymCurrentTime // test_devsym.c:474:3:
- *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr, uintptr, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&zipfileModule)) + 8 /* .xCreate */)) = zipfileConnect // zipfile.c:2145:5:
- *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr, uintptr, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&zipfileModule)) + 16 /* .xConnect */)) = zipfileConnect // zipfile.c:2146:5:
- *(*func(*libc.TLS, uintptr, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&zipfileModule)) + 24 /* .xBestIndex */)) = zipfileBestIndex // zipfile.c:2147:5:
- *(*func(*libc.TLS, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&zipfileModule)) + 32 /* .xDisconnect */)) = zipfileDisconnect // zipfile.c:2148:5:
- *(*func(*libc.TLS, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&zipfileModule)) + 40 /* .xDestroy */)) = zipfileDisconnect // zipfile.c:2149:5:
- *(*func(*libc.TLS, uintptr, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&zipfileModule)) + 48 /* .xOpen */)) = zipfileOpen // zipfile.c:2150:5:
- *(*func(*libc.TLS, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&zipfileModule)) + 56 /* .xClose */)) = zipfileClose // zipfile.c:2151:5:
- *(*func(*libc.TLS, uintptr, int32, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&zipfileModule)) + 64 /* .xFilter */)) = zipfileFilter // zipfile.c:2152:5:
- *(*func(*libc.TLS, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&zipfileModule)) + 72 /* .xNext */)) = zipfileNext // zipfile.c:2153:5:
- *(*func(*libc.TLS, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&zipfileModule)) + 80 /* .xEof */)) = zipfileEof // zipfile.c:2154:5:
- *(*func(*libc.TLS, uintptr, uintptr, int32) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&zipfileModule)) + 88 /* .xColumn */)) = zipfileColumn // zipfile.c:2155:5:
- *(*func(*libc.TLS, uintptr, int32, uintptr, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&zipfileModule)) + 104 /* .xUpdate */)) = zipfileUpdate // zipfile.c:2157:5:
- *(*func(*libc.TLS, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&zipfileModule)) + 112 /* .xBegin */)) = zipfileBegin // zipfile.c:2158:5:
- *(*func(*libc.TLS, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&zipfileModule)) + 128 /* .xCommit */)) = zipfileCommit // zipfile.c:2160:5:
- *(*func(*libc.TLS, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&zipfileModule)) + 136 /* .xRollback */)) = zipfileRollback // zipfile.c:2161:5:
- *(*func(*libc.TLS, uintptr, int32, uintptr, uintptr, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&zipfileModule)) + 144 /* .xFindFunction */)) = zipfileFindFunction // zipfile.c:2162:5:
+ *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr, uintptr, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&zipfileModule)) + 8 /* .xCreate */)) = zipfileConnect // zipfile.c:2150:5:
+ *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr, uintptr, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&zipfileModule)) + 16 /* .xConnect */)) = zipfileConnect // zipfile.c:2151:5:
+ *(*func(*libc.TLS, uintptr, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&zipfileModule)) + 24 /* .xBestIndex */)) = zipfileBestIndex // zipfile.c:2152:5:
+ *(*func(*libc.TLS, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&zipfileModule)) + 32 /* .xDisconnect */)) = zipfileDisconnect // zipfile.c:2153:5:
+ *(*func(*libc.TLS, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&zipfileModule)) + 40 /* .xDestroy */)) = zipfileDisconnect // zipfile.c:2154:5:
+ *(*func(*libc.TLS, uintptr, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&zipfileModule)) + 48 /* .xOpen */)) = zipfileOpen // zipfile.c:2155:5:
+ *(*func(*libc.TLS, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&zipfileModule)) + 56 /* .xClose */)) = zipfileClose // zipfile.c:2156:5:
+ *(*func(*libc.TLS, uintptr, int32, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&zipfileModule)) + 64 /* .xFilter */)) = zipfileFilter // zipfile.c:2157:5:
+ *(*func(*libc.TLS, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&zipfileModule)) + 72 /* .xNext */)) = zipfileNext // zipfile.c:2158:5:
+ *(*func(*libc.TLS, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&zipfileModule)) + 80 /* .xEof */)) = zipfileEof // zipfile.c:2159:5:
+ *(*func(*libc.TLS, uintptr, uintptr, int32) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&zipfileModule)) + 88 /* .xColumn */)) = zipfileColumn // zipfile.c:2160:5:
+ *(*func(*libc.TLS, uintptr, int32, uintptr, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&zipfileModule)) + 104 /* .xUpdate */)) = zipfileUpdate // zipfile.c:2162:5:
+ *(*func(*libc.TLS, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&zipfileModule)) + 112 /* .xBegin */)) = zipfileBegin // zipfile.c:2163:5:
+ *(*func(*libc.TLS, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&zipfileModule)) + 128 /* .xCommit */)) = zipfileCommit // zipfile.c:2165:5:
+ *(*func(*libc.TLS, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&zipfileModule)) + 136 /* .xRollback */)) = zipfileRollback // zipfile.c:2166:5:
+ *(*func(*libc.TLS, uintptr, int32, uintptr, uintptr, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&zipfileModule)) + 144 /* .xFindFunction */)) = zipfileFindFunction // zipfile.c:2167:5:
}
-var ts1 = "%s\x00internal error!\x00SELECT * FROM main.%Q WHERE sample()\x00expert\x00PRAGMA table_xinfo=%Q\x00main\x00, \x00%Q\x00 COLLATE %Q\x00 COLLATE %s\x00 DESC\x00PRAGMA index_list=%Q\x00PRAGMA index_xInfo=%Q\x00%s_idx_%08x\x00CREATE INDEX '%q' ON %Q(%s)\x00CREATE INDEX %s ON %s(%s)\x00EXPLAIN QUERY PLAN %s\x00 USING INDEX \x00 USING COVERING INDEX \x00%s\n\x00%s;\n\x00SELECT 'CREATE TEMP' || substr(sql, 7) FROM sqlite_schema WHERE tbl_name = %Q AND type IN ('table', 'trigger') ORDER BY type;\x00ALTER TABLE temp.%Q RENAME TO %Q\x00INSERT INTO %Q VALUES(\x00%s?\x00\x00)\x00UPDATE %Q SET \x00%s%Q=?\x00DELETE FROM %Q\x00t592690916721053953805701627921227776\x00DROP TABLE t592690916721053953805701627921227776\x00SELECT type, name, sql, 1 FROM sqlite_schema WHERE type IN ('table','view') AND name NOT LIKE 'sqlite_%%' UNION ALL SELECT type, name, sql, 2 FROM sqlite_schema WHERE type = 'trigger' AND tbl_name IN(SELECT name FROM sqlite_schema WHERE type = 'view') ORDER BY 4, 1\x00CREATE TABLE x(\x00%s%Q COLLATE %s\x00CREATE VIRTUAL TABLE %Q USING expert(%Q)\x00SELECT max(i.seqno) FROM sqlite_schema AS s, pragma_index_list(s.name) AS l, pragma_index_info(l.name) AS i WHERE s.type = 'table'\x00%sx.%Q IS rem(%d, x.%Q) COLLATE %s\x00%s%d\x00SELECT %s FROM %Q x ORDER BY %s\x00SELECT %s FROM temp.t592690916721053953805701627921227776 x ORDER BY %s\x00%d\x00 %d\x00DROP TABLE IF EXISTS temp.t592690916721053953805701627921227776\x00CREATE TABLE temp.t592690916721053953805701627921227776 AS SELECT * FROM %Q\x00SELECT s.rowid, s.name, l.name FROM sqlite_schema AS s, pragma_index_list(s.name) AS l WHERE s.type = 'table'\x00SELECT name, coll FROM pragma_index_xinfo(?) WHERE key\x00INSERT INTO sqlite_stat1 VALUES(?, ?, ?)\x00ANALYZE; PRAGMA writable_schema=1\x00rem\x00sample\x00ANALYZE sqlite_schema\x00:memory:\x00SELECT sql FROM sqlite_schema WHERE name NOT LIKE 'sqlite_%%' AND sql NOT LIKE 'CREATE VIRTUAL %%'\x00%s;%s%s\n\x00 -- stat1: \x00no such handle: \x00sql\x00TABLE\x00analyze\x00count\x00report\x00STMT EREPORT\x00destroy\x00SUBCOMMAND ...\x00sub-command\x00indexes\x00plan\x00candidates\x00DB\x00sqlite3expert%d\x00out of memory\x00sqlite3_expert_new\x00SQLITE_DONE\x00SQLITE_ERROR\x00SQLITE_OK\x00SELECT fts5(?1)\x00error: \x00fts5_api_ptr\x00f5t_2_%lld\x00xColumnCount\x00xRowCount\x00xColumnTotalSize\x00COL\x00xTokenize\x00TEXT SCRIPT\x00xPhraseCount\x00xPhraseSize\x00PHRASE\x00xInstCount\x00xInst\x00IDX\x00xRowid\x00xColumnText\x00xColumnSize\x00xQueryPhrase\x00PHRASE SCRIPT\x00xSetAuxdata\x00VALUE\x00xGetAuxdata\x00CLEAR\x00xSetAuxdataInt\x00INTEGER\x00xGetAuxdataInt\x00xPhraseForeach\x00IPHRASE COLVAR OFFVAR SCRIPT\x00xPhraseColumnForeach\x00IPHRASE COLVAR SCRIPT\x00SUB-COMMAND\x00f5t_%lld\x00bytearray\x00boolean\x00double\x00wideInt\x00int\x00DB NAME SCRIPT\x00?-subst? DB NAME TEXT\x00-subst\x00unrecognized option: \x00no such tokenizer: \x00error in tokenizer.xCreate()\x00error in tokenizer.xTokenize()\x00document\x00aux\x00query\x00prefixquery\x00invalid\x00-colocated\x00sqlite3_fts5_token may only be used by tokenizer callback\x00?-colocated? TEXT START END\x00error in fts5_api.xCreateTokenizer()\x00?BOOLEAN?\x00NSLOT TOKEN\x00sqlite3_fts5_create_tokenizer\x00sqlite3_fts5_token\x00sqlite3_fts5_tokenize\x00sqlite3_fts5_create_function\x00sqlite3_fts5_may_be_corrupt\x00sqlite3_fts5_token_hash\x00sqlite3_fts5_register_matchinfo\x00sqlite3_fts5_register_fts5tokenize\x00unrecognized matchinfo flag: %c\x00pcx\x00matchinfo\x00CREATE TABLE x(input HIDDEN, token, start, end, position)\x00fts5tokenize\x00apndvfs\x00Start-Of-SQLite3-\x00apnd(%lld)/%z\x00SQLite format 3\x00%s: cost must be between 1 and %d\x00%s: maximum string length is %d\x00%s: iLang must be between 0 and %d\x00?\x00SELECT * FROM %Q.%Q\x00%s: %s\x00%s: %s has %d columns, expected 4\x00vocabulary_table\x00vocabulary_word\x00vocabulary_language\x00edit_distances\x00unrecognized argument: [%s]\n\x00no edit_distances table specified\x00CREATE TABLE x(word,distance,language,command HIDDEN,nword HIDDEN)\x000123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ^abcdefghijklmnopqrstuvwxyz~\x00SELECT \"%w\" FROM \"%w\"\x00 WHERE \"%w\">=?1 AND \"%w\"=?2 ORDER BY 1\x00SELECT \"%w\" FROM \"%w\" WHERE \"%w\">=?1 ORDER BY 1\x00*\x00DELETE from %s is not allowed\x00UPDATE of %s is not allowed\x00INSERT INTO %s allowed for column [command] only\x00approximate_match\x00int32\x00int64\x00char*\x00CREATE TABLE x(value,pointer hidden,count hidden,ctype hidden)\x00carray-bind\x00carray\x00unknown datatype: %Q\x00inttoptr\x00cksmvfs\x00ZV-\x00checksum fault offset %lld of \"%s\"\x00checksum_verification\x00enable%\x00yes\x00on\x00page_size\x00cksm/%z\x00verify_checksum\x00tablename\x00idcolumn\x00parentcolumn\x00CREATE TABLE x(id,depth,root HIDDEN,tablename HIDDEN,idcolumn HIDDEN,parentcolumn HIDDEN)\x00SELECT \"%w\".\"%w\" FROM \"%w\" WHERE \"%w\".\"%w\"=?1\x00transitive_closure\x00rb\x00cannot open '%s' for reading\x00line %d: unescaped %c character\x00line %d: unterminated %c-quoted field\n\x00more than one '%s' parameter\x00true\x00no\x00off\x00false\x00header\x00more than one 'header' parameter\x00testflags\x00columns\x00more than one 'columns' parameter\x00column= value must be positive\x00bad parameter: '%s'\x00must specify either filename= or data= but not both\x00%sc%d TEXT\x00,\x00%s\"%w\" TEXT\x00bad schema: '%s' - %s\x00filename\x00data\x00schema\x00csv\x00csv_wr\x00decimal_sum\x00decimal\x00decimal_cmp\x00decimal_add\x00decimal_sub\x00decimal_mul\x00 \x00eval\x00CREATE TABLE x(addr,opcode,p1,p2,p3,p4,p5,comment,sql HIDDEN)\x00EXPLAIN %s\x00explain\x00wb\x00wrong number of arguments to function writefile()\x00failed to create symlink: %s\x00failed to create directory: %s\x00failed to write file: %s\x00CREATE TABLE x(name,mode,mtime,data,path HIDDEN,dir HIDDEN)\x00cannot read directory: %s\x00%s/%s\x00cannot stat file: %s\x00table function fsdir requires an argument\x00table function fsdir requires a non-NULL argument\x00fsdir\x00readfile\x00writefile\x00lsmode\x00%s: ruleset must be between 0 and %d\x00%s: wrong number of CREATE VIRTUAL TABLE arguments\x00CREATE TABLE x(word,distance,ruleset)\x00fuzzer\x00ieee754(%lld,%d)\x00ieee754\x00ieee754_mantissa\x00ieee754_exponent\x00ieee754_to_blob\x00ieee754_from_blob\x00BEGIN; SELECT * FROM %s%q%ssqlite_schema\x00'\x00'.\x00PRAGMA %s%q%spage_size\x00sqlite3_mmap_warm_cache: Warmed up %d pages of %s\x00END\x00AND (%s)\x00collate \"%w\"\x00SELECT %s FROM %s WHERE %s>=(?1 || ?2) %s AND %s<=(?1 || char(1114111)) %s %s ORDER BY 1 %s ASC LIMIT 1\x00next_char\x00NULL\x00is\x00not\x00in(\x00in(select\x00in(with\x00?,?,?\x002nd argument to percentile() is not a number between 0.0 and 100.0\x002nd argument to percentile() is not the same for all input rows\x001st argument to percentile() is not numeric\x00Inf input to percentile()\x00percentile\x00CREATE TABLE prefixes(prefix TEXT, original_string TEXT HIDDEN)\x00prefixes\x00prefix_length\x00unknown \\ escape\x00afnrtv\\()*.+?[$^{|}]\x00\a\f\n\r\t\v\x00unmatched '('\x00'*' without operand\x00'+' without operand\x00'?' without operand\x00'{m,n}' without operand\x00unmatched '{'\x00n less than m in '{m,n}'\x00both m and n are zero in '{m,n}'\x00POSIX character classes not supported\x00unclosed '['\x00unrecognized character\x00regexp\x00remember\x00CREATE TABLE x(value,start hidden,stop hidden,step hidden)\x00generate_series() requires SQLite 3.8.12 or later\x00generate_series\x00.ABCDHLRMY9 ?\x00non-ASCII input to editdist()\x00NULL input to editdist()\x00SELECT iLang, cFrom, cTo, iCost FROM \"%w\" WHERE iLang>=0 ORDER BY iLang\x00editdist3\x00DROP TABLE IF EXISTS \"%w\".\"%w_vocab\"\x00CREATE TABLE x(word,rank,distance,langid, score, matchlen, phonehash HIDDEN, top HIDDEN, scope HIDDEN, srchcnt HIDDEN, soundslike HIDDEN, command HIDDEN)\x00CREATE TABLE IF NOT EXISTS \"%w\".\"%w_vocab\"(\n id INTEGER PRIMARY KEY,\n rank INT,\n langid INT,\n word TEXT,\n k1 TEXT,\n k2 TEXT\n);\n\x00CREATE INDEX IF NOT EXISTS \"%w\".\"%w_vocab_index_langid_k2\" ON \"%w_vocab\"(langid,k2);\x00edit_cost_table=\x00bad argument to spellfix1(): \"%s\"\x00SELECT id, word, rank, coalesce(k1,word) FROM \"%w\".\"%w_vocab\" WHERE langid=%d AND k2>=?1 AND k22\x00SELECT word, rank, NULL, langid, id FROM \"%w\".\"%w_vocab\"%s\x00 WHERE rowid=?\x00ROLLBACK\x00IGNORE\x00ABORT\x00REPLACE\x00DELETE FROM \"%w\".\"%w_vocab\" WHERE id=%lld\x00NOT NULL constraint failed: %s.word\x00reset\x00null\x00unknown value for %s.command: \"%w\"\x00INSERT INTO \"%w\".\"%w_vocab\"(rank,langid,word,k1,k2) VALUES(%d,%d,%Q,nullif(%Q,%Q),%Q)\x00INSERT OR %s INTO \"%w\".\"%w_vocab\"(id,rank,langid,word,k1,k2) VALUES(%lld,%d,%d,%Q,nullif(%Q,%Q),%Q)\x00UPDATE OR %s \"%w\".\"%w_vocab\" SET id=%lld, rank=%d, langid=%d, word=%Q, k1=nullif(%Q,%Q), k2=%Q WHERE id=%lld\x00ALTER TABLE \"%w\".\"%w_vocab\" RENAME TO \"%w_vocab\"\x00spellfix1_translit\x00spellfix1_editdist\x00spellfix1_phonehash\x00spellfix1_scriptcode\x00spellfix1\x00922337203685477580\x00tointeger\x00toreal\x00sql error: %s\x00_rowid_\x00integer\x00no such rowid table: %s%s%s\x00.\x00SELECT group_concat(quote(name) || '.' || quote(type)) FROM pragma_table_info(?, ?)\x00source table schema mismatch\x00swarmvtab: no such SQL parameter: %s\x00maxopen\x00swarmvtab: illegal maxopen value\x00missing\x00swarmvtab: duplicate \"missing\" option\x00SELECT \"%w\"(?%s)\x00,?\x00openclose\x00swarmvtab: duplicate \"openclose\" option\x00SELECT \"%w\"(?,?%s)\x00swarmvtab: unrecognized option: %s\x00SELECT \"%w\"(?)\x00swarmvtab: parse error: %s\x00swarmvtab\x00unionvtab\x00temp\x00%s tables must be created in TEMP schema\x00wrong number of arguments for %s\x00SELECT * FROM (%z) ORDER BY 3\x00rowid range mismatch error\x00no source tables configured\x00SELECT 'CREATE TABLE xyz(' || group_concat(quote(name) || ' ' || type, ', ') || ')',max((cid+1) * (type='INTEGER' COLLATE nocase AND pk=1))-1 FROM pragma_table_info(%Q, ?)\x00SELECT rowid, * FROM %Q %s %lld\x00WHERE _rowid_ <=\x00-- \x00%z%sSELECT rowid, * FROM %s%q%s%Q\x00 UNION ALL \x00%z WHERE rowid=%lld\x00WHERE\x00%z WHERE rowid>=%lld\x00AND\x00%z %s rowid<=%lld\x00CREATE TABLE x(value)\x00wholenumber\x00CREATE TABLE y(name PRIMARY KEY,mode,mtime,sz,rawdata,data,method,z HIDDEN) WITHOUT ROWID;\x00zipfile\x00zipfile constructor requires one argument\x00error in fread()\x00error in fwrite()\x00failed to read CDS at offset %lld\x00%.*s\x00failed to read LFH at offset %d\x001.2.11\x00inflateInit2() failed (%d)\x00inflate() failed (%d)\x00zipfile: deflate() error\x00cannot find end of central directory record\x00zipfile() function requires an argument\x00cannot open file: %s\x00-rwxrwxrwx\x00zipfile: mode does not match data\x00zipfile: parse error in mode: %s\x00zipfile: missing filename\x00ab+\x00zipfile: failed to open file %s for writing\x00sz must be NULL\x00rawdata must be NULL\x00unknown compression method: %d\x00%s/\x00duplicate name: \"%s\"\x00{\"version-made-by\" : %u, \"version-to-extract\" : %u, \"flags\" : %u, \"compression\" : %u, \"time\" : %u, \"date\" : %u, \"crc32\" : %u, \"compressed-size\" : %u, \"uncompressed-size\" : %u, \"file-name-length\" : %u, \"extra-field-length\" : %u, \"file-comment-length\" : %u, \"disk-number-start\" : %u, \"internal-attr\" : %u, \"external-attr\" : %u, \"offset\" : %u }\x00zipfile_cds\x00wrong number of arguments to function zipfile()\x00first argument to zipfile() must be non-NULL\x00illegal method value: %d\x00non-directory name must not end with /\x00rbu_delta\x00step\x00close\x00create_rbu_delta\x00savestate\x00dbMain_eval\x00SQL\x00bp_progress\x00db\x00RBU\x00state\x00progress\x00close_no_error\x00temp_size_limit\x00LIMIT\x00temp_size\x00dbRbu_eval\x00METHOD\x00method\x00 - \x00oal\x00move\x00checkpoint\x00done\x00error\x00NAME TARGET-DB RBU-DB ?STATE-DB?\x00NAME TARGET-DB ?STATE-DB?\x00?-default? NAME PARENT\x00NAME\x00sqlite3rbu_db(0, 0)!=0\x00sqlite3rbu\x00sqlite3rbu_vacuum\x00sqlite3rbu_create_vfs\x00sqlite3rbu_destroy_vfs\x00sqlite3rbu_internal_test\x00incrblob\x00incrblob_%d\x00%lld\x00sqlite_unlock_notify_arg\x00sqlite_unlock_notify_argcount\x00DELETE\x00INSERT\x00UPDATE\x00SQLITE_COPY\x00SQLITE_CREATE_INDEX\x00SQLITE_CREATE_TABLE\x00SQLITE_CREATE_TEMP_INDEX\x00SQLITE_CREATE_TEMP_TABLE\x00SQLITE_CREATE_TEMP_TRIGGER\x00SQLITE_CREATE_TEMP_VIEW\x00SQLITE_CREATE_TRIGGER\x00SQLITE_CREATE_VIEW\x00SQLITE_DELETE\x00SQLITE_DROP_INDEX\x00SQLITE_DROP_TABLE\x00SQLITE_DROP_TEMP_INDEX\x00SQLITE_DROP_TEMP_TABLE\x00SQLITE_DROP_TEMP_TRIGGER\x00SQLITE_DROP_TEMP_VIEW\x00SQLITE_DROP_TRIGGER\x00SQLITE_DROP_VIEW\x00SQLITE_INSERT\x00SQLITE_PRAGMA\x00SQLITE_READ\x00SQLITE_SELECT\x00SQLITE_TRANSACTION\x00SQLITE_UPDATE\x00SQLITE_ATTACH\x00SQLITE_DETACH\x00SQLITE_ALTER_TABLE\x00SQLITE_REINDEX\x00SQLITE_ANALYZE\x00SQLITE_CREATE_VTABLE\x00SQLITE_DROP_VTABLE\x00SQLITE_FUNCTION\x00SQLITE_SAVEPOINT\x00SQLITE_RECURSIVE\x00????\x00SQLITE_DENY\x00SQLITE_IGNORE\x00RELEASE _tcl_transaction\x00COMMIT\x00ROLLBACK TO _tcl_transaction ; RELEASE _tcl_transaction\x00option\x00?CALLBACK?\x00?DATABASE? FILENAME\x00cannot open target database: \x00backup failed: \x00CALLBACK\x00cache option ?arg?\x00flush\x00size\x00size n\x00cannot convert \"\x00\" to integer\x00bad option \"\x00\": must be flush or size\x00NAME SCRIPT\x00SCRIPT\x00?OPTION? ?BOOLEAN?\x00unknown config option: \"\x00\"\x00CONFLICT-ALGORITHM TABLE FILENAME ?SEPARATOR? ?NULLINDICATOR?\x00\t\x00Error: non-null separator required for copy\x00rollback\x00abort\x00fail\x00ignore\x00replace\x00Error: \"\x00\", conflict-algorithm must be one of: rollback, abort, fail, ignore, or replace\x00SELECT * FROM '%q'\x00Error: no such table: \x00Error: \x00Error: can't malloc()\x00INSERT OR %q INTO '%q' VALUES(?\x00Error: cannot open file: \x00BEGIN\x00Error: %s line %d: expected %d columns of data but found %d\x00, failed while processing line: \x00?DATABASE? VALUE\x00-maxsize\x00-readonly\x00unknown option: \x00unable to set MEMDB content\x00extension loading is turned off at compile-time\x00-withoutnulls\x00unknown option: \"\x00?OPTIONS? SQL ?ARRAY-NAME? ?SCRIPT?\x00NAME ?SWITCHES? SCRIPT\x00-argcount\x00option requires an argument: \x00number of arguments must be non-negative\x00-deterministic\x00-directonly\x00-innocuous\x00-returntype\x00real\x00text\x00blob\x00any\x00type\x00\": must be -argcount, -deterministic, -directonly, -innocuous, or -returntype\x00?-readonly? ?DB? TABLE COLUMN ROWID\x00NULLVALUE\x00N CALLBACK\x00KEY\x00cannot open source database: \x00restore failed: \x00restore failed: source database busy\x00?DATABASE?\x00(step|sort|autoindex)\x00sort\x00autoindex\x00vmstep\x00bad argument: should be autoindex, step, sort or vmstep\x00MILLISECONDS\x00?CALLBACK? ?MASK?\x00trace type\x00SAVEPOINT _tcl_transaction\x00[TYPE] SCRIPT\x00transaction type\x00BEGIN EXCLUSIVE\x00BEGIN IMMEDIATE\x00?SCRIPT?\x00SUB-COMMAND ?ARGS?\x00hook ?SCRIPT?\x00INDEX\x00-use-legacy-prepare\x00-last-stmt-ptr\x00%p\x00unknown argument: \x00authorizer\x00backup\x00bind_fallback\x00busy\x00cache\x00changes\x00collate\x00collation_needed\x00commit_hook\x00complete\x00config\x00copy\x00deserialize\x00enable_load_extension\x00errorcode\x00exists\x00function\x00interrupt\x00last_insert_rowid\x00nullvalue\x00onecolumn\x00preupdate\x00profile\x00rekey\x00restore\x00rollback_hook\x00serialize\x00status\x00timeout\x00total_changes\x00trace\x00trace_v2\x00transaction\x00unlock_notify\x00update_hook\x00version\x00wal_hook\x00defensive\x00dqs_ddl\x00dqs_dml\x00enable_fkey\x00enable_qpsg\x00enable_trigger\x00enable_view\x00fts3_tokenizer\x00legacy_alter_table\x00legacy_file_format\x00load_extension\x00no_ckpt_on_close\x00reset_database\x00trigger_eqp\x00trusted_schema\x00writable_schema\x00statement\x00row\x00deferred\x00exclusive\x00immediate\x00depth\x00hook\x00new\x00old\x00HANDLE ?FILENAME? ?-vfs VFSNAME? ?-readonly BOOLEAN? ?-create BOOLEAN? ?-nofollow BOOLEAN? ?-nomutex BOOLEAN? ?-fullmutex BOOLEAN? ?-uri BOOLEAN?\x00-version\x00-sourceid\x00-has-codec\x000\x00-key\x00-vfs\x00-create\x00-nofollow\x00-nomutex\x00-fullmutex\x00-uri\x00-translatefilename\x00sqlite3\x00sqlite\x003.35.5\x00if {[llength $argv]>=1} {\nset argv0 [lindex $argv 0]\nset argv [lrange $argv 1 end]\nsource $argv0\n} else {\nset line {}\nwhile {![eof stdin]} {\nif {$line!=\"\"} {\nputs -nonewline \"> \"\n} else {\nputs -nonewline \"% \"\n}\nflush stdout\nappend line [gets stdin]\nif {[info complete $line]} {\nif {[catch {uplevel #0 $line} result]} {\nputs stderr \"Error: $result\"\n} elseif {$result!=\"\"} {\nputs $result\n}\nset line {}\n} else {\nappend line \\n\n}\n}\n}\n\x00SQLITE_DEBUG_BREAK\x00attach debugger to process %d and press any key to continue.\n\x00utf-8\x00argc\x00argv0\x00argv\x00errorInfo\x00%s: %s\n\x00SQLITE-CONNECTION\x00command not found: \x00error code %s (%d) does not match sqlite3_errcode %s (%d)\x00OMIT_MISUSE\x00wrong # args: should be \"\x00 DB FORMAT STRING\x00 DB HEX\x00 DB\x00 DB SQL\x00%z%s%s\x00%s%n\x00abcdefghijklmnopqrstuvwxyz\x00 DB FORMAT STRING ?COUNT?\x00 DB\"\x00 FILENAME\"\x00%02x\x00%04x\x00tkt2213 is not fixed\x00text16\x00bytes\x00bytes16\x00noop\x00x_coalesce\x00hex8\x00hex16\x00tkt2213func\x00pointer_change\x00counter1\x00counter2\x00intreal\x00x_sqlite_exec\x00value of 40 handed to x_count\x00x_count totals to 42\x00x_count\x00legacy_count\x00 TEXT\"\x00 FORMAT INT INT INT\"\x00argument is not a valid 64-bit integer\x00 FORMAT INT INT ?STRING?\"\x00 INT FORMAT INT INT ?STRING?\"\x00N must be non-negative\x00 FORMAT INT INT DOUBLE\"\x00 FORMAT DOUBLE DOUBLE\"\x00 FORMAT STRING\"\x00%08x%08x\x002nd argument should be 16-characters of hex\x00DB BOOLEAN\x00DB dbname tblname colname\x00CHANNEL ROWID\x00DB-HANDLE NAME CMP-PROC DEL-PROC\x00sqlite3_create_collate_v2() failed to detect an invalid encoding\x00utf8\x00utf16\x00utf16le\x00utf16be\x00DB NAME NARG ENC SWITCHES...\x00encoding\x00-func\x00-step\x00-final\x00-destroy\x00switch\x00DB-HANDLE FILE ?PROC?\x00this build omits sqlite3_load_extension()\x00DB-HANDLE ONOFF\x00string\x00value\x00first argument should be one of: int int64 string double null value\x00 DB FUNCTION-NAME\x00 \x00STMT PARAMETER RESETFLAG\x00SQLITE_STMTSTATUS_FULLSCAN_STEP\x00SQLITE_STMTSTATUS_SORT\x00SQLITE_STMTSTATUS_AUTOINDEX\x00SQLITE_STMTSTATUS_VM_STEP\x00SQLITE_STMTSTATUS_REPREPARE\x00SQLITE_STMTSTATUS_RUN\x00SQLITE_STMTSTATUS_MEMUSED\x00NBYTE\x00DB DBNAME\x00DB DBNAME SNAPSHOT\x00SNAPSHOT\x00SNAPSHOT1 SNAPSHOT2\x00bad SNAPSHOT\x00FILE\x00PATH\x00 DB STMT\x00 STMT\x00 FROM-STMT TO-STMT\x00 VM IDX VALUE (null|static|normal)\"\x00static\x00static-nbytes\x00normal\x00blob10\x00abc\x00xyz\x00pq\x004th argument should be \"null\" or \"static\" or \"normal\"\x00(%d) \x00test_collate\x00UTF-8\x00UTF-16LE\x00UTF-16BE\x00 \x00utf16bin\x00utf16_unaligned\x00utf16_aligned\x00test_function\x00\x00STMT IDX N\x00 STMT N VALUE\x00NaN\x00SNaN\x00-NaN\x00-SNaN\x00+Inf\x00-Inf\x00Epsilon\x00-Epsilon\x00NaN0\x00-NaN0\x00 STMT N\x00 STMT N VALUE BYTES\x00 STMT N DATA BYTES\x00cannot use %d blob bytes, have %d\x00-transient\x00-static\x00-int32\x00-int64\x00-double\x00-text\x00--\x00text data must be either -static or -transient\x00cannot be both -static and -transient\x00[OPTIONS] STMT IDX VALUE ...\x00STMT\x00STMT N\x00STMT NAME\x00 DB sql bytes ?tailvar?\x00 DB sql bytes tailvar\x00 DB sql bytes flags tailvar\x00\x00SELECT 1\x00 filename options-list\x00FILENAME FLAGS VFS\x00SQLITE_OPEN_READONLY\x00SQLITE_OPEN_READWRITE\x00SQLITE_OPEN_CREATE\x00SQLITE_OPEN_DELETEONCLOSE\x00SQLITE_OPEN_EXCLUSIVE\x00SQLITE_OPEN_AUTOPROXY\x00SQLITE_OPEN_MAIN_DB\x00SQLITE_OPEN_TEMP_DB\x00SQLITE_OPEN_TRANSIENT_DB\x00SQLITE_OPEN_MAIN_JOURNAL\x00SQLITE_OPEN_TEMP_JOURNAL\x00SQLITE_OPEN_SUBJOURNAL\x00SQLITE_OPEN_SUPER_JOURNAL\x00SQLITE_OPEN_NOMUTEX\x00SQLITE_OPEN_FULLMUTEX\x00SQLITE_OPEN_SHAREDCACHE\x00SQLITE_OPEN_PRIVATECACHE\x00SQLITE_OPEN_WAL\x00SQLITE_OPEN_URI\x00flag\x00\x00 STMT column\x00FLOAT\x00TEXT\x00BLOB\x00 DB MAGIC\x00SQLITE_MAGIC_OPEN\x00SQLITE_MAGIC_CLOSED\x00SQLITE_MAGIC_BUSY\x00SQLITE_MAGIC_ERROR\x00 DB function-name\x00VARIABLE\x00?N?\x001234567890000000\x00__one\x00__two\x00notadatabase\x00Unexpected non-zero errno: \x00DB [DBNAME]\x00%u\x00DB DBNAME SIZE\x00 DB PWD\x00 DB FLAG\x00%d %d\x00 DB ?AUXDB?\x00DB N\x00 DB ID VALUE\x00unknown limit type: \x00SQLITE_LIMIT_LENGTH\x00SQLITE_LIMIT_SQL_LENGTH\x00SQLITE_LIMIT_COLUMN\x00SQLITE_LIMIT_EXPR_DEPTH\x00SQLITE_LIMIT_COMPOUND_SELECT\x00SQLITE_LIMIT_VDBE_OP\x00SQLITE_LIMIT_FUNCTION_ARG\x00SQLITE_LIMIT_ATTACHED\x00SQLITE_LIMIT_LIKE_PATTERN_LENGTH\x00SQLITE_LIMIT_VARIABLE_NUMBER\x00SQLITE_LIMIT_TRIGGER_DEPTH\x00SQLITE_LIMIT_WORKER_THREADS\x00SQLITE_LIMIT_TOOSMALL\x00SQLITE_LIMIT_TOOBIG\x00SEED ?DB?\x00BOOLEAN\x00current\x00max\x00min\x00recyclable\x00DB ?NAME?\x00passive\x00full\x00restart\x00truncate\x00DB MODE ?NAME?\x00mode\x00DB VALUE\x00COMMAND ...\x00command has no objProc: \x00%d %d %d %s\n\x00SQLITE_TESTCTRL_LOCALTIME_FAULT\x00SQLITE_TESTCTRL_SORTER_MMAP\x00SQLITE_TESTCTRL_IMPOSTER\x00SQLITE_TESTCTRL_INTERNAL_FUNCTIONS\x00VERB ARGS...\x00VERB\x00ONOFF\x00DB LIMIT\x00DB dbName onOff tnum\x00ru_utime=%d.%06d ru_stime=%d.%06d ru_minflt=%d ru_majflt=%d\x00DB OPT BOOLEAN\x00unknown optimization - should be one of:\x00all\x00none\x00query-flattener\x00groupby-order\x00factor-constants\x00distinct-opt\x00cover-idx-scan\x00order-by-idx-join\x00transitive\x00omit-noop-join\x00stat4\x00skip-scan\x00push-down\x00DB NAME ...\x00no such extension: \x00initialization of \x00 failed: \x00amatch\x00appendvfs\x00closure\x00fileio\x00nextchar\x00series\x00spellfix\x00totype\x00BOOL\x00DB SQL1 NSTEP SQL2\x00data error: (a!=b)\x00checksum mismatch\x00sql error: \x00TYPE\x00Deliberate panic\x00DB SETTING [VALUE]\x00SQLITE_*\x00DBCONFIG_*\x00ENABLE_*\x00unknown sqlite3_db_config setting\x00FKEY\x00TRIGGER\x00FTS3_TOKENIZER\x00LOAD_EXTENSION\x00NO_CKPT_ON_CLOSE\x00QPSG\x00TRIGGER_EQP\x00RESET_DB\x00DEFENSIVE\x00WRITABLE_SCHEMA\x00LEGACY_ALTER_TABLE\x00DQS_DML\x00DQS_DDL\x00LEGACY_FILE_FORMAT\x00DB ?SCHEMA?\x00icecube\x00DB ?DBNAME?\x00DB OFFSET DATA\x00HEXDB\x00| size %d pagesize %d\x00bad 'pagesize' field\x00bad 'size' field\x00| page %d offset %d\x00| %d: %x %x %x %x %x %x %x %x %x %x %x %x %x %x %x %x\x00sqlite_search_count\x00sqlite_found_count\x00sqlite_sort_count\x00sqlite3_max_blobsize\x00sqlite_like_count\x00sqlite_interrupt_count\x00sqlite_open_file_count\x00sqlite_current_time\x00sqlite3_xferopt_count\x00sqlite3_pager_readdb_count\x00sqlite3_pager_writedb_count\x00sqlite3_pager_writej_count\x00unaligned_string_counter\x00sqlite_last_needed_collation\x00sqlite_query_plan\x00sqlite_opentemp_count\x00sqlite_static_bind_value\x00sqlite_static_bind_nbyte\x00sqlite_temp_directory\x00sqlite_data_directory\x00bitmask_size\x00longdouble_size\x00sqlite_sync_count\x00sqlite_fullsync_count\x00db_enter\x00db_leave\x00sqlite3_mprintf_int\x00sqlite3_mprintf_int64\x00sqlite3_mprintf_long\x00sqlite3_mprintf_str\x00sqlite3_snprintf_str\x00sqlite3_mprintf_stronly\x00sqlite3_mprintf_double\x00sqlite3_mprintf_scaled\x00sqlite3_mprintf_hexdouble\x00sqlite3_mprintf_z_test\x00sqlite3_mprintf_n_test\x00sqlite3_snprintf_int\x00sqlite3_last_insert_rowid\x00sqlite3_exec_printf\x00sqlite3_exec_hex\x00sqlite3_exec\x00sqlite3_exec_nr\x00sqlite3_get_table_printf\x00sqlite3_close\x00sqlite3_close_v2\x00sqlite3_create_function\x00sqlite3_create_aggregate\x00sqlite3_drop_modules\x00sqlite_register_test_function\x00sqlite_abort\x00sqlite_bind\x00breakpoint\x00sqlite3_key\x00sqlite3_rekey\x00sqlite_set_magic\x00sqlite3_interrupt\x00sqlite_delete_function\x00sqlite_delete_collation\x00sqlite3_get_autocommit\x00sqlite3_busy_timeout\x00printf\x00sqlite3IoTrace\x00clang_sanitize_address\x00sqlite3_db_config\x00sqlite3_txn_state\x00bad_behavior\x00register_dbstat_vtab\x00sqlite3_connection_pointer\x00intarray_addr\x00int64array_addr\x00doublearray_addr\x00textarray_addr\x00sqlite3_bind_int\x00sqlite3_bind_zeroblob\x00sqlite3_bind_zeroblob64\x00sqlite3_bind_int64\x00sqlite3_bind_double\x00sqlite3_bind_null\x00sqlite3_bind_text\x00sqlite3_bind_text16\x00sqlite3_bind_blob\x00sqlite3_carray_bind\x00sqlite3_bind_parameter_count\x00sqlite3_bind_parameter_name\x00sqlite3_bind_parameter_index\x00sqlite3_clear_bindings\x00sqlite3_sleep\x00sqlite3_errcode\x00sqlite3_extended_errcode\x00sqlite3_errmsg\x00sqlite3_errmsg16\x00sqlite3_open\x00sqlite3_open16\x00sqlite3_open_v2\x00sqlite3_complete16\x00sqlite3_normalize\x00sqlite3_prepare\x00sqlite3_prepare16\x00sqlite3_prepare_v2\x00sqlite3_prepare_v3\x00sqlite3_prepare_tkt3134\x00sqlite3_prepare16_v2\x00sqlite3_finalize\x00sqlite3_stmt_status\x00sqlite3_reset\x00sqlite3_expired\x00sqlite3_transfer_bindings\x00sqlite3_changes\x00sqlite3_step\x00sqlite3_sql\x00sqlite3_expanded_sql\x00sqlite3_next_stmt\x00sqlite3_stmt_readonly\x00sqlite3_stmt_isexplain\x00sqlite3_stmt_busy\x00uses_stmt_journal\x00sqlite3_release_memory\x00sqlite3_db_release_memory\x00sqlite3_db_cacheflush\x00sqlite3_system_errno\x00sqlite3_db_filename\x00sqlite3_db_readonly\x00sqlite3_soft_heap_limit\x00sqlite3_soft_heap_limit64\x00sqlite3_hard_heap_limit64\x00sqlite3_thread_cleanup\x00sqlite3_pager_refcounts\x00sqlite3_load_extension\x00sqlite3_enable_load_extension\x00sqlite3_extended_result_codes\x00sqlite3_limit\x00dbconfig_maindbname_icecube\x00save_prng_state\x00restore_prng_state\x00reset_prng_state\x00prng_seed\x00extra_schema_checks\x00database_never_corrupt\x00database_may_be_corrupt\x00optimization_control\x00tcl_objproc\x00sqlite3_column_count\x00sqlite3_data_count\x00sqlite3_column_type\x00sqlite3_column_blob\x00sqlite3_column_double\x00sqlite3_column_int64\x00sqlite3_column_text\x00sqlite3_column_name\x00sqlite3_column_int\x00sqlite3_column_bytes\x00sqlite3_column_decltype\x00sqlite3_column_database_name\x00sqlite3_column_table_name\x00sqlite3_column_origin_name\x00sqlite3_column_bytes16\x00sqlite3_column_text16\x00sqlite3_column_name16\x00add_alignment_test_collations\x00sqlite3_column_decltype16\x00sqlite3_column_database_name16\x00sqlite3_column_table_name16\x00sqlite3_column_origin_name16\x00sqlite3_create_collation_v2\x00sqlite3_global_recover\x00working_64bit_int\x00vfs_unlink_test\x00vfs_initfail_test\x00vfs_unregister_all\x00vfs_reregister_all\x00file_control_test\x00file_control_lasterrno_test\x00file_control_lockproxy_test\x00file_control_chunksize_test\x00file_control_sizehint_test\x00file_control_data_version\x00file_control_persist_wal\x00file_control_powersafe_overwrite\x00file_control_vfsname\x00file_control_reservebytes\x00file_control_tempfilename\x00sqlite3_vfs_list\x00sqlite3_create_function_v2\x00add_test_collate\x00add_test_collate_needed\x00add_test_function\x00add_test_utf16bin_collate\x00sqlite3_test_errstr\x00tcl_variable_type\x00sqlite3_enable_shared_cache\x00sqlite3_shared_cache_report\x00sqlite3_libversion_number\x00sqlite3_table_column_metadata\x00sqlite3_blob_reopen\x00pcache_stats\x00sqlite3_unlock_notify\x00sqlite3_wal_checkpoint\x00sqlite3_wal_checkpoint_v2\x00sqlite3_wal_autocheckpoint\x00test_sqlite3_log\x00print_explain_query_plan\x00sqlite3_test_control\x00getrusage\x00load_static_extension\x00sorter_test_fakeheap\x00sorter_test_sort4_helper\x00vfs_current_time_int64\x00sqlite3_snapshot_get\x00sqlite3_snapshot_open\x00sqlite3_snapshot_free\x00sqlite3_snapshot_cmp\x00sqlite3_snapshot_recover\x00sqlite3_snapshot_get_blob\x00sqlite3_snapshot_open_blob\x00sqlite3_snapshot_cmp_blob\x00sqlite3_delete_database\x00atomic_batch_write\x00sqlite3_mmap_warm\x00sqlite3_config_sorterref\x00decode_hexdb\x00test_write_db\x00sqlite3_register_cksumvfs\x00sqlite3_unregister_cksumvfs\x00*** OBSOLETE VARIABLE ***\x00 FILENAME N-PAGE\"\x00 ID\"\x00ref\x00page\x00err\x00hit\x00miss\x00ovfl\x00 ID PGNO\"\x00 PAGE\"\x00 PAGE DATA\"\x00 N-MEGABYTES FILE\"\x00open failed: \x00Hello, World!\x00write failed: \x00 PENDING-BYTE\"\x00fault simulator script failed: [%s]\x00 SCRIPT\"\x00 SIZE PROGRAM\"\x00sqlite_io_error_pending\x00sqlite_io_error_persist\x00sqlite_io_error_hit\x00sqlite_io_error_hardhit\x00sqlite_diskfull_pending\x00sqlite_diskfull\x00sqlite_pending_byte\x00pager_open\x00pager_close\x00pager_commit\x00pager_rollback\x00pager_stmt_begin\x00pager_stmt_commit\x00pager_stmt_rollback\x00pager_stats\x00pager_pagecount\x00page_get\x00page_lookup\x00page_unref\x00page_read\x00page_write\x00page_number\x00pager_truncate\x00fake_big_file\x00sqlite3BitvecBuiltinTest\x00sqlite3_test_control_pending_byte\x00sqlite3_test_control_fault_install\x00 FILENAME NCACHE FLAGS\"\x00read\x00write\x00 ID TABLENUM WRITEABLE\"\x00 START MULTIPLIER COUNT INCREMENT\"\x00putVarint returned %d - should be between 1 and 9\x00putVarint returned %d and getVarint returned %d\x00Wrote 0x%016llx and got back 0x%016llx\x00putVarint returned %d and GetVarint32 returned %d\x00Wrote 0x%016llx and got back 0x%016llx from GetVarint32\x00 DB-HANDLE ?N?\"\x00No such db-handle: \"\x00 BT NCACHE\"\x00?-intkey? CSR KEY VALUE\x00btree_insert\x00btree_open\x00btree_close\x00btree_begin_transaction\x00btree_pager_stats\x00btree_cursor\x00btree_close_cursor\x00btree_next\x00btree_eof\x00btree_payload_size\x00btree_first\x00btree_varint_test\x00btree_from_db\x00btree_ismemdb\x00btree_set_cache_size\x00thread ID must be an upper case letter\x00 ID FILENAME\x00thread \x00 is already running\x00failed to create the thread\x00 ID\x00no such thread\x00 ID N\x00column number out of range\x00no database is open\x00 ID SQL\x00no virtual machine available\x00 IDL\x00 ID1 ID2\x00 ID DB\x00thread_create\x00thread_wait\x00thread_halt\x00thread_argc\x00thread_argv\x00thread_colname\x00thread_result\x00thread_error\x00thread_compile\x00thread_step\x00thread_finalize\x00thread_swap\x00thread_db_get\x00thread_db_put\x00thread_stmt_get\x00 \x00hello world\x00UTF8\x00UTF16LE\x00UTF16BE\x00UTF16\x00No such encoding: \x00 \x00binarize\x00test_value_overhead\x00test_translate\x00translate_selftest\x00out of memory in the crash simulator\n\x00atomic\x00atomic512\x00atomic1k\x00atomic2k\x00atomic4k\x00atomic8k\x00atomic16k\x00atomic32k\x00atomic64k\x00sequential\x00safe_append\x00powersafe_overwrite\x00batch-atomic\x00-sectorsize\x00-characteristics\x00Bad option: \"\x00\" - must be \"-characteristics\" or \"-sectorsize\"\x00Option requires an argument: \"\x00no such flag\x00ENABLE ?DEFAULT?\x00crash\x00?OPTIONS? DELAY CRASHFILE\x00Filename is too long: \"\x00NWRITE\x00?-default? PARENT-VFS\x00-default\x00\": must be -default\x00Error in jt_register\x00sqlite3_crash_enable\x00sqlite3_crashparams\x00sqlite3_crash_now\x00sqlite3_simulate_device\x00sqlite3_crash_on_write\x00unregister_devsim\x00register_jt_vfs\x00unregister_jt_vfs\x00client_create\x00client_wait\x00client_halt\x00client_argc\x00client_argv\x00client_colname\x00client_result\x00client_error\x00client_compile\x00client_step\x00client_reset\x00client_finalize\x00client_swap\x00echo_module_fail(%s,%s)\x00echo-vtab-error: %s\x00SELECT * FROM %Q\x00PRAGMA index_list(%s)\x00PRAGMA index_info(%s)\x00echo_module\x00SELECT sql FROM sqlite_schema WHERE type = 'table' AND name = ?\x00%s%s\x00xCreate\x00CREATE TABLE %Q(logmsg)\x00xConnect\x00xDisconnect\x00xDestroy\x00DROP TABLE %Q\x00xOpen\x00xNext\x00xColumn\x00xFilter\x00, *\x00%z, %s\x00%z, NULL\x00echo_module_ignore_usable\x00xBestIndex\x00echo_module_cost\x00SELECT count(*) FROM %Q\x00SELECT rowid%z FROM %Q\x00rowid\x00=\x00<\x00>\x00<=\x00>=\x00LIKE\x00like\x00glob\x00 %s %s LIKE (SELECT '%%'||?||'%%')\x00 %s %s %s ?\x00DESC\x00ASC\x00 ORDER BY %s %s\x00xUpdate\x00 SET\x00UPDATE %Q\x00 SET rowid=?1 \x00%s %Q=?%d\x00 WHERE rowid=?%d\x00DELETE FROM %Q WHERE rowid = ?1\x00INSERT INTO %Q (\x00%s%Q\x00%s?%d\x00) VALUES(\x00echo(%s)\x00xBegin\x00echo_module_begin_fail\x00xSync\x00echo_module_sync_fail\x00xCommit\x00xRollback\x00::echo_glob_overload\x00xRename\x00ALTER TABLE %s RENAME TO %s%s\x00echo\x00echo_v2\x00DB SQL\x00register_echo_module\x00sqlite3_declare_vtab\x00N/A\x00sqlite3_create_collation\x00Error testing function: \x00sqlite3_malloc\x00sqlite3_realloc\x00c_misuse_test\x00c_realloc_test\x00c_collation_test\x00sqlite3_reset_auto_extension\x00npage\x00finish\x00remaining\x00pagecount\x00CMDNAME DESTHANDLE DESTNAME SRCHANDLE SRCNAME\x00sqlite3_backup_init() failed\x00sqlite3_backup\x00wrong number of arguments\x00unexpected: %s\x00eq\x00gt\x00le\x00lt\x00ge\x00match\x00ne\x00isnot\x00isnotnull\x00isnull\x00op\x00column\x00usable\x00desc\x00cost\x00orderby\x00idxnum\x00idxstr\x00rows\x00use\x00omit\x00unexpected: %d\x00tcl\x00register_tcl_module\x00incrblob_\x00DB DATABASE TABLE COLUMN ROWID FLAGS VARNAME\x00HANDLE\x00CHANNEL OFFSET N\x00out of memory in testdata/sqlite-src-3350500/src/test_blob.c\x00HANDLE OFFSET DATA ?NDATA?\x00sqlite3_blob_open\x00sqlite3_blob_close\x00sqlite3_blob_bytes\x00sqlite3_blob_read\x00sqlite3_blob_write\x00sqlite_options\x00malloc_usable_size\x001\x00rowid32\x00casesensitivelike\x00curdir\x00win32malloc\x00debug\x00default_ckptfullfsync\x00direct_read\x00dirsync\x00lfs\x00pagecache_overflow_stats\x00mmap\x00worker_threads\x008\x00memdebug\x008_3_names\x00cursorhints\x00hiddencolumns\x00mathlib\x00mem3\x00mem5\x00offset_sql_func\x00snapshot\x00mutex\x00mutex_noop\x00altertable\x00api_armor\x00atomicwrite\x00json1\x00has_codec\x00like_match_blobs\x00attach\x00auth\x00autoinc\x00autoreset\x00autovacuum\x00default_autovacuum\x00between_opt\x00builtin_test\x00bloblit\x00cast\x00check\x00cte\x00columnmetadata\x00oversize_cell_check\x00compileoption_diags\x00compound\x00conflict\x00crashtest\x00datetime\x00decltype\x00deprecated\x00diskio\x00floatingpoint\x00foreignkey\x00fts1\x00fts2\x00fts3\x00fts5\x00fts3_unicode\x00fts4_deferred\x00gettable\x00icu\x00icu_collations\x00integrityck\x00legacyformat\x00like_opt\x00load_ext\x00localtime\x00lookaside\x00long_double\x00memorydb\x00memorymanage\x00mergesort\x00null_trim\x00or_opt\x00rbu\x00pager_pragmas\x00pragma\x00reindex\x00rtree\x00rtree_int_only\x00schema_pragmas\x00schema_version\x00session\x00stmtvtab\x00scanstatus\x00lock_proxy_pragmas\x00prefer_proxy_locking\x00shared_cache\x00subquery\x00tclvar\x00threadsafe\x00threadsafe1\x00threadsafe2\x00tempdb\x00trigger\x00truncate_opt\x00vacuum\x00view\x00vtab\x00wal\x00wsd\x00update_delete_limit\x00fast_secure_delete\x00secure_delete\x00userauth\x00multiplex_ext_overwrite\x00yytrackmaxstackdepth\x00sqllog\x00uri_00_error\x00normalize\x00windowfunc\x00SQLITE_MAX_LENGTH\x00SQLITE_MAX_COLUMN\x00SQLITE_MAX_SQL_LENGTH\x00SQLITE_MAX_EXPR_DEPTH\x00SQLITE_MAX_COMPOUND_SELECT\x00SQLITE_MAX_VDBE_OP\x00SQLITE_MAX_FUNCTION_ARG\x00SQLITE_MAX_VARIABLE_NUMBER\x00SQLITE_MAX_PAGE_SIZE\x00SQLITE_MAX_PAGE_COUNT\x00SQLITE_MAX_LIKE_PATTERN_LENGTH\x00SQLITE_MAX_TRIGGER_DEPTH\x00SQLITE_DEFAULT_CACHE_SIZE\x00SQLITE_DEFAULT_PAGE_SIZE\x00SQLITE_DEFAULT_FILE_FORMAT\x00SQLITE_DEFAULT_SYNCHRONOUS\x00SQLITE_DEFAULT_WAL_SYNCHRONOUS\x00SQLITE_MAX_ATTACHED\x00SQLITE_MAX_DEFAULT_PAGE_SIZE\x00SQLITE_MAX_WORKER_THREADS\x00TEMP_STORE\x00__GNUC__\x00%s-journal\x00%s-wal\x00%s-shm\x00%s%03d\x00%s-journal%03d\x00%s-wal%03d\x00devsym\x00writecrash\x00CREATE TABLE xyz(dir, name);\x00CREATE TABLE xyz(path, size, data);\x00WITH r(d) AS ( SELECT CASE WHEN dir=?2 THEN ?3 ELSE dir END || '/' || name FROM fsdir WHERE dir=?1 AND name NOT LIKE '.%' UNION ALL SELECT dir || '/' || name FROM r, fsdir WHERE dir=d AND name NOT LIKE '.%') SELECT d FROM r;\x00/\x00CREATE TABLE x(path TEXT, data TEXT)\x00SELECT * FROM %Q.%Q WHERE rowid=?\x00fs\x00fstree\x00register_fs_module\x00abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-!,:*^+=_|?/<> \x00sqlite3_prepare_v2() error: %s\x000123456789abcdef\x00x'\x00test_agg_errmsg16\x00randstr\x00test_destructor\x00test_destructor16\x00hex_to_utf16be\x00hex_to_utf16le\x00hex_to_utf8\x00test_destructor_count\x00test_auxdata\x00test_error\x00test_eval\x00test_isolation\x00test_counter\x00real2hex\x00test_decode\x00test_extract\x00test_zeroblob\x00test_getsubtype\x00test_setsubtype\x00test_frombind\x00tx\x00funcxx_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789\x00nullx_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789\x00sqlite3_create_function abused test failed\x00invalid matchinfo blob passed to function rank()\x00wrong number of arguments to function rank()\x00rank\x00autoinstall_test_functions\x00abuse_create_function\x00install_fts3_rank_function\x000123456789ABCDEF\x00FILENAME OFFSET AMT\x00r\x00cannot open input file \x00FILENAME OFFSET HEXDATA\x00r+b\x00r+\x00cannot open output file \x00HEXDATA\x00[utf8_to_utf8] unavailable - SQLITE_DEBUG not defined\x00BLOB VARNAME\x00LIST\x00hexio_read\x00hexio_write\x00hexio_get_int\x00hexio_render_int16\x00hexio_render_int32\x00utf8_to_utf8\x00read_fts3varint\x00make_fts3record\x00mem\x00pcache\x00Unknown argument: \"\x00init_wrapper_install\x00init_wrapper_query\x00init_wrapper_uninstall\x00init_wrapper_clear\x00CREATE TABLE x(value INTEGER PRIMARY KEY)\x00CREATE VIRTUAL TABLE temp.%Q USING %Q\x00INTARRAY\x00SQLITE_NOMEM\x00sqlite3_intarray_create\x00sqlite3_intarray_bind\x00jt\x00-journal\x00NBYTES\x00PRIOR NBYTES\x00bad pointer: \x00PRIOR\x00ADDRESS SIZE HEX\x00size must be positive\x00no data\x00ADDRESS SIZE\x00?RESET?\x00DEPT\x00FILENAME\x00COUNTER ?OPTIONS?\x00-repeat\x00-benigncnt\x00TITLE\x00SUB-COMMAND ...\x00start\x00stop\x00dump\x00clear\x00sync\x00SIZE N\x00INSTALLFLAG DISCARDCHANCE PRNGSEEED HIGHSTRESS\x00discard-chance should be between 0 and 100\x00SIZE COUNT\x00BUFID SIZE COUNT\x00illegal arguments - see documentation\x00NBYTE NMINALLOC\x00[DB]\x00sqlite3_db_config(db, 99999) does not return SQLITE_ERROR\x00sqlite3_config(99999) does not return SQLITE_ERROR\x00PARAMETER RESETFLAG\x00SQLITE_STATUS_MEMORY_USED\x00SQLITE_STATUS_MALLOC_SIZE\x00SQLITE_STATUS_PAGECACHE_USED\x00SQLITE_STATUS_PAGECACHE_OVERFLOW\x00SQLITE_STATUS_PAGECACHE_SIZE\x00SQLITE_STATUS_SCRATCH_USED\x00SQLITE_STATUS_SCRATCH_OVERFLOW\x00SQLITE_STATUS_SCRATCH_SIZE\x00SQLITE_STATUS_PARSER_STACK\x00SQLITE_STATUS_MALLOC_COUNT\x00DB PARAMETER RESETFLAG\x00SQLITE_\x00DBSTATUS_\x00LOOKASIDE_USED\x00CACHE_USED\x00SCHEMA_USED\x00STMT_USED\x00LOOKASIDE_HIT\x00LOOKASIDE_MISS_SIZE\x00LOOKASIDE_MISS_FULL\x00CACHE_HIT\x00CACHE_MISS\x00CACHE_WRITE\x00DEFERRED_FKS\x00CACHE_USED_SHARED\x00CACHE_SPILL\x00?INTEGER?\x00sqlite3_free\x00memset\x00memget\x00sqlite3_memory_used\x00sqlite3_memory_highwater\x00sqlite3_memdebug_backtrace\x00sqlite3_memdebug_dump\x00sqlite3_memdebug_fail\x00sqlite3_memdebug_pending\x00sqlite3_memdebug_settitle\x00sqlite3_memdebug_malloc_count\x00sqlite3_memdebug_log\x00sqlite3_config_pagecache\x00sqlite3_config_alt_pcache\x00sqlite3_status\x00sqlite3_db_status\x00install_malloc_faultsim\x00sqlite3_config_heap\x00sqlite3_config_heap_size\x00sqlite3_config_memstatus\x00sqlite3_config_lookaside\x00sqlite3_config_error\x00sqlite3_config_uri\x00sqlite3_config_cis\x00sqlite3_config_pmasz\x00sqlite3_db_config_lookaside\x00sqlite3_dump_memsys3\x00sqlite3_dump_memsys5\x00sqlite3_install_memsys3\x00sqlite3_memdebug_vfs_oom_test\x00%05u\x00 FILENAME [OFFSET AMT]\"\x00unable to open file \"\x00\" for reading\x00md5\x00md5-10x8\x00md5file\x00md5file-10x8\x00md5sum\x00%03d\x00multiplexor.xAccess failure on %s\x00multiplexor.xOpen failure on %s\x00multiplex_control\x00chunksize\x00multiplex_truncate\x00multiplex/%z\x00multiplex\x00NAME MAKEDEFAULT\x00-force\x00?-force?\x00enable\x00chunk_size\x00max_chunks\x00HANDLE DBNAME SUB-COMMAND INT-VALUE\x00expected database handle, got \"\x00sqlite3_multiplex_initialize\x00sqlite3_multiplex_shutdown\x00sqlite3_multiplex_control\x00fast\x00recursive\x00static_main\x00static_mem\x00static_open\x00static_prng\x00static_lru\x00static_pmem\x00static_app1\x00static_app2\x00static_app3\x00static_vfs1\x00static_vfs2\x00static_vfs3\x00mutex counters are \x00already installed\x00not installed\x00singlethread\x00multithread\x00serialized\x00mutex name\x00disable_mutex_init\x00disable_mutex_try\x00sqlite3_shutdown\x00sqlite3_initialize\x00sqlite3_config\x00enter_static_mutex\x00leave_static_mutex\x00enter_db_mutex\x00leave_db_mutex\x00alloc_dealloc_mutex\x00install_mutex_counters\x00read_mutex_counters\x00clear_mutex_counters\x00\x00\x00\x00\x00\x00\x00\x00vfslog/%z\x00sqlite_ostrace1.....\x00xClose\x00xRead\x00xWrite\x00xTruncate\x00xFilesize\x00xLock\x00xUnlock\x00xCheckResLock\x00xFileControl\x00xSectorSize\x00xDeviceChar\x00xDelete\x00xAccess\x00xFullPathname\x00xRandomness\x00xSleep\x00xCurrentTime\x00xShmUnmap\x00xShmLock\x00xShmBarrier\x00xShmMap\x00annotation\x00CREATE TABLE xxx(event, file, click, rc, size, offset)\x00vfslog\x00VFS\x00failed\x00VFS PARENT LOGFILE\x00bad sqlite3 handle: \x00annotate\x00finalize\x00register\x00quota/%z\x00quota\x00::piLimit_\x00PATTERN LIMIT SCRIPT\x00FILENAME MODE\x00HANDLE SIZE NELEM\x00HANDLE SIZE NELEM CONTENT\x00HANDLE ?HARDSYNC?\x00HANDLE OFFSET WHENCE\x00SEEK_SET\x00SEEK_CUR\x00SEEK_END\x00WHENCE should be SEEK_SET, SEEK_CUR, or SEEK_END\x00HANDLE SIZE\x00PATTERN TEXT\x00sqlite3_quota_initialize\x00sqlite3_quota_shutdown\x00sqlite3_quota_set\x00sqlite3_quota_file\x00sqlite3_quota_dump\x00sqlite3_quota_fopen\x00sqlite3_quota_fread\x00sqlite3_quota_fwrite\x00sqlite3_quota_fclose\x00sqlite3_quota_fflush\x00sqlite3_quota_fseek\x00sqlite3_quota_rewind\x00sqlite3_quota_ftell\x00sqlite3_quota_ftruncate\x00sqlite3_quota_file_size\x00sqlite3_quota_file_truesize\x00sqlite3_quota_file_mtime\x00sqlite3_quota_remove\x00sqlite3_quota_glob\x00sqlite3_quota_file_available\x00sqlite3_quota_ferror\x00cube\x00circle\x00Qcircle\x00breadthfirstsearch\x00register_cube_geom\x00register_circle_geom\x00CREATE TABLE x(database,tablename,cid,name,type,not_null,dflt_value,pk)\x00SELECT name FROM sqlite_temp_schema WHERE type='table'\x00SELECT name FROM %Q.sqlite_schema WHERE type='table'\x00PRAGMA %Q.table_info(%Q)\x00PRAGMA database_list\x00register_schema_module\x00PRAGMA main.journal_mode\x00CMDNAME PATH ?VFS? ?BUSY-HANDLER-SCRIPT?\x00sqlite3demo_superlock\x00open\x00access\x00getcwd\x00stat\x00fstat\x00ftruncate\x00fcntl\x00pread\x00pread64\x00pwrite\x00pwrite64\x00fchmod\x00fallocate\x00mremap\x00SYSCALL-LIST\x00system-call\x00?COUNT PERSIST?\x00EACCES\x00EINTR\x00EIO\x00EOVERFLOW\x00ENOMEM\x00EAGAIN\x00ETIMEDOUT\x00EBUSY\x00EPERM\x00EDEADLK\x00ENOLCK\x00SYSCALL ERRNO\x00errno\x00PGSZ\x00getpagesize\x00pgsz out of range\x00fault\x00install\x00uninstall\x00list\x00defaultvfs\x00pagesize\x00VFS does not support xSetSystemCall\x00test_syscall\x00load_testfixture_extensions\x00SLAVE\x00CREATE TABLE x( name TEXT, arrayname TEXT, value TEXT, fullname TEXT PRIMARY KEY) WITHOUT ROWID\x00array names\x00tclvar_filter_cmd\x00%s(%s)\x00expr {[info exists ::tclvar_set_omit] && $::tclvar_set_omit}\x00the 'fullname' column must be TEXT\x00prohibited TCL variable change\x00proc like {pattern str} {\n set p [string map {% * _ ?} $pattern]\n string match $p $str\n}\nproc tclvar_filter_cmd {eq match glob regexp like} {\n set res {}\n set pattern $eq\n if {$pattern=={}} { set pattern $match }\n if {$pattern=={}} { set pattern * }\n foreach v [uplevel #0 info vars $pattern] {\n if {($glob=={} || [string match $glob [uplevel #0 set $v]])\n && ($like=={} || [like $like [uplevel #0 set $v]])\n && ($regexp=={} || [regexp $regexp [uplevel #0 set $v]])\n } {\n lappend res $v\n }\n }\n set res\n}\n\x00register_tclvar_module\x00clock_seconds\x00sqlthread\x00sqlite3_blocking_step\x00sqlite3_blocking_prepare_v2\x00sqlite3_nonblocking_prepare_v2\x00set\x00Error in Tcl_CreateThread()\x00no parent thread\x00parent\x00spawn\x00VARNAME SCRIPT\x00DBNAME\x00id\x00%s \x00SQLITE_IOERR\x00SQLITE_LOCKED\x00SQLITE_BUSY\x00SQLITE_READONLY\x00SQLITE_READONLY_CANTINIT\x00SQLITE_NOTFOUND\x00SQLITE_OMIT\x00normal|dataonly\x00full|dataonly\x00xCheckReservedLock\x00BEGIN_ATOMIC_WRITE\x00COMMIT_ATOMIC_WRITE\x00ZIPVFS\x00anon\x00SQLITE_ACCESS_EXISTS\x00SQLITE_ACCESS_READWRITE\x00SQLITE_ACCESS_READ\x00xShmOpen\x00 lock\x00 unlock\x00 shared\x00 exclusive\x00shm\x00delete\x00filter\x00ioerr\x00fullerr\x00cantopenerr\x00script\x00devchar\x00sectorsize\x00subcommand\x00FILE ?VALUE?\x00failed to get full path: \x00no such file: \x00unknown method: \x00?CNT PERSIST?\x00default\x00undeletable_when_open\x00immutable\x00?ATTR-LIST?\x00bad flags: \x00?VALUE?\x00-noshm\x00-szosfile\x00-mxpathname\x00-iversion\x00-fullshm\x00VFSNAME ?-noshm BOOL? ?-fullshm BOOL? ?-default BOOL? ?-mxpathname INT? ?-szosfile INT? ?-iversion INT?\x00shared\x00lock\x00unlock\x00DB DBNAME (shared|exclusive) (lock|unlock) OFFSET N\x00ARG\x00DB DBNAME SLOT ?VALUE?\x00*-shm is not yet mapped\x00testvfs\x00vfs_shmlock\x00vfs_set_readmark\x00DB NAME XSTEP XFINAL XVALUE XINVERSE\x00fff\x00misuse test error\x00invalid argument\x00sumint\x00sum\x00sqlite3_create_window_function\x00test_create_window_function_misuse\x00test_create_sumint\x00test_override_sum\x00"
+var ts1 = "%s\x00internal error!\x00SELECT * FROM main.%Q WHERE sample()\x00expert\x00PRAGMA table_xinfo=%Q\x00main\x00, \x00%Q\x00 COLLATE %Q\x00 COLLATE %s\x00 DESC\x00PRAGMA index_list=%Q\x00PRAGMA index_xInfo=%Q\x00%s_idx_%08x\x00CREATE INDEX '%q' ON %Q(%s)\x00CREATE INDEX %s ON %s(%s)\x00EXPLAIN QUERY PLAN %s\x00 USING INDEX \x00 USING COVERING INDEX \x00%s\n\x00%s;\n\x00SELECT 'CREATE TEMP' || substr(sql, 7) FROM sqlite_schema WHERE tbl_name = %Q AND type IN ('table', 'trigger') ORDER BY type;\x00ALTER TABLE temp.%Q RENAME TO %Q\x00INSERT INTO %Q VALUES(\x00%s?\x00\x00)\x00UPDATE %Q SET \x00%s%Q=?\x00DELETE FROM %Q\x00t592690916721053953805701627921227776\x00DROP TABLE t592690916721053953805701627921227776\x00SELECT type, name, sql, 1 FROM sqlite_schema WHERE type IN ('table','view') AND name NOT LIKE 'sqlite_%%' UNION ALL SELECT type, name, sql, 2 FROM sqlite_schema WHERE type = 'trigger' AND tbl_name IN(SELECT name FROM sqlite_schema WHERE type = 'view') ORDER BY 4, 1\x00CREATE TABLE x(\x00%s%Q COLLATE %s\x00CREATE VIRTUAL TABLE %Q USING expert(%Q)\x00SELECT max(i.seqno) FROM sqlite_schema AS s, pragma_index_list(s.name) AS l, pragma_index_info(l.name) AS i WHERE s.type = 'table'\x00%sx.%Q IS rem(%d, x.%Q) COLLATE %s\x00%s%d\x00SELECT %s FROM %Q x ORDER BY %s\x00SELECT %s FROM temp.t592690916721053953805701627921227776 x ORDER BY %s\x00%d\x00 %d\x00DROP TABLE IF EXISTS temp.t592690916721053953805701627921227776\x00CREATE TABLE temp.t592690916721053953805701627921227776 AS SELECT * FROM %Q\x00SELECT s.rowid, s.name, l.name FROM sqlite_schema AS s, pragma_index_list(s.name) AS l WHERE s.type = 'table'\x00SELECT name, coll FROM pragma_index_xinfo(?) WHERE key\x00INSERT INTO sqlite_stat1 VALUES(?, ?, ?)\x00ANALYZE; PRAGMA writable_schema=1\x00rem\x00sample\x00ANALYZE sqlite_schema\x00:memory:\x00SELECT sql FROM sqlite_schema WHERE name NOT LIKE 'sqlite_%%' AND sql NOT LIKE 'CREATE VIRTUAL %%'\x00%s;%s%s\n\x00 -- stat1: \x00no such handle: \x00sql\x00TABLE\x00analyze\x00count\x00report\x00STMT EREPORT\x00destroy\x00SUBCOMMAND ...\x00sub-command\x00indexes\x00plan\x00candidates\x00DB\x00sqlite3expert%d\x00out of memory\x00sqlite3_expert_new\x00SQLITE_DONE\x00SQLITE_ERROR\x00SQLITE_OK\x00SELECT fts5(?1)\x00error: \x00fts5_api_ptr\x00f5t_2_%lld\x00xColumnCount\x00xRowCount\x00xColumnTotalSize\x00COL\x00xTokenize\x00TEXT SCRIPT\x00xPhraseCount\x00xPhraseSize\x00PHRASE\x00xInstCount\x00xInst\x00IDX\x00xRowid\x00xColumnText\x00xColumnSize\x00xQueryPhrase\x00PHRASE SCRIPT\x00xSetAuxdata\x00VALUE\x00xGetAuxdata\x00CLEAR\x00xSetAuxdataInt\x00INTEGER\x00xGetAuxdataInt\x00xPhraseForeach\x00IPHRASE COLVAR OFFVAR SCRIPT\x00xPhraseColumnForeach\x00IPHRASE COLVAR SCRIPT\x00SUB-COMMAND\x00f5t_%lld\x00bytearray\x00boolean\x00double\x00wideInt\x00int\x00DB NAME SCRIPT\x00?-subst? DB NAME TEXT\x00-subst\x00unrecognized option: \x00no such tokenizer: \x00error in tokenizer.xCreate()\x00error in tokenizer.xTokenize()\x00document\x00aux\x00query\x00prefixquery\x00invalid\x00-colocated\x00sqlite3_fts5_token may only be used by tokenizer callback\x00?-colocated? TEXT START END\x00error in fts5_api.xCreateTokenizer()\x00NSLOT TOKEN\x00sqlite3_fts5_create_tokenizer\x00sqlite3_fts5_token\x00sqlite3_fts5_tokenize\x00sqlite3_fts5_create_function\x00sqlite3_fts5_may_be_corrupt\x00sqlite3_fts5_token_hash\x00sqlite3_fts5_register_matchinfo\x00sqlite3_fts5_register_fts5tokenize\x00unrecognized matchinfo flag: %c\x00pcx\x00matchinfo\x00CREATE TABLE x(input HIDDEN, token, start, end, position)\x00fts5tokenize\x00apndvfs\x00Start-Of-SQLite3-\x00apnd(%lld)/%z\x00SQLite format 3\x00%s: cost must be between 1 and %d\x00%s: maximum string length is %d\x00%s: iLang must be between 0 and %d\x00?\x00SELECT * FROM %Q.%Q\x00%s: %s\x00%s: %s has %d columns, expected 4\x00vocabulary_table\x00vocabulary_word\x00vocabulary_language\x00edit_distances\x00unrecognized argument: [%s]\n\x00no edit_distances table specified\x00CREATE TABLE x(word,distance,language,command HIDDEN,nword HIDDEN)\x000123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ^abcdefghijklmnopqrstuvwxyz~\x00SELECT \"%w\" FROM \"%w\"\x00 WHERE \"%w\">=?1 AND \"%w\"=?2 ORDER BY 1\x00SELECT \"%w\" FROM \"%w\" WHERE \"%w\">=?1 ORDER BY 1\x00*\x00DELETE from %s is not allowed\x00UPDATE of %s is not allowed\x00INSERT INTO %s allowed for column [command] only\x00approximate_match\x00int32\x00int64\x00char*\x00CREATE TABLE x(value,pointer hidden,count hidden,ctype hidden)\x00carray-bind\x00carray\x00unknown datatype: %Q\x00inttoptr\x00cksmvfs\x00ZV-\x00checksum fault offset %lld of \"%s\"\x00checksum_verification\x00enable%\x00yes\x00on\x00page_size\x00cksm/%z\x00verify_checksum\x00tablename\x00idcolumn\x00parentcolumn\x00CREATE TABLE x(id,depth,root HIDDEN,tablename HIDDEN,idcolumn HIDDEN,parentcolumn HIDDEN)\x00SELECT \"%w\".\"%w\" FROM \"%w\" WHERE \"%w\".\"%w\"=?1\x00transitive_closure\x00rb\x00cannot open '%s' for reading\x00line %d: unescaped %c character\x00line %d: unterminated %c-quoted field\n\x00more than one '%s' parameter\x00true\x00no\x00off\x00false\x00header\x00more than one 'header' parameter\x00testflags\x00columns\x00more than one 'columns' parameter\x00column= value must be positive\x00bad parameter: '%s'\x00must specify either filename= or data= but not both\x00%sc%d TEXT\x00,\x00%s\"%w\" TEXT\x00bad schema: '%s' - %s\x00filename\x00data\x00schema\x00csv\x00csv_wr\x00decimal_sum\x00decimal\x00decimal_cmp\x00decimal_add\x00decimal_sub\x00decimal_mul\x00 \x00eval\x00CREATE TABLE x(addr,opcode,p1,p2,p3,p4,p5,comment,sql HIDDEN)\x00EXPLAIN %s\x00explain\x00wb\x00wrong number of arguments to function writefile()\x00failed to create symlink: %s\x00failed to create directory: %s\x00failed to write file: %s\x00CREATE TABLE x(name,mode,mtime,data,path HIDDEN,dir HIDDEN)\x00cannot read directory: %s\x00%s/%s\x00cannot stat file: %s\x00table function fsdir requires an argument\x00table function fsdir requires a non-NULL argument\x00fsdir\x00readfile\x00writefile\x00lsmode\x00%s: ruleset must be between 0 and %d\x00%s: wrong number of CREATE VIRTUAL TABLE arguments\x00CREATE TABLE x(word,distance,ruleset)\x00fuzzer\x00ieee754(%lld,%d)\x00ieee754\x00ieee754_mantissa\x00ieee754_exponent\x00ieee754_to_blob\x00ieee754_from_blob\x00BEGIN; SELECT * FROM %s%q%ssqlite_schema\x00'\x00'.\x00PRAGMA %s%q%spage_size\x00sqlite3_mmap_warm_cache: Warmed up %d pages of %s\x00END\x00AND (%s)\x00collate \"%w\"\x00SELECT %s FROM %s WHERE %s>=(?1 || ?2) %s AND %s<=(?1 || char(1114111)) %s %s ORDER BY 1 %s ASC LIMIT 1\x00next_char\x00NULL\x00is\x00not\x00in(\x00in(select\x00in(with\x00?,?,?\x002nd argument to percentile() is not a number between 0.0 and 100.0\x002nd argument to percentile() is not the same for all input rows\x001st argument to percentile() is not numeric\x00Inf input to percentile()\x00percentile\x00CREATE TABLE prefixes(prefix TEXT, original_string TEXT HIDDEN)\x00prefixes\x00prefix_length\x00unknown \\ escape\x00afnrtv\\()*.+?[$^{|}]\x00\a\f\n\r\t\v\x00unmatched '('\x00'*' without operand\x00'+' without operand\x00'?' without operand\x00'{m,n}' without operand\x00unmatched '{'\x00n less than m in '{m,n}'\x00both m and n are zero in '{m,n}'\x00POSIX character classes not supported\x00unclosed '['\x00unrecognized character\x00regexp\x00regexpi\x00remember\x00CREATE TABLE x(value,start hidden,stop hidden,step hidden)\x00generate_series() requires SQLite 3.8.12 or later\x00generate_series\x00.ABCDHLRMY9 ?\x00non-ASCII input to editdist()\x00NULL input to editdist()\x00SELECT iLang, cFrom, cTo, iCost FROM \"%w\" WHERE iLang>=0 ORDER BY iLang\x00editdist3\x00DROP TABLE IF EXISTS \"%w\".\"%w_vocab\"\x00CREATE TABLE x(word,rank,distance,langid, score, matchlen, phonehash HIDDEN, top HIDDEN, scope HIDDEN, srchcnt HIDDEN, soundslike HIDDEN, command HIDDEN)\x00CREATE TABLE IF NOT EXISTS \"%w\".\"%w_vocab\"(\n id INTEGER PRIMARY KEY,\n rank INT,\n langid INT,\n word TEXT,\n k1 TEXT,\n k2 TEXT\n);\n\x00CREATE INDEX IF NOT EXISTS \"%w\".\"%w_vocab_index_langid_k2\" ON \"%w_vocab\"(langid,k2);\x00edit_cost_table=\x00bad argument to spellfix1(): \"%s\"\x00SELECT id, word, rank, coalesce(k1,word) FROM \"%w\".\"%w_vocab\" WHERE langid=%d AND k2>=?1 AND k22\x00SELECT word, rank, NULL, langid, id FROM \"%w\".\"%w_vocab\"%s\x00 WHERE rowid=?\x00ROLLBACK\x00IGNORE\x00ABORT\x00REPLACE\x00DELETE FROM \"%w\".\"%w_vocab\" WHERE id=%lld\x00NOT NULL constraint failed: %s.word\x00reset\x00null\x00unknown value for %s.command: \"%w\"\x00INSERT INTO \"%w\".\"%w_vocab\"(rank,langid,word,k1,k2) VALUES(%d,%d,%Q,nullif(%Q,%Q),%Q)\x00INSERT OR %s INTO \"%w\".\"%w_vocab\"(id,rank,langid,word,k1,k2) VALUES(%lld,%d,%d,%Q,nullif(%Q,%Q),%Q)\x00UPDATE OR %s \"%w\".\"%w_vocab\" SET id=%lld, rank=%d, langid=%d, word=%Q, k1=nullif(%Q,%Q), k2=%Q WHERE id=%lld\x00ALTER TABLE \"%w\".\"%w_vocab\" RENAME TO \"%w_vocab\"\x00spellfix1_translit\x00spellfix1_editdist\x00spellfix1_phonehash\x00spellfix1_scriptcode\x00spellfix1\x00922337203685477580\x00tointeger\x00toreal\x00sql error: %s\x00_rowid_\x00integer\x00no such rowid table: %s%s%s\x00.\x00SELECT group_concat(quote(name) || '.' || quote(type)) FROM pragma_table_info(?, ?)\x00source table schema mismatch\x00swarmvtab: no such SQL parameter: %s\x00maxopen\x00swarmvtab: illegal maxopen value\x00missing\x00swarmvtab: duplicate \"missing\" option\x00SELECT \"%w\"(?%s)\x00,?\x00openclose\x00swarmvtab: duplicate \"openclose\" option\x00SELECT \"%w\"(?,?%s)\x00swarmvtab: unrecognized option: %s\x00SELECT \"%w\"(?)\x00swarmvtab: parse error: %s\x00swarmvtab\x00unionvtab\x00temp\x00%s tables must be created in TEMP schema\x00wrong number of arguments for %s\x00SELECT * FROM (%z) ORDER BY 3\x00rowid range mismatch error\x00no source tables configured\x00SELECT 'CREATE TABLE xyz(' || group_concat(quote(name) || ' ' || type, ', ') || ')',max((cid+1) * (type='INTEGER' COLLATE nocase AND pk=1))-1 FROM pragma_table_info(%Q, ?)\x00SELECT rowid, * FROM %Q %s %lld\x00WHERE _rowid_ <=\x00-- \x00%z%sSELECT rowid, * FROM %s%q%s%Q\x00 UNION ALL \x00%z WHERE rowid=%lld\x00WHERE\x00%z WHERE rowid>=%lld\x00AND\x00%z %s rowid<=%lld\x00CREATE TABLE x(value)\x00wholenumber\x00CREATE TABLE y(name PRIMARY KEY,mode,mtime,sz,rawdata,data,method,z HIDDEN) WITHOUT ROWID;\x00zipfile\x00zipfile constructor requires one argument\x00error in fread()\x00error in fwrite()\x00failed to read CDS at offset %lld\x00%.*s\x00failed to read LFH at offset %d\x001.2.11\x00inflateInit2() failed (%d)\x00inflate() failed (%d)\x00zipfile: deflate() error\x00cannot find end of central directory record\x00zipfile() function requires an argument\x00cannot open file: %s\x00-rwxrwxrwx\x00zipfile: mode does not match data\x00zipfile: parse error in mode: %s\x00zipfile: missing filename\x00ab+\x00zipfile: failed to open file %s for writing\x00sz must be NULL\x00rawdata must be NULL\x00unknown compression method: %d\x00%s/\x00duplicate name: \"%s\"\x00{\"version-made-by\" : %u, \"version-to-extract\" : %u, \"flags\" : %u, \"compression\" : %u, \"time\" : %u, \"date\" : %u, \"crc32\" : %u, \"compressed-size\" : %u, \"uncompressed-size\" : %u, \"file-name-length\" : %u, \"extra-field-length\" : %u, \"file-comment-length\" : %u, \"disk-number-start\" : %u, \"internal-attr\" : %u, \"external-attr\" : %u, \"offset\" : %u }\x00zipfile_cds\x00wrong number of arguments to function zipfile()\x00first argument to zipfile() must be non-NULL\x00illegal method value: %d\x00non-directory name must not end with /\x00rbu_delta\x00step\x00close\x00create_rbu_delta\x00savestate\x00dbMain_eval\x00SQL\x00bp_progress\x00db\x00RBU\x00state\x00progress\x00close_no_error\x00temp_size_limit\x00LIMIT\x00temp_size\x00dbRbu_eval\x00METHOD\x00method\x00 - \x00oal\x00move\x00checkpoint\x00done\x00error\x00NAME TARGET-DB RBU-DB ?STATE-DB?\x00NAME TARGET-DB ?STATE-DB?\x00?-default? NAME PARENT\x00NAME\x00sqlite3rbu_db(0, 0)!=0\x00sqlite3rbu\x00sqlite3rbu_vacuum\x00sqlite3rbu_create_vfs\x00sqlite3rbu_destroy_vfs\x00sqlite3rbu_internal_test\x00DB SQL\x00error in sql_exec_changeset()\x00sqlite3session_streams\x00attach\x00changeset\x00delete\x00enable\x00BOOL\x00indirect\x00isempty\x00table_filter\x00SCRIPT\x00patchset\x00diff\x00FROMDB TBL\x00memory_used\x00changeset_size\x00object_config_size\x00CMD DB-HANDLE DB-NAME\x00n\x00i\x00f\x00t\x00b\x00FOREIGN_KEY\x00INSERT\x00UPDATE\x00DELETE\x00DATA\x00NOTFOUND\x00CONFLICT\x00CONSTRAINT\x00OMIT\x00-nosavepoint\x00-invert\x00?-nosavepoint? ?-inverse? DB CHANGESET CONFLICT-SCRIPT ?FILTER-SCRIPT?\x00DB CHANGESET CONFLICT-SCRIPT ?FILTER-SCRIPT?\x00DB CHANGESET\x00CHANGESET\x00LEFT RIGHT\x00-next\x00?-next? ?-invert? VARNAME CHANGESET SCRIPT\x00configure\x00REBASE-BLOB\x00rebase\x00OP VALUE\x00strm_size\x00sqlite3session\x00sqlite3session_foreach\x00sqlite3changeset_invert\x00sqlite3changeset_concat\x00sqlite3changeset_apply\x00sqlite3changeset_apply_v2\x00sqlite3changeset_apply_replace_all\x00sql_exec_changeset\x00sqlite3rebaser_create\x00sqlite3session_config\x00incrblob\x00incrblob_%d\x00%lld\x00sqlite_unlock_notify_arg\x00sqlite_unlock_notify_argcount\x00SQLITE_COPY\x00SQLITE_CREATE_INDEX\x00SQLITE_CREATE_TABLE\x00SQLITE_CREATE_TEMP_INDEX\x00SQLITE_CREATE_TEMP_TABLE\x00SQLITE_CREATE_TEMP_TRIGGER\x00SQLITE_CREATE_TEMP_VIEW\x00SQLITE_CREATE_TRIGGER\x00SQLITE_CREATE_VIEW\x00SQLITE_DELETE\x00SQLITE_DROP_INDEX\x00SQLITE_DROP_TABLE\x00SQLITE_DROP_TEMP_INDEX\x00SQLITE_DROP_TEMP_TABLE\x00SQLITE_DROP_TEMP_TRIGGER\x00SQLITE_DROP_TEMP_VIEW\x00SQLITE_DROP_TRIGGER\x00SQLITE_DROP_VIEW\x00SQLITE_INSERT\x00SQLITE_PRAGMA\x00SQLITE_READ\x00SQLITE_SELECT\x00SQLITE_TRANSACTION\x00SQLITE_UPDATE\x00SQLITE_ATTACH\x00SQLITE_DETACH\x00SQLITE_ALTER_TABLE\x00SQLITE_REINDEX\x00SQLITE_ANALYZE\x00SQLITE_CREATE_VTABLE\x00SQLITE_DROP_VTABLE\x00SQLITE_FUNCTION\x00SQLITE_SAVEPOINT\x00SQLITE_RECURSIVE\x00????\x00SQLITE_DENY\x00SQLITE_IGNORE\x00RELEASE _tcl_transaction\x00COMMIT\x00ROLLBACK TO _tcl_transaction ; RELEASE _tcl_transaction\x00option\x00?CALLBACK?\x00?DATABASE? FILENAME\x00cannot open target database: \x00backup failed: \x00CALLBACK\x00cache option ?arg?\x00flush\x00size\x00size n\x00cannot convert \"\x00\" to integer\x00bad option \"\x00\": must be flush or size\x00NAME SCRIPT\x00?OPTION? ?BOOLEAN?\x00unknown config option: \"\x00\"\x00CONFLICT-ALGORITHM TABLE FILENAME ?SEPARATOR? ?NULLINDICATOR?\x00\t\x00Error: non-null separator required for copy\x00rollback\x00abort\x00fail\x00ignore\x00replace\x00Error: \"\x00\", conflict-algorithm must be one of: rollback, abort, fail, ignore, or replace\x00SELECT * FROM '%q'\x00Error: no such table: \x00Error: \x00Error: can't malloc()\x00INSERT OR %q INTO '%q' VALUES(?\x00Error: cannot open file: \x00BEGIN\x00Error: %s line %d: expected %d columns of data but found %d\x00, failed while processing line: \x00?DATABASE? VALUE\x00-maxsize\x00-readonly\x00unknown option: \x00unable to set MEMDB content\x00extension loading is turned off at compile-time\x00-withoutnulls\x00unknown option: \"\x00?OPTIONS? SQL ?ARRAY-NAME? ?SCRIPT?\x00NAME ?SWITCHES? SCRIPT\x00-argcount\x00option requires an argument: \x00number of arguments must be non-negative\x00-deterministic\x00-directonly\x00-innocuous\x00-returntype\x00real\x00text\x00blob\x00any\x00type\x00\": must be -argcount, -deterministic, -directonly, -innocuous, or -returntype\x00?-readonly? ?DB? TABLE COLUMN ROWID\x00NULLVALUE\x00N CALLBACK\x00KEY\x00cannot open source database: \x00restore failed: \x00restore failed: source database busy\x00?DATABASE?\x00(step|sort|autoindex)\x00sort\x00autoindex\x00vmstep\x00bad argument: should be autoindex, step, sort or vmstep\x00MILLISECONDS\x00?CALLBACK? ?MASK?\x00trace type\x00SAVEPOINT _tcl_transaction\x00[TYPE] SCRIPT\x00transaction type\x00BEGIN EXCLUSIVE\x00BEGIN IMMEDIATE\x00?SCRIPT?\x00SUB-COMMAND ?ARGS?\x00hook ?SCRIPT?\x00INDEX\x00-use-legacy-prepare\x00-last-stmt-ptr\x00%p\x00unknown argument: \x00authorizer\x00backup\x00bind_fallback\x00busy\x00cache\x00changes\x00collate\x00collation_needed\x00commit_hook\x00complete\x00config\x00copy\x00deserialize\x00enable_load_extension\x00errorcode\x00exists\x00function\x00interrupt\x00last_insert_rowid\x00nullvalue\x00onecolumn\x00preupdate\x00profile\x00rekey\x00restore\x00rollback_hook\x00serialize\x00status\x00timeout\x00total_changes\x00trace\x00trace_v2\x00transaction\x00unlock_notify\x00update_hook\x00version\x00wal_hook\x00defensive\x00dqs_ddl\x00dqs_dml\x00enable_fkey\x00enable_qpsg\x00enable_trigger\x00enable_view\x00fts3_tokenizer\x00legacy_alter_table\x00legacy_file_format\x00load_extension\x00no_ckpt_on_close\x00reset_database\x00trigger_eqp\x00trusted_schema\x00writable_schema\x00statement\x00row\x00deferred\x00exclusive\x00immediate\x00depth\x00hook\x00new\x00old\x00HANDLE ?FILENAME? ?-vfs VFSNAME? ?-readonly BOOLEAN? ?-create BOOLEAN? ?-nofollow BOOLEAN? ?-nomutex BOOLEAN? ?-fullmutex BOOLEAN? ?-uri BOOLEAN?\x00-version\x00-sourceid\x00-has-codec\x000\x00-key\x00-vfs\x00-create\x00-nofollow\x00-nomutex\x00-fullmutex\x00-uri\x00-translatefilename\x00sqlite3\x00sqlite\x003.36.0\x00if {[llength $argv]>=1} {\nset argv0 [lindex $argv 0]\nset argv [lrange $argv 1 end]\nsource $argv0\n} else {\nset line {}\nwhile {![eof stdin]} {\nif {$line!=\"\"} {\nputs -nonewline \"> \"\n} else {\nputs -nonewline \"% \"\n}\nflush stdout\nappend line [gets stdin]\nif {[info complete $line]} {\nif {[catch {uplevel #0 $line} result]} {\nputs stderr \"Error: $result\"\n} elseif {$result!=\"\"} {\nputs $result\n}\nset line {}\n} else {\nappend line \\n\n}\n}\n}\n\x00SQLITE_DEBUG_BREAK\x00attach debugger to process %d and press any key to continue.\n\x00utf-8\x00argc\x00argv0\x00argv\x00errorInfo\x00%s: %s\n\x00SQLITE-CONNECTION\x00command not found: \x00error code %s (%d) does not match sqlite3_errcode %s (%d)\x00OMIT_MISUSE\x00wrong # args: should be \"\x00 DB FORMAT STRING\x00 DB HEX\x00 DB\x00 DB SQL\x00%z%s%s\x00%s%n\x00abcdefghijklmnopqrstuvwxyz\x00 DB FORMAT STRING ?COUNT?\x00 DB\"\x00 FILENAME\"\x00%02x\x00%04x\x00tkt2213 is not fixed\x00text16\x00bytes\x00bytes16\x00noop\x00x_coalesce\x00hex8\x00hex16\x00tkt2213func\x00pointer_change\x00counter1\x00counter2\x00intreal\x00x_sqlite_exec\x00value of 40 handed to x_count\x00x_count totals to 42\x00x_count\x00legacy_count\x00 TEXT\"\x00 FORMAT INT INT INT\"\x00argument is not a valid 64-bit integer\x00 FORMAT INT INT ?STRING?\"\x00 INT FORMAT INT INT ?STRING?\"\x00N must be non-negative\x00 FORMAT INT INT DOUBLE\"\x00 FORMAT DOUBLE DOUBLE\"\x00 FORMAT STRING\"\x00%08x%08x\x002nd argument should be 16-characters of hex\x00?BOOLEAN?\x00DB BOOLEAN\x00DB dbname tblname colname\x00CHANNEL ROWID\x00DB-HANDLE NAME CMP-PROC DEL-PROC\x00sqlite3_create_collate_v2() failed to detect an invalid encoding\x00utf8\x00utf16\x00utf16le\x00utf16be\x00DB NAME NARG ENC SWITCHES...\x00encoding\x00-func\x00-step\x00-final\x00-destroy\x00switch\x00DB-HANDLE FILE ?PROC?\x00this build omits sqlite3_load_extension()\x00DB-HANDLE ONOFF\x00string\x00value\x00first argument should be one of: int int64 string double null value\x00 DB FUNCTION-NAME\x00 \x00STMT PARAMETER RESETFLAG\x00SQLITE_STMTSTATUS_FULLSCAN_STEP\x00SQLITE_STMTSTATUS_SORT\x00SQLITE_STMTSTATUS_AUTOINDEX\x00SQLITE_STMTSTATUS_VM_STEP\x00SQLITE_STMTSTATUS_REPREPARE\x00SQLITE_STMTSTATUS_RUN\x00SQLITE_STMTSTATUS_MEMUSED\x00NBYTE\x00DB DBNAME\x00DB DBNAME SNAPSHOT\x00SNAPSHOT\x00SNAPSHOT1 SNAPSHOT2\x00bad SNAPSHOT\x00FILE\x00PATH\x00 DB STMT\x00 STMT\x00 FROM-STMT TO-STMT\x00 VM IDX VALUE (null|static|normal)\"\x00static\x00static-nbytes\x00normal\x00blob10\x00abc\x00xyz\x00pq\x004th argument should be \"null\" or \"static\" or \"normal\"\x00(%d) \x00test_collate\x00UTF-8\x00UTF-16LE\x00UTF-16BE\x00 \x00utf16bin\x00utf16_unaligned\x00utf16_aligned\x00test_function\x00\x00STMT IDX N\x00 STMT N VALUE\x00NaN\x00SNaN\x00-NaN\x00-SNaN\x00+Inf\x00-Inf\x00Epsilon\x00-Epsilon\x00NaN0\x00-NaN0\x00 STMT N\x00 STMT N VALUE BYTES\x00 STMT N DATA BYTES\x00cannot use %d blob bytes, have %d\x00-transient\x00-static\x00-int32\x00-int64\x00-double\x00-text\x00--\x00text data must be either -static or -transient\x00cannot be both -static and -transient\x00[OPTIONS] STMT IDX VALUE ...\x00STMT\x00STMT N\x00STMT NAME\x00 DB sql bytes ?tailvar?\x00 DB sql bytes tailvar\x00 DB sql bytes flags tailvar\x00\x00SELECT 1\x00 filename options-list\x00FILENAME FLAGS VFS\x00SQLITE_OPEN_READONLY\x00SQLITE_OPEN_READWRITE\x00SQLITE_OPEN_CREATE\x00SQLITE_OPEN_DELETEONCLOSE\x00SQLITE_OPEN_EXCLUSIVE\x00SQLITE_OPEN_AUTOPROXY\x00SQLITE_OPEN_MAIN_DB\x00SQLITE_OPEN_TEMP_DB\x00SQLITE_OPEN_TRANSIENT_DB\x00SQLITE_OPEN_MAIN_JOURNAL\x00SQLITE_OPEN_TEMP_JOURNAL\x00SQLITE_OPEN_SUBJOURNAL\x00SQLITE_OPEN_SUPER_JOURNAL\x00SQLITE_OPEN_NOMUTEX\x00SQLITE_OPEN_FULLMUTEX\x00SQLITE_OPEN_SHAREDCACHE\x00SQLITE_OPEN_PRIVATECACHE\x00SQLITE_OPEN_WAL\x00SQLITE_OPEN_URI\x00flag\x00\x00 STMT column\x00FLOAT\x00TEXT\x00BLOB\x00 DB MAGIC\x00SQLITE_MAGIC_OPEN\x00SQLITE_MAGIC_CLOSED\x00SQLITE_MAGIC_BUSY\x00SQLITE_MAGIC_ERROR\x00 DB function-name\x00VARIABLE\x00?N?\x001234567890000000\x00__one\x00__two\x00notadatabase\x00Unexpected non-zero errno: \x00DB [DBNAME]\x00%u\x00DB DBNAME SIZE\x00 DB PWD\x00 DB FLAG\x00%d %d\x00 DB ?AUXDB?\x00DB N\x00 DB ID VALUE\x00unknown limit type: \x00SQLITE_LIMIT_LENGTH\x00SQLITE_LIMIT_SQL_LENGTH\x00SQLITE_LIMIT_COLUMN\x00SQLITE_LIMIT_EXPR_DEPTH\x00SQLITE_LIMIT_COMPOUND_SELECT\x00SQLITE_LIMIT_VDBE_OP\x00SQLITE_LIMIT_FUNCTION_ARG\x00SQLITE_LIMIT_ATTACHED\x00SQLITE_LIMIT_LIKE_PATTERN_LENGTH\x00SQLITE_LIMIT_VARIABLE_NUMBER\x00SQLITE_LIMIT_TRIGGER_DEPTH\x00SQLITE_LIMIT_WORKER_THREADS\x00SQLITE_LIMIT_TOOSMALL\x00SQLITE_LIMIT_TOOBIG\x00SEED ?DB?\x00BOOLEAN\x00current\x00max\x00min\x00recyclable\x00DB ?NAME?\x00passive\x00full\x00restart\x00truncate\x00DB MODE ?NAME?\x00mode\x00DB VALUE\x00COMMAND ...\x00command has no objProc: \x00%d %d %d %s\n\x00SQLITE_TESTCTRL_LOCALTIME_FAULT\x00SQLITE_TESTCTRL_SORTER_MMAP\x00SQLITE_TESTCTRL_IMPOSTER\x00SQLITE_TESTCTRL_INTERNAL_FUNCTIONS\x00VERB ARGS...\x00VERB\x00ONOFF\x00DB LIMIT\x00DB dbName onOff tnum\x00ru_utime=%d.%06d ru_stime=%d.%06d ru_minflt=%d ru_majflt=%d\x00DB OPT BOOLEAN\x00unknown optimization - should be one of:\x00all\x00none\x00query-flattener\x00groupby-order\x00factor-constants\x00distinct-opt\x00cover-idx-scan\x00order-by-idx-join\x00transitive\x00omit-noop-join\x00stat4\x00skip-scan\x00push-down\x00DB NAME ...\x00no such extension: \x00initialization of \x00 failed: \x00amatch\x00appendvfs\x00closure\x00fileio\x00nextchar\x00series\x00spellfix\x00totype\x00DB SQL1 NSTEP SQL2\x00data error: (a!=b)\x00checksum mismatch\x00sql error: \x00TYPE\x00Deliberate panic\x00DB SETTING [VALUE]\x00SQLITE_*\x00DBCONFIG_*\x00ENABLE_*\x00unknown sqlite3_db_config setting\x00FKEY\x00TRIGGER\x00FTS3_TOKENIZER\x00LOAD_EXTENSION\x00NO_CKPT_ON_CLOSE\x00QPSG\x00TRIGGER_EQP\x00RESET_DB\x00DEFENSIVE\x00WRITABLE_SCHEMA\x00LEGACY_ALTER_TABLE\x00DQS_DML\x00DQS_DDL\x00LEGACY_FILE_FORMAT\x00DB ?SCHEMA?\x00icecube\x00DB ?DBNAME?\x00DB OFFSET DATA\x00HEXDB\x00| size %d pagesize %d\x00bad 'pagesize' field\x00bad 'size' field\x00| page %d offset %d\x00| %d: %x %x %x %x %x %x %x %x %x %x %x %x %x %x %x %x\x00sqlite_search_count\x00sqlite_found_count\x00sqlite_sort_count\x00sqlite3_max_blobsize\x00sqlite_like_count\x00sqlite_interrupt_count\x00sqlite_open_file_count\x00sqlite_current_time\x00sqlite3_xferopt_count\x00sqlite3_pager_readdb_count\x00sqlite3_pager_writedb_count\x00sqlite3_pager_writej_count\x00unaligned_string_counter\x00sqlite_last_needed_collation\x00sqlite_query_plan\x00sqlite_opentemp_count\x00sqlite_static_bind_value\x00sqlite_static_bind_nbyte\x00sqlite_temp_directory\x00sqlite_data_directory\x00bitmask_size\x00longdouble_size\x00sqlite_sync_count\x00sqlite_fullsync_count\x00db_enter\x00db_leave\x00sqlite3_mprintf_int\x00sqlite3_mprintf_int64\x00sqlite3_mprintf_long\x00sqlite3_mprintf_str\x00sqlite3_snprintf_str\x00sqlite3_mprintf_stronly\x00sqlite3_mprintf_double\x00sqlite3_mprintf_scaled\x00sqlite3_mprintf_hexdouble\x00sqlite3_mprintf_z_test\x00sqlite3_mprintf_n_test\x00sqlite3_snprintf_int\x00sqlite3_last_insert_rowid\x00sqlite3_exec_printf\x00sqlite3_exec_hex\x00sqlite3_exec\x00sqlite3_exec_nr\x00sqlite3_get_table_printf\x00sqlite3_close\x00sqlite3_close_v2\x00sqlite3_create_function\x00sqlite3_create_aggregate\x00sqlite3_drop_modules\x00sqlite_register_test_function\x00sqlite_abort\x00sqlite_bind\x00breakpoint\x00sqlite3_key\x00sqlite3_rekey\x00sqlite_set_magic\x00sqlite3_interrupt\x00sqlite_delete_function\x00sqlite_delete_collation\x00sqlite3_get_autocommit\x00sqlite3_busy_timeout\x00printf\x00sqlite3IoTrace\x00clang_sanitize_address\x00sqlite3_db_config\x00sqlite3_txn_state\x00bad_behavior\x00register_dbstat_vtab\x00sqlite3_connection_pointer\x00intarray_addr\x00int64array_addr\x00doublearray_addr\x00textarray_addr\x00sqlite3_bind_int\x00sqlite3_bind_zeroblob\x00sqlite3_bind_zeroblob64\x00sqlite3_bind_int64\x00sqlite3_bind_double\x00sqlite3_bind_null\x00sqlite3_bind_text\x00sqlite3_bind_text16\x00sqlite3_bind_blob\x00sqlite3_carray_bind\x00sqlite3_bind_parameter_count\x00sqlite3_bind_parameter_name\x00sqlite3_bind_parameter_index\x00sqlite3_clear_bindings\x00sqlite3_sleep\x00sqlite3_errcode\x00sqlite3_extended_errcode\x00sqlite3_errmsg\x00sqlite3_errmsg16\x00sqlite3_open\x00sqlite3_open16\x00sqlite3_open_v2\x00sqlite3_complete16\x00sqlite3_normalize\x00sqlite3_prepare\x00sqlite3_prepare16\x00sqlite3_prepare_v2\x00sqlite3_prepare_v3\x00sqlite3_prepare_tkt3134\x00sqlite3_prepare16_v2\x00sqlite3_finalize\x00sqlite3_stmt_status\x00sqlite3_reset\x00sqlite3_expired\x00sqlite3_transfer_bindings\x00sqlite3_changes\x00sqlite3_step\x00sqlite3_sql\x00sqlite3_expanded_sql\x00sqlite3_next_stmt\x00sqlite3_stmt_readonly\x00sqlite3_stmt_isexplain\x00sqlite3_stmt_busy\x00uses_stmt_journal\x00sqlite3_release_memory\x00sqlite3_db_release_memory\x00sqlite3_db_cacheflush\x00sqlite3_system_errno\x00sqlite3_db_filename\x00sqlite3_db_readonly\x00sqlite3_soft_heap_limit\x00sqlite3_soft_heap_limit64\x00sqlite3_hard_heap_limit64\x00sqlite3_thread_cleanup\x00sqlite3_pager_refcounts\x00sqlite3_load_extension\x00sqlite3_enable_load_extension\x00sqlite3_extended_result_codes\x00sqlite3_limit\x00dbconfig_maindbname_icecube\x00save_prng_state\x00restore_prng_state\x00reset_prng_state\x00prng_seed\x00extra_schema_checks\x00database_never_corrupt\x00database_may_be_corrupt\x00optimization_control\x00tcl_objproc\x00sqlite3_column_count\x00sqlite3_data_count\x00sqlite3_column_type\x00sqlite3_column_blob\x00sqlite3_column_double\x00sqlite3_column_int64\x00sqlite3_column_text\x00sqlite3_column_name\x00sqlite3_column_int\x00sqlite3_column_bytes\x00sqlite3_column_decltype\x00sqlite3_column_database_name\x00sqlite3_column_table_name\x00sqlite3_column_origin_name\x00sqlite3_column_bytes16\x00sqlite3_column_text16\x00sqlite3_column_name16\x00add_alignment_test_collations\x00sqlite3_column_decltype16\x00sqlite3_column_database_name16\x00sqlite3_column_table_name16\x00sqlite3_column_origin_name16\x00sqlite3_create_collation_v2\x00sqlite3_global_recover\x00working_64bit_int\x00vfs_unlink_test\x00vfs_initfail_test\x00vfs_unregister_all\x00vfs_reregister_all\x00file_control_test\x00file_control_lasterrno_test\x00file_control_lockproxy_test\x00file_control_chunksize_test\x00file_control_sizehint_test\x00file_control_data_version\x00file_control_persist_wal\x00file_control_powersafe_overwrite\x00file_control_vfsname\x00file_control_reservebytes\x00file_control_tempfilename\x00file_control_external_reader\x00sqlite3_vfs_list\x00sqlite3_create_function_v2\x00add_test_collate\x00add_test_collate_needed\x00add_test_function\x00add_test_utf16bin_collate\x00sqlite3_test_errstr\x00tcl_variable_type\x00sqlite3_enable_shared_cache\x00sqlite3_shared_cache_report\x00sqlite3_libversion_number\x00sqlite3_table_column_metadata\x00sqlite3_blob_reopen\x00pcache_stats\x00sqlite3_unlock_notify\x00sqlite3_wal_checkpoint\x00sqlite3_wal_checkpoint_v2\x00sqlite3_wal_autocheckpoint\x00test_sqlite3_log\x00print_explain_query_plan\x00sqlite3_test_control\x00getrusage\x00load_static_extension\x00sorter_test_fakeheap\x00sorter_test_sort4_helper\x00vfs_current_time_int64\x00sqlite3_snapshot_get\x00sqlite3_snapshot_open\x00sqlite3_snapshot_free\x00sqlite3_snapshot_cmp\x00sqlite3_snapshot_recover\x00sqlite3_snapshot_get_blob\x00sqlite3_snapshot_open_blob\x00sqlite3_snapshot_cmp_blob\x00sqlite3_delete_database\x00atomic_batch_write\x00sqlite3_mmap_warm\x00sqlite3_config_sorterref\x00decode_hexdb\x00test_write_db\x00sqlite3_register_cksumvfs\x00sqlite3_unregister_cksumvfs\x00*** OBSOLETE VARIABLE ***\x00 FILENAME N-PAGE\"\x00 ID\"\x00ref\x00page\x00err\x00hit\x00miss\x00ovfl\x00 ID PGNO\"\x00 PAGE\"\x00 PAGE DATA\"\x00 N-MEGABYTES FILE\"\x00open failed: \x00Hello, World!\x00write failed: \x00 PENDING-BYTE\"\x00fault simulator script failed: [%s]\x00 SCRIPT\"\x00 SIZE PROGRAM\"\x00sqlite_io_error_pending\x00sqlite_io_error_persist\x00sqlite_io_error_hit\x00sqlite_io_error_hardhit\x00sqlite_diskfull_pending\x00sqlite_diskfull\x00sqlite_pending_byte\x00pager_open\x00pager_close\x00pager_commit\x00pager_rollback\x00pager_stmt_begin\x00pager_stmt_commit\x00pager_stmt_rollback\x00pager_stats\x00pager_pagecount\x00page_get\x00page_lookup\x00page_unref\x00page_read\x00page_write\x00page_number\x00pager_truncate\x00fake_big_file\x00sqlite3BitvecBuiltinTest\x00sqlite3_test_control_pending_byte\x00sqlite3_test_control_fault_install\x00 FILENAME NCACHE FLAGS\"\x00read\x00write\x00 ID TABLENUM WRITEABLE\"\x00 START MULTIPLIER COUNT INCREMENT\"\x00putVarint returned %d - should be between 1 and 9\x00putVarint returned %d and getVarint returned %d\x00Wrote 0x%016llx and got back 0x%016llx\x00putVarint returned %d and GetVarint32 returned %d\x00Wrote 0x%016llx and got back 0x%016llx from GetVarint32\x00 DB-HANDLE ?N?\"\x00No such db-handle: \"\x00 BT NCACHE\"\x00?-intkey? CSR KEY VALUE\x00btree_insert\x00btree_open\x00btree_close\x00btree_begin_transaction\x00btree_pager_stats\x00btree_cursor\x00btree_close_cursor\x00btree_next\x00btree_eof\x00btree_payload_size\x00btree_first\x00btree_varint_test\x00btree_from_db\x00btree_ismemdb\x00btree_set_cache_size\x00thread ID must be an upper case letter\x00 ID FILENAME\x00thread \x00 is already running\x00failed to create the thread\x00 ID\x00no such thread\x00 ID N\x00column number out of range\x00no database is open\x00 ID SQL\x00no virtual machine available\x00 IDL\x00 ID1 ID2\x00 ID DB\x00thread_create\x00thread_wait\x00thread_halt\x00thread_argc\x00thread_argv\x00thread_colname\x00thread_result\x00thread_error\x00thread_compile\x00thread_step\x00thread_finalize\x00thread_swap\x00thread_db_get\x00thread_db_put\x00thread_stmt_get\x00 \x00hello world\x00UTF8\x00UTF16LE\x00UTF16BE\x00UTF16\x00No such encoding: \x00 \x00binarize\x00test_value_overhead\x00test_translate\x00translate_selftest\x00out of memory in the crash simulator\n\x00atomic\x00atomic512\x00atomic1k\x00atomic2k\x00atomic4k\x00atomic8k\x00atomic16k\x00atomic32k\x00atomic64k\x00sequential\x00safe_append\x00powersafe_overwrite\x00batch-atomic\x00-sectorsize\x00-characteristics\x00Bad option: \"\x00\" - must be \"-characteristics\" or \"-sectorsize\"\x00Option requires an argument: \"\x00no such flag\x00ENABLE ?DEFAULT?\x00crash\x00?OPTIONS? DELAY CRASHFILE\x00Filename is too long: \"\x00NWRITE\x00?-default? PARENT-VFS\x00-default\x00\": must be -default\x00Error in jt_register\x00sqlite3_crash_enable\x00sqlite3_crashparams\x00sqlite3_crash_now\x00sqlite3_simulate_device\x00sqlite3_crash_on_write\x00unregister_devsim\x00register_jt_vfs\x00unregister_jt_vfs\x00client_create\x00client_wait\x00client_halt\x00client_argc\x00client_argv\x00client_colname\x00client_result\x00client_error\x00client_compile\x00client_step\x00client_reset\x00client_finalize\x00client_swap\x00echo_module_fail(%s,%s)\x00echo-vtab-error: %s\x00SELECT * FROM %Q\x00PRAGMA index_list(%s)\x00PRAGMA index_info(%s)\x00echo_module\x00SELECT sql FROM sqlite_schema WHERE type = 'table' AND name = ?\x00%s%s\x00xCreate\x00CREATE TABLE %Q(logmsg)\x00xConnect\x00xDisconnect\x00xDestroy\x00DROP TABLE %Q\x00xOpen\x00xNext\x00xColumn\x00xFilter\x00, *\x00%z, %s\x00%z, NULL\x00echo_module_ignore_usable\x00xBestIndex\x00echo_module_cost\x00SELECT count(*) FROM %Q\x00SELECT rowid%z FROM %Q\x00rowid\x00=\x00<\x00>\x00<=\x00>=\x00LIKE\x00like\x00glob\x00 %s %s LIKE (SELECT '%%'||?||'%%')\x00 %s %s %s ?\x00DESC\x00ASC\x00 ORDER BY %s %s\x00xUpdate\x00 SET\x00UPDATE %Q\x00 SET rowid=?1 \x00%s %Q=?%d\x00 WHERE rowid=?%d\x00DELETE FROM %Q WHERE rowid = ?1\x00INSERT INTO %Q (\x00%s%Q\x00%s?%d\x00) VALUES(\x00echo(%s)\x00xBegin\x00echo_module_begin_fail\x00xSync\x00echo_module_sync_fail\x00xCommit\x00xRollback\x00::echo_glob_overload\x00xRename\x00ALTER TABLE %s RENAME TO %s%s\x00function_that_does_not_exist_0982ma98\x00echo\x00echo_v2\x00register_echo_module\x00sqlite3_declare_vtab\x00N/A\x00sqlite3_create_collation\x00Error testing function: \x00sqlite3_malloc\x00sqlite3_realloc\x00c_misuse_test\x00c_realloc_test\x00c_collation_test\x00sqlite3_reset_auto_extension\x00npage\x00finish\x00remaining\x00pagecount\x00CMDNAME DESTHANDLE DESTNAME SRCHANDLE SRCNAME\x00sqlite3_backup_init() failed\x00sqlite3_backup\x00wrong number of arguments\x00unexpected: %s\x00eq\x00gt\x00le\x00lt\x00ge\x00match\x00ne\x00isnot\x00isnotnull\x00isnull\x00op\x00column\x00usable\x00desc\x00cost\x00orderby\x00idxnum\x00idxstr\x00rows\x00use\x00omit\x00unexpected: %d\x00tcl\x00register_tcl_module\x00incrblob_\x00DB DATABASE TABLE COLUMN ROWID FLAGS VARNAME\x00HANDLE\x00CHANNEL OFFSET N\x00out of memory in testdata/sqlite-src-3360000/src/test_blob.c\x00HANDLE OFFSET DATA ?NDATA?\x00sqlite3_blob_open\x00sqlite3_blob_close\x00sqlite3_blob_bytes\x00sqlite3_blob_read\x00sqlite3_blob_write\x00sqlite_options\x00malloc_usable_size\x001\x00rowid32\x00casesensitivelike\x00configslower\x001.0\x00curdir\x00win32malloc\x00debug\x00default_ckptfullfsync\x00direct_read\x00dirsync\x00lfs\x00pagecache_overflow_stats\x00mmap\x00worker_threads\x008\x00memdebug\x008_3_names\x00cursorhints\x00hiddencolumns\x00mathlib\x00mem3\x00mem5\x00offset_sql_func\x00snapshot\x00mutex\x00mutex_noop\x00altertable\x00api_armor\x00atomicwrite\x00geopoly\x00json1\x00has_codec\x00like_match_blobs\x00auth\x00autoinc\x00autoreset\x00autovacuum\x00default_autovacuum\x00between_opt\x00builtin_test\x00bloblit\x00cast\x00check\x00cte\x00columnmetadata\x00oversize_cell_check\x00compileoption_diags\x00compound\x00conflict\x00crashtest\x00datetime\x00decltype\x00deprecated\x00diskio\x00floatingpoint\x00foreignkey\x00fts1\x00fts2\x00fts3\x00fts5\x00fts3_unicode\x00fts4_deferred\x00gettable\x00icu\x00icu_collations\x00integrityck\x00legacyformat\x00like_opt\x00load_ext\x00localtime\x00lookaside\x00long_double\x00memorydb\x00memorymanage\x00mergesort\x00null_trim\x00or_opt\x00rbu\x00pager_pragmas\x00pragma\x00reindex\x00rtree\x00rtree_int_only\x00schema_pragmas\x00schema_version\x00session\x00stmtvtab\x00scanstatus\x00lock_proxy_pragmas\x00prefer_proxy_locking\x00shared_cache\x00subquery\x00tclvar\x00threadsafe\x00threadsafe1\x00threadsafe2\x00tempdb\x00trigger\x00truncate_opt\x00vacuum\x00view\x00vtab\x00wal\x00wsd\x00update_delete_limit\x00fast_secure_delete\x00secure_delete\x00userauth\x00multiplex_ext_overwrite\x00yytrackmaxstackdepth\x00sqllog\x00uri_00_error\x00normalize\x00windowfunc\x00SQLITE_MAX_LENGTH\x00SQLITE_MAX_COLUMN\x00SQLITE_MAX_SQL_LENGTH\x00SQLITE_MAX_EXPR_DEPTH\x00SQLITE_MAX_COMPOUND_SELECT\x00SQLITE_MAX_VDBE_OP\x00SQLITE_MAX_FUNCTION_ARG\x00SQLITE_MAX_VARIABLE_NUMBER\x00SQLITE_MAX_PAGE_SIZE\x00SQLITE_MAX_PAGE_COUNT\x00SQLITE_MAX_LIKE_PATTERN_LENGTH\x00SQLITE_MAX_TRIGGER_DEPTH\x00SQLITE_DEFAULT_CACHE_SIZE\x00SQLITE_DEFAULT_PAGE_SIZE\x00SQLITE_DEFAULT_FILE_FORMAT\x00SQLITE_DEFAULT_SYNCHRONOUS\x00SQLITE_DEFAULT_WAL_SYNCHRONOUS\x00SQLITE_MAX_ATTACHED\x00SQLITE_MAX_DEFAULT_PAGE_SIZE\x00SQLITE_MAX_WORKER_THREADS\x00TEMP_STORE\x00__GNUC__\x00%s-journal\x00%s-wal\x00%s-shm\x00%s%03d\x00%s-journal%03d\x00%s-wal%03d\x00devsym\x00writecrash\x00CREATE TABLE xyz(dir, name);\x00CREATE TABLE xyz(path, size, data);\x00WITH r(d) AS ( SELECT CASE WHEN dir=?2 THEN ?3 ELSE dir END || '/' || name FROM fsdir WHERE dir=?1 AND name NOT LIKE '.%' UNION ALL SELECT dir || '/' || name FROM r, fsdir WHERE dir=d AND name NOT LIKE '.%') SELECT d FROM r;\x00/\x00CREATE TABLE x(path TEXT, data TEXT)\x00SELECT * FROM %Q.%Q WHERE rowid=?\x00fs\x00fstree\x00register_fs_module\x00abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-!,:*^+=_|?/<> \x00sqlite3_prepare_v2() error: %s\x000123456789abcdef\x00x'\x00test_agg_errmsg16\x00randstr\x00test_destructor\x00test_destructor16\x00hex_to_utf16be\x00hex_to_utf16le\x00hex_to_utf8\x00test_destructor_count\x00test_auxdata\x00test_error\x00test_eval\x00test_isolation\x00test_counter\x00real2hex\x00test_decode\x00test_extract\x00test_zeroblob\x00test_getsubtype\x00test_setsubtype\x00test_frombind\x00tx\x00funcxx_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789\x00nullx_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789_123456789\x00sqlite3_create_function abused test failed\x00invalid matchinfo blob passed to function rank()\x00wrong number of arguments to function rank()\x00rank\x00autoinstall_test_functions\x00abuse_create_function\x00install_fts3_rank_function\x000123456789ABCDEF\x00FILENAME OFFSET AMT\x00r\x00cannot open input file \x00FILENAME OFFSET HEXDATA\x00r+b\x00r+\x00cannot open output file \x00HEXDATA\x00[utf8_to_utf8] unavailable - SQLITE_DEBUG not defined\x00BLOB VARNAME\x00LIST\x00hexio_read\x00hexio_write\x00hexio_get_int\x00hexio_render_int16\x00hexio_render_int32\x00utf8_to_utf8\x00read_fts3varint\x00make_fts3record\x00mem\x00pcache\x00Unknown argument: \"\x00init_wrapper_install\x00init_wrapper_query\x00init_wrapper_uninstall\x00init_wrapper_clear\x00CREATE TABLE x(value INTEGER PRIMARY KEY)\x00CREATE VIRTUAL TABLE temp.%Q USING %Q\x00INTARRAY\x00SQLITE_NOMEM\x00sqlite3_intarray_create\x00sqlite3_intarray_bind\x00jt\x00-journal\x00NBYTES\x00PRIOR NBYTES\x00bad pointer: \x00PRIOR\x00ADDRESS SIZE HEX\x00size must be positive\x00no data\x00ADDRESS SIZE\x00?RESET?\x00DEPT\x00FILENAME\x00COUNTER ?OPTIONS?\x00-repeat\x00-benigncnt\x00TITLE\x00SUB-COMMAND ...\x00start\x00stop\x00dump\x00clear\x00sync\x00SIZE N\x00INSTALLFLAG DISCARDCHANCE PRNGSEEED HIGHSTRESS\x00discard-chance should be between 0 and 100\x00SIZE COUNT\x00BUFID SIZE COUNT\x00illegal arguments - see documentation\x00NBYTE NMINALLOC\x00[DB]\x00sqlite3_db_config(db, 99999) does not return SQLITE_ERROR\x00sqlite3_config(99999) does not return SQLITE_ERROR\x00PARAMETER RESETFLAG\x00SQLITE_STATUS_MEMORY_USED\x00SQLITE_STATUS_MALLOC_SIZE\x00SQLITE_STATUS_PAGECACHE_USED\x00SQLITE_STATUS_PAGECACHE_OVERFLOW\x00SQLITE_STATUS_PAGECACHE_SIZE\x00SQLITE_STATUS_SCRATCH_USED\x00SQLITE_STATUS_SCRATCH_OVERFLOW\x00SQLITE_STATUS_SCRATCH_SIZE\x00SQLITE_STATUS_PARSER_STACK\x00SQLITE_STATUS_MALLOC_COUNT\x00DB PARAMETER RESETFLAG\x00SQLITE_\x00DBSTATUS_\x00LOOKASIDE_USED\x00CACHE_USED\x00SCHEMA_USED\x00STMT_USED\x00LOOKASIDE_HIT\x00LOOKASIDE_MISS_SIZE\x00LOOKASIDE_MISS_FULL\x00CACHE_HIT\x00CACHE_MISS\x00CACHE_WRITE\x00DEFERRED_FKS\x00CACHE_USED_SHARED\x00CACHE_SPILL\x00?INTEGER?\x00sqlite3_free\x00memset\x00memget\x00sqlite3_memory_used\x00sqlite3_memory_highwater\x00sqlite3_memdebug_backtrace\x00sqlite3_memdebug_dump\x00sqlite3_memdebug_fail\x00sqlite3_memdebug_pending\x00sqlite3_memdebug_settitle\x00sqlite3_memdebug_malloc_count\x00sqlite3_memdebug_log\x00sqlite3_config_pagecache\x00sqlite3_config_alt_pcache\x00sqlite3_status\x00sqlite3_db_status\x00install_malloc_faultsim\x00sqlite3_config_heap\x00sqlite3_config_heap_size\x00sqlite3_config_memstatus\x00sqlite3_config_lookaside\x00sqlite3_config_error\x00sqlite3_config_uri\x00sqlite3_config_cis\x00sqlite3_config_pmasz\x00sqlite3_db_config_lookaside\x00sqlite3_dump_memsys3\x00sqlite3_dump_memsys5\x00sqlite3_install_memsys3\x00sqlite3_memdebug_vfs_oom_test\x00%05u\x00 FILENAME [OFFSET AMT]\"\x00unable to open file \"\x00\" for reading\x00md5\x00md5-10x8\x00md5file\x00md5file-10x8\x00md5sum\x00%03d\x00multiplexor.xAccess failure on %s\x00multiplexor.xOpen failure on %s\x00multiplex_control\x00chunksize\x00multiplex_truncate\x00multiplex/%z\x00multiplex\x00NAME MAKEDEFAULT\x00-force\x00?-force?\x00chunk_size\x00max_chunks\x00HANDLE DBNAME SUB-COMMAND INT-VALUE\x00expected database handle, got \"\x00sqlite3_multiplex_initialize\x00sqlite3_multiplex_shutdown\x00sqlite3_multiplex_control\x00fast\x00recursive\x00static_main\x00static_mem\x00static_open\x00static_prng\x00static_lru\x00static_pmem\x00static_app1\x00static_app2\x00static_app3\x00static_vfs1\x00static_vfs2\x00static_vfs3\x00mutex counters are \x00already installed\x00not installed\x00singlethread\x00multithread\x00serialized\x00mutex name\x00disable_mutex_init\x00disable_mutex_try\x00sqlite3_shutdown\x00sqlite3_initialize\x00sqlite3_config\x00enter_static_mutex\x00leave_static_mutex\x00enter_db_mutex\x00leave_db_mutex\x00alloc_dealloc_mutex\x00install_mutex_counters\x00read_mutex_counters\x00clear_mutex_counters\x00\x00\x00\x00\x00\x00\x00\x00vfslog/%z\x00sqlite_ostrace1.....\x00xClose\x00xRead\x00xWrite\x00xTruncate\x00xFilesize\x00xLock\x00xUnlock\x00xCheckResLock\x00xFileControl\x00xSectorSize\x00xDeviceChar\x00xDelete\x00xAccess\x00xFullPathname\x00xRandomness\x00xSleep\x00xCurrentTime\x00xShmUnmap\x00xShmLock\x00xShmBarrier\x00xShmMap\x00annotation\x00CREATE TABLE xxx(event, file, click, rc, size, offset)\x00vfslog\x00VFS\x00failed\x00VFS PARENT LOGFILE\x00bad sqlite3 handle: \x00annotate\x00finalize\x00register\x00quota/%z\x00quota\x00::piLimit_\x00PATTERN LIMIT SCRIPT\x00FILENAME MODE\x00HANDLE SIZE NELEM\x00HANDLE SIZE NELEM CONTENT\x00HANDLE ?HARDSYNC?\x00HANDLE OFFSET WHENCE\x00SEEK_SET\x00SEEK_CUR\x00SEEK_END\x00WHENCE should be SEEK_SET, SEEK_CUR, or SEEK_END\x00HANDLE SIZE\x00PATTERN TEXT\x00sqlite3_quota_initialize\x00sqlite3_quota_shutdown\x00sqlite3_quota_set\x00sqlite3_quota_file\x00sqlite3_quota_dump\x00sqlite3_quota_fopen\x00sqlite3_quota_fread\x00sqlite3_quota_fwrite\x00sqlite3_quota_fclose\x00sqlite3_quota_fflush\x00sqlite3_quota_fseek\x00sqlite3_quota_rewind\x00sqlite3_quota_ftell\x00sqlite3_quota_ftruncate\x00sqlite3_quota_file_size\x00sqlite3_quota_file_truesize\x00sqlite3_quota_file_mtime\x00sqlite3_quota_remove\x00sqlite3_quota_glob\x00sqlite3_quota_file_available\x00sqlite3_quota_ferror\x00cube\x00circle\x00Qcircle\x00breadthfirstsearch\x00register_cube_geom\x00register_circle_geom\x00CREATE TABLE x(database,tablename,cid,name,type,not_null,dflt_value,pk)\x00SELECT name FROM sqlite_temp_schema WHERE type='table'\x00SELECT name FROM %Q.sqlite_schema WHERE type='table'\x00PRAGMA %Q.table_info(%Q)\x00PRAGMA database_list\x00register_schema_module\x00PRAGMA main.journal_mode\x00CMDNAME PATH ?VFS? ?BUSY-HANDLER-SCRIPT?\x00sqlite3demo_superlock\x00open\x00access\x00getcwd\x00stat\x00fstat\x00ftruncate\x00fcntl\x00pread\x00pread64\x00pwrite\x00pwrite64\x00fchmod\x00fallocate\x00mremap\x00SYSCALL-LIST\x00system-call\x00?COUNT PERSIST?\x00EACCES\x00EINTR\x00EIO\x00EOVERFLOW\x00ENOMEM\x00EAGAIN\x00ETIMEDOUT\x00EBUSY\x00EPERM\x00EDEADLK\x00ENOLCK\x00SYSCALL ERRNO\x00errno\x00PGSZ\x00getpagesize\x00pgsz out of range\x00fault\x00install\x00uninstall\x00list\x00defaultvfs\x00pagesize\x00VFS does not support xSetSystemCall\x00test_syscall\x00load_testfixture_extensions\x00SLAVE\x00CREATE TABLE x( name TEXT, arrayname TEXT, value TEXT, fullname TEXT PRIMARY KEY) WITHOUT ROWID\x00array names\x00tclvar_filter_cmd\x00%s(%s)\x00expr {[info exists ::tclvar_set_omit] && $::tclvar_set_omit}\x00the 'fullname' column must be TEXT\x00prohibited TCL variable change\x00proc like {pattern str} {\n set p [string map {% * _ ?} $pattern]\n string match $p $str\n}\nproc tclvar_filter_cmd {eq match glob regexp like} {\n set res {}\n set pattern $eq\n if {$pattern=={}} { set pattern $match }\n if {$pattern=={}} { set pattern * }\n foreach v [uplevel #0 info vars $pattern] {\n if {($glob=={} || [string match $glob [uplevel #0 set $v]])\n && ($like=={} || [like $like [uplevel #0 set $v]])\n && ($regexp=={} || [regexp $regexp [uplevel #0 set $v]])\n } {\n lappend res $v\n }\n }\n set res\n}\n\x00register_tclvar_module\x00clock_seconds\x00sqlthread\x00sqlite3_blocking_step\x00sqlite3_blocking_prepare_v2\x00sqlite3_nonblocking_prepare_v2\x00set\x00Error in Tcl_CreateThread()\x00no parent thread\x00parent\x00spawn\x00VARNAME SCRIPT\x00DBNAME\x00id\x00%s \x00SQLITE_IOERR\x00SQLITE_LOCKED\x00SQLITE_BUSY\x00SQLITE_READONLY\x00SQLITE_READONLY_CANTINIT\x00SQLITE_NOTFOUND\x00SQLITE_OMIT\x00normal|dataonly\x00full|dataonly\x00xCheckReservedLock\x00BEGIN_ATOMIC_WRITE\x00COMMIT_ATOMIC_WRITE\x00ZIPVFS\x00anon\x00SQLITE_ACCESS_EXISTS\x00SQLITE_ACCESS_READWRITE\x00SQLITE_ACCESS_READ\x00xShmOpen\x00 lock\x00 unlock\x00 shared\x00 exclusive\x00shm\x00filter\x00ioerr\x00fullerr\x00cantopenerr\x00script\x00devchar\x00sectorsize\x00subcommand\x00FILE ?VALUE?\x00failed to get full path: \x00no such file: \x00unknown method: \x00?CNT PERSIST?\x00default\x00undeletable_when_open\x00immutable\x00?ATTR-LIST?\x00bad flags: \x00?VALUE?\x00-noshm\x00-szosfile\x00-mxpathname\x00-iversion\x00-fullshm\x00VFSNAME ?-noshm BOOL? ?-fullshm BOOL? ?-default BOOL? ?-mxpathname INT? ?-szosfile INT? ?-iversion INT?\x00shared\x00lock\x00unlock\x00DB DBNAME (shared|exclusive) (lock|unlock) OFFSET N\x00ARG\x00DB DBNAME SLOT ?VALUE?\x00*-shm is not yet mapped\x00testvfs\x00vfs_shmlock\x00vfs_set_readmark\x00DB NAME XSTEP XFINAL XVALUE XINVERSE\x00fff\x00misuse test error\x00invalid argument\x00sumint\x00sum\x00sqlite3_create_window_function\x00test_create_window_function_misuse\x00test_create_sumint\x00test_override_sum\x00"
var ts = (*reflect.StringHeader)(unsafe.Pointer(&ts1)).Data
diff --git a/lib/capi_linux_s390x.go b/lib/capi_linux_s390x.go
index 4023915..b01c4cf 100644
--- a/lib/capi_linux_s390x.go
+++ b/lib/capi_linux_s390x.go
@@ -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_s390x.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', 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_s390x.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_SESSION -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', 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,35 @@ var CAPI = map[string]struct{}{
"sqlite3_wal_checkpoint": {},
"sqlite3_wal_checkpoint_v2": {},
"sqlite3_wal_hook": {},
+ "sqlite3aEQb": {},
+ "sqlite3aGTb": {},
+ "sqlite3aLTb": {},
+ "sqlite3changegroup_add": {},
+ "sqlite3changegroup_add_strm": {},
+ "sqlite3changegroup_delete": {},
+ "sqlite3changegroup_new": {},
+ "sqlite3changegroup_output": {},
+ "sqlite3changegroup_output_strm": {},
+ "sqlite3changeset_apply": {},
+ "sqlite3changeset_apply_strm": {},
+ "sqlite3changeset_apply_v2": {},
+ "sqlite3changeset_apply_v2_strm": {},
+ "sqlite3changeset_concat": {},
+ "sqlite3changeset_concat_strm": {},
+ "sqlite3changeset_conflict": {},
+ "sqlite3changeset_finalize": {},
+ "sqlite3changeset_fk_conflicts": {},
+ "sqlite3changeset_invert": {},
+ "sqlite3changeset_invert_strm": {},
+ "sqlite3changeset_new": {},
+ "sqlite3changeset_next": {},
+ "sqlite3changeset_old": {},
+ "sqlite3changeset_op": {},
+ "sqlite3changeset_pk": {},
+ "sqlite3changeset_start": {},
+ "sqlite3changeset_start_strm": {},
+ "sqlite3changeset_start_v2": {},
+ "sqlite3changeset_start_v2_strm": {},
"sqlite3one": {},
"sqlite3rbu_bp_progress": {},
"sqlite3rbu_close": {},
@@ -1244,4 +1282,25 @@ var CAPI = map[string]struct{}{
"sqlite3rbu_temp_size": {},
"sqlite3rbu_temp_size_limit": {},
"sqlite3rbu_vacuum": {},
+ "sqlite3rebaser_configure": {},
+ "sqlite3rebaser_create": {},
+ "sqlite3rebaser_delete": {},
+ "sqlite3rebaser_rebase": {},
+ "sqlite3rebaser_rebase_strm": {},
+ "sqlite3session_attach": {},
+ "sqlite3session_changeset": {},
+ "sqlite3session_changeset_size": {},
+ "sqlite3session_changeset_strm": {},
+ "sqlite3session_config": {},
+ "sqlite3session_create": {},
+ "sqlite3session_delete": {},
+ "sqlite3session_diff": {},
+ "sqlite3session_enable": {},
+ "sqlite3session_indirect": {},
+ "sqlite3session_isempty": {},
+ "sqlite3session_memory_used": {},
+ "sqlite3session_object_config": {},
+ "sqlite3session_patchset": {},
+ "sqlite3session_patchset_strm": {},
+ "sqlite3session_table_filter": {},
}
diff --git a/lib/sqlite_linux_s390x.go b/lib/sqlite_linux_s390x.go
index 8af69c0..90ae204 100644
--- a/lib/sqlite_linux_s390x.go
+++ b/lib/sqlite_linux_s390x.go
@@ -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_s390x.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', 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_s390x.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_SESSION -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', DO NOT EDIT.
package sqlite3
@@ -40,6 +40,7 @@ const (
AT_EMPTY_PATH = 0x1000
AT_FDCWD = -100
AT_NO_AUTOMOUNT = 0x800
+ AT_RECURSIVE = 0x8000
AT_REMOVEDIR = 0x200
AT_STATX_DONT_SYNC = 0x4000
AT_STATX_FORCE_SYNC = 0x2000
@@ -104,6 +105,7 @@ const (
CBRK = 0
CC_AND = 24
CC_BANG = 15
+ CC_BOM = 30
CC_COMMA = 23
CC_DIGIT = 3
CC_DOLLAR = 4
@@ -571,6 +573,7 @@ const (
F_OFD_SETLKW = 38
F_OK = 0
F_RDLCK = 0
+ F_SEAL_FUTURE_WRITE = 0x0010
F_SEAL_GROW = 0x0004
F_SEAL_SEAL = 0x0001
F_SEAL_SHRINK = 0x0002
@@ -594,7 +597,7 @@ const (
F_ULOCK = 0
F_UNLCK = 2
F_WRLCK = 1
- GCC_VERSION = 8003000
+ GCC_VERSION = 7005000
GEOPOLY_PI = 3.1415926535897932385
HASHSIZE = 97
HASHTABLE_HASH_1 = 383
@@ -695,6 +698,7 @@ const (
M10d_Any = 1
M10d_No = 2
M10d_Yes = 0
+ MADV_COLD = 20
MADV_DODUMP = 17
MADV_DOFORK = 11
MADV_DONTDUMP = 16
@@ -707,6 +711,7 @@ const (
MADV_MERGEABLE = 12
MADV_NOHUGEPAGE = 15
MADV_NORMAL = 0
+ MADV_PAGEOUT = 21
MADV_RANDOM = 1
MADV_REMOVE = 9
MADV_SEQUENTIAL = 2
@@ -891,6 +896,7 @@ const (
NC_IsCheck = 0x00004
NC_IsDDL = 0x10000
NC_MinMaxAgg = 0x01000
+ NC_NoSelect = 0x80000
NC_PartIdx = 0x00002
NC_SelfRef = 0x0002e
NC_UAggInfo = 0x00100
@@ -962,15 +968,15 @@ const (
OPFLG_JUMP = 0x01
OPFLG_OUT2 = 0x10
OPFLG_OUT3 = 0x20
- OP_Abortable = 178
+ OP_Abortable = 179
OP_Add = 106
OP_AddImm = 83
- OP_Affinity = 91
- OP_AggFinal = 160
- OP_AggInverse = 156
- OP_AggStep = 157
- OP_AggStep1 = 158
- OP_AggValue = 159
+ OP_Affinity = 92
+ OP_AggFinal = 161
+ OP_AggInverse = 157
+ OP_AggStep = 158
+ OP_AggStep1 = 159
+ OP_AggValue = 160
OP_And = 44
OP_AutoCommit = 1
OP_BitAnd = 102
@@ -980,34 +986,34 @@ const (
OP_Cast = 85
OP_Checkpoint = 6
OP_ChngCntRow = 80
- OP_Clear = 140
- OP_Close = 117
+ OP_Clear = 141
+ OP_Close = 118
OP_CollSeq = 82
- OP_Column = 90
- OP_ColumnsUsed = 118
+ OP_Column = 91
+ OP_ColumnsUsed = 119
OP_Compare = 87
OP_Concat = 111
OP_Copy = 77
- OP_Count = 93
- OP_CreateBtree = 142
- OP_CursorHint = 174
- OP_CursorLock = 162
- OP_CursorUnlock = 163
+ OP_Count = 94
+ OP_CreateBtree = 143
+ OP_CursorHint = 175
+ OP_CursorLock = 163
+ OP_CursorUnlock = 164
OP_DecrJumpZero = 59
- OP_DeferredSeek = 136
- OP_Delete = 125
- OP_Destroy = 139
+ OP_DeferredSeek = 137
+ OP_Delete = 126
+ OP_Destroy = 140
OP_Divide = 109
- OP_DropIndex = 147
- OP_DropTable = 146
- OP_DropTrigger = 148
- OP_ElseNotEq = 58
+ OP_DropIndex = 148
+ OP_DropTable = 147
+ OP_DropTrigger = 149
+ OP_ElseEq = 58
OP_EndCoroutine = 66
OP_Eq = 53
- OP_Expire = 161
- OP_Explain = 177
- OP_FinishSeek = 138
- OP_FkCounter = 153
+ OP_Expire = 162
+ OP_Explain = 178
+ OP_FinishSeek = 139
+ OP_FkCounter = 154
OP_FkIfZero = 47
OP_Found = 30
OP_Function = 64
@@ -1017,13 +1023,13 @@ const (
OP_Gt = 54
OP_Halt = 68
OP_HaltIfNull = 67
- OP_IdxDelete = 135
+ OP_IdxDelete = 136
OP_IdxGE = 41
OP_IdxGT = 39
- OP_IdxInsert = 133
+ OP_IdxInsert = 134
OP_IdxLE = 38
OP_IdxLT = 40
- OP_IdxRowid = 137
+ OP_IdxRowid = 138
OP_If = 18
OP_IfNoHope = 27
OP_IfNot = 20
@@ -1035,112 +1041,113 @@ const (
OP_IncrVacuum = 60
OP_Init = 62
OP_InitCoroutine = 13
- OP_Insert = 123
+ OP_Insert = 124
OP_Int64 = 70
OP_IntCopy = 79
OP_Integer = 69
- OP_IntegrityCk = 149
+ OP_IntegrityCk = 150
OP_IsNull = 50
OP_IsTrue = 88
OP_JournalMode = 7
OP_Jump = 16
OP_Last = 33
OP_Le = 55
- OP_LoadAnalysis = 145
+ OP_LoadAnalysis = 146
OP_Lt = 56
- OP_MakeRecord = 92
- OP_MaxPgcnt = 172
- OP_MemMax = 154
+ OP_MakeRecord = 93
+ OP_MaxPgcnt = 173
+ OP_MemMax = 155
OP_Move = 76
OP_Multiply = 108
OP_MustBeInt = 15
OP_Ne = 52
- OP_NewRowid = 122
+ OP_NewRowid = 123
OP_Next = 5
OP_NoConflict = 28
- OP_Noop = 176
+ OP_Noop = 177
OP_Not = 19
OP_NotExists = 32
OP_NotFound = 29
OP_NotNull = 51
OP_Null = 72
- OP_NullRow = 131
- OP_Offset = 89
- OP_OffsetLimit = 155
+ OP_NullRow = 132
+ OP_Offset = 90
+ OP_OffsetLimit = 156
OP_Once = 17
- OP_OpenAutoindex = 100
- OP_OpenDup = 99
- OP_OpenEphemeral = 101
- OP_OpenPseudo = 115
- OP_OpenRead = 97
- OP_OpenWrite = 98
+ OP_OpenAutoindex = 101
+ OP_OpenDup = 100
+ OP_OpenEphemeral = 112
+ OP_OpenPseudo = 117
+ OP_OpenRead = 98
+ OP_OpenWrite = 99
OP_Or = 43
- OP_Pagecount = 171
- OP_Param = 151
- OP_ParseSchema = 144
+ OP_Pagecount = 172
+ OP_Param = 153
+ OP_ParseSchema = 145
OP_Permutation = 86
OP_Prev = 4
OP_Program = 46
OP_PureFunc = 63
- OP_ReadCookie = 94
+ OP_ReadCookie = 95
OP_Real = 152
OP_RealAffinity = 84
- OP_ReleaseReg = 175
+ OP_ReleaseReg = 176
OP_Remainder = 110
- OP_ReopenIdx = 96
- OP_ResetCount = 126
- OP_ResetSorter = 141
+ OP_ReopenIdx = 97
+ OP_ResetCount = 127
+ OP_ResetSorter = 142
OP_ResultRow = 81
OP_Return = 65
OP_Rewind = 37
- OP_RowCell = 124
- OP_RowData = 129
- OP_RowSetAdd = 150
+ OP_RowCell = 125
+ OP_RowData = 130
+ OP_RowSetAdd = 151
OP_RowSetRead = 42
OP_RowSetTest = 45
- OP_Rowid = 130
+ OP_Rowid = 131
OP_SCopy = 78
OP_Savepoint = 0
- OP_SeekEnd = 132
+ OP_SeekEnd = 133
OP_SeekGE = 24
OP_SeekGT = 25
- OP_SeekHit = 120
+ OP_SeekHit = 121
OP_SeekLE = 23
OP_SeekLT = 22
OP_SeekRowid = 31
- OP_SeekScan = 119
- OP_Sequence = 121
- OP_SequenceTest = 114
- OP_SetCookie = 95
+ OP_SeekScan = 120
+ OP_Sequence = 122
+ OP_SequenceTest = 115
+ OP_SetCookie = 96
OP_ShiftLeft = 104
OP_ShiftRight = 105
OP_SoftNull = 73
OP_Sort = 36
- OP_SorterCompare = 127
- OP_SorterData = 128
- OP_SorterInsert = 134
+ OP_SorterCompare = 128
+ OP_SorterData = 129
+ OP_SorterInsert = 135
OP_SorterNext = 3
- OP_SorterOpen = 112
+ OP_SorterOpen = 114
OP_SorterSort = 35
- OP_SqlExec = 143
+ OP_SqlExec = 144
OP_String = 71
OP_String8 = 116
OP_Subtract = 107
- OP_TableLock = 164
- OP_Trace = 173
+ OP_TableLock = 165
+ OP_Trace = 174
OP_Transaction = 2
- OP_VBegin = 165
- OP_VColumn = 169
- OP_VCreate = 166
- OP_VDestroy = 167
+ OP_VBegin = 166
+ OP_VColumn = 170
+ OP_VCreate = 167
+ OP_VDestroy = 168
OP_VFilter = 9
OP_VNext = 61
- OP_VOpen = 168
- OP_VRename = 170
+ OP_VOpen = 169
+ OP_VRename = 171
OP_VUpdate = 10
OP_Vacuum = 8
OP_Variable = 75
OP_Yield = 14
+ OP_ZeroOrNull = 89
OS_VXWORKS = 0
O_ACCMODE = 0003
O_APPEND = 02000
@@ -1412,11 +1419,15 @@ const (
SEEK_HOLE = 4
SEEK_SET = 0
SELECTTRACE_ENABLED = 0
+ SESSIONS_STRM_CHUNK_SIZE = 1024
+ SESSION_MAX_BUFFER_SZ = 2147483391
+ SESSION_UPDATE_CACHE_SZ = 12
SF_Aggregate = 0x0000008
SF_All = 0x0000002
SF_ComplexResult = 0x0040000
SF_Compound = 0x0000100
SF_Converted = 0x0010000
+ SF_CopyCte = 0x4000000
SF_Distinct = 0x0000001
SF_Expanded = 0x0000040
SF_FixedLimit = 0x0004000
@@ -1556,6 +1567,17 @@ const (
SQLITE_CANTOPEN_NOTEMPDIR = 270
SQLITE_CANTOPEN_SYMLINK = 1550
SQLITE_CDECL = 0
+ SQLITE_CHANGESETAPPLY_INVERT = 0x0002
+ SQLITE_CHANGESETAPPLY_NOSAVEPOINT = 0x0001
+ SQLITE_CHANGESETSTART_INVERT = 0x0002
+ SQLITE_CHANGESET_ABORT = 2
+ SQLITE_CHANGESET_CONFLICT = 3
+ SQLITE_CHANGESET_CONSTRAINT = 4
+ SQLITE_CHANGESET_DATA = 1
+ SQLITE_CHANGESET_FOREIGN_KEY = 5
+ SQLITE_CHANGESET_NOTFOUND = 2
+ SQLITE_CHANGESET_OMIT = 0
+ SQLITE_CHANGESET_REPLACE = 1
SQLITE_CHECKPOINT_FULL = 1
SQLITE_CHECKPOINT_PASSIVE = 0
SQLITE_CHECKPOINT_RESTART = 2
@@ -1712,6 +1734,7 @@ const (
SQLITE_ENABLE_PREUPDATE_HOOK = 1
SQLITE_ENABLE_RBU = 1
SQLITE_ENABLE_RTREE = 1
+ SQLITE_ENABLE_SESSION = 1
SQLITE_ENABLE_SNAPSHOT = 1
SQLITE_ENABLE_STAT4 = 1
SQLITE_ENABLE_UNLOCK_NOTIFY = 1
@@ -1725,7 +1748,6 @@ const (
SQLITE_EnableQPSG = 0x00800000
SQLITE_EnableTrigger = 0x00040000
SQLITE_EnableView = 0x80000000
- SQLITE_ExistsToIN = 0x00020000
SQLITE_FAIL = 3
SQLITE_FAULTINJECTOR_COUNT = 1
SQLITE_FAULTINJECTOR_MALLOC = 0
@@ -1734,10 +1756,12 @@ 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_DB_UNCHANGED = 0xca093fa0
+ SQLITE_FCNTL_EXTERNAL_READER = 40
SQLITE_FCNTL_FILE_POINTER = 7
SQLITE_FCNTL_GET_LOCKPROXYFILE = 2
SQLITE_FCNTL_HAS_MOVED = 20
@@ -1886,7 +1910,6 @@ const (
SQLITE_IOERR_WRITE = 778
SQLITE_IgnoreChecks = 0x00000200
SQLITE_JUMPIFNULL = 0x10
- SQLITE_KEEPNULL = 0x08
SQLITE_LAST_ERRNO = 4
SQLITE_LIKE_DOESNT_MATCH_BLOBS = 1
SQLITE_LIMIT_ATTACHED = 7
@@ -1935,6 +1958,7 @@ const (
SQLITE_MAX_MMAP_SIZE = 0x7fff0000
SQLITE_MAX_PAGE_COUNT = 1073741823
SQLITE_MAX_PAGE_SIZE = 65536
+ SQLITE_MAX_PATHLEN = 4096
SQLITE_MAX_PMASZ = 536870912
SQLITE_MAX_SCHEMA_RETRY = 50
SQLITE_MAX_SQL_LENGTH = 1000000000
@@ -1982,6 +2006,7 @@ const (
SQLITE_NOTNULL = 0x90
SQLITE_NOWILDCARDMATCH = 2
SQLITE_NO_TSAN = 0
+ SQLITE_NTUNE = 6
SQLITE_NULL = 5
SQLITE_NULLEQ = 0x80
SQLITE_N_BTREE_META = 16
@@ -2076,6 +2101,8 @@ const (
SQLITE_SCHEMA = 17
SQLITE_SELECT = 21
SQLITE_SERIALIZE_NOCOPY = 0x001
+ SQLITE_SESSION_CONFIG_STRMSIZE = 1
+ SQLITE_SESSION_OBJCONFIG_SIZE = 1
SQLITE_SET_LOCKPROXYFILE = 3
SQLITE_SHM_EXCLUSIVE = 8
SQLITE_SHM_LOCK = 2
@@ -2084,7 +2111,7 @@ const (
SQLITE_SHM_UNLOCK = 1
SQLITE_SORTER_PMASZ = 250
SQLITE_SOUNDEX = 1
- SQLITE_SOURCE_ID = "2021-04-19 18:32:05 1b256d97b553a9611efca188a3d995a2fff712759044ba480f9a0c9e98fae886"
+ SQLITE_SOURCE_ID = "2021-06-18 18:36:39 5c9a6c06871cb9fe42814af9c039eb6da5427a6ec28f187af7ebfb62eafa66e5"
SQLITE_SO_ASC = 0
SQLITE_SO_DESC = 1
SQLITE_SO_UNDEFINED = -1
@@ -2108,13 +2135,13 @@ const (
SQLITE_STMTSTATUS_RUN = 6
SQLITE_STMTSTATUS_SORT = 2
SQLITE_STMTSTATUS_VM_STEP = 4
- SQLITE_STOREP2 = 0x20
SQLITE_SUBTYPE = 0x000100000
SQLITE_SYNC_DATAONLY = 0x00010
SQLITE_SYNC_FULL = 0x00003
SQLITE_SYNC_NORMAL = 0x00002
SQLITE_SYSAPI = 0
SQLITE_SYSTEM_MALLOC = 1
+ SQLITE_SeekScan = 0x00020000
SQLITE_ShortColNames = 0x00000040
SQLITE_SimplifyJoin = 0x00002000
SQLITE_SkipScan = 0x00004000
@@ -2135,7 +2162,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
@@ -2152,6 +2179,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
@@ -2181,8 +2209,8 @@ const (
SQLITE_UTF8 = 1
SQLITE_VDBEINT_H = 0
SQLITE_VDBE_H = 0
- SQLITE_VERSION = "3.35.5"
- SQLITE_VERSION_NUMBER = 3035005
+ SQLITE_VERSION = "3.36.0"
+ SQLITE_VERSION_NUMBER = 3036000
SQLITE_VTABRISK_High = 2
SQLITE_VTABRISK_Low = 0
SQLITE_VTABRISK_Normal = 1
@@ -2213,26 +2241,26 @@ const (
SRT_Table = 14
SRT_Union = 1
SRT_Upfrom = 15
- STATX_ALL = 0x0fff
- STATX_ATIME = 0x0020
- STATX_ATTR_APPEND = 0x0020
- STATX_ATTR_AUTOMOUNT = 0x1000
- STATX_ATTR_COMPRESSED = 0x0004
- STATX_ATTR_ENCRYPTED = 0x0800
- STATX_ATTR_IMMUTABLE = 0x0010
- STATX_ATTR_NODUMP = 0x0040
- STATX_BASIC_STATS = 0x07ff
- STATX_BLOCKS = 0x0400
- STATX_BTIME = 0x0800
- STATX_CTIME = 0x0080
- STATX_GID = 0x0010
- STATX_INO = 0x0100
- STATX_MODE = 0x0002
- STATX_MTIME = 0x0040
- STATX_NLINK = 0x0004
- STATX_SIZE = 0x0200
- STATX_TYPE = 0x0001
- STATX_UID = 0x0008
+ STATX_ALL = 0x00000fff
+ STATX_ATIME = 0x00000020
+ STATX_ATTR_APPEND = 0x00000020
+ STATX_ATTR_AUTOMOUNT = 0x00001000
+ STATX_ATTR_COMPRESSED = 0x00000004
+ STATX_ATTR_ENCRYPTED = 0x00000800
+ STATX_ATTR_IMMUTABLE = 0x00000010
+ STATX_ATTR_NODUMP = 0x00000040
+ STATX_BASIC_STATS = 0x000007ff
+ STATX_BLOCKS = 0x00000400
+ STATX_BTIME = 0x00000800
+ STATX_CTIME = 0x00000080
+ STATX_GID = 0x00000010
+ STATX_INO = 0x00000100
+ STATX_MODE = 0x00000002
+ STATX_MTIME = 0x00000040
+ STATX_NLINK = 0x00000004
+ STATX_SIZE = 0x00000200
+ STATX_TYPE = 0x00000001
+ STATX_UID = 0x00000008
STATX__RESERVED = 0x80000000
STAT_GET_NDLT = 4
STAT_GET_NEQ = 2
@@ -2262,6 +2290,7 @@ const (
SYNC_FILE_RANGE_WAIT_AFTER = 4
SYNC_FILE_RANGE_WAIT_BEFORE = 1
SYNC_FILE_RANGE_WRITE = 2
+ SYNC_FILE_RANGE_WRITE_AND_WAIT = 7
S_BLKSIZE = 512
S_IEXEC = 64
S_IFBLK = 24576
@@ -2322,6 +2351,7 @@ const (
TERM_VNULL = 0x0080
TF_Autoincrement = 0x0008
TF_Ephemeral = 0x4000
+ TF_Eponymous = 0x8000
TF_HasGenerated = 0x0060
TF_HasHidden = 0x0002
TF_HasNotNull = 0x0800
@@ -2457,6 +2487,7 @@ const (
TK_ELSE = 159
TK_END = 11
TK_EQ = 53
+ TK_ERROR = 181
TK_ESCAPE = 58
TK_EXCEPT = 135
TK_EXCLUDE = 91
@@ -2482,7 +2513,7 @@ const (
TK_IF = 18
TK_IF_NULL_ROW = 178
TK_IGNORE = 63
- TK_ILLEGAL = 182
+ TK_ILLEGAL = 183
TK_IMMEDIATE = 8
TK_IN = 49
TK_INDEX = 160
@@ -2553,7 +2584,7 @@ const (
TK_SEMI = 1
TK_SET = 129
TK_SLASH = 109
- TK_SPACE = 181
+ TK_SPACE = 182
TK_SPAN = 180
TK_STAR = 108
TK_STRING = 116
@@ -2632,6 +2663,7 @@ const (
WAL_WRITE_LOCK = 0
WCONTINUED = 8
WEXITED = 4
+ WHERE_AGG_DISTINCT = 0x0400
WHERE_AUTO_INDEX = 0x00004000
WHERE_BIGNULL_SORT = 0x00080000
WHERE_BOTH_LIMIT = 0x00000030
@@ -2667,6 +2699,7 @@ const (
WHERE_SKIPSCAN = 0x00008000
WHERE_SORTBYGROUP = 0x0200
WHERE_TOP_LIMIT = 0x00000010
+ WHERE_TRANSCONS = 0x00200000
WHERE_UNQ_WANTED = 0x00010000
WHERE_USE_LIMIT = 0x4000
WHERE_VIRTUALTABLE = 0x00000400
@@ -2707,17 +2740,17 @@ const (
XN_ROWID = -1
X_OK = 1
YYFALLBACK = 1
- YYNOCODE = 316
+ YYNOCODE = 317
YYNOERRORRECOVERY = 1
YYNRULE = 398
YYNRULE_WITH_ACTION = 337
YYNSTATE = 570
- YYNTOKEN = 183
+ YYNTOKEN = 184
YYPARSEFREENEVERNULL = 1
YYSTACKDEPTH = 100
YYWILDCARD = 101
YY_ACCEPT_ACTION = 1224
- YY_ACTTAB_COUNT = 2020
+ YY_ACTTAB_COUNT = 2023
YY_ERROR_ACTION = 1223
YY_MAX_REDUCE = 1623
YY_MAX_SHIFT = 569
@@ -2726,8 +2759,8 @@ const (
YY_MIN_SHIFTREDUCE = 825
YY_NO_ACTION = 1225
YY_REDUCE_COUNT = 405
- YY_REDUCE_MAX = 1690
- YY_REDUCE_MIN = -265
+ YY_REDUCE_MAX = 1683
+ YY_REDUCE_MIN = -266
YY_SHIFT_COUNT = 569
YY_SHIFT_MAX = 2009
YY_SHIFT_MIN = 0
@@ -2736,10 +2769,13 @@ const (
X_ANSI_STDDEF_H = 0
X_ASM_GENERIC_ERRNO_BASE_H = 0
X_ASM_GENERIC_ERRNO_H = 0
+ X_ASM_GENERIC_INT_LL64_H = 0
X_ASM_GENERIC_IOCTL_H = 0
X_ASSERT_H = 1
X_ATFILE_SOURCE = 1
X_BITS_BYTESWAP_H = 1
+ X_BITS_ENDIANNESS_H = 1
+ X_BITS_ENDIAN_H = 1
X_BITS_ERRNO_H = 1
X_BITS_FLOATN_COMMON_H = 0
X_BITS_FLOATN_H = 0
@@ -2750,6 +2786,7 @@ const (
X_BITS_STAT_H = 1
X_BITS_STDINT_INTN_H = 1
X_BITS_STDIO_LIM_H = 1
+ X_BITS_TIME64_H = 1
X_BITS_TIMEX_H = 1
X_BITS_TIME_H = 1
X_BITS_TYPESIZES_H = 1
@@ -2800,6 +2837,7 @@ const (
X_IO_ERR_SEEN = 0x0020
X_IO_USER_LOCK = 0x8000
X_ISOC11_SOURCE = 1
+ X_ISOC2X_SOURCE = 1
X_ISOC95_SOURCE = 1
X_ISOC99_SOURCE = 1
X_LARGEFILE64_SOURCE = 1
@@ -2811,6 +2849,9 @@ const (
X_LFS_ASYNCHRONOUS_IO = 1
X_LFS_LARGEFILE = 1
X_LINUX_IOCTL_H = 0
+ X_LINUX_POSIX_TYPES_H = 0
+ X_LINUX_STAT_H = 0
+ X_LINUX_TYPES_H = 0
X_LP64 = 1
X_MATH_H = 1
X_MKNOD_VER = 0
@@ -2885,6 +2926,8 @@ const (
X_PTRDIFF_T = 0
X_PTRDIFF_T_ = 0
X_PTRDIFF_T_DECLARED = 0
+ X_RWLOCK_INTERNAL_H = 0
+ X_S390_TYPES_H = 0
X_SIZET_ = 0
X_SIZE_T = 0
X_SIZE_T_ = 0
@@ -2918,6 +2961,7 @@ const (
X_SYS_TIME_H = 1
X_SYS_TTYDEFAULTS_H_ = 0
X_SYS_TYPES_H = 1
+ X_THREAD_MUTEX_INTERNAL_H = 1
X_THREAD_SHARED_TYPES_H = 1
X_TIME_H = 1
X_T_PTRDIFF = 0
@@ -2969,7 +3013,7 @@ const (
EtSQLESCAPE = 9
EtSQLESCAPE2 = 10
EtSQLESCAPE3 = 14
- EtSRCLIST = 12
+ EtSRCITEM = 12
EtSTRING = 5
EtTOKEN = 11
Fts5YYNFTS5TOKEN = 16
@@ -2997,7 +3041,6 @@ const (
Fts5YY_SHIFT_MIN = 0
Linux = 1
Math_errhandling = 3
- MemJM = 0
Sqlite3Fts5ParserCTX_FETCH = 0
Sqlite3Fts5ParserCTX_PARAM = 0
Sqlite3Fts5ParserCTX_PDECL = 0
@@ -3027,7 +3070,7 @@ const (
// the `_SC_*' symbols for the NAME argument to `sysconf';
// and the `_CS_*' symbols for the NAME argument to `confstr'.
// `sysconf', `pathconf', and `confstr' NAME values. Generic version.
-// Copyright (C) 1993-2018 Free Software Foundation, Inc.
+// Copyright (C) 1993-2020 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
@@ -3042,7 +3085,7 @@ const (
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// Values for the NAME argument to `pathconf' and `fpathconf'.
const ( /* confname.h:24:1: */
@@ -3431,47 +3474,6 @@ const ( /* fcntl-linux.h:265:1: */
F_OWNER_GID = 2
)
-// 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.
-// NetBSD 5 requires the I386_ANSI_H and X86_64_ANSI_H checks here.
-
-// A null pointer constant.
-
-// XPG requires a few symbols from being defined.
-// Definitions of flag bits for `waitpid' et al.
-// Copyright (C) 1992-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
-// .
-
-// Bits in the third argument to `waitpid'.
-
-// Bits in the fourth argument to `waitid'.
-
-// The following values are used by the `waitid' function.
-
-// The Linux kernel defines these bare, rather than an enum,
-// which causes a conflict if the include order is reversed.
-
-const ( /* waitflags.h:52:1: */
- P_ALL = 0 // Wait for any child.
- P_PID = 1 // Wait for specified process.
- P_PGID = 2
-)
-
// These are the possible values for the FLAGS argument to `dladdr1'.
// This indicates what extra information is stored at *EXTRA_INFO.
// It may also be zero, in which case the EXTRA_INFO argument is not used.
@@ -3533,7 +3535,7 @@ const ( /* dlfcn.h:128:1: */
//
// Define __FP_LOGB0_IS_MIN and __FP_LOGBNAN_IS_MIN.
-// Copyright (C) 2016-2018 Free Software Foundation, Inc.
+// Copyright (C) 2016-2020 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
@@ -3548,7 +3550,7 @@ const ( /* dlfcn.h:128:1: */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// __FP_LOGB0_IS_MIN is defined to 1 if FP_ILOGB0 is INT_MIN, and 0 if
// it is -INT_MAX. __FP_LOGBNAN_IS_MIN is defined to 1 if FP_ILOGBNAN
@@ -3566,7 +3568,7 @@ const ( /* dlfcn.h:128:1: */
// implemented directly with a hardware multiply-add instructions.
// Define FP_FAST_* macros.
-// Copyright (C) 2016-2018 Free Software Foundation, Inc.
+// Copyright (C) 2016-2020 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
@@ -3581,7 +3583,7 @@ const ( /* dlfcn.h:128:1: */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// The GCC 4.6 compiler will define __FP_FAST_FMA{,F,L} if the fma{,f,l}
// builtins are supported.
@@ -3617,7 +3619,7 @@ const ( /* math.h:853:1: */
)
// Values for the first argument to `getitimer' and `setitimer'.
-const ( /* time.h:88:1: */
+const ( /* time.h:89:1: */
// Timers run in real time.
ITIMER_REAL = 0
// Timers run only when the process is executing.
@@ -3648,7 +3650,7 @@ type X__float128 = float64 /* :47:21 */
// *****************************************************************************
//
// This file is an amalgamation of many separate C source files from SQLite
-// version 3.35.5. By combining all the individual C code files into this
+// version 3.36.0. By combining all the individual C code files into this
// single large file, the entire code can be compiled as a single translation
// unit. This allows many compilers to do optimizations that would not be
// possible if the files were compiled separately. Performance improvements
@@ -3695,29 +3697,32 @@ type X__float128 = float64 /* :47:21 */
// This array looks large, but in a typical installation actually uses
// only a handful of compile-time options, so most times this array is usually
// rather short and uses little memory space.
-var sqlite3azCompileOpt = [16]uintptr{
+var sqlite3azCompileOpt = [19]uintptr{
// BEGIN CODE GENERATED BY tool/mkctime.tcl
- ts, /* "COMPILER=gcc-8.3..." */
+ ts, /* "COMPILER=gcc-7.5..." */
ts + 19, /* "ENABLE_COLUMN_ME..." */
ts + 42, /* "ENABLE_FTS5" */
ts + 54, /* "ENABLE_GEOPOLY" */
ts + 69, /* "ENABLE_JSON1" */
ts + 82, /* "ENABLE_MEMORY_MA..." */
- ts + 107, /* "ENABLE_PREUPDATE..." */
- ts + 129, /* "ENABLE_RBU" */
- ts + 140, /* "ENABLE_RTREE" */
- ts + 153, /* "ENABLE_SNAPSHOT" */
- ts + 169, /* "ENABLE_STAT4" */
- ts + 182, /* "ENABLE_UNLOCK_NO..." */
- ts + 203, /* "LIKE_DOESNT_MATC..." */
- ts + 227, /* "MUTEX_NOOP" */
- ts + 238, /* "SOUNDEX" */
- ts + 246, /* "THREADSAFE=1" */
+ ts + 107, /* "ENABLE_OFFSET_SQ..." */
+ ts + 130, /* "ENABLE_PREUPDATE..." */
+ ts + 152, /* "ENABLE_RBU" */
+ ts + 163, /* "ENABLE_RTREE" */
+ ts + 176, /* "ENABLE_SESSION" */
+ ts + 191, /* "ENABLE_SNAPSHOT" */
+ ts + 207, /* "ENABLE_STAT4" */
+ ts + 220, /* "ENABLE_UNLOCK_NO..." */
+ ts + 241, /* "LIKE_DOESNT_MATC..." */
+ ts + 265, /* "MUTEX_NOOP" */
+ ts + 276, /* "SOUNDEX" */
+ ts + 284, /* "SYSTEM_MALLOC" */
+ ts + 298, /* "THREADSAFE=1" */
// END CODE GENERATED BY tool/mkctime.tcl
} /* sqlite3.c:72:19 */
-func Xsqlite3CompileOptions(tls *libc.TLS, pnOpt uintptr) uintptr { /* sqlite3.c:785:27: */
+func Xsqlite3CompileOptions(tls *libc.TLS, pnOpt uintptr) uintptr { /* sqlite3.c:804:27: */
*(*int32)(unsafe.Pointer(pnOpt)) = (int32(uint64(unsafe.Sizeof(sqlite3azCompileOpt)) / uint64(unsafe.Sizeof(uintptr(0)))))
return uintptr(uintptr(unsafe.Pointer(&sqlite3azCompileOpt)))
}
@@ -3903,7 +3908,7 @@ func Xsqlite3CompileOptions(tls *libc.TLS, pnOpt uintptr) uintptr { /* sqlite3.c
// The makefile makes some minor changes to this file (such as inserting
// the version number) and changes its name to "sqlite3.h" as
// part of the build process.
-// Copyright (C) 1989-2018 Free Software Foundation, Inc.
+// Copyright (C) 1989-2017 Free Software Foundation, Inc.
//
// This file is part of GCC.
//
@@ -4029,7 +4034,7 @@ type Va_list = X__gnuc_va_list /* stdarg.h:99:24 */
// of the hash might be different from [SQLITE_SOURCE_ID].)^
//
// See also: [sqlite_version()] and [sqlite_source_id()].
-var Xsqlite3_version = *(*[7]int8)(unsafe.Pointer(ts + 259 /* "3.35.5" */)) /* sqlite3.c:1225:23 */
+var Xsqlite3_version = *(*[7]int8)(unsafe.Pointer(ts + 311 /* "3.36.0" */)) /* sqlite3.c:1244:23 */
// CAPI3REF: Database Connection Handle
// KEYWORDS: {database connection} {database connections}
@@ -4086,7 +4091,7 @@ type sqlite3 = struct {
FiDb U8
Fbusy U8
_ [2]byte
- ForphanTrigger uint8 /* unsigned orphanTrigger: 1, unsigned imposterTable: 1, unsigned reopenMemdb: 1, unsigned bDropColumn: 1 */
+ ForphanTrigger uint8 /* unsigned orphanTrigger: 1, unsigned imposterTable: 1, unsigned reopenMemdb: 1 */
_ [7]byte
FazInit uintptr
}
@@ -4150,7 +4155,7 @@ type sqlite3 = struct {
FpUnlockArg uintptr
FxUnlockNotify uintptr
FpNextBlocked uintptr
-} /* sqlite3.c:1312:9 */
+} /* sqlite3.c:1331:9 */
// CAPI3REF: Database Connection Handle
// KEYWORDS: {database connection} {database connections}
@@ -4164,7 +4169,7 @@ type sqlite3 = struct {
// [sqlite3_prepare_v2()], [sqlite3_create_function()], and
// [sqlite3_busy_timeout()] to name but three) that are methods on an
// sqlite3 object.
-type Sqlite3 = sqlite3 /* sqlite3.c:1312:24 */
+type Sqlite3 = sqlite3 /* sqlite3.c:1331:24 */
// CAPI3REF: 64-Bit Integer Types
// KEYWORDS: sqlite_int64 sqlite_uint64
@@ -4180,15 +4185,15 @@ type Sqlite3 = sqlite3 /* sqlite3.c:1312:24 */
// between -9223372036854775808 and +9223372036854775807 inclusive. ^The
// sqlite3_uint64 and sqlite_uint64 types can store integer values
// between 0 and +18446744073709551615 inclusive.
-type Sqlite_int64 = int64 /* sqlite3.c:1341:25 */
-type Sqlite_uint64 = uint64 /* sqlite3.c:1342:34 */
-type Sqlite3_int64 = Sqlite_int64 /* sqlite3.c:1344:22 */
-type Sqlite3_uint64 = Sqlite_uint64 /* sqlite3.c:1345:23 */
+type Sqlite_int64 = int64 /* sqlite3.c:1360:25 */
+type Sqlite_uint64 = uint64 /* sqlite3.c:1361:34 */
+type Sqlite3_int64 = Sqlite_int64 /* sqlite3.c:1363:22 */
+type Sqlite3_uint64 = Sqlite_uint64 /* sqlite3.c:1364:23 */
// The type for a callback function.
// This is legacy and deprecated. It is included for historical
// compatibility and is not documented.
-type Sqlite3_callback = uintptr /* sqlite3.c:1401:13 */
+type Sqlite3_callback = uintptr /* sqlite3.c:1420:13 */
// CAPI3REF: Result Codes
// KEYWORDS: {result code definitions}
@@ -4299,7 +4304,7 @@ type Sqlite3_callback = uintptr /* sqlite3.c:1401: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_file = struct{ FpMethods uintptr } /* sqlite3.c:1312:9 */
+type sqlite3_file = struct{ FpMethods uintptr } /* sqlite3.c:1331:9 */
// CAPI3REF: Result Codes
// KEYWORDS: {result code definitions}
@@ -4410,7 +4415,7 @@ type sqlite3_file = struct{ FpMethods uintptr } /* sqlite3.c:1312: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_file /* sqlite3.c:1747:29 */
+type Sqlite3_file = sqlite3_file /* sqlite3.c:1766:29 */
type sqlite3_io_methods = struct {
FiVersion int32
_ [4]byte
@@ -4432,7 +4437,7 @@ type sqlite3_io_methods = struct {
FxShmUnmap uintptr
FxFetch uintptr
FxUnfetch uintptr
-} /* sqlite3.c:1312:9 */
+} /* sqlite3.c:1331:9 */
// CAPI3REF: OS Interface File Virtual Methods Object
//
@@ -4526,7 +4531,7 @@ type sqlite3_io_methods = 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_methods /* sqlite3.c:1846:35 */
+type Sqlite3_io_methods = sqlite3_io_methods /* sqlite3.c:1865:35 */
// CAPI3REF: Loadable Extension Thunk
//
@@ -4788,7 +4793,7 @@ type sqlite3_api_routines = struct {
Ffree_filename uintptr
Fdatabase_file_object uintptr
Ftxn_state uintptr
-} /* sqlite3.c:2260:9 */
+} /* sqlite3.c:2298:9 */
// CAPI3REF: Loadable Extension Thunk
//
@@ -4796,7 +4801,7 @@ type sqlite3_api_routines = struct {
// the third parameter to entry points of [loadable extensions]. This
// structure must be typedefed in order to work around compiler warnings
// on some platforms.
-type Sqlite3_api_routines = sqlite3_api_routines /* sqlite3.c:2260:37 */
+type Sqlite3_api_routines = sqlite3_api_routines /* sqlite3.c:2298:37 */
// CAPI3REF: OS Interface Object
//
@@ -4989,7 +4994,7 @@ type sqlite3_vfs = struct {
FxSetSystemCall uintptr
FxGetSystemCall uintptr
FxNextSystemCall uintptr
-} /* sqlite3.c:1312:9 */
+} /* sqlite3.c:1331:9 */
// CAPI3REF: OS Interface Object
//
@@ -5158,8 +5163,8 @@ type sqlite3_vfs = 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_vfs /* sqlite3.c:2431:28 */
-type Sqlite3_syscall_ptr = uintptr /* sqlite3.c:2432:14 */
+type Sqlite3_vfs = sqlite3_vfs /* sqlite3.c:2469:28 */
+type Sqlite3_syscall_ptr = uintptr /* sqlite3.c:2470:14 */
// CAPI3REF: Memory Allocation Routines
//
@@ -5231,7 +5236,7 @@ type sqlite3_mem_methods = struct {
FxInit uintptr
FxShutdown uintptr
FpAppData uintptr
-} /* sqlite3.c:2729:9 */
+} /* sqlite3.c:2767:9 */
// CAPI3REF: Memory Allocation Routines
//
@@ -5294,7 +5299,7 @@ type sqlite3_mem_methods = struct {
//
// SQLite will never invoke xInit() more than once without an intervening
// call to xShutdown().
-type Sqlite3_mem_methods = sqlite3_mem_methods /* sqlite3.c:2729:36 */
+type Sqlite3_mem_methods = sqlite3_mem_methods /* sqlite3.c:2767:36 */
// CAPI3REF: Dynamically Typed Value Object
// KEYWORDS: {protected sqlite3_value} {unprotected sqlite3_value}
@@ -5346,7 +5351,7 @@ type sqlite3_value = struct {
FuTemp U32
Fdb uintptr
FxDel uintptr
-} /* sqlite3.c:1312:9 */
+} /* sqlite3.c:1331:9 */
// CAPI3REF: Dynamically Typed Value Object
// KEYWORDS: {protected sqlite3_value} {unprotected sqlite3_value}
@@ -5386,7 +5391,7 @@ type sqlite3_value = struct {
// [sqlite3_value_dup()].
// The [sqlite3_value_blob | sqlite3_value_type()] family of
// interfaces require protected sqlite3_value objects.
-type Sqlite3_value = sqlite3_value /* sqlite3.c:5321:30 */
+type Sqlite3_value = sqlite3_value /* sqlite3.c:5368:30 */
// CAPI3REF: SQL Function Context Object
//
@@ -5409,7 +5414,7 @@ type sqlite3_context = struct {
Fargc U8
_ [6]byte
Fargv [1]uintptr
-} /* sqlite3.c:1312:9 */
+} /* sqlite3.c:1331:9 */
// CAPI3REF: SQL Function Context Object
//
@@ -5421,7 +5426,7 @@ type sqlite3_context = struct {
// [sqlite3_aggregate_context()], [sqlite3_user_data()],
// [sqlite3_context_db_handle()], [sqlite3_get_auxdata()],
// and/or [sqlite3_set_auxdata()].
-type Sqlite3_context = sqlite3_context /* sqlite3.c:5335:32 */
+type Sqlite3_context = sqlite3_context /* sqlite3.c:5382:32 */
// CAPI3REF: Constants Defining Special Destructor Behavior
//
@@ -5435,7 +5440,7 @@ type Sqlite3_context = sqlite3_context /* sqlite3.c:5335:32 */
//
// The typedef is necessary to work around problems in certain
// C++ compilers.
-type Sqlite3_destructor_type = uintptr /* sqlite3.c:6698:14 */
+type Sqlite3_destructor_type = uintptr /* sqlite3.c:6747:14 */
// The interface to the virtual-table mechanism is currently considered
// to be experimental. The interface might change in incompatible ways.
@@ -5450,7 +5455,7 @@ type sqlite3_vtab = struct {
FnRef int32
_ [4]byte
FzErrMsg uintptr
-} /* sqlite3.c:1312:9 */
+} /* sqlite3.c:1331:9 */
// The interface to the virtual-table mechanism is currently considered
// to be experimental. The interface might change in incompatible ways.
@@ -5460,7 +5465,7 @@ type sqlite3_vtab = struct {
// interface fixed, support it indefinitely, and remove this comment.
// Structures used by the virtual table interface
-type Sqlite3_vtab = sqlite3_vtab /* sqlite3.c:7817:29 */
+type Sqlite3_vtab = sqlite3_vtab /* sqlite3.c:7866:29 */
type sqlite3_index_info = struct {
FnConstraint int32
_ [4]byte
@@ -5479,12 +5484,12 @@ type sqlite3_index_info = struct {
FidxFlags int32
_ [4]byte
FcolUsed Sqlite3_uint64
-} /* sqlite3.c:7818:9 */
+} /* sqlite3.c:7867:9 */
-type Sqlite3_index_info = sqlite3_index_info /* sqlite3.c:7818:35 */
-type sqlite3_vtab_cursor = struct{ FpVtab uintptr } /* sqlite3.c:7819:9 */
+type Sqlite3_index_info = sqlite3_index_info /* sqlite3.c:7867:35 */
+type sqlite3_vtab_cursor = struct{ FpVtab uintptr } /* sqlite3.c:7868:9 */
-type Sqlite3_vtab_cursor = sqlite3_vtab_cursor /* sqlite3.c:7819:36 */
+type Sqlite3_vtab_cursor = sqlite3_vtab_cursor /* sqlite3.c:7868:36 */
type sqlite3_module = struct {
FiVersion int32
_ [4]byte
@@ -5511,9 +5516,9 @@ type sqlite3_module = struct {
FxRelease uintptr
FxRollbackTo uintptr
FxShadowName uintptr
-} /* sqlite3.c:1312:9 */
+} /* sqlite3.c:1331:9 */
-type Sqlite3_module = sqlite3_module /* sqlite3.c:7820:31 */
+type Sqlite3_module = sqlite3_module /* sqlite3.c:7869:31 */
// CAPI3REF: Virtual Table Indexing Information
// KEYWORDS: sqlite3_index_info
@@ -5621,7 +5626,7 @@ type sqlite3_index_constraint = struct {
Fusable uint8
_ [2]byte
FiTermOffset int32
-} /* sqlite3.c:7818:9 */
+} /* sqlite3.c:7867:9 */
// CAPI3REF: Virtual Table Indexing Information
// KEYWORDS: sqlite3_index_info
@@ -5727,7 +5732,7 @@ type sqlite3_index_orderby = struct {
FiColumn int32
Fdesc uint8
_ [3]byte
-} /* sqlite3.c:7818:9 */
+} /* sqlite3.c:7867:9 */
// CAPI3REF: Virtual Table Indexing Information
// KEYWORDS: sqlite3_index_info
@@ -5833,7 +5838,7 @@ type sqlite3_index_constraint_usage = struct {
FargvIndex int32
Fomit uint8
_ [3]byte
-} /* sqlite3.c:7818:9 */
+} /* sqlite3.c:7867:9 */
// CAPI3REF: Mutex Methods Object
//
@@ -5908,7 +5913,7 @@ type sqlite3_mutex_methods = struct {
FxMutexLeave uintptr
FxMutexHeld uintptr
FxMutexNotheld uintptr
-} /* sqlite3.c:8652:9 */
+} /* sqlite3.c:8701:9 */
// CAPI3REF: Mutex Methods Object
//
@@ -5973,7 +5978,7 @@ type sqlite3_mutex_methods = 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_methods /* sqlite3.c:8652:38 */
+type Sqlite3_mutex_methods = sqlite3_mutex_methods /* sqlite3.c:8701:38 */
// CAPI3REF: Dynamic String Object
// KEYWORDS: {dynamic string}
@@ -5998,7 +6003,7 @@ type sqlite3_str = struct {
FaccError U8
FprintfFlags U8
_ [2]byte
-} /* sqlite3.c:8914:9 */
+} /* sqlite3.c:8964:9 */
// CAPI3REF: Dynamic String Object
// KEYWORDS: {dynamic string}
@@ -6014,7 +6019,7 @@ type sqlite3_str = struct {
// ^The sqlite3_str object is destroyed and the string it created
// is returned using the [sqlite3_str_finish()] interface.
//
-type Sqlite3_str = sqlite3_str /* sqlite3.c:8914:28 */
+type Sqlite3_str = sqlite3_str /* sqlite3.c:8964:28 */
// CAPI3REF: Custom Page Cache Object
//
@@ -6027,7 +6032,7 @@ type Sqlite3_str = sqlite3_str /* sqlite3.c:8914:28 */
type sqlite3_pcache_page = struct {
FpBuf uintptr
FpExtra uintptr
-} /* sqlite3.c:1312:9 */
+} /* sqlite3.c:1331:9 */
// CAPI3REF: Custom Page Cache Object
//
@@ -6037,7 +6042,7 @@ type sqlite3_pcache_page = struct {
// of this object as parameters or as their return value.
//
// See [sqlite3_pcache_methods2] for additional information.
-type Sqlite3_pcache_page = sqlite3_pcache_page /* sqlite3.c:9407:36 */
+type Sqlite3_pcache_page = sqlite3_pcache_page /* sqlite3.c:9457:36 */
// CAPI3REF: Application Defined Page Cache.
// KEYWORDS: {page cache}
@@ -6211,7 +6216,7 @@ type sqlite3_pcache_methods2 = struct {
FxTruncate uintptr
FxDestroy uintptr
FxShrink uintptr
-} /* sqlite3.c:9572:9 */
+} /* sqlite3.c:9622:9 */
// CAPI3REF: Application Defined Page Cache.
// KEYWORDS: {page cache}
@@ -6370,7 +6375,7 @@ type sqlite3_pcache_methods2 = 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_methods2 /* sqlite3.c:9572:40 */
+type Sqlite3_pcache_methods2 = sqlite3_pcache_methods2 /* sqlite3.c:9622: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
@@ -6387,12 +6392,12 @@ type sqlite3_pcache_methods = struct {
FxRekey uintptr
FxTruncate uintptr
FxDestroy uintptr
-} /* sqlite3.c:9595:9 */
+} /* sqlite3.c:9645: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_methods /* sqlite3.c:9595:39 */
+type Sqlite3_pcache_methods = sqlite3_pcache_methods /* sqlite3.c:9645:39 */
// CAPI3REF: Online Backup Object
//
@@ -6416,7 +6421,7 @@ type sqlite3_backup = struct {
FnPagecount Pgno
FisAttached int32
FpNext uintptr
-} /* sqlite3.c:1312:9 */
+} /* sqlite3.c:1331:9 */
// CAPI3REF: Online Backup Object
//
@@ -6426,7 +6431,7 @@ type sqlite3_backup = struct {
// [sqlite3_backup_finish()].
//
// See Also: [Using the SQLite Online Backup API]
-type Sqlite3_backup = sqlite3_backup /* sqlite3.c:9621:31 */
+type Sqlite3_backup = sqlite3_backup /* sqlite3.c:9671:31 */
// CAPI3REF: Database Snapshot
// KEYWORDS: {snapshot} {sqlite3_snapshot}
@@ -6446,7 +6451,7 @@ type Sqlite3_backup = sqlite3_backup /* sqlite3.c:9621:31 */
// 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 = struct{ Fhidden [48]uint8 } /* sqlite3.c:10652:9 */
+type sqlite3_snapshot = struct{ Fhidden [48]uint8 } /* sqlite3.c:10712:9 */
// CAPI3REF: Database Snapshot
// KEYWORDS: {snapshot} {sqlite3_snapshot}
@@ -6466,7 +6471,7 @@ type sqlite3_snapshot = struct{ Fhidden [48]uint8 } /* sqlite3.c:10652: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_snapshot /* sqlite3.c:10654:3 */
+type Sqlite3_snapshot = sqlite3_snapshot /* sqlite3.c:10714:3 */
// CAPI3REF: Flags for sqlite3_deserialize()
//
@@ -6510,7 +6515,7 @@ type sqlite3_rtree_geometry = struct {
FaParam uintptr
FpUser uintptr
FxDelUser uintptr
-} /* sqlite3.c:10979:9 */
+} /* sqlite3.c:11039:9 */
// CAPI3REF: Flags for sqlite3_deserialize()
//
@@ -6547,7 +6552,7 @@ type sqlite3_rtree_geometry = struct {
//
//
-type Sqlite3_rtree_geometry = sqlite3_rtree_geometry /* sqlite3.c:10979:39 */
+type Sqlite3_rtree_geometry = sqlite3_rtree_geometry /* sqlite3.c:11039:39 */
type sqlite3_rtree_query_info = struct {
FpContext uintptr
FnParam int32
@@ -6567,19 +6572,508 @@ type sqlite3_rtree_query_info = struct {
FeWithin int32
FrScore Sqlite3_rtree_dbl
FapSqlParam uintptr
-} /* sqlite3.c:10980:9 */
+} /* sqlite3.c:11040:9 */
-type Sqlite3_rtree_query_info = sqlite3_rtree_query_info /* sqlite3.c:10980:41 */
+type Sqlite3_rtree_query_info = sqlite3_rtree_query_info /* sqlite3.c:11040:41 */
// The double-precision datatype used by RTree depends on the
// SQLITE_RTREE_INT_ONLY compile-time option.
-type Sqlite3_rtree_dbl = float64 /* sqlite3.c:10988:18 */
+type Sqlite3_rtree_dbl = float64 /* sqlite3.c:11048:18 */
// Allowed values for sqlite3_rtree_query.eWithin and .eParentWithin.
//******* End of sqlite3rtree.h ********
//******* Begin file sqlite3session.h ********
+// Make sure we can call this stuff from C++.
+
+// CAPI3REF: Session Object Handle
+//
+// An instance of this object is a [session] that can be used to
+// record changes to a database.
+type sqlite3_session = struct {
+ Fdb uintptr
+ FzDb uintptr
+ FbEnableSize int32
+ FbEnable int32
+ FbIndirect int32
+ FbAutoAttach int32
+ Frc int32
+ _ [4]byte
+ FpFilterCtx uintptr
+ FxTableFilter uintptr
+ FnMalloc I64
+ FnMaxChangesetSize I64
+ FpZeroBlob uintptr
+ FpNext uintptr
+ FpTable uintptr
+ Fhook SessionHook
+} /* sqlite3.c:11155:9 */
+
+// Allowed values for sqlite3_rtree_query.eWithin and .eParentWithin.
+
+//******* End of sqlite3rtree.h ********
+//******* Begin file sqlite3session.h ********
+
+// Make sure we can call this stuff from C++.
+
+// CAPI3REF: Session Object Handle
+//
+// An instance of this object is a [session] that can be used to
+// record changes to a database.
+type Sqlite3_session = sqlite3_session /* sqlite3.c:11155:32 */
+
+// CAPI3REF: Changeset Iterator Handle
+//
+// An instance of this object acts as a cursor for iterating
+// over the elements of a [changeset] or [patchset].
+type sqlite3_changeset_iter = struct {
+ Fin SessionInput
+ Ftblhdr SessionBuffer
+ FbPatchset int32
+ FbInvert int32
+ FbSkipEmpty int32
+ Frc int32
+ FpConflict uintptr
+ FzTab uintptr
+ FnCol int32
+ Fop int32
+ FbIndirect int32
+ _ [4]byte
+ FabPK uintptr
+ FapValue uintptr
+} /* sqlite3.c:11163:9 */
+
+// CAPI3REF: Changeset Iterator Handle
+//
+// An instance of this object acts as a cursor for iterating
+// over the elements of a [changeset] or [patchset].
+type Sqlite3_changeset_iter = sqlite3_changeset_iter /* sqlite3.c:11163:39 */
+
+// CAPI3REF: Changegroup Handle
+//
+// A changegroup is an object used to combine two or more
+// [changesets] or [patchsets]
+type sqlite3_changegroup = struct {
+ Frc int32
+ FbPatch int32
+ FpList uintptr
+} /* sqlite3.c:12015:9 */
+
+// CAPI3REF: Changegroup Handle
+//
+// A changegroup is an object used to combine two or more
+// [changesets] or [patchsets]
+type Sqlite3_changegroup = sqlite3_changegroup /* sqlite3.c:12015:36 */
+
+// CAPI3REF: Flags for sqlite3changeset_apply_v2
+//
+// The following flags may passed via the 9th parameter to
+// [sqlite3changeset_apply_v2] and [sqlite3changeset_apply_v2_strm]:
+//
+//
+// - SQLITE_CHANGESETAPPLY_NOSAVEPOINT
-
+// Usually, the sessions module encloses all operations performed by
+// a single call to apply_v2() or apply_v2_strm() in a [SAVEPOINT]. The
+// SAVEPOINT is committed if the changeset or patchset is successfully
+// applied, or rolled back if an error occurs. Specifying this flag
+// causes the sessions module to omit this savepoint. In this case, if the
+// caller has an open transaction or savepoint when apply_v2() is called,
+// it may revert the partially applied changeset by rolling it back.
+//
+//
- SQLITE_CHANGESETAPPLY_INVERT
-
+// Invert the changeset before applying it. This is equivalent to inverting
+// a changeset using sqlite3changeset_invert() before applying it. It is
+// an error to specify this flag with a patchset.
+
+// CAPI3REF: Constants Passed To The Conflict Handler
+//
+// Values that may be passed as the second argument to a conflict-handler.
+//
+//
+// - SQLITE_CHANGESET_DATA
-
+// The conflict handler is invoked with CHANGESET_DATA as the second argument
+// when processing a DELETE or UPDATE change if a row with the required
+// PRIMARY KEY fields is present in the database, but one or more other
+// (non primary-key) fields modified by the update do not contain the
+// expected "before" values.
+//
+// The conflicting row, in this case, is the database row with the matching
+// primary key.
+//
+//
- SQLITE_CHANGESET_NOTFOUND
-
+// The conflict handler is invoked with CHANGESET_NOTFOUND as the second
+// argument when processing a DELETE or UPDATE change if a row with the
+// required PRIMARY KEY fields is not present in the database.
+//
+// There is no conflicting row in this case. The results of invoking the
+// sqlite3changeset_conflict() API are undefined.
+//
+//
- SQLITE_CHANGESET_CONFLICT
-
+// CHANGESET_CONFLICT is passed as the second argument to the conflict
+// handler while processing an INSERT change if the operation would result
+// in duplicate primary key values.
+//
+// The conflicting row in this case is the database row with the matching
+// primary key.
+//
+//
- SQLITE_CHANGESET_FOREIGN_KEY
-
+// If foreign key handling is enabled, and applying a changeset leaves the
+// database in a state containing foreign key violations, the conflict
+// handler is invoked with CHANGESET_FOREIGN_KEY as the second argument
+// exactly once before the changeset is committed. If the conflict handler
+// returns CHANGESET_OMIT, the changes, including those that caused the
+// foreign key constraint violation, are committed. Or, if it returns
+// CHANGESET_ABORT, the changeset is rolled back.
+//
+// No current or conflicting row information is provided. The only function
+// it is possible to call on the supplied sqlite3_changeset_iter handle
+// is sqlite3changeset_fk_conflicts().
+//
+//
- SQLITE_CHANGESET_CONSTRAINT
-
+// If any other constraint violation occurs while applying a change (i.e.
+// a UNIQUE, CHECK or NOT NULL constraint), the conflict handler is
+// invoked with CHANGESET_CONSTRAINT as the second argument.
+//
+// There is no conflicting row in this case. The results of invoking the
+// sqlite3changeset_conflict() API are undefined.
+//
+//
+
+// CAPI3REF: Constants Returned By The Conflict Handler
+//
+// A conflict handler callback must return one of the following three values.
+//
+//
+// - SQLITE_CHANGESET_OMIT
-
+// If a conflict handler returns this value no special action is taken. The
+// change that caused the conflict is not applied. The session module
+// continues to the next change in the changeset.
+//
+//
- SQLITE_CHANGESET_REPLACE
-
+// This value may only be returned if the second argument to the conflict
+// handler was SQLITE_CHANGESET_DATA or SQLITE_CHANGESET_CONFLICT. If this
+// is not the case, any changes applied so far are rolled back and the
+// call to sqlite3changeset_apply() returns SQLITE_MISUSE.
+//
+// If CHANGESET_REPLACE is returned by an SQLITE_CHANGESET_DATA conflict
+// handler, then the conflicting row is either updated or deleted, depending
+// on the type of change.
+//
+// If CHANGESET_REPLACE is returned by an SQLITE_CHANGESET_CONFLICT conflict
+// handler, then the conflicting row is removed from the database and a
+// second attempt to apply the change is made. If this second attempt fails,
+// the original row is restored to the database before continuing.
+//
+//
- SQLITE_CHANGESET_ABORT
-
+// If this value is returned, any changes applied so far are rolled back
+// and the call to sqlite3changeset_apply() returns SQLITE_ABORT.
+//
+
+// CAPI3REF: Rebasing changesets
+// EXPERIMENTAL
+//
+// Suppose there is a site hosting a database in state S0. And that
+// modifications are made that move that database to state S1 and a
+// changeset recorded (the "local" changeset). Then, a changeset based
+// on S0 is received from another site (the "remote" changeset) and
+// applied to the database. The database is then in state
+// (S1+"remote"), where the exact state depends on any conflict
+// resolution decisions (OMIT or REPLACE) made while applying "remote".
+// Rebasing a changeset is to update it to take those conflict
+// resolution decisions into account, so that the same conflicts
+// do not have to be resolved elsewhere in the network.
+//
+// For example, if both the local and remote changesets contain an
+// INSERT of the same key on "CREATE TABLE t1(a PRIMARY KEY, b)":
+//
+// local: INSERT INTO t1 VALUES(1, 'v1');
+// remote: INSERT INTO t1 VALUES(1, 'v2');
+//
+// and the conflict resolution is REPLACE, then the INSERT change is
+// removed from the local changeset (it was overridden). Or, if the
+// conflict resolution was "OMIT", then the local changeset is modified
+// to instead contain:
+//
+// UPDATE t1 SET b = 'v2' WHERE a=1;
+//
+// Changes within the local changeset are rebased as follows:
+//
+//
+// - Local INSERT
-
+// This may only conflict with a remote INSERT. If the conflict
+// resolution was OMIT, then add an UPDATE change to the rebased
+// changeset. Or, if the conflict resolution was REPLACE, add
+// nothing to the rebased changeset.
+//
+//
- Local DELETE
-
+// This may conflict with a remote UPDATE or DELETE. In both cases the
+// only possible resolution is OMIT. If the remote operation was a
+// DELETE, then add no change to the rebased changeset. If the remote
+// operation was an UPDATE, then the old.* fields of change are updated
+// to reflect the new.* values in the UPDATE.
+//
+//
- Local UPDATE
-
+// This may conflict with a remote UPDATE or DELETE. If it conflicts
+// with a DELETE, and the conflict resolution was OMIT, then the update
+// is changed into an INSERT. Any undefined values in the new.* record
+// from the update change are filled in using the old.* values from
+// the conflicting DELETE. Or, if the conflict resolution was REPLACE,
+// the UPDATE change is simply omitted from the rebased changeset.
+//
+// If conflict is with a remote UPDATE and the resolution is OMIT, then
+// the old.* values are rebased using the new.* values in the remote
+// change. Or, if the resolution is REPLACE, then the change is copied
+// into the rebased changeset with updates to columns also updated by
+// the conflicting remote UPDATE removed. If this means no columns would
+// be updated, the change is omitted.
+//
+//
+// A local change may be rebased against multiple remote changes
+// simultaneously. If a single key is modified by multiple remote
+// changesets, they are combined as follows before the local changeset
+// is rebased:
+//
+//
+// - If there has been one or more REPLACE resolutions on a
+// key, it is rebased according to a REPLACE.
+//
+//
- If there have been no REPLACE resolutions on a key, then
+// the local changeset is rebased according to the most recent
+// of the OMIT resolutions.
+//
+//
+// Note that conflict resolutions from multiple remote changesets are
+// combined on a per-field basis, not per-row. This means that in the
+// case of multiple remote UPDATE operations, some fields of a single
+// local change may be rebased for REPLACE while others are rebased for
+// OMIT.
+//
+// In order to rebase a local changeset, the remote changeset must first
+// be applied to the local database using sqlite3changeset_apply_v2() and
+// the buffer of rebase information captured. Then:
+//
+//
+// - An sqlite3_rebaser object is created by calling
+// sqlite3rebaser_create().
+//
- The new object is configured with the rebase buffer obtained from
+// sqlite3changeset_apply_v2() by calling sqlite3rebaser_configure().
+// If the local changeset is to be rebased against multiple remote
+// changesets, then sqlite3rebaser_configure() should be called
+// multiple times, in the same order that the multiple
+// sqlite3changeset_apply_v2() calls were made.
+//
- Each local changeset is rebased by calling sqlite3rebaser_rebase().
+//
- The sqlite3_rebaser object is deleted by calling
+// sqlite3rebaser_delete().
+//
+type sqlite3_rebaser = struct{ Fgrp Sqlite3_changegroup } /* sqlite3.c:12579:9 */
+
+// CAPI3REF: Flags for sqlite3changeset_apply_v2
+//
+// The following flags may passed via the 9th parameter to
+// [sqlite3changeset_apply_v2] and [sqlite3changeset_apply_v2_strm]:
+//
+//
+// - SQLITE_CHANGESETAPPLY_NOSAVEPOINT
-
+// Usually, the sessions module encloses all operations performed by
+// a single call to apply_v2() or apply_v2_strm() in a [SAVEPOINT]. The
+// SAVEPOINT is committed if the changeset or patchset is successfully
+// applied, or rolled back if an error occurs. Specifying this flag
+// causes the sessions module to omit this savepoint. In this case, if the
+// caller has an open transaction or savepoint when apply_v2() is called,
+// it may revert the partially applied changeset by rolling it back.
+//
+//
- SQLITE_CHANGESETAPPLY_INVERT
-
+// Invert the changeset before applying it. This is equivalent to inverting
+// a changeset using sqlite3changeset_invert() before applying it. It is
+// an error to specify this flag with a patchset.
+
+// CAPI3REF: Constants Passed To The Conflict Handler
+//
+// Values that may be passed as the second argument to a conflict-handler.
+//
+//
+// - SQLITE_CHANGESET_DATA
-
+// The conflict handler is invoked with CHANGESET_DATA as the second argument
+// when processing a DELETE or UPDATE change if a row with the required
+// PRIMARY KEY fields is present in the database, but one or more other
+// (non primary-key) fields modified by the update do not contain the
+// expected "before" values.
+//
+// The conflicting row, in this case, is the database row with the matching
+// primary key.
+//
+//
- SQLITE_CHANGESET_NOTFOUND
-
+// The conflict handler is invoked with CHANGESET_NOTFOUND as the second
+// argument when processing a DELETE or UPDATE change if a row with the
+// required PRIMARY KEY fields is not present in the database.
+//
+// There is no conflicting row in this case. The results of invoking the
+// sqlite3changeset_conflict() API are undefined.
+//
+//
- SQLITE_CHANGESET_CONFLICT
-
+// CHANGESET_CONFLICT is passed as the second argument to the conflict
+// handler while processing an INSERT change if the operation would result
+// in duplicate primary key values.
+//
+// The conflicting row in this case is the database row with the matching
+// primary key.
+//
+//
- SQLITE_CHANGESET_FOREIGN_KEY
-
+// If foreign key handling is enabled, and applying a changeset leaves the
+// database in a state containing foreign key violations, the conflict
+// handler is invoked with CHANGESET_FOREIGN_KEY as the second argument
+// exactly once before the changeset is committed. If the conflict handler
+// returns CHANGESET_OMIT, the changes, including those that caused the
+// foreign key constraint violation, are committed. Or, if it returns
+// CHANGESET_ABORT, the changeset is rolled back.
+//
+// No current or conflicting row information is provided. The only function
+// it is possible to call on the supplied sqlite3_changeset_iter handle
+// is sqlite3changeset_fk_conflicts().
+//
+//
- SQLITE_CHANGESET_CONSTRAINT
-
+// If any other constraint violation occurs while applying a change (i.e.
+// a UNIQUE, CHECK or NOT NULL constraint), the conflict handler is
+// invoked with CHANGESET_CONSTRAINT as the second argument.
+//
+// There is no conflicting row in this case. The results of invoking the
+// sqlite3changeset_conflict() API are undefined.
+//
+//
+
+// CAPI3REF: Constants Returned By The Conflict Handler
+//
+// A conflict handler callback must return one of the following three values.
+//
+//
+// - SQLITE_CHANGESET_OMIT
-
+// If a conflict handler returns this value no special action is taken. The
+// change that caused the conflict is not applied. The session module
+// continues to the next change in the changeset.
+//
+//
- SQLITE_CHANGESET_REPLACE
-
+// This value may only be returned if the second argument to the conflict
+// handler was SQLITE_CHANGESET_DATA or SQLITE_CHANGESET_CONFLICT. If this
+// is not the case, any changes applied so far are rolled back and the
+// call to sqlite3changeset_apply() returns SQLITE_MISUSE.
+//
+// If CHANGESET_REPLACE is returned by an SQLITE_CHANGESET_DATA conflict
+// handler, then the conflicting row is either updated or deleted, depending
+// on the type of change.
+//
+// If CHANGESET_REPLACE is returned by an SQLITE_CHANGESET_CONFLICT conflict
+// handler, then the conflicting row is removed from the database and a
+// second attempt to apply the change is made. If this second attempt fails,
+// the original row is restored to the database before continuing.
+//
+//
- SQLITE_CHANGESET_ABORT
-
+// If this value is returned, any changes applied so far are rolled back
+// and the call to sqlite3changeset_apply() returns SQLITE_ABORT.
+//
+
+// CAPI3REF: Rebasing changesets
+// EXPERIMENTAL
+//
+// Suppose there is a site hosting a database in state S0. And that
+// modifications are made that move that database to state S1 and a
+// changeset recorded (the "local" changeset). Then, a changeset based
+// on S0 is received from another site (the "remote" changeset) and
+// applied to the database. The database is then in state
+// (S1+"remote"), where the exact state depends on any conflict
+// resolution decisions (OMIT or REPLACE) made while applying "remote".
+// Rebasing a changeset is to update it to take those conflict
+// resolution decisions into account, so that the same conflicts
+// do not have to be resolved elsewhere in the network.
+//
+// For example, if both the local and remote changesets contain an
+// INSERT of the same key on "CREATE TABLE t1(a PRIMARY KEY, b)":
+//
+// local: INSERT INTO t1 VALUES(1, 'v1');
+// remote: INSERT INTO t1 VALUES(1, 'v2');
+//
+// and the conflict resolution is REPLACE, then the INSERT change is
+// removed from the local changeset (it was overridden). Or, if the
+// conflict resolution was "OMIT", then the local changeset is modified
+// to instead contain:
+//
+// UPDATE t1 SET b = 'v2' WHERE a=1;
+//
+// Changes within the local changeset are rebased as follows:
+//
+//
+// - Local INSERT
-
+// This may only conflict with a remote INSERT. If the conflict
+// resolution was OMIT, then add an UPDATE change to the rebased
+// changeset. Or, if the conflict resolution was REPLACE, add
+// nothing to the rebased changeset.
+//
+//
- Local DELETE
-
+// This may conflict with a remote UPDATE or DELETE. In both cases the
+// only possible resolution is OMIT. If the remote operation was a
+// DELETE, then add no change to the rebased changeset. If the remote
+// operation was an UPDATE, then the old.* fields of change are updated
+// to reflect the new.* values in the UPDATE.
+//
+//
- Local UPDATE
-
+// This may conflict with a remote UPDATE or DELETE. If it conflicts
+// with a DELETE, and the conflict resolution was OMIT, then the update
+// is changed into an INSERT. Any undefined values in the new.* record
+// from the update change are filled in using the old.* values from
+// the conflicting DELETE. Or, if the conflict resolution was REPLACE,
+// the UPDATE change is simply omitted from the rebased changeset.
+//
+// If conflict is with a remote UPDATE and the resolution is OMIT, then
+// the old.* values are rebased using the new.* values in the remote
+// change. Or, if the resolution is REPLACE, then the change is copied
+// into the rebased changeset with updates to columns also updated by
+// the conflicting remote UPDATE removed. If this means no columns would
+// be updated, the change is omitted.
+//
+//
+// A local change may be rebased against multiple remote changes
+// simultaneously. If a single key is modified by multiple remote
+// changesets, they are combined as follows before the local changeset
+// is rebased:
+//
+//
+// - If there has been one or more REPLACE resolutions on a
+// key, it is rebased according to a REPLACE.
+//
+//
- If there have been no REPLACE resolutions on a key, then
+// the local changeset is rebased according to the most recent
+// of the OMIT resolutions.
+//
+//
+// Note that conflict resolutions from multiple remote changesets are
+// combined on a per-field basis, not per-row. This means that in the
+// case of multiple remote UPDATE operations, some fields of a single
+// local change may be rebased for REPLACE while others are rebased for
+// OMIT.
+//
+// In order to rebase a local changeset, the remote changeset must first
+// be applied to the local database using sqlite3changeset_apply_v2() and
+// the buffer of rebase information captured. Then:
+//
+//
+// - An sqlite3_rebaser object is created by calling
+// sqlite3rebaser_create().
+//
- The new object is configured with the rebase buffer obtained from
+// sqlite3changeset_apply_v2() by calling sqlite3rebaser_configure().
+// If the local changeset is to be rebased against multiple remote
+// changesets, then sqlite3rebaser_configure() should be called
+// multiple times, in the same order that the multiple
+// sqlite3changeset_apply_v2() calls were made.
+//
- Each local changeset is rebased by calling sqlite3rebaser_rebase().
+//
- The sqlite3_rebaser object is deleted by calling
+// sqlite3rebaser_delete().
+//
+type Sqlite3_rebaser = sqlite3_rebaser /* sqlite3.c:12579:32 */
+
+// CAPI3REF: Values for sqlite3session_config().
+
+// Make sure we can call this stuff from C++.
+
//******* End of sqlite3session.h ********
//******* Begin file fts5.h ********
// 2014 May 31
@@ -6628,12 +7122,11 @@ type Fts5ExtensionApi1 = struct {
FxPhraseNext uintptr
FxPhraseFirstColumn uintptr
FxPhraseNextColumn uintptr
-} /* sqlite3.c:12787:9 */
+} /* sqlite3.c:12895:9 */
-// Allowed values for sqlite3_rtree_query.eWithin and .eParentWithin.
+// CAPI3REF: Values for sqlite3session_config().
-//******* End of sqlite3rtree.h ********
-//******* Begin file sqlite3session.h ********
+// Make sure we can call this stuff from C++.
//******* End of sqlite3session.h ********
//******* Begin file fts5.h ********
@@ -6661,22 +7154,22 @@ type Fts5ExtensionApi1 = struct {
// Virtual table implementations may overload SQL functions by implementing
// the sqlite3_module.xFindFunction() method.
-type Fts5ExtensionApi = Fts5ExtensionApi1 /* sqlite3.c:12787:33 */
+type Fts5ExtensionApi = Fts5ExtensionApi1 /* sqlite3.c:12895:33 */
type Fts5PhraseIter1 = struct {
Fa uintptr
Fb uintptr
-} /* sqlite3.c:12789:9 */
+} /* sqlite3.c:12897:9 */
-type Fts5PhraseIter = Fts5PhraseIter1 /* sqlite3.c:12789:31 */
+type Fts5PhraseIter = Fts5PhraseIter1 /* sqlite3.c:12897:31 */
-type Fts5_extension_function = uintptr /* sqlite3.c:12791:14 */
+type Fts5_extension_function = uintptr /* sqlite3.c:12899:14 */
type fts5_tokenizer = struct {
FxCreate uintptr
FxDelete uintptr
FxTokenize uintptr
-} /* sqlite3.c:13250:9 */
+} /* sqlite3.c:13358:9 */
-type Fts5_tokenizer = fts5_tokenizer /* sqlite3.c:13250:31 */
+type Fts5_tokenizer = fts5_tokenizer /* sqlite3.c:13358:31 */
// Flags that may be passed as the third argument to xTokenize()
@@ -6696,7 +7189,7 @@ type fts5_api = struct {
FxCreateTokenizer uintptr
FxFindTokenizer uintptr
FxCreateFunction uintptr
-} /* sqlite3.c:13286:9 */
+} /* sqlite3.c:13394:9 */
// Flags that may be passed as the third argument to xTokenize()
@@ -6710,7 +7203,7 @@ type fts5_api = struct {
// ************************************************************************
//
// FTS5 EXTENSION REGISTRATION API
-type Fts5_api = fts5_api /* sqlite3.c:13286:25 */
+type Fts5_api = fts5_api /* sqlite3.c:13394:25 */
//
// END OF REGISTRATION API
@@ -7032,7 +7525,7 @@ type Hash1 = struct {
Fcount uint32
Ffirst uintptr
Fht uintptr
-} /* sqlite3.c:1312:9 */
+} /* sqlite3.c:1331:9 */
//
// END OF REGISTRATION API
@@ -7349,15 +7842,15 @@ type Hash1 = struct {
// used in SQLite.
// Forward declarations of structures.
-type Hash = Hash1 /* sqlite3.c:13962:21 */
+type Hash = Hash1 /* sqlite3.c:14070:21 */
type HashElem1 = struct {
Fnext uintptr
Fprev uintptr
Fdata uintptr
FpKey uintptr
-} /* sqlite3.c:1312:9 */
+} /* sqlite3.c:1331:9 */
-type HashElem = HashElem1 /* sqlite3.c:13963:25 */
+type HashElem = HashElem1 /* sqlite3.c:14071:25 */
// A complete hash table is an instance of the following structure.
// The internals of this structure are intended to be opaque -- client
@@ -7383,7 +7876,7 @@ type _ht = struct {
Fcount uint32
_ [4]byte
Fchain uintptr
-} /* sqlite3.c:1312:9 */
+} /* sqlite3.c:1331:9 */
// Wide character type.
// Locale-writers should change this as necessary to
@@ -7400,7 +7893,7 @@ type _ht = struct {
// A null pointer constant.
-// Copyright (C) 1989-2018 Free Software Foundation, Inc.
+// Copyright (C) 1989-2017 Free Software Foundation, Inc.
//
// This file is part of GCC.
//
@@ -7426,7 +7919,7 @@ type _ht = struct {
// ISO C Standard: 7.15 Variable arguments
// bits/types.h -- definitions of __*_t types underlying *_t types.
-// Copyright (C) 2002-2018 Free Software Foundation, Inc.
+// Copyright (C) 2002-2020 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
@@ -7441,11 +7934,11 @@ type _ht = struct {
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// Never include this file directly; use instead.
-// Copyright (C) 1991-2018 Free Software Foundation, Inc.
+// Copyright (C) 1991-2020 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
@@ -7460,43 +7953,65 @@ type _ht = struct {
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// Determine the wordsize from the preprocessor defines.
+// Bit size of the time_t type at glibc build time, general case.
+// Copyright (C) 2018-2020 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
+// .
+
+// Determine the wordsize from the preprocessor defines.
+
+// Size in bits of the 'time_t' type of the default ABI.
+
// Convenience types.
-type X__u_char = uint8 /* types.h:30:23 */
-type X__u_short = uint16 /* types.h:31:28 */
-type X__u_int = uint32 /* types.h:32:22 */
-type X__u_long = uint64 /* types.h:33:27 */
+type X__u_char = uint8 /* types.h:31:23 */
+type X__u_short = uint16 /* types.h:32:28 */
+type X__u_int = uint32 /* types.h:33:22 */
+type X__u_long = uint64 /* types.h:34:27 */
// Fixed-size types, underlying types depend on word size and compiler.
-type X__int8_t = int8 /* types.h:36:21 */
-type X__uint8_t = uint8 /* types.h:37:23 */
-type X__int16_t = int16 /* types.h:38:26 */
-type X__uint16_t = uint16 /* types.h:39:28 */
-type X__int32_t = int32 /* types.h:40:20 */
-type X__uint32_t = uint32 /* types.h:41:22 */
-type X__int64_t = int64 /* types.h:43:25 */
-type X__uint64_t = uint64 /* types.h:44:27 */
+type X__int8_t = int8 /* types.h:37:21 */
+type X__uint8_t = uint8 /* types.h:38:23 */
+type X__int16_t = int16 /* types.h:39:26 */
+type X__uint16_t = uint16 /* types.h:40:28 */
+type X__int32_t = int32 /* types.h:41:20 */
+type X__uint32_t = uint32 /* types.h:42:22 */
+type X__int64_t = int64 /* types.h:44:25 */
+type X__uint64_t = uint64 /* types.h:45:27 */
// Smallest types with at least a given width.
-type X__int_least8_t = X__int8_t /* types.h:51:18 */
-type X__uint_least8_t = X__uint8_t /* types.h:52:19 */
-type X__int_least16_t = X__int16_t /* types.h:53:19 */
-type X__uint_least16_t = X__uint16_t /* types.h:54:20 */
-type X__int_least32_t = X__int32_t /* types.h:55:19 */
-type X__uint_least32_t = X__uint32_t /* types.h:56:20 */
-type X__int_least64_t = X__int64_t /* types.h:57:19 */
-type X__uint_least64_t = X__uint64_t /* types.h:58:20 */
+type X__int_least8_t = X__int8_t /* types.h:52:18 */
+type X__uint_least8_t = X__uint8_t /* types.h:53:19 */
+type X__int_least16_t = X__int16_t /* types.h:54:19 */
+type X__uint_least16_t = X__uint16_t /* types.h:55:20 */
+type X__int_least32_t = X__int32_t /* types.h:56:19 */
+type X__uint_least32_t = X__uint32_t /* types.h:57:20 */
+type X__int_least64_t = X__int64_t /* types.h:58:19 */
+type X__uint_least64_t = X__uint64_t /* types.h:59:20 */
// quad_t is also 64 bits.
-type X__quad_t = int64 /* types.h:62:18 */
-type X__u_quad_t = uint64 /* types.h:63:27 */
+type X__quad_t = int64 /* types.h:63:18 */
+type X__u_quad_t = uint64 /* types.h:64:27 */
// Largest integral types.
-type X__intmax_t = int64 /* types.h:71:18 */
-type X__uintmax_t = uint64 /* types.h:72:27 */
+type X__intmax_t = int64 /* types.h:72:18 */
+type X__uintmax_t = uint64 /* types.h:73:27 */
// The machine-dependent file defines __*_T_TYPE
// macros for each of the OS types we define below. The definitions
@@ -7508,7 +8023,7 @@ type X__uintmax_t = uint64 /* types.h:72:27 */
// 32 -- "natural" 32-bit type (always int)
// 64 -- "natural" 64-bit type (long or long long)
// LONG32 -- 32-bit type, traditionally long
-// QUAD -- 64-bit type, always long long
+// QUAD -- 64-bit type, traditionally long long
// WORD -- natural type of __WORDSIZE bits (int or long)
// LONGWORD -- type of __WORDSIZE bits, traditionally long
//
@@ -7529,7 +8044,7 @@ type X__uintmax_t = uint64 /* types.h:72:27 */
// No need to mark the typedef with __extension__.
// bits/typesizes.h -- underlying types for *_t. Linux/s390 version.
-// Copyright (C) 2003-2018 Free Software Foundation, Inc.
+// Copyright (C) 2003-2020 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
@@ -7544,7 +8059,7 @@ type X__uintmax_t = uint64 /* types.h:72:27 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// See for the meaning of these macros. This file exists so
// that need not vary across different GNU platforms.
@@ -7559,81 +8074,12 @@ type X__uintmax_t = uint64 /* types.h:72:27 */
// And for __rlim_t and __rlim64_t.
+// And for fsblkcnt_t, fsblkcnt64_t, fsfilcnt_t and fsfilcnt64_t.
+
// Number of descriptors that can fit in an `fd_set'.
-type X__dev_t = uint64 /* types.h:143:25 */ // Type of device numbers.
-type X__uid_t = uint32 /* types.h:144:25 */ // Type of user identifications.
-type X__gid_t = uint32 /* types.h:145:25 */ // Type of group identifications.
-type X__ino_t = uint64 /* types.h:146:25 */ // Type of file serial numbers.
-type X__ino64_t = uint64 /* types.h:147:27 */ // Type of file serial numbers (LFS).
-type X__mode_t = uint32 /* types.h:148:26 */ // Type of file attribute bitmasks.
-type X__nlink_t = uint64 /* types.h:149:27 */ // Type of file link counts.
-type X__off_t = int64 /* types.h:150:25 */ // Type of file sizes and offsets.
-type X__off64_t = int64 /* types.h:151:27 */ // Type of file sizes and offsets (LFS).
-type X__pid_t = int32 /* types.h:152:25 */ // Type of process identifications.
-type X__fsid_t = struct{ F__val [2]int32 } /* types.h:153:26 */ // Type of file system IDs.
-type X__clock_t = int64 /* types.h:154:27 */ // Type of CPU usage counts.
-type X__rlim_t = uint64 /* types.h:155:26 */ // Type for resource measurement.
-type X__rlim64_t = uint64 /* types.h:156:28 */ // Type for resource measurement (LFS).
-type X__id_t = uint32 /* types.h:157:24 */ // General type for IDs.
-type X__time_t = int64 /* types.h:158:26 */ // Seconds since the Epoch.
-type X__useconds_t = uint32 /* types.h:159:30 */ // Count of microseconds.
-type X__suseconds_t = int64 /* types.h:160:31 */ // Signed count of microseconds.
-
-type X__daddr_t = int32 /* types.h:162:27 */ // The type of a disk address.
-type X__key_t = int32 /* types.h:163:25 */ // Type of an IPC key.
-
-// Clock ID used in clock and timer functions.
-type X__clockid_t = int32 /* types.h:166:29 */
-
-// Timer ID returned by `timer_create'.
-type X__timer_t = uintptr /* types.h:169:12 */
-
-// Type to represent block size.
-type X__blksize_t = int64 /* types.h:172:29 */
-
-// Types from the Large File Support interface.
-
-// Type to count number of disk blocks.
-type X__blkcnt_t = int64 /* types.h:177:28 */
-type X__blkcnt64_t = int64 /* types.h:178:30 */
-
-// Type to count file system blocks.
-type X__fsblkcnt_t = uint64 /* types.h:181:30 */
-type X__fsblkcnt64_t = uint64 /* types.h:182:32 */
-
-// Type to count file system nodes.
-type X__fsfilcnt_t = uint64 /* types.h:185:30 */
-type X__fsfilcnt64_t = uint64 /* types.h:186:32 */
-
-// Type of miscellaneous file system fields.
-type X__fsword_t = int64 /* types.h:189:28 */
-
-type X__ssize_t = int64 /* types.h:191:27 */ // Type of a byte count, or error.
-
-// Signed long type used in system calls.
-type X__syscall_slong_t = int64 /* types.h:194:33 */
-// Unsigned long type used in system calls.
-type X__syscall_ulong_t = uint64 /* types.h:196:33 */
-
-// These few don't really vary by system, they always correspond
-// to one of the other defined types.
-type X__loff_t = X__off64_t /* types.h:200:19 */ // Type of file sizes and offsets (LFS).
-type X__caddr_t = uintptr /* types.h:201:14 */
-
-// Duplicates info from stdint.h but this is used in unistd.h.
-type X__intptr_t = int64 /* types.h:204:25 */
-
-// Duplicate info from sys/socket.h.
-type X__socklen_t = uint32 /* types.h:207:23 */
-
-// C99: An integer type that can be accessed as an atomic entity,
-// even in the presence of asynchronous interrupts.
-// It is not currently necessary for this to be machine-specific.
-type X__sig_atomic_t = int32 /* types.h:212:13 */
-
-// bits/types.h -- definitions of __*_t types underlying *_t types.
-// Copyright (C) 2002-2018 Free Software Foundation, Inc.
+// bits/time64.h -- underlying types for __time64_t. Generic version.
+// Copyright (C) 2018-2020 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
@@ -7648,7 +8094,104 @@ type X__sig_atomic_t = int32 /* types.h:212:13 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
+
+// Define __TIME64_T_TYPE so that it is always a 64-bit type.
+
+// If we already have 64-bit time type then use it.
+
+type X__dev_t = uint64 /* types.h:145:25 */ // Type of device numbers.
+type X__uid_t = uint32 /* types.h:146:25 */ // Type of user identifications.
+type X__gid_t = uint32 /* types.h:147:25 */ // Type of group identifications.
+type X__ino_t = uint64 /* types.h:148:25 */ // Type of file serial numbers.
+type X__ino64_t = uint64 /* types.h:149:27 */ // Type of file serial numbers (LFS).
+type X__mode_t = uint32 /* types.h:150:26 */ // Type of file attribute bitmasks.
+type X__nlink_t = uint64 /* types.h:151:27 */ // Type of file link counts.
+type X__off_t = int64 /* types.h:152:25 */ // Type of file sizes and offsets.
+type X__off64_t = int64 /* types.h:153:27 */ // Type of file sizes and offsets (LFS).
+type X__pid_t = int32 /* types.h:154:25 */ // Type of process identifications.
+type X__fsid_t = struct{ F__val [2]int32 } /* types.h:155:26 */ // Type of file system IDs.
+type X__clock_t = int64 /* types.h:156:27 */ // Type of CPU usage counts.
+type X__rlim_t = uint64 /* types.h:157:26 */ // Type for resource measurement.
+type X__rlim64_t = uint64 /* types.h:158:28 */ // Type for resource measurement (LFS).
+type X__id_t = uint32 /* types.h:159:24 */ // General type for IDs.
+type X__time_t = int64 /* types.h:160:26 */ // Seconds since the Epoch.
+type X__useconds_t = uint32 /* types.h:161:30 */ // Count of microseconds.
+type X__suseconds_t = int64 /* types.h:162:31 */ // Signed count of microseconds.
+
+type X__daddr_t = int32 /* types.h:164:27 */ // The type of a disk address.
+type X__key_t = int32 /* types.h:165:25 */ // Type of an IPC key.
+
+// Clock ID used in clock and timer functions.
+type X__clockid_t = int32 /* types.h:168:29 */
+
+// Timer ID returned by `timer_create'.
+type X__timer_t = uintptr /* types.h:171:12 */
+
+// Type to represent block size.
+type X__blksize_t = int64 /* types.h:174:29 */
+
+// Types from the Large File Support interface.
+
+// Type to count number of disk blocks.
+type X__blkcnt_t = int64 /* types.h:179:28 */
+type X__blkcnt64_t = int64 /* types.h:180:30 */
+
+// Type to count file system blocks.
+type X__fsblkcnt_t = uint64 /* types.h:183:30 */
+type X__fsblkcnt64_t = uint64 /* types.h:184:32 */
+
+// Type to count file system nodes.
+type X__fsfilcnt_t = uint64 /* types.h:187:30 */
+type X__fsfilcnt64_t = uint64 /* types.h:188:32 */
+
+// Type of miscellaneous file system fields.
+type X__fsword_t = int64 /* types.h:191:28 */
+
+type X__ssize_t = int64 /* types.h:193:27 */ // Type of a byte count, or error.
+
+// Signed long type used in system calls.
+type X__syscall_slong_t = int64 /* types.h:196:33 */
+// Unsigned long type used in system calls.
+type X__syscall_ulong_t = uint64 /* types.h:198:33 */
+
+// These few don't really vary by system, they always correspond
+// to one of the other defined types.
+type X__loff_t = X__off64_t /* types.h:202:19 */ // Type of file sizes and offsets (LFS).
+type X__caddr_t = uintptr /* types.h:203:14 */
+
+// Duplicates info from stdint.h but this is used in unistd.h.
+type X__intptr_t = int64 /* types.h:206:25 */
+
+// Duplicate info from sys/socket.h.
+type X__socklen_t = uint32 /* types.h:209:23 */
+
+// C99: An integer type that can be accessed as an atomic entity,
+// even in the presence of asynchronous interrupts.
+// It is not currently necessary for this to be machine-specific.
+type X__sig_atomic_t = int32 /* types.h:214:13 */
+
+// Seconds since the Epoch, visible to user code when time_t is too
+// narrow only for consistency with the old way of widening too-narrow
+// types. User code should never use __time64_t.
+
+// bits/types.h -- definitions of __*_t types underlying *_t types.
+// Copyright (C) 2002-2020 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
+// .
// Never include this file directly; use instead.
@@ -7677,7 +8220,7 @@ type _G_fpos_t = struct {
type X__fpos_t = _G_fpos_t /* __fpos_t.h:14:3 */
// bits/types.h -- definitions of __*_t types underlying *_t types.
-// Copyright (C) 2002-2018 Free Software Foundation, Inc.
+// Copyright (C) 2002-2020 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
@@ -7692,7 +8235,7 @@ type X__fpos_t = _G_fpos_t /* __fpos_t.h:14:3 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// Never include this file directly; use instead.
@@ -7705,7 +8248,7 @@ type _G_fpos64_t = struct {
} /* __fpos64_t.h:10:9 */
// bits/types.h -- definitions of __*_t types underlying *_t types.
-// Copyright (C) 2002-2018 Free Software Foundation, Inc.
+// Copyright (C) 2002-2020 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
@@ -7720,7 +8263,7 @@ type _G_fpos64_t = struct {
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// Never include this file directly; use instead.
@@ -7805,7 +8348,7 @@ type Fpos64_t = X__fpos64_t /* stdio.h:89:20 */
// XPG requires a few symbols from being defined.
// Definitions of flag bits for `waitpid' et al.
-// Copyright (C) 1992-2018 Free Software Foundation, Inc.
+// Copyright (C) 1992-2020 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
@@ -7820,20 +8363,14 @@ type Fpos64_t = X__fpos64_t /* stdio.h:89:20 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// Bits in the third argument to `waitpid'.
// Bits in the fourth argument to `waitid'.
-// The following values are used by the `waitid' function.
-
-// The Linux kernel defines these bare, rather than an enum,
-// which causes a conflict if the include order is reversed.
-
-type Idtype_t = uint32 /* waitflags.h:57:3 */
// Definitions of status bits for `wait' et al.
-// Copyright (C) 1992-2018 Free Software Foundation, Inc.
+// Copyright (C) 1992-2020 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
@@ -7848,7 +8385,7 @@ type Idtype_t = uint32 /* waitflags.h:57:3 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// Everything extant so far uses these same bits.
@@ -7875,7 +8412,7 @@ type Idtype_t = uint32 /* waitflags.h:57:3 */
// _FloatN API tests for enablement.
// Macros to control TS 18661-3 glibc features on ldbl-128 platforms.
-// Copyright (C) 2017-2018 Free Software Foundation, Inc.
+// Copyright (C) 2017-2020 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
@@ -7890,9 +8427,9 @@ type Idtype_t = uint32 /* waitflags.h:57:3 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
-// Copyright (C) 1991-2018 Free Software Foundation, Inc.
+// Copyright (C) 1991-2020 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
@@ -7907,10 +8444,10 @@ type Idtype_t = uint32 /* waitflags.h:57:3 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// Properties of long double type. ldbl-opt version.
-// Copyright (C) 2016-2018 Free Software Foundation, Inc.
+// Copyright (C) 2016-2020 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
@@ -7925,7 +8462,7 @@ type Idtype_t = uint32 /* waitflags.h:57:3 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// Defined to 1 if the current compiler invocation provides a
// floating-point type with the IEEE 754 binary128 format, and this
@@ -7956,7 +8493,7 @@ type Idtype_t = uint32 /* waitflags.h:57:3 */
// Macros to control TS 18661-3 glibc features where the same
// definitions are appropriate for all platforms.
-// Copyright (C) 2017-2018 Free Software Foundation, Inc.
+// Copyright (C) 2017-2020 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
@@ -7971,9 +8508,9 @@ type Idtype_t = uint32 /* waitflags.h:57:3 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
-// Copyright (C) 1991-2018 Free Software Foundation, Inc.
+// Copyright (C) 1991-2020 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
@@ -7988,10 +8525,10 @@ type Idtype_t = uint32 /* waitflags.h:57:3 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// Properties of long double type. ldbl-opt version.
-// Copyright (C) 2016-2018 Free Software Foundation, Inc.
+// Copyright (C) 2016-2020 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
@@ -8006,7 +8543,7 @@ type Idtype_t = uint32 /* waitflags.h:57:3 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// This header should be included at the bottom of each bits/floatn.h.
// It defines the following macros for each _FloatN and _FloatNx type,
@@ -8076,7 +8613,7 @@ type Lldiv_t = struct {
// use as an additional parameter. These are GNU extensions inspired
// by the POSIX.1-2008 extended locale API.
// Definition of locale_t.
-// Copyright (C) 2017-2018 Free Software Foundation, Inc.
+// Copyright (C) 2017-2020 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
@@ -8091,10 +8628,10 @@ type Lldiv_t = struct {
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// Definition of struct __locale_struct and __locale_t.
-// Copyright (C) 1997-2018 Free Software Foundation, Inc.
+// Copyright (C) 1997-2020 Free Software Foundation, Inc.
// This file is part of the GNU C Library.
// Contributed by Ulrich Drepper , 1997.
//
@@ -8110,7 +8647,7 @@ type Lldiv_t = struct {
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// POSIX.1-2008: the locale_t type, representing a locale context
// (implementation-namespace version). This type should be treated
@@ -8129,7 +8666,7 @@ type X__locale_t = uintptr /* __locale_t.h:42:32 */
type Locale_t = X__locale_t /* locale_t.h:24:20 */
-// Copyright (C) 1991-2018 Free Software Foundation, Inc.
+// Copyright (C) 1991-2020 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
@@ -8144,11 +8681,11 @@ type Locale_t = X__locale_t /* locale_t.h:24:20 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// POSIX Standard: 2.6 Primitive System Data Types
-// Copyright (C) 1991-2018 Free Software Foundation, Inc.
+// Copyright (C) 1991-2020 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
@@ -8163,10 +8700,10 @@ type Locale_t = X__locale_t /* locale_t.h:24:20 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// bits/types.h -- definitions of __*_t types underlying *_t types.
-// Copyright (C) 2002-2018 Free Software Foundation, Inc.
+// Copyright (C) 2002-2020 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
@@ -8181,7 +8718,7 @@ type Locale_t = X__locale_t /* locale_t.h:24:20 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// Never include this file directly; use instead.
@@ -8217,7 +8754,7 @@ type Caddr_t = X__caddr_t /* types.h:115:19 */
type Key_t = X__key_t /* types.h:121:17 */
// bits/types.h -- definitions of __*_t types underlying *_t types.
-// Copyright (C) 2002-2018 Free Software Foundation, Inc.
+// Copyright (C) 2002-2020 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
@@ -8232,7 +8769,7 @@ type Key_t = X__key_t /* types.h:121:17 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// Never include this file directly; use instead.
@@ -8240,7 +8777,7 @@ type Key_t = X__key_t /* types.h:121:17 */
type Clock_t = X__clock_t /* clock_t.h:7:19 */
// bits/types.h -- definitions of __*_t types underlying *_t types.
-// Copyright (C) 2002-2018 Free Software Foundation, Inc.
+// Copyright (C) 2002-2020 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
@@ -8255,7 +8792,7 @@ type Clock_t = X__clock_t /* clock_t.h:7:19 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// Never include this file directly; use instead.
@@ -8263,7 +8800,7 @@ type Clock_t = X__clock_t /* clock_t.h:7:19 */
type Clockid_t = X__clockid_t /* clockid_t.h:7:21 */
// bits/types.h -- definitions of __*_t types underlying *_t types.
-// Copyright (C) 2002-2018 Free Software Foundation, Inc.
+// Copyright (C) 2002-2020 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
@@ -8278,7 +8815,7 @@ type Clockid_t = X__clockid_t /* clockid_t.h:7:21 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// Never include this file directly; use instead.
@@ -8286,7 +8823,7 @@ type Clockid_t = X__clockid_t /* clockid_t.h:7:21 */
type Time_t = X__time_t /* time_t.h:7:18 */
// bits/types.h -- definitions of __*_t types underlying *_t types.
-// Copyright (C) 2002-2018 Free Software Foundation, Inc.
+// Copyright (C) 2002-2020 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
@@ -8301,7 +8838,7 @@ type Time_t = X__time_t /* time_t.h:7:18 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// Never include this file directly; use instead.
@@ -8311,7 +8848,7 @@ type Timer_t = X__timer_t /* timer_t.h:7:19 */
type Useconds_t = X__useconds_t /* types.h:134:22 */
type Suseconds_t = X__suseconds_t /* types.h:138:23 */
-// Copyright (C) 1989-2018 Free Software Foundation, Inc.
+// Copyright (C) 1989-2017 Free Software Foundation, Inc.
//
// This file is part of GCC.
//
@@ -8401,7 +8938,7 @@ type Uint = uint32 /* types.h:150:22 */
// These size-specific names are used by some of the inet code.
// Define intN_t types.
-// Copyright (C) 2017-2018 Free Software Foundation, Inc.
+// Copyright (C) 2017-2020 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
@@ -8416,10 +8953,10 @@ type Uint = uint32 /* types.h:150:22 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// bits/types.h -- definitions of __*_t types underlying *_t types.
-// Copyright (C) 2002-2018 Free Software Foundation, Inc.
+// Copyright (C) 2002-2020 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
@@ -8434,7 +8971,7 @@ type Uint = uint32 /* types.h:150:22 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// Never include this file directly; use instead.
@@ -8443,18 +8980,17 @@ type Int16_t = X__int16_t /* stdint-intn.h:25:19 */
type Int32_t = X__int32_t /* stdint-intn.h:26:19 */
type Int64_t = X__int64_t /* stdint-intn.h:27:19 */
-// For GCC 2.7 and later, we can use specific type-size attributes.
+// These were defined by ISO C without the first `_'.
+type U_int8_t = X__uint8_t /* types.h:158:19 */
+type U_int16_t = X__uint16_t /* types.h:159:20 */
+type U_int32_t = X__uint32_t /* types.h:160:20 */
+type U_int64_t = X__uint64_t /* types.h:161:20 */
-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 Register_t = int32 /* types.h:182:13 */
+type Register_t = int32 /* types.h:164:13 */
// It also defines `fd_set' and the FD_* macros for `select'.
// `fd_set' type and related macros, and `select'/`pselect' declarations.
-// Copyright (C) 1996-2018 Free Software Foundation, Inc.
+// Copyright (C) 1996-2020 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
@@ -8469,11 +9005,11 @@ type Register_t = int32 /* types.h:182:13 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// POSIX 1003.1g: 6.2 Select from File Descriptor Sets
-// Copyright (C) 1991-2018 Free Software Foundation, Inc.
+// Copyright (C) 1991-2020 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
@@ -8488,11 +9024,11 @@ type Register_t = int32 /* types.h:182:13 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// Get definition of needed basic types.
// bits/types.h -- definitions of __*_t types underlying *_t types.
-// Copyright (C) 2002-2018 Free Software Foundation, Inc.
+// Copyright (C) 2002-2020 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
@@ -8507,12 +9043,12 @@ type Register_t = int32 /* types.h:182:13 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// Never include this file directly; use instead.
// Get __FD_* definitions.
-// Copyright (C) 1997-2018 Free Software Foundation, Inc.
+// Copyright (C) 1997-2020 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
@@ -8527,7 +9063,7 @@ type Register_t = int32 /* types.h:182:13 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// We don't use `memset' because this would require a prototype and
// the array isn't too big.
@@ -8542,7 +9078,7 @@ type Sigset_t = X__sigset_t /* sigset_t.h:7:20 */
// Get definition of timer specification structures.
// bits/types.h -- definitions of __*_t types underlying *_t types.
-// Copyright (C) 2002-2018 Free Software Foundation, Inc.
+// Copyright (C) 2002-2020 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
@@ -8557,7 +9093,7 @@ type Sigset_t = X__sigset_t /* sigset_t.h:7:20 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// Never include this file directly; use instead.
@@ -8571,7 +9107,27 @@ type timeval = struct {
// NB: Include guard matches what uses.
// bits/types.h -- definitions of __*_t types underlying *_t types.
-// Copyright (C) 2002-2018 Free Software Foundation, Inc.
+// Copyright (C) 2002-2020 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
+// .
+
+// Never include this file directly; use instead.
+
+// Endian macros for string.h functions
+// Copyright (C) 1992-2020 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
@@ -8588,14 +9144,12 @@ type timeval = struct {
// License along with the GNU C Library; if not, see
// .
-// Never include this file directly; use instead.
-
// POSIX.1b structure for a time value. This is like a `struct timeval' but
// has nanoseconds instead of microseconds.
type timespec = struct {
Ftv_sec X__time_t
Ftv_nsec X__syscall_slong_t
-} /* struct_timespec.h:9:1 */
+} /* struct_timespec.h:10:1 */
// The fd_set member is required to be an array of longs.
type X__fd_mask = int64 /* select.h:49:18 */
@@ -8613,20 +9167,20 @@ type Fd_mask = X__fd_mask /* select.h:77:19 */
// Define some inlines helping to catch common problems.
-type Blksize_t = X__blksize_t /* types.h:202:21 */
+type Blksize_t = X__blksize_t /* types.h:185:21 */
// Types from the Large File Support interface.
-type Blkcnt_t = X__blkcnt64_t /* types.h:222:22 */ // Type to count number of disk blocks.
-type Fsblkcnt_t = X__fsblkcnt64_t /* types.h:226:24 */ // Type to count file system blocks.
-type Fsfilcnt_t = X__fsfilcnt64_t /* types.h:230:24 */ // Type to count file system inodes.
+type Blkcnt_t = X__blkcnt64_t /* types.h:205:22 */ // Type to count number of disk blocks.
+type Fsblkcnt_t = X__fsblkcnt64_t /* types.h:209:24 */ // Type to count file system blocks.
+type Fsfilcnt_t = X__fsfilcnt64_t /* types.h:213:24 */ // Type to count file system inodes.
-type Blkcnt64_t = X__blkcnt64_t /* types.h:236:22 */ // Type to count number of disk blocks.
-type Fsblkcnt64_t = X__fsblkcnt64_t /* types.h:237:24 */ // Type to count file system blocks.
-type Fsfilcnt64_t = X__fsfilcnt64_t /* types.h:238:24 */ // Type to count file system inodes.
+type Blkcnt64_t = X__blkcnt64_t /* types.h:219:22 */ // Type to count number of disk blocks.
+type Fsblkcnt64_t = X__fsblkcnt64_t /* types.h:220:24 */ // Type to count file system blocks.
+type Fsfilcnt64_t = X__fsfilcnt64_t /* types.h:221:24 */ // Type to count file system inodes.
// Now add the thread types.
// Declaration of common pthread types for all architectures.
-// Copyright (C) 2017-2018 Free Software Foundation, Inc.
+// Copyright (C) 2017-2020 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
@@ -8641,11 +9195,11 @@ type Fsfilcnt64_t = X__fsfilcnt64_t /* types.h:238:24 */ // Type to count file s
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// For internal mutex and condition variable definitions.
// Common threading primitives definitions for both POSIX and C11.
-// Copyright (C) 2017-2018 Free Software Foundation, Inc.
+// Copyright (C) 2017-2020 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
@@ -8660,7 +9214,7 @@ type Fsfilcnt64_t = X__fsfilcnt64_t /* types.h:238:24 */ // Type to count file s
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// Arch-specific definitions. Each architecture must define the following
// macros to define the expected sizes of pthread data types:
@@ -8675,36 +9229,6 @@ type Fsfilcnt64_t = X__fsfilcnt64_t /* types.h:238:24 */ // Type to count file s
// __SIZEOF_PTHREAD_BARRIER_T - size of pthread_barrier_t.
// __SIZEOF_PTHREAD_BARRIERATTR_T - size of pthread_barrierattr_t.
//
-// Also, the following macros must be define for internal pthread_mutex_t
-// struct definitions (struct __pthread_mutex_s):
-//
-// __PTHREAD_COMPAT_PADDING_MID - any additional members after 'kind'
-// and before '__spin' (for 64 bits) or
-// '__nusers' (for 32 bits).
-// __PTHREAD_COMPAT_PADDING_END - any additional members at the end of
-// the internal structure.
-// __PTHREAD_MUTEX_LOCK_ELISION - 1 if the architecture supports lock
-// elision or 0 otherwise.
-// __PTHREAD_MUTEX_NUSERS_AFTER_KIND - control where to put __nusers. The
-// preferred value for new architectures
-// is 0.
-// __PTHREAD_MUTEX_USE_UNION - control whether internal __spins and
-// __list will be place inside a union for
-// linuxthreads compatibility.
-// The preferred value for new architectures
-// is 0.
-//
-// For a new port the preferred values for the required defines are:
-//
-// #define __PTHREAD_COMPAT_PADDING_MID
-// #define __PTHREAD_COMPAT_PADDING_END
-// #define __PTHREAD_MUTEX_LOCK_ELISION 0
-// #define __PTHREAD_MUTEX_NUSERS_AFTER_KIND 0
-// #define __PTHREAD_MUTEX_USE_UNION 0
-//
-// __PTHREAD_MUTEX_LOCK_ELISION can be set to 1 if the hardware plans to
-// eventually support lock elision using transactional memory.
-//
// The additional macro defines any constraint for the lock alignment
// inside the thread structures:
//
@@ -8713,11 +9237,10 @@ type Fsfilcnt64_t = X__fsfilcnt64_t /* types.h:238:24 */ // Type to count file s
// Same idea but for the once locking primitive:
//
// __ONCE_ALIGNMENT - for pthread_once_t/once_flag definition.
+
+// Machine-specific pthread type layouts. Generic version.
+// Copyright (C) 2019-2020 Free Software Foundation, Inc.
//
-// And finally the internal pthread_rwlock_t (struct __pthread_rwlock_arch_t)
-// must be defined.
-//
-// Copyright (C) 2003-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
@@ -8736,7 +9259,176 @@ type Fsfilcnt64_t = X__fsfilcnt64_t /* types.h:238:24 */ // Type to count file s
// Determine the wordsize from the preprocessor defines.
-// Definitions for internal mutex struct.
+// Common definition of pthread_mutex_t.
+
+type __pthread_internal_list = struct {
+ F__prev uintptr
+ F__next uintptr
+} /* thread-shared-types.h:49:9 */
+
+// Type to count file system inodes.
+
+// Now add the thread types.
+// Declaration of common pthread types for all architectures.
+// Copyright (C) 2017-2020 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
+// .
+
+// For internal mutex and condition variable definitions.
+// Common threading primitives definitions for both POSIX and C11.
+// Copyright (C) 2017-2020 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
+// .
+
+// Arch-specific definitions. Each architecture must define the following
+// macros to define the expected sizes of pthread data types:
+//
+// __SIZEOF_PTHREAD_ATTR_T - size of pthread_attr_t.
+// __SIZEOF_PTHREAD_MUTEX_T - size of pthread_mutex_t.
+// __SIZEOF_PTHREAD_MUTEXATTR_T - size of pthread_mutexattr_t.
+// __SIZEOF_PTHREAD_COND_T - size of pthread_cond_t.
+// __SIZEOF_PTHREAD_CONDATTR_T - size of pthread_condattr_t.
+// __SIZEOF_PTHREAD_RWLOCK_T - size of pthread_rwlock_t.
+// __SIZEOF_PTHREAD_RWLOCKATTR_T - size of pthread_rwlockattr_t.
+// __SIZEOF_PTHREAD_BARRIER_T - size of pthread_barrier_t.
+// __SIZEOF_PTHREAD_BARRIERATTR_T - size of pthread_barrierattr_t.
+//
+// The additional macro defines any constraint for the lock alignment
+// inside the thread structures:
+//
+// __LOCK_ALIGNMENT - for internal lock/futex usage.
+//
+// Same idea but for the once locking primitive:
+//
+// __ONCE_ALIGNMENT - for pthread_once_t/once_flag definition.
+
+// Machine-specific pthread type layouts. Generic version.
+// Copyright (C) 2019-2020 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
+// .
+
+// Determine the wordsize from the preprocessor defines.
+
+// Common definition of pthread_mutex_t.
+
+type X__pthread_list_t = __pthread_internal_list /* thread-shared-types.h:53:3 */
+
+type __pthread_internal_slist = struct{ F__next uintptr } /* thread-shared-types.h:55:9 */
+
+type X__pthread_slist_t = __pthread_internal_slist /* thread-shared-types.h:58:3 */
+
+// Arch-specific mutex definitions. A generic implementation is provided
+// by sysdeps/nptl/bits/struct_mutex.h. If required, an architecture
+// can override it by defining:
+//
+// 1. struct __pthread_mutex_s (used on both pthread_mutex_t and mtx_t
+// definition). It should contains at least the internal members
+// defined in the generic version.
+//
+// 2. __LOCK_ALIGNMENT for any extra attribute for internal lock used with
+// atomic operations.
+//
+// 3. The macro __PTHREAD_MUTEX_INITIALIZER used for static initialization.
+// It should initialize the mutex internal flag.
+
+// S390 internal mutex struct definitions.
+// Copyright (C) 2019-2020 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
+// .
+
+type __pthread_mutex_s = struct {
+ F__lock int32
+ F__count uint32
+ F__owner int32
+ F__nusers uint32
+ F__kind int32
+ F__spins int16
+ F__elision int16
+ F__list X__pthread_list_t
+} /* struct_mutex.h:22:1 */
+
+// Arch-sepecific read-write lock definitions. A generic implementation is
+// provided by struct_rwlock.h. If required, an architecture can override it
+// by defining:
+//
+// 1. struct __pthread_rwlock_arch_t (used on pthread_rwlock_t definition).
+// It should contain at least the internal members defined in the
+// generic version.
+//
+// 2. The macro __PTHREAD_RWLOCK_INITIALIZER used for static initialization.
+// It should initialize the rwlock internal type.
+
+// S390 internal rwlock struct definitions.
+// Copyright (C) 2019-2020 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
+// .
type __pthread_rwlock_arch_t = struct {
F__readers uint32
@@ -8751,31 +9443,7 @@ type __pthread_rwlock_arch_t = struct {
F__pad2 uint64
F__flags uint32
_ [4]byte
-} /* pthreadtypes-arch.h:50:1 */
-
-// Common definition of pthread_mutex_t.
-
-type __pthread_internal_list = struct {
- F__prev uintptr
- F__next uintptr
-} /* thread-shared-types.h:82:9 */
-
-// Common definition of pthread_mutex_t.
-
-type X__pthread_list_t = __pthread_internal_list /* thread-shared-types.h:86:3 */
-
-// Lock elision support.
-
-type __pthread_mutex_s = struct {
- F__lock int32
- F__count uint32
- F__owner int32
- F__nusers uint32
- F__kind int32
- F__spins int16
- F__elision int16
- F__list X__pthread_list_t
-} /* thread-shared-types.h:118:1 */
+} /* struct_rwlock.h:23:1 */
// Common definition of pthread_cond_t.
@@ -8787,7 +9455,7 @@ type __pthread_cond_s = struct {
F__g1_orig_size uint32
F__wrefs uint32
F__g_signals [2]uint32
-} /* thread-shared-types.h:171:1 */
+} /* thread-shared-types.h:92:1 */
// Thread identifiers. The structure of the attribute type is not
// exposed on purpose.
@@ -8875,10 +9543,10 @@ type drand48_data = struct {
} /* stdlib.h:490:1 */
// Shorthand for type of comparison functions.
-type X__compar_fn_t = uintptr /* stdlib.h:805:13 */
+type X__compar_fn_t = uintptr /* stdlib.h:808:13 */
-type Comparison_fn_t = X__compar_fn_t /* stdlib.h:808:23 */
-type X__compar_d_fn_t = uintptr /* stdlib.h:812:13 */
+type Comparison_fn_t = X__compar_fn_t /* stdlib.h:811:23 */
+type X__compar_d_fn_t = uintptr /* stdlib.h:815:13 */
// If this symbol has done its job, get rid of it.
@@ -8969,13 +9637,13 @@ type Max_align_t = struct {
// types can be conveniently redefined at compile-type. Like this:
//
// cc '-DUINTPTR_TYPE=long long int' ...
-type I64 = Sqlite_int64 /* sqlite3.c:14433:22 */ // 8-byte signed integer
-type U64 = Sqlite_uint64 /* sqlite3.c:14434:23 */ // 8-byte unsigned integer
-type U32 = uint32 /* sqlite3.c:14435:21 */ // 4-byte unsigned integer
-type U16 = uint16 /* sqlite3.c:14436:21 */ // 2-byte unsigned integer
-type I16 = int16 /* sqlite3.c:14437:20 */ // 2-byte signed integer
-type U8 = uint8 /* sqlite3.c:14438:20 */ // 1-byte unsigned integer
-type I8 = int8 /* sqlite3.c:14439:19 */ // 1-byte signed integer
+type I64 = Sqlite_int64 /* sqlite3.c:14542:22 */ // 8-byte signed integer
+type U64 = Sqlite_uint64 /* sqlite3.c:14543:23 */ // 8-byte unsigned integer
+type U32 = uint32 /* sqlite3.c:14544:21 */ // 4-byte unsigned integer
+type U16 = uint16 /* sqlite3.c:14545:21 */ // 2-byte unsigned integer
+type I16 = int16 /* sqlite3.c:14546:20 */ // 2-byte signed integer
+type U8 = uint8 /* sqlite3.c:14547:20 */ // 1-byte unsigned integer
+type I8 = int8 /* sqlite3.c:14548:19 */ // 1-byte signed integer
// SQLITE_MAX_U32 is a u64 constant that is the maximum u64 value
// that can be stored in a u32 without loss of data. The value
@@ -8986,7 +9654,7 @@ type I8 = int8 /* sqlite3.c:14439:19 */ // 1-byte signed integer
// table or index. This is an unsigned integer type. For 99.9% of
// the world, a 32-bit integer is sufficient. But a 64-bit integer
// can be used at compile-time if desired.
-type TRowcnt = U32 /* sqlite3.c:14458:14 */ // 32-bit is the default
+type TRowcnt = U32 /* sqlite3.c:14567:14 */ // 32-bit is the default
// Estimated quantities used for query planning are stored as 16-bit
// logarithms. For quantity X, the value stored is 10*log2(X). This
@@ -9009,12 +9677,12 @@ type TRowcnt = U32 /* sqlite3.c:14458:14 */ // 32-bit is the default
// Examples:
//
// 0.5 -> -10 0.1 -> -33 0.0625 -> -40
-type LogEst = int16 /* sqlite3.c:14484:20 */
+type LogEst = int16 /* sqlite3.c:14593:20 */
// Set the SQLITE_PTRSIZE macro to the number of bytes in a pointer
// The uptr type is an unsigned integer large enough to hold a pointer
-type Uptr = U64 /* sqlite3.c:14508:15 */
+type Uptr = U64 /* sqlite3.c:14617:15 */
// The SQLITE_WITHIN(P,S,E) macro checks to see if pointer P points to
// something between S (inclusive) and E (exclusive).
@@ -9030,7 +9698,7 @@ type Uptr = U64 /* sqlite3.c:14508:15 */
// using C-preprocessor macros. If that is unsuccessful, or if
// -DSQLITE_BYTEORDER=0 is set, then byte-order is determined
// at run-time.
-var Xsqlite3one int32 = 1 /* sqlite3.c:14554:13 */
+var Xsqlite3one int32 = 1 /* sqlite3.c:14663:13 */
// An instance of the following structure is used to store the busy-handler
// callback for a given sqlite handle.
@@ -9044,7 +9712,7 @@ type BusyHandler1 = struct {
FpBusyArg uintptr
FnBusy int32
_ [4]byte
-} /* sqlite3.c:1312:9 */
+} /* sqlite3.c:1331:9 */
// An instance of the following structure is used to store the busy-handler
// callback for a given sqlite handle.
@@ -9053,7 +9721,7 @@ type BusyHandler1 = struct {
// callback for the database handle. Each pager opened via the sqlite
// handle is passed a pointer to sqlite.busyHandler. The busy-handler
// callback is currently invoked only from within pager.c.
-type BusyHandler = BusyHandler1 /* sqlite3.c:14679:28 */
+type BusyHandler = BusyHandler1 /* sqlite3.c:14788:28 */
// Name of table that holds the database schema.
@@ -9118,7 +9786,7 @@ type AggInfo1 = struct {
FaFunc uintptr
FnFunc int32
FselId U32
-} /* sqlite3.c:1312:9 */
+} /* sqlite3.c:1331:9 */
// Name of table that holds the database schema.
@@ -9167,21 +9835,21 @@ type AggInfo1 = struct {
// cases the parameters are named as per the usual conventions.
// Forward references to structures
-type AggInfo = AggInfo1 /* sqlite3.c:14775:24 */
+type AggInfo = AggInfo1 /* sqlite3.c:14884:24 */
type AuthContext1 = struct {
FzAuthContext uintptr
FpParse uintptr
-} /* sqlite3.c:14776:9 */
+} /* sqlite3.c:14885:9 */
-type AuthContext = AuthContext1 /* sqlite3.c:14776:28 */
+type AuthContext = AuthContext1 /* sqlite3.c:14885:28 */
type AutoincInfo1 = struct {
FpNext uintptr
FpTab uintptr
FiDb int32
FregCtr int32
-} /* sqlite3.c:1312:9 */
+} /* sqlite3.c:1331:9 */
-type AutoincInfo = AutoincInfo1 /* sqlite3.c:14777:28 */
+type AutoincInfo = AutoincInfo1 /* sqlite3.c:14886:28 */
type Bitvec1 = struct {
FiSize U32
FnSet U32
@@ -9191,9 +9859,9 @@ type Bitvec1 = struct {
_ [0]uint64
FaBitmap [496]U8
}
-} /* sqlite3.c:1312:9 */
+} /* sqlite3.c:1331:9 */
-type Bitvec = Bitvec1 /* sqlite3.c:14778:23 */
+type Bitvec = Bitvec1 /* sqlite3.c:14887:23 */
type CollSeq1 = struct {
FzName uintptr
Fenc U8
@@ -9201,9 +9869,9 @@ type CollSeq1 = struct {
FpUser uintptr
FxCmp uintptr
FxDel uintptr
-} /* sqlite3.c:1312:9 */
+} /* sqlite3.c:1331:9 */
-type CollSeq = CollSeq1 /* sqlite3.c:14779:24 */
+type CollSeq = CollSeq1 /* sqlite3.c:14888:24 */
type Column1 = struct {
FzName uintptr
FpDflt uintptr
@@ -9214,9 +9882,9 @@ type Column1 = struct {
FhName U8
FcolFlags U16
_ [2]byte
-} /* sqlite3.c:1312:9 */
+} /* sqlite3.c:1331:9 */
-type Column = Column1 /* sqlite3.c:14780:23 */
+type Column = Column1 /* sqlite3.c:14889:23 */
type Cte1 = struct {
FzName uintptr
FpCols uintptr
@@ -9225,9 +9893,9 @@ type Cte1 = struct {
FpUse uintptr
FeM10d U8
_ [7]byte
-} /* sqlite3.c:1312:9 */
+} /* sqlite3.c:1331:9 */
-type Cte = Cte1 /* sqlite3.c:14781:20 */
+type Cte = Cte1 /* sqlite3.c:14890:20 */
type CteUse1 = struct {
FnUse int32
FaddrM9e int32
@@ -9236,9 +9904,9 @@ type CteUse1 = struct {
FnRowEst LogEst
FeM10d U8
_ [1]byte
-} /* sqlite3.c:1312:9 */
+} /* sqlite3.c:1331:9 */
-type CteUse = CteUse1 /* sqlite3.c:14782:23 */
+type CteUse = CteUse1 /* sqlite3.c:14891:23 */
type Db1 = struct {
FzDbSName uintptr
FpBt uintptr
@@ -9246,9 +9914,9 @@ type Db1 = struct {
FbSyncSet U8
_ [6]byte
FpSchema uintptr
-} /* sqlite3.c:1312:9 */
+} /* sqlite3.c:1331:9 */
-type Db = Db1 /* sqlite3.c:14783:19 */
+type Db = Db1 /* sqlite3.c:14892:19 */
type DbFixer1 = struct {
FpParse uintptr
Fw Walker
@@ -9258,9 +9926,9 @@ type DbFixer1 = struct {
FzDb uintptr
FzType uintptr
FpName uintptr
-} /* sqlite3.c:14784:9 */
+} /* sqlite3.c:14893:9 */
-type DbFixer = DbFixer1 /* sqlite3.c:14784:24 */
+type DbFixer = DbFixer1 /* sqlite3.c:14893:24 */
type Schema1 = struct {
Fschema_cookie int32
FiGeneration int32
@@ -9273,9 +9941,9 @@ type Schema1 = struct {
Fenc U8
FschemaFlags U16
Fcache_size int32
-} /* sqlite3.c:1312:9 */
+} /* sqlite3.c:1331:9 */
-type Schema = Schema1 /* sqlite3.c:14785:23 */
+type Schema = Schema1 /* sqlite3.c:14894:23 */
type Expr1 = struct {
Fop U8
FaffExpr int8
@@ -9293,13 +9961,13 @@ type Expr1 = struct {
FiRightJoinTable int32
FpAggInfo uintptr
Fy struct{ FpTab uintptr }
-} /* sqlite3.c:1312:9 */
+} /* sqlite3.c:1331:9 */
-type Expr = Expr1 /* sqlite3.c:14786:21 */
+type Expr = Expr1 /* sqlite3.c:14895:21 */
type ExprList1 = struct {
- FnExpr int32
- _ [4]byte
- Fa [1]struct {
+ FnExpr int32
+ FnAlloc int32
+ Fa [1]struct {
FpExpr uintptr
FzEName uintptr
FsortFlags U8
@@ -9315,9 +9983,9 @@ type ExprList1 = struct {
}
_ [4]byte
}
-} /* sqlite3.c:1312:9 */
+} /* sqlite3.c:1331:9 */
-type ExprList = ExprList1 /* sqlite3.c:14787:25 */
+type ExprList = ExprList1 /* sqlite3.c:14896:25 */
type FKey1 = struct {
FpFrom uintptr
FpNextFrom uintptr
@@ -9334,17 +10002,17 @@ type FKey1 = struct {
_ [4]byte
FzCol uintptr
}
-} /* sqlite3.c:1312:9 */
+} /* sqlite3.c:1331:9 */
-type FKey = FKey1 /* sqlite3.c:14788:21 */
+type FKey = FKey1 /* sqlite3.c:14897:21 */
type FuncDestructor1 = struct {
FnRef int32
_ [4]byte
FxDestroy uintptr
FpUserData uintptr
-} /* sqlite3.c:14789:9 */
+} /* sqlite3.c:14898:9 */
-type FuncDestructor = FuncDestructor1 /* sqlite3.c:14789:31 */
+type FuncDestructor = FuncDestructor1 /* sqlite3.c:14898:31 */
type FuncDef1 = struct {
FnArg I8
_ [3]byte
@@ -9357,19 +10025,19 @@ type FuncDef1 = struct {
FxInverse uintptr
FzName uintptr
Fu struct{ FpHash uintptr }
-} /* sqlite3.c:1312:9 */
+} /* sqlite3.c:1331:9 */
-type FuncDef = FuncDef1 /* sqlite3.c:14790:24 */
-type FuncDefHash1 = struct{ Fa [23]uintptr } /* sqlite3.c:14791:9 */
+type FuncDef = FuncDef1 /* sqlite3.c:14899:24 */
+type FuncDefHash1 = struct{ Fa [23]uintptr } /* sqlite3.c:14900:9 */
-type FuncDefHash = FuncDefHash1 /* sqlite3.c:14791:28 */
+type FuncDefHash = FuncDefHash1 /* sqlite3.c:14900:28 */
type IdList1 = struct {
Fa uintptr
FnId int32
_ [4]byte
-} /* sqlite3.c:1312:9 */
+} /* sqlite3.c:1331:9 */
-type IdList = IdList1 /* sqlite3.c:14792:23 */
+type IdList = IdList1 /* sqlite3.c:14901:23 */
type Index1 = struct {
FzName uintptr
FaiColumn uintptr
@@ -9398,9 +10066,9 @@ type Index1 = struct {
FnRowEst0 TRowcnt
_ [4]byte
FcolNotIdxed Bitmask
-} /* sqlite3.c:1312:9 */
+} /* sqlite3.c:1331:9 */
-type Index = Index1 /* sqlite3.c:14793:22 */
+type Index = Index1 /* sqlite3.c:14902:22 */
type IndexSample1 = struct {
Fp uintptr
Fn int32
@@ -9408,9 +10076,9 @@ type IndexSample1 = struct {
FanEq uintptr
FanLt uintptr
FanDLt uintptr
-} /* sqlite3.c:1312:9 */
+} /* sqlite3.c:1331:9 */
-type IndexSample = IndexSample1 /* sqlite3.c:14794:28 */
+type IndexSample = IndexSample1 /* sqlite3.c:14903:28 */
type KeyInfo1 = struct {
FnRef U32
Fenc U8
@@ -9421,9 +10089,9 @@ type KeyInfo1 = struct {
Fdb uintptr
FaSortFlags uintptr
FaColl [1]uintptr
-} /* sqlite3.c:1312:9 */
+} /* sqlite3.c:1331:9 */
-type KeyInfo = KeyInfo1 /* sqlite3.c:14796:24 */
+type KeyInfo = KeyInfo1 /* sqlite3.c:14905:24 */
type Lookaside1 = struct {
FbDisable U32
Fsz U16
@@ -9440,12 +10108,12 @@ type Lookaside1 = struct {
FpMiddle uintptr
FpStart uintptr
FpEnd uintptr
-} /* sqlite3.c:1312:9 */
+} /* sqlite3.c:1331:9 */
-type Lookaside = Lookaside1 /* sqlite3.c:14797:26 */
-type LookasideSlot1 = struct{ FpNext uintptr } /* sqlite3.c:1312:9 */
+type Lookaside = Lookaside1 /* sqlite3.c:14906:26 */
+type LookasideSlot1 = struct{ FpNext uintptr } /* sqlite3.c:1331:9 */
-type LookasideSlot = LookasideSlot1 /* sqlite3.c:14798:30 */
+type LookasideSlot = LookasideSlot1 /* sqlite3.c:14907:30 */
type Module1 = struct {
FpModule uintptr
FzName uintptr
@@ -9454,22 +10122,22 @@ type Module1 = struct {
FpAux uintptr
FxDestroy uintptr
FpEpoTab uintptr
-} /* sqlite3.c:1312:9 */
+} /* sqlite3.c:1331:9 */
-type Module = Module1 /* sqlite3.c:14799:23 */
+type Module = Module1 /* sqlite3.c:14908:23 */
type NameContext1 = struct {
FpParse uintptr
FpSrcList uintptr
FuNC struct{ FpEList uintptr }
FpNext uintptr
FnRef int32
- FnErr int32
+ FnNcErr int32
FncFlags int32
_ [4]byte
FpWinSelect uintptr
-} /* sqlite3.c:14800:9 */
+} /* sqlite3.c:14909:9 */
-type NameContext = NameContext1 /* sqlite3.c:14800:28 */
+type NameContext = NameContext1 /* sqlite3.c:14909:28 */
type Parse1 = struct {
Fdb uintptr
FzErrMsg uintptr
@@ -9549,16 +10217,16 @@ type Parse1 = struct {
FpWith uintptr
FpCleanup uintptr
FpRename uintptr
-} /* sqlite3.c:1312:9 */
+} /* sqlite3.c:1331:9 */
-type Parse = Parse1 /* sqlite3.c:14801:22 */
+type Parse = Parse1 /* sqlite3.c:14910:22 */
type ParseCleanup1 = struct {
FpNext uintptr
FpPtr uintptr
FxCleanup uintptr
-} /* sqlite3.c:1312:9 */
+} /* sqlite3.c:1331:9 */
-type ParseCleanup = ParseCleanup1 /* sqlite3.c:14802:29 */
+type ParseCleanup = ParseCleanup1 /* sqlite3.c:14911:29 */
type PreUpdate1 = struct {
Fv uintptr
FpCsr uintptr
@@ -9569,29 +10237,29 @@ type PreUpdate1 = struct {
FpUnpacked uintptr
FpNewUnpacked uintptr
FiNewReg int32
- _ [4]byte
+ FiBlobWrite int32
FiKey1 I64
FiKey2 I64
FaNew uintptr
FpTab uintptr
FpPk uintptr
-} /* sqlite3.c:1312:9 */
+} /* sqlite3.c:1331:9 */
-type PreUpdate = PreUpdate1 /* sqlite3.c:14803:26 */
+type PreUpdate = PreUpdate1 /* sqlite3.c:14912:26 */
type PrintfArguments1 = struct {
FnArg int32
FnUsed int32
FapArg uintptr
-} /* sqlite3.c:14804:9 */
+} /* sqlite3.c:14913:9 */
-type PrintfArguments = PrintfArguments1 /* sqlite3.c:14804:32 */
+type PrintfArguments = PrintfArguments1 /* sqlite3.c:14913:32 */
type RenameToken1 = struct {
Fp uintptr
Ft Token
FpNext uintptr
-} /* sqlite3.c:1312:9 */
+} /* sqlite3.c:1331:9 */
-type RenameToken = RenameToken1 /* sqlite3.c:14805:28 */
+type RenameToken = RenameToken1 /* sqlite3.c:14914:28 */
type Returning1 = struct {
FpParse uintptr
FpReturnEL uintptr
@@ -9601,9 +10269,9 @@ type Returning1 = struct {
FnRetCol int32
FiRetReg int32
_ [4]byte
-} /* sqlite3.c:14806:9 */
+} /* sqlite3.c:14915:9 */
-type Returning = Returning1 /* sqlite3.c:14806:26 */
+type Returning = Returning1 /* sqlite3.c:14915:26 */
type RowSet1 = struct {
FpChunk uintptr
Fdb uintptr
@@ -9614,17 +10282,17 @@ type RowSet1 = struct {
FnFresh U16
FrsFlags U16
FiBatch int32
-} /* sqlite3.c:14807:9 */
+} /* sqlite3.c:14916:9 */
-type RowSet = RowSet1 /* sqlite3.c:14807:23 */
+type RowSet = RowSet1 /* sqlite3.c:14916:23 */
type Savepoint1 = struct {
FzName uintptr
FnDeferredCons I64
FnDeferredImmCons I64
FpNext uintptr
-} /* sqlite3.c:1312:9 */
+} /* sqlite3.c:1331:9 */
-type Savepoint = Savepoint1 /* sqlite3.c:14808:26 */
+type Savepoint = Savepoint1 /* sqlite3.c:14917:26 */
type Select1 = struct {
Fop U8
_ [1]byte
@@ -9647,16 +10315,16 @@ type Select1 = struct {
FpWith uintptr
FpWin uintptr
FpWinDefn uintptr
-} /* sqlite3.c:1312:9 */
+} /* sqlite3.c:1331:9 */
-type Select = Select1 /* sqlite3.c:14809:23 */
+type Select = Select1 /* sqlite3.c:14918:23 */
type SQLiteThread1 = struct {
FxTask uintptr
FpIn uintptr
FpResult uintptr
-} /* sqlite3.c:14810:9 */
+} /* sqlite3.c:14919:9 */
-type SQLiteThread = SQLiteThread1 /* sqlite3.c:14810:29 */
+type SQLiteThread = SQLiteThread1 /* sqlite3.c:14919:29 */
type SelectDest1 = struct {
FeDest U8
_ [3]byte
@@ -9667,9 +10335,9 @@ type SelectDest1 = struct {
_ [4]byte
FzAffSdst uintptr
FpOrderBy uintptr
-} /* sqlite3.c:14811:9 */
+} /* sqlite3.c:14920:9 */
-type SelectDest = SelectDest1 /* sqlite3.c:14811:27 */
+type SelectDest = SelectDest1 /* sqlite3.c:14920:27 */
type SrcItem1 = struct {
FpSchema uintptr
FzDatabase uintptr
@@ -9684,8 +10352,8 @@ type SrcItem1 = struct {
_ [0]uint32
Fjointype U8
_ [3]byte
- FnotIndexed uint8 /* unsigned notIndexed: 1, unsigned isIndexedBy: 1, unsigned isTabFunc: 1, unsigned isCorrelated: 1, unsigned viaCoroutine: 1, unsigned isRecursive: 1, unsigned fromDDL: 1, unsigned isCte: 1 */
- _ [3]byte
+ FnotIndexed uint16 /* unsigned notIndexed: 1, unsigned isIndexedBy: 1, unsigned isTabFunc: 1, unsigned isCorrelated: 1, unsigned viaCoroutine: 1, unsigned isRecursive: 1, unsigned fromDDL: 1, unsigned isCte: 1, unsigned notCte: 1 */
+ _ [2]byte
}
FiCursor int32
FpOn uintptr
@@ -9693,17 +10361,17 @@ type SrcItem1 = struct {
FcolUsed Bitmask
Fu1 struct{ FzIndexedBy uintptr }
Fu2 struct{ FpIBIndex uintptr }
-} /* sqlite3.c:1312:9 */
+} /* sqlite3.c:1331:9 */
-type SrcItem = SrcItem1 /* sqlite3.c:14812:24 */
+type SrcItem = SrcItem1 /* sqlite3.c:14921:24 */
type SrcList1 = struct {
FnSrc int32
FnAlloc U32
Fa [1]SrcItem
-} /* sqlite3.c:1312:9 */
+} /* sqlite3.c:1331:9 */
-type SrcList = SrcList1 /* sqlite3.c:14813:24 */
-type StrAccum = sqlite3_str /* sqlite3.c:14814:28 */ // Internal alias for sqlite3_str
+type SrcList = SrcList1 /* sqlite3.c:14922:24 */
+type StrAccum = sqlite3_str /* sqlite3.c:14923:28 */ // Internal alias for sqlite3_str
type Table1 = struct {
FzName uintptr
FaCol uintptr
@@ -9728,26 +10396,26 @@ type Table1 = struct {
FpVTable uintptr
FpTrigger uintptr
FpSchema uintptr
-} /* sqlite3.c:1312:9 */
+} /* sqlite3.c:1331:9 */
// Internal alias for sqlite3_str
-type Table = Table1 /* sqlite3.c:14815:22 */
+type Table = Table1 /* sqlite3.c:14924:22 */
type TableLock1 = struct {
FiDb int32
FiTab Pgno
FisWriteLock U8
_ [7]byte
FzLockName uintptr
-} /* sqlite3.c:1312:9 */
+} /* sqlite3.c:1331:9 */
-type TableLock = TableLock1 /* sqlite3.c:14816:26 */
+type TableLock = TableLock1 /* sqlite3.c:14925:26 */
type Token1 = struct {
Fz uintptr
Fn uint32
_ [4]byte
-} /* sqlite3.c:1312:9 */
+} /* sqlite3.c:1331:9 */
-type Token = Token1 /* sqlite3.c:14817:22 */
+type Token = Token1 /* sqlite3.c:14926:22 */
type Trigger1 = struct {
FzName uintptr
Ftable uintptr
@@ -9761,9 +10429,9 @@ type Trigger1 = struct {
FpTabSchema uintptr
Fstep_list uintptr
FpNext uintptr
-} /* sqlite3.c:1312:9 */
+} /* sqlite3.c:1331:9 */
-type Trigger = Trigger1 /* sqlite3.c:14819:24 */
+type Trigger = Trigger1 /* sqlite3.c:14928:24 */
type TriggerPrg1 = struct {
FpTrigger uintptr
FpNext uintptr
@@ -9771,9 +10439,9 @@ type TriggerPrg1 = struct {
Forconf int32
FaColmask [2]U32
_ [4]byte
-} /* sqlite3.c:1312:9 */
+} /* sqlite3.c:1331:9 */
-type TriggerPrg = TriggerPrg1 /* sqlite3.c:14820:27 */
+type TriggerPrg = TriggerPrg1 /* sqlite3.c:14929:27 */
type TriggerStep1 = struct {
Fop U8
Forconf U8
@@ -9789,9 +10457,9 @@ type TriggerStep1 = struct {
FzSpan uintptr
FpNext uintptr
FpLast uintptr
-} /* sqlite3.c:1312:9 */
+} /* sqlite3.c:1331:9 */
-type TriggerStep = TriggerStep1 /* sqlite3.c:14821:28 */
+type TriggerStep = TriggerStep1 /* sqlite3.c:14930:28 */
type UnpackedRecord1 = struct {
FpKeyInfo uintptr
FaMem uintptr
@@ -9802,9 +10470,9 @@ type UnpackedRecord1 = struct {
Fr2 I8
FeqSeen U8
_ [1]byte
-} /* sqlite3.c:1312:9 */
+} /* sqlite3.c:1331:9 */
-type UnpackedRecord = UnpackedRecord1 /* sqlite3.c:14822:31 */
+type UnpackedRecord = UnpackedRecord1 /* sqlite3.c:14931:31 */
type Upsert1 = struct {
FpUpsertTarget uintptr
FpUpsertTargetWhere uintptr
@@ -9820,9 +10488,9 @@ type Upsert1 = struct {
FiDataCur int32
FiIdxCur int32
_ [4]byte
-} /* sqlite3.c:1312:9 */
+} /* sqlite3.c:1331:9 */
-type Upsert = Upsert1 /* sqlite3.c:14823:23 */
+type Upsert = Upsert1 /* sqlite3.c:14932:23 */
type VTable1 = struct {
Fdb uintptr
FpMod uintptr
@@ -9834,18 +10502,18 @@ type VTable1 = struct {
FiSavepoint int32
_ [4]byte
FpNext uintptr
-} /* sqlite3.c:1312:9 */
+} /* sqlite3.c:1331:9 */
-type VTable = VTable1 /* sqlite3.c:14824:23 */
+type VTable = VTable1 /* sqlite3.c:14933:23 */
type VtabCtx1 = struct {
FpVTable uintptr
FpTab uintptr
FpPrior uintptr
FbDeclared int32
_ [4]byte
-} /* sqlite3.c:1312:9 */
+} /* sqlite3.c:1331:9 */
-type VtabCtx = VtabCtx1 /* sqlite3.c:14825:24 */
+type VtabCtx = VtabCtx1 /* sqlite3.c:14934:24 */
type Walker1 = struct {
FpParse uintptr
FxExprCallback uintptr
@@ -9855,9 +10523,9 @@ type Walker1 = struct {
FeCode U16
_ [2]byte
Fu struct{ FpNC uintptr }
-} /* sqlite3.c:14784:9 */
+} /* sqlite3.c:14893:9 */
-type Walker = Walker1 /* sqlite3.c:14826:23 */
+type Walker = Walker1 /* sqlite3.c:14935:23 */
type WhereInfo1 = struct {
FpParse uintptr
FpTabList uintptr
@@ -9885,9 +10553,9 @@ type WhereInfo1 = struct {
FsWC WhereClause
FsMaskSet WhereMaskSet
Fa [1]WhereLevel
-} /* sqlite3.c:14827:9 */
+} /* sqlite3.c:14936:9 */
-type WhereInfo = WhereInfo1 /* sqlite3.c:14827:26 */
+type WhereInfo = WhereInfo1 /* sqlite3.c:14936:26 */
type Window1 = struct {
FzName uintptr
FzBase uintptr
@@ -9919,24 +10587,24 @@ type Window1 = struct {
FregEndRowid int32
FbExprArgs U8
_ [3]byte
-} /* sqlite3.c:1312:9 */
+} /* sqlite3.c:1331:9 */
-type Window = Window1 /* sqlite3.c:14828:23 */
+type Window = Window1 /* sqlite3.c:14937:23 */
type With1 = struct {
FnCte int32
- _ [4]byte
+ FbView int32
FpOuter uintptr
Fa [1]Cte
-} /* sqlite3.c:1312:9 */
+} /* sqlite3.c:1331:9 */
-type With = With1 /* sqlite3.c:14829:21 */
+type With = With1 /* sqlite3.c:14938:21 */
// The bitmask datatype defined below is used for various optimizations.
//
// Changing this from a 64-bit to a 32-bit type limits the number of
// tables in a join to 32 instead of 64. But it also reduces the size
// of the library by 738 bytes on ix86.
-type Bitmask = U64 /* sqlite3.c:14842:15 */
+type Bitmask = U64 /* sqlite3.c:14951:15 */
// The number of bits in a Bitmask. "BMS" means "BitMask Size".
@@ -9947,7 +10615,7 @@ type Bitmask = U64 /* sqlite3.c:14842:15 */
// variable number associated with that parameter. See the format description
// on the sqlite3VListAdd() routine for more information. A VList is really
// just an array of integers.
-type VList = int32 /* sqlite3.c:14864:13 */
+type VList = int32 /* sqlite3.c:14973:13 */
// Defer sourcing vdbe.h and btree.h until after the "u8" and
// "BusyHandler" typedefs. vdbe.h also requires a few of the opaque
@@ -9974,7 +10642,7 @@ type VList = int32 /* sqlite3.c:14864:13 */
// The type used to represent a page number. The first page in a file
// is called page 1. 0 is used to represent "not a page".
-type Pgno = U32 /* sqlite3.c:14905:13 */
+type Pgno = U32 /* sqlite3.c:15014:13 */
// Each open file is managed by a separate instance of the "Pager" structure.
type Pager1 = struct {
@@ -10042,10 +10710,10 @@ type Pager1 = struct {
FpPCache uintptr
FpWal uintptr
FzWal uintptr
-} /* sqlite3.c:1312:9 */
+} /* sqlite3.c:1331:9 */
// Each open file is managed by a separate instance of the "Pager" structure.
-type Pager = Pager1 /* sqlite3.c:14910:22 */
+type Pager = Pager1 /* sqlite3.c:15019:22 */
// Handle type for pages.
type PgHdr2 = struct {
@@ -10060,10 +10728,10 @@ type PgHdr2 = struct {
FnRef I16
FpDirtyNext uintptr
FpDirtyPrev uintptr
-} /* sqlite3.c:1312:9 */
+} /* sqlite3.c:1331:9 */
// Handle type for pages.
-type DbPage = PgHdr2 /* sqlite3.c:14915:22 */
+type DbPage = PgHdr2 /* sqlite3.c:15024:22 */
// Functions to support testing and debugging.
@@ -10105,7 +10773,7 @@ type Btree1 = struct {
FpNext uintptr
FpPrev uintptr
Flock BtLock
-} /* sqlite3.c:1312:9 */
+} /* sqlite3.c:1331:9 */
// Functions to support testing and debugging.
@@ -10134,7 +10802,7 @@ type Btree1 = struct {
// it must be turned on for each database using "PRAGMA auto_vacuum = 1".
// Forward declarations of structure
-type Btree = Btree1 /* sqlite3.c:15158:22 */
+type Btree = Btree1 /* sqlite3.c:15267:22 */
type BtCursor1 = struct {
FeState U8
FcurFlags U8
@@ -10157,9 +10825,9 @@ type BtCursor1 = struct {
FpKeyInfo uintptr
FpPage uintptr
FapPage [19]uintptr
-} /* sqlite3.c:1312:9 */
+} /* sqlite3.c:1331:9 */
-type BtCursor = BtCursor1 /* sqlite3.c:15159:25 */
+type BtCursor = BtCursor1 /* sqlite3.c:15268:25 */
type BtShared1 = struct {
FpPager uintptr
Fdb uintptr
@@ -10196,9 +10864,9 @@ type BtShared1 = struct {
FpTmpSpace uintptr
FnPreformatSize int32
_ [4]byte
-} /* sqlite3.c:1312:9 */
+} /* sqlite3.c:1331:9 */
-type BtShared = BtShared1 /* sqlite3.c:15160:25 */
+type BtShared = BtShared1 /* sqlite3.c:15269:25 */
type BtreePayload1 = struct {
FpKey uintptr
FnKey Sqlite3_int64
@@ -10209,9 +10877,9 @@ type BtreePayload1 = struct {
FnData int32
FnZero int32
_ [4]byte
-} /* sqlite3.c:15161:9 */
+} /* sqlite3.c:15270:9 */
-type BtreePayload = BtreePayload1 /* sqlite3.c:15161:29 */
+type BtreePayload = BtreePayload1 /* sqlite3.c:15270:29 */
//************* End of btree.h **********************************************
//************* Continuing where we left off in sqliteInt.h *****************
@@ -10288,7 +10956,7 @@ type Vdbe1 = struct {
Fexpmask U32
FpProgram uintptr
FpAuxData uintptr
-} /* sqlite3.c:1312:9 */
+} /* sqlite3.c:1331:9 */
//************* End of btree.h **********************************************
//************* Continuing where we left off in sqliteInt.h *****************
@@ -10314,11 +10982,11 @@ type Vdbe1 = struct {
// A single VDBE is an opaque structure named "Vdbe". Only routines
// in the source file sqliteVdbe.c are allowed to see the insides
// of this structure.
-type Vdbe = Vdbe1 /* sqlite3.c:15559:21 */
+type Vdbe = Vdbe1 /* sqlite3.c:15668:21 */
// The names of the following types declared in vdbeInt.h are required
// for the VdbeOp definition.
-type Mem = sqlite3_value /* sqlite3.c:15565:30 */
+type Mem = sqlite3_value /* sqlite3.c:15674:30 */
type SubProgram1 = struct {
FaOp uintptr
FnOp int32
@@ -10328,9 +10996,9 @@ type SubProgram1 = struct {
FaOnce uintptr
Ftoken uintptr
FpNext uintptr
-} /* sqlite3.c:1312:9 */
+} /* sqlite3.c:1331:9 */
-type SubProgram = SubProgram1 /* sqlite3.c:15566:27 */
+type SubProgram = SubProgram1 /* sqlite3.c:15675:27 */
// A single instruction of the virtual machine has an opcode
// and as many as three operands. The instruction is recorded
@@ -10347,7 +11015,7 @@ type VdbeOp1 = struct {
Fi int32
_ [4]byte
}
-} /* sqlite3.c:1312:9 */
+} /* sqlite3.c:1331:9 */
// A single instruction of the virtual machine has an opcode
// and as many as three operands. The instruction is recorded
@@ -10356,9 +11024,9 @@ type p4union = struct {
_ [0]uint64
Fi int32
_ [4]byte
-} /* sqlite3.c:1312:9 */
+} /* sqlite3.c:1331:9 */
-type VdbeOp = VdbeOp1 /* sqlite3.c:15612:23 */
+type VdbeOp = VdbeOp1 /* sqlite3.c:15721:23 */
// A smaller version of VdbeOp used for the VdbeAddOpList() function because
// it takes up less space.
@@ -10367,11 +11035,11 @@ type VdbeOpList1 = struct {
Fp1 int8
Fp2 int8
Fp3 int8
-} /* sqlite3.c:15632:1 */
+} /* sqlite3.c:15741:1 */
-type VdbeOpList = VdbeOpList1 /* sqlite3.c:15638:27 */
+type VdbeOpList = VdbeOpList1 /* sqlite3.c:15747:27 */
-type RecordCompare = uintptr /* sqlite3.c:16046:13 */
+type RecordCompare = uintptr /* sqlite3.c:16156:13 */
// Use SQLITE_ENABLE_COMMENTS to enable generation of extra comments on
// each VDBE opcode.
@@ -10436,7 +11104,7 @@ type RecordCompare = uintptr /* sqlite3.c:16046:13 */
// This header file defines the interface that the sqlite page cache
// subsystem.
-type PgHdr = PgHdr2 /* sqlite3.c:16179:22 */
+type PgHdr = PgHdr2 /* sqlite3.c:16289:22 */
type PCache2 = struct {
FpDirty uintptr
FpDirtyTail uintptr
@@ -10452,12 +11120,12 @@ type PCache2 = struct {
FxStress uintptr
FpStress uintptr
FpCache uintptr
-} /* sqlite3.c:1312:9 */
+} /* sqlite3.c:1331:9 */
-type PCache = PCache2 /* sqlite3.c:16180:23 */
+type PCache = PCache2 /* sqlite3.c:16290:23 */
// typedef for the authorization callback function.
-type Sqlite3_xauth = uintptr /* sqlite3.c:16942:15 */
+type Sqlite3_xauth = uintptr /* sqlite3.c:17058:15 */
// This is an extra SQLITE_TRACE macro that indicates "legacy" tracing
// in the style of sqlite3_trace()
@@ -10471,10 +11139,10 @@ type sqlite3InitInfo = struct {
FiDb U8
Fbusy U8
_ [2]byte
- ForphanTrigger uint8 /* unsigned orphanTrigger: 1, unsigned imposterTable: 1, unsigned reopenMemdb: 1, unsigned bDropColumn: 1 */
+ ForphanTrigger uint8 /* unsigned orphanTrigger: 1, unsigned imposterTable: 1, unsigned reopenMemdb: 1 */
_ [7]byte
FazInit uintptr
-} /* sqlite3.c:1312:9 */
+} /* sqlite3.c:1331:9 */
// Allowed values for Table.tabFlags.
//
@@ -10531,7 +11199,7 @@ type sColMap = struct {
FiFrom int32
_ [4]byte
FzCol uintptr
-} /* sqlite3.c:1312:9 */
+} /* sqlite3.c:1331:9 */
// An instance of this structure contains information needed to generate
// code for a SELECT that contains aggregate functions.
@@ -10552,7 +11220,7 @@ type AggInfo_col = struct {
FiColumn I16
FiSorterColumn I16
_ [4]byte
-} /* sqlite3.c:1312:9 */
+} /* sqlite3.c:1331:9 */
// An instance of this structure contains information needed to generate
// code for a SELECT that contains aggregate functions.
@@ -10570,7 +11238,9 @@ type AggInfo_func = struct {
FpFunc uintptr
FiMem int32
FiDistinct int32
-} /* sqlite3.c:1312:9 */
+ FiDistAddr int32
+ _ [4]byte
+} /* sqlite3.c:1331:9 */
// The datatype ynVar is a signed integer, either 16-bit or 32-bit.
// Usually it is 16-bits. But if SQLITE_MAX_VARIABLE_NUMBER is greater
@@ -10580,7 +11250,7 @@ type AggInfo_func = struct {
// need more than about 10 or 20 variables. But some extreme users want
// to have prepared statements with over 32766 variables, and for them
// the option is available (at compile-time).
-type YnVar = I16 /* sqlite3.c:18099:13 */
+type YnVar = I16 /* sqlite3.c:18212:13 */
// The following are the meanings of bits in the Expr.flags field.
// Value restrictions:
@@ -10647,7 +11317,7 @@ type ExprList_item = struct {
}
}
_ [4]byte
-} /* sqlite3.c:1312:9 */
+} /* sqlite3.c:1331:9 */
// Allowed values for Expr.a.eEName
@@ -10668,10 +11338,10 @@ type IdList_item = struct {
FzName uintptr
Fidx int32
_ [4]byte
-} /* sqlite3.c:1312:9 */
+} /* sqlite3.c:1331:9 */
// The yDbMask datatype for the bitmask of all attached databases.
-type YDbMask = uint32 /* sqlite3.c:18852:24 */
+type YDbMask = uint32 /* sqlite3.c:18969:24 */
// A pointer to this structure is used to communicate information
// from sqlite3Init and OP_ParseSchema into the sqlite3InitCallback.
@@ -10684,10 +11354,19 @@ type InitData = struct {
FnInitRow U32
FmxPage Pgno
_ [4]byte
-} /* sqlite3.c:19210:3 */
+} /* sqlite3.c:19327:3 */
// Allowed values for mInitFlags
+// Tuning parameters are set using SQLITE_TESTCTRL_TUNE and are controlled
+// on debug-builds of the CLI using ".testctrl tune ID VALUE". Tuning
+// parameters are for temporary use during development, to help find
+// optimial values for parameters in the query planner. The should not
+// be used on trunk check-ins. They are a temporary mechanism available
+// for transient development builds only.
+//
+// Tuning parameters are numbered starting with 1.
+
// Structure containing global configuration data for the SQLite library.
//
// This structure also contains some state information.
@@ -10731,12 +11410,13 @@ type Sqlite3Config = struct {
FpInitMutex uintptr
FxLog uintptr
FpLogArg uintptr
+ FmxMemdbSize Sqlite3_int64
FxTestCallback uintptr
FbLocaltimeFault int32
FiOnceResetThreshold int32
FszSorterRef U32
FiPrngSeed uint32
-} /* sqlite3.c:19223:1 */
+} /* sqlite3.c:19356:1 */
// This macro is used inside of assert() statements to indicate that
// the assert is only valid on a well-formed database. Instead of:
@@ -10760,7 +11440,7 @@ type SrcCount = struct {
FnThis int32
FnOther int32
_ [4]byte
-} /* sqlite3.c:19317:5 */
+} /* sqlite3.c:19454:5 */
// This macro is used inside of assert() statements to indicate that
// the assert is only valid on a well-formed database. Instead of:
@@ -10782,7 +11462,7 @@ type IdxCover = struct {
FpIdx uintptr
FiCur int32
_ [4]byte
-} /* sqlite3.c:19320:5 */
+} /* sqlite3.c:19457:5 */
// This macro is used inside of assert() statements to indicate that
// the assert is only valid on a well-formed database. Instead of:
@@ -10808,7 +11488,7 @@ type IdxExprTrans1 = struct {
FiTabCol int32
FpWInfo uintptr
Fdb uintptr
-} /* sqlite3.c:19321:5 */
+} /* sqlite3.c:19458:5 */
// This macro is used inside of assert() statements to indicate that
// the assert is only valid on a well-formed database. Instead of:
@@ -10832,7 +11512,7 @@ type WindowRewrite1 = struct {
FpSub uintptr
FpTab uintptr
FpSubSelect uintptr
-} /* sqlite3.c:19324:5 */
+} /* sqlite3.c:19461:5 */
// This macro is used inside of assert() statements to indicate that
// the assert is only valid on a well-formed database. Instead of:
@@ -10851,11 +11531,14 @@ type WindowRewrite1 = struct {
// Context pointer passed down through the tree-walk.
type WhereConst1 = struct {
- FpParse uintptr
- FnConst int32
- FnChng int32
- FapExpr uintptr
-} /* sqlite3.c:19325:5 */
+ FpParse uintptr
+ FpOomFault uintptr
+ FnConst int32
+ FnChng int32
+ FbHasAffBlob int32
+ _ [4]byte
+ FapExpr uintptr
+} /* sqlite3.c:19462:5 */
// This macro is used inside of assert() statements to indicate that
// the assert is only valid on a well-formed database. Instead of:
@@ -10879,7 +11562,7 @@ type RenameCtx1 = struct {
FiCol int32
FpTab uintptr
FzOld uintptr
-} /* sqlite3.c:19326:5 */
+} /* sqlite3.c:19463:5 */
//************* End of sqliteInt.h ******************************************
//************* Begin file global.c *****************************************
@@ -10903,7 +11586,7 @@ type RenameCtx1 = struct {
// SQLite only considers US-ASCII (or EBCDIC) characters. We do not
// handle case conversions for the UTF character set since the tables
// involved are nearly as big or bigger than SQLite itself.
-var Xsqlite3UpperToLower = [256]uint8{
+var Xsqlite3UpperToLower = [274]uint8{
uint8(0), uint8(1), uint8(2), uint8(3), uint8(4), uint8(5), uint8(6), uint8(7), uint8(8), uint8(9), uint8(10), uint8(11), uint8(12), uint8(13), uint8(14), uint8(15), uint8(16), uint8(17),
uint8(18), uint8(19), uint8(20), uint8(21), uint8(22), uint8(23), uint8(24), uint8(25), uint8(26), uint8(27), uint8(28), uint8(29), uint8(30), uint8(31), uint8(32), uint8(33), uint8(34), uint8(35),
uint8(36), uint8(37), uint8(38), uint8(39), uint8(40), uint8(41), uint8(42), uint8(43), uint8(44), uint8(45), uint8(46), uint8(47), uint8(48), uint8(49), uint8(50), uint8(51), uint8(52), uint8(53),
@@ -10919,7 +11602,34 @@ var Xsqlite3UpperToLower = [256]uint8{
uint8(216), uint8(217), uint8(218), uint8(219), uint8(220), uint8(221), uint8(222), uint8(223), uint8(224), uint8(225), uint8(226), uint8(227), uint8(228), uint8(229), uint8(230), uint8(231), uint8(232), uint8(233),
uint8(234), uint8(235), uint8(236), uint8(237), uint8(238), uint8(239), uint8(240), uint8(241), uint8(242), uint8(243), uint8(244), uint8(245), uint8(246), uint8(247), uint8(248), uint8(249), uint8(250), uint8(251),
uint8(252), uint8(253), uint8(254), uint8(255),
-} /* sqlite3.c:20668:36 */
+ // All of the upper-to-lower conversion data is above. The following
+ // 18 integers are completely unrelated. They are appended to the
+ // sqlite3UpperToLower[] array to avoid UBSAN warnings. Here's what is
+ // going on:
+ //
+ // The SQL comparison operators (<>, =, >, <=, <, and >=) are implemented
+ // by invoking sqlite3MemCompare(A,B) which compares values A and B and
+ // returns negative, zero, or positive if A is less then, equal to, or
+ // greater than B, respectively. Then the true false results is found by
+ // consulting sqlite3aLTb[opcode], sqlite3aEQb[opcode], or
+ // sqlite3aGTb[opcode] depending on whether the result of compare(A,B)
+ // is negative, zero, or positive, where opcode is the specific opcode.
+ // The only works because the comparison opcodes are consecutive and in
+ // this order: NE EQ GT LE LT GE. Various assert()s throughout the code
+ // ensure that is the case.
+ //
+ // These elements must be appended to another array. Otherwise the
+ // index (here shown as [256-OP_Ne]) would be out-of-bounds and thus
+ // be undefined behavior. That's goofy, but the C-standards people thought
+ // it was a good idea, so here we are.
+ // NE EQ GT LE LT GE
+ uint8(1), uint8(0), uint8(0), uint8(1), uint8(1), uint8(0), // aLTb[]: Use when compare(A,B) less than zero
+ uint8(0), uint8(1), uint8(0), uint8(1), uint8(0), uint8(1), // aEQb[]: Use when compare(A,B) equals zero
+ uint8(1), uint8(0), uint8(1), uint8(0), uint8(0), uint8(1), // aGTb[]: Use when compare(A,B) greater than zero
+} /* sqlite3.c:20818:36 */
+var Xsqlite3aLTb uintptr = 0 /* sqlite3.c:20880:36 */
+var Xsqlite3aEQb uintptr = 0 /* sqlite3.c:20881:36 */
+var Xsqlite3aGTb uintptr = 0 /* sqlite3.c:20882:36 */
// The following 256 byte lookup table is used to support SQLites built-in
// equivalents to the following standard library functions:
@@ -10983,7 +11693,7 @@ var Xsqlite3CtypeMap = [256]uint8{
uint8(0x40), uint8(0x40), uint8(0x40), uint8(0x40), uint8(0x40), uint8(0x40), uint8(0x40), uint8(0x40), // e8..ef ........
uint8(0x40), uint8(0x40), uint8(0x40), uint8(0x40), uint8(0x40), uint8(0x40), uint8(0x40), uint8(0x40), // f0..f7 ........
uint8(0x40), uint8(0x40), uint8(0x40), uint8(0x40), uint8(0x40), uint8(0x40), uint8(0x40), uint8(0x40), // f8..ff ........
-} /* sqlite3.c:20734:36 */
+} /* sqlite3.c:20912:36 */
// EVIDENCE-OF: R-02982-34736 In order to maintain full backwards
// compatibility for legacy applications, the URI filename capability is
@@ -11036,18 +11746,19 @@ var Xsqlite3Config = Sqlite3Config{
FbExtraSchemaChecks: U8(1), // bExtraSchemaChecks
FmxStrlen: 0x7ffffffe, // neverCorrupt
FszLookaside: 1200, FnLookaside: 40, // szLookaside, nLookaside
- FnStmtSpill: (64 * 1024), // szMmap
- FmxMmap: int64(SQLITE_MAX_MMAP_SIZE), // szPage
- FnPage: SQLITE_DEFAULT_PCACHE_INITSZ, // sharedCacheEnabled
- FszPma: U32(SQLITE_SORTER_PMASZ), // bLocaltimeFault
- FiOnceResetThreshold: 0x7ffffffe, // iOnceResetThreshold
- FszSorterRef: U32(SQLITE_DEFAULT_SORTERREF_SIZE), // iPrngSeed
-} /* sqlite3.c:20854:48 */
+ FnStmtSpill: (64 * 1024), // szMmap
+ FmxMmap: int64(SQLITE_MAX_MMAP_SIZE), // szPage
+ FnPage: SQLITE_DEFAULT_PCACHE_INITSZ, // sharedCacheEnabled
+ FszPma: U32(SQLITE_SORTER_PMASZ), // pLogArg
+ FmxMemdbSize: int64(SQLITE_MEMDB_DEFAULT_MAXSIZE), // bLocaltimeFault
+ FiOnceResetThreshold: 0x7ffffffe, // iOnceResetThreshold
+ FszSorterRef: U32(SQLITE_DEFAULT_SORTERREF_SIZE), // iPrngSeed
+} /* sqlite3.c:21032:48 */
// Hash table for global functions - functions common to all
// database connections. After initialization, this table is
// read-only.
-var Xsqlite3BuiltinFunctions FuncDefHash /* sqlite3.c:20915:28: */
+var Xsqlite3BuiltinFunctions FuncDefHash /* sqlite3.c:21093:28: */
// The value of the "pending" byte must be 0x40000000 (1 byte past the
// 1-gibabyte boundary) in a compatible database. SQLite never uses
@@ -11065,21 +11776,21 @@ var Xsqlite3BuiltinFunctions FuncDefHash /* sqlite3.c:20915:28: */
// 0x40000000 results in an incompatible database file format!
// Changing the pending byte during operation will result in undefined
// and incorrect behavior.
-var Xsqlite3PendingByte int32 = 0x40000000 /* sqlite3.c:20944:20 */
+var Xsqlite3PendingByte int32 = 0x40000000 /* sqlite3.c:21122:20 */
// Tracing flags set by SQLITE_TESTCTRL_TRACEFLAGS.
-var Xsqlite3SelectTrace U32 = U32(0) /* sqlite3.c:20950:20 */
-var Xsqlite3WhereTrace U32 = U32(0) /* sqlite3.c:20951:20 */
+var Xsqlite3SelectTrace U32 = U32(0) /* sqlite3.c:21128:20 */
+var Xsqlite3WhereTrace U32 = U32(0) /* sqlite3.c:21129:20 */
// #include "opcodes.h"
// Properties of opcodes. The OPFLG_INITIALIZER macro is
// created by mkopcodeh.awk during compilation. Data is obtained
// from the comments following the "case OP_xxxx:" statements in
// the vdbe.c file.
-var Xsqlite3OpcodeProperty = [179]uint8{ /* 0 */ uint8(0x00), uint8(0x00), uint8(0x00), uint8(0x01), uint8(0x01), uint8(0x01), uint8(0x00), uint8(0x10) /* 8 */, uint8(0x00), uint8(0x01), uint8(0x00), uint8(0x01), uint8(0x01), uint8(0x01), uint8(0x03), uint8(0x03) /* 16 */, uint8(0x01), uint8(0x01), uint8(0x03), uint8(0x12), uint8(0x03), uint8(0x01), uint8(0x09), uint8(0x09) /* 24 */, uint8(0x09), uint8(0x09), uint8(0x01), uint8(0x09), uint8(0x09), uint8(0x09), uint8(0x09), uint8(0x09) /* 32 */, uint8(0x09), uint8(0x01), uint8(0x01), uint8(0x01), uint8(0x01), uint8(0x01), uint8(0x01), uint8(0x01) /* 40 */, uint8(0x01), uint8(0x01), uint8(0x23), uint8(0x26), uint8(0x26), uint8(0x0b), uint8(0x01), uint8(0x01) /* 48 */, uint8(0x03), uint8(0x03), uint8(0x03), uint8(0x03), uint8(0x0b), uint8(0x0b), uint8(0x0b), uint8(0x0b) /* 56 */, uint8(0x0b), uint8(0x0b), uint8(0x01), uint8(0x03), uint8(0x01), uint8(0x01), uint8(0x01), uint8(0x00) /* 64 */, uint8(0x00), uint8(0x02), uint8(0x02), uint8(0x08), uint8(0x00), uint8(0x10), uint8(0x10), uint8(0x10) /* 72 */, uint8(0x10), uint8(0x00), uint8(0x10), uint8(0x10), uint8(0x00), uint8(0x00), uint8(0x10), uint8(0x10) /* 80 */, uint8(0x00), uint8(0x00), uint8(0x00), uint8(0x02), uint8(0x02), uint8(0x02), uint8(0x00), uint8(0x00) /* 88 */, uint8(0x12), uint8(0x20), uint8(0x00), uint8(0x00), uint8(0x00), uint8(0x10), uint8(0x10), uint8(0x00) /* 96 */, uint8(0x00), uint8(0x00), uint8(0x00), uint8(0x00), uint8(0x00), uint8(0x00), uint8(0x26), uint8(0x26) /* 104 */, uint8(0x26), uint8(0x26), uint8(0x26), uint8(0x26), uint8(0x26), uint8(0x26), uint8(0x26), uint8(0x26) /* 112 */, uint8(0x00), uint8(0x12), uint8(0x00), uint8(0x00), uint8(0x10), uint8(0x00), uint8(0x00), uint8(0x00) /* 120 */, uint8(0x00), uint8(0x10), uint8(0x10), uint8(0x00), uint8(0x00), uint8(0x00), uint8(0x00), uint8(0x00) /* 128 */, uint8(0x00), uint8(0x00), uint8(0x10), uint8(0x00), uint8(0x00), uint8(0x04), uint8(0x04), uint8(0x00) /* 136 */, uint8(0x00), uint8(0x10), uint8(0x00), uint8(0x10), uint8(0x00), uint8(0x00), uint8(0x10), uint8(0x00) /* 144 */, uint8(0x00), uint8(0x00), uint8(0x00), uint8(0x00), uint8(0x00), uint8(0x00), uint8(0x06), uint8(0x10) /* 152 */, uint8(0x10), uint8(0x00), uint8(0x04), uint8(0x1a), uint8(0x00), uint8(0x00), uint8(0x00), uint8(0x00) /* 160 */, uint8(0x00), uint8(0x00), uint8(0x00), uint8(0x00), uint8(0x00), uint8(0x00), uint8(0x00), uint8(0x00) /* 168 */, uint8(0x00), uint8(0x00), uint8(0x00), uint8(0x10), uint8(0x10), uint8(0x00), uint8(0x00), uint8(0x00) /* 176 */, uint8(0x00), uint8(0x00), uint8(0x00)} /* sqlite3.c:20960:36 */
+var Xsqlite3OpcodeProperty = [180]uint8{ /* 0 */ uint8(0x00), uint8(0x00), uint8(0x00), uint8(0x01), uint8(0x01), uint8(0x01), uint8(0x00), uint8(0x10) /* 8 */, uint8(0x00), uint8(0x01), uint8(0x00), uint8(0x01), uint8(0x01), uint8(0x01), uint8(0x03), uint8(0x03) /* 16 */, uint8(0x01), uint8(0x01), uint8(0x03), uint8(0x12), uint8(0x03), uint8(0x01), uint8(0x09), uint8(0x09) /* 24 */, uint8(0x09), uint8(0x09), uint8(0x01), uint8(0x09), uint8(0x09), uint8(0x09), uint8(0x09), uint8(0x09) /* 32 */, uint8(0x09), uint8(0x01), uint8(0x01), uint8(0x01), uint8(0x01), uint8(0x01), uint8(0x01), uint8(0x01) /* 40 */, uint8(0x01), uint8(0x01), uint8(0x23), uint8(0x26), uint8(0x26), uint8(0x0b), uint8(0x01), uint8(0x01) /* 48 */, uint8(0x03), uint8(0x03), uint8(0x03), uint8(0x03), uint8(0x0b), uint8(0x0b), uint8(0x0b), uint8(0x0b) /* 56 */, uint8(0x0b), uint8(0x0b), uint8(0x01), uint8(0x03), uint8(0x01), uint8(0x01), uint8(0x01), uint8(0x00) /* 64 */, uint8(0x00), uint8(0x02), uint8(0x02), uint8(0x08), uint8(0x00), uint8(0x10), uint8(0x10), uint8(0x10) /* 72 */, uint8(0x10), uint8(0x00), uint8(0x10), uint8(0x10), uint8(0x00), uint8(0x00), uint8(0x10), uint8(0x10) /* 80 */, uint8(0x00), uint8(0x00), uint8(0x00), uint8(0x02), uint8(0x02), uint8(0x02), uint8(0x00), uint8(0x00) /* 88 */, uint8(0x12), uint8(0x1e), uint8(0x20), uint8(0x00), uint8(0x00), uint8(0x00), uint8(0x10), uint8(0x10) /* 96 */, uint8(0x00), uint8(0x00), uint8(0x00), uint8(0x00), uint8(0x00), uint8(0x00), uint8(0x26), uint8(0x26) /* 104 */, uint8(0x26), uint8(0x26), uint8(0x26), uint8(0x26), uint8(0x26), uint8(0x26), uint8(0x26), uint8(0x26) /* 112 */, uint8(0x00), uint8(0x12), uint8(0x00), uint8(0x00), uint8(0x10), uint8(0x00), uint8(0x00), uint8(0x00) /* 120 */, uint8(0x00), uint8(0x00), uint8(0x10), uint8(0x10), uint8(0x00), uint8(0x00), uint8(0x00), uint8(0x00) /* 128 */, uint8(0x00), uint8(0x00), uint8(0x00), uint8(0x10), uint8(0x00), uint8(0x00), uint8(0x04), uint8(0x04) /* 136 */, uint8(0x00), uint8(0x00), uint8(0x10), uint8(0x00), uint8(0x10), uint8(0x00), uint8(0x00), uint8(0x10) /* 144 */, uint8(0x00), uint8(0x00), uint8(0x00), uint8(0x00), uint8(0x00), uint8(0x00), uint8(0x00), uint8(0x06) /* 152 */, uint8(0x10), uint8(0x10), uint8(0x00), uint8(0x04), uint8(0x1a), uint8(0x00), uint8(0x00), uint8(0x00) /* 160 */, uint8(0x00), uint8(0x00), uint8(0x00), uint8(0x00), uint8(0x00), uint8(0x00), uint8(0x00), uint8(0x00) /* 168 */, uint8(0x00), uint8(0x00), uint8(0x00), uint8(0x00), uint8(0x10), uint8(0x10), uint8(0x00), uint8(0x00) /* 176 */, uint8(0x00), uint8(0x00), uint8(0x00), uint8(0x00)} /* sqlite3.c:21138:36 */
// Name of the default collating sequence
-var Xsqlite3StrBINARY = *(*[7]int8)(unsafe.Pointer(ts + 266 /* "BINARY" */)) /* sqlite3.c:20965:27 */
+var Xsqlite3StrBINARY = *(*[7]int8)(unsafe.Pointer(ts + 318 /* "BINARY" */)) /* sqlite3.c:21143:27 */
//************* End of global.c *********************************************
//************* Begin file status.c *****************************************
@@ -11124,10 +11835,10 @@ var Xsqlite3StrBINARY = *(*[7]int8)(unsafe.Pointer(ts + 266 /* "BINARY" */)) /*
// SQL is translated into a sequence of instructions to be
// executed by a virtual machine. Each instruction is an instance
// of the following structure.
-type Op = VdbeOp1 /* sqlite3.c:21032:23 */
+type Op = VdbeOp1 /* sqlite3.c:21210:23 */
// Boolean values
-type Bool = uint32 /* sqlite3.c:21037:18 */
+type Bool = uint32 /* sqlite3.c:21215:18 */
// Opaque type used by code in vdbesort.c
type VdbeSorter1 = struct {
@@ -11150,10 +11861,10 @@ type VdbeSorter1 = struct {
FtypeMask U8
_ [3]byte
FaTask [1]SortSubtask
-} /* sqlite3.c:21040:9 */
+} /* sqlite3.c:21218:9 */
// Opaque type used by code in vdbesort.c
-type VdbeSorter = VdbeSorter1 /* sqlite3.c:21040:27 */
+type VdbeSorter = VdbeSorter1 /* sqlite3.c:21218:27 */
// Elements of the linked list at Vdbe.pAuxData
type AuxData1 = struct {
@@ -11162,10 +11873,10 @@ type AuxData1 = struct {
FpAux uintptr
FxDeleteAux uintptr
FpNextAux uintptr
-} /* sqlite3.c:1312:9 */
+} /* sqlite3.c:1331:9 */
// Elements of the linked list at Vdbe.pAuxData
-type AuxData = AuxData1 /* sqlite3.c:21043:24 */
+type AuxData = AuxData1 /* sqlite3.c:21221:24 */
// Types of VDBE cursors
@@ -11208,7 +11919,7 @@ type VdbeCursor1 = struct {
FszRow U32
FaType [1]U32
_ [4]byte
-} /* sqlite3.c:1312:9 */
+} /* sqlite3.c:1331:9 */
// Types of VDBE cursors
@@ -11220,7 +11931,7 @@ type VdbeCursor1 = struct {
// * A sorter
// * A virtual table
// * A one-row "pseudotable" stored in a single register
-type VdbeCursor = VdbeCursor1 /* sqlite3.c:21061:27 */
+type VdbeCursor = VdbeCursor1 /* sqlite3.c:21239:27 */
// A value for VdbeCursor.cacheStatus that means the cache is always invalid.
@@ -11262,7 +11973,7 @@ type VdbeFrame1 = struct {
FnChildCsr int32
FnChange int32
FnDbChange int32
-} /* sqlite3.c:1312:9 */
+} /* sqlite3.c:1331:9 */
// A value for VdbeCursor.cacheStatus that means the cache is always invalid.
@@ -11285,7 +11996,7 @@ type VdbeFrame1 = struct {
//
// The currently executing frame is stored in Vdbe.pFrame. Vdbe.pFrame is
// set to NULL if the currently executing frame is the main program.
-type VdbeFrame = VdbeFrame1 /* sqlite3.c:21148:26 */
+type VdbeFrame = VdbeFrame1 /* sqlite3.c:21326:26 */
// Magic number for sanity checking on VdbeFrame objects
@@ -11295,11 +12006,11 @@ type VdbeFrame = VdbeFrame1 /* sqlite3.c:21148:26 */
// Internally, the vdbe manipulates nearly all SQL values as Mem
// structures. Each Mem struct may cache multiple representations (string,
// integer etc.) of the same value.
-type MemValue = struct{ Fr float64 } /* sqlite3.c:1312:9 */
+type MemValue = struct{ Fr float64 } /* sqlite3.c:1331:9 */
// A bitfield type for use inside of structures. Always follow with :N where
// N is the number of bits.
-type Bft = uint32 /* sqlite3.c:21331:18 */ // Bit Field Type
+type Bft = uint32 /* sqlite3.c:21509:18 */ // Bit Field Type
// The ScanStatus object holds a single value for the
// sqlite3_stmt_scanstatus() interface.
@@ -11311,13 +12022,13 @@ type ScanStatus1 = struct {
FnEst LogEst
_ [6]byte
FzName uintptr
-} /* sqlite3.c:21336:9 */
+} /* sqlite3.c:21514:9 */
// Bit Field Type
// The ScanStatus object holds a single value for the
// sqlite3_stmt_scanstatus() interface.
-type ScanStatus = ScanStatus1 /* sqlite3.c:21336:27 */
+type ScanStatus = ScanStatus1 /* sqlite3.c:21514:27 */
// The DblquoteStr object holds the text of a double-quoted
// string for a prepared statement. A linked list of these objects
@@ -11328,7 +12039,7 @@ type ScanStatus = ScanStatus1 /* sqlite3.c:21336:27 */
type DblquoteStr1 = struct {
FpNextStr uintptr
Fz [8]int8
-} /* sqlite3.c:21353:9 */
+} /* sqlite3.c:21531:9 */
// The DblquoteStr object holds the text of a double-quoted
// string for a prepared statement. A linked list of these objects
@@ -11336,20 +12047,20 @@ type DblquoteStr1 = struct {
// When computing a normalized SQL statement for an SQL statement, that
// list is consulted for each double-quoted identifier to see if the
// identifier should really be a string literal.
-type DblquoteStr = DblquoteStr1 /* sqlite3.c:21353:28 */
+type DblquoteStr = DblquoteStr1 /* sqlite3.c:21531:28 */
//************* End of vdbeInt.h ********************************************
//************* Continuing where we left off in status.c ********************
// Variables in which to record status information.
-type Sqlite3StatValueType = Sqlite3_int64 /* sqlite3.c:21619:23 */
+type Sqlite3StatValueType = Sqlite3_int64 /* sqlite3.c:21799:23 */
type sqlite3StatType = struct {
FnowValue [10]Sqlite3StatValueType
FmxValue [10]Sqlite3StatValueType
-} /* sqlite3.c:21623:9 */
+} /* sqlite3.c:21803:9 */
-type Sqlite3StatType = sqlite3StatType /* sqlite3.c:21623:32 */
-var sqlite3Stat = sqlite3StatType{} /* sqlite3.c:21627:3 */
+type Sqlite3StatType = sqlite3StatType /* sqlite3.c:21803:32 */
+var sqlite3Stat = sqlite3StatType{} /* sqlite3.c:21807:3 */
// Elements of sqlite3Stat[] are protected by either the memory allocator
// mutex, or by the pcache1 mutex. The following array determines which.
@@ -11364,7 +12075,7 @@ var statMutex = [10]int8{
int8(1), // SQLITE_STATUS_PAGECACHE_SIZE
int8(0), // SQLITE_STATUS_SCRATCH_SIZE
int8(0), // SQLITE_STATUS_MALLOC_COUNT
-} /* sqlite3.c:21633:19 */
+} /* sqlite3.c:21813:19 */
// The "wsdStat" macro will resolve to the status information
// state vector. If writable static data is unsupported on the target,
@@ -11374,7 +12085,7 @@ var statMutex = [10]int8{
// Return the current value of a status parameter. The caller must
// be holding the appropriate mutex.
-func Xsqlite3StatusValue(tls *libc.TLS, op int32) Sqlite3_int64 { /* sqlite3.c:21665:30: */
+func Xsqlite3StatusValue(tls *libc.TLS, op int32) Sqlite3_int64 { /* sqlite3.c:21845:30: */
return *(*Sqlite3StatValueType)(unsafe.Pointer((uintptr(unsafe.Pointer(&sqlite3Stat)) /* &.nowValue */) + uintptr(op)*8))
}
@@ -11388,7 +12099,7 @@ func Xsqlite3StatusValue(tls *libc.TLS, op int32) Sqlite3_int64 { /* sqlite3.c:2
//
// The StatusDown() routine lowers the current value by N. The highwater
// mark is unchanged. N must be non-negative for StatusDown().
-func Xsqlite3StatusUp(tls *libc.TLS, op int32, N int32) { /* sqlite3.c:21685:21: */
+func Xsqlite3StatusUp(tls *libc.TLS, op int32, N int32) { /* sqlite3.c:21865:21: */
*(*Sqlite3StatValueType)(unsafe.Pointer((uintptr(unsafe.Pointer(&sqlite3Stat)) /* &.nowValue */) + uintptr(op)*8)) += (Sqlite3StatValueType(N))
if *(*Sqlite3StatValueType)(unsafe.Pointer((uintptr(unsafe.Pointer(&sqlite3Stat)) /* &.nowValue */) + uintptr(op)*8)) > *(*Sqlite3StatValueType)(unsafe.Pointer((uintptr(unsafe.Pointer(&sqlite3Stat)) + 80 /* &.mxValue */) + uintptr(op)*8)) {
@@ -11396,14 +12107,14 @@ func Xsqlite3StatusUp(tls *libc.TLS, op int32, N int32) { /* sqlite3.c:21685:21:
}
}
-func Xsqlite3StatusDown(tls *libc.TLS, op int32, N int32) { /* sqlite3.c:21696:21: */
+func Xsqlite3StatusDown(tls *libc.TLS, op int32, N int32) { /* sqlite3.c:21876:21: */
*(*Sqlite3StatValueType)(unsafe.Pointer((uintptr(unsafe.Pointer(&sqlite3Stat)) /* &.nowValue */) + uintptr(op)*8)) -= (Sqlite3StatValueType(N))
}
// Adjust the highwater mark if necessary.
// The caller must hold the appropriate mutex.
-func Xsqlite3StatusHighwater(tls *libc.TLS, op int32, X int32) { /* sqlite3.c:21710:21: */
+func Xsqlite3StatusHighwater(tls *libc.TLS, op int32, X int32) { /* sqlite3.c:21890:21: */
var newValue Sqlite3StatValueType
newValue = Sqlite3StatValueType(X)
@@ -11414,12 +12125,12 @@ func Xsqlite3StatusHighwater(tls *libc.TLS, op int32, X int32) { /* sqlite3.c:21
}
// Query status information.
-func Xsqlite3_status64(tls *libc.TLS, op int32, pCurrent uintptr, pHighwater uintptr, resetFlag int32) int32 { /* sqlite3.c:21730:16: */
+func Xsqlite3_status64(tls *libc.TLS, op int32, pCurrent uintptr, pHighwater uintptr, resetFlag int32) int32 { /* sqlite3.c:21910:16: */
var pMutex uintptr
_ = pMutex
if (op < 0) || (op >= (int32(uint64(unsafe.Sizeof([10]Sqlite3StatValueType{})) / uint64(unsafe.Sizeof(Sqlite3StatValueType(0)))))) {
- return Xsqlite3MisuseError(tls, 21739)
+ return Xsqlite3MisuseError(tls, 21919)
}
if statMutex[op] != 0 {
pMutex = Xsqlite3Pcache1Mutex(tls)
@@ -11437,7 +12148,7 @@ func Xsqlite3_status64(tls *libc.TLS, op int32, pCurrent uintptr, pHighwater uin
return SQLITE_OK
}
-func Xsqlite3_status(tls *libc.TLS, op int32, pCurrent uintptr, pHighwater uintptr, resetFlag int32) int32 { /* sqlite3.c:21755:16: */
+func Xsqlite3_status(tls *libc.TLS, op int32, pCurrent uintptr, pHighwater uintptr, resetFlag int32) int32 { /* sqlite3.c:21935:16: */
bp := tls.Alloc(16)
defer tls.Free(16)
@@ -11453,7 +12164,7 @@ func Xsqlite3_status(tls *libc.TLS, op int32, pCurrent uintptr, pHighwater uintp
}
// Return the number of LookasideSlot elements on the linked list
-func countLookasideSlots(tls *libc.TLS, p uintptr) U32 { /* sqlite3.c:21772:12: */
+func countLookasideSlots(tls *libc.TLS, p uintptr) U32 { /* sqlite3.c:21952:12: */
var cnt U32 = U32(0)
for p != 0 {
p = (*LookasideSlot)(unsafe.Pointer(p)).FpNext
@@ -11463,7 +12174,7 @@ func countLookasideSlots(tls *libc.TLS, p uintptr) U32 { /* sqlite3.c:21772:12:
}
// Count the number of slots of lookaside memory that are outstanding
-func Xsqlite3LookasideUsed(tls *libc.TLS, db uintptr, pHighwater uintptr) int32 { /* sqlite3.c:21784:20: */
+func Xsqlite3LookasideUsed(tls *libc.TLS, db uintptr, pHighwater uintptr) int32 { /* sqlite3.c:21964:20: */
var nInit U32 = countLookasideSlots(tls, (*Sqlite3)(unsafe.Pointer(db)).Flookaside.FpInit)
var nFree U32 = countLookasideSlots(tls, (*Sqlite3)(unsafe.Pointer(db)).Flookaside.FpFree)
nInit = nInit + (countLookasideSlots(tls, (*Sqlite3)(unsafe.Pointer(db)).Flookaside.FpSmallInit))
@@ -11475,7 +12186,7 @@ func Xsqlite3LookasideUsed(tls *libc.TLS, db uintptr, pHighwater uintptr) int32
}
// Query status information for a single database connection
-func Xsqlite3_db_status(tls *libc.TLS, db uintptr, op int32, pCurrent uintptr, pHighwater uintptr, resetFlag int32) int32 { /* sqlite3.c:21798:16: */
+func Xsqlite3_db_status(tls *libc.TLS, db uintptr, op int32, pCurrent uintptr, pHighwater uintptr, resetFlag int32) int32 { /* sqlite3.c:21978:16: */
bp := tls.Alloc(12)
defer tls.Free(12)
@@ -11714,7 +12425,7 @@ func Xsqlite3_db_status(tls *libc.TLS, db uintptr, op int32, pCurrent uintptr, p
// #include "sqliteInt.h"
// #include
// #include
-// Copyright (C) 1991-2018 Free Software Foundation, Inc.
+// Copyright (C) 1991-2020 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
@@ -11729,11 +12440,11 @@ func Xsqlite3_db_status(tls *libc.TLS, db uintptr, op int32, pCurrent uintptr, p
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// ISO C99 Standard: 7.23 Date and time
-// Copyright (C) 1991-2018 Free Software Foundation, Inc.
+// Copyright (C) 1991-2020 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
@@ -11748,9 +12459,9 @@ func Xsqlite3_db_status(tls *libc.TLS, db uintptr, op int32, pCurrent uintptr, p
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
-// Copyright (C) 1989-2018 Free Software Foundation, Inc.
+// Copyright (C) 1989-2017 Free Software Foundation, Inc.
//
// This file is part of GCC.
//
@@ -11839,7 +12550,7 @@ func Xsqlite3_db_status(tls *libc.TLS, db uintptr, op int32, pCurrent uintptr, p
// This defines CLOCKS_PER_SEC, which is the number of processor clock
// ticks per second, and possibly a number of other constants.
// System-dependent timing definitions. Linux version.
-// Copyright (C) 1996-2018 Free Software Foundation, Inc.
+// Copyright (C) 1996-2020 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
@@ -11854,12 +12565,12 @@ func Xsqlite3_db_status(tls *libc.TLS, db uintptr, op int32, pCurrent uintptr, p
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// Never include this file directly; use instead.
// bits/types.h -- definitions of __*_t types underlying *_t types.
-// Copyright (C) 2002-2018 Free Software Foundation, Inc.
+// Copyright (C) 2002-2020 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
@@ -11874,7 +12585,7 @@ func Xsqlite3_db_status(tls *libc.TLS, db uintptr, op int32, pCurrent uintptr, p
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// Never include this file directly; use instead.
@@ -11899,7 +12610,7 @@ func Xsqlite3_db_status(tls *libc.TLS, db uintptr, op int32, pCurrent uintptr, p
// Flag to indicate time is absolute.
-// Copyright (C) 1995-2018 Free Software Foundation, Inc.
+// Copyright (C) 1995-2020 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
@@ -11914,10 +12625,10 @@ func Xsqlite3_db_status(tls *libc.TLS, db uintptr, op int32, pCurrent uintptr, p
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// bits/types.h -- definitions of __*_t types underlying *_t types.
-// Copyright (C) 2002-2018 Free Software Foundation, Inc.
+// Copyright (C) 2002-2020 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
@@ -11932,7 +12643,7 @@ func Xsqlite3_db_status(tls *libc.TLS, db uintptr, op int32, pCurrent uintptr, p
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// Never include this file directly; use instead.
@@ -11982,7 +12693,7 @@ type timex = struct {
// may also need to be defined by other headers.
// bits/types.h -- definitions of __*_t types underlying *_t types.
-// Copyright (C) 2002-2018 Free Software Foundation, Inc.
+// Copyright (C) 2002-2020 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
@@ -11997,7 +12708,7 @@ type timex = struct {
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// Never include this file directly; use instead.
@@ -12020,7 +12731,7 @@ type tm = struct {
// NB: Include guard matches what uses.
// bits/types.h -- definitions of __*_t types underlying *_t types.
-// Copyright (C) 2002-2018 Free Software Foundation, Inc.
+// Copyright (C) 2002-2020 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
@@ -12035,7 +12746,7 @@ type tm = struct {
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// Never include this file directly; use instead.
@@ -12075,14 +12786,14 @@ type DateTime1 = struct {
FtzSet int8
FisError int8
_ [1]byte
-} /* sqlite3.c:22058:9 */
+} /* sqlite3.c:22238:9 */
// The MSVC CRT on Windows CE may not have a localtime() function.
// So declare a substitute. The substitute function itself is
// defined in "os_win.c".
// A structure for holding a single date and time.
-type DateTime = DateTime1 /* sqlite3.c:22058:25 */
+type DateTime = DateTime1 /* sqlite3.c:22238:25 */
// Convert zDate into one or more integers according to the conversion
// specifier zFormat.
@@ -12109,7 +12820,7 @@ type DateTime = DateTime1 /* sqlite3.c:22058:25 */
// the 2-digit day which is the last integer in the set.
//
// The function returns the number of successful conversions.
-func getDigits(tls *libc.TLS, zDate uintptr, zFormat uintptr, va uintptr) int32 { /* sqlite3.c:22102:12: */
+func getDigits(tls *libc.TLS, zDate uintptr, zFormat uintptr, va uintptr) int32 { /* sqlite3.c:22282:12: */
var ap Va_list
_ = ap
var cnt int32
@@ -12166,7 +12877,7 @@ end_getDigits:
return cnt
}
-var aMx = [6]U16{U16(12), U16(14), U16(24), U16(31), U16(59), U16(9999)} /* sqlite3.c:22105:20 */
+var aMx = [6]U16{U16(12), U16(14), U16(24), U16(31), U16(59), U16(9999)} /* sqlite3.c:22285:20 */
// Parse a timezone extension on the end of a date-time.
// The extension is of the form:
@@ -12182,7 +12893,7 @@ var aMx = [6]U16{U16(12), U16(14), U16(24), U16(31), U16(59), U16(9999)} /* sqli
// return non-zero.
//
// A missing specifier is not considered an error.
-func parseTimezone(tls *libc.TLS, zDate uintptr, p uintptr) int32 { /* sqlite3.c:22156:12: */
+func parseTimezone(tls *libc.TLS, zDate uintptr, p uintptr) int32 { /* sqlite3.c:22336:12: */
bp := tls.Alloc(24)
defer tls.Free(24)
@@ -12230,7 +12941,7 @@ __6:
__4:
;
zDate++
- if !(getDigits(tls, zDate, ts+273 /* "20b:20e" */, libc.VaList(bp, bp+16 /* &nHr */, bp+20 /* &nMn */)) != 2) {
+ if !(getDigits(tls, zDate, ts+325 /* "20b:20e" */, libc.VaList(bp, bp+16 /* &nHr */, bp+20 /* &nMn */)) != 2) {
goto __9
}
return 1
@@ -12256,7 +12967,7 @@ __11:
// fractional seconds FFFF can be one or more digits.
//
// Return 1 if there is a parsing error and 0 on success.
-func parseHhMmSs(tls *libc.TLS, zDate uintptr, p uintptr) int32 { /* sqlite3.c:22192:12: */
+func parseHhMmSs(tls *libc.TLS, zDate uintptr, p uintptr) int32 { /* sqlite3.c:22372:12: */
bp := tls.Alloc(36)
defer tls.Free(36)
@@ -12267,13 +12978,13 @@ func parseHhMmSs(tls *libc.TLS, zDate uintptr, p uintptr) int32 { /* sqlite3.c:2
// var s int32 at bp+32, 4
var ms float64 = 0.0
- if getDigits(tls, zDate, ts+281 /* "20c:20e" */, libc.VaList(bp, bp+24 /* &h */, bp+28 /* &m */)) != 2 {
+ if getDigits(tls, zDate, ts+333 /* "20c:20e" */, libc.VaList(bp, bp+24 /* &h */, bp+28 /* &m */)) != 2 {
return 1
}
zDate += uintptr(5)
if int32(*(*int8)(unsafe.Pointer(zDate))) == ':' {
zDate++
- if getDigits(tls, zDate, ts+289 /* "20e" */, libc.VaList(bp+16, bp+32 /* &s */)) != 1 {
+ if getDigits(tls, zDate, ts+341 /* "20e" */, libc.VaList(bp+16, bp+32 /* &s */)) != 1 {
return 1
}
zDate += uintptr(2)
@@ -12309,7 +13020,7 @@ func parseHhMmSs(tls *libc.TLS, zDate uintptr, p uintptr) int32 { /* sqlite3.c:2
}
// Put the DateTime object into its error state.
-func datetimeError(tls *libc.TLS, p uintptr) { /* sqlite3.c:22232:13: */
+func datetimeError(tls *libc.TLS, p uintptr) { /* sqlite3.c:22412:13: */
libc.Xmemset(tls, p, 0, uint64(unsafe.Sizeof(DateTime{})))
(*DateTime)(unsafe.Pointer(p)).FisError = int8(1)
}
@@ -12318,7 +13029,7 @@ func datetimeError(tls *libc.TLS, p uintptr) { /* sqlite3.c:22232:13: */
// that the YYYY-MM-DD is according to the Gregorian calendar.
//
// Reference: Meeus page 61
-func computeJD(tls *libc.TLS, p uintptr) { /* sqlite3.c:22243:13: */
+func computeJD(tls *libc.TLS, p uintptr) { /* sqlite3.c:22423:13: */
var Y int32
var M int32
var D int32
@@ -12374,7 +13085,7 @@ func computeJD(tls *libc.TLS, p uintptr) { /* sqlite3.c:22243:13: */
// Write the result into the DateTime structure and return 0
// on success and 1 if the input string is not a well-formed
// date.
-func parseYyyyMmDd(tls *libc.TLS, zDate uintptr, p uintptr) int32 { /* sqlite3.c:22293:12: */
+func parseYyyyMmDd(tls *libc.TLS, zDate uintptr, p uintptr) int32 { /* sqlite3.c:22473:12: */
bp := tls.Alloc(36)
defer tls.Free(36)
@@ -12392,7 +13103,7 @@ func parseYyyyMmDd(tls *libc.TLS, zDate uintptr, p uintptr) int32 { /* sqlite3.c
} else {
neg = 0
}
- if getDigits(tls, zDate, ts+293 /* "40f-21a-21d" */, libc.VaList(bp, bp+24 /* &Y */, bp+28 /* &M */, bp+32 /* &D */)) != 3 {
+ if getDigits(tls, zDate, ts+345 /* "40f-21a-21d" */, libc.VaList(bp, bp+24 /* &Y */, bp+28 /* &M */, bp+32 /* &D */)) != 3 {
return 1
}
zDate += uintptr(10)
@@ -12425,7 +13136,7 @@ func parseYyyyMmDd(tls *libc.TLS, zDate uintptr, p uintptr) int32 { /* sqlite3.c
// Set the time to the current time reported by the VFS.
//
// Return the number of errors.
-func setDateTimeToCurrent(tls *libc.TLS, context uintptr, p uintptr) int32 { /* sqlite3.c:22330:12: */
+func setDateTimeToCurrent(tls *libc.TLS, context uintptr, p uintptr) int32 { /* sqlite3.c:22510:12: */
(*DateTime)(unsafe.Pointer(p)).FiJD = Xsqlite3StmtCurrentTime(tls, context)
if (*DateTime)(unsafe.Pointer(p)).FiJD > int64(0) {
(*DateTime)(unsafe.Pointer(p)).FvalidJD = int8(1)
@@ -12440,7 +13151,7 @@ func setDateTimeToCurrent(tls *libc.TLS, context uintptr, p uintptr) int32 { /*
// or the number of seconds since 1970. If the value if r is within
// range of a julian day number, install it as such and set validJD.
// If the value is a valid unix timestamp, put it in p->s and set p->rawS.
-func setRawDateNumber(tls *libc.TLS, p uintptr, r float64) { /* sqlite3.c:22346:13: */
+func setRawDateNumber(tls *libc.TLS, p uintptr, r float64) { /* sqlite3.c:22526:13: */
(*DateTime)(unsafe.Pointer(p)).Fs = r
(*DateTime)(unsafe.Pointer(p)).FrawS = int8(1)
if (r >= 0.0) && (r < 5373484.5) {
@@ -12463,7 +13174,7 @@ func setRawDateNumber(tls *libc.TLS, p uintptr, r float64) { /* sqlite3.c:22346:
// (":SS.FFF") is option. The year and date can be omitted as long
// as there is a time string. The time string can be omitted as long
// as there is a year and date.
-func parseDateOrTime(tls *libc.TLS, context uintptr, zDate uintptr, p uintptr) int32 { /* sqlite3.c:22371:12: */
+func parseDateOrTime(tls *libc.TLS, context uintptr, zDate uintptr, p uintptr) int32 { /* sqlite3.c:22551:12: */
bp := tls.Alloc(8)
defer tls.Free(8)
@@ -12473,7 +13184,7 @@ func parseDateOrTime(tls *libc.TLS, context uintptr, zDate uintptr, p uintptr) i
return 0
} else if parseHhMmSs(tls, zDate, p) == 0 {
return 0
- } else if (Xsqlite3StrICmp(tls, zDate, ts+305 /* "now" */) == 0) && (Xsqlite3NotPureFunc(tls, context) != 0) {
+ } else if (Xsqlite3StrICmp(tls, zDate, ts+357 /* "now" */) == 0) && (Xsqlite3NotPureFunc(tls, context) != 0) {
return setDateTimeToCurrent(tls, context, p)
} else if Xsqlite3AtoF(tls, zDate, bp /* &r */, Xsqlite3Strlen30(tls, zDate), uint8(SQLITE_UTF8)) > 0 {
setRawDateNumber(tls, p, *(*float64)(unsafe.Pointer(bp /* r */)))
@@ -12492,12 +13203,12 @@ func parseDateOrTime(tls *libc.TLS, context uintptr, zDate uintptr, p uintptr) i
// Return TRUE if the given julian day number is within range.
//
// The input is the JulianDay times 86400000.
-func validJulianDay(tls *libc.TLS, iJD Sqlite3_int64) int32 { /* sqlite3.c:22404:12: */
+func validJulianDay(tls *libc.TLS, iJD Sqlite3_int64) int32 { /* sqlite3.c:22584:12: */
return (libc.Bool32((iJD >= int64(0)) && (iJD <= ((I64((int64(0x1a640))) << 32) | int64(0x1072fdff)))))
}
// Compute the Year, Month, and Day from the julian day number.
-func computeYMD(tls *libc.TLS, p uintptr) { /* sqlite3.c:22411:13: */
+func computeYMD(tls *libc.TLS, p uintptr) { /* sqlite3.c:22591:13: */
var Z int32
var A int32
var B int32
@@ -12542,7 +13253,7 @@ func computeYMD(tls *libc.TLS, p uintptr) { /* sqlite3.c:22411:13: */
}
// Compute the Hour, Minute, and Seconds from the julian day number.
-func computeHMS(tls *libc.TLS, p uintptr) { /* sqlite3.c:22440:13: */
+func computeHMS(tls *libc.TLS, p uintptr) { /* sqlite3.c:22620:13: */
var s int32
if (*DateTime)(unsafe.Pointer(p)).FvalidHMS != 0 {
return
@@ -12561,13 +13272,13 @@ func computeHMS(tls *libc.TLS, p uintptr) { /* sqlite3.c:22440:13: */
}
// Compute both YMD and HMS
-func computeYMD_HMS(tls *libc.TLS, p uintptr) { /* sqlite3.c:22459:13: */
+func computeYMD_HMS(tls *libc.TLS, p uintptr) { /* sqlite3.c:22639:13: */
computeYMD(tls, p)
computeHMS(tls, p)
}
// Clear the YMD and HMS and the TZ
-func clearYMD_HMS_TZ(tls *libc.TLS, p uintptr) { /* sqlite3.c:22467:13: */
+func clearYMD_HMS_TZ(tls *libc.TLS, p uintptr) { /* sqlite3.c:22647:13: */
(*DateTime)(unsafe.Pointer(p)).FvalidYMD = int8(0)
(*DateTime)(unsafe.Pointer(p)).FvalidHMS = int8(0)
(*DateTime)(unsafe.Pointer(p)).FvalidTZ = int8(0)
@@ -12595,7 +13306,7 @@ func clearYMD_HMS_TZ(tls *libc.TLS, p uintptr) { /* sqlite3.c:22467:13: */
// EVIDENCE-OF: R-62172-00036 In this implementation, the standard C
// library function localtime_r() is used to assist in the calculation of
// local time.
-func osLocaltime(tls *libc.TLS, t uintptr, pTm uintptr) int32 { /* sqlite3.c:22505:12: */
+func osLocaltime(tls *libc.TLS, t uintptr, pTm uintptr) int32 { /* sqlite3.c:22685:12: */
var rc int32
var pX uintptr
var mutex uintptr = Xsqlite3MutexAlloc(tls, SQLITE_MUTEX_STATIC_MAIN)
@@ -12618,7 +13329,7 @@ func osLocaltime(tls *libc.TLS, t uintptr, pTm uintptr) int32 { /* sqlite3.c:225
//
// Or, if an error does occur, set *pRc to SQLITE_ERROR. The returned value
// is undefined in this case.
-func localtimeOffset(tls *libc.TLS, p uintptr, pCtx uintptr, pRc uintptr) Sqlite3_int64 { /* sqlite3.c:22544:22: */
+func localtimeOffset(tls *libc.TLS, p uintptr, pCtx uintptr, pRc uintptr) Sqlite3_int64 { /* sqlite3.c:22724:22: */
bp := tls.Alloc(160)
defer tls.Free(160)
@@ -12655,7 +13366,7 @@ func localtimeOffset(tls *libc.TLS, p uintptr, pCtx uintptr, pRc uintptr) Sqlite
computeJD(tls, bp+56 /* &x */)
*(*Time_t)(unsafe.Pointer(bp + 104 /* t */)) = (Time_t(((*DateTime)(unsafe.Pointer(bp+56 /* &x */)).FiJD / int64(1000)) - (int64(21086676) * int64(10000))))
if osLocaltime(tls, bp+104 /* &t */, bp /* &sLocal */) != 0 {
- Xsqlite3_result_error(tls, pCtx, ts+309 /* "local time unava..." */, -1)
+ Xsqlite3_result_error(tls, pCtx, ts+361 /* "local time unava..." */, -1)
*(*int32)(unsafe.Pointer(pRc)) = SQLITE_ERROR
return int64(0)
}
@@ -12690,13 +13401,13 @@ var aXformType = [6]struct {
FrLimit float64
FrXform float64
}{
- {FnName: U8(6), FzName: ts + 332 /* "second" */, FrLimit: 464269060800.0, FrXform: 1000.0},
- {FnName: U8(6), FzName: ts + 339 /* "minute" */, FrLimit: 7737817680.0, FrXform: 60000.0},
- {FnName: U8(4), FzName: ts + 346 /* "hour" */, FrLimit: 128963628.0, FrXform: 3600000.0},
- {FnName: U8(3), FzName: ts + 351 /* "day" */, FrLimit: 5373485.0, FrXform: 86400000.0},
- {FeType: U8(1), FnName: U8(5), FzName: ts + 355 /* "month" */, FrLimit: 176546.0, FrXform: 2592000000.0},
- {FeType: U8(2), FnName: U8(4), FzName: ts + 361 /* "year" */, FrLimit: 14713.0, FrXform: 31536000000.0},
-} /* sqlite3.c:22615:3 */
+ {FnName: U8(6), FzName: ts + 384 /* "second" */, FrLimit: 464269060800.0, FrXform: 1000.0},
+ {FnName: U8(6), FzName: ts + 391 /* "minute" */, FrLimit: 7737817680.0, FrXform: 60000.0},
+ {FnName: U8(4), FzName: ts + 398 /* "hour" */, FrLimit: 128963628.0, FrXform: 3600000.0},
+ {FnName: U8(3), FzName: ts + 403 /* "day" */, FrLimit: 5373485.0, FrXform: 86400000.0},
+ {FeType: U8(1), FnName: U8(5), FzName: ts + 407 /* "month" */, FrLimit: 176546.0, FrXform: 2592000000.0},
+ {FeType: U8(2), FnName: U8(4), FzName: ts + 413 /* "year" */, FrLimit: 14713.0, FrXform: 31536000000.0},
+} /* sqlite3.c:22795:3 */
// Process a modifier to a date-time stamp. The modifiers are
// as follows:
@@ -12720,7 +13431,7 @@ var aXformType = [6]struct {
// is in a system call (i.e. localtime()), then an error message is written
// to context pCtx. If the error is an unrecognized modifier, no error is
// written to pCtx.
-func parseModifier(tls *libc.TLS, pCtx uintptr, z uintptr, n int32, p uintptr) int32 { /* sqlite3.c:22648:12: */
+func parseModifier(tls *libc.TLS, pCtx uintptr, z uintptr, n int32, p uintptr) int32 { /* sqlite3.c:22828:12: */
bp := tls.Alloc(64)
defer tls.Free(64)
@@ -12734,7 +13445,7 @@ func parseModifier(tls *libc.TLS, pCtx uintptr, z uintptr, n int32, p uintptr) i
//
// Assuming the current time value is UTC (a.k.a. GMT), shift it to
// show local time.
- if (Xsqlite3_stricmp(tls, z, ts+366 /* "localtime" */) == 0) && (Xsqlite3NotPureFunc(tls, pCtx) != 0) {
+ if (Xsqlite3_stricmp(tls, z, ts+418 /* "localtime" */) == 0) && (Xsqlite3NotPureFunc(tls, pCtx) != 0) {
computeJD(tls, p)
*(*Sqlite3_int64)(unsafe.Pointer(p /* &.iJD */)) += (localtimeOffset(tls, p, pCtx, bp /* &rc */))
clearYMD_HMS_TZ(tls, p)
@@ -12748,7 +13459,7 @@ func parseModifier(tls *libc.TLS, pCtx uintptr, z uintptr, n int32, p uintptr) i
//
// Treat the current value of p->s as the number of
// seconds since 1970. Convert to a real julian day number.
- if (Xsqlite3_stricmp(tls, z, ts+376 /* "unixepoch" */) == 0) && ((*DateTime)(unsafe.Pointer(p)).FrawS != 0) {
+ if (Xsqlite3_stricmp(tls, z, ts+428 /* "unixepoch" */) == 0) && ((*DateTime)(unsafe.Pointer(p)).FrawS != 0) {
*(*float64)(unsafe.Pointer(bp + 8 /* r */)) = (((*DateTime)(unsafe.Pointer(p)).Fs * 1000.0) + 210866760000000.0)
if (*(*float64)(unsafe.Pointer(bp + 8 /* r */)) >= 0.0) && (*(*float64)(unsafe.Pointer(bp + 8 /* r */)) < 464269060800000.0) {
clearYMD_HMS_TZ(tls, p)
@@ -12757,7 +13468,7 @@ func parseModifier(tls *libc.TLS, pCtx uintptr, z uintptr, n int32, p uintptr) i
(*DateTime)(unsafe.Pointer(p)).FrawS = int8(0)
*(*int32)(unsafe.Pointer(bp /* rc */)) = 0
}
- } else if (Xsqlite3_stricmp(tls, z, ts+386 /* "utc" */) == 0) && (Xsqlite3NotPureFunc(tls, pCtx) != 0) {
+ } else if (Xsqlite3_stricmp(tls, z, ts+438 /* "utc" */) == 0) && (Xsqlite3NotPureFunc(tls, pCtx) != 0) {
if int32((*DateTime)(unsafe.Pointer(p)).FtzSet) == 0 {
var c1 Sqlite3_int64
computeJD(tls, p)
@@ -12782,7 +13493,7 @@ func parseModifier(tls *libc.TLS, pCtx uintptr, z uintptr, n int32, p uintptr) i
// Move the date to the same time on the next occurrence of
// weekday N where 0==Sunday, 1==Monday, and so forth. If the
// date is already on the appropriate weekday, this is a no-op.
- if ((((Xsqlite3_strnicmp(tls, z, ts+390 /* "weekday " */, 8) == 0) &&
+ if ((((Xsqlite3_strnicmp(tls, z, ts+442 /* "weekday " */, 8) == 0) &&
(Xsqlite3AtoF(tls, (z+8), bp+8 /* &r */, Xsqlite3Strlen30(tls, (z+8)), uint8(SQLITE_UTF8)) > 0)) &&
((float64(libc.AssignInt32(&n, int32(*(*float64)(unsafe.Pointer(bp + 8 /* r */)))))) == *(*float64)(unsafe.Pointer(bp + 8 /* r */)))) && (n >= 0)) && (*(*float64)(unsafe.Pointer(bp + 8 /* r */)) < float64(7)) {
var Z Sqlite3_int64
@@ -12807,7 +13518,7 @@ func parseModifier(tls *libc.TLS, pCtx uintptr, z uintptr, n int32, p uintptr) i
//
// Move the date backwards to the beginning of the current day,
// or month or year.
- if Xsqlite3_strnicmp(tls, z, ts+399 /* "start of " */, 9) != 0 {
+ if Xsqlite3_strnicmp(tls, z, ts+451 /* "start of " */, 9) != 0 {
break
}
if (!(int32((*DateTime)(unsafe.Pointer(p)).FvalidJD) != 0) && !(int32((*DateTime)(unsafe.Pointer(p)).FvalidYMD) != 0)) && !(int32((*DateTime)(unsafe.Pointer(p)).FvalidHMS) != 0) {
@@ -12821,14 +13532,14 @@ func parseModifier(tls *libc.TLS, pCtx uintptr, z uintptr, n int32, p uintptr) i
(*DateTime)(unsafe.Pointer(p)).FrawS = int8(0)
(*DateTime)(unsafe.Pointer(p)).FvalidTZ = int8(0)
(*DateTime)(unsafe.Pointer(p)).FvalidJD = int8(0)
- if Xsqlite3_stricmp(tls, z, ts+355 /* "month" */) == 0 {
+ if Xsqlite3_stricmp(tls, z, ts+407 /* "month" */) == 0 {
(*DateTime)(unsafe.Pointer(p)).FD = 1
*(*int32)(unsafe.Pointer(bp /* rc */)) = 0
- } else if Xsqlite3_stricmp(tls, z, ts+361 /* "year" */) == 0 {
+ } else if Xsqlite3_stricmp(tls, z, ts+413 /* "year" */) == 0 {
(*DateTime)(unsafe.Pointer(p)).FM = 1
(*DateTime)(unsafe.Pointer(p)).FD = 1
*(*int32)(unsafe.Pointer(bp /* rc */)) = 0
- } else if Xsqlite3_stricmp(tls, z, ts+351 /* "day" */) == 0 {
+ } else if Xsqlite3_stricmp(tls, z, ts+403 /* "day" */) == 0 {
*(*int32)(unsafe.Pointer(bp /* rc */)) = 0
}
break
@@ -12983,7 +13694,7 @@ func parseModifier(tls *libc.TLS, pCtx uintptr, z uintptr, n int32, p uintptr) i
//
// If there are zero parameters (if even argv[0] is undefined)
// then assume a default value of "now" for argv[0].
-func isDate(tls *libc.TLS, context uintptr, argc int32, argv uintptr, p uintptr) int32 { /* sqlite3.c:22865:12: */
+func isDate(tls *libc.TLS, context uintptr, argc int32, argv uintptr, p uintptr) int32 { /* sqlite3.c:23045:12: */
var i int32
var n int32
var z uintptr
@@ -13024,7 +13735,7 @@ func isDate(tls *libc.TLS, context uintptr, argc int32, argv uintptr, p uintptr)
// julianday( TIMESTRING, MOD, MOD, ...)
//
// Return the julian day number of the date specified in the arguments
-func juliandayFunc(tls *libc.TLS, context uintptr, argc int32, argv uintptr) { /* sqlite3.c:22909:13: */
+func juliandayFunc(tls *libc.TLS, context uintptr, argc int32, argv uintptr) { /* sqlite3.c:23089:13: */
bp := tls.Alloc(48)
defer tls.Free(48)
@@ -13039,7 +13750,7 @@ func juliandayFunc(tls *libc.TLS, context uintptr, argc int32, argv uintptr) { /
// datetime( TIMESTRING, MOD, MOD, ...)
//
// Return YYYY-MM-DD HH:MM:SS
-func datetimeFunc(tls *libc.TLS, context uintptr, argc int32, argv uintptr) { /* sqlite3.c:22926:13: */
+func datetimeFunc(tls *libc.TLS, context uintptr, argc int32, argv uintptr) { /* sqlite3.c:23106:13: */
bp := tls.Alloc(196)
defer tls.Free(196)
@@ -13049,7 +13760,7 @@ func datetimeFunc(tls *libc.TLS, context uintptr, argc int32, argv uintptr) { /*
// var zBuf [100]int8 at bp+96, 100
computeYMD_HMS(tls, bp+48 /* &x */)
- Xsqlite3_snprintf(tls, int32(unsafe.Sizeof([100]int8{})), bp+96 /* &zBuf[0] */, ts+409, /* "%04d-%02d-%02d %..." */
+ Xsqlite3_snprintf(tls, int32(unsafe.Sizeof([100]int8{})), bp+96 /* &zBuf[0] */, ts+461, /* "%04d-%02d-%02d %..." */
libc.VaList(bp, (*DateTime)(unsafe.Pointer(bp+48 /* &x */)).FY, (*DateTime)(unsafe.Pointer(bp+48 /* &x */)).FM, (*DateTime)(unsafe.Pointer(bp+48 /* &x */)).FD, (*DateTime)(unsafe.Pointer(bp+48 /* &x */)).Fh, (*DateTime)(unsafe.Pointer(bp+48 /* &x */)).Fm, int32((*DateTime)(unsafe.Pointer(bp+48 /* &x */)).Fs)))
Xsqlite3_result_text(tls, context, bp+96 /* &zBuf[0] */, -1, libc.UintptrFromInt32(-1))
}
@@ -13058,7 +13769,7 @@ func datetimeFunc(tls *libc.TLS, context uintptr, argc int32, argv uintptr) { /*
// time( TIMESTRING, MOD, MOD, ...)
//
// Return HH:MM:SS
-func timeFunc(tls *libc.TLS, context uintptr, argc int32, argv uintptr) { /* sqlite3.c:22946:13: */
+func timeFunc(tls *libc.TLS, context uintptr, argc int32, argv uintptr) { /* sqlite3.c:23126:13: */
bp := tls.Alloc(172)
defer tls.Free(172)
@@ -13068,7 +13779,7 @@ func timeFunc(tls *libc.TLS, context uintptr, argc int32, argv uintptr) { /* sql
// var zBuf [100]int8 at bp+72, 100
computeHMS(tls, bp+24 /* &x */)
- Xsqlite3_snprintf(tls, int32(unsafe.Sizeof([100]int8{})), bp+72 /* &zBuf[0] */, ts+439 /* "%02d:%02d:%02d" */, libc.VaList(bp, (*DateTime)(unsafe.Pointer(bp+24 /* &x */)).Fh, (*DateTime)(unsafe.Pointer(bp+24 /* &x */)).Fm, int32((*DateTime)(unsafe.Pointer(bp+24 /* &x */)).Fs)))
+ Xsqlite3_snprintf(tls, int32(unsafe.Sizeof([100]int8{})), bp+72 /* &zBuf[0] */, ts+491 /* "%02d:%02d:%02d" */, libc.VaList(bp, (*DateTime)(unsafe.Pointer(bp+24 /* &x */)).Fh, (*DateTime)(unsafe.Pointer(bp+24 /* &x */)).Fm, int32((*DateTime)(unsafe.Pointer(bp+24 /* &x */)).Fs)))
Xsqlite3_result_text(tls, context, bp+72 /* &zBuf[0] */, -1, libc.UintptrFromInt32(-1))
}
}
@@ -13076,7 +13787,7 @@ func timeFunc(tls *libc.TLS, context uintptr, argc int32, argv uintptr) { /* sql
// date( TIMESTRING, MOD, MOD, ...)
//
// Return YYYY-MM-DD
-func dateFunc(tls *libc.TLS, context uintptr, argc int32, argv uintptr) { /* sqlite3.c:22965:13: */
+func dateFunc(tls *libc.TLS, context uintptr, argc int32, argv uintptr) { /* sqlite3.c:23145:13: */
bp := tls.Alloc(172)
defer tls.Free(172)
@@ -13086,7 +13797,7 @@ func dateFunc(tls *libc.TLS, context uintptr, argc int32, argv uintptr) { /* sql
// var zBuf [100]int8 at bp+72, 100
computeYMD(tls, bp+24 /* &x */)
- Xsqlite3_snprintf(tls, int32(unsafe.Sizeof([100]int8{})), bp+72 /* &zBuf[0] */, ts+454 /* "%04d-%02d-%02d" */, libc.VaList(bp, (*DateTime)(unsafe.Pointer(bp+24 /* &x */)).FY, (*DateTime)(unsafe.Pointer(bp+24 /* &x */)).FM, (*DateTime)(unsafe.Pointer(bp+24 /* &x */)).FD))
+ Xsqlite3_snprintf(tls, int32(unsafe.Sizeof([100]int8{})), bp+72 /* &zBuf[0] */, ts+506 /* "%04d-%02d-%02d" */, libc.VaList(bp, (*DateTime)(unsafe.Pointer(bp+24 /* &x */)).FY, (*DateTime)(unsafe.Pointer(bp+24 /* &x */)).FM, (*DateTime)(unsafe.Pointer(bp+24 /* &x */)).FD))
Xsqlite3_result_text(tls, context, bp+72 /* &zBuf[0] */, -1, libc.UintptrFromInt32(-1))
}
}
@@ -13108,7 +13819,7 @@ func dateFunc(tls *libc.TLS, context uintptr, argc int32, argv uintptr) { /* sql
// %W week of year 00-53
// %Y year 0000-9999
// %% %
-func strftimeFunc(tls *libc.TLS, context uintptr, argc int32, argv uintptr) { /* sqlite3.c:22998:13: */
+func strftimeFunc(tls *libc.TLS, context uintptr, argc int32, argv uintptr) { /* sqlite3.c:23178:13: */
bp := tls.Alloc(280)
defer tls.Free(280)
@@ -13213,7 +13924,7 @@ __3:
i++
switch int32(*(*int8)(unsafe.Pointer(zFmt + uintptr(i)))) {
case 'd':
- Xsqlite3_snprintf(tls, 3, (z + uintptr(j)), ts+469 /* "%02d" */, libc.VaList(bp, (*DateTime)(unsafe.Pointer(bp+80 /* &x */)).FD))
+ Xsqlite3_snprintf(tls, 3, (z + uintptr(j)), ts+521 /* "%02d" */, libc.VaList(bp, (*DateTime)(unsafe.Pointer(bp+80 /* &x */)).FD))
j = j + (uint64(2))
break
fallthrough
@@ -13223,14 +13934,14 @@ __3:
if s > 59.999 {
s = 59.999
}
- Xsqlite3_snprintf(tls, 7, (z + uintptr(j)), ts+474 /* "%06.3f" */, libc.VaList(bp+8, s))
+ Xsqlite3_snprintf(tls, 7, (z + uintptr(j)), ts+526 /* "%06.3f" */, libc.VaList(bp+8, s))
j = j + (Size_t(Xsqlite3Strlen30(tls, (z + uintptr(j)))))
break
}
fallthrough
case 'H':
- Xsqlite3_snprintf(tls, 3, (z + uintptr(j)), ts+469 /* "%02d" */, libc.VaList(bp+16, (*DateTime)(unsafe.Pointer(bp+80 /* &x */)).Fh))
+ Xsqlite3_snprintf(tls, 3, (z + uintptr(j)), ts+521 /* "%02d" */, libc.VaList(bp+16, (*DateTime)(unsafe.Pointer(bp+80 /* &x */)).Fh))
j = j + (uint64(2))
break
fallthrough
@@ -13248,10 +13959,10 @@ __3:
if int32(*(*int8)(unsafe.Pointer(zFmt + uintptr(i)))) == 'W' {
var wd int32 // 0=Monday, 1=Tuesday, ... 6=Sunday
wd = (int32((((*DateTime)(unsafe.Pointer(bp+80 /* &x */)).FiJD + int64(43200000)) / int64(86400000)) % int64(7)))
- Xsqlite3_snprintf(tls, 3, (z + uintptr(j)), ts+469 /* "%02d" */, libc.VaList(bp+24, (((nDay+7)-wd)/7)))
+ Xsqlite3_snprintf(tls, 3, (z + uintptr(j)), ts+521 /* "%02d" */, libc.VaList(bp+24, (((nDay+7)-wd)/7)))
j = j + (uint64(2))
} else {
- Xsqlite3_snprintf(tls, 4, (z + uintptr(j)), ts+481 /* "%03d" */, libc.VaList(bp+32, (nDay+1)))
+ Xsqlite3_snprintf(tls, 4, (z + uintptr(j)), ts+533 /* "%03d" */, libc.VaList(bp+32, (nDay+1)))
j = j + (uint64(3))
}
break
@@ -13260,19 +13971,19 @@ __3:
fallthrough
case 'J':
{
- Xsqlite3_snprintf(tls, 20, (z + uintptr(j)), ts+486 /* "%.16g" */, libc.VaList(bp+40, (float64((*DateTime)(unsafe.Pointer(bp+80 /* &x */)).FiJD)/86400000.0)))
+ Xsqlite3_snprintf(tls, 20, (z + uintptr(j)), ts+538 /* "%.16g" */, libc.VaList(bp+40, (float64((*DateTime)(unsafe.Pointer(bp+80 /* &x */)).FiJD)/86400000.0)))
j = j + (Size_t(Xsqlite3Strlen30(tls, (z + uintptr(j)))))
break
}
fallthrough
case 'm':
- Xsqlite3_snprintf(tls, 3, (z + uintptr(j)), ts+469 /* "%02d" */, libc.VaList(bp+48, (*DateTime)(unsafe.Pointer(bp+80 /* &x */)).FM))
+ Xsqlite3_snprintf(tls, 3, (z + uintptr(j)), ts+521 /* "%02d" */, libc.VaList(bp+48, (*DateTime)(unsafe.Pointer(bp+80 /* &x */)).FM))
j = j + (uint64(2))
break
fallthrough
case 'M':
- Xsqlite3_snprintf(tls, 3, (z + uintptr(j)), ts+469 /* "%02d" */, libc.VaList(bp+56, (*DateTime)(unsafe.Pointer(bp+80 /* &x */)).Fm))
+ Xsqlite3_snprintf(tls, 3, (z + uintptr(j)), ts+521 /* "%02d" */, libc.VaList(bp+56, (*DateTime)(unsafe.Pointer(bp+80 /* &x */)).Fm))
j = j + (uint64(2))
break
fallthrough
@@ -13286,7 +13997,7 @@ __3:
}
fallthrough
case 'S':
- Xsqlite3_snprintf(tls, 3, (z + uintptr(j)), ts+469 /* "%02d" */, libc.VaList(bp+64, int32((*DateTime)(unsafe.Pointer(bp+80 /* &x */)).Fs)))
+ Xsqlite3_snprintf(tls, 3, (z + uintptr(j)), ts+521 /* "%02d" */, libc.VaList(bp+64, int32((*DateTime)(unsafe.Pointer(bp+80 /* &x */)).Fs)))
j = j + (uint64(2))
break
fallthrough
@@ -13299,7 +14010,7 @@ __3:
fallthrough
case 'Y':
{
- Xsqlite3_snprintf(tls, 5, (z + uintptr(j)), ts+492 /* "%04d" */, libc.VaList(bp+72, (*DateTime)(unsafe.Pointer(bp+80 /* &x */)).FY))
+ Xsqlite3_snprintf(tls, 5, (z + uintptr(j)), ts+544 /* "%04d" */, libc.VaList(bp+72, (*DateTime)(unsafe.Pointer(bp+80 /* &x */)).FY))
j = j + (Size_t(Xsqlite3Strlen30(tls, (z + uintptr(j)))))
break
@@ -13324,7 +14035,7 @@ __3:
// current_time()
//
// This function returns the same value as time('now').
-func ctimeFunc(tls *libc.TLS, context uintptr, NotUsed int32, NotUsed2 uintptr) { /* sqlite3.c:23136:13: */
+func ctimeFunc(tls *libc.TLS, context uintptr, NotUsed int32, NotUsed2 uintptr) { /* sqlite3.c:23316:13: */
_ = NotUsed
_ = NotUsed2
timeFunc(tls, context, 0, uintptr(0))
@@ -13333,7 +14044,7 @@ func ctimeFunc(tls *libc.TLS, context uintptr, NotUsed int32, NotUsed2 uintptr)
// current_date()
//
// This function returns the same value as date('now').
-func cdateFunc(tls *libc.TLS, context uintptr, NotUsed int32, NotUsed2 uintptr) { /* sqlite3.c:23150:13: */
+func cdateFunc(tls *libc.TLS, context uintptr, NotUsed int32, NotUsed2 uintptr) { /* sqlite3.c:23330:13: */
_ = NotUsed
_ = NotUsed2
dateFunc(tls, context, 0, uintptr(0))
@@ -13342,7 +14053,7 @@ func cdateFunc(tls *libc.TLS, context uintptr, NotUsed int32, NotUsed2 uintptr)
// current_timestamp()
//
// This function returns the same value as datetime('now').
-func ctimestampFunc(tls *libc.TLS, context uintptr, NotUsed int32, NotUsed2 uintptr) { /* sqlite3.c:23164:13: */
+func ctimestampFunc(tls *libc.TLS, context uintptr, NotUsed int32, NotUsed2 uintptr) { /* sqlite3.c:23344:13: */
_ = NotUsed
_ = NotUsed2
datetimeFunc(tls, context, 0, uintptr(0))
@@ -13351,19 +14062,19 @@ func ctimestampFunc(tls *libc.TLS, context uintptr, NotUsed int32, NotUsed2 uint
// This function registered all of the above C functions as SQL
// functions. This should be the only routine in this file with
// external linkage.
-func Xsqlite3RegisterDateTimeFunctions(tls *libc.TLS) { /* sqlite3.c:23224:21: */
+func Xsqlite3RegisterDateTimeFunctions(tls *libc.TLS) { /* sqlite3.c:23404:21: */
Xsqlite3InsertBuiltinFuncs(tls, uintptr(unsafe.Pointer(&aDateTimeFuncs)), (int32(uint64(unsafe.Sizeof(aDateTimeFuncs)) / uint64(unsafe.Sizeof(FuncDef{})))))
}
var aDateTimeFuncs = [8]FuncDef{
- {FnArg: int8(-1), FfuncFlags: (U32((SQLITE_FUNC_SLOCHNG | SQLITE_UTF8) | SQLITE_FUNC_CONSTANT)), FpUserData: 0, FxSFunc: 0, FzName: ts + 497 /* "julianday" */},
- {FnArg: int8(-1), FfuncFlags: (U32((SQLITE_FUNC_SLOCHNG | SQLITE_UTF8) | SQLITE_FUNC_CONSTANT)), FpUserData: 0, FxSFunc: 0, FzName: ts + 507 /* "date" */},
- {FnArg: int8(-1), FfuncFlags: (U32((SQLITE_FUNC_SLOCHNG | SQLITE_UTF8) | SQLITE_FUNC_CONSTANT)), FpUserData: 0, FxSFunc: 0, FzName: ts + 512 /* "time" */},
- {FnArg: int8(-1), FfuncFlags: (U32((SQLITE_FUNC_SLOCHNG | SQLITE_UTF8) | SQLITE_FUNC_CONSTANT)), FpUserData: 0, FxSFunc: 0, FzName: ts + 517 /* "datetime" */},
- {FnArg: int8(-1), FfuncFlags: (U32((SQLITE_FUNC_SLOCHNG | SQLITE_UTF8) | SQLITE_FUNC_CONSTANT)), FpUserData: 0, FxSFunc: 0, FzName: ts + 526 /* "strftime" */},
- {FfuncFlags: (U32(SQLITE_FUNC_SLOCHNG | SQLITE_UTF8)), FxSFunc: 0, FzName: ts + 535 /* "current_time" */},
- {FfuncFlags: (U32(SQLITE_FUNC_SLOCHNG | SQLITE_UTF8)), FxSFunc: 0, FzName: ts + 548 /* "current_timestam..." */},
- {FfuncFlags: (U32(SQLITE_FUNC_SLOCHNG | SQLITE_UTF8)), FxSFunc: 0, FzName: ts + 566 /* "current_date" */}} /* sqlite3.c:23225:18 */
+ {FnArg: int8(-1), FfuncFlags: (U32((SQLITE_FUNC_SLOCHNG | SQLITE_UTF8) | SQLITE_FUNC_CONSTANT)), FpUserData: 0, FxSFunc: 0, FzName: ts + 549 /* "julianday" */},
+ {FnArg: int8(-1), FfuncFlags: (U32((SQLITE_FUNC_SLOCHNG | SQLITE_UTF8) | SQLITE_FUNC_CONSTANT)), FpUserData: 0, FxSFunc: 0, FzName: ts + 559 /* "date" */},
+ {FnArg: int8(-1), FfuncFlags: (U32((SQLITE_FUNC_SLOCHNG | SQLITE_UTF8) | SQLITE_FUNC_CONSTANT)), FpUserData: 0, FxSFunc: 0, FzName: ts + 564 /* "time" */},
+ {FnArg: int8(-1), FfuncFlags: (U32((SQLITE_FUNC_SLOCHNG | SQLITE_UTF8) | SQLITE_FUNC_CONSTANT)), FpUserData: 0, FxSFunc: 0, FzName: ts + 569 /* "datetime" */},
+ {FnArg: int8(-1), FfuncFlags: (U32((SQLITE_FUNC_SLOCHNG | SQLITE_UTF8) | SQLITE_FUNC_CONSTANT)), FpUserData: 0, FxSFunc: 0, FzName: ts + 578 /* "strftime" */},
+ {FfuncFlags: (U32(SQLITE_FUNC_SLOCHNG | SQLITE_UTF8)), FxSFunc: 0, FzName: ts + 587 /* "current_time" */},
+ {FfuncFlags: (U32(SQLITE_FUNC_SLOCHNG | SQLITE_UTF8)), FxSFunc: 0, FzName: ts + 600 /* "current_timestam..." */},
+ {FfuncFlags: (U32(SQLITE_FUNC_SLOCHNG | SQLITE_UTF8)), FxSFunc: 0, FzName: ts + 618 /* "current_date" */}} /* sqlite3.c:23405:18 */
//************* End of date.c ***********************************************
//************* Begin file os.c *********************************************
@@ -13415,28 +14126,28 @@ var aDateTimeFuncs = [8]FuncDef{
// of the sqlite3_file object. This is mostly just syntactic sugar. All
// of this would be completely automatic if SQLite were coded using
// C++ instead of plain old C.
-func Xsqlite3OsClose(tls *libc.TLS, pId uintptr) { /* sqlite3.c:23327:21: */
+func Xsqlite3OsClose(tls *libc.TLS, pId uintptr) { /* sqlite3.c:23507:21: */
if (*Sqlite3_file)(unsafe.Pointer(pId)).FpMethods != 0 {
(*(*func(*libc.TLS, uintptr) int32)(unsafe.Pointer(((*Sqlite3_file)(unsafe.Pointer(pId)).FpMethods + 8 /* &.xClose */))))(tls, pId)
(*Sqlite3_file)(unsafe.Pointer(pId)).FpMethods = uintptr(0)
}
}
-func Xsqlite3OsRead(tls *libc.TLS, id uintptr, pBuf uintptr, amt int32, offset I64) int32 { /* sqlite3.c:23333:20: */
+func Xsqlite3OsRead(tls *libc.TLS, id uintptr, pBuf uintptr, amt int32, offset I64) int32 { /* sqlite3.c:23513:20: */
return (*(*func(*libc.TLS, uintptr, uintptr, int32, Sqlite3_int64) int32)(unsafe.Pointer(((*Sqlite3_file)(unsafe.Pointer(id)).FpMethods + 16 /* &.xRead */))))(tls, id, pBuf, amt, offset)
}
-func Xsqlite3OsWrite(tls *libc.TLS, id uintptr, pBuf uintptr, amt int32, offset I64) int32 { /* sqlite3.c:23337:20: */
+func Xsqlite3OsWrite(tls *libc.TLS, id uintptr, pBuf uintptr, amt int32, offset I64) int32 { /* sqlite3.c:23517:20: */
return (*(*func(*libc.TLS, uintptr, uintptr, int32, Sqlite3_int64) int32)(unsafe.Pointer(((*Sqlite3_file)(unsafe.Pointer(id)).FpMethods + 24 /* &.xWrite */))))(tls, id, pBuf, amt, offset)
}
-func Xsqlite3OsTruncate(tls *libc.TLS, id uintptr, size I64) int32 { /* sqlite3.c:23341:20: */
+func Xsqlite3OsTruncate(tls *libc.TLS, id uintptr, size I64) int32 { /* sqlite3.c:23521:20: */
return (*(*func(*libc.TLS, uintptr, Sqlite3_int64) int32)(unsafe.Pointer(((*Sqlite3_file)(unsafe.Pointer(id)).FpMethods + 32 /* &.xTruncate */))))(tls, id, size)
}
-func Xsqlite3OsSync(tls *libc.TLS, id uintptr, flags int32) int32 { /* sqlite3.c:23344:20: */
+func Xsqlite3OsSync(tls *libc.TLS, id uintptr, flags int32) int32 { /* sqlite3.c:23524:20: */
if flags != 0 {
return (*(*func(*libc.TLS, uintptr, int32) int32)(unsafe.Pointer(((*Sqlite3_file)(unsafe.Pointer(id)).FpMethods + 40 /* &.xSync */))))(tls, id, flags)
@@ -13444,21 +14155,21 @@ func Xsqlite3OsSync(tls *libc.TLS, id uintptr, flags int32) int32 { /* sqlite3.c
return SQLITE_OK
}
-func Xsqlite3OsFileSize(tls *libc.TLS, id uintptr, pSize uintptr) int32 { /* sqlite3.c:23348:20: */
+func Xsqlite3OsFileSize(tls *libc.TLS, id uintptr, pSize uintptr) int32 { /* sqlite3.c:23528:20: */
return (*(*func(*libc.TLS, uintptr, uintptr) int32)(unsafe.Pointer(((*Sqlite3_file)(unsafe.Pointer(id)).FpMethods + 48 /* &.xFileSize */))))(tls, id, pSize)
}
-func Xsqlite3OsLock(tls *libc.TLS, id uintptr, lockType int32) int32 { /* sqlite3.c:23352:20: */
+func Xsqlite3OsLock(tls *libc.TLS, id uintptr, lockType int32) int32 { /* sqlite3.c:23532:20: */
return (*(*func(*libc.TLS, uintptr, int32) int32)(unsafe.Pointer(((*Sqlite3_file)(unsafe.Pointer(id)).FpMethods + 56 /* &.xLock */))))(tls, id, lockType)
}
-func Xsqlite3OsUnlock(tls *libc.TLS, id uintptr, lockType int32) int32 { /* sqlite3.c:23356:20: */
+func Xsqlite3OsUnlock(tls *libc.TLS, id uintptr, lockType int32) int32 { /* sqlite3.c:23536:20: */
return (*(*func(*libc.TLS, uintptr, int32) int32)(unsafe.Pointer(((*Sqlite3_file)(unsafe.Pointer(id)).FpMethods + 64 /* &.xUnlock */))))(tls, id, lockType)
}
-func Xsqlite3OsCheckReservedLock(tls *libc.TLS, id uintptr, pResOut uintptr) int32 { /* sqlite3.c:23359:20: */
+func Xsqlite3OsCheckReservedLock(tls *libc.TLS, id uintptr, pResOut uintptr) int32 { /* sqlite3.c:23539:20: */
return (*(*func(*libc.TLS, uintptr, uintptr) int32)(unsafe.Pointer(((*Sqlite3_file)(unsafe.Pointer(id)).FpMethods + 72 /* &.xCheckReservedLock */))))(tls, id, pResOut)
}
@@ -13469,20 +14180,20 @@ func Xsqlite3OsCheckReservedLock(tls *libc.TLS, id uintptr, pResOut uintptr) int
// really care if the VFS receives and understands the information since it
// is only a hint and can be safely ignored. The sqlite3OsFileControlHint()
// routine has no return value since the return value would be meaningless.
-func Xsqlite3OsFileControl(tls *libc.TLS, id uintptr, op int32, pArg uintptr) int32 { /* sqlite3.c:23372:20: */
+func Xsqlite3OsFileControl(tls *libc.TLS, id uintptr, op int32, pArg uintptr) int32 { /* sqlite3.c:23552:20: */
if (*Sqlite3_file)(unsafe.Pointer(id)).FpMethods == uintptr(0) {
return SQLITE_NOTFOUND
}
return (*(*func(*libc.TLS, uintptr, int32, uintptr) int32)(unsafe.Pointer(((*Sqlite3_file)(unsafe.Pointer(id)).FpMethods + 80 /* &.xFileControl */))))(tls, id, op, pArg)
}
-func Xsqlite3OsFileControlHint(tls *libc.TLS, id uintptr, op int32, pArg uintptr) { /* sqlite3.c:23400:21: */
+func Xsqlite3OsFileControlHint(tls *libc.TLS, id uintptr, op int32, pArg uintptr) { /* sqlite3.c:23580:21: */
if (*Sqlite3_file)(unsafe.Pointer(id)).FpMethods != 0 {
(*(*func(*libc.TLS, uintptr, int32, uintptr) int32)(unsafe.Pointer(((*Sqlite3_file)(unsafe.Pointer(id)).FpMethods + 80 /* &.xFileControl */))))(tls, id, op, pArg)
}
}
-func Xsqlite3OsSectorSize(tls *libc.TLS, id uintptr) int32 { /* sqlite3.c:23404:20: */
+func Xsqlite3OsSectorSize(tls *libc.TLS, id uintptr) int32 { /* sqlite3.c:23584:20: */
var xSectorSize uintptr = (*sqlite3_io_methods)(unsafe.Pointer((*Sqlite3_file)(unsafe.Pointer(id)).FpMethods)).FxSectorSize
return func() int32 {
if xSectorSize != 0 {
@@ -13492,40 +14203,40 @@ func Xsqlite3OsSectorSize(tls *libc.TLS, id uintptr) int32 { /* sqlite3.c:23404:
}()
}
-func Xsqlite3OsDeviceCharacteristics(tls *libc.TLS, id uintptr) int32 { /* sqlite3.c:23408:20: */
+func Xsqlite3OsDeviceCharacteristics(tls *libc.TLS, id uintptr) int32 { /* sqlite3.c:23588:20: */
return (*(*func(*libc.TLS, uintptr) int32)(unsafe.Pointer(((*Sqlite3_file)(unsafe.Pointer(id)).FpMethods + 96 /* &.xDeviceCharacteristics */))))(tls, id)
}
-func Xsqlite3OsShmLock(tls *libc.TLS, id uintptr, offset int32, n int32, flags int32) int32 { /* sqlite3.c:23412:20: */
+func Xsqlite3OsShmLock(tls *libc.TLS, id uintptr, offset int32, n int32, flags int32) int32 { /* sqlite3.c:23592:20: */
return (*(*func(*libc.TLS, uintptr, int32, int32, int32) int32)(unsafe.Pointer(((*Sqlite3_file)(unsafe.Pointer(id)).FpMethods + 112 /* &.xShmLock */))))(tls, id, offset, n, flags)
}
-func Xsqlite3OsShmBarrier(tls *libc.TLS, id uintptr) { /* sqlite3.c:23415:21: */
+func Xsqlite3OsShmBarrier(tls *libc.TLS, id uintptr) { /* sqlite3.c:23595:21: */
(*(*func(*libc.TLS, uintptr))(unsafe.Pointer(((*Sqlite3_file)(unsafe.Pointer(id)).FpMethods + 120 /* &.xShmBarrier */))))(tls, id)
}
-func Xsqlite3OsShmUnmap(tls *libc.TLS, id uintptr, deleteFlag int32) int32 { /* sqlite3.c:23418:20: */
+func Xsqlite3OsShmUnmap(tls *libc.TLS, id uintptr, deleteFlag int32) int32 { /* sqlite3.c:23598:20: */
return (*(*func(*libc.TLS, uintptr, int32) int32)(unsafe.Pointer(((*Sqlite3_file)(unsafe.Pointer(id)).FpMethods + 128 /* &.xShmUnmap */))))(tls, id, deleteFlag)
}
-func Xsqlite3OsShmMap(tls *libc.TLS, id uintptr, iPage int32, pgsz int32, bExtend int32, pp uintptr) int32 { /* sqlite3.c:23421:20: */
+func Xsqlite3OsShmMap(tls *libc.TLS, id uintptr, iPage int32, pgsz int32, bExtend int32, pp uintptr) int32 { /* sqlite3.c:23601:20: */
return (*(*func(*libc.TLS, uintptr, int32, int32, int32, uintptr) int32)(unsafe.Pointer(((*Sqlite3_file)(unsafe.Pointer(id)).FpMethods + 104 /* &.xShmMap */))))(tls, id, iPage, pgsz, bExtend, libc.AtomicLoadUintptr(&pp))
}
// The real implementation of xFetch and xUnfetch
-func Xsqlite3OsFetch(tls *libc.TLS, id uintptr, iOff I64, iAmt int32, pp uintptr) int32 { /* sqlite3.c:23435:20: */
+func Xsqlite3OsFetch(tls *libc.TLS, id uintptr, iOff I64, iAmt int32, pp uintptr) int32 { /* sqlite3.c:23615:20: */
return (*(*func(*libc.TLS, uintptr, Sqlite3_int64, int32, uintptr) int32)(unsafe.Pointer(((*Sqlite3_file)(unsafe.Pointer(id)).FpMethods + 136 /* &.xFetch */))))(tls, id, iOff, iAmt, pp)
}
-func Xsqlite3OsUnfetch(tls *libc.TLS, id uintptr, iOff I64, p uintptr) int32 { /* sqlite3.c:23439:20: */
+func Xsqlite3OsUnfetch(tls *libc.TLS, id uintptr, iOff I64, p uintptr) int32 { /* sqlite3.c:23619:20: */
return (*(*func(*libc.TLS, uintptr, Sqlite3_int64, uintptr) int32)(unsafe.Pointer(((*Sqlite3_file)(unsafe.Pointer(id)).FpMethods + 144 /* &.xUnfetch */))))(tls, id, iOff, p)
}
// The next group of routines are convenience wrappers around the
// VFS methods.
-func Xsqlite3OsOpen(tls *libc.TLS, pVfs uintptr, zPath uintptr, pFile uintptr, flags int32, pFlagsOut uintptr) int32 { /* sqlite3.c:23457:20: */
+func Xsqlite3OsOpen(tls *libc.TLS, pVfs uintptr, zPath uintptr, pFile uintptr, flags int32, pFlagsOut uintptr) int32 { /* sqlite3.c:23637:20: */
var rc int32
// 0x87f7f is a mask of SQLITE_OPEN_ flags that are valid to be passed
@@ -13537,45 +14248,50 @@ func Xsqlite3OsOpen(tls *libc.TLS, pVfs uintptr, zPath uintptr, pFile uintptr, f
return rc
}
-func Xsqlite3OsDelete(tls *libc.TLS, pVfs uintptr, zPath uintptr, dirSync int32) int32 { /* sqlite3.c:23474:20: */
+func Xsqlite3OsDelete(tls *libc.TLS, pVfs uintptr, zPath uintptr, dirSync int32) int32 { /* sqlite3.c:23654:20: */
- return (*(*func(*libc.TLS, uintptr, uintptr, int32) int32)(unsafe.Pointer((pVfs + 48 /* &.xDelete */))))(tls, pVfs, zPath, dirSync)
+ if (*Sqlite3_vfs)(unsafe.Pointer(pVfs)).FxDelete != uintptr(0) {
+ return (*(*func(*libc.TLS, uintptr, uintptr, int32) int32)(unsafe.Pointer((pVfs + 48 /* &.xDelete */))))(tls, pVfs, zPath, dirSync)
+ }
+ return SQLITE_OK
}
-func Xsqlite3OsAccess(tls *libc.TLS, pVfs uintptr, zPath uintptr, flags int32, pResOut uintptr) int32 { /* sqlite3.c:23479:20: */
+func Xsqlite3OsAccess(tls *libc.TLS, pVfs uintptr, zPath uintptr, flags int32, pResOut uintptr) int32 { /* sqlite3.c:23659:20: */
return (*(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer((pVfs + 56 /* &.xAccess */))))(tls, pVfs, zPath, flags, pResOut)
}
-func Xsqlite3OsFullPathname(tls *libc.TLS, pVfs uintptr, zPath uintptr, nPathOut int32, zPathOut uintptr) int32 { /* sqlite3.c:23488:20: */
+func Xsqlite3OsFullPathname(tls *libc.TLS, pVfs uintptr, zPath uintptr, nPathOut int32, zPathOut uintptr) int32 { /* sqlite3.c:23668:20: */
*(*int8)(unsafe.Pointer(zPathOut)) = int8(0)
return (*(*func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32)(unsafe.Pointer((pVfs + 64 /* &.xFullPathname */))))(tls, pVfs, zPath, nPathOut, zPathOut)
}
-func Xsqlite3OsDlOpen(tls *libc.TLS, pVfs uintptr, zPath uintptr) uintptr { /* sqlite3.c:23499:21: */
+func Xsqlite3OsDlOpen(tls *libc.TLS, pVfs uintptr, zPath uintptr) uintptr { /* sqlite3.c:23679:21: */
+
+ // tag-20210611-1
return (*(*func(*libc.TLS, uintptr, uintptr) uintptr)(unsafe.Pointer((pVfs + 72 /* &.xDlOpen */))))(tls, pVfs, zPath)
}
-func Xsqlite3OsDlError(tls *libc.TLS, pVfs uintptr, nByte int32, zBufOut uintptr) { /* sqlite3.c:23502:21: */
+func Xsqlite3OsDlError(tls *libc.TLS, pVfs uintptr, nByte int32, zBufOut uintptr) { /* sqlite3.c:23684:21: */
(*(*func(*libc.TLS, uintptr, int32, uintptr))(unsafe.Pointer((pVfs + 80 /* &.xDlError */))))(tls, pVfs, nByte, zBufOut)
}
-func Xsqlite3OsDlSym(tls *libc.TLS, pVfs uintptr, pHdle uintptr, zSym uintptr) uintptr { /* sqlite3.c:23505:21: */
+func Xsqlite3OsDlSym(tls *libc.TLS, pVfs uintptr, pHdle uintptr, zSym uintptr) uintptr { /* sqlite3.c:23687:21: */
return (*(*func(*libc.TLS, uintptr, uintptr, uintptr) uintptr)(unsafe.Pointer((pVfs + 88 /* &.xDlSym */))))(tls, pVfs, pHdle, zSym)
}
-func Xsqlite3OsDlClose(tls *libc.TLS, pVfs uintptr, pHandle uintptr) { /* sqlite3.c:23508:21: */
+func Xsqlite3OsDlClose(tls *libc.TLS, pVfs uintptr, pHandle uintptr) { /* sqlite3.c:23690:21: */
(*(*func(*libc.TLS, uintptr, uintptr))(unsafe.Pointer((pVfs + 96 /* &.xDlClose */))))(tls, pVfs, pHandle)
}
-func Xsqlite3OsRandomness(tls *libc.TLS, pVfs uintptr, nByte int32, zBufOut uintptr) int32 { /* sqlite3.c:23512:20: */
+func Xsqlite3OsRandomness(tls *libc.TLS, pVfs uintptr, nByte int32, zBufOut uintptr) int32 { /* sqlite3.c:23694:20: */
if Xsqlite3Config.FiPrngSeed != 0 {
libc.Xmemset(tls, zBufOut, 0, uint64(nByte))
if nByte > int32(unsafe.Sizeof(uint32(0))) {
nByte = int32(unsafe.Sizeof(uint32(0)))
}
- libc.Xmemcpy(tls, zBufOut, (uintptr(unsafe.Pointer(&Xsqlite3Config)) + 412 /* &.iPrngSeed */), uint64(nByte))
+ libc.Xmemcpy(tls, zBufOut, (uintptr(unsafe.Pointer(&Xsqlite3Config)) + 420 /* &.iPrngSeed */), uint64(nByte))
return SQLITE_OK
} else {
return (*(*func(*libc.TLS, uintptr, int32, uintptr) int32)(unsafe.Pointer((pVfs + 104 /* &.xRandomness */))))(tls, pVfs, nByte, zBufOut)
@@ -13584,18 +14300,18 @@ func Xsqlite3OsRandomness(tls *libc.TLS, pVfs uintptr, nByte int32, zBufOut uint
}
-func Xsqlite3OsSleep(tls *libc.TLS, pVfs uintptr, nMicro int32) int32 { /* sqlite3.c:23523:20: */
+func Xsqlite3OsSleep(tls *libc.TLS, pVfs uintptr, nMicro int32) int32 { /* sqlite3.c:23705:20: */
return (*(*func(*libc.TLS, uintptr, int32) int32)(unsafe.Pointer((pVfs + 112 /* &.xSleep */))))(tls, pVfs, nMicro)
}
-func Xsqlite3OsGetLastError(tls *libc.TLS, pVfs uintptr) int32 { /* sqlite3.c:23526:20: */
+func Xsqlite3OsGetLastError(tls *libc.TLS, pVfs uintptr) int32 { /* sqlite3.c:23708:20: */
if (*Sqlite3_vfs)(unsafe.Pointer(pVfs)).FxGetLastError != 0 {
return (*(*func(*libc.TLS, uintptr, int32, uintptr) int32)(unsafe.Pointer((pVfs + 128 /* &.xGetLastError */))))(tls, pVfs, 0, uintptr(0))
}
return 0
}
-func Xsqlite3OsCurrentTimeInt64(tls *libc.TLS, pVfs uintptr, pTimeOut uintptr) int32 { /* sqlite3.c:23529:20: */
+func Xsqlite3OsCurrentTimeInt64(tls *libc.TLS, pVfs uintptr, pTimeOut uintptr) int32 { /* sqlite3.c:23711:20: */
bp := tls.Alloc(8)
defer tls.Free(8)
@@ -13616,7 +14332,7 @@ func Xsqlite3OsCurrentTimeInt64(tls *libc.TLS, pVfs uintptr, pTimeOut uintptr) i
return rc
}
-func Xsqlite3OsOpenMalloc(tls *libc.TLS, pVfs uintptr, zFile uintptr, ppFile uintptr, flags int32, pOutFlags uintptr) int32 { /* sqlite3.c:23547:20: */
+func Xsqlite3OsOpenMalloc(tls *libc.TLS, pVfs uintptr, zFile uintptr, ppFile uintptr, flags int32, pOutFlags uintptr) int32 { /* sqlite3.c:23729:20: */
var rc int32
var pFile uintptr
pFile = Xsqlite3MallocZero(tls, uint64((*Sqlite3_vfs)(unsafe.Pointer(pVfs)).FszOsFile))
@@ -13633,7 +14349,7 @@ func Xsqlite3OsOpenMalloc(tls *libc.TLS, pVfs uintptr, zFile uintptr, ppFile uin
return rc
}
-func Xsqlite3OsCloseFree(tls *libc.TLS, pFile uintptr) { /* sqlite3.c:23569:21: */
+func Xsqlite3OsCloseFree(tls *libc.TLS, pFile uintptr) { /* sqlite3.c:23751:21: */
Xsqlite3OsClose(tls, pFile)
Xsqlite3_free(tls, pFile)
@@ -13643,7 +14359,7 @@ func Xsqlite3OsCloseFree(tls *libc.TLS, pFile uintptr) { /* sqlite3.c:23569:21:
// sqlite3_os_init(). The purpose of the wrapper is to provide the
// ability to simulate a malloc failure, so that the handling of an
// error in sqlite3_os_init() by the upper layers can be tested.
-func Xsqlite3OsInit(tls *libc.TLS) int32 { /* sqlite3.c:23581:20: */
+func Xsqlite3OsInit(tls *libc.TLS) int32 { /* sqlite3.c:23763:20: */
var p uintptr = Xsqlite3_malloc(tls, 10)
if p == uintptr(0) {
return SQLITE_NOMEM
@@ -13653,11 +14369,11 @@ func Xsqlite3OsInit(tls *libc.TLS) int32 { /* sqlite3.c:23581:20: */
}
// The list of all registered VFS implementations.
-var vfsList uintptr = uintptr(0) /* sqlite3.c:23591:20 */
+var vfsList uintptr = uintptr(0) /* sqlite3.c:23773:20 */
// Locate a VFS by name. If no name is given, simply return the
// first VFS on the list.
-func Xsqlite3_vfs_find(tls *libc.TLS, zVfs uintptr) uintptr { /* sqlite3.c:23598:24: */
+func Xsqlite3_vfs_find(tls *libc.TLS, zVfs uintptr) uintptr { /* sqlite3.c:23780:24: */
var pVfs uintptr = uintptr(0)
var mutex uintptr
var rc int32 = Xsqlite3_initialize(tls)
@@ -13679,7 +14395,7 @@ func Xsqlite3_vfs_find(tls *libc.TLS, zVfs uintptr) uintptr { /* sqlite3.c:23598
}
// Unlink a VFS from the linked list
-func vfsUnlink(tls *libc.TLS, pVfs uintptr) { /* sqlite3.c:23622:13: */
+func vfsUnlink(tls *libc.TLS, pVfs uintptr) { /* sqlite3.c:23804:13: */
if pVfs == uintptr(0) {
// No-op
@@ -13699,7 +14415,7 @@ func vfsUnlink(tls *libc.TLS, pVfs uintptr) { /* sqlite3.c:23622:13: */
// Register a VFS with the system. It is harmless to register the same
// VFS multiple times. The new VFS becomes the default if makeDflt is
// true.
-func Xsqlite3_vfs_register(tls *libc.TLS, pVfs uintptr, makeDflt int32) int32 { /* sqlite3.c:23644:16: */
+func Xsqlite3_vfs_register(tls *libc.TLS, pVfs uintptr, makeDflt int32) int32 { /* sqlite3.c:23826:16: */
var mutex uintptr
var rc int32 = Xsqlite3_initialize(tls)
if rc != 0 {
@@ -13722,7 +14438,7 @@ func Xsqlite3_vfs_register(tls *libc.TLS, pVfs uintptr, makeDflt int32) int32 {
}
// Unregister a VFS so that it is no longer accessible.
-func Xsqlite3_vfs_unregister(tls *libc.TLS, pVfs uintptr) int32 { /* sqlite3.c:23672:16: */
+func Xsqlite3_vfs_unregister(tls *libc.TLS, pVfs uintptr) int32 { /* sqlite3.c:23854:16: */
var mutex uintptr
var rc int32 = Xsqlite3_initialize(tls)
if rc != 0 {
@@ -13767,7 +14483,7 @@ func Xsqlite3_vfs_unregister(tls *libc.TLS, pVfs uintptr) int32 { /* sqlite3.c:2
type BenignMallocHooks1 = struct {
FxBenignBegin uintptr
FxBenignEnd uintptr
-} /* sqlite3.c:23720:9 */
+} /* sqlite3.c:23902:9 */
//************* End of os.c *************************************************
//************* Begin file fault.c ******************************************
@@ -13798,8 +14514,8 @@ type BenignMallocHooks1 = struct {
// #include "sqliteInt.h"
// Global variables.
-type BenignMallocHooks = BenignMallocHooks1 /* sqlite3.c:23720:34 */
-var sqlite3Hooks = BenignMallocHooks1{} /* sqlite3.c:23724:3 */
+type BenignMallocHooks = BenignMallocHooks1 /* sqlite3.c:23902:34 */
+var sqlite3Hooks = BenignMallocHooks1{} /* sqlite3.c:23906:3 */
// The "wsdHooks" macro will resolve to the appropriate BenignMallocHooks
// structure. If writable static data is unsupported on the target,
@@ -13809,7 +14525,7 @@ var sqlite3Hooks = BenignMallocHooks1{} /* sqlite3.c:23724:3 */
// Register hooks to call when sqlite3BeginBenignMalloc() and
// sqlite3EndBenignMalloc() are called, respectively.
-func Xsqlite3BenignMallocHooks(tls *libc.TLS, xBenignBegin uintptr, xBenignEnd uintptr) { /* sqlite3.c:23746:21: */
+func Xsqlite3BenignMallocHooks(tls *libc.TLS, xBenignBegin uintptr, xBenignEnd uintptr) { /* sqlite3.c:23928:21: */
sqlite3Hooks.FxBenignBegin = xBenignBegin
sqlite3Hooks.FxBenignEnd = xBenignEnd
@@ -13818,14 +14534,14 @@ func Xsqlite3BenignMallocHooks(tls *libc.TLS, xBenignBegin uintptr, xBenignEnd u
// This (sqlite3EndBenignMalloc()) is called by SQLite code to indicate that
// subsequent malloc failures are benign. A call to sqlite3EndBenignMalloc()
// indicates that subsequent malloc failures are non-benign.
-func Xsqlite3BeginBenignMalloc(tls *libc.TLS) { /* sqlite3.c:23760:21: */
+func Xsqlite3BeginBenignMalloc(tls *libc.TLS) { /* sqlite3.c:23942:21: */
if sqlite3Hooks.FxBenignBegin != 0 {
(*(*func(*libc.TLS))(unsafe.Pointer((uintptr(unsafe.Pointer(&sqlite3Hooks)) /* &.xBenignBegin */))))(tls)
}
}
-func Xsqlite3EndBenignMalloc(tls *libc.TLS) { /* sqlite3.c:23766:21: */
+func Xsqlite3EndBenignMalloc(tls *libc.TLS) { /* sqlite3.c:23948:21: */
if sqlite3Hooks.FxBenignEnd != 0 {
(*(*func(*libc.TLS))(unsafe.Pointer((uintptr(unsafe.Pointer(&sqlite3Hooks)) + 8 /* &.xBenignEnd */))))(tls)
@@ -13923,7 +14639,7 @@ func Xsqlite3EndBenignMalloc(tls *libc.TLS) { /* sqlite3.c:23766:21: */
// For this low-level routine, we are guaranteed that nByte>0 because
// cases of nByte<=0 will be intercepted and dealt with by higher level
// routines.
-func sqlite3MemMalloc(tls *libc.TLS, nByte int32) uintptr { /* sqlite3.c:23966:13: */
+func sqlite3MemMalloc(tls *libc.TLS, nByte int32) uintptr { /* sqlite3.c:24148:13: */
bp := tls.Alloc(8)
defer tls.Free(8)
@@ -13935,7 +14651,7 @@ func sqlite3MemMalloc(tls *libc.TLS, nByte int32) uintptr { /* sqlite3.c:23966:1
p += 8
} else {
- Xsqlite3_log(tls, SQLITE_NOMEM, ts+579 /* "failed to alloca..." */, libc.VaList(bp, nByte))
+ Xsqlite3_log(tls, SQLITE_NOMEM, ts+631 /* "failed to alloca..." */, libc.VaList(bp, nByte))
}
return p
}
@@ -13946,7 +14662,7 @@ func sqlite3MemMalloc(tls *libc.TLS, nByte int32) uintptr { /* sqlite3.c:23966:1
// For this low-level routine, we already know that pPrior!=0 since
// cases where pPrior==0 will have been intecepted and dealt with
// by higher-level routines.
-func sqlite3MemFree(tls *libc.TLS, pPrior uintptr) { /* sqlite3.c:24000:13: */
+func sqlite3MemFree(tls *libc.TLS, pPrior uintptr) { /* sqlite3.c:24182:13: */
var p uintptr = pPrior
p -= 8
@@ -13955,7 +14671,7 @@ func sqlite3MemFree(tls *libc.TLS, pPrior uintptr) { /* sqlite3.c:24000:13: */
// Report the allocated size of a prior return from xMalloc()
// or xRealloc().
-func sqlite3MemSize(tls *libc.TLS, pPrior uintptr) int32 { /* sqlite3.c:24015:12: */
+func sqlite3MemSize(tls *libc.TLS, pPrior uintptr) int32 { /* sqlite3.c:24197:12: */
var p uintptr
p = pPrior
@@ -13971,7 +14687,7 @@ func sqlite3MemSize(tls *libc.TLS, pPrior uintptr) int32 { /* sqlite3.c:24015:12
// redirected to xMalloc. Similarly, we know that nByte>0 because
// cases where nByte<=0 will have been intercepted by higher-level
// routines and redirected to xFree.
-func sqlite3MemRealloc(tls *libc.TLS, pPrior uintptr, nByte int32) uintptr { /* sqlite3.c:24038:13: */
+func sqlite3MemRealloc(tls *libc.TLS, pPrior uintptr, nByte int32) uintptr { /* sqlite3.c:24220:13: */
bp := tls.Alloc(16)
defer tls.Free(16)
@@ -13986,25 +14702,25 @@ func sqlite3MemRealloc(tls *libc.TLS, pPrior uintptr, nByte int32) uintptr { /*
} else {
Xsqlite3_log(tls, SQLITE_NOMEM,
- ts+617, /* "failed memory re..." */
+ ts+669, /* "failed memory re..." */
libc.VaList(bp, sqlite3MemSize(tls, pPrior), nByte))
}
return p
}
// Round up a request size to the next valid allocation size.
-func sqlite3MemRoundup(tls *libc.TLS, n int32) int32 { /* sqlite3.c:24070:12: */
+func sqlite3MemRoundup(tls *libc.TLS, n int32) int32 { /* sqlite3.c:24252:12: */
return (((n) + 7) & libc.CplInt32(7))
}
// Initialize this module.
-func sqlite3MemInit(tls *libc.TLS, NotUsed uintptr) int32 { /* sqlite3.c:24077:12: */
+func sqlite3MemInit(tls *libc.TLS, NotUsed uintptr) int32 { /* sqlite3.c:24259:12: */
_ = NotUsed
return SQLITE_OK
}
// Deinitialize this module.
-func sqlite3MemShutdown(tls *libc.TLS, NotUsed uintptr) { /* sqlite3.c:24104:13: */
+func sqlite3MemShutdown(tls *libc.TLS, NotUsed uintptr) { /* sqlite3.c:24286:13: */
_ = NotUsed
return
}
@@ -14013,7 +14729,7 @@ func sqlite3MemShutdown(tls *libc.TLS, NotUsed uintptr) { /* sqlite3.c:24104:13:
//
// Populate the low-level memory allocation function pointers in
// sqlite3GlobalConfig.m with pointers to the routines in this file.
-func Xsqlite3MemSetDefault(tls *libc.TLS) { /* sqlite3.c:24115:21: */
+func Xsqlite3MemSetDefault(tls *libc.TLS) { /* sqlite3.c:24297:21: */
bp := tls.Alloc(8)
defer tls.Free(8)
@@ -14028,7 +14744,7 @@ var defaultMethods = Sqlite3_mem_methods{
FxRoundup: 0,
FxInit: 0,
FxShutdown: 0,
-} /* sqlite3.c:24116:36 */
+} /* sqlite3.c:24298:36 */
//************* End of mem1.c ***********************************************
//************* Begin file mem2.c *******************************************
@@ -14162,7 +14878,7 @@ var defaultMethods = Sqlite3_mem_methods{
// #include "sqliteInt.h"
// Initialize the mutex system.
-func Xsqlite3MutexInit(tls *libc.TLS) int32 { /* sqlite3.c:26151:20: */
+func Xsqlite3MutexInit(tls *libc.TLS) int32 { /* sqlite3.c:26333:20: */
var rc int32 = SQLITE_OK
if !(int32(Xsqlite3Config.Fmutex.FxMutexAlloc) != 0) {
// If the xMutexAlloc method has not been set, then the user did not
@@ -14196,7 +14912,7 @@ func Xsqlite3MutexInit(tls *libc.TLS) int32 { /* sqlite3.c:26151:20: */
// Shutdown the mutex system. This call frees resources allocated by
// sqlite3MutexInit().
-func Xsqlite3MutexEnd(tls *libc.TLS) int32 { /* sqlite3.c:26197:20: */
+func Xsqlite3MutexEnd(tls *libc.TLS) int32 { /* sqlite3.c:26379:20: */
var rc int32 = SQLITE_OK
if Xsqlite3Config.Fmutex.FxMutexEnd != 0 {
rc = (*(*func(*libc.TLS) int32)(unsafe.Pointer((uintptr(unsafe.Pointer(&Xsqlite3Config)) + 96 /* &.mutex */ + 8 /* &.xMutexEnd */))))(tls)
@@ -14206,7 +14922,7 @@ func Xsqlite3MutexEnd(tls *libc.TLS) int32 { /* sqlite3.c:26197:20: */
}
// Retrieve a pointer to a static mutex or allocate a new dynamic one.
-func Xsqlite3_mutex_alloc(tls *libc.TLS, id int32) uintptr { /* sqlite3.c:26213:26: */
+func Xsqlite3_mutex_alloc(tls *libc.TLS, id int32) uintptr { /* sqlite3.c:26395:26: */
if (id <= SQLITE_MUTEX_RECURSIVE) && (Xsqlite3_initialize(tls) != 0) {
return uintptr(0)
}
@@ -14217,7 +14933,7 @@ func Xsqlite3_mutex_alloc(tls *libc.TLS, id int32) uintptr { /* sqlite3.c:26213:
return (*(*func(*libc.TLS, int32) uintptr)(unsafe.Pointer((uintptr(unsafe.Pointer(&Xsqlite3Config)) + 96 /* &.mutex */ + 16 /* &.xMutexAlloc */))))(tls, id)
}
-func Xsqlite3MutexAlloc(tls *libc.TLS, id int32) uintptr { /* sqlite3.c:26222:30: */
+func Xsqlite3MutexAlloc(tls *libc.TLS, id int32) uintptr { /* sqlite3.c:26404:30: */
if !(int32(Xsqlite3Config.FbCoreMutex) != 0) {
return uintptr(0)
}
@@ -14226,7 +14942,7 @@ func Xsqlite3MutexAlloc(tls *libc.TLS, id int32) uintptr { /* sqlite3.c:26222:30
}
// Free a dynamic mutex.
-func Xsqlite3_mutex_free(tls *libc.TLS, p uintptr) { /* sqlite3.c:26234:17: */
+func Xsqlite3_mutex_free(tls *libc.TLS, p uintptr) { /* sqlite3.c:26416:17: */
if p != 0 {
(*(*func(*libc.TLS, uintptr))(unsafe.Pointer((uintptr(unsafe.Pointer(&Xsqlite3Config)) + 96 /* &.mutex */ + 24 /* &.xMutexFree */))))(tls, p)
@@ -14235,7 +14951,7 @@ func Xsqlite3_mutex_free(tls *libc.TLS, p uintptr) { /* sqlite3.c:26234:17: */
// Obtain the mutex p. If some other thread already has the mutex, block
// until it can be obtained.
-func Xsqlite3_mutex_enter(tls *libc.TLS, p uintptr) { /* sqlite3.c:26245:17: */
+func Xsqlite3_mutex_enter(tls *libc.TLS, p uintptr) { /* sqlite3.c:26427:17: */
if p != 0 {
(*(*func(*libc.TLS, uintptr))(unsafe.Pointer((uintptr(unsafe.Pointer(&Xsqlite3Config)) + 96 /* &.mutex */ + 32 /* &.xMutexEnter */))))(tls, p)
@@ -14244,7 +14960,7 @@ func Xsqlite3_mutex_enter(tls *libc.TLS, p uintptr) { /* sqlite3.c:26245:17: */
// Obtain the mutex p. If successful, return SQLITE_OK. Otherwise, if another
// thread holds the mutex and it cannot be obtained, return SQLITE_BUSY.
-func Xsqlite3_mutex_try(tls *libc.TLS, p uintptr) int32 { /* sqlite3.c:26256:16: */
+func Xsqlite3_mutex_try(tls *libc.TLS, p uintptr) int32 { /* sqlite3.c:26438:16: */
var rc int32 = SQLITE_OK
if p != 0 {
@@ -14257,7 +14973,7 @@ func Xsqlite3_mutex_try(tls *libc.TLS, p uintptr) int32 { /* sqlite3.c:26256:16:
// entered by the same thread. The behavior is undefined if the mutex
// is not currently entered. If a NULL pointer is passed as an argument
// this function is a no-op.
-func Xsqlite3_mutex_leave(tls *libc.TLS, p uintptr) { /* sqlite3.c:26271:17: */
+func Xsqlite3_mutex_leave(tls *libc.TLS, p uintptr) { /* sqlite3.c:26453:17: */
if p != 0 {
(*(*func(*libc.TLS, uintptr))(unsafe.Pointer((uintptr(unsafe.Pointer(&Xsqlite3Config)) + 96 /* &.mutex */ + 48 /* &.xMutexLeave */))))(tls, p)
@@ -14296,40 +15012,40 @@ func Xsqlite3_mutex_leave(tls *libc.TLS, p uintptr) { /* sqlite3.c:26271:17: */
// Stub routines for all mutex methods.
//
// This routines provide no mutual exclusion or error checking.
-func noopMutexInit(tls *libc.TLS) int32 { /* sqlite3.c:26334:12: */
+func noopMutexInit(tls *libc.TLS) int32 { /* sqlite3.c:26516:12: */
return SQLITE_OK
}
-func noopMutexEnd(tls *libc.TLS) int32 { /* sqlite3.c:26335:12: */
+func noopMutexEnd(tls *libc.TLS) int32 { /* sqlite3.c:26517:12: */
return SQLITE_OK
}
-func noopMutexAlloc(tls *libc.TLS, id int32) uintptr { /* sqlite3.c:26336:22: */
+func noopMutexAlloc(tls *libc.TLS, id int32) uintptr { /* sqlite3.c:26518:22: */
_ = id
return uintptr(8)
}
-func noopMutexFree(tls *libc.TLS, p uintptr) { /* sqlite3.c:26340:13: */
+func noopMutexFree(tls *libc.TLS, p uintptr) { /* sqlite3.c:26522:13: */
_ = p
return
}
-func noopMutexEnter(tls *libc.TLS, p uintptr) { /* sqlite3.c:26341:13: */
+func noopMutexEnter(tls *libc.TLS, p uintptr) { /* sqlite3.c:26523:13: */
_ = p
return
}
-func noopMutexTry(tls *libc.TLS, p uintptr) int32 { /* sqlite3.c:26342:12: */
+func noopMutexTry(tls *libc.TLS, p uintptr) int32 { /* sqlite3.c:26524:12: */
_ = p
return SQLITE_OK
}
-func noopMutexLeave(tls *libc.TLS, p uintptr) { /* sqlite3.c:26346:13: */
+func noopMutexLeave(tls *libc.TLS, p uintptr) { /* sqlite3.c:26528:13: */
_ = p
return
}
-func Xsqlite3NoopMutex(tls *libc.TLS) uintptr { /* sqlite3.c:26348:44: */
+func Xsqlite3NoopMutex(tls *libc.TLS) uintptr { /* sqlite3.c:26530:44: */
return uintptr(unsafe.Pointer(&sMutex))
}
@@ -14342,11 +15058,11 @@ var sMutex = Sqlite3_mutex_methods{
FxMutexEnter: 0,
FxMutexTry: 0,
FxMutexLeave: 0,
-} /* sqlite3.c:26349:38 */
+} /* sqlite3.c:26531:38 */
// If compiled with SQLITE_MUTEX_NOOP, then the no-op mutex implementation
// is used regardless of the run-time threadsafety setting.
-func Xsqlite3DefaultMutex(tls *libc.TLS) uintptr { /* sqlite3.c:26507:44: */
+func Xsqlite3DefaultMutex(tls *libc.TLS) uintptr { /* sqlite3.c:26689:44: */
return Xsqlite3NoopMutex(tls)
}
@@ -14409,7 +15125,7 @@ func Xsqlite3DefaultMutex(tls *libc.TLS) uintptr { /* sqlite3.c:26507:44: */
// Attempt to release up to n bytes of non-essential memory currently
// held by SQLite. An example of non-essential memory is memory used to
// cache database pages that are not currently in use.
-func Xsqlite3_release_memory(tls *libc.TLS, n int32) int32 { /* sqlite3.c:27626:16: */
+func Xsqlite3_release_memory(tls *libc.TLS, n int32) int32 { /* sqlite3.c:27808:16: */
return Xsqlite3PcacheReleaseMemory(tls, n)
}
@@ -14422,22 +15138,22 @@ type Mem0Global = struct {
FhardLimit Sqlite3_int64
FnearlyFull int32
_ [4]byte
-} /* sqlite3.c:27648:19 */
+} /* sqlite3.c:27830:19 */
// Default value of the hard heap limit. 0 means "no limit".
// State information local to the memory allocation subsystem.
-var mem0 = Mem0Global{} /* sqlite3.c:27658:3 */
+var mem0 = Mem0Global{} /* sqlite3.c:27840:3 */
// Return the memory allocator mutex. sqlite3_status() needs it.
-func Xsqlite3MallocMutex(tls *libc.TLS) uintptr { /* sqlite3.c:27665:30: */
+func Xsqlite3MallocMutex(tls *libc.TLS) uintptr { /* sqlite3.c:27847:30: */
return mem0.Fmutex
}
// Deprecated external interface. It used to set an alarm callback
// that was invoked when memory usage grew too large. Now it is a
// no-op.
-func Xsqlite3_memory_alarm(tls *libc.TLS, xCallback uintptr, pArg uintptr, iThreshold Sqlite3_int64) int32 { /* sqlite3.c:27675:16: */
+func Xsqlite3_memory_alarm(tls *libc.TLS, xCallback uintptr, pArg uintptr, iThreshold Sqlite3_int64) int32 { /* sqlite3.c:27857:16: */
_ = xCallback
_ = pArg
_ = iThreshold
@@ -14453,7 +15169,7 @@ func Xsqlite3_memory_alarm(tls *libc.TLS, xCallback uintptr, pArg uintptr, iThre
//
// If the hard heap limit is enabled, then the soft heap limit cannot
// be disabled nor raised above the hard heap limit.
-func Xsqlite3_soft_heap_limit64(tls *libc.TLS, n Sqlite3_int64) Sqlite3_int64 { /* sqlite3.c:27698:26: */
+func Xsqlite3_soft_heap_limit64(tls *libc.TLS, n Sqlite3_int64) Sqlite3_int64 { /* sqlite3.c:27880:26: */
var priorLimit Sqlite3_int64
var excess Sqlite3_int64
var nUsed Sqlite3_int64
@@ -14481,7 +15197,7 @@ func Xsqlite3_soft_heap_limit64(tls *libc.TLS, n Sqlite3_int64) Sqlite3_int64 {
return priorLimit
}
-func Xsqlite3_soft_heap_limit(tls *libc.TLS, n int32) { /* sqlite3.c:27723:17: */
+func Xsqlite3_soft_heap_limit(tls *libc.TLS, n int32) { /* sqlite3.c:27905:17: */
if n < 0 {
n = 0
}
@@ -14498,7 +15214,7 @@ func Xsqlite3_soft_heap_limit(tls *libc.TLS, n int32) { /* sqlite3.c:27723:17: *
// Setting the hard heap limit will also activate the soft heap limit
// and constrain the soft heap limit to be no more than the hard heap
// limit.
-func Xsqlite3_hard_heap_limit64(tls *libc.TLS, n Sqlite3_int64) Sqlite3_int64 { /* sqlite3.c:27740:26: */
+func Xsqlite3_hard_heap_limit64(tls *libc.TLS, n Sqlite3_int64) Sqlite3_int64 { /* sqlite3.c:27922:26: */
var priorLimit Sqlite3_int64
var rc int32 = Xsqlite3_initialize(tls)
if rc != 0 {
@@ -14517,12 +15233,11 @@ func Xsqlite3_hard_heap_limit64(tls *libc.TLS, n Sqlite3_int64) Sqlite3_int64 {
}
// Initialize the memory allocation subsystem.
-func Xsqlite3MallocInit(tls *libc.TLS) int32 { /* sqlite3.c:27762:20: */
+func Xsqlite3MallocInit(tls *libc.TLS) int32 { /* sqlite3.c:27944:20: */
var rc int32
if Xsqlite3Config.Fm.FxMalloc == uintptr(0) {
Xsqlite3MemSetDefault(tls)
}
- libc.Xmemset(tls, uintptr(unsafe.Pointer(&mem0)), 0, uint64(unsafe.Sizeof(mem0)))
mem0.Fmutex = Xsqlite3MutexAlloc(tls, SQLITE_MUTEX_STATIC_MEM)
if ((Xsqlite3Config.FpPage == uintptr(0)) || (Xsqlite3Config.FszPage < 512)) ||
(Xsqlite3Config.FnPage <= 0) {
@@ -14539,12 +15254,12 @@ func Xsqlite3MallocInit(tls *libc.TLS) int32 { /* sqlite3.c:27762:20: */
// Return true if the heap is currently under memory pressure - in other
// words if the amount of heap used is close to the limit set by
// sqlite3_soft_heap_limit().
-func Xsqlite3HeapNearlyFull(tls *libc.TLS) int32 { /* sqlite3.c:27784:20: */
+func Xsqlite3HeapNearlyFull(tls *libc.TLS) int32 { /* sqlite3.c:27965:20: */
return libc.AtomicLoadNInt32((uintptr(unsafe.Pointer(&mem0)) + 24 /* &.nearlyFull */), 0)
}
// Deinitialize the memory allocation subsystem.
-func Xsqlite3MallocEnd(tls *libc.TLS) { /* sqlite3.c:27791:21: */
+func Xsqlite3MallocEnd(tls *libc.TLS) { /* sqlite3.c:27972:21: */
if Xsqlite3Config.Fm.FxShutdown != 0 {
(*(*func(*libc.TLS, uintptr))(unsafe.Pointer((uintptr(unsafe.Pointer(&Xsqlite3Config)) + 32 /* &.m */ + 48 /* &.xShutdown */))))(tls, Xsqlite3Config.Fm.FpAppData)
}
@@ -14552,7 +15267,7 @@ func Xsqlite3MallocEnd(tls *libc.TLS) { /* sqlite3.c:27791:21: */
}
// Return the amount of memory currently checked out.
-func Xsqlite3_memory_used(tls *libc.TLS) Sqlite3_int64 { /* sqlite3.c:27801:26: */
+func Xsqlite3_memory_used(tls *libc.TLS) Sqlite3_int64 { /* sqlite3.c:27982:26: */
bp := tls.Alloc(16)
defer tls.Free(16)
@@ -14567,7 +15282,7 @@ func Xsqlite3_memory_used(tls *libc.TLS) Sqlite3_int64 { /* sqlite3.c:27801:26:
// Return the maximum amount of memory that has ever been
// checked out since either the beginning of this process
// or since the most recent reset.
-func Xsqlite3_memory_highwater(tls *libc.TLS, resetFlag int32) Sqlite3_int64 { /* sqlite3.c:27812:26: */
+func Xsqlite3_memory_highwater(tls *libc.TLS, resetFlag int32) Sqlite3_int64 { /* sqlite3.c:27993:26: */
bp := tls.Alloc(16)
defer tls.Free(16)
@@ -14580,7 +15295,7 @@ func Xsqlite3_memory_highwater(tls *libc.TLS, resetFlag int32) Sqlite3_int64 { /
}
// Trigger the alarm
-func sqlite3MallocAlarm(tls *libc.TLS, nByte int32) { /* sqlite3.c:27821:13: */
+func sqlite3MallocAlarm(tls *libc.TLS, nByte int32) { /* sqlite3.c:28002:13: */
if mem0.FalarmThreshold <= int64(0) {
return
}
@@ -14591,7 +15306,7 @@ func sqlite3MallocAlarm(tls *libc.TLS, nByte int32) { /* sqlite3.c:27821:13: */
// Do a memory allocation with statistics and alarms. Assume the
// lock is already held.
-func mallocWithAlarm(tls *libc.TLS, n int32, pp uintptr) { /* sqlite3.c:27832:13: */
+func mallocWithAlarm(tls *libc.TLS, n int32, pp uintptr) { /* sqlite3.c:28013:13: */
var p uintptr
var nFull int32
@@ -14634,7 +15349,7 @@ func mallocWithAlarm(tls *libc.TLS, n int32, pp uintptr) { /* sqlite3.c:27832:13
// Allocate memory. This routine is like sqlite3_malloc() except that it
// assumes the memory subsystem has already been initialized.
-func Xsqlite3Malloc(tls *libc.TLS, n U64) uintptr { /* sqlite3.c:27881:21: */
+func Xsqlite3Malloc(tls *libc.TLS, n U64) uintptr { /* sqlite3.c:28062:21: */
bp := tls.Alloc(8)
defer tls.Free(8)
@@ -14661,7 +15376,7 @@ func Xsqlite3Malloc(tls *libc.TLS, n U64) uintptr { /* sqlite3.c:27881:21: */
// This version of the memory allocation is for use by the application.
// First make sure the memory subsystem is initialized, then do the
// allocation.
-func Xsqlite3_malloc(tls *libc.TLS, n int32) uintptr { /* sqlite3.c:27906:17: */
+func Xsqlite3_malloc(tls *libc.TLS, n int32) uintptr { /* sqlite3.c:28087:17: */
if Xsqlite3_initialize(tls) != 0 {
return uintptr(0)
}
@@ -14671,7 +15386,7 @@ func Xsqlite3_malloc(tls *libc.TLS, n int32) uintptr { /* sqlite3.c:27906:17: */
return Xsqlite3Malloc(tls, uint64(n))
}
-func Xsqlite3_malloc64(tls *libc.TLS, n Sqlite3_uint64) uintptr { /* sqlite3.c:27912:17: */
+func Xsqlite3_malloc64(tls *libc.TLS, n Sqlite3_uint64) uintptr { /* sqlite3.c:28093:17: */
if Xsqlite3_initialize(tls) != 0 {
return uintptr(0)
}
@@ -14679,25 +15394,25 @@ func Xsqlite3_malloc64(tls *libc.TLS, n Sqlite3_uint64) uintptr { /* sqlite3.c:2
}
// TRUE if p is a lookaside memory allocation from db
-func isLookaside(tls *libc.TLS, db uintptr, p uintptr) int32 { /* sqlite3.c:27923:12: */
+func isLookaside(tls *libc.TLS, db uintptr, p uintptr) int32 { /* sqlite3.c:28104:12: */
return (libc.Bool32((Uptr((p)) >= Uptr(((*Sqlite3)(unsafe.Pointer(db)).Flookaside.FpStart))) && (Uptr((p)) < Uptr(((*Sqlite3)(unsafe.Pointer(db)).Flookaside.FpEnd)))))
}
// Return the size of a memory allocation previously obtained from
// sqlite3Malloc() or sqlite3_malloc().
-func Xsqlite3MallocSize(tls *libc.TLS, p uintptr) int32 { /* sqlite3.c:27934:20: */
+func Xsqlite3MallocSize(tls *libc.TLS, p uintptr) int32 { /* sqlite3.c:28115:20: */
return (*(*func(*libc.TLS, uintptr) int32)(unsafe.Pointer((uintptr(unsafe.Pointer(&Xsqlite3Config)) + 32 /* &.m */ + 24 /* &.xSize */))))(tls, p)
}
-func lookasideMallocSize(tls *libc.TLS, db uintptr, p uintptr) int32 { /* sqlite3.c:27938:12: */
+func lookasideMallocSize(tls *libc.TLS, db uintptr, p uintptr) int32 { /* sqlite3.c:28119:12: */
if p < (*Sqlite3)(unsafe.Pointer(db)).Flookaside.FpMiddle {
return int32((*Sqlite3)(unsafe.Pointer(db)).Flookaside.FszTrue)
}
return LOOKASIDE_SMALL
}
-func Xsqlite3DbMallocSize(tls *libc.TLS, db uintptr, p uintptr) int32 { /* sqlite3.c:27945:20: */
+func Xsqlite3DbMallocSize(tls *libc.TLS, db uintptr, p uintptr) int32 { /* sqlite3.c:28126:20: */
if db != 0 {
if (Uptr(p)) < Uptr(((*Sqlite3)(unsafe.Pointer(db)).Flookaside.FpEnd)) {
@@ -14714,7 +15429,7 @@ func Xsqlite3DbMallocSize(tls *libc.TLS, db uintptr, p uintptr) int32 { /* sqlit
return (*(*func(*libc.TLS, uintptr) int32)(unsafe.Pointer((uintptr(unsafe.Pointer(&Xsqlite3Config)) + 32 /* &.m */ + 24 /* &.xSize */))))(tls, p)
}
-func Xsqlite3_msize(tls *libc.TLS, p uintptr) Sqlite3_uint64 { /* sqlite3.c:27974:27: */
+func Xsqlite3_msize(tls *libc.TLS, p uintptr) Sqlite3_uint64 { /* sqlite3.c:28155:27: */
if p != 0 {
return uint64((*(*func(*libc.TLS, uintptr) int32)(unsafe.Pointer((uintptr(unsafe.Pointer(&Xsqlite3Config)) + 32 /* &.m */ + 24 /* &.xSize */))))(tls, p))
@@ -14723,7 +15438,7 @@ func Xsqlite3_msize(tls *libc.TLS, p uintptr) Sqlite3_uint64 { /* sqlite3.c:2797
}
// Free memory previously obtained from sqlite3Malloc().
-func Xsqlite3_free(tls *libc.TLS, p uintptr) { /* sqlite3.c:27983:17: */
+func Xsqlite3_free(tls *libc.TLS, p uintptr) { /* sqlite3.c:28164:17: */
if p == uintptr(0) {
return
} // IMP: R-49053-54554
@@ -14741,14 +15456,14 @@ func Xsqlite3_free(tls *libc.TLS, p uintptr) { /* sqlite3.c:27983:17: */
// Add the size of memory allocation "p" to the count in
// *db->pnBytesFreed.
-func measureAllocationSize(tls *libc.TLS, db uintptr, p uintptr) { /* sqlite3.c:28002:29: */
+func measureAllocationSize(tls *libc.TLS, db uintptr, p uintptr) { /* sqlite3.c:28183:29: */
*(*int32)(unsafe.Pointer((*Sqlite3)(unsafe.Pointer(db)).FpnBytesFreed)) += (Xsqlite3DbMallocSize(tls, db, p))
}
// Free memory that might be associated with a particular database
// connection. Calling sqlite3DbFree(D,X) for X==0 is a harmless no-op.
// The sqlite3DbFreeNN(D,X) version requires that X be non-NULL.
-func Xsqlite3DbFreeNN(tls *libc.TLS, db uintptr, p uintptr) { /* sqlite3.c:28011:21: */
+func Xsqlite3DbFreeNN(tls *libc.TLS, db uintptr, p uintptr) { /* sqlite3.c:28192:21: */
if db != 0 {
if (*Sqlite3)(unsafe.Pointer(db)).FpnBytesFreed != 0 {
@@ -14774,7 +15489,7 @@ func Xsqlite3DbFreeNN(tls *libc.TLS, db uintptr, p uintptr) { /* sqlite3.c:28011
Xsqlite3_free(tls, p)
}
-func Xsqlite3DbFree(tls *libc.TLS, db uintptr, p uintptr) { /* sqlite3.c:28048:21: */
+func Xsqlite3DbFree(tls *libc.TLS, db uintptr, p uintptr) { /* sqlite3.c:28229:21: */
if p != 0 {
Xsqlite3DbFreeNN(tls, db, p)
@@ -14782,7 +15497,7 @@ func Xsqlite3DbFree(tls *libc.TLS, db uintptr, p uintptr) { /* sqlite3.c:28048:2
}
// Change the size of an existing memory allocation
-func Xsqlite3Realloc(tls *libc.TLS, pOld uintptr, nBytes U64) uintptr { /* sqlite3.c:28056:21: */
+func Xsqlite3Realloc(tls *libc.TLS, pOld uintptr, nBytes U64) uintptr { /* sqlite3.c:28237:21: */
var nOld int32
var nNew int32
var nDiff int32
@@ -14837,7 +15552,7 @@ func Xsqlite3Realloc(tls *libc.TLS, pOld uintptr, nBytes U64) uintptr { /* sqlit
// The public interface to sqlite3Realloc. Make sure that the memory
// subsystem is initialized prior to invoking sqliteRealloc.
-func Xsqlite3_realloc(tls *libc.TLS, pOld uintptr, n int32) uintptr { /* sqlite3.c:28115:17: */
+func Xsqlite3_realloc(tls *libc.TLS, pOld uintptr, n int32) uintptr { /* sqlite3.c:28296:17: */
if Xsqlite3_initialize(tls) != 0 {
return uintptr(0)
}
@@ -14847,7 +15562,7 @@ func Xsqlite3_realloc(tls *libc.TLS, pOld uintptr, n int32) uintptr { /* sqlite3
return Xsqlite3Realloc(tls, pOld, uint64(n))
}
-func Xsqlite3_realloc64(tls *libc.TLS, pOld uintptr, n Sqlite3_uint64) uintptr { /* sqlite3.c:28122:17: */
+func Xsqlite3_realloc64(tls *libc.TLS, pOld uintptr, n Sqlite3_uint64) uintptr { /* sqlite3.c:28303:17: */
if Xsqlite3_initialize(tls) != 0 {
return uintptr(0)
}
@@ -14855,7 +15570,7 @@ func Xsqlite3_realloc64(tls *libc.TLS, pOld uintptr, n Sqlite3_uint64) uintptr {
}
// Allocate and zero memory.
-func Xsqlite3MallocZero(tls *libc.TLS, n U64) uintptr { /* sqlite3.c:28133:21: */
+func Xsqlite3MallocZero(tls *libc.TLS, n U64) uintptr { /* sqlite3.c:28314:21: */
var p uintptr = Xsqlite3Malloc(tls, n)
if p != 0 {
libc.Xmemset(tls, p, 0, Size_t(n))
@@ -14865,7 +15580,7 @@ func Xsqlite3MallocZero(tls *libc.TLS, n U64) uintptr { /* sqlite3.c:28133:21: *
// Allocate and zero memory. If the allocation fails, make
// the mallocFailed flag in the connection pointer.
-func Xsqlite3DbMallocZero(tls *libc.TLS, db uintptr, n U64) uintptr { /* sqlite3.c:28145:21: */
+func Xsqlite3DbMallocZero(tls *libc.TLS, db uintptr, n U64) uintptr { /* sqlite3.c:28326:21: */
var p uintptr
p = Xsqlite3DbMallocRaw(tls, db, n)
@@ -14877,7 +15592,7 @@ func Xsqlite3DbMallocZero(tls *libc.TLS, db uintptr, n U64) uintptr { /* sqlite3
// Finish the work of sqlite3DbMallocRawNN for the unusual and
// slower case when the allocation cannot be fulfilled using lookaside.
-func dbMallocRawFinish(tls *libc.TLS, db uintptr, n U64) uintptr { /* sqlite3.c:28157:29: */
+func dbMallocRawFinish(tls *libc.TLS, db uintptr, n U64) uintptr { /* sqlite3.c:28338:29: */
var p uintptr
p = Xsqlite3Malloc(tls, n)
@@ -14908,7 +15623,7 @@ func dbMallocRawFinish(tls *libc.TLS, db uintptr, n U64) uintptr { /* sqlite3.c:
//
// The sqlite3MallocRawNN() variant guarantees that the "db" parameter is
// not a NULL pointer.
-func Xsqlite3DbMallocRaw(tls *libc.TLS, db uintptr, n U64) uintptr { /* sqlite3.c:28189:21: */
+func Xsqlite3DbMallocRaw(tls *libc.TLS, db uintptr, n U64) uintptr { /* sqlite3.c:28370:21: */
var p uintptr
if db != 0 {
return Xsqlite3DbMallocRawNN(tls, db, n)
@@ -14918,7 +15633,7 @@ func Xsqlite3DbMallocRaw(tls *libc.TLS, db uintptr, n U64) uintptr { /* sqlite3.
return p
}
-func Xsqlite3DbMallocRawNN(tls *libc.TLS, db uintptr, n U64) uintptr { /* sqlite3.c:28196:21: */
+func Xsqlite3DbMallocRawNN(tls *libc.TLS, db uintptr, n U64) uintptr { /* sqlite3.c:28377:21: */
var pBuf uintptr
if n > U64((*Sqlite3)(unsafe.Pointer(db)).Flookaside.Fsz) {
@@ -14956,7 +15671,7 @@ func Xsqlite3DbMallocRawNN(tls *libc.TLS, db uintptr, n U64) uintptr { /* sqlite
// Resize the block of memory pointed to by p to n bytes. If the
// resize fails, set the mallocFailed flag in the connection object.
-func Xsqlite3DbRealloc(tls *libc.TLS, db uintptr, p uintptr, n U64) uintptr { /* sqlite3.c:28252:21: */
+func Xsqlite3DbRealloc(tls *libc.TLS, db uintptr, p uintptr, n U64) uintptr { /* sqlite3.c:28433:21: */
if p == uintptr(0) {
return Xsqlite3DbMallocRawNN(tls, db, n)
@@ -14976,7 +15691,7 @@ func Xsqlite3DbRealloc(tls *libc.TLS, db uintptr, p uintptr, n U64) uintptr { /*
return dbReallocFinish(tls, db, p, n)
}
-func dbReallocFinish(tls *libc.TLS, db uintptr, p uintptr, n U64) uintptr { /* sqlite3.c:28268:29: */
+func dbReallocFinish(tls *libc.TLS, db uintptr, p uintptr, n U64) uintptr { /* sqlite3.c:28449:29: */
var pNew uintptr = uintptr(0)
if int32((*Sqlite3)(unsafe.Pointer(db)).FmallocFailed) == 0 {
@@ -15000,7 +15715,7 @@ func dbReallocFinish(tls *libc.TLS, db uintptr, p uintptr, n U64) uintptr { /* s
// Attempt to reallocate p. If the reallocation fails, then free p
// and set the mallocFailed flag in the database connection.
-func Xsqlite3DbReallocOrFree(tls *libc.TLS, db uintptr, p uintptr, n U64) uintptr { /* sqlite3.c:28298:21: */
+func Xsqlite3DbReallocOrFree(tls *libc.TLS, db uintptr, p uintptr, n U64) uintptr { /* sqlite3.c:28479:21: */
var pNew uintptr
pNew = Xsqlite3DbRealloc(tls, db, p, n)
if !(pNew != 0) {
@@ -15014,7 +15729,7 @@ func Xsqlite3DbReallocOrFree(tls *libc.TLS, db uintptr, p uintptr, n U64) uintpt
// is because when memory debugging is turned on, these two functions are
// called via macros that record the current file and line number in the
// ThreadData structure.
-func Xsqlite3DbStrDup(tls *libc.TLS, db uintptr, z uintptr) uintptr { /* sqlite3.c:28314:21: */
+func Xsqlite3DbStrDup(tls *libc.TLS, db uintptr, z uintptr) uintptr { /* sqlite3.c:28495:21: */
var zNew uintptr
var n Size_t
if z == uintptr(0) {
@@ -15028,7 +15743,7 @@ func Xsqlite3DbStrDup(tls *libc.TLS, db uintptr, z uintptr) uintptr { /* sqlite3
return zNew
}
-func Xsqlite3DbStrNDup(tls *libc.TLS, db uintptr, z uintptr, n U64) uintptr { /* sqlite3.c:28327:21: */
+func Xsqlite3DbStrNDup(tls *libc.TLS, db uintptr, z uintptr, n U64) uintptr { /* sqlite3.c:28508:21: */
var zNew uintptr
if z != 0 {
@@ -15046,7 +15761,7 @@ func Xsqlite3DbStrNDup(tls *libc.TLS, db uintptr, z uintptr, n U64) uintptr { /*
// The text between zStart and zEnd represents a phrase within a larger
// SQL statement. Make a copy of this phrase in space obtained form
// sqlite3DbMalloc(). Omit leading and trailing whitespace.
-func Xsqlite3DbSpanDup(tls *libc.TLS, db uintptr, zStart uintptr, zEnd uintptr) uintptr { /* sqlite3.c:28345:21: */
+func Xsqlite3DbSpanDup(tls *libc.TLS, db uintptr, zStart uintptr, zEnd uintptr) uintptr { /* sqlite3.c:28526:21: */
var n int32
for (int32(Xsqlite3CtypeMap[uint8(*(*int8)(unsafe.Pointer(zStart)))]) & 0x01) != 0 {
zStart++
@@ -15059,7 +15774,7 @@ func Xsqlite3DbSpanDup(tls *libc.TLS, db uintptr, zStart uintptr, zEnd uintptr)
}
// Free any prior content in *pz and replace it with a copy of zNew.
-func Xsqlite3SetString(tls *libc.TLS, pz uintptr, db uintptr, zNew uintptr) { /* sqlite3.c:28356:21: */
+func Xsqlite3SetString(tls *libc.TLS, pz uintptr, db uintptr, zNew uintptr) { /* sqlite3.c:28537:21: */
Xsqlite3DbFree(tls, db, *(*uintptr)(unsafe.Pointer(pz)))
*(*uintptr)(unsafe.Pointer(pz)) = Xsqlite3DbStrDup(tls, db, zNew)
}
@@ -15068,7 +15783,7 @@ func Xsqlite3SetString(tls *libc.TLS, pz uintptr, db uintptr, zNew uintptr) { /*
// has happened. This routine will set db->mallocFailed, and also
// temporarily disable the lookaside memory allocator and interrupt
// any running VDBEs.
-func Xsqlite3OomFault(tls *libc.TLS, db uintptr) { /* sqlite3.c:28367:21: */
+func Xsqlite3OomFault(tls *libc.TLS, db uintptr) { /* sqlite3.c:28548:21: */
if (int32((*Sqlite3)(unsafe.Pointer(db)).FmallocFailed) == 0) && (int32((*Sqlite3)(unsafe.Pointer(db)).FbBenignMalloc) == 0) {
(*Sqlite3)(unsafe.Pointer(db)).FmallocFailed = U8(1)
if (*Sqlite3)(unsafe.Pointer(db)).FnVdbeExec > 0 {
@@ -15087,7 +15802,7 @@ func Xsqlite3OomFault(tls *libc.TLS, db uintptr) { /* sqlite3.c:28367:21: */
//
// The memory allocator is not restarted if there are running
// VDBEs.
-func Xsqlite3OomClear(tls *libc.TLS, db uintptr) { /* sqlite3.c:28387:21: */
+func Xsqlite3OomClear(tls *libc.TLS, db uintptr) { /* sqlite3.c:28568:21: */
if ((*Sqlite3)(unsafe.Pointer(db)).FmallocFailed != 0) && ((*Sqlite3)(unsafe.Pointer(db)).FnVdbeExec == 0) {
(*Sqlite3)(unsafe.Pointer(db)).FmallocFailed = U8(0)
libc.AtomicStoreNInt32((db + 400 /* &.u1 */ /* &.isInterrupted */), int32(0), 0)
@@ -15103,7 +15818,7 @@ func Xsqlite3OomClear(tls *libc.TLS, db uintptr) { /* sqlite3.c:28387:21: */
}
// Take actions at the end of an API call to deal with error codes.
-func apiHandleError(tls *libc.TLS, db uintptr, rc int32) int32 { /* sqlite3.c:28399:28: */
+func apiHandleError(tls *libc.TLS, db uintptr, rc int32) int32 { /* sqlite3.c:28580:28: */
if ((*Sqlite3)(unsafe.Pointer(db)).FmallocFailed != 0) || (rc == (SQLITE_IOERR | (int32(12) << 8))) {
Xsqlite3OomClear(tls, db)
Xsqlite3Error(tls, db, SQLITE_NOMEM)
@@ -15122,7 +15837,7 @@ func apiHandleError(tls *libc.TLS, db uintptr, rc int32) int32 { /* sqlite3.c:28
//
// If an OOM as occurred, then the connection error-code (the value
// returned by sqlite3_errcode()) is set to SQLITE_NOMEM.
-func Xsqlite3ApiExit(tls *libc.TLS, db uintptr, rc int32) int32 { /* sqlite3.c:28420:20: */
+func Xsqlite3ApiExit(tls *libc.TLS, db uintptr, rc int32) int32 { /* sqlite3.c:28601:20: */
// If the db handle must hold the connection handle mutex here.
// Otherwise the read (and possible write) of db->mallocFailed
// is unsafe, as is the call to sqlite3Error().
@@ -15151,7 +15866,7 @@ func Xsqlite3ApiExit(tls *libc.TLS, db uintptr, rc int32) int32 { /* sqlite3.c:2
// The rest are extensions, not normally found in printf()
// An "etByte" is an 8-bit unsigned value.
-type EtByte = uint8 /* sqlite3.c:28478:23 */
+type EtByte = uint8 /* sqlite3.c:28659:23 */
// Each builtin conversion character (ex: the 'd' in "%d") is described
// by an instance of the following structure
@@ -15162,18 +15877,18 @@ type et_info = struct {
Ftype EtByte
Fcharset EtByte
Fprefix EtByte
-} /* sqlite3.c:28484:9 */
+} /* sqlite3.c:28665:9 */
// Each builtin conversion character (ex: the 'd' in "%d") is described
// by an instance of the following structure
-type Et_info = et_info /* sqlite3.c:28491:3 */
+type Et_info = et_info /* sqlite3.c:28672:3 */
// Allowed values for et_info.flags
// The following table is searched linearly, so it is good to put the
// most frequently used conversion types first.
-var aDigits = *(*[33]int8)(unsafe.Pointer(ts + 653 /* "0123456789ABCDEF..." */)) /* sqlite3.c:28504:19 */
-var aPrefix = *(*[7]int8)(unsafe.Pointer(ts + 686 /* "-x0\x00X0" */)) /* sqlite3.c:28505:19 */
+var aDigits = *(*[33]int8)(unsafe.Pointer(ts + 705 /* "0123456789ABCDEF..." */)) /* sqlite3.c:28685:19 */
+var aPrefix = *(*[7]int8)(unsafe.Pointer(ts + 738 /* "-x0\x00X0" */)) /* sqlite3.c:28686:19 */
var fmtinfo = [23]Et_info{
{Ffmttype: int8('d'), Fbase: EtByte(10), Fflags: EtByte(1), Ftype: EtByte(EtDECIMAL)},
{Ffmttype: int8('s'), Fflags: EtByte(4), Ftype: EtByte(EtSTRING)},
@@ -15198,15 +15913,20 @@ var fmtinfo = [23]Et_info{
// All the rest are undocumented and are for internal use only
{Ffmttype: int8('T'), Ftype: EtByte(EtTOKEN)},
- {Ffmttype: int8('S'), Ftype: EtByte(EtSRCLIST)},
+ {Ffmttype: int8('S'), Ftype: EtByte(EtSRCITEM)},
{Ffmttype: int8('r'), Fbase: EtByte(10), Fflags: EtByte(1), Ftype: EtByte(EtORDINAL)},
-} /* sqlite3.c:28506:22 */
+} /* sqlite3.c:28687:22 */
+
+// Notes:
+//
+// %S Takes a pointer to SrcItem. Shows name or database.name
+// %!S Like %S but prefer the zName over the zAlias
// Floating point constants used for rounding
var arRound = [10]float64{
5.0e-01, 5.0e-02, 5.0e-03, 5.0e-04, 5.0e-05,
5.0e-06, 5.0e-07, 5.0e-08, 5.0e-09, 5.0e-10,
-} /* sqlite3.c:28537:21 */
+} /* sqlite3.c:28724:21 */
// If SQLITE_OMIT_FLOATING_POINT is defined, then none of the floating point
// conversions will work.
@@ -15221,7 +15941,7 @@ var arRound = [10]float64{
// The counter *cnt is incremented each time. After counter exceeds
// 16 (the number of significant digits in a 64-bit float) '0' is
// always returned.
-func et_getdigit(tls *libc.TLS, val uintptr, cnt uintptr) int8 { /* sqlite3.c:28560:13: */
+func et_getdigit(tls *libc.TLS, val uintptr, cnt uintptr) int8 { /* sqlite3.c:28747:13: */
var digit int32
var d float64
if (*(*int32)(unsafe.Pointer(cnt))) <= 0 {
@@ -15236,7 +15956,7 @@ func et_getdigit(tls *libc.TLS, val uintptr, cnt uintptr) int8 { /* sqlite3.c:28
}
// Set the StrAccum object to an error mode.
-func setStrAccumError(tls *libc.TLS, p uintptr, eError U8) { /* sqlite3.c:28576:13: */
+func setStrAccumError(tls *libc.TLS, p uintptr, eError U8) { /* sqlite3.c:28763:13: */
(*StrAccum)(unsafe.Pointer(p)).FaccError = eError
if (*StrAccum)(unsafe.Pointer(p)).FmxAlloc != 0 {
@@ -15248,21 +15968,21 @@ func setStrAccumError(tls *libc.TLS, p uintptr, eError U8) { /* sqlite3.c:28576:
}
// Extra argument values from a PrintfArguments object
-func getIntArg(tls *libc.TLS, p uintptr) Sqlite3_int64 { /* sqlite3.c:28586:22: */
+func getIntArg(tls *libc.TLS, p uintptr) Sqlite3_int64 { /* sqlite3.c:28773:22: */
if (*PrintfArguments)(unsafe.Pointer(p)).FnArg <= (*PrintfArguments)(unsafe.Pointer(p)).FnUsed {
return int64(0)
}
return Xsqlite3_value_int64(tls, *(*uintptr)(unsafe.Pointer((*PrintfArguments)(unsafe.Pointer(p)).FapArg + uintptr(libc.PostIncInt32(&(*PrintfArguments)(unsafe.Pointer(p)).FnUsed, 1))*8)))
}
-func getDoubleArg(tls *libc.TLS, p uintptr) float64 { /* sqlite3.c:28590:15: */
+func getDoubleArg(tls *libc.TLS, p uintptr) float64 { /* sqlite3.c:28777:15: */
if (*PrintfArguments)(unsafe.Pointer(p)).FnArg <= (*PrintfArguments)(unsafe.Pointer(p)).FnUsed {
return 0.0
}
return Xsqlite3_value_double(tls, *(*uintptr)(unsafe.Pointer((*PrintfArguments)(unsafe.Pointer(p)).FapArg + uintptr(libc.PostIncInt32(&(*PrintfArguments)(unsafe.Pointer(p)).FnUsed, 1))*8)))
}
-func getTextArg(tls *libc.TLS, p uintptr) uintptr { /* sqlite3.c:28594:13: */
+func getTextArg(tls *libc.TLS, p uintptr) uintptr { /* sqlite3.c:28781:13: */
if (*PrintfArguments)(unsafe.Pointer(p)).FnArg <= (*PrintfArguments)(unsafe.Pointer(p)).FnUsed {
return uintptr(0)
}
@@ -15276,7 +15996,7 @@ func getTextArg(tls *libc.TLS, p uintptr) uintptr { /* sqlite3.c:28594:13: */
// Do the size check before the memory allocation to prevent rogue
// SQL from requesting large allocations using the precision or width
// field of the printf() function.
-func printfTempBuf(tls *libc.TLS, pAccum uintptr, n Sqlite3_int64) uintptr { /* sqlite3.c:28608:13: */
+func printfTempBuf(tls *libc.TLS, pAccum uintptr, n Sqlite3_int64) uintptr { /* sqlite3.c:28795:13: */
var z uintptr
if (*Sqlite3_str)(unsafe.Pointer(pAccum)).FaccError != 0 {
return uintptr(0)
@@ -15298,9 +16018,9 @@ func printfTempBuf(tls *libc.TLS, pAccum uintptr, n Sqlite3_int64) uintptr { /*
// Hard limit on the precision of floating-point conversions.
// Render a string given by "fmt" into the StrAccum object.
-func Xsqlite3_str_vappendf(tls *libc.TLS, pAccum uintptr, fmt uintptr, ap Va_list) { /* sqlite3.c:28641:17: */
- bp := tls.Alloc(100)
- defer tls.Free(100)
+func Xsqlite3_str_vappendf(tls *libc.TLS, pAccum uintptr, fmt uintptr, ap Va_list) { /* sqlite3.c:28828:17: */
+ bp := tls.Alloc(108)
+ defer tls.Free(108)
var c int32 // Next character in the format string
var bufpt uintptr // Pointer to the conversion buffer
@@ -15320,7 +16040,7 @@ func Xsqlite3_str_vappendf(tls *libc.TLS, pAccum uintptr, fmt uintptr, ap Va_lis
var bArgList U8 // True for SQLITE_PRINTF_SQLFUNC
var prefix int8 // Prefix character. "+" or "-" or " " or '\0'.
var longvalue Sqlite_uint64 // Value for integer types
- // var realvalue float64 at bp+88, 8
+ // var realvalue float64 at bp+96, 8
// Value for real types
var infop uintptr // Pointer to the appropriate info structure
var zOut uintptr // Rendering buffer
@@ -15328,13 +16048,13 @@ func Xsqlite3_str_vappendf(tls *libc.TLS, pAccum uintptr, fmt uintptr, ap Va_lis
var zExtra uintptr // Malloced memory used by some conversion
var exp int32
var e2 int32 // exponent of real numbers
- // var nsd int32 at bp+96, 4
+ // var nsd int32 at bp+104, 4
// Number of significant digits returned
var rounder float64 // Used for rounding floating point values
var flag_dp EtByte // True if decimal point should be shown
var flag_rtz EtByte // True if trailing zeros should be removed
var pArgList uintptr // Arguments for SQLITE_PRINTF_SQLFUNC
- // var buf [70]int8 at bp, 70
+ // var buf [70]int8 at bp+8, 70
var wx uint32
var px uint32
@@ -15347,9 +16067,9 @@ func Xsqlite3_str_vappendf(tls *libc.TLS, pAccum uintptr, fmt uintptr, ap Va_lis
var ix int32 // Add "0" or "0x"
var pre uintptr
var x1 int8
- // var rx float64 at bp+80, 8
+ // var rx float64 at bp+88, 8
- // var u Sqlite3_uint64 at bp+72, 8
+ // var u Sqlite3_uint64 at bp+80, 8
var ex int32
var scale float64
@@ -15372,8 +16092,6 @@ func Xsqlite3_str_vappendf(tls *libc.TLS, pAccum uintptr, fmt uintptr, ap Va_lis
var q int8 // Quote character
var escarg uintptr
var pToken uintptr
- var pSrc uintptr
- var k1 int32
var pItem uintptr
xtype = EtByte(EtINVALID)
zExtra = uintptr(0)
@@ -15424,7 +16142,7 @@ __6:
if !((libc.AssignInt32(&c, int32(*(*int8)(unsafe.Pointer(libc.PreIncUintptr(&fmt, 1)))))) == 0) {
goto __11
}
- Xsqlite3_str_append(tls, pAccum, ts+693 /* "%" */, 1)
+ Xsqlite3_str_append(tls, pAccum, ts+745 /* "%" */, 1)
goto __5
__11:
;
@@ -15712,7 +16430,7 @@ __56:
goto __73
case EtTOKEN:
goto __74
- case EtSRCLIST:
+ case EtSRCITEM:
goto __75
default:
goto __76
@@ -15819,7 +16537,7 @@ __94:
goto __95
}
nOut = SQLITE_PRINT_BUF_SIZE
- zOut = bp /* &buf[0] */
+ zOut = bp + 8 /* &buf[0] */
goto __96
__95:
n = (U64(precision) + uint64(10))
@@ -15941,10 +16659,10 @@ __65:
if !(bArgList != 0) {
goto __116
}
- *(*float64)(unsafe.Pointer(bp + 88 /* realvalue */)) = getDoubleArg(tls, pArgList)
+ *(*float64)(unsafe.Pointer(bp + 96 /* realvalue */)) = getDoubleArg(tls, pArgList)
goto __117
__116:
- *(*float64)(unsafe.Pointer(bp + 88 /* realvalue */)) = float64(libc.VaFloat64(&ap))
+ *(*float64)(unsafe.Pointer(bp + 96 /* realvalue */)) = float64(libc.VaFloat64(&ap))
__117:
;
if !(precision < 0) {
@@ -15959,10 +16677,10 @@ __118:
precision = SQLITE_FP_PRECISION_LIMIT
__119:
;
- if !(*(*float64)(unsafe.Pointer(bp + 88 /* realvalue */)) < 0.0) {
+ if !(*(*float64)(unsafe.Pointer(bp + 96 /* realvalue */)) < 0.0) {
goto __120
}
- *(*float64)(unsafe.Pointer(bp + 88 /* realvalue */)) = -*(*float64)(unsafe.Pointer(bp + 88 /* realvalue */))
+ *(*float64)(unsafe.Pointer(bp + 96 /* realvalue */)) = -*(*float64)(unsafe.Pointer(bp + 96 /* realvalue */))
prefix = int8('-')
goto __121
__120:
@@ -15990,34 +16708,34 @@ __124:
if !(int32(xtype) == EtFLOAT) {
goto __125
}
- *(*float64)(unsafe.Pointer(bp + 80 /* rx */)) = *(*float64)(unsafe.Pointer(bp + 88 /* realvalue */))
- libc.Xmemcpy(tls, bp+72 /* &u */, bp+80 /* &rx */, uint64(unsafe.Sizeof(Sqlite3_uint64(0))))
- ex = (-1023 + (int32((*(*Sqlite3_uint64)(unsafe.Pointer(bp + 72 /* u */)) >> 52) & uint64(0x7ff))))
+ *(*float64)(unsafe.Pointer(bp + 88 /* rx */)) = *(*float64)(unsafe.Pointer(bp + 96 /* realvalue */))
+ libc.Xmemcpy(tls, bp+80 /* &u */, bp+88 /* &rx */, uint64(unsafe.Sizeof(Sqlite3_uint64(0))))
+ ex = (-1023 + (int32((*(*Sqlite3_uint64)(unsafe.Pointer(bp + 80 /* u */)) >> 52) & uint64(0x7ff))))
if !((precision + (ex / 3)) < 15) {
goto __126
}
- rounder = rounder + (*(*float64)(unsafe.Pointer(bp + 88 /* realvalue */)) * 3e-16)
+ rounder = rounder + (*(*float64)(unsafe.Pointer(bp + 96 /* realvalue */)) * 3e-16)
__126:
;
- *(*float64)(unsafe.Pointer(bp + 88 /* realvalue */)) += rounder
+ *(*float64)(unsafe.Pointer(bp + 96 /* realvalue */)) += rounder
__125:
;
// Normalize realvalue to within 10.0 > realvalue >= 1.0
exp = 0
- if !(Xsqlite3IsNaN(tls, *(*float64)(unsafe.Pointer(bp + 88 /* realvalue */))) != 0) {
+ if !(Xsqlite3IsNaN(tls, *(*float64)(unsafe.Pointer(bp + 96 /* realvalue */))) != 0) {
goto __127
}
- bufpt = ts + 695 /* "NaN" */
+ bufpt = ts + 747 /* "NaN" */
length = 3
goto __58
__127:
;
- if !(*(*float64)(unsafe.Pointer(bp + 88 /* realvalue */)) > 0.0) {
+ if !(*(*float64)(unsafe.Pointer(bp + 96 /* realvalue */)) > 0.0) {
goto __128
}
scale = 1.0
__129:
- if !((*(*float64)(unsafe.Pointer(bp + 88 /* realvalue */)) >= (1e100 * scale)) && (exp <= 350)) {
+ if !((*(*float64)(unsafe.Pointer(bp + 96 /* realvalue */)) >= (1e100 * scale)) && (exp <= 350)) {
goto __130
}
scale = scale * (1e100)
@@ -16026,7 +16744,7 @@ __129:
__130:
;
__131:
- if !((*(*float64)(unsafe.Pointer(bp + 88 /* realvalue */)) >= (1e10 * scale)) && (exp <= 350)) {
+ if !((*(*float64)(unsafe.Pointer(bp + 96 /* realvalue */)) >= (1e10 * scale)) && (exp <= 350)) {
goto __132
}
scale = scale * (1e10)
@@ -16035,7 +16753,7 @@ __131:
__132:
;
__133:
- if !((*(*float64)(unsafe.Pointer(bp + 88 /* realvalue */)) >= (10.0 * scale)) && (exp <= 350)) {
+ if !((*(*float64)(unsafe.Pointer(bp + 96 /* realvalue */)) >= (10.0 * scale)) && (exp <= 350)) {
goto __134
}
scale = scale * (10.0)
@@ -16043,21 +16761,21 @@ __133:
goto __133
__134:
;
- *(*float64)(unsafe.Pointer(bp + 88 /* realvalue */)) /= scale
+ *(*float64)(unsafe.Pointer(bp + 96 /* realvalue */)) /= scale
__135:
- if !(*(*float64)(unsafe.Pointer(bp + 88 /* realvalue */)) < 1e-8) {
+ if !(*(*float64)(unsafe.Pointer(bp + 96 /* realvalue */)) < 1e-8) {
goto __136
}
- *(*float64)(unsafe.Pointer(bp + 88 /* realvalue */)) *= 1e8
+ *(*float64)(unsafe.Pointer(bp + 96 /* realvalue */)) *= 1e8
exp = exp - (8)
goto __135
__136:
;
__137:
- if !(*(*float64)(unsafe.Pointer(bp + 88 /* realvalue */)) < 1.0) {
+ if !(*(*float64)(unsafe.Pointer(bp + 96 /* realvalue */)) < 1.0) {
goto __138
}
- *(*float64)(unsafe.Pointer(bp + 88 /* realvalue */)) *= 10.0
+ *(*float64)(unsafe.Pointer(bp + 96 /* realvalue */)) *= 10.0
exp--
goto __137
__138:
@@ -16065,26 +16783,26 @@ __138:
if !(exp > 350) {
goto __139
}
- bufpt = bp /* &buf[0] */
- *(*int8)(unsafe.Pointer(bp /* &buf[0] */)) = prefix
- libc.Xmemcpy(tls, (bp /* &buf[0] */ + uintptr((libc.Bool32(int32(prefix) != 0)))), ts+699 /* "Inf" */, uint64(4))
+ bufpt = bp + 8 /* &buf[0] */
+ *(*int8)(unsafe.Pointer(bp + 8 /* &buf[0] */)) = prefix
+ libc.Xmemcpy(tls, (bp + 8 /* &buf[0] */ + uintptr((libc.Bool32(int32(prefix) != 0)))), ts+751 /* "Inf" */, uint64(4))
length = (3 + (libc.Bool32(int32(prefix) != 0)))
goto __58
__139:
;
__128:
;
- bufpt = bp /* &buf[0] */
+ bufpt = bp + 8 /* &buf[0] */
// If the field type is etGENERIC, then convert to either etEXP
// or etFLOAT, as appropriate.
if !(int32(xtype) != EtFLOAT) {
goto __140
}
- *(*float64)(unsafe.Pointer(bp + 88 /* realvalue */)) += rounder
- if !(*(*float64)(unsafe.Pointer(bp + 88 /* realvalue */)) >= 10.0) {
+ *(*float64)(unsafe.Pointer(bp + 96 /* realvalue */)) += rounder
+ if !(*(*float64)(unsafe.Pointer(bp + 96 /* realvalue */)) >= 10.0) {
goto __141
}
- *(*float64)(unsafe.Pointer(bp + 88 /* realvalue */)) *= 0.1
+ *(*float64)(unsafe.Pointer(bp + 96 /* realvalue */)) *= 0.1
exp++
__141:
;
@@ -16139,7 +16857,7 @@ __148:
;
zOut = bufpt
- *(*int32)(unsafe.Pointer(bp + 96 /* nsd */)) = (16 + (int32(flag_altform2) * 10))
+ *(*int32)(unsafe.Pointer(bp + 104 /* nsd */)) = (16 + (int32(flag_altform2) * 10))
flag_dp = (EtByte(((func() int32 {
if precision > 0 {
return 1
@@ -16165,7 +16883,7 @@ __153:
if !(e2 >= 0) {
goto __155
}
- *(*int8)(unsafe.Pointer(libc.PostIncUintptr(&bufpt, 1))) = et_getdigit(tls, bp+88 /* &realvalue */, bp+96 /* &nsd */)
+ *(*int8)(unsafe.Pointer(libc.PostIncUintptr(&bufpt, 1))) = et_getdigit(tls, bp+96 /* &realvalue */, bp+104 /* &nsd */)
goto __154
__154:
e2--
@@ -16204,7 +16922,7 @@ __160:
if !((libc.PostDecInt32(&precision, 1)) > 0) {
goto __161
}
- *(*int8)(unsafe.Pointer(libc.PostIncUintptr(&bufpt, 1))) = et_getdigit(tls, bp+88 /* &realvalue */, bp+96 /* &nsd */)
+ *(*int8)(unsafe.Pointer(libc.PostIncUintptr(&bufpt, 1))) = et_getdigit(tls, bp+96 /* &realvalue */, bp+104 /* &nsd */)
goto __160
__161:
;
@@ -16313,8 +17031,8 @@ __178:
length = libc.AssignInt32(&width, 0)
goto __58
__67:
- *(*int8)(unsafe.Pointer(bp /* &buf[0] */)) = int8('%')
- bufpt = bp /* &buf[0] */
+ *(*int8)(unsafe.Pointer(bp + 8 /* &buf[0] */)) = int8('%')
+ bufpt = bp + 8 /* &buf[0] */
length = 1
goto __58
__68:
@@ -16326,7 +17044,7 @@ __68:
if !(bufpt != 0) {
goto __181
}
- *(*int8)(unsafe.Pointer(bp /* &buf[0] */)) = int8(libc.AssignInt32(&c, int32(*(*int8)(unsafe.Pointer(libc.PostIncUintptr(&bufpt, 1))))))
+ *(*int8)(unsafe.Pointer(bp + 8 /* &buf[0] */)) = int8(libc.AssignInt32(&c, int32(*(*int8)(unsafe.Pointer(libc.PostIncUintptr(&bufpt, 1))))))
if !((c & 0xc0) == 0xc0) {
goto __183
}
@@ -16334,7 +17052,7 @@ __184:
if !((length < 4) && ((int32(*(*int8)(unsafe.Pointer(bufpt))) & 0xc0) == 0x80)) {
goto __185
}
- *(*int8)(unsafe.Pointer(bp /* &buf[0] */ + uintptr(libc.PostIncInt32(&length, 1)))) = *(*int8)(unsafe.Pointer(libc.PostIncUintptr(&bufpt, 1)))
+ *(*int8)(unsafe.Pointer(bp + 8 /* &buf[0] */ + uintptr(libc.PostIncInt32(&length, 1)))) = *(*int8)(unsafe.Pointer(libc.PostIncUintptr(&bufpt, 1)))
goto __184
__185:
;
@@ -16342,7 +17060,7 @@ __183:
;
goto __182
__181:
- *(*int8)(unsafe.Pointer(bp /* &buf[0] */)) = int8(0)
+ *(*int8)(unsafe.Pointer(bp + 8 /* &buf[0] */)) = int8(0)
__182:
;
goto __180
@@ -16351,31 +17069,31 @@ __179:
if !(ch < uint32(0x00080)) {
goto __186
}
- *(*int8)(unsafe.Pointer(bp /* &buf[0] */)) = (int8(ch & uint32(0xff)))
+ *(*int8)(unsafe.Pointer(bp + 8 /* &buf[0] */)) = (int8(ch & uint32(0xff)))
length = 1
goto __187
__186:
if !(ch < uint32(0x00800)) {
goto __188
}
- *(*int8)(unsafe.Pointer(bp /* &buf[0] */)) = (int8(0xc0 + int32((U8((ch >> 6) & uint32(0x1f))))))
- *(*int8)(unsafe.Pointer(bp /* &buf[0] */ + 1)) = (int8(0x80 + int32((U8(ch & uint32(0x3f))))))
+ *(*int8)(unsafe.Pointer(bp + 8 /* &buf[0] */)) = (int8(0xc0 + int32((U8((ch >> 6) & uint32(0x1f))))))
+ *(*int8)(unsafe.Pointer(bp + 8 /* &buf[0] */ + 1)) = (int8(0x80 + int32((U8(ch & uint32(0x3f))))))
length = 2
goto __189
__188:
if !(ch < uint32(0x10000)) {
goto __190
}
- *(*int8)(unsafe.Pointer(bp /* &buf[0] */)) = (int8(0xe0 + int32((U8((ch >> 12) & uint32(0x0f))))))
- *(*int8)(unsafe.Pointer(bp /* &buf[0] */ + 1)) = (int8(0x80 + int32((U8((ch >> 6) & uint32(0x3f))))))
- *(*int8)(unsafe.Pointer(bp /* &buf[0] */ + 2)) = (int8(0x80 + int32((U8(ch & uint32(0x3f))))))
+ *(*int8)(unsafe.Pointer(bp + 8 /* &buf[0] */)) = (int8(0xe0 + int32((U8((ch >> 12) & uint32(0x0f))))))
+ *(*int8)(unsafe.Pointer(bp + 8 /* &buf[0] */ + 1)) = (int8(0x80 + int32((U8((ch >> 6) & uint32(0x3f))))))
+ *(*int8)(unsafe.Pointer(bp + 8 /* &buf[0] */ + 2)) = (int8(0x80 + int32((U8(ch & uint32(0x3f))))))
length = 3
goto __191
__190:
- *(*int8)(unsafe.Pointer(bp /* &buf[0] */)) = (int8(0xf0 + int32((U8((ch >> 18) & uint32(0x07))))))
- *(*int8)(unsafe.Pointer(bp /* &buf[0] */ + 1)) = (int8(0x80 + int32((U8((ch >> 12) & uint32(0x3f))))))
- *(*int8)(unsafe.Pointer(bp /* &buf[0] */ + 2)) = (int8(0x80 + int32((U8((ch >> 6) & uint32(0x3f))))))
- *(*int8)(unsafe.Pointer(bp /* &buf[0] */ + 3)) = (int8(0x80 + int32((U8(ch & uint32(0x3f))))))
+ *(*int8)(unsafe.Pointer(bp + 8 /* &buf[0] */)) = (int8(0xf0 + int32((U8((ch >> 18) & uint32(0x07))))))
+ *(*int8)(unsafe.Pointer(bp + 8 /* &buf[0] */ + 1)) = (int8(0x80 + int32((U8((ch >> 12) & uint32(0x3f))))))
+ *(*int8)(unsafe.Pointer(bp + 8 /* &buf[0] */ + 2)) = (int8(0x80 + int32((U8((ch >> 6) & uint32(0x3f))))))
+ *(*int8)(unsafe.Pointer(bp + 8 /* &buf[0] */ + 3)) = (int8(0x80 + int32((U8(ch & uint32(0x3f))))))
length = 4
__191:
;
@@ -16400,13 +17118,13 @@ __194:
if !(libc.PostDecInt32(&precision, 1) > 1) {
goto __195
}
- Xsqlite3_str_append(tls, pAccum, bp /* &buf[0] */, length)
+ Xsqlite3_str_append(tls, pAccum, bp+8 /* &buf[0] */, length)
goto __194
__195:
;
__192:
;
- bufpt = bp /* &buf[0] */
+ bufpt = bp + 8 /* &buf[0] */
flag_altform2 = EtByte(1)
goto adjust_width_for_utf8
__69:
@@ -16424,7 +17142,7 @@ __197:
if !(bufpt == uintptr(0)) {
goto __198
}
- bufpt = ts + 703 /* "" */
+ bufpt = ts + 755 /* "" */
goto __199
__198:
if !(int32(xtype) == EtDYNSTRING) {
@@ -16553,9 +17271,9 @@ __219:
}
escarg = func() uintptr {
if int32(xtype) == EtSQLESCAPE2 {
- return ts + 704 /* "NULL" */
+ return ts + 756 /* "NULL" */
}
- return ts + 709 /* "(NULL)" */
+ return ts + 761 /* "(NULL)" */
}()
__220:
;
@@ -16610,7 +17328,7 @@ __230:
;
goto __229
__228:
- bufpt = bp /* &buf[0] */
+ bufpt = bp + 8 /* &buf[0] */
__229:
;
j = 0
@@ -16675,18 +17393,45 @@ __75:
return
__239:
;
- pSrc = libc.VaUintptr(&ap)
- k1 = int32(libc.VaInt32(&ap))
- pItem = ((pSrc + 8 /* &.a */) + uintptr(k1)*112)
+ pItem = libc.VaUintptr(&ap)
- if !((*SrcItem)(unsafe.Pointer(pItem)).FzDatabase != 0) {
+ if !(((*SrcItem)(unsafe.Pointer(pItem)).FzAlias != 0) && !(flag_altform2 != 0)) {
goto __240
}
- Xsqlite3_str_appendall(tls, pAccum, (*SrcItem)(unsafe.Pointer(pItem)).FzDatabase)
- Xsqlite3_str_append(tls, pAccum, ts+716 /* "." */, 1)
+ Xsqlite3_str_appendall(tls, pAccum, (*SrcItem)(unsafe.Pointer(pItem)).FzAlias)
+ goto __241
__240:
+ if !((*SrcItem)(unsafe.Pointer(pItem)).FzName != 0) {
+ goto __242
+ }
+ if !((*SrcItem)(unsafe.Pointer(pItem)).FzDatabase != 0) {
+ goto __244
+ }
+ Xsqlite3_str_appendall(tls, pAccum, (*SrcItem)(unsafe.Pointer(pItem)).FzDatabase)
+ Xsqlite3_str_append(tls, pAccum, ts+768 /* "." */, 1)
+__244:
;
Xsqlite3_str_appendall(tls, pAccum, (*SrcItem)(unsafe.Pointer(pItem)).FzName)
+ goto __243
+__242:
+ if !((*SrcItem)(unsafe.Pointer(pItem)).FzAlias != 0) {
+ goto __245
+ }
+ Xsqlite3_str_appendall(tls, pAccum, (*SrcItem)(unsafe.Pointer(pItem)).FzAlias)
+ goto __246
+__245:
+ if !((*SrcItem)(unsafe.Pointer(pItem)).FpSelect != 0) {
+ goto __247
+ }
+ Xsqlite3_str_appendf(tls, pAccum, ts+770 /* "SUBQUERY %u" */, libc.VaList(bp, (*Select)(unsafe.Pointer((*SrcItem)(unsafe.Pointer(pItem)).FpSelect)).FselId))
+__247:
+ ;
+__246:
+ ;
+__243:
+ ;
+__241:
+ ;
length = libc.AssignInt32(&width, 0)
goto __58
@@ -16704,33 +17449,33 @@ __58:
// then the values have been translated prior to reaching this point.
width = width - (length)
if !(width > 0) {
- goto __241
+ goto __248
}
if !(!(flag_leftjustify != 0)) {
- goto __243
+ goto __250
}
Xsqlite3_str_appendchar(tls, pAccum, width, int8(' '))
-__243:
+__250:
;
Xsqlite3_str_append(tls, pAccum, bufpt, length)
if !(flag_leftjustify != 0) {
- goto __244
+ goto __251
}
Xsqlite3_str_appendchar(tls, pAccum, width, int8(' '))
-__244:
+__251:
;
- goto __242
-__241:
+ goto __249
+__248:
Xsqlite3_str_append(tls, pAccum, bufpt, length)
-__242:
+__249:
;
if !(zExtra != 0) {
- goto __245
+ goto __252
}
Xsqlite3DbFree(tls, (*Sqlite3_str)(unsafe.Pointer(pAccum)).Fdb, zExtra)
zExtra = uintptr(0)
-__245:
+__252:
;
goto __4
__4:
@@ -16741,7 +17486,7 @@ __5:
// End for loop over the format string
}
-var zOrd = *(*[9]int8)(unsafe.Pointer(ts + 718 /* "thstndrd" */)) /* sqlite3.c:28904:29 */
+var zOrd = *(*[9]int8)(unsafe.Pointer(ts + 782 /* "thstndrd" */)) /* sqlite3.c:29091:29 */
// End of function
@@ -16750,7 +17495,7 @@ var zOrd = *(*[9]int8)(unsafe.Pointer(ts + 718 /* "thstndrd" */)) /* sqlite3.c:2
//
// Return the number of bytes of text that StrAccum is able to accept
// after the attempted enlargement. The value returned might be zero.
-func sqlite3StrAccumEnlarge(tls *libc.TLS, p uintptr, N int32) int32 { /* sqlite3.c:29344:12: */
+func sqlite3StrAccumEnlarge(tls *libc.TLS, p uintptr, N int32) int32 { /* sqlite3.c:29534:12: */
var zNew uintptr
// Only called if really needed
if (*StrAccum)(unsafe.Pointer(p)).FaccError != 0 {
@@ -16804,7 +17549,7 @@ func sqlite3StrAccumEnlarge(tls *libc.TLS, p uintptr, N int32) int32 { /* sqlite
}
// Append N copies of character c to the given string buffer.
-func Xsqlite3_str_appendchar(tls *libc.TLS, p uintptr, N int32, c int8) { /* sqlite3.c:29394:17: */
+func Xsqlite3_str_appendchar(tls *libc.TLS, p uintptr, N int32, c int8) { /* sqlite3.c:29584:17: */
if ((I64((*Sqlite3_str)(unsafe.Pointer(p)).FnChar) + I64(N)) >= I64((*Sqlite3_str)(unsafe.Pointer(p)).FnAlloc)) && ((libc.AssignInt32(&N, sqlite3StrAccumEnlarge(tls, p, N))) <= 0) {
return
@@ -16820,7 +17565,7 @@ func Xsqlite3_str_appendchar(tls *libc.TLS, p uintptr, N int32, c int8) { /* sql
// This is a helper routine to sqlite3_str_append() that does special-case
// work (enlarging the buffer) using tail recursion, so that the
// sqlite3_str_append() routine can use fast calling semantics.
-func enlargeAndAppend(tls *libc.TLS, p uintptr, z uintptr, N int32) { /* sqlite3.c:29410:29: */
+func enlargeAndAppend(tls *libc.TLS, p uintptr, z uintptr, N int32) { /* sqlite3.c:29600:29: */
N = sqlite3StrAccumEnlarge(tls, p, N)
if N > 0 {
libc.Xmemcpy(tls, ((*StrAccum)(unsafe.Pointer(p)).FzText + uintptr((*StrAccum)(unsafe.Pointer(p)).FnChar)), z, uint64(N))
@@ -16830,7 +17575,7 @@ func enlargeAndAppend(tls *libc.TLS, p uintptr, z uintptr, N int32) { /* sqlite3
// Append N bytes of text from z to the StrAccum object. Increase the
// size of the memory allocation for StrAccum if necessary.
-func Xsqlite3_str_append(tls *libc.TLS, p uintptr, z uintptr, N int32) { /* sqlite3.c:29422:17: */
+func Xsqlite3_str_append(tls *libc.TLS, p uintptr, z uintptr, N int32) { /* sqlite3.c:29612:17: */
if ((*Sqlite3_str)(unsafe.Pointer(p)).FnChar + U32(N)) >= (*Sqlite3_str)(unsafe.Pointer(p)).FnAlloc {
enlargeAndAppend(tls, p, z, N)
@@ -16842,14 +17587,14 @@ func Xsqlite3_str_append(tls *libc.TLS, p uintptr, z uintptr, N int32) { /* sqli
}
// Append the complete text of zero-terminated string z[] to the p string.
-func Xsqlite3_str_appendall(tls *libc.TLS, p uintptr, z uintptr) { /* sqlite3.c:29439:17: */
+func Xsqlite3_str_appendall(tls *libc.TLS, p uintptr, z uintptr) { /* sqlite3.c:29629:17: */
Xsqlite3_str_append(tls, p, z, Xsqlite3Strlen30(tls, z))
}
// Finish off a string by making sure it is zero-terminated.
// Return a pointer to the resulting string. Return a NULL
// pointer if any kind of error was encountered.
-func strAccumFinishRealloc(tls *libc.TLS, p uintptr) uintptr { /* sqlite3.c:29449:29: */
+func strAccumFinishRealloc(tls *libc.TLS, p uintptr) uintptr { /* sqlite3.c:29639:29: */
var zText uintptr
zText = Xsqlite3DbMallocRaw(tls, (*StrAccum)(unsafe.Pointer(p)).Fdb, (uint64((*StrAccum)(unsafe.Pointer(p)).FnChar + U32(1))))
@@ -16863,7 +17608,7 @@ func strAccumFinishRealloc(tls *libc.TLS, p uintptr) uintptr { /* sqlite3.c:2944
return zText
}
-func Xsqlite3StrAccumFinish(tls *libc.TLS, p uintptr) uintptr { /* sqlite3.c:29462:21: */
+func Xsqlite3StrAccumFinish(tls *libc.TLS, p uintptr) uintptr { /* sqlite3.c:29652:21: */
if (*StrAccum)(unsafe.Pointer(p)).FzText != 0 {
*(*int8)(unsafe.Pointer((*StrAccum)(unsafe.Pointer(p)).FzText + uintptr((*StrAccum)(unsafe.Pointer(p)).FnChar))) = int8(0)
if ((*StrAccum)(unsafe.Pointer(p)).FmxAlloc > U32(0)) && !((int32((*StrAccum)(unsafe.Pointer((p))).FprintfFlags) & SQLITE_PRINTF_MALLOCED) != 0) {
@@ -16877,10 +17622,10 @@ func Xsqlite3StrAccumFinish(tls *libc.TLS, p uintptr) uintptr { /* sqlite3.c:294
// sqlite3_malloc() fails to provide space for a real one. This
// sqlite3_str object accepts no new text and always returns
// an SQLITE_NOMEM error.
-var sqlite3OomStr = Sqlite3_str{FaccError: U8(SQLITE_NOMEM)} /* sqlite3.c:29478:20 */
+var sqlite3OomStr = Sqlite3_str{FaccError: U8(SQLITE_NOMEM)} /* sqlite3.c:29668:20 */
// Finalize a string created using sqlite3_str_new().
-func Xsqlite3_str_finish(tls *libc.TLS, p uintptr) uintptr { /* sqlite3.c:29484:17: */
+func Xsqlite3_str_finish(tls *libc.TLS, p uintptr) uintptr { /* sqlite3.c:29674:17: */
var z uintptr
if (p != uintptr(0)) && (p != uintptr(unsafe.Pointer(&sqlite3OomStr))) {
z = Xsqlite3StrAccumFinish(tls, p)
@@ -16892,7 +17637,7 @@ func Xsqlite3_str_finish(tls *libc.TLS, p uintptr) uintptr { /* sqlite3.c:29484:
}
// Return any error code associated with p
-func Xsqlite3_str_errcode(tls *libc.TLS, p uintptr) int32 { /* sqlite3.c:29496:16: */
+func Xsqlite3_str_errcode(tls *libc.TLS, p uintptr) int32 { /* sqlite3.c:29686:16: */
if p != 0 {
return int32((*Sqlite3_str)(unsafe.Pointer(p)).FaccError)
}
@@ -16900,7 +17645,7 @@ func Xsqlite3_str_errcode(tls *libc.TLS, p uintptr) int32 { /* sqlite3.c:29496:1
}
// Return the current length of p in bytes
-func Xsqlite3_str_length(tls *libc.TLS, p uintptr) int32 { /* sqlite3.c:29501:16: */
+func Xsqlite3_str_length(tls *libc.TLS, p uintptr) int32 { /* sqlite3.c:29691:16: */
if p != 0 {
return int32((*Sqlite3_str)(unsafe.Pointer(p)).FnChar)
}
@@ -16908,7 +17653,7 @@ func Xsqlite3_str_length(tls *libc.TLS, p uintptr) int32 { /* sqlite3.c:29501:16
}
// Return the current value for p
-func Xsqlite3_str_value(tls *libc.TLS, p uintptr) uintptr { /* sqlite3.c:29506:17: */
+func Xsqlite3_str_value(tls *libc.TLS, p uintptr) uintptr { /* sqlite3.c:29696:17: */
if (p == uintptr(0)) || ((*Sqlite3_str)(unsafe.Pointer(p)).FnChar == U32(0)) {
return uintptr(0)
}
@@ -16917,7 +17662,7 @@ func Xsqlite3_str_value(tls *libc.TLS, p uintptr) uintptr { /* sqlite3.c:29506:1
}
// Reset an StrAccum string. Reclaim all malloced memory.
-func Xsqlite3_str_reset(tls *libc.TLS, p uintptr) { /* sqlite3.c:29515:17: */
+func Xsqlite3_str_reset(tls *libc.TLS, p uintptr) { /* sqlite3.c:29705:17: */
if (int32((*StrAccum)(unsafe.Pointer((p))).FprintfFlags) & SQLITE_PRINTF_MALLOCED) != 0 {
Xsqlite3DbFree(tls, (*StrAccum)(unsafe.Pointer(p)).Fdb, (*StrAccum)(unsafe.Pointer(p)).FzText)
*(*U8)(unsafe.Pointer(p + 29 /* &.printfFlags */)) &= libc.Uint8FromInt32((libc.CplInt32(SQLITE_PRINTF_MALLOCED)))
@@ -16939,7 +17684,7 @@ func Xsqlite3_str_reset(tls *libc.TLS, p uintptr) { /* sqlite3.c:29515:17: */
// n then no memory allocations ever occur.
// mx: Maximum number of bytes to accumulate. If mx==0 then no memory
// allocations will ever occur.
-func Xsqlite3StrAccumInit(tls *libc.TLS, p uintptr, db uintptr, zBase uintptr, n int32, mx int32) { /* sqlite3.c:29539:21: */
+func Xsqlite3StrAccumInit(tls *libc.TLS, p uintptr, db uintptr, zBase uintptr, n int32, mx int32) { /* sqlite3.c:29729:21: */
(*StrAccum)(unsafe.Pointer(p)).FzText = zBase
(*StrAccum)(unsafe.Pointer(p)).Fdb = db
(*StrAccum)(unsafe.Pointer(p)).FnAlloc = U32(n)
@@ -16950,7 +17695,7 @@ func Xsqlite3StrAccumInit(tls *libc.TLS, p uintptr, db uintptr, zBase uintptr, n
}
// Allocate and initialize a new dynamic string object
-func Xsqlite3_str_new(tls *libc.TLS, db uintptr) uintptr { /* sqlite3.c:29550:24: */
+func Xsqlite3_str_new(tls *libc.TLS, db uintptr) uintptr { /* sqlite3.c:29740:24: */
var p uintptr = Xsqlite3_malloc64(tls, uint64(unsafe.Sizeof(Sqlite3_str{})))
if p != 0 {
Xsqlite3StrAccumInit(tls, p, uintptr(0), uintptr(0), 0,
@@ -16968,7 +17713,7 @@ func Xsqlite3_str_new(tls *libc.TLS, db uintptr) uintptr { /* sqlite3.c:29550:24
// Print into memory obtained from sqliteMalloc(). Use the internal
// %-conversion extensions.
-func Xsqlite3VMPrintf(tls *libc.TLS, db uintptr, zFormat uintptr, ap Va_list) uintptr { /* sqlite3.c:29565:21: */
+func Xsqlite3VMPrintf(tls *libc.TLS, db uintptr, zFormat uintptr, ap Va_list) uintptr { /* sqlite3.c:29755:21: */
bp := tls.Alloc(102)
defer tls.Free(102)
@@ -16990,7 +17735,7 @@ func Xsqlite3VMPrintf(tls *libc.TLS, db uintptr, zFormat uintptr, ap Va_list) ui
// Print into memory obtained from sqliteMalloc(). Use the internal
// %-conversion extensions.
-func Xsqlite3MPrintf(tls *libc.TLS, db uintptr, zFormat uintptr, va uintptr) uintptr { /* sqlite3.c:29585:21: */
+func Xsqlite3MPrintf(tls *libc.TLS, db uintptr, zFormat uintptr, va uintptr) uintptr { /* sqlite3.c:29775:21: */
var ap Va_list
_ = ap
var z uintptr
@@ -17002,7 +17747,7 @@ func Xsqlite3MPrintf(tls *libc.TLS, db uintptr, zFormat uintptr, va uintptr) uin
// Print into memory obtained from sqlite3_malloc(). Omit the internal
// %-conversion extensions.
-func Xsqlite3_vmprintf(tls *libc.TLS, zFormat uintptr, ap Va_list) uintptr { /* sqlite3.c:29598:17: */
+func Xsqlite3_vmprintf(tls *libc.TLS, zFormat uintptr, ap Va_list) uintptr { /* sqlite3.c:29788:17: */
bp := tls.Alloc(102)
defer tls.Free(102)
@@ -17022,7 +17767,7 @@ func Xsqlite3_vmprintf(tls *libc.TLS, zFormat uintptr, ap Va_list) uintptr { /*
// Print into memory obtained from sqlite3_malloc()(). Omit the internal
// %-conversion extensions.
-func Xsqlite3_mprintf(tls *libc.TLS, zFormat uintptr, va uintptr) uintptr { /* sqlite3.c:29622:17: */
+func Xsqlite3_mprintf(tls *libc.TLS, zFormat uintptr, va uintptr) uintptr { /* sqlite3.c:29812:17: */
var ap Va_list
_ = ap
var z uintptr
@@ -17046,7 +17791,7 @@ func Xsqlite3_mprintf(tls *libc.TLS, zFormat uintptr, va uintptr) uintptr { /* s
// mistake.
//
// sqlite3_vsnprintf() is the varargs version.
-func Xsqlite3_vsnprintf(tls *libc.TLS, n int32, zBuf uintptr, zFormat uintptr, ap Va_list) uintptr { /* sqlite3.c:29647:17: */
+func Xsqlite3_vsnprintf(tls *libc.TLS, n int32, zBuf uintptr, zFormat uintptr, ap Va_list) uintptr { /* sqlite3.c:29837:17: */
bp := tls.Alloc(32)
defer tls.Free(32)
@@ -17061,7 +17806,7 @@ func Xsqlite3_vsnprintf(tls *libc.TLS, n int32, zBuf uintptr, zFormat uintptr, a
return zBuf
}
-func Xsqlite3_snprintf(tls *libc.TLS, n int32, zBuf uintptr, zFormat uintptr, va uintptr) uintptr { /* sqlite3.c:29662:17: */
+func Xsqlite3_snprintf(tls *libc.TLS, n int32, zBuf uintptr, zFormat uintptr, va uintptr) uintptr { /* sqlite3.c:29852:17: */
var z uintptr
var ap Va_list
_ = ap
@@ -17083,7 +17828,7 @@ func Xsqlite3_snprintf(tls *libc.TLS, n int32, zBuf uintptr, zFormat uintptr, va
// certain format characters (%q) or for very large precisions or widths.
// Care must be taken that any sqlite3_log() calls that occur while the
// memory mutex is held do not use these mechanisms.
-func renderLogMsg(tls *libc.TLS, iErrCode int32, zFormat uintptr, ap Va_list) { /* sqlite3.c:29685:13: */
+func renderLogMsg(tls *libc.TLS, iErrCode int32, zFormat uintptr, ap Va_list) { /* sqlite3.c:29875:13: */
bp := tls.Alloc(242)
defer tls.Free(242)
@@ -17099,7 +17844,7 @@ func renderLogMsg(tls *libc.TLS, iErrCode int32, zFormat uintptr, ap Va_list) {
}
// Format and write a message to the log if logging is enabled.
-func Xsqlite3_log(tls *libc.TLS, iErrCode int32, zFormat uintptr, va uintptr) { /* sqlite3.c:29698:17: */
+func Xsqlite3_log(tls *libc.TLS, iErrCode int32, zFormat uintptr, va uintptr) { /* sqlite3.c:29888:17: */
var ap Va_list
_ = ap // Vararg list
if Xsqlite3Config.FxLog != 0 {
@@ -17111,7 +17856,7 @@ func Xsqlite3_log(tls *libc.TLS, iErrCode int32, zFormat uintptr, va uintptr) {
// variable-argument wrapper around sqlite3_str_vappendf(). The bFlags argument
// can contain the bit SQLITE_PRINTF_INTERNAL enable internal formats.
-func Xsqlite3_str_appendf(tls *libc.TLS, p uintptr, zFormat uintptr, va uintptr) { /* sqlite3.c:29739:17: */
+func Xsqlite3_str_appendf(tls *libc.TLS, p uintptr, zFormat uintptr, va uintptr) { /* sqlite3.c:29929:17: */
var ap Va_list
_ = ap
ap = va
@@ -17166,7 +17911,7 @@ type sqlite3PrngType = struct {
Fi uint8
Fj uint8
Fs [256]uint8
-} /* sqlite3.c:30557:19 */
+} /* sqlite3.c:30748:19 */
//************* End of printf.c *********************************************
//************* Begin file treeview.c ***************************************
@@ -17210,10 +17955,10 @@ type sqlite3PrngType = struct {
// All threads share a single random number generator.
// This structure is the current state of the generator.
-var sqlite3Prng sqlite3PrngType /* sqlite3.c:30561:3: */
+var sqlite3Prng sqlite3PrngType /* sqlite3.c:30752:3: */
// Return N random bytes.
-func Xsqlite3_randomness(tls *libc.TLS, N int32, pBuf uintptr) { /* sqlite3.c:30566:17: */
+func Xsqlite3_randomness(tls *libc.TLS, N int32, pBuf uintptr) { /* sqlite3.c:30757:17: */
bp := tls.Alloc(256)
defer tls.Free(256)
@@ -17250,12 +17995,17 @@ func Xsqlite3_randomness(tls *libc.TLS, N int32, pBuf uintptr) { /* sqlite3.c:30
// encryption. The RC4 algorithm is being used as a PRNG (pseudo-random
// number generator) not as an encryption device.
if !(int32(sqlite3Prng.FisInit) != 0) {
+ var pVfs uintptr = Xsqlite3_vfs_find(tls, uintptr(0))
var i int32
// var k [256]int8 at bp, 256
sqlite3Prng.Fj = uint8(0)
sqlite3Prng.Fi = uint8(0)
- Xsqlite3OsRandomness(tls, Xsqlite3_vfs_find(tls, uintptr(0)), 256, bp /* &k[0] */)
+ if pVfs == uintptr(0) {
+ libc.Xmemset(tls, bp /* &k[0] */, 0, uint64(unsafe.Sizeof([256]int8{})))
+ } else {
+ Xsqlite3OsRandomness(tls, pVfs, 256, bp /* &k[0] */)
+ }
for i = 0; i < 256; i++ {
*(*uint8)(unsafe.Pointer((uintptr(unsafe.Pointer(&sqlite3Prng)) + 3 /* &.s */) + uintptr(i))) = U8(i)
}
@@ -17287,16 +18037,16 @@ func Xsqlite3_randomness(tls *libc.TLS, N int32, pBuf uintptr) { /* sqlite3.c:30
//
// The sqlite3_test_control() interface calls these routines to
// control the PRNG.
-var sqlite3SavedPrng sqlite3PrngType /* sqlite3.c:30652:42: */
+var sqlite3SavedPrng sqlite3PrngType /* sqlite3.c:30848:42: */
-func Xsqlite3PrngSaveState(tls *libc.TLS) { /* sqlite3.c:30653:21: */
+func Xsqlite3PrngSaveState(tls *libc.TLS) { /* sqlite3.c:30849:21: */
libc.Xmemcpy(tls,
uintptr(unsafe.Pointer(&sqlite3SavedPrng)),
uintptr(unsafe.Pointer(&sqlite3Prng)),
uint64(unsafe.Sizeof(sqlite3Prng)))
}
-func Xsqlite3PrngRestoreState(tls *libc.TLS) { /* sqlite3.c:30660:21: */
+func Xsqlite3PrngRestoreState(tls *libc.TLS) { /* sqlite3.c:30856:21: */
libc.Xmemcpy(tls,
uintptr(unsafe.Pointer(&sqlite3Prng)),
uintptr(unsafe.Pointer(&sqlite3SavedPrng)),
@@ -17304,7 +18054,7 @@ func Xsqlite3PrngRestoreState(tls *libc.TLS) { /* sqlite3.c:30660:21: */
}
// Create a new thread
-func Xsqlite3ThreadCreate(tls *libc.TLS, ppThread uintptr, xTask uintptr, pIn uintptr) int32 { /* sqlite3.c:30896:20: */
+func Xsqlite3ThreadCreate(tls *libc.TLS, ppThread uintptr, xTask uintptr, pIn uintptr) int32 { /* sqlite3.c:31092:20: */
var p uintptr
*(*uintptr)(unsafe.Pointer(ppThread)) = uintptr(0)
@@ -17324,7 +18074,7 @@ func Xsqlite3ThreadCreate(tls *libc.TLS, ppThread uintptr, xTask uintptr, pIn ui
}
// Get the results of the thread
-func Xsqlite3ThreadJoin(tls *libc.TLS, p uintptr, ppOut uintptr) int32 { /* sqlite3.c:30920:20: */
+func Xsqlite3ThreadJoin(tls *libc.TLS, p uintptr, ppOut uintptr) int32 { /* sqlite3.c:31116:20: */
if p == uintptr(0) {
return SQLITE_NOMEM
@@ -17391,7 +18141,7 @@ var sqlite3Utf8Trans1 = [64]uint8{
uint8(0x08), uint8(0x09), uint8(0x0a), uint8(0x0b), uint8(0x0c), uint8(0x0d), uint8(0x0e), uint8(0x0f),
uint8(0x00), uint8(0x01), uint8(0x02), uint8(0x03), uint8(0x04), uint8(0x05), uint8(0x06), uint8(0x07),
uint8(0x00), uint8(0x01), uint8(0x02), uint8(0x03), uint8(0x00), uint8(0x01), uint8(0x00), uint8(0x00),
-} /* sqlite3.c:30999:28 */
+} /* sqlite3.c:31195:28 */
// Translate a single UTF-8 character. Return the unicode value.
//
@@ -17418,7 +18168,7 @@ var sqlite3Utf8Trans1 = [64]uint8{
// * This routine accepts over-length UTF8 encodings
// for unicode values 0x80 and greater. It does not change over-length
// encodings to 0xfffd as some systems recommend.
-func Xsqlite3Utf8Read(tls *libc.TLS, pz uintptr) U32 { /* sqlite3.c:31093:20: */
+func Xsqlite3Utf8Read(tls *libc.TLS, pz uintptr) U32 { /* sqlite3.c:31289:20: */
var c uint32
// Same as READ_UTF8() above but without the zTerm parameter.
@@ -17445,7 +18195,7 @@ func Xsqlite3Utf8Read(tls *libc.TLS, pz uintptr) U32 { /* sqlite3.c:31093:20: */
// This routine transforms the internal text encoding used by pMem to
// desiredEnc. It is an error if the string is already of the desired
// encoding, or if *pMem does not contain a string value.
-func Xsqlite3VdbeMemTranslate(tls *libc.TLS, pMem uintptr, desiredEnc U8) int32 { /* sqlite3.c:31129:36: */
+func Xsqlite3VdbeMemTranslate(tls *libc.TLS, pMem uintptr, desiredEnc U8) int32 { /* sqlite3.c:31325:36: */
var len Sqlite3_int64 // Maximum length of output string in bytes
var zOut uintptr // Output buffer
var zIn uintptr // Input iterator
@@ -17770,7 +18520,7 @@ translate_out:
//
// The allocation (static, dynamic etc.) and encoding of the Mem may be
// changed by this function.
-func Xsqlite3VdbeMemHandleBom(tls *libc.TLS, pMem uintptr) int32 { /* sqlite3.c:31324:20: */
+func Xsqlite3VdbeMemHandleBom(tls *libc.TLS, pMem uintptr) int32 { /* sqlite3.c:31520:20: */
var rc int32 = SQLITE_OK
var bom U8 = U8(0)
@@ -17804,7 +18554,7 @@ func Xsqlite3VdbeMemHandleBom(tls *libc.TLS, pMem uintptr) int32 { /* sqlite3.c:
// the first 0x00 byte. If nByte is not less than zero, return the
// number of unicode characters in the first nByte of pZ (or up to
// the first 0x00, whichever comes first).
-func Xsqlite3Utf8CharLen(tls *libc.TLS, zIn uintptr, nByte int32) int32 { /* sqlite3.c:31362:20: */
+func Xsqlite3Utf8CharLen(tls *libc.TLS, zIn uintptr, nByte int32) int32 { /* sqlite3.c:31558:20: */
var r int32 = 0
var z uintptr = zIn
var zTerm uintptr
@@ -17836,7 +18586,7 @@ func Xsqlite3Utf8CharLen(tls *libc.TLS, zIn uintptr, nByte int32) int32 { /* sql
// be freed by the calling function.
//
// NULL is returned if there is an allocation error.
-func Xsqlite3Utf16to8(tls *libc.TLS, db uintptr, z uintptr, nByte int32, enc U8) uintptr { /* sqlite3.c:31416:21: */
+func Xsqlite3Utf16to8(tls *libc.TLS, db uintptr, z uintptr, nByte int32, enc U8) uintptr { /* sqlite3.c:31612:21: */
bp := tls.Alloc(56)
defer tls.Free(56)
@@ -17844,7 +18594,7 @@ func Xsqlite3Utf16to8(tls *libc.TLS, db uintptr, z uintptr, nByte int32, enc U8)
libc.Xmemset(tls, bp /* &m */, 0, uint64(unsafe.Sizeof(Mem{})))
(*Mem)(unsafe.Pointer(bp /* &m */)).Fdb = db
- Xsqlite3VdbeMemSetStr(tls, bp /* &m */, z, nByte, enc, uintptr(0))
+ Xsqlite3VdbeMemSetStr(tls, bp /* &m */, z, int64(nByte), enc, uintptr(0))
Xsqlite3VdbeChangeEncoding(tls, bp /* &m */, SQLITE_UTF8)
if (*Sqlite3)(unsafe.Pointer(db)).FmallocFailed != 0 {
Xsqlite3VdbeMemRelease(tls, bp /* &m */)
@@ -17857,7 +18607,7 @@ func Xsqlite3Utf16to8(tls *libc.TLS, db uintptr, z uintptr, nByte int32, enc U8)
// zIn is a UTF-16 encoded unicode string at least nChar characters long.
// Return the number of bytes in the first nChar unicode characters
// in pZ. nChar must be non-negative.
-func Xsqlite3Utf16ByteLen(tls *libc.TLS, zIn uintptr, nChar int32) int32 { /* sqlite3.c:31437:20: */
+func Xsqlite3Utf16ByteLen(tls *libc.TLS, zIn uintptr, nChar int32) int32 { /* sqlite3.c:31633:20: */
var c int32
var z uintptr = zIn
var n int32 = 0
@@ -17907,7 +18657,7 @@ func Xsqlite3Utf16ByteLen(tls *libc.TLS, zIn uintptr, nChar int32) int32 { /* sq
// #include "sqliteInt.h"
// #include
// Declarations for math functions.
-// Copyright (C) 1991-2018 Free Software Foundation, Inc.
+// Copyright (C) 1991-2020 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
@@ -17922,12 +18672,12 @@ func Xsqlite3Utf16ByteLen(tls *libc.TLS, zIn uintptr, nChar int32) int32 { /* sq
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// ISO C99 Standard: 7.12 Mathematics
// Handle feature test macros at the start of a header.
-// Copyright (C) 2016-2018 Free Software Foundation, Inc.
+// Copyright (C) 2016-2020 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
@@ -17942,7 +18692,7 @@ func Xsqlite3Utf16ByteLen(tls *libc.TLS, zIn uintptr, nChar int32) int32 { /* sq
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// This header is internal to glibc and should not be included outside
// of glibc headers. Headers including it must define
@@ -17952,7 +18702,7 @@ func Xsqlite3Utf16ByteLen(tls *libc.TLS, zIn uintptr, nChar int32) int32 { /* sq
// header is included, not when the first system header is
// included.
-// Copyright (C) 1991-2018 Free Software Foundation, Inc.
+// Copyright (C) 1991-2020 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
@@ -17967,23 +18717,27 @@ func Xsqlite3Utf16ByteLen(tls *libc.TLS, zIn uintptr, nChar int32) int32 { /* sq
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// ISO/IEC TR 24731-2:2010 defines the __STDC_WANT_LIB_EXT2__
// macro.
// ISO/IEC TS 18661-1:2014 defines the __STDC_WANT_IEC_60559_BFP_EXT__
-// macro.
+// macro. Most but not all symbols enabled by that macro in TS
+// 18661-1 are enabled unconditionally in C2X; the symbols in Annex F
+// still require that macro in C2X.
// ISO/IEC TS 18661-4:2015 defines the
-// __STDC_WANT_IEC_60559_FUNCS_EXT__ macro.
+// __STDC_WANT_IEC_60559_FUNCS_EXT__ macro. Other than the reduction
+// functions, the symbols from this TS are enabled unconditionally in
+// C2X.
// ISO/IEC TS 18661-3:2015 defines the
// __STDC_WANT_IEC_60559_TYPES_EXT__ macro.
// Get definitions of __intmax_t and __uintmax_t.
// bits/types.h -- definitions of __*_t types underlying *_t types.
-// Copyright (C) 2002-2018 Free Software Foundation, Inc.
+// Copyright (C) 2002-2020 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
@@ -17998,13 +18752,13 @@ func Xsqlite3Utf16ByteLen(tls *libc.TLS, zIn uintptr, nChar int32) int32 { /* sq
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// Never include this file directly; use instead.
// Get machine-dependent vector math functions declarations.
// Platform-specific SIMD declarations of math functions.
-// Copyright (C) 2014-2018 Free Software Foundation, Inc.
+// Copyright (C) 2014-2020 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
@@ -18019,13 +18773,13 @@ func Xsqlite3Utf16ByteLen(tls *libc.TLS, zIn uintptr, nChar int32) int32 { /* sq
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// Get default empty definitions required for __MATHCALL_VEC unfolding.
// Plaform-specific analogue of this header should redefine them with specific
// SIMD declarations.
// Empty definitions required for __MATHCALL_VEC unfolding in mathcalls.h.
-// Copyright (C) 2014-2018 Free Software Foundation, Inc.
+// Copyright (C) 2014-2020 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
@@ -18040,7 +18794,7 @@ func Xsqlite3Utf16ByteLen(tls *libc.TLS, zIn uintptr, nChar int32) int32 { /* sq
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// Needed definitions could be generated with:
// for func in $(grep __MATHCALL_VEC math/bits/mathcalls.h | sed -r "s|__MATHCALL_VEC.?\(||; s|,.*||"); do
@@ -18052,7 +18806,7 @@ func Xsqlite3Utf16ByteLen(tls *libc.TLS, zIn uintptr, nChar int32) int32 { /* sq
// Gather machine dependent type support.
// Macros to control TS 18661-3 glibc features on ldbl-128 platforms.
-// Copyright (C) 2017-2018 Free Software Foundation, Inc.
+// Copyright (C) 2017-2020 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
@@ -18067,7 +18821,7 @@ func Xsqlite3Utf16ByteLen(tls *libc.TLS, zIn uintptr, nChar int32) int32 { /* sq
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// Value returned on overflow. With IEEE 754 floating point, this is
// +Infinity, otherwise the largest representable positive value.
@@ -18080,7 +18834,7 @@ func Xsqlite3Utf16ByteLen(tls *libc.TLS, zIn uintptr, nChar int32) int32 { /* sq
// Get __GLIBC_FLT_EVAL_METHOD.
// Define __GLIBC_FLT_EVAL_METHOD. S/390 version.
-// Copyright (C) 2016-2018 Free Software Foundation, Inc.
+// Copyright (C) 2016-2020 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
@@ -18095,7 +18849,7 @@ func Xsqlite3Utf16ByteLen(tls *libc.TLS, zIn uintptr, nChar int32) int32 { /* sq
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// This value is used because of a historical mistake.
@@ -18140,7 +18894,7 @@ type Double_t = float64 /* math.h:153:16 */
// nonconforming but it is more useful than leaving it undefined).
// Define iscanonical macro.
-// Copyright (C) 2016-2018 Free Software Foundation, Inc.
+// Copyright (C) 2016-2020 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
@@ -18155,7 +18909,7 @@ type Double_t = float64 /* math.h:153:16 */
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// Return nonzero value if X is canonical. By default, we only have
// IEEE interchange binary formats, in which all values are canonical,
@@ -18190,9 +18944,6 @@ type Double_t = float64 /* math.h:153:16 */
// Get machine-dependent inline versions (if there are any).
-// Define special entry points to use when the compiler got told to
-// only expect finite results.
-
// An expression whose type has the widest of the evaluation formats
// of X and Y (which are of floating-point types).
@@ -18218,7 +18969,7 @@ type Double_t = float64 /* math.h:153:16 */
// sqlite3FaultSim() instance is being invoked. Each call to sqlite3FaultSim()
// should have a unique code. To prevent legacy testing applications from
// breaking, the codes should not be changed or reused.
-func Xsqlite3FaultSim(tls *libc.TLS, iTest int32) int32 { /* sqlite3.c:31539:20: */
+func Xsqlite3FaultSim(tls *libc.TLS, iTest int32) int32 { /* sqlite3.c:31735:20: */
var xCallback uintptr = Xsqlite3Config.FxTestCallback
if xCallback != 0 {
return (*(*func(*libc.TLS, int32) int32)(unsafe.Pointer(&xCallback)))(tls, iTest)
@@ -18227,7 +18978,7 @@ func Xsqlite3FaultSim(tls *libc.TLS, iTest int32) int32 { /* sqlite3.c:31539:20:
}
// Return true if the floating point value is Not a Number (NaN).
-func Xsqlite3IsNaN(tls *libc.TLS, x float64) int32 { /* sqlite3.c:31549:20: */
+func Xsqlite3IsNaN(tls *libc.TLS, x float64) int32 { /* sqlite3.c:31745:20: */
bp := tls.Alloc(16)
defer tls.Free(16)
*(*float64)(unsafe.Pointer(bp + 8)) = x
@@ -18244,7 +18995,7 @@ func Xsqlite3IsNaN(tls *libc.TLS, x float64) int32 { /* sqlite3.c:31549:20: */
// The value returned will never be negative. Nor will it ever be greater
// than the actual length of the string. For very long strings (greater
// than 1GiB) the value returned might be less than the true string length.
-func Xsqlite3Strlen30(tls *libc.TLS, z uintptr) int32 { /* sqlite3.c:31564:20: */
+func Xsqlite3Strlen30(tls *libc.TLS, z uintptr) int32 { /* sqlite3.c:31760:20: */
if z == uintptr(0) {
return 0
}
@@ -18256,7 +19007,7 @@ func Xsqlite3Strlen30(tls *libc.TLS, z uintptr) int32 { /* sqlite3.c:31564:20: *
//
// The column type is an extra string stored after the zero-terminator on
// the column name if and only if the COLFLAG_HASTYPE flag is set.
-func Xsqlite3ColumnType(tls *libc.TLS, pCol uintptr, zDflt uintptr) uintptr { /* sqlite3.c:31576:21: */
+func Xsqlite3ColumnType(tls *libc.TLS, pCol uintptr, zDflt uintptr) uintptr { /* sqlite3.c:31772:21: */
if (int32((*Column)(unsafe.Pointer(pCol)).FcolFlags) & COLFLAG_HASTYPE) == 0 {
return zDflt
}
@@ -18266,7 +19017,7 @@ func Xsqlite3ColumnType(tls *libc.TLS, pCol uintptr, zDflt uintptr) uintptr { /*
// Helper function for sqlite3Error() - called rarely. Broken out into
// a separate routine to avoid unnecessary register saves on entry to
// sqlite3Error().
-func sqlite3ErrorFinish(tls *libc.TLS, db uintptr, err_code int32) { /* sqlite3.c:31586:30: */
+func sqlite3ErrorFinish(tls *libc.TLS, db uintptr, err_code int32) { /* sqlite3.c:31782:30: */
if (*Sqlite3)(unsafe.Pointer(db)).FpErr != 0 {
Xsqlite3ValueSetNull(tls, (*Sqlite3)(unsafe.Pointer(db)).FpErr)
}
@@ -18276,7 +19027,7 @@ func sqlite3ErrorFinish(tls *libc.TLS, db uintptr, err_code int32) { /* sqlite3.
// Set the current error code to err_code and clear any prior error message.
// Also set iSysErrno (by calling sqlite3System) if the err_code indicates
// that would be appropriate.
-func Xsqlite3Error(tls *libc.TLS, db uintptr, err_code int32) { /* sqlite3.c:31596:21: */
+func Xsqlite3Error(tls *libc.TLS, db uintptr, err_code int32) { /* sqlite3.c:31792:21: */
(*Sqlite3)(unsafe.Pointer(db)).FerrCode = err_code
if (err_code != 0) || ((*Sqlite3)(unsafe.Pointer(db)).FpErr != 0) {
@@ -18286,7 +19037,7 @@ func Xsqlite3Error(tls *libc.TLS, db uintptr, err_code int32) { /* sqlite3.c:315
// The equivalent of sqlite3Error(db, SQLITE_OK). Clear the error state
// and error message.
-func Xsqlite3ErrorClear(tls *libc.TLS, db uintptr) { /* sqlite3.c:31606:21: */
+func Xsqlite3ErrorClear(tls *libc.TLS, db uintptr) { /* sqlite3.c:31802:21: */
(*Sqlite3)(unsafe.Pointer(db)).FerrCode = SQLITE_OK
if (*Sqlite3)(unsafe.Pointer(db)).FpErr != 0 {
@@ -18296,7 +19047,7 @@ func Xsqlite3ErrorClear(tls *libc.TLS, db uintptr) { /* sqlite3.c:31606:21: */
// Load the sqlite3.iSysErrno field if that is an appropriate thing
// to do based on the SQLite error code in rc.
-func Xsqlite3SystemError(tls *libc.TLS, db uintptr, rc int32) { /* sqlite3.c:31616:21: */
+func Xsqlite3SystemError(tls *libc.TLS, db uintptr, rc int32) { /* sqlite3.c:31812:21: */
if rc == (SQLITE_IOERR | (int32(12) << 8)) {
return
}
@@ -18325,7 +19076,7 @@ func Xsqlite3SystemError(tls *libc.TLS, db uintptr, rc int32) { /* sqlite3.c:316
// To clear the most recent error for sqlite handle "db", sqlite3Error
// should be called with err_code set to SQLITE_OK and zFormat set
// to NULL.
-func Xsqlite3ErrorWithMsg(tls *libc.TLS, db uintptr, err_code int32, zFormat uintptr, va uintptr) { /* sqlite3.c:31645:21: */
+func Xsqlite3ErrorWithMsg(tls *libc.TLS, db uintptr, err_code int32, zFormat uintptr, va uintptr) { /* sqlite3.c:31841:21: */
(*Sqlite3)(unsafe.Pointer(db)).FerrCode = err_code
Xsqlite3SystemError(tls, db, err_code)
@@ -18357,7 +19108,7 @@ func Xsqlite3ErrorWithMsg(tls *libc.TLS, db uintptr, err_code int32, zFormat uin
// stored by this function into the database handle using sqlite3Error().
// Functions sqlite3Error() or sqlite3ErrorWithMsg() should be used
// during statement execution (sqlite3_step() etc.).
-func Xsqlite3ErrorMsg(tls *libc.TLS, pParse uintptr, zFormat uintptr, va uintptr) { /* sqlite3.c:31678:21: */
+func Xsqlite3ErrorMsg(tls *libc.TLS, pParse uintptr, zFormat uintptr, va uintptr) { /* sqlite3.c:31874:21: */
var zMsg uintptr
var ap Va_list
_ = ap
@@ -18379,7 +19130,7 @@ func Xsqlite3ErrorMsg(tls *libc.TLS, pParse uintptr, zFormat uintptr, va uintptr
// If database connection db is currently parsing SQL, then transfer
// error code errCode to that parser if the parser has not already
// encountered some other kind of error.
-func Xsqlite3ErrorToParser(tls *libc.TLS, db uintptr, errCode int32) int32 { /* sqlite3.c:31701:20: */
+func Xsqlite3ErrorToParser(tls *libc.TLS, db uintptr, errCode int32) int32 { /* sqlite3.c:31897:20: */
var pParse uintptr
if (db == uintptr(0)) || ((libc.AssignUintptr(&pParse, (*Sqlite3)(unsafe.Pointer(db)).FpParse)) == uintptr(0)) {
return errCode
@@ -18404,7 +19155,7 @@ func Xsqlite3ErrorToParser(tls *libc.TLS, db uintptr, errCode int32) int32 { /*
// 2002-02-14: This routine is extended to remove MS-Access style
// brackets from around identifiers. For example: "[a-b-c]" becomes
// "a-b-c".
-func Xsqlite3Dequote(tls *libc.TLS, z uintptr) { /* sqlite3.c:31726:21: */
+func Xsqlite3Dequote(tls *libc.TLS, z uintptr) { /* sqlite3.c:31922:21: */
var quote int8
var i int32
var j int32
@@ -18436,7 +19187,7 @@ func Xsqlite3Dequote(tls *libc.TLS, z uintptr) { /* sqlite3.c:31726:21: */
*(*int8)(unsafe.Pointer(z + uintptr(j))) = int8(0)
}
-func Xsqlite3DequoteExpr(tls *libc.TLS, p uintptr) { /* sqlite3.c:31748:21: */
+func Xsqlite3DequoteExpr(tls *libc.TLS, p uintptr) { /* sqlite3.c:31944:21: */
*(*U32)(unsafe.Pointer(p + 4 /* &.flags */)) |= (func() uint32 {
if int32(*(*int8)(unsafe.Pointer(*(*uintptr)(unsafe.Pointer(p + 8 /* &.u */))))) == '"' {
@@ -18448,7 +19199,7 @@ func Xsqlite3DequoteExpr(tls *libc.TLS, p uintptr) { /* sqlite3.c:31748:21: */
}
// Generate a Token object from a string
-func Xsqlite3TokenInit(tls *libc.TLS, p uintptr, z uintptr) { /* sqlite3.c:31757:21: */
+func Xsqlite3TokenInit(tls *libc.TLS, p uintptr, z uintptr) { /* sqlite3.c:31953:21: */
(*Token)(unsafe.Pointer(p)).Fz = z
(*Token)(unsafe.Pointer(p)).Fn = uint32(Xsqlite3Strlen30(tls, z))
}
@@ -18463,7 +19214,7 @@ func Xsqlite3TokenInit(tls *libc.TLS, p uintptr, z uintptr) { /* sqlite3.c:31757
// the contents of two buffers containing UTF-8 strings in a
// case-independent fashion, using the same definition of "case
// independence" that SQLite uses internally when comparing identifiers.
-func Xsqlite3_stricmp(tls *libc.TLS, zLeft uintptr, zRight uintptr) int32 { /* sqlite3.c:31775:16: */
+func Xsqlite3_stricmp(tls *libc.TLS, zLeft uintptr, zRight uintptr) int32 { /* sqlite3.c:31971:16: */
if zLeft == uintptr(0) {
if zRight != 0 {
return -1
@@ -18475,7 +19226,7 @@ func Xsqlite3_stricmp(tls *libc.TLS, zLeft uintptr, zRight uintptr) int32 { /* s
return Xsqlite3StrICmp(tls, zLeft, zRight)
}
-func Xsqlite3StrICmp(tls *libc.TLS, zLeft uintptr, zRight uintptr) int32 { /* sqlite3.c:31783:20: */
+func Xsqlite3StrICmp(tls *libc.TLS, zLeft uintptr, zRight uintptr) int32 { /* sqlite3.c:31979:20: */
var a uintptr
var b uintptr
var c int32
@@ -18501,7 +19252,7 @@ func Xsqlite3StrICmp(tls *libc.TLS, zLeft uintptr, zRight uintptr) int32 { /* sq
return c
}
-func Xsqlite3_strnicmp(tls *libc.TLS, zLeft uintptr, zRight uintptr, N int32) int32 { /* sqlite3.c:31802:16: */
+func Xsqlite3_strnicmp(tls *libc.TLS, zLeft uintptr, zRight uintptr, N int32) int32 { /* sqlite3.c:31998:16: */
var a uintptr
var b uintptr
if zLeft == uintptr(0) {
@@ -18525,7 +19276,7 @@ func Xsqlite3_strnicmp(tls *libc.TLS, zLeft uintptr, zRight uintptr, N int32) in
}
// Compute an 8-bit hash on a string that is insensitive to case differences
-func Xsqlite3StrIHash(tls *libc.TLS, z uintptr) U8 { /* sqlite3.c:31818:19: */
+func Xsqlite3StrIHash(tls *libc.TLS, z uintptr) U8 { /* sqlite3.c:32014:19: */
var h U8 = U8(0)
if z == uintptr(0) {
return U8(0)
@@ -18541,7 +19292,7 @@ func Xsqlite3StrIHash(tls *libc.TLS, z uintptr) U8 { /* sqlite3.c:31818:19: */
// E==2 results in 100. E==50 results in 1.0e50.
//
// This routine only works for values of E between 1 and 341.
-func sqlite3Pow10(tls *libc.TLS, E int32) float64 { /* sqlite3.c:31834:24: */
+func sqlite3Pow10(tls *libc.TLS, E int32) float64 { /* sqlite3.c:32030:24: */
var x float64 = 10.0
var r float64 = 1.0
for 1 != 0 {
@@ -18584,7 +19335,7 @@ func sqlite3Pow10(tls *libc.TLS, E int32) float64 { /* sqlite3.c:31834:24: */
// If some prefix of the input string is a valid number, this routine
// returns FALSE but it still converts the prefix and writes the result
// into *pResult.
-func Xsqlite3AtoF(tls *libc.TLS, z uintptr, pResult uintptr, length int32, enc U8) int32 { /* sqlite3.c:31899:20: */
+func Xsqlite3AtoF(tls *libc.TLS, z uintptr, pResult uintptr, length int32, enc U8) int32 { /* sqlite3.c:32095:20: */
var incr int32
var zEnd uintptr
// sign * significand * (10 ^ (esign * exponent))
@@ -18964,7 +19715,7 @@ __57:
// Render an signed 64-bit integer as text. Store the result in zOut[].
//
// The caller must ensure that zOut[] is at least 21 bytes in size.
-func Xsqlite3Int64ToText(tls *libc.TLS, v I64, zOut uintptr) { /* sqlite3.c:32098:21: */
+func Xsqlite3Int64ToText(tls *libc.TLS, v I64, zOut uintptr) { /* sqlite3.c:32294:21: */
bp := tls.Alloc(22)
defer tls.Free(22)
@@ -19005,11 +19756,11 @@ func Xsqlite3Int64ToText(tls *libc.TLS, v I64, zOut uintptr) { /* sqlite3.c:3209
// compare2pow63("9223372036854775800", 1)
//
// will return -8.
-func compare2pow63(tls *libc.TLS, zNum uintptr, incr int32) int32 { /* sqlite3.c:32131:12: */
+func compare2pow63(tls *libc.TLS, zNum uintptr, incr int32) int32 { /* sqlite3.c:32327:12: */
var c int32 = 0
var i int32
// 012345678901234567
- var pow63 uintptr = ts + 727 /* "9223372036854775..." */
+ var pow63 uintptr = ts + 791 /* "9223372036854775..." */
for i = 0; (c == 0) && (i < 18); i++ {
c = ((int32(*(*int8)(unsafe.Pointer(zNum + uintptr((i * incr))))) - int32(*(*int8)(unsafe.Pointer(pow63 + uintptr(i))))) * 10)
}
@@ -19034,7 +19785,7 @@ func compare2pow63(tls *libc.TLS, zNum uintptr, incr int32) int32 { /* sqlite3.c
// length is the number of bytes in the string (bytes, not characters).
// The string is not necessarily zero-terminated. The encoding is
// given by enc.
-func Xsqlite3Atoi64(tls *libc.TLS, zNum uintptr, pNum uintptr, length int32, enc U8) int32 { /* sqlite3.c:32164:20: */
+func Xsqlite3Atoi64(tls *libc.TLS, zNum uintptr, pNum uintptr, length int32, enc U8) int32 { /* sqlite3.c:32360:20: */
var incr int32
var u U64 = uint64(0)
var neg int32 = 0 // assume positive
@@ -19156,7 +19907,7 @@ func Xsqlite3Atoi64(tls *libc.TLS, zNum uintptr, pNum uintptr, length int32, enc
// 1 Excess text after the integer value
// 2 Integer too large for a 64-bit signed integer or is malformed
// 3 Special case of 9223372036854775808
-func Xsqlite3DecOrHexToI64(tls *libc.TLS, z uintptr, pOut uintptr) int32 { /* sqlite3.c:32267:20: */
+func Xsqlite3DecOrHexToI64(tls *libc.TLS, z uintptr, pOut uintptr) int32 { /* sqlite3.c:32463:20: */
bp := tls.Alloc(8)
defer tls.Free(8)
@@ -19189,7 +19940,7 @@ func Xsqlite3DecOrHexToI64(tls *libc.TLS, z uintptr, pOut uintptr) int32 { /* sq
// Any non-numeric characters that following zNum are ignored.
// This is different from sqlite3Atoi64() which requires the
// input number to be zero-terminated.
-func Xsqlite3GetInt32(tls *libc.TLS, zNum uintptr, pValue uintptr) int32 { /* sqlite3.c:32297:20: */
+func Xsqlite3GetInt32(tls *libc.TLS, zNum uintptr, pValue uintptr) int32 { /* sqlite3.c:32493:20: */
bp := tls.Alloc(4)
defer tls.Free(4)
@@ -19251,7 +20002,7 @@ func Xsqlite3GetInt32(tls *libc.TLS, zNum uintptr, pValue uintptr) int32 { /* sq
// Return a 32-bit integer value extracted from a string. If the
// string is not an integer, just return 0.
-func Xsqlite3Atoi(tls *libc.TLS, z uintptr) int32 { /* sqlite3.c:32356:20: */
+func Xsqlite3Atoi(tls *libc.TLS, z uintptr) int32 { /* sqlite3.c:32552:20: */
bp := tls.Alloc(4)
defer tls.Free(4)
@@ -19264,7 +20015,7 @@ func Xsqlite3Atoi(tls *libc.TLS, z uintptr) int32 { /* sqlite3.c:32356:20: */
// success and false if there is an error.
//
// Only decimal notation is accepted.
-func Xsqlite3GetUInt32(tls *libc.TLS, z uintptr, pI uintptr) int32 { /* sqlite3.c:32368:20: */
+func Xsqlite3GetUInt32(tls *libc.TLS, z uintptr, pI uintptr) int32 { /* sqlite3.c:32564:20: */
var v U64 = uint64(0)
var i int32
for i = 0; (int32(Xsqlite3CtypeMap[uint8(*(*int8)(unsafe.Pointer(z + uintptr(i))))]) & 0x04) != 0; i++ {
@@ -19307,7 +20058,7 @@ func Xsqlite3GetUInt32(tls *libc.TLS, z uintptr, pI uintptr) int32 { /* sqlite3.
// for all bytes that have the 8th bit set and one byte with the 8th
// bit clear. Except, if we get to the 9th byte, it stores the full
// 8 bits and is the last byte.
-func putVarint64(tls *libc.TLS, p uintptr, v U64) int32 { /* sqlite3.c:32409:28: */
+func putVarint64(tls *libc.TLS, p uintptr, v U64) int32 { /* sqlite3.c:32605:28: */
bp := tls.Alloc(10)
defer tls.Free(10)
@@ -19353,7 +20104,7 @@ __3:
return n
}
-func Xsqlite3PutVarint(tls *libc.TLS, p uintptr, v U64) int32 { /* sqlite3.c:32433:20: */
+func Xsqlite3PutVarint(tls *libc.TLS, p uintptr, v U64) int32 { /* sqlite3.c:32629:20: */
if v <= uint64(0x7f) {
*(*uint8)(unsafe.Pointer(p)) = (uint8(v & uint64(0x7f)))
return 1
@@ -19376,7 +20127,7 @@ func Xsqlite3PutVarint(tls *libc.TLS, p uintptr, v U64) int32 { /* sqlite3.c:324
// Read a 64-bit variable-length integer from memory starting at p[0].
// Return the number of bytes read. The value is stored in *v.
-func Xsqlite3GetVarint(tls *libc.TLS, p uintptr, v uintptr) U8 { /* sqlite3.c:32463:19: */
+func Xsqlite3GetVarint(tls *libc.TLS, p uintptr, v uintptr) U8 { /* sqlite3.c:32659:19: */
var a U32
var b U32
var s U32
@@ -19529,7 +20280,7 @@ func Xsqlite3GetVarint(tls *libc.TLS, p uintptr, v uintptr) U8 { /* sqlite3.c:32
// A MACRO version, getVarint32, is provided which inlines the
// single-byte case. All code should use the MACRO version as
// this function assumes the single-byte case has already been handled.
-func Xsqlite3GetVarint32(tls *libc.TLS, p uintptr, v uintptr) U8 { /* sqlite3.c:32624:19: */
+func Xsqlite3GetVarint32(tls *libc.TLS, p uintptr, v uintptr) U8 { /* sqlite3.c:32820:19: */
bp := tls.Alloc(8)
defer tls.Free(8)
@@ -19597,7 +20348,7 @@ func Xsqlite3GetVarint32(tls *libc.TLS, p uintptr, v uintptr) U8 { /* sqlite3.c:
// Return the number of bytes that will be needed to store the given
// 64-bit integer.
-func Xsqlite3VarintLen(tls *libc.TLS, v U64) int32 { /* sqlite3.c:32746:20: */
+func Xsqlite3VarintLen(tls *libc.TLS, v U64) int32 { /* sqlite3.c:32942:20: */
var i int32
for i = 1; (libc.AssignShrUint64(&v, int(uint64(7)))) != uint64(0); i++ {
}
@@ -19605,12 +20356,12 @@ func Xsqlite3VarintLen(tls *libc.TLS, v U64) int32 { /* sqlite3.c:32746:20: */
}
// Read or write a four-byte big-endian integer value.
-func Xsqlite3Get4byte(tls *libc.TLS, p uintptr) U32 { /* sqlite3.c:32756:20: */
+func Xsqlite3Get4byte(tls *libc.TLS, p uintptr) U32 { /* sqlite3.c:32952:20: */
return ((((uint32(*(*U8)(unsafe.Pointer(p))) << 24) | (uint32(int32(*(*U8)(unsafe.Pointer(p + 1))) << 16))) | (uint32(int32(*(*U8)(unsafe.Pointer(p + 2))) << 8))) | uint32(*(*U8)(unsafe.Pointer(p + 3))))
}
-func Xsqlite3Put4byte(tls *libc.TLS, p uintptr, v U32) { /* sqlite3.c:32774:21: */
+func Xsqlite3Put4byte(tls *libc.TLS, p uintptr, v U32) { /* sqlite3.c:32970:21: */
*(*uint8)(unsafe.Pointer(p)) = (U8(v >> 24))
*(*uint8)(unsafe.Pointer(p + 1)) = (U8(v >> 16))
*(*uint8)(unsafe.Pointer(p + 2)) = (U8(v >> 8))
@@ -19620,7 +20371,7 @@ func Xsqlite3Put4byte(tls *libc.TLS, p uintptr, v U32) { /* sqlite3.c:32774:21:
// Translate a single byte of Hex into an integer.
// This routine only works if h really is a valid hexadecimal
// character: 0..9a..fA..F
-func Xsqlite3HexToInt(tls *libc.TLS, h int32) U8 { /* sqlite3.c:32798:19: */
+func Xsqlite3HexToInt(tls *libc.TLS, h int32) U8 { /* sqlite3.c:32994:19: */
h = h + (9 * (1 & (h >> 6)))
return (U8(h & 0xf))
@@ -19630,7 +20381,7 @@ func Xsqlite3HexToInt(tls *libc.TLS, h int32) U8 { /* sqlite3.c:32798:19: */
// value. Return a pointer to its binary value. Space to hold the
// binary value has been obtained from malloc and must be freed by
// the calling routine.
-func Xsqlite3HexToBlob(tls *libc.TLS, db uintptr, z uintptr, n int32) uintptr { /* sqlite3.c:32816:21: */
+func Xsqlite3HexToBlob(tls *libc.TLS, db uintptr, z uintptr, n int32) uintptr { /* sqlite3.c:33012:21: */
var zBlob uintptr
var i int32
@@ -19648,12 +20399,12 @@ func Xsqlite3HexToBlob(tls *libc.TLS, db uintptr, z uintptr, n int32) uintptr {
// Log an error that is an API call on a connection pointer that should
// not have been used. The "type" of connection pointer is given as the
// argument. The zType is a word like "NULL" or "closed" or "invalid".
-func logBadConnection(tls *libc.TLS, zType uintptr) { /* sqlite3.c:32837:13: */
+func logBadConnection(tls *libc.TLS, zType uintptr) { /* sqlite3.c:33033:13: */
bp := tls.Alloc(8)
defer tls.Free(8)
Xsqlite3_log(tls, SQLITE_MISUSE,
- ts+746, /* "API call with %s..." */
+ ts+810, /* "API call with %s..." */
libc.VaList(bp, zType))
}
@@ -19669,17 +20420,17 @@ func logBadConnection(tls *libc.TLS, zType uintptr) { /* sqlite3.c:32837:13: */
// use. sqlite3SafetyCheckSickOrOk() allows a db pointer that failed to
// open properly and is not fit for general use but which can be
// used as an argument to sqlite3_errmsg() or sqlite3_close().
-func Xsqlite3SafetyCheckOk(tls *libc.TLS, db uintptr) int32 { /* sqlite3.c:32858:20: */
+func Xsqlite3SafetyCheckOk(tls *libc.TLS, db uintptr) int32 { /* sqlite3.c:33054:20: */
var magic U32
if db == uintptr(0) {
- logBadConnection(tls, ts+704 /* "NULL" */)
+ logBadConnection(tls, ts+756 /* "NULL" */)
return 0
}
magic = (*Sqlite3)(unsafe.Pointer(db)).Fmagic
if magic != SQLITE_MAGIC_OPEN {
if Xsqlite3SafetyCheckSickOrOk(tls, db) != 0 {
- logBadConnection(tls, ts+791 /* "unopened" */)
+ logBadConnection(tls, ts+855 /* "unopened" */)
}
return 0
} else {
@@ -19688,12 +20439,12 @@ func Xsqlite3SafetyCheckOk(tls *libc.TLS, db uintptr) int32 { /* sqlite3.c:32858
return int32(0)
}
-func Xsqlite3SafetyCheckSickOrOk(tls *libc.TLS, db uintptr) int32 { /* sqlite3.c:32875:20: */
+func Xsqlite3SafetyCheckSickOrOk(tls *libc.TLS, db uintptr) int32 { /* sqlite3.c:33071:20: */
var magic U32
magic = (*Sqlite3)(unsafe.Pointer(db)).Fmagic
if ((magic != U32(SQLITE_MAGIC_SICK)) && (magic != SQLITE_MAGIC_OPEN)) && (magic != SQLITE_MAGIC_BUSY) {
- logBadConnection(tls, ts+800 /* "invalid" */)
+ logBadConnection(tls, ts+864 /* "invalid" */)
return 0
} else {
return 1
@@ -19705,21 +20456,21 @@ func Xsqlite3SafetyCheckSickOrOk(tls *libc.TLS, db uintptr) int32 { /* sqlite3.c
// the other 64-bit signed integer at *pA and store the result in *pA.
// Return 0 on success. Or if the operation would have resulted in an
// overflow, leave *pA unchanged and return 1.
-func Xsqlite3AddInt64(tls *libc.TLS, pA uintptr, iB I64) int32 { /* sqlite3.c:32895:20: */
+func Xsqlite3AddInt64(tls *libc.TLS, pA uintptr, iB I64) int32 { /* sqlite3.c:33091:20: */
return libc.X__builtin_add_overflowInt64(tls, *(*I64)(unsafe.Pointer(pA)), iB, pA)
}
-func Xsqlite3SubInt64(tls *libc.TLS, pA uintptr, iB I64) int32 { /* sqlite3.c:32915:20: */
+func Xsqlite3SubInt64(tls *libc.TLS, pA uintptr, iB I64) int32 { /* sqlite3.c:33111:20: */
return libc.X__builtin_sub_overflowInt64(tls, *(*I64)(unsafe.Pointer(pA)), iB, pA)
}
-func Xsqlite3MulInt64(tls *libc.TLS, pA uintptr, iB I64) int32 { /* sqlite3.c:32930:20: */
+func Xsqlite3MulInt64(tls *libc.TLS, pA uintptr, iB I64) int32 { /* sqlite3.c:33126:20: */
return libc.X__builtin_mul_overflowInt64(tls, *(*I64)(unsafe.Pointer(pA)), iB, pA)
}
// Compute the absolute value of a 32-bit signed integer, of possible. Or
// if the integer has a value of -2147483648, return +2147483647
-func Xsqlite3AbsInt32(tls *libc.TLS, x int32) int32 { /* sqlite3.c:32956:20: */
+func Xsqlite3AbsInt32(tls *libc.TLS, x int32) int32 { /* sqlite3.c:33152:20: */
if x >= 0 {
return x
}
@@ -19733,7 +20484,7 @@ func Xsqlite3AbsInt32(tls *libc.TLS, x int32) int32 { /* sqlite3.c:32956:20: */
// not a simple "+" operator because LogEst is stored as a logarithmic
// value.
//
-func Xsqlite3LogEstAdd(tls *libc.TLS, a LogEst, b LogEst) LogEst { /* sqlite3.c:32999:23: */
+func Xsqlite3LogEstAdd(tls *libc.TLS, a LogEst, b LogEst) LogEst { /* sqlite3.c:33195:23: */
if int32(a) >= int32(b) {
if int32(a) > (int32(b) + 49) {
return a
@@ -19764,11 +20515,11 @@ var x = [32]uint8{
uint8(4), uint8(4), uint8(4), uint8(4), // 15-18
uint8(3), uint8(3), uint8(3), uint8(3), uint8(3), uint8(3), // 19-24
uint8(2), uint8(2), uint8(2), uint8(2), uint8(2), uint8(2), uint8(2), // 25-31
-} /* sqlite3.c:33000:30 */
+} /* sqlite3.c:33196:30 */
// Convert an integer into a LogEst. In other words, compute an
// approximation for 10*log2(x).
-func Xsqlite3LogEst(tls *libc.TLS, x U64) LogEst { /* sqlite3.c:33026:23: */
+func Xsqlite3LogEst(tls *libc.TLS, x U64) LogEst { /* sqlite3.c:33222:23: */
var y LogEst = int16(40)
if x < uint64(8) {
if x < uint64(2) {
@@ -19786,11 +20537,11 @@ func Xsqlite3LogEst(tls *libc.TLS, x U64) LogEst { /* sqlite3.c:33026:23: */
return (LogEst((int32(a[(x&uint64(7))]) + int32(y)) - 10))
}
-var a = [8]LogEst{int16(0), int16(2), int16(3), int16(5), int16(6), int16(7), int16(8), int16(9)} /* sqlite3.c:33027:17 */
+var a = [8]LogEst{int16(0), int16(2), int16(3), int16(5), int16(6), int16(7), int16(8), int16(9)} /* sqlite3.c:33223:17 */
// Convert a double into a LogEst
// In other words, compute an approximation for 10*log2(x).
-func Xsqlite3LogEstFromDouble(tls *libc.TLS, x float64) LogEst { /* sqlite3.c:33050:23: */
+func Xsqlite3LogEstFromDouble(tls *libc.TLS, x float64) LogEst { /* sqlite3.c:33246:23: */
bp := tls.Alloc(16)
defer tls.Free(16)
*(*float64)(unsafe.Pointer(bp + 8)) = x
@@ -19814,7 +20565,7 @@ func Xsqlite3LogEstFromDouble(tls *libc.TLS, x float64) LogEst { /* sqlite3.c:33
//
// Note that this routine is only used when one or more of various
// non-standard compile-time options is enabled.
-func Xsqlite3LogEstToInt(tls *libc.TLS, x LogEst) U64 { /* sqlite3.c:33071:20: */
+func Xsqlite3LogEstToInt(tls *libc.TLS, x LogEst) U64 { /* sqlite3.c:33267:20: */
var n U64
n = (U64(int32(x) % 10))
x = int16(int32(x) / (10))
@@ -19866,7 +20617,7 @@ func Xsqlite3LogEstToInt(tls *libc.TLS, x LogEst) U64 { /* sqlite3.c:33071:20: *
// VList are taken. When that happens, nAlloc is set to zero as an
// indication that the VList may never again be enlarged, since the
// accompanying realloc() would invalidate the pointers.
-func Xsqlite3VListAdd(tls *libc.TLS, db uintptr, pIn uintptr, zName uintptr, nName int32, iVal int32) uintptr { /* sqlite3.c:33125:22: */
+func Xsqlite3VListAdd(tls *libc.TLS, db uintptr, pIn uintptr, zName uintptr, nName int32, iVal int32) uintptr { /* sqlite3.c:33321:22: */
var nInt int32 // number of sizeof(int) objects needed for zName
var z uintptr // Pointer to where zName will be stored
var i int32 // Index in pIn[] where zName is stored
@@ -19905,7 +20656,7 @@ func Xsqlite3VListAdd(tls *libc.TLS, db uintptr, pIn uintptr, zName uintptr, nNa
// Return a pointer to the name of a variable in the given VList that
// has the value iVal. Or return a NULL if there is no such variable in
// the list
-func Xsqlite3VListNumToName(tls *libc.TLS, pIn uintptr, iVal int32) uintptr { /* sqlite3.c:33163:27: */
+func Xsqlite3VListNumToName(tls *libc.TLS, pIn uintptr, iVal int32) uintptr { /* sqlite3.c:33359:27: */
var i int32
var mx int32
if pIn == uintptr(0) {
@@ -19924,7 +20675,7 @@ func Xsqlite3VListNumToName(tls *libc.TLS, pIn uintptr, iVal int32) uintptr { /*
// Return the number of the variable named zName, if it is in VList.
// or return 0 if there is no such variable.
-func Xsqlite3VListNameToNum(tls *libc.TLS, pIn uintptr, zName uintptr, nName int32) int32 { /* sqlite3.c:33179:20: */
+func Xsqlite3VListNameToNum(tls *libc.TLS, pIn uintptr, zName uintptr, nName int32) int32 { /* sqlite3.c:33375:20: */
var i int32
var mx int32
if pIn == uintptr(0) {
@@ -19963,7 +20714,7 @@ func Xsqlite3VListNameToNum(tls *libc.TLS, pIn uintptr, zName uintptr, nName int
// fields of the Hash structure.
//
// "pNew" is a pointer to the hash table that is to be initialized.
-func Xsqlite3HashInit(tls *libc.TLS, pNew uintptr) { /* sqlite3.c:33216:21: */
+func Xsqlite3HashInit(tls *libc.TLS, pNew uintptr) { /* sqlite3.c:33412:21: */
(*Hash)(unsafe.Pointer(pNew)).Ffirst = uintptr(0)
(*Hash)(unsafe.Pointer(pNew)).Fcount = uint32(0)
@@ -19974,7 +20725,7 @@ func Xsqlite3HashInit(tls *libc.TLS, pNew uintptr) { /* sqlite3.c:33216:21: */
// Remove all entries from a hash table. Reclaim all memory.
// Call this routine to delete a hash table or to reset a hash table
// to the empty state.
-func Xsqlite3HashClear(tls *libc.TLS, pH uintptr) { /* sqlite3.c:33228:21: */
+func Xsqlite3HashClear(tls *libc.TLS, pH uintptr) { /* sqlite3.c:33424:21: */
var elem uintptr // For looping over all elements of the table
elem = (*Hash)(unsafe.Pointer(pH)).Ffirst
@@ -19991,7 +20742,7 @@ func Xsqlite3HashClear(tls *libc.TLS, pH uintptr) { /* sqlite3.c:33228:21: */
}
// The hashing function.
-func strHash(tls *libc.TLS, z uintptr) uint32 { /* sqlite3.c:33248:21: */
+func strHash(tls *libc.TLS, z uintptr) uint32 { /* sqlite3.c:33444:21: */
var h uint32 = uint32(0)
var c uint8
for (int32(libc.AssignUint8(&c, uint8(*(*int8)(unsafe.Pointer(libc.PostIncUintptr(&z, 1))))))) != 0 { //OPTIMIZATION-IF-TRUE
@@ -20006,7 +20757,7 @@ func strHash(tls *libc.TLS, z uintptr) uint32 { /* sqlite3.c:33248:21: */
// Link pNew element into the hash table pH. If pEntry!=0 then also
// insert pNew into the pEntry hash bucket.
-func insertElement(tls *libc.TLS, pH uintptr, pEntry uintptr, pNew uintptr) { /* sqlite3.c:33265:13: */
+func insertElement(tls *libc.TLS, pH uintptr, pEntry uintptr, pNew uintptr) { /* sqlite3.c:33461:13: */
var pHead uintptr // First element already in pEntry
if pEntry != 0 {
if (*_ht)(unsafe.Pointer(pEntry)).Fcount != 0 {
@@ -20043,7 +20794,7 @@ func insertElement(tls *libc.TLS, pH uintptr, pEntry uintptr, pNew uintptr) { /*
// The hash table might fail to resize if sqlite3_malloc() fails or
// if the new size is the same as the prior size.
// Return TRUE if the resize occurs and false if not.
-func rehash(tls *libc.TLS, pH uintptr, new_size uint32) int32 { /* sqlite3.c:33299:12: */
+func rehash(tls *libc.TLS, pH uintptr, new_size uint32) int32 { /* sqlite3.c:33495:12: */
var new_ht uintptr // The new hash table
var elem uintptr
var next_elem uintptr // For looping over existing elements
@@ -20087,7 +20838,7 @@ func rehash(tls *libc.TLS, pH uintptr, new_size uint32) int32 { /* sqlite3.c:332
// hash table that matches the given key. If no element is found,
// a pointer to a static null element with HashElem.data==0 is returned.
// If pH is not NULL, then the hash for this key is written to *pH.
-func findElementWithHash(tls *libc.TLS, pH uintptr, pKey uintptr, pHash uintptr) uintptr { /* sqlite3.c:33340:17: */
+func findElementWithHash(tls *libc.TLS, pH uintptr, pKey uintptr, pHash uintptr) uintptr { /* sqlite3.c:33536:17: */
var elem uintptr // Used to loop thru the element list
var count uint32 // Number of elements left to test
var h uint32
@@ -20116,11 +20867,11 @@ func findElementWithHash(tls *libc.TLS, pH uintptr, pKey uintptr, pHash uintptr)
return uintptr(unsafe.Pointer(&nullElement))
}
-var nullElement = HashElem{} /* sqlite3.c:33348:19 */
+var nullElement = HashElem{} /* sqlite3.c:33544:19 */
// Remove a single entry from the hash table given a pointer to that
// element and a hash on the element's key.
-func removeElementGivenHash(tls *libc.TLS, pH uintptr, elem uintptr, h uint32) { /* sqlite3.c:33375:13: */
+func removeElementGivenHash(tls *libc.TLS, pH uintptr, elem uintptr, h uint32) { /* sqlite3.c:33571:13: */
var pEntry uintptr
if (*HashElem)(unsafe.Pointer(elem)).Fprev != 0 {
(*HashElem)(unsafe.Pointer((*HashElem)(unsafe.Pointer(elem)).Fprev)).Fnext = (*HashElem)(unsafe.Pointer(elem)).Fnext
@@ -20149,7 +20900,7 @@ func removeElementGivenHash(tls *libc.TLS, pH uintptr, elem uintptr, h uint32) {
// Attempt to locate an element of the hash table pH with a key
// that matches pKey. Return the data for this element if it is
// found, or NULL if there is no match.
-func Xsqlite3HashFind(tls *libc.TLS, pH uintptr, pKey uintptr) uintptr { /* sqlite3.c:33410:21: */
+func Xsqlite3HashFind(tls *libc.TLS, pH uintptr, pKey uintptr) uintptr { /* sqlite3.c:33606:21: */
return (*HashElem)(unsafe.Pointer(findElementWithHash(tls, pH, pKey, uintptr(0)))).Fdata
}
@@ -20167,7 +20918,7 @@ func Xsqlite3HashFind(tls *libc.TLS, pH uintptr, pKey uintptr) uintptr { /* sqli
//
// If the "data" parameter to this function is NULL, then the
// element corresponding to "key" is removed from the hash table.
-func Xsqlite3HashInsert(tls *libc.TLS, pH uintptr, pKey uintptr, data uintptr) uintptr { /* sqlite3.c:33430:21: */
+func Xsqlite3HashInsert(tls *libc.TLS, pH uintptr, pKey uintptr, data uintptr) uintptr { /* sqlite3.c:33626:21: */
bp := tls.Alloc(4)
defer tls.Free(4)
@@ -20216,191 +20967,192 @@ func Xsqlite3HashInsert(tls *libc.TLS, pH uintptr, pKey uintptr, data uintptr) u
//************* Begin file opcodes.c ****************************************
// Automatically generated. Do not edit
// See the tool/mkopcodec.tcl script for details.
-func Xsqlite3OpcodeName(tls *libc.TLS, i int32) uintptr { /* sqlite3.c:33476:27: */
+func Xsqlite3OpcodeName(tls *libc.TLS, i int32) uintptr { /* sqlite3.c:33672:27: */
return azName[i]
}
-var azName = [179]uintptr{
- /* 0 */ ts + 808, /* "Savepoint" */
- /* 1 */ ts + 818, /* "AutoCommit" */
- /* 2 */ ts + 829, /* "Transaction" */
- /* 3 */ ts + 841, /* "SorterNext" */
- /* 4 */ ts + 852, /* "Prev" */
- /* 5 */ ts + 857, /* "Next" */
- /* 6 */ ts + 862, /* "Checkpoint" */
- /* 7 */ ts + 873, /* "JournalMode" */
- /* 8 */ ts + 885, /* "Vacuum" */
- /* 9 */ ts + 892, /* "VFilter" */
- /* 10 */ ts + 900, /* "VUpdate" */
- /* 11 */ ts + 908, /* "Goto" */
- /* 12 */ ts + 913, /* "Gosub" */
- /* 13 */ ts + 919, /* "InitCoroutine" */
- /* 14 */ ts + 933, /* "Yield" */
- /* 15 */ ts + 939, /* "MustBeInt" */
- /* 16 */ ts + 949, /* "Jump" */
- /* 17 */ ts + 954, /* "Once" */
- /* 18 */ ts + 959, /* "If" */
- /* 19 */ ts + 962, /* "Not" */
- /* 20 */ ts + 966, /* "IfNot" */
- /* 21 */ ts + 972, /* "IfNullRow" */
- /* 22 */ ts + 982, /* "SeekLT" */
- /* 23 */ ts + 989, /* "SeekLE" */
- /* 24 */ ts + 996, /* "SeekGE" */
- /* 25 */ ts + 1003, /* "SeekGT" */
- /* 26 */ ts + 1010, /* "IfNotOpen" */
- /* 27 */ ts + 1020, /* "IfNoHope" */
- /* 28 */ ts + 1029, /* "NoConflict" */
- /* 29 */ ts + 1040, /* "NotFound" */
- /* 30 */ ts + 1049, /* "Found" */
- /* 31 */ ts + 1055, /* "SeekRowid" */
- /* 32 */ ts + 1065, /* "NotExists" */
- /* 33 */ ts + 1075, /* "Last" */
- /* 34 */ ts + 1080, /* "IfSmaller" */
- /* 35 */ ts + 1090, /* "SorterSort" */
- /* 36 */ ts + 1101, /* "Sort" */
- /* 37 */ ts + 1106, /* "Rewind" */
- /* 38 */ ts + 1113, /* "IdxLE" */
- /* 39 */ ts + 1119, /* "IdxGT" */
- /* 40 */ ts + 1125, /* "IdxLT" */
- /* 41 */ ts + 1131, /* "IdxGE" */
- /* 42 */ ts + 1137, /* "RowSetRead" */
- /* 43 */ ts + 1148, /* "Or" */
- /* 44 */ ts + 1151, /* "And" */
- /* 45 */ ts + 1155, /* "RowSetTest" */
- /* 46 */ ts + 1166, /* "Program" */
- /* 47 */ ts + 1174, /* "FkIfZero" */
- /* 48 */ ts + 1183, /* "IfPos" */
- /* 49 */ ts + 1189, /* "IfNotZero" */
- /* 50 */ ts + 1199, /* "IsNull" */
- /* 51 */ ts + 1206, /* "NotNull" */
- /* 52 */ ts + 1214, /* "Ne" */
- /* 53 */ ts + 1217, /* "Eq" */
- /* 54 */ ts + 1220, /* "Gt" */
- /* 55 */ ts + 1223, /* "Le" */
- /* 56 */ ts + 1226, /* "Lt" */
- /* 57 */ ts + 1229, /* "Ge" */
- /* 58 */ ts + 1232, /* "ElseNotEq" */
- /* 59 */ ts + 1242, /* "DecrJumpZero" */
- /* 60 */ ts + 1255, /* "IncrVacuum" */
- /* 61 */ ts + 1266, /* "VNext" */
- /* 62 */ ts + 1272, /* "Init" */
- /* 63 */ ts + 1277, /* "PureFunc" */
- /* 64 */ ts + 1286, /* "Function" */
- /* 65 */ ts + 1295, /* "Return" */
- /* 66 */ ts + 1302, /* "EndCoroutine" */
- /* 67 */ ts + 1315, /* "HaltIfNull" */
- /* 68 */ ts + 1326, /* "Halt" */
- /* 69 */ ts + 1331, /* "Integer" */
- /* 70 */ ts + 1339, /* "Int64" */
- /* 71 */ ts + 1345, /* "String" */
- /* 72 */ ts + 1352, /* "Null" */
- /* 73 */ ts + 1357, /* "SoftNull" */
- /* 74 */ ts + 1366, /* "Blob" */
- /* 75 */ ts + 1371, /* "Variable" */
- /* 76 */ ts + 1380, /* "Move" */
- /* 77 */ ts + 1385, /* "Copy" */
- /* 78 */ ts + 1390, /* "SCopy" */
- /* 79 */ ts + 1396, /* "IntCopy" */
- /* 80 */ ts + 1404, /* "ChngCntRow" */
- /* 81 */ ts + 1415, /* "ResultRow" */
- /* 82 */ ts + 1425, /* "CollSeq" */
- /* 83 */ ts + 1433, /* "AddImm" */
- /* 84 */ ts + 1440, /* "RealAffinity" */
- /* 85 */ ts + 1453, /* "Cast" */
- /* 86 */ ts + 1458, /* "Permutation" */
- /* 87 */ ts + 1470, /* "Compare" */
- /* 88 */ ts + 1478, /* "IsTrue" */
- /* 89 */ ts + 1485, /* "Offset" */
- /* 90 */ ts + 1492, /* "Column" */
- /* 91 */ ts + 1499, /* "Affinity" */
- /* 92 */ ts + 1508, /* "MakeRecord" */
- /* 93 */ ts + 1519, /* "Count" */
- /* 94 */ ts + 1525, /* "ReadCookie" */
- /* 95 */ ts + 1536, /* "SetCookie" */
- /* 96 */ ts + 1546, /* "ReopenIdx" */
- /* 97 */ ts + 1556, /* "OpenRead" */
- /* 98 */ ts + 1565, /* "OpenWrite" */
- /* 99 */ ts + 1575, /* "OpenDup" */
- /* 100 */ ts + 1583, /* "OpenAutoindex" */
- /* 101 */ ts + 1597, /* "OpenEphemeral" */
- /* 102 */ ts + 1611, /* "BitAnd" */
- /* 103 */ ts + 1618, /* "BitOr" */
- /* 104 */ ts + 1624, /* "ShiftLeft" */
- /* 105 */ ts + 1634, /* "ShiftRight" */
- /* 106 */ ts + 1645, /* "Add" */
- /* 107 */ ts + 1649, /* "Subtract" */
- /* 108 */ ts + 1658, /* "Multiply" */
- /* 109 */ ts + 1667, /* "Divide" */
- /* 110 */ ts + 1674, /* "Remainder" */
- /* 111 */ ts + 1684, /* "Concat" */
- /* 112 */ ts + 1691, /* "SorterOpen" */
- /* 113 */ ts + 1702, /* "BitNot" */
- /* 114 */ ts + 1709, /* "SequenceTest" */
- /* 115 */ ts + 1722, /* "OpenPseudo" */
- /* 116 */ ts + 1733, /* "String8" */
- /* 117 */ ts + 1741, /* "Close" */
- /* 118 */ ts + 1747, /* "ColumnsUsed" */
- /* 119 */ ts + 1759, /* "SeekScan" */
- /* 120 */ ts + 1768, /* "SeekHit" */
- /* 121 */ ts + 1776, /* "Sequence" */
- /* 122 */ ts + 1785, /* "NewRowid" */
- /* 123 */ ts + 1794, /* "Insert" */
- /* 124 */ ts + 1801, /* "RowCell" */
- /* 125 */ ts + 1809, /* "Delete" */
- /* 126 */ ts + 1816, /* "ResetCount" */
- /* 127 */ ts + 1827, /* "SorterCompare" */
- /* 128 */ ts + 1841, /* "SorterData" */
- /* 129 */ ts + 1852, /* "RowData" */
- /* 130 */ ts + 1860, /* "Rowid" */
- /* 131 */ ts + 1866, /* "NullRow" */
- /* 132 */ ts + 1874, /* "SeekEnd" */
- /* 133 */ ts + 1882, /* "IdxInsert" */
- /* 134 */ ts + 1892, /* "SorterInsert" */
- /* 135 */ ts + 1905, /* "IdxDelete" */
- /* 136 */ ts + 1915, /* "DeferredSeek" */
- /* 137 */ ts + 1928, /* "IdxRowid" */
- /* 138 */ ts + 1937, /* "FinishSeek" */
- /* 139 */ ts + 1948, /* "Destroy" */
- /* 140 */ ts + 1956, /* "Clear" */
- /* 141 */ ts + 1962, /* "ResetSorter" */
- /* 142 */ ts + 1974, /* "CreateBtree" */
- /* 143 */ ts + 1986, /* "SqlExec" */
- /* 144 */ ts + 1994, /* "ParseSchema" */
- /* 145 */ ts + 2006, /* "LoadAnalysis" */
- /* 146 */ ts + 2019, /* "DropTable" */
- /* 147 */ ts + 2029, /* "DropIndex" */
- /* 148 */ ts + 2039, /* "DropTrigger" */
- /* 149 */ ts + 2051, /* "IntegrityCk" */
- /* 150 */ ts + 2063, /* "RowSetAdd" */
- /* 151 */ ts + 2073, /* "Param" */
- /* 152 */ ts + 2079, /* "Real" */
- /* 153 */ ts + 2084, /* "FkCounter" */
- /* 154 */ ts + 2094, /* "MemMax" */
- /* 155 */ ts + 2101, /* "OffsetLimit" */
- /* 156 */ ts + 2113, /* "AggInverse" */
- /* 157 */ ts + 2124, /* "AggStep" */
- /* 158 */ ts + 2132, /* "AggStep1" */
- /* 159 */ ts + 2141, /* "AggValue" */
- /* 160 */ ts + 2150, /* "AggFinal" */
- /* 161 */ ts + 2159, /* "Expire" */
- /* 162 */ ts + 2166, /* "CursorLock" */
- /* 163 */ ts + 2177, /* "CursorUnlock" */
- /* 164 */ ts + 2190, /* "TableLock" */
- /* 165 */ ts + 2200, /* "VBegin" */
- /* 166 */ ts + 2207, /* "VCreate" */
- /* 167 */ ts + 2215, /* "VDestroy" */
- /* 168 */ ts + 2224, /* "VOpen" */
- /* 169 */ ts + 2230, /* "VColumn" */
- /* 170 */ ts + 2238, /* "VRename" */
- /* 171 */ ts + 2246, /* "Pagecount" */
- /* 172 */ ts + 2256, /* "MaxPgcnt" */
- /* 173 */ ts + 2265, /* "Trace" */
- /* 174 */ ts + 2271, /* "CursorHint" */
- /* 175 */ ts + 2282, /* "ReleaseReg" */
- /* 176 */ ts + 2293, /* "Noop" */
- /* 177 */ ts + 2298, /* "Explain" */
- /* 178 */ ts + 2306, /* "Abortable" */
-} /* sqlite3.c:33477:20 */
+var azName = [180]uintptr{
+ /* 0 */ ts + 872, /* "Savepoint" */
+ /* 1 */ ts + 882, /* "AutoCommit" */
+ /* 2 */ ts + 893, /* "Transaction" */
+ /* 3 */ ts + 905, /* "SorterNext" */
+ /* 4 */ ts + 916, /* "Prev" */
+ /* 5 */ ts + 921, /* "Next" */
+ /* 6 */ ts + 926, /* "Checkpoint" */
+ /* 7 */ ts + 937, /* "JournalMode" */
+ /* 8 */ ts + 949, /* "Vacuum" */
+ /* 9 */ ts + 956, /* "VFilter" */
+ /* 10 */ ts + 964, /* "VUpdate" */
+ /* 11 */ ts + 972, /* "Goto" */
+ /* 12 */ ts + 977, /* "Gosub" */
+ /* 13 */ ts + 983, /* "InitCoroutine" */
+ /* 14 */ ts + 997, /* "Yield" */
+ /* 15 */ ts + 1003, /* "MustBeInt" */
+ /* 16 */ ts + 1013, /* "Jump" */
+ /* 17 */ ts + 1018, /* "Once" */
+ /* 18 */ ts + 1023, /* "If" */
+ /* 19 */ ts + 1026, /* "Not" */
+ /* 20 */ ts + 1030, /* "IfNot" */
+ /* 21 */ ts + 1036, /* "IfNullRow" */
+ /* 22 */ ts + 1046, /* "SeekLT" */
+ /* 23 */ ts + 1053, /* "SeekLE" */
+ /* 24 */ ts + 1060, /* "SeekGE" */
+ /* 25 */ ts + 1067, /* "SeekGT" */
+ /* 26 */ ts + 1074, /* "IfNotOpen" */
+ /* 27 */ ts + 1084, /* "IfNoHope" */
+ /* 28 */ ts + 1093, /* "NoConflict" */
+ /* 29 */ ts + 1104, /* "NotFound" */
+ /* 30 */ ts + 1113, /* "Found" */
+ /* 31 */ ts + 1119, /* "SeekRowid" */
+ /* 32 */ ts + 1129, /* "NotExists" */
+ /* 33 */ ts + 1139, /* "Last" */
+ /* 34 */ ts + 1144, /* "IfSmaller" */
+ /* 35 */ ts + 1154, /* "SorterSort" */
+ /* 36 */ ts + 1165, /* "Sort" */
+ /* 37 */ ts + 1170, /* "Rewind" */
+ /* 38 */ ts + 1177, /* "IdxLE" */
+ /* 39 */ ts + 1183, /* "IdxGT" */
+ /* 40 */ ts + 1189, /* "IdxLT" */
+ /* 41 */ ts + 1195, /* "IdxGE" */
+ /* 42 */ ts + 1201, /* "RowSetRead" */
+ /* 43 */ ts + 1212, /* "Or" */
+ /* 44 */ ts + 1215, /* "And" */
+ /* 45 */ ts + 1219, /* "RowSetTest" */
+ /* 46 */ ts + 1230, /* "Program" */
+ /* 47 */ ts + 1238, /* "FkIfZero" */
+ /* 48 */ ts + 1247, /* "IfPos" */
+ /* 49 */ ts + 1253, /* "IfNotZero" */
+ /* 50 */ ts + 1263, /* "IsNull" */
+ /* 51 */ ts + 1270, /* "NotNull" */
+ /* 52 */ ts + 1278, /* "Ne" */
+ /* 53 */ ts + 1281, /* "Eq" */
+ /* 54 */ ts + 1284, /* "Gt" */
+ /* 55 */ ts + 1287, /* "Le" */
+ /* 56 */ ts + 1290, /* "Lt" */
+ /* 57 */ ts + 1293, /* "Ge" */
+ /* 58 */ ts + 1296, /* "ElseEq" */
+ /* 59 */ ts + 1303, /* "DecrJumpZero" */
+ /* 60 */ ts + 1316, /* "IncrVacuum" */
+ /* 61 */ ts + 1327, /* "VNext" */
+ /* 62 */ ts + 1333, /* "Init" */
+ /* 63 */ ts + 1338, /* "PureFunc" */
+ /* 64 */ ts + 1347, /* "Function" */
+ /* 65 */ ts + 1356, /* "Return" */
+ /* 66 */ ts + 1363, /* "EndCoroutine" */
+ /* 67 */ ts + 1376, /* "HaltIfNull" */
+ /* 68 */ ts + 1387, /* "Halt" */
+ /* 69 */ ts + 1392, /* "Integer" */
+ /* 70 */ ts + 1400, /* "Int64" */
+ /* 71 */ ts + 1406, /* "String" */
+ /* 72 */ ts + 1413, /* "Null" */
+ /* 73 */ ts + 1418, /* "SoftNull" */
+ /* 74 */ ts + 1427, /* "Blob" */
+ /* 75 */ ts + 1432, /* "Variable" */
+ /* 76 */ ts + 1441, /* "Move" */
+ /* 77 */ ts + 1446, /* "Copy" */
+ /* 78 */ ts + 1451, /* "SCopy" */
+ /* 79 */ ts + 1457, /* "IntCopy" */
+ /* 80 */ ts + 1465, /* "ChngCntRow" */
+ /* 81 */ ts + 1476, /* "ResultRow" */
+ /* 82 */ ts + 1486, /* "CollSeq" */
+ /* 83 */ ts + 1494, /* "AddImm" */
+ /* 84 */ ts + 1501, /* "RealAffinity" */
+ /* 85 */ ts + 1514, /* "Cast" */
+ /* 86 */ ts + 1519, /* "Permutation" */
+ /* 87 */ ts + 1531, /* "Compare" */
+ /* 88 */ ts + 1539, /* "IsTrue" */
+ /* 89 */ ts + 1546, /* "ZeroOrNull" */
+ /* 90 */ ts + 1557, /* "Offset" */
+ /* 91 */ ts + 1564, /* "Column" */
+ /* 92 */ ts + 1571, /* "Affinity" */
+ /* 93 */ ts + 1580, /* "MakeRecord" */
+ /* 94 */ ts + 1591, /* "Count" */
+ /* 95 */ ts + 1597, /* "ReadCookie" */
+ /* 96 */ ts + 1608, /* "SetCookie" */
+ /* 97 */ ts + 1618, /* "ReopenIdx" */
+ /* 98 */ ts + 1628, /* "OpenRead" */
+ /* 99 */ ts + 1637, /* "OpenWrite" */
+ /* 100 */ ts + 1647, /* "OpenDup" */
+ /* 101 */ ts + 1655, /* "OpenAutoindex" */
+ /* 102 */ ts + 1669, /* "BitAnd" */
+ /* 103 */ ts + 1676, /* "BitOr" */
+ /* 104 */ ts + 1682, /* "ShiftLeft" */
+ /* 105 */ ts + 1692, /* "ShiftRight" */
+ /* 106 */ ts + 1703, /* "Add" */
+ /* 107 */ ts + 1707, /* "Subtract" */
+ /* 108 */ ts + 1716, /* "Multiply" */
+ /* 109 */ ts + 1725, /* "Divide" */
+ /* 110 */ ts + 1732, /* "Remainder" */
+ /* 111 */ ts + 1742, /* "Concat" */
+ /* 112 */ ts + 1749, /* "OpenEphemeral" */
+ /* 113 */ ts + 1763, /* "BitNot" */
+ /* 114 */ ts + 1770, /* "SorterOpen" */
+ /* 115 */ ts + 1781, /* "SequenceTest" */
+ /* 116 */ ts + 1794, /* "String8" */
+ /* 117 */ ts + 1802, /* "OpenPseudo" */
+ /* 118 */ ts + 1813, /* "Close" */
+ /* 119 */ ts + 1819, /* "ColumnsUsed" */
+ /* 120 */ ts + 1831, /* "SeekScan" */
+ /* 121 */ ts + 1840, /* "SeekHit" */
+ /* 122 */ ts + 1848, /* "Sequence" */
+ /* 123 */ ts + 1857, /* "NewRowid" */
+ /* 124 */ ts + 1866, /* "Insert" */
+ /* 125 */ ts + 1873, /* "RowCell" */
+ /* 126 */ ts + 1881, /* "Delete" */
+ /* 127 */ ts + 1888, /* "ResetCount" */
+ /* 128 */ ts + 1899, /* "SorterCompare" */
+ /* 129 */ ts + 1913, /* "SorterData" */
+ /* 130 */ ts + 1924, /* "RowData" */
+ /* 131 */ ts + 1932, /* "Rowid" */
+ /* 132 */ ts + 1938, /* "NullRow" */
+ /* 133 */ ts + 1946, /* "SeekEnd" */
+ /* 134 */ ts + 1954, /* "IdxInsert" */
+ /* 135 */ ts + 1964, /* "SorterInsert" */
+ /* 136 */ ts + 1977, /* "IdxDelete" */
+ /* 137 */ ts + 1987, /* "DeferredSeek" */
+ /* 138 */ ts + 2000, /* "IdxRowid" */
+ /* 139 */ ts + 2009, /* "FinishSeek" */
+ /* 140 */ ts + 2020, /* "Destroy" */
+ /* 141 */ ts + 2028, /* "Clear" */
+ /* 142 */ ts + 2034, /* "ResetSorter" */
+ /* 143 */ ts + 2046, /* "CreateBtree" */
+ /* 144 */ ts + 2058, /* "SqlExec" */
+ /* 145 */ ts + 2066, /* "ParseSchema" */
+ /* 146 */ ts + 2078, /* "LoadAnalysis" */
+ /* 147 */ ts + 2091, /* "DropTable" */
+ /* 148 */ ts + 2101, /* "DropIndex" */
+ /* 149 */ ts + 2111, /* "DropTrigger" */
+ /* 150 */ ts + 2123, /* "IntegrityCk" */
+ /* 151 */ ts + 2135, /* "RowSetAdd" */
+ /* 152 */ ts + 2145, /* "Real" */
+ /* 153 */ ts + 2150, /* "Param" */
+ /* 154 */ ts + 2156, /* "FkCounter" */
+ /* 155 */ ts + 2166, /* "MemMax" */
+ /* 156 */ ts + 2173, /* "OffsetLimit" */
+ /* 157 */ ts + 2185, /* "AggInverse" */
+ /* 158 */ ts + 2196, /* "AggStep" */
+ /* 159 */ ts + 2204, /* "AggStep1" */
+ /* 160 */ ts + 2213, /* "AggValue" */
+ /* 161 */ ts + 2222, /* "AggFinal" */
+ /* 162 */ ts + 2231, /* "Expire" */
+ /* 163 */ ts + 2238, /* "CursorLock" */
+ /* 164 */ ts + 2249, /* "CursorUnlock" */
+ /* 165 */ ts + 2262, /* "TableLock" */
+ /* 166 */ ts + 2272, /* "VBegin" */
+ /* 167 */ ts + 2279, /* "VCreate" */
+ /* 168 */ ts + 2287, /* "VDestroy" */
+ /* 169 */ ts + 2296, /* "VOpen" */
+ /* 170 */ ts + 2302, /* "VColumn" */
+ /* 171 */ ts + 2310, /* "VRename" */
+ /* 172 */ ts + 2318, /* "Pagecount" */
+ /* 173 */ ts + 2328, /* "MaxPgcnt" */
+ /* 174 */ ts + 2337, /* "Trace" */
+ /* 175 */ ts + 2343, /* "CursorHint" */
+ /* 176 */ ts + 2354, /* "ReleaseReg" */
+ /* 177 */ ts + 2365, /* "Noop" */
+ /* 178 */ ts + 2370, /* "Explain" */
+ /* 179 */ ts + 2378, /* "Abortable" */
+} /* sqlite3.c:33673:20 */
//************* End of opcodes.c ********************************************
//************* Begin file os_unix.c ****************************************
@@ -20468,7 +21220,7 @@ var azName = [179]uintptr{
// Use pread() and pwrite() if they are available
// standard include files.
-// Copyright (C) 1991-2018 Free Software Foundation, Inc.
+// Copyright (C) 1991-2020 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
@@ -20483,11 +21235,11 @@ var azName = [179]uintptr{
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// POSIX Standard: 2.6 Primitive System Data Types
-// Copyright (C) 1991-2018 Free Software Foundation, Inc.
+// Copyright (C) 1991-2020 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
@@ -20502,11 +21254,11 @@ var azName = [179]uintptr{
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// POSIX Standard: 5.6 File Characteristics
-// Copyright (C) 1991-2018 Free Software Foundation, Inc.
+// Copyright (C) 1991-2020 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
@@ -20521,10 +21273,10 @@ var azName = [179]uintptr{
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// bits/types.h -- definitions of __*_t types underlying *_t types.
-// Copyright (C) 2002-2018 Free Software Foundation, Inc.
+// Copyright (C) 2002-2020 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
@@ -20539,7 +21291,7 @@ var azName = [179]uintptr{
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// Never include this file directly; use instead.
@@ -20548,7 +21300,7 @@ var azName = [179]uintptr{
// The Single Unix specification says that some more types are
// available here.
-// Copyright (C) 2000-2018 Free Software Foundation, Inc.
+// Copyright (C) 2000-2020 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
@@ -20563,7 +21315,7 @@ var azName = [179]uintptr{
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// Determine the wordsize from the preprocessor defines.
@@ -20626,8 +21378,8 @@ type stat64 = struct {
F__glibc_reserved [3]int64
} /* stat.h:147:1 */
-// statx-related definitions and declarations.
-// Copyright (C) 2018 Free Software Foundation, Inc.
+// statx-related definitions and declarations. Linux version.
+// Copyright (C) 2018-2020 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
@@ -20642,61 +21394,262 @@ type stat64 = struct {
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// This interface is based on in Linux.
-type statx_timestamp = struct {
- Ftv_sec X__int64_t
- Ftv_nsec X__uint32_t
- F__statx_timestamp_pad1 [1]X__int32_t
-} /* statx.h:25:1 */
+// Use the Linux kernel header if available.
-// Warning: The kernel may add additional fields to this struct in the
-// future. Only use this struct for calling the statx function, not
-// for storing data. (Expansion will be controlled by the mask
-// argument of the statx function.)
+// Use "" to work around incorrect macro expansion of the
+// __has_include argument (GCC PR 80005).
+// SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note
+
+// SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note
+
+// SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note
+// S390 version
+//
+// Derived from "include/asm-i386/types.h"
+
+// SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note
+// asm-generic/int-ll64.h
+//
+// Integer declarations for architectures which use "long long"
+// for 64-bit types.
+
+// SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note
+
+// SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note
+
+// There seems to be no way of detecting this automatically from user
+// space, so 64 bit architectures should override this in their
+// bitsperlong.h. In particular, an architecture that supports
+// both 32 and 64 bit user space must not rely on CONFIG_64BIT
+// to decide it, but rather check a compiler provided macro.
+
+// __xx is ok: it doesn't pollute the POSIX namespace. Use these in the
+// header files exported to user space
+
+type X__s8 = int8 /* int-ll64.h:20:25 */
+type X__u8 = uint8 /* int-ll64.h:21:23 */
+
+type X__s16 = int16 /* int-ll64.h:23:26 */
+type X__u16 = uint16 /* int-ll64.h:24:24 */
+
+type X__s32 = int32 /* int-ll64.h:26:24 */
+type X__u32 = uint32 /* int-ll64.h:27:22 */
+
+type X__s64 = int64 /* int-ll64.h:30:44 */
+type X__u64 = uint64 /* int-ll64.h:31:42 */
+
+// A address type so that arithmetic can be done on it & it can be upgraded to
+// 64 bit when necessary
+type Addr_t = uint64 /* types.h:18:23 */
+type Saddr_t = int64 /* types.h:19:25 */
+
+type X__vector128 = struct{ Fu [4]X__u32 } /* types.h:23:3 */
+
+// SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note
+
+// SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note
+
+// This allows for 1024 file descriptors: if NR_OPEN is ever grown
+// beyond that you'll have to change this too. But 1024 fd's seem to be
+// enough even for such "real" unices like OSF/1, so hopefully this is
+// one limit that doesn't have to be changed [again].
+//
+// Note that POSIX wants the FD_CLEAR(fd,fdsetp) defines to be in
+// (and thus ) - but this is a more logical
+// place for them. Solved by having dummy defines in .
+
+// This macro may have been defined in . But we always
+// use the one here.
+
+type X__kernel_fd_set = struct{ Ffds_bits [16]uint64 } /* posix_types.h:27:3 */
+
+// Type of a signal handler.
+type X__kernel_sighandler_t = uintptr /* posix_types.h:30:14 */
+
+// Type of a SYSV IPC key.
+type X__kernel_key_t = int32 /* posix_types.h:33:13 */
+type X__kernel_mqd_t = int32 /* posix_types.h:34:13 */
+
+// SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note
+// S390 version
+//
+
+// This file is generally used by user-level software, so you need to
+// be a little careful about namespace pollution etc. Also, we cannot
+// assume GCC is being used.
+
+type X__kernel_size_t = uint64 /* posix_types.h:16:25 */
+type X__kernel_ssize_t = int64 /* posix_types.h:17:25 */
+
+type X__kernel_old_dev_t = uint16 /* posix_types.h:20:24 */
+
+type X__kernel_ino_t = uint32 /* posix_types.h:35:25 */
+type X__kernel_mode_t = uint32 /* posix_types.h:36:25 */
+type X__kernel_ipc_pid_t = int32 /* posix_types.h:37:25 */
+type X__kernel_uid_t = uint32 /* posix_types.h:38:25 */
+type X__kernel_gid_t = uint32 /* posix_types.h:39:25 */
+type X__kernel_ptrdiff_t = int64 /* posix_types.h:40:25 */
+type X__kernel_sigset_t = uint64 /* posix_types.h:41:25 */ // at least 32 bits
+
+// SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note
+
+// SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note
+
+// This file is generally used by user-level software, so you need to
+// be a little careful about namespace pollution etc.
+//
+// First the types that are often defined in different ways across
+// architectures, so that you can override them.
+
+type X__kernel_long_t = int64 /* posix_types.h:15:15 */
+type X__kernel_ulong_t = uint64 /* posix_types.h:16:23 */
+
+type X__kernel_pid_t = int32 /* posix_types.h:28:14 */
+
+type X__kernel_suseconds_t = X__kernel_long_t /* posix_types.h:41:26 */
+
+type X__kernel_daddr_t = int32 /* posix_types.h:45:14 */
+
+type X__kernel_uid32_t = uint32 /* posix_types.h:49:22 */
+type X__kernel_gid32_t = uint32 /* posix_types.h:50:22 */
+
+type X__kernel_old_uid_t = X__kernel_uid_t /* posix_types.h:54:24 */
+type X__kernel_old_gid_t = X__kernel_gid_t /* posix_types.h:55:24 */
+
+// Most 32 bit architectures use "unsigned int" size_t,
+// and all 64 bit architectures use "unsigned long" size_t.
+
+type X__kernel_fsid_t = struct{ Fval [2]int32 } /* posix_types.h:81:3 */
+
+// anything below here should be completely generic
+type X__kernel_off_t = X__kernel_long_t /* posix_types.h:87:25 */
+type X__kernel_loff_t = int64 /* posix_types.h:88:19 */
+type X__kernel_time_t = X__kernel_long_t /* posix_types.h:89:25 */
+type X__kernel_time64_t = int64 /* posix_types.h:90:19 */
+type X__kernel_clock_t = X__kernel_long_t /* posix_types.h:91:25 */
+type X__kernel_timer_t = int32 /* posix_types.h:92:14 */
+type X__kernel_clockid_t = int32 /* posix_types.h:93:14 */
+type X__kernel_caddr_t = uintptr /* posix_types.h:94:14 */
+type X__kernel_uid16_t = uint16 /* posix_types.h:95:24 */
+type X__kernel_gid16_t = uint16 /* posix_types.h:96:24 */
+
+// Below are truly Linux-specific types that should never collide with
+// any application/library that wants linux/types.h.
+
+type X__le16 = X__u16 /* types.h:24:25 */
+type X__be16 = X__u16 /* types.h:25:25 */
+type X__le32 = X__u32 /* types.h:26:25 */
+type X__be32 = X__u32 /* types.h:27:25 */
+type X__le64 = X__u64 /* types.h:28:25 */
+type X__be64 = X__u64 /* types.h:29:25 */
+
+type X__sum16 = X__u16 /* types.h:31:25 */
+type X__wsum = X__u32 /* types.h:32:25 */
+
+// aligned_u64 should be used in defining kernel<->userspace ABIs to avoid
+// common 32/64-bit compat problems.
+// 64-bit values align to 4-byte boundaries on x86_32 (and possibly other
+// architectures) and to 8-byte boundaries on 64-bit architectures. The new
+// aligned_64 type enforces 8-byte alignment so that structs containing
+// aligned_64 values have the same alignment on 32-bit and 64-bit architectures.
+// No conversions are necessary between 32-bit user-space and a 64-bit kernel.
+
+type X__poll_t = uint32 /* types.h:47:28 */
+
+// Timestamp structure for the timestamps in struct statx.
+//
+// tv_sec holds the number of seconds before (negative) or after (positive)
+// 00:00:00 1st January 1970 UTC.
+//
+// tv_nsec holds a number of nanoseconds (0..999,999,999) after the tv_sec time.
+//
+// __reserved is held in case we need a yet finer resolution.
+type statx_timestamp = struct {
+ Ftv_sec X__s64
+ Ftv_nsec X__u32
+ F__reserved X__s32
+} /* stat.h:56:1 */
+
+// Structures for the extended file attribute retrieval system call
+// (statx()).
+//
+// The caller passes a mask of what they're specifically interested in as a
+// parameter to statx(). What statx() actually got will be indicated in
+// st_mask upon return.
+//
+// For each bit in the mask argument:
+//
+// - if the datum is not supported:
+//
+// - the bit will be cleared, and
+//
+// - the datum will be set to an appropriate fabricated value if one is
+// available (eg. CIFS can take a default uid and gid), otherwise
+//
+// - the field will be cleared;
+//
+// - otherwise, if explicitly requested:
+//
+// - the datum will be synchronised to the server if AT_STATX_FORCE_SYNC is
+// set or if the datum is considered out of date, and
+//
+// - the field will be filled in and the bit will be set;
+//
+// - otherwise, if not requested, but available in approximate form without any
+// effort, it will be filled in anyway, and the bit will be set upon return
+// (it might not be up to date, however, and no attempt will be made to
+// synchronise the internal state first);
+//
+// - otherwise the field and the bit will be cleared before returning.
+//
+// Items in STATX_BASIC_STATS may be marked unavailable on return, but they
+// will have values installed for compatibility purposes so that stat() and
+// co. can be emulated in userspace.
type statx = struct {
- Fstx_mask X__uint32_t
- Fstx_blksize X__uint32_t
- Fstx_attributes X__uint64_t
- Fstx_nlink X__uint32_t
- Fstx_uid X__uint32_t
- Fstx_gid X__uint32_t
- Fstx_mode X__uint16_t
- F__statx_pad1 [1]X__uint16_t
- Fstx_ino X__uint64_t
- Fstx_size X__uint64_t
- Fstx_blocks X__uint64_t
- Fstx_attributes_mask X__uint64_t
+ Fstx_mask X__u32
+ Fstx_blksize X__u32
+ Fstx_attributes X__u64
+ Fstx_nlink X__u32
+ Fstx_uid X__u32
+ Fstx_gid X__u32
+ Fstx_mode X__u16
+ F__spare0 [1]X__u16
+ Fstx_ino X__u64
+ Fstx_size X__u64
+ Fstx_blocks X__u64
+ Fstx_attributes_mask X__u64
Fstx_atime struct {
- Ftv_sec X__int64_t
- Ftv_nsec X__uint32_t
- F__statx_timestamp_pad1 [1]X__int32_t
+ Ftv_sec X__s64
+ Ftv_nsec X__u32
+ F__reserved X__s32
}
Fstx_btime struct {
- Ftv_sec X__int64_t
- Ftv_nsec X__uint32_t
- F__statx_timestamp_pad1 [1]X__int32_t
+ Ftv_sec X__s64
+ Ftv_nsec X__u32
+ F__reserved X__s32
}
Fstx_ctime struct {
- Ftv_sec X__int64_t
- Ftv_nsec X__uint32_t
- F__statx_timestamp_pad1 [1]X__int32_t
+ Ftv_sec X__s64
+ Ftv_nsec X__u32
+ F__reserved X__s32
}
Fstx_mtime struct {
- Ftv_sec X__int64_t
- Ftv_nsec X__uint32_t
- F__statx_timestamp_pad1 [1]X__int32_t
+ Ftv_sec X__s64
+ Ftv_nsec X__u32
+ F__reserved X__s32
}
- Fstx_rdev_major X__uint32_t
- Fstx_rdev_minor X__uint32_t
- Fstx_dev_major X__uint32_t
- Fstx_dev_minor X__uint32_t
- F__statx_pad2 [14]X__uint64_t
-} /* statx.h:36:1 */
+ Fstx_rdev_major X__u32
+ Fstx_rdev_minor X__u32
+ Fstx_dev_major X__u32
+ Fstx_dev_minor X__u32
+ F__spare2 [14]X__u64
+} /* stat.h:99:1 */
-// Copyright (C) 1991-2018 Free Software Foundation, Inc.
+// Copyright (C) 1991-2020 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
@@ -20711,11 +21664,11 @@ type statx = struct {
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// POSIX Standard: 6.5 File Control Operations
-// Copyright (C) 1991-2018 Free Software Foundation, Inc.
+// Copyright (C) 1991-2020 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
@@ -20730,13 +21683,13 @@ type statx = struct {
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// This must be early so can define types winningly.
// Get __mode_t, __dev_t and __off_t .
// bits/types.h -- definitions of __*_t types underlying *_t types.
-// Copyright (C) 2002-2018 Free Software Foundation, Inc.
+// Copyright (C) 2002-2020 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
@@ -20751,14 +21704,14 @@ type statx = struct {
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// Never include this file directly; use instead.
// Get the definitions of O_*, F_*, FD_*: all the
// numbers and flag bits for `open', `fcntl', et al.
// O_*, F_*, FD_* bit values for Linux.
-// Copyright (C) 2000-2018 Free Software Foundation, Inc.
+// Copyright (C) 2000-2020 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
@@ -20773,7 +21726,7 @@ type statx = struct {
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// Determine the wordsize from the preprocessor defines.
@@ -20803,7 +21756,7 @@ type flock64 = struct {
// Include generic Linux declarations.
// O_*, F_*, FD_* bit values for Linux.
-// Copyright (C) 2001-2018 Free Software Foundation, Inc.
+// Copyright (C) 2001-2020 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
@@ -20818,7 +21771,7 @@ type flock64 = struct {
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-// .
+// .
// This file contains shared definitions between Linux architectures
// and is included by to declare them. The various
@@ -20834,7 +21787,7 @@ type flock64 = struct {
// #include
// Define struct iovec.
-// Copyright (C) 1996-2018 Free Software Foundation, Inc.
+// Copyright (C) 1996-2020 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
@@ -20849,9 +21802,9 @@ type flock64 = struct {
//
// You should have received a copy of the GNU Lesser General Public
// License along with the GNU C Library; if not, see
-//