summaryrefslogtreecommitdiffstats
path: root/vendor/modernc.org/sqlite/lib/sqlite_windows_amd64.go
diff options
context:
space:
mode:
authorWim <wim@42.be>2023-08-05 20:43:19 +0200
committerGitHub <noreply@github.com>2023-08-05 20:43:19 +0200
commit56e7bd01ca09ad52b0c4f48f146a20a4f1b78696 (patch)
treeb1355645342667209263cbd355dc0b4254f1e8fe /vendor/modernc.org/sqlite/lib/sqlite_windows_amd64.go
parent9459495484d6e06a3d46de64fccd8d06f7ccc72c (diff)
downloadmatterbridge-msglm-56e7bd01ca09ad52b0c4f48f146a20a4f1b78696.tar.gz
matterbridge-msglm-56e7bd01ca09ad52b0c4f48f146a20a4f1b78696.tar.bz2
matterbridge-msglm-56e7bd01ca09ad52b0c4f48f146a20a4f1b78696.zip
Update dependencies and remove old matterclient lib (#2067)HEADmaster
Diffstat (limited to 'vendor/modernc.org/sqlite/lib/sqlite_windows_amd64.go')
-rw-r--r--vendor/modernc.org/sqlite/lib/sqlite_windows_amd64.go6711
1 files changed, 3875 insertions, 2836 deletions
diff --git a/vendor/modernc.org/sqlite/lib/sqlite_windows_amd64.go b/vendor/modernc.org/sqlite/lib/sqlite_windows_amd64.go
index 57c8fcdb..dd74406c 100644
--- a/vendor/modernc.org/sqlite/lib/sqlite_windows_amd64.go
+++ b/vendor/modernc.org/sqlite/lib/sqlite_windows_amd64.go
@@ -1,4 +1,4 @@
-// Code generated by 'ccgo -DSQLITE_PRIVATE= -export-defines "" -export-enums "" -export-externs X -export-fields F -export-typedefs "" -ignore-unsupported-alignment -pkgname sqlite3 -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,randomnessPid -o lib/sqlite_windows_amd64.go -trace-translation-units testdata/sqlite-amalgamation-3410000/sqlite3.c -full-path-comments -DNDEBUG -DHAVE_USLEEP -DLONGDOUBLE_TYPE=double -DSQLITE_CORE -DSQLITE_DEFAULT_MEMSTATUS=0 -DSQLITE_ENABLE_COLUMN_METADATA -DSQLITE_ENABLE_FTS5 -DSQLITE_ENABLE_GEOPOLY -DSQLITE_ENABLE_MATH_FUNCTIONS -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_MUTEX_NOOP -DSQLITE_SOUNDEX -DSQLITE_THREADSAFE=1 -DSQLITE_OS_WIN=1 -D_MSC_VER=1900', DO NOT EDIT.
+// Code generated by 'ccgo -DSQLITE_PRIVATE= -export-defines "" -export-enums "" -export-externs X -export-fields F -export-typedefs "" -ignore-unsupported-alignment -pkgname sqlite3 -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,randomnessPid -o lib/sqlite_windows_amd64.go -trace-translation-units testdata/sqlite-amalgamation-3410200/sqlite3.c -full-path-comments -DNDEBUG -DHAVE_USLEEP -DLONGDOUBLE_TYPE=double -DSQLITE_CORE -DSQLITE_DEFAULT_MEMSTATUS=0 -DSQLITE_ENABLE_COLUMN_METADATA -DSQLITE_ENABLE_DBSTAT_VTAB -DSQLITE_ENABLE_FTS5 -DSQLITE_ENABLE_GEOPOLY -DSQLITE_ENABLE_MATH_FUNCTIONS -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_MUTEX_NOOP -DSQLITE_SOUNDEX -DSQLITE_THREADSAFE=1 -DSQLITE_OS_WIN=1 -D_MSC_VER=1900', DO NOT EDIT.
package sqlite3
@@ -2963,6 +2963,7 @@ const (
DBFLAG_SchemaKnownOk = 0x0010
DBFLAG_Vacuum = 0x0004
DBFLAG_VacuumInto = 0x0008
+ DBSTAT_PAGE_PADDING_BYTES = 256
DB_ResetWanted = 0x0008
DB_SchemaLoaded = 0x0001
DB_UnresetViews = 0x0002
@@ -10492,11 +10493,11 @@ const (
NC_OrderAgg = 0x8000000
NC_PartIdx = 0x000002
NC_SelfRef = 0x00002e
+ NC_Subquery = 0x000040
NC_UAggInfo = 0x000100
NC_UBaseReg = 0x000400
NC_UEList = 0x000080
NC_UUpsert = 0x000200
- NC_VarSelect = 0x000040
NDEBUG = 1
NDR_ASCII_CHAR = 0
NDR_BIG_ENDIAN = 0
@@ -14684,6 +14685,7 @@ const (
SQLITE_ECEL_REF = 0x04
SQLITE_EMPTY = 16
SQLITE_ENABLE_COLUMN_METADATA = 1
+ SQLITE_ENABLE_DBSTAT_VTAB = 1
SQLITE_ENABLE_FTS5 = 1
SQLITE_ENABLE_GEOPOLY = 1
SQLITE_ENABLE_LOCKING_STYLE = 0
@@ -15089,7 +15091,7 @@ const (
SQLITE_SHM_UNLOCK = 1
SQLITE_SORTER_PMASZ = 250
SQLITE_SOUNDEX = 1
- SQLITE_SOURCE_ID = "2023-02-21 18:09:37 05941c2a04037fc3ed2ffae11f5d2260706f89431f463518740f72ada350866d"
+ SQLITE_SOURCE_ID = "2023-03-22 11:56:21 0d1fc92f94cb6b76bffe3ec34d69cffde2924203304e8ffc4155597af0c191da"
SQLITE_SO_ASC = 0
SQLITE_SO_DESC = 1
SQLITE_SO_UNDEFINED = -1
@@ -15200,8 +15202,8 @@ const (
SQLITE_UTF8 = 1
SQLITE_VDBEINT_H = 0
SQLITE_VDBE_H = 0
- SQLITE_VERSION = "3.41.0"
- SQLITE_VERSION_NUMBER = 3041000
+ SQLITE_VERSION = "3.41.2"
+ SQLITE_VERSION_NUMBER = 3041002
SQLITE_VTABRISK_High = 2
SQLITE_VTABRISK_Low = 0
SQLITE_VTABRISK_Normal = 1
@@ -24337,7 +24339,8 @@ type IndexedExpr1 = struct {
FiIdxCur int32
FiIdxCol int32
FbMaybeNullRow U8
- F__ccgo_pad1 [3]byte
+ Faff U8
+ F__ccgo_pad1 [2]byte
FpIENext uintptr
}
@@ -24982,17 +24985,18 @@ type Pager = Pager1
// Handle type for pages.
type PgHdr2 = struct {
- FpPage uintptr
- FpData uintptr
- FpExtra uintptr
- FpCache uintptr
- FpDirty uintptr
- FpPager uintptr
- Fpgno Pgno
- Fflags U16
- FnRef I16
- FpDirtyNext uintptr
- FpDirtyPrev uintptr
+ FpPage uintptr
+ FpData uintptr
+ FpExtra uintptr
+ FpCache uintptr
+ FpDirty uintptr
+ FpPager uintptr
+ Fpgno Pgno
+ Fflags U16
+ F__ccgo_pad1 [2]byte
+ FnRef I64
+ FpDirtyNext uintptr
+ FpDirtyPrev uintptr
}
// Handle type for pages.
@@ -25213,14 +25217,14 @@ type PCache2 = struct {
FpDirty uintptr
FpDirtyTail uintptr
FpSynced uintptr
- FnRefSum int32
+ FnRefSum I64
FszCache int32
FszSpill int32
FszPage int32
FszExtra int32
FbPurgeable U8
FeCreate U8
- F__ccgo_pad1 [2]byte
+ F__ccgo_pad1 [6]byte
FxStress uintptr
FpStress uintptr
FpCache uintptr
@@ -25479,7 +25483,7 @@ type CoveringIndexCheck1 = struct {
F__ccgo_pad1 [2]byte
}
-var sqlite3azCompileOpt = [52]uintptr{
+var sqlite3azCompileOpt = [53]uintptr{
ts + 7,
ts + 27,
ts + 46,
@@ -25498,40 +25502,41 @@ var sqlite3azCompileOpt = [52]uintptr{
ts + 362,
ts + 387,
ts + 410,
- ts + 422,
- ts + 437,
- ts + 459,
- ts + 484,
- ts + 507,
- ts + 529,
- ts + 540,
- ts + 553,
- ts + 568,
- ts + 584,
- ts + 597,
- ts + 618,
- ts + 642,
- ts + 665,
- ts + 681,
- ts + 697,
- ts + 721,
- ts + 748,
- ts + 768,
- ts + 789,
- ts + 811,
- ts + 841,
- ts + 866,
- ts + 892,
- ts + 912,
- ts + 938,
- ts + 961,
- ts + 987,
- ts + 1009,
- ts + 1030,
- ts + 1041,
+ ts + 429,
+ ts + 441,
+ ts + 456,
+ ts + 478,
+ ts + 503,
+ ts + 526,
+ ts + 548,
+ ts + 559,
+ ts + 572,
+ ts + 587,
+ ts + 603,
+ ts + 616,
+ ts + 637,
+ ts + 661,
+ ts + 684,
+ ts + 700,
+ ts + 716,
+ ts + 740,
+ ts + 767,
+ ts + 787,
+ ts + 808,
+ ts + 830,
+ ts + 860,
+ ts + 885,
+ ts + 911,
+ ts + 931,
+ ts + 957,
+ ts + 980,
+ ts + 1006,
+ ts + 1028,
ts + 1049,
- ts + 1063,
- ts + 1076,
+ ts + 1060,
+ ts + 1068,
+ ts + 1082,
+ ts + 1095,
}
func Xsqlite3CompileOptions(tls *libc.TLS, pnOpt uintptr) uintptr {
@@ -25683,7 +25688,7 @@ var Xsqlite3WhereTrace U32 = U32(0)
var Xsqlite3OpcodeProperty = [187]uint8{uint8(0x00), uint8(0x00), uint8(0x00), uint8(0x00), uint8(0x10), uint8(0x00), uint8(0x41), uint8(0x00), uint8(0x01), uint8(0x01), uint8(0x01), uint8(0x01), uint8(0x03), uint8(0x03), uint8(0x01), uint8(0x01), uint8(0x03), uint8(0x03), uint8(0x01), uint8(0x12), uint8(0x01), uint8(0x49), uint8(0x49), uint8(0x49), uint8(0x49), uint8(0x01), uint8(0x49), uint8(0x49), uint8(0x49), uint8(0x49), uint8(0x49), uint8(0x49), uint8(0x41), uint8(0x01), uint8(0x01), uint8(0x01), uint8(0x41), uint8(0x01), uint8(0x41), uint8(0x41), uint8(0x41), uint8(0x41), uint8(0x41), uint8(0x26), uint8(0x26), uint8(0x41), uint8(0x23), uint8(0x0b), uint8(0x01), uint8(0x01), uint8(0x03), uint8(0x03), uint8(0x0b), uint8(0x0b), uint8(0x0b), uint8(0x0b), uint8(0x0b), uint8(0x0b), uint8(0x01), uint8(0x03), uint8(0x03), uint8(0x03), uint8(0x01), uint8(0x41), uint8(0x01), uint8(0x00), uint8(0x00), uint8(0x02), uint8(0x02), uint8(0x08), uint8(0x00), uint8(0x10), uint8(0x10), uint8(0x10), uint8(0x00), uint8(0x10), uint8(0x00), uint8(0x10), uint8(0x10), uint8(0x00), uint8(0x00), uint8(0x10), uint8(0x10), uint8(0x00), uint8(0x00), uint8(0x00), uint8(0x02), uint8(0x02), uint8(0x02), uint8(0x00), uint8(0x00), uint8(0x12), uint8(0x1e), uint8(0x20), uint8(0x40), uint8(0x00), uint8(0x00), uint8(0x00), uint8(0x10), uint8(0x10), uint8(0x00), uint8(0x40), uint8(0x26), uint8(0x26), uint8(0x26), uint8(0x26), uint8(0x26), uint8(0x26), uint8(0x26), uint8(0x26), uint8(0x26), uint8(0x26), uint8(0x40), uint8(0x00), uint8(0x12), uint8(0x40), uint8(0x40), uint8(0x10), uint8(0x40), uint8(0x00), uint8(0x00), uint8(0x00), uint8(0x40), uint8(0x00), uint8(0x40), uint8(0x40), uint8(0x10), uint8(0x10), uint8(0x00), uint8(0x00), uint8(0x00), uint8(0x00), uint8(0x00), uint8(0x00), uint8(0x00), uint8(0x50), uint8(0x00), uint8(0x40), uint8(0x04), uint8(0x04), uint8(0x00), uint8(0x40), uint8(0x50), uint8(0x40), uint8(0x10), uint8(0x00), uint8(0x00), uint8(0x10), uint8(0x00), uint8(0x00), uint8(0x00), uint8(0x00), uint8(0x00), uint8(0x10), uint8(0x00), uint8(0x00), uint8(0x06), uint8(0x10), uint8(0x00), uint8(0x04), uint8(0x1a), uint8(0x00), uint8(0x00), uint8(0x00), uint8(0x00), uint8(0x00), uint8(0x00), uint8(0x00), uint8(0x00), uint8(0x00), uint8(0x00), uint8(0x00), uint8(0x00), uint8(0x40), uint8(0x50), uint8(0x40), uint8(0x00), uint8(0x10), uint8(0x10), uint8(0x02), uint8(0x00), uint8(0x00), uint8(0x00), uint8(0x00), uint8(0x00), uint8(0x00), uint8(0x00)}
// Name of the default collating sequence
-var Xsqlite3StrBINARY = *(*[7]int8)(unsafe.Pointer(ts + 1089))
+var Xsqlite3StrBINARY = *(*[7]int8)(unsafe.Pointer(ts + 1108))
// Standard typenames. These names must match the COLTYPE_* definitions.
// Adjust the SQLITE_N_STDTYPE value if adding or removing entries.
@@ -25705,12 +25710,12 @@ var Xsqlite3StdTypeAffinity = [6]int8{
int8(SQLITE_AFF_TEXT),
}
var Xsqlite3StdType = [6]uintptr{
- ts + 1096,
- ts + 1100,
- ts + 1105,
- ts + 1109,
- ts + 1117,
- ts + 1122,
+ ts + 1115,
+ ts + 1119,
+ ts + 1124,
+ ts + 1128,
+ ts + 1136,
+ ts + 1141,
}
// SQL is translated into a sequence of instructions to be
@@ -26027,7 +26032,7 @@ func Xsqlite3_status64(tls *libc.TLS, op int32, pCurrent uintptr, pHighwater uin
_ = pMutex
if op < 0 || op >= int32(uint64(unsafe.Sizeof([10]Sqlite3StatValueType{}))/uint64(unsafe.Sizeof(Sqlite3StatValueType(0)))) {
- return Xsqlite3MisuseError(tls, 23229)
+ return Xsqlite3MisuseError(tls, 23233)
}
if statMutex[op] != 0 {
pMutex = Xsqlite3Pcache1Mutex(tls)
@@ -26467,7 +26472,7 @@ __6:
__4:
;
zDate++
- if !(getDigits(tls, zDate, ts+1127, libc.VaList(bp, bp+16, bp+20)) != 2) {
+ if !(getDigits(tls, zDate, ts+1146, libc.VaList(bp, bp+16, bp+20)) != 2) {
goto __9
}
return 1
@@ -26493,13 +26498,13 @@ func parseHhMmSs(tls *libc.TLS, zDate uintptr, p uintptr) int32 {
defer tls.Free(36)
var ms float64 = 0.0
- if getDigits(tls, zDate, ts+1135, libc.VaList(bp, bp+24, bp+28)) != 2 {
+ if getDigits(tls, zDate, ts+1154, libc.VaList(bp, bp+24, bp+28)) != 2 {
return 1
}
zDate += uintptr(5)
if int32(*(*int8)(unsafe.Pointer(zDate))) == ':' {
zDate++
- if getDigits(tls, zDate, ts+1143, libc.VaList(bp+16, bp+32)) != 1 {
+ if getDigits(tls, zDate, ts+1162, libc.VaList(bp+16, bp+32)) != 1 {
return 1
}
zDate += uintptr(2)
@@ -26597,7 +26602,7 @@ func parseYyyyMmDd(tls *libc.TLS, zDate uintptr, p uintptr) int32 {
} else {
neg = 0
}
- if getDigits(tls, zDate, ts+1147, libc.VaList(bp, bp+24, bp+28, bp+32)) != 3 {
+ if getDigits(tls, zDate, ts+1166, libc.VaList(bp, bp+24, bp+28, bp+32)) != 3 {
return 1
}
zDate += uintptr(10)
@@ -26654,7 +26659,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+1159) == 0 && Xsqlite3NotPureFunc(tls, context) != 0 {
+ } else if Xsqlite3StrICmp(tls, zDate, ts+1178) == 0 && Xsqlite3NotPureFunc(tls, context) != 0 {
return setDateTimeToCurrent(tls, context, p)
} else if Xsqlite3AtoF(tls, zDate, bp, Xsqlite3Strlen30(tls, zDate), uint8(SQLITE_UTF8)) > 0 {
setRawDateNumber(tls, p, *(*float64)(unsafe.Pointer(bp)))
@@ -26787,7 +26792,7 @@ func toLocaltime(tls *libc.TLS, p uintptr, pCtx uintptr) int32 {
*(*Time_t)(unsafe.Pointer(bp + 88)) = (*DateTime)(unsafe.Pointer(p)).FiJD/int64(1000) - int64(21086676)*int64(10000)
}
if osLocaltime(tls, bp+88, bp) != 0 {
- Xsqlite3_result_error(tls, pCtx, ts+1163, -1)
+ Xsqlite3_result_error(tls, pCtx, ts+1182, -1)
return SQLITE_ERROR
}
(*DateTime)(unsafe.Pointer(p)).FY = (*tm)(unsafe.Pointer(bp)).Ftm_year + 1900 - iYearDiff
@@ -26811,12 +26816,12 @@ var aXformType = [6]struct {
FrLimit float32
FrXform float32
}{
- {FnName: U8(6), FzName: *(*[7]int8)(unsafe.Pointer(ts + 1186)), FrLimit: 4.6427e+14, FrXform: 1.0},
- {FnName: U8(6), FzName: *(*[7]int8)(unsafe.Pointer(ts + 1193)), FrLimit: 7.7379e+12, FrXform: 60.0},
- {FnName: U8(4), FzName: *(*[7]int8)(unsafe.Pointer(ts + 1200)), FrLimit: 1.2897e+11, FrXform: 3600.0},
- {FnName: U8(3), FzName: *(*[7]int8)(unsafe.Pointer(ts + 1207)), FrLimit: 5373485.0, FrXform: 86400.0},
- {FnName: U8(5), FzName: *(*[7]int8)(unsafe.Pointer(ts + 1214)), FrLimit: 176546.0, FrXform: 2592000.0},
- {FnName: U8(4), FzName: *(*[7]int8)(unsafe.Pointer(ts + 1221)), FrLimit: 14713.0, FrXform: 31536000.0},
+ {FnName: U8(6), FzName: *(*[7]int8)(unsafe.Pointer(ts + 1205)), FrLimit: 4.6427e+14, FrXform: 1.0},
+ {FnName: U8(6), FzName: *(*[7]int8)(unsafe.Pointer(ts + 1212)), FrLimit: 7.7379e+12, FrXform: 60.0},
+ {FnName: U8(4), FzName: *(*[7]int8)(unsafe.Pointer(ts + 1219)), FrLimit: 1.2897e+11, FrXform: 3600.0},
+ {FnName: U8(3), FzName: *(*[7]int8)(unsafe.Pointer(ts + 1226)), FrLimit: 5373485.0, FrXform: 86400.0},
+ {FnName: U8(5), FzName: *(*[7]int8)(unsafe.Pointer(ts + 1233)), FrLimit: 176546.0, FrXform: 2592000.0},
+ {FnName: U8(4), FzName: *(*[7]int8)(unsafe.Pointer(ts + 1240)), FrLimit: 14713.0, FrXform: 31536000.0},
}
func parseModifier(tls *libc.TLS, pCtx uintptr, z uintptr, n int32, p uintptr, idx int32) int32 {
@@ -26828,7 +26833,7 @@ func parseModifier(tls *libc.TLS, pCtx uintptr, z uintptr, n int32, p uintptr, i
switch int32(Xsqlite3UpperToLower[U8(*(*int8)(unsafe.Pointer(z)))]) {
case 'a':
{
- if Xsqlite3_stricmp(tls, z, ts+1228) == 0 {
+ if Xsqlite3_stricmp(tls, z, ts+1247) == 0 {
if idx > 1 {
return 1
}
@@ -26850,7 +26855,7 @@ func parseModifier(tls *libc.TLS, pCtx uintptr, z uintptr, n int32, p uintptr, i
}
case 'j':
{
- if Xsqlite3_stricmp(tls, z, ts+1233) == 0 {
+ if Xsqlite3_stricmp(tls, z, ts+1252) == 0 {
if idx > 1 {
return 1
}
@@ -26864,7 +26869,7 @@ func parseModifier(tls *libc.TLS, pCtx uintptr, z uintptr, n int32, p uintptr, i
}
case 'l':
{
- if Xsqlite3_stricmp(tls, z, ts+1243) == 0 && Xsqlite3NotPureFunc(tls, pCtx) != 0 {
+ if Xsqlite3_stricmp(tls, z, ts+1262) == 0 && Xsqlite3NotPureFunc(tls, pCtx) != 0 {
rc = toLocaltime(tls, p, pCtx)
}
break
@@ -26872,7 +26877,7 @@ func parseModifier(tls *libc.TLS, pCtx uintptr, z uintptr, n int32, p uintptr, i
}
case 'u':
{
- if Xsqlite3_stricmp(tls, z, ts+1253) == 0 && (*DateTime)(unsafe.Pointer(p)).FrawS != 0 {
+ if Xsqlite3_stricmp(tls, z, ts+1272) == 0 && (*DateTime)(unsafe.Pointer(p)).FrawS != 0 {
if idx > 1 {
return 1
}
@@ -26884,7 +26889,7 @@ func parseModifier(tls *libc.TLS, pCtx uintptr, z uintptr, n int32, p uintptr, i
(*DateTime)(unsafe.Pointer(p)).FrawS = int8(0)
rc = 0
}
- } else if Xsqlite3_stricmp(tls, z, ts+1263) == 0 && Xsqlite3NotPureFunc(tls, pCtx) != 0 {
+ } else if Xsqlite3_stricmp(tls, z, ts+1282) == 0 && Xsqlite3NotPureFunc(tls, pCtx) != 0 {
if int32((*DateTime)(unsafe.Pointer(p)).FtzSet) == 0 {
var iOrigJD I64
var iGuess I64
@@ -26918,7 +26923,7 @@ func parseModifier(tls *libc.TLS, pCtx uintptr, z uintptr, n int32, p uintptr, i
}
case 'w':
{
- if Xsqlite3_strnicmp(tls, z, ts+1267, 8) == 0 &&
+ if Xsqlite3_strnicmp(tls, z, ts+1286, 8) == 0 &&
Xsqlite3AtoF(tls, z+8, bp+48, Xsqlite3Strlen30(tls, z+8), uint8(SQLITE_UTF8)) > 0 &&
*(*float64)(unsafe.Pointer(bp + 48)) >= 0.0 && *(*float64)(unsafe.Pointer(bp + 48)) < 7.0 && float64(libc.AssignInt32(&n, int32(*(*float64)(unsafe.Pointer(bp + 48))))) == *(*float64)(unsafe.Pointer(bp + 48)) {
var Z Sqlite3_int64
@@ -26939,7 +26944,7 @@ func parseModifier(tls *libc.TLS, pCtx uintptr, z uintptr, n int32, p uintptr, i
}
case 's':
{
- if Xsqlite3_strnicmp(tls, z, ts+1276, 9) != 0 {
+ if Xsqlite3_strnicmp(tls, z, ts+1295, 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) {
@@ -26953,14 +26958,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+1286) == 0 {
+ if Xsqlite3_stricmp(tls, z, ts+1305) == 0 {
(*DateTime)(unsafe.Pointer(p)).FD = 1
rc = 0
- } else if Xsqlite3_stricmp(tls, z, ts+1292) == 0 {
+ } else if Xsqlite3_stricmp(tls, z, ts+1311) == 0 {
(*DateTime)(unsafe.Pointer(p)).FM = 1
(*DateTime)(unsafe.Pointer(p)).FD = 1
rc = 0
- } else if Xsqlite3_stricmp(tls, z, ts+1297) == 0 {
+ } else if Xsqlite3_stricmp(tls, z, ts+1316) == 0 {
rc = 0
}
break
@@ -27286,7 +27291,7 @@ func strftimeFunc(tls *libc.TLS, context uintptr, argc int32, argv uintptr) {
switch int32(*(*int8)(unsafe.Pointer(zFmt + uintptr(i)))) {
case 'd':
{
- Xsqlite3_str_appendf(tls, bp+136, ts+1301, libc.VaList(bp, (*DateTime)(unsafe.Pointer(bp+88)).FD))
+ Xsqlite3_str_appendf(tls, bp+136, ts+1320, libc.VaList(bp, (*DateTime)(unsafe.Pointer(bp+88)).FD))
break
}
@@ -27296,13 +27301,13 @@ func strftimeFunc(tls *libc.TLS, context uintptr, argc int32, argv uintptr) {
if s > 59.999 {
s = 59.999
}
- Xsqlite3_str_appendf(tls, bp+136, ts+1306, libc.VaList(bp+8, s))
+ Xsqlite3_str_appendf(tls, bp+136, ts+1325, libc.VaList(bp+8, s))
break
}
case 'H':
{
- Xsqlite3_str_appendf(tls, bp+136, ts+1301, libc.VaList(bp+16, (*DateTime)(unsafe.Pointer(bp+88)).Fh))
+ Xsqlite3_str_appendf(tls, bp+136, ts+1320, libc.VaList(bp+16, (*DateTime)(unsafe.Pointer(bp+88)).Fh))
break
}
@@ -27320,41 +27325,41 @@ func strftimeFunc(tls *libc.TLS, context uintptr, argc int32, argv uintptr) {
if int32(*(*int8)(unsafe.Pointer(zFmt + uintptr(i)))) == 'W' {
var wd int32
wd = int32(((*DateTime)(unsafe.Pointer(bp+88)).FiJD + int64(43200000)) / int64(86400000) % int64(7))
- Xsqlite3_str_appendf(tls, bp+136, ts+1301, libc.VaList(bp+24, (nDay+7-wd)/7))
+ Xsqlite3_str_appendf(tls, bp+136, ts+1320, libc.VaList(bp+24, (nDay+7-wd)/7))
} else {
- Xsqlite3_str_appendf(tls, bp+136, ts+1313, libc.VaList(bp+32, nDay+1))
+ Xsqlite3_str_appendf(tls, bp+136, ts+1332, libc.VaList(bp+32, nDay+1))
}
break
}
case 'J':
{
- Xsqlite3_str_appendf(tls, bp+136, ts+1318, libc.VaList(bp+40, float64((*DateTime)(unsafe.Pointer(bp+88)).FiJD)/86400000.0))
+ Xsqlite3_str_appendf(tls, bp+136, ts+1337, libc.VaList(bp+40, float64((*DateTime)(unsafe.Pointer(bp+88)).FiJD)/86400000.0))
break
}
case 'm':
{
- Xsqlite3_str_appendf(tls, bp+136, ts+1301, libc.VaList(bp+48, (*DateTime)(unsafe.Pointer(bp+88)).FM))
+ Xsqlite3_str_appendf(tls, bp+136, ts+1320, libc.VaList(bp+48, (*DateTime)(unsafe.Pointer(bp+88)).FM))
break
}
case 'M':
{
- Xsqlite3_str_appendf(tls, bp+136, ts+1301, libc.VaList(bp+56, (*DateTime)(unsafe.Pointer(bp+88)).Fm))
+ Xsqlite3_str_appendf(tls, bp+136, ts+1320, libc.VaList(bp+56, (*DateTime)(unsafe.Pointer(bp+88)).Fm))
break
}
case 's':
{
var iS I64 = (*DateTime)(unsafe.Pointer(bp+88)).FiJD/int64(1000) - int64(21086676)*int64(10000)
- Xsqlite3_str_appendf(tls, bp+136, ts+1324, libc.VaList(bp+64, iS))
+ Xsqlite3_str_appendf(tls, bp+136, ts+1343, libc.VaList(bp+64, iS))
break
}
case 'S':
{
- Xsqlite3_str_appendf(tls, bp+136, ts+1301, libc.VaList(bp+72, libc.Int32FromFloat64((*DateTime)(unsafe.Pointer(bp+88)).Fs)))
+ Xsqlite3_str_appendf(tls, bp+136, ts+1320, libc.VaList(bp+72, libc.Int32FromFloat64((*DateTime)(unsafe.Pointer(bp+88)).Fs)))
break
}
@@ -27367,7 +27372,7 @@ func strftimeFunc(tls *libc.TLS, context uintptr, argc int32, argv uintptr) {
}
case 'Y':
{
- Xsqlite3_str_appendf(tls, bp+136, ts+1329, libc.VaList(bp+80, (*DateTime)(unsafe.Pointer(bp+88)).FY))
+ Xsqlite3_str_appendf(tls, bp+136, ts+1348, libc.VaList(bp+80, (*DateTime)(unsafe.Pointer(bp+88)).FY))
break
}
@@ -27417,15 +27422,15 @@ func Xsqlite3RegisterDateTimeFunctions(tls *libc.TLS) {
}
var aDateTimeFuncs = [9]FuncDef{
- {FnArg: int8(-1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_SLOCHNG | SQLITE_UTF8 | SQLITE_FUNC_CONSTANT), FpUserData: 0, FxSFunc: 0, FzName: ts + 1233},
- {FnArg: int8(-1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_SLOCHNG | SQLITE_UTF8 | SQLITE_FUNC_CONSTANT), FpUserData: 0, FxSFunc: 0, FzName: ts + 1253},
- {FnArg: int8(-1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_SLOCHNG | SQLITE_UTF8 | SQLITE_FUNC_CONSTANT), FpUserData: 0, FxSFunc: 0, FzName: ts + 1334},
- {FnArg: int8(-1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_SLOCHNG | SQLITE_UTF8 | SQLITE_FUNC_CONSTANT), FpUserData: 0, FxSFunc: 0, FzName: ts + 1339},
- {FnArg: int8(-1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_SLOCHNG | SQLITE_UTF8 | SQLITE_FUNC_CONSTANT), FpUserData: 0, FxSFunc: 0, FzName: ts + 1344},
+ {FnArg: int8(-1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_SLOCHNG | SQLITE_UTF8 | SQLITE_FUNC_CONSTANT), FpUserData: 0, FxSFunc: 0, FzName: ts + 1252},
+ {FnArg: int8(-1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_SLOCHNG | SQLITE_UTF8 | SQLITE_FUNC_CONSTANT), FpUserData: 0, FxSFunc: 0, FzName: ts + 1272},
{FnArg: int8(-1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_SLOCHNG | SQLITE_UTF8 | SQLITE_FUNC_CONSTANT), FpUserData: 0, FxSFunc: 0, FzName: ts + 1353},
- {FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_SLOCHNG | SQLITE_UTF8), FxSFunc: 0, FzName: ts + 1362},
- {FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_SLOCHNG | SQLITE_UTF8), FxSFunc: 0, FzName: ts + 1375},
- {FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_SLOCHNG | SQLITE_UTF8), FxSFunc: 0, FzName: ts + 1393}}
+ {FnArg: int8(-1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_SLOCHNG | SQLITE_UTF8 | SQLITE_FUNC_CONSTANT), FpUserData: 0, FxSFunc: 0, FzName: ts + 1358},
+ {FnArg: int8(-1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_SLOCHNG | SQLITE_UTF8 | SQLITE_FUNC_CONSTANT), FpUserData: 0, FxSFunc: 0, FzName: ts + 1363},
+ {FnArg: int8(-1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_SLOCHNG | SQLITE_UTF8 | SQLITE_FUNC_CONSTANT), FpUserData: 0, FxSFunc: 0, FzName: ts + 1372},
+ {FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_SLOCHNG | SQLITE_UTF8), FxSFunc: 0, FzName: ts + 1381},
+ {FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_SLOCHNG | SQLITE_UTF8), FxSFunc: 0, FzName: ts + 1394},
+ {FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_SLOCHNG | SQLITE_UTF8), FxSFunc: 0, FzName: ts + 1412}}
// The following routines are convenience wrappers around methods
// of the sqlite3_file object. This is mostly just syntactic sugar. All
@@ -27837,7 +27842,7 @@ func sqlite3MemMalloc(tls *libc.TLS, nByte int32) uintptr {
p = libc.Xmalloc(tls, uint64(nByte))
if p == uintptr(0) {
- Xsqlite3_log(tls, SQLITE_NOMEM, ts+1406, libc.VaList(bp, nByte))
+ Xsqlite3_log(tls, SQLITE_NOMEM, ts+1425, libc.VaList(bp, nByte))
}
return p
}
@@ -27857,7 +27862,7 @@ func sqlite3MemRealloc(tls *libc.TLS, pPrior uintptr, nByte int32) uintptr {
var p uintptr = libc.Xrealloc(tls, pPrior, uint64(nByte))
if p == uintptr(0) {
Xsqlite3_log(tls, SQLITE_NOMEM,
- ts+1444,
+ ts+1463,
libc.VaList(bp, libc.X_msize(tls, pPrior), nByte))
}
return p
@@ -55346,7 +55351,7 @@ func Xsqlite3OomFault(tls *libc.TLS, db uintptr) uintptr {
(*Sqlite3)(unsafe.Pointer(db)).Flookaside.Fsz = U16(0)
if (*Sqlite3)(unsafe.Pointer(db)).FpParse != 0 {
var pParse uintptr
- Xsqlite3ErrorMsg(tls, (*Sqlite3)(unsafe.Pointer(db)).FpParse, ts+1480, 0)
+ Xsqlite3ErrorMsg(tls, (*Sqlite3)(unsafe.Pointer(db)).FpParse, ts+1499, 0)
(*Parse)(unsafe.Pointer((*Sqlite3)(unsafe.Pointer(db)).FpParse)).Frc = SQLITE_NOMEM
for pParse = (*Parse)(unsafe.Pointer((*Sqlite3)(unsafe.Pointer(db)).FpParse)).FpOuterParse; pParse != 0; pParse = (*Parse)(unsafe.Pointer(pParse)).FpOuterParse {
(*Parse)(unsafe.Pointer(pParse)).FnErr++
@@ -55419,8 +55424,8 @@ type et_info = struct {
// by an instance of the following structure
type Et_info = et_info
-var aDigits = *(*[33]int8)(unsafe.Pointer(ts + 1494))
-var aPrefix = *(*[7]int8)(unsafe.Pointer(ts + 1527))
+var aDigits = *(*[33]int8)(unsafe.Pointer(ts + 1513))
+var aPrefix = *(*[7]int8)(unsafe.Pointer(ts + 1546))
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)},
@@ -55634,7 +55639,7 @@ __6:
if !(libc.AssignInt32(&c, int32(*(*int8)(unsafe.Pointer(libc.PreIncUintptr(&fmt, 1))))) == 0) {
goto __11
}
- Xsqlite3_str_append(tls, pAccum, ts+1534, 1)
+ Xsqlite3_str_append(tls, pAccum, ts+1553, 1)
goto __5
__11:
;
@@ -56191,7 +56196,7 @@ __125:
if !(Xsqlite3IsNaN(tls, *(*float64)(unsafe.Pointer(bp + 104))) != 0) {
goto __127
}
- bufpt = ts + 1536
+ bufpt = ts + 1555
length = 3
goto __58
__127:
@@ -56251,7 +56256,7 @@ __138:
}
bufpt = bp + 16
*(*int8)(unsafe.Pointer(bp + 16)) = prefix
- libc.Xmemcpy(tls, bp+16+uintptr(libc.Bool32(int32(prefix) != 0)), ts+1540, uint64(4))
+ libc.Xmemcpy(tls, bp+16+uintptr(libc.Bool32(int32(prefix) != 0)), ts+1559, uint64(4))
length = 3 + libc.Bool32(int32(prefix) != 0)
goto __58
__139:
@@ -56617,7 +56622,7 @@ __200:
if !(bufpt == uintptr(0)) {
goto __201
}
- bufpt = ts + 1544
+ bufpt = ts + 1563
goto __202
__201:
if !(int32(xtype) == EtDYNSTRING) {
@@ -56741,9 +56746,9 @@ __222:
}
escarg = func() uintptr {
if int32(xtype) == EtSQLESCAPE2 {
- return ts + 1545
+ return ts + 1564
}
- return ts + 1550
+ return ts + 1569
}()
__223:
;
@@ -56891,7 +56896,7 @@ __246:
goto __250
}
Xsqlite3_str_appendall(tls, pAccum, (*SrcItem)(unsafe.Pointer(pItem)).FzDatabase)
- Xsqlite3_str_append(tls, pAccum, ts+1557, 1)
+ Xsqlite3_str_append(tls, pAccum, ts+1576, 1)
__250:
;
Xsqlite3_str_appendall(tls, pAccum, (*SrcItem)(unsafe.Pointer(pItem)).FzName)
@@ -56908,10 +56913,10 @@ __251:
if !((*Select)(unsafe.Pointer(pSel)).FselFlags&U32(SF_NestedFrom) != 0) {
goto __253
}
- Xsqlite3_str_appendf(tls, pAccum, ts+1559, libc.VaList(bp, (*Select)(unsafe.Pointer(pSel)).FselId))
+ Xsqlite3_str_appendf(tls, pAccum, ts+1578, libc.VaList(bp, (*Select)(unsafe.Pointer(pSel)).FselId))
goto __254
__253:
- Xsqlite3_str_appendf(tls, pAccum, ts+1569, libc.VaList(bp+8, (*Select)(unsafe.Pointer(pSel)).FselId))
+ Xsqlite3_str_appendf(tls, pAccum, ts+1588, libc.VaList(bp+8, (*Select)(unsafe.Pointer(pSel)).FselId))
__254:
;
__252:
@@ -56966,7 +56971,7 @@ __4:
__5:
}
-var zOrd = *(*[9]int8)(unsafe.Pointer(ts + 1583))
+var zOrd = *(*[9]int8)(unsafe.Pointer(ts + 1602))
// The z string points to the first character of a token that is
// associated with an error. If db does not already have an error
@@ -57131,7 +57136,7 @@ func Xsqlite3ResultStrAccum(tls *libc.TLS, pCtx uintptr, p uintptr) {
} else if int32((*StrAccum)(unsafe.Pointer(p)).FprintfFlags)&SQLITE_PRINTF_MALLOCED != 0 {
Xsqlite3_result_text(tls, pCtx, (*StrAccum)(unsafe.Pointer(p)).FzText, int32((*StrAccum)(unsafe.Pointer(p)).FnChar), *(*uintptr)(unsafe.Pointer(&struct{ f func(*libc.TLS, uintptr) }{Xsqlite3OomClear})))
} else {
- Xsqlite3_result_text(tls, pCtx, ts+1544, 0, uintptr(0))
+ Xsqlite3_result_text(tls, pCtx, ts+1563, 0, uintptr(0))
Xsqlite3_str_reset(tls, p)
}
}
@@ -58972,7 +58977,7 @@ func compare2pow63(tls *libc.TLS, zNum uintptr, incr int32) int32 {
var c int32 = 0
var i int32
- var pow63 uintptr = ts + 1592
+ var pow63 uintptr = ts + 1611
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
}
@@ -59523,7 +59528,7 @@ func logBadConnection(tls *libc.TLS, zType uintptr) {
defer tls.Free(8)
Xsqlite3_log(tls, SQLITE_MISUSE,
- ts+1611,
+ ts+1630,
libc.VaList(bp, zType))
}
@@ -59542,13 +59547,13 @@ func logBadConnection(tls *libc.TLS, zType uintptr) {
func Xsqlite3SafetyCheckOk(tls *libc.TLS, db uintptr) int32 {
var eOpenState U8
if db == uintptr(0) {
- logBadConnection(tls, ts+1545)
+ logBadConnection(tls, ts+1564)
return 0
}
eOpenState = (*Sqlite3)(unsafe.Pointer(db)).FeOpenState
if int32(eOpenState) != SQLITE_STATE_OPEN {
if Xsqlite3SafetyCheckSickOrOk(tls, db) != 0 {
- logBadConnection(tls, ts+1656)
+ logBadConnection(tls, ts+1675)
}
return 0
} else {
@@ -59561,7 +59566,7 @@ func Xsqlite3SafetyCheckSickOrOk(tls *libc.TLS, db uintptr) int32 {
var eOpenState U8
eOpenState = (*Sqlite3)(unsafe.Pointer(db)).FeOpenState
if int32(eOpenState) != SQLITE_STATE_SICK && int32(eOpenState) != SQLITE_STATE_OPEN && int32(eOpenState) != SQLITE_STATE_BUSY {
- logBadConnection(tls, ts+1665)
+ logBadConnection(tls, ts+1684)
return 0
} else {
return 1
@@ -60035,193 +60040,193 @@ func Xsqlite3OpcodeName(tls *libc.TLS, i int32) uintptr {
}
var azName = [187]uintptr{
- ts + 1673,
- ts + 1683,
- ts + 1694,
- ts + 1706,
- ts + 1717,
- ts + 1729,
+ ts + 1692,
+ ts + 1702,
+ ts + 1713,
+ ts + 1725,
ts + 1736,
- ts + 1744,
- ts + 1752,
- ts + 1757,
- ts + 1762,
- ts + 1768,
- ts + 1782,
- ts + 1788,
- ts + 1798,
- ts + 1803,
- ts + 1808,
- ts + 1811,
+ ts + 1748,
+ ts + 1755,
+ ts + 1763,
+ ts + 1771,
+ ts + 1776,
+ ts + 1781,
+ ts + 1787,
+ ts + 1801,
+ ts + 1807,
ts + 1817,
- ts + 1824,
- ts + 1828,
- ts + 1838,
- ts + 1845,
- ts + 1852,
- ts + 1859,
- ts + 1866,
- ts + 1876,
+ ts + 1822,
+ ts + 1827,
+ ts + 1830,
+ ts + 1836,
+ ts + 1843,
+ ts + 1847,
+ ts + 1857,
+ ts + 1864,
+ ts + 1871,
+ ts + 1878,
ts + 1885,
- ts + 1896,
- ts + 1905,
- ts + 1911,
- ts + 1921,
- ts + 1931,
- ts + 1936,
- ts + 1946,
- ts + 1957,
- ts + 1962,
- ts + 1969,
- ts + 1980,
- ts + 1985,
- ts + 1990,
- ts + 1996,
- ts + 2002,
- ts + 2008,
- ts + 2011,
+ ts + 1895,
+ ts + 1904,
+ ts + 1915,
+ ts + 1924,
+ ts + 1930,
+ ts + 1940,
+ ts + 1950,
+ ts + 1955,
+ ts + 1965,
+ ts + 1976,
+ ts + 1981,
+ ts + 1988,
+ ts + 1999,
+ ts + 2004,
+ ts + 2009,
ts + 2015,
ts + 2021,
- ts + 2032,
- ts + 2043,
+ ts + 2027,
+ ts + 2030,
+ ts + 2034,
+ ts + 2040,
ts + 2051,
- ts + 2060,
- ts + 2067,
- ts + 2075,
- ts + 2078,
- ts + 2081,
- ts + 2084,
- ts + 2087,
- ts + 2090,
- ts + 2093,
+ ts + 2062,
+ ts + 2070,
+ ts + 2079,
+ ts + 2086,
+ ts + 2094,
+ ts + 2097,
ts + 2100,
+ ts + 2103,
ts + 2106,
- ts + 2116,
- ts + 2129,
- ts + 2140,
- ts + 2146,
- ts + 2153,
- ts + 2162,
- ts + 2171,
- ts + 2178,
- ts + 2191,
- ts + 2202,
- ts + 2207,
- ts + 2215,
+ ts + 2109,
+ ts + 2112,
+ ts + 2119,
+ ts + 2125,
+ ts + 2135,
+ ts + 2148,
+ ts + 2159,
+ ts + 2165,
+ ts + 2172,
+ ts + 2181,
+ ts + 2190,
+ ts + 2197,
+ ts + 2210,
ts + 2221,
- ts + 2228,
+ ts + 2226,
+ ts + 2234,
ts + 2240,
- ts + 2245,
- ts + 2254,
+ ts + 2247,
ts + 2259,
- ts + 2268,
+ ts + 2264,
ts + 2273,
ts + 2278,
- ts + 2284,
+ ts + 2287,
ts + 2292,
- ts + 2300,
- ts + 2310,
- ts + 2318,
- ts + 2325,
- ts + 2338,
- ts + 2343,
- ts + 2355,
- ts + 2363,
- ts + 2370,
- ts + 2381,
- ts + 2388,
- ts + 2395,
- ts + 2405,
+ ts + 2297,
+ ts + 2303,
+ ts + 2311,
+ ts + 2319,
+ ts + 2329,
+ ts + 2337,
+ ts + 2344,
+ ts + 2357,
+ ts + 2362,
+ ts + 2374,
+ ts + 2382,
+ ts + 2389,
+ ts + 2400,
+ ts + 2407,
ts + 2414,
- ts + 2425,
- ts + 2431,
- ts + 2442,
- ts + 2452,
- ts + 2462,
- ts + 2469,
- ts + 2475,
- ts + 2485,
- ts + 2496,
- ts + 2500,
- ts + 2509,
- ts + 2518,
- ts + 2525,
- ts + 2535,
- ts + 2542,
- ts + 2551,
+ ts + 2424,
+ ts + 2433,
+ ts + 2444,
+ ts + 2450,
+ ts + 2461,
+ ts + 2471,
+ ts + 2481,
+ ts + 2488,
+ ts + 2494,
+ ts + 2504,
+ ts + 2515,
+ ts + 2519,
+ ts + 2528,
+ ts + 2537,
+ ts + 2544,
+ ts + 2554,
ts + 2561,
- ts + 2568,
- ts + 2576,
- ts + 2590,
- ts + 2598,
- ts + 2612,
- ts + 2623,
- ts + 2636,
- ts + 2647,
- ts + 2653,
- ts + 2665,
- ts + 2674,
- ts + 2682,
- ts + 2691,
- ts + 2700,
- ts + 2707,
- ts + 2715,
- ts + 2722,
- ts + 2733,
- ts + 2747,
- ts + 2758,
+ ts + 2570,
+ ts + 2580,
+ ts + 2587,
+ ts + 2595,
+ ts + 2609,
+ ts + 2617,
+ ts + 2631,
+ ts + 2642,
+ ts + 2655,
+ ts + 2666,
+ ts + 2672,
+ ts + 2684,
+ ts + 2693,
+ ts + 2701,
+ ts + 2710,
+ ts + 2719,
+ ts + 2726,
+ ts + 2734,
+ ts + 2741,
+ ts + 2752,
ts + 2766,
- ts + 2772,
- ts + 2780,
- ts + 2788,
- ts + 2798,
- ts + 2811,
- ts + 2821,
- ts + 2834,
- ts + 2843,
- ts + 2854,
+ ts + 2777,
+ ts + 2785,
+ ts + 2791,
+ ts + 2799,
+ ts + 2807,
+ ts + 2817,
+ ts + 2830,
+ ts + 2840,
+ ts + 2853,
ts + 2862,
- ts + 2868,
- ts + 2880,
- ts + 2892,
- ts + 2900,
- ts + 2912,
- ts + 2925,
- ts + 2935,
- ts + 2945,
- ts + 2950,
- ts + 2962,
- ts + 2974,
- ts + 2984,
- ts + 2990,
- ts + 3000,
- ts + 3007,
+ ts + 2873,
+ ts + 2881,
+ ts + 2887,
+ ts + 2899,
+ ts + 2911,
+ ts + 2919,
+ ts + 2931,
+ ts + 2944,
+ ts + 2954,
+ ts + 2964,
+ ts + 2969,
+ ts + 2981,
+ ts + 2993,
+ ts + 3003,
+ ts + 3009,
ts + 3019,
- ts + 3030,
+ ts + 3026,
ts + 3038,
- ts + 3047,
- ts + 3056,
- ts + 3065,
- ts + 3072,
- ts + 3083,
- ts + 3096,
- ts + 3106,
- ts + 3113,
- ts + 3121,
- ts + 3130,
- ts + 3136,
- ts + 3144,
- ts + 3152,
- ts + 3160,
- ts + 3170,
+ ts + 3049,
+ ts + 3057,
+ ts + 3066,
+ ts + 3075,
+ ts + 3084,
+ ts + 3091,
+ ts + 3102,
+ ts + 3115,
+ ts + 3125,
+ ts + 3132,
+ ts + 3140,
+ ts + 3149,
+ ts + 3155,
+ ts + 3163,
+ ts + 3171,
ts + 3179,
- ts + 3190,
- ts + 3200,
- ts + 3206,
- ts + 3217,
- ts + 3228,
- ts + 3233,
- ts + 3241,
+ ts + 3189,
+ ts + 3198,
+ ts + 3209,
+ ts + 3219,
+ ts + 3225,
+ ts + 3236,
+ ts + 3247,
+ ts + 3252,
+ ts + 3260,
}
type winShm = struct {
@@ -60300,86 +60305,86 @@ type win_syscall = struct {
}
var aSyscall = [80]win_syscall{
- {FzName: ts + 3251, FpCurrent: 0},
- {FzName: ts + 3267},
- {FzName: ts + 3278},
- {FzName: ts + 3289, FpCurrent: 0},
- {FzName: ts + 3301, FpCurrent: 0},
- {FzName: ts + 3313, FpCurrent: 0},
- {FzName: ts + 3325, FpCurrent: 0},
+ {FzName: ts + 3270, FpCurrent: 0},
+ {FzName: ts + 3286},
+ {FzName: ts + 3297},
+ {FzName: ts + 3308, FpCurrent: 0},
+ {FzName: ts + 3320, FpCurrent: 0},
+ {FzName: ts + 3332, FpCurrent: 0},
{FzName: ts + 3344, FpCurrent: 0},
{FzName: ts + 3363, FpCurrent: 0},
- {FzName: ts + 3376, FpCurrent: 0},
- {FzName: ts + 3388, FpCurrent: 0},
- {FzName: ts + 3400},
- {FzName: ts + 3424},
- {FzName: ts + 3445, FpCurrent: 0},
- {FzName: ts + 3462, FpCurrent: 0},
- {FzName: ts + 3477, FpCurrent: 0},
- {FzName: ts + 3492, FpCurrent: 0},
- {FzName: ts + 3504, FpCurrent: 0},
- {FzName: ts + 3524, FpCurrent: 0},
- {FzName: ts + 3542, FpCurrent: 0},
- {FzName: ts + 3560, FpCurrent: 0},
+ {FzName: ts + 3382, FpCurrent: 0},
+ {FzName: ts + 3395, FpCurrent: 0},
+ {FzName: ts + 3407, FpCurrent: 0},
+ {FzName: ts + 3419},
+ {FzName: ts + 3443},
+ {FzName: ts + 3464, FpCurrent: 0},
+ {FzName: ts + 3481, FpCurrent: 0},
+ {FzName: ts + 3496, FpCurrent: 0},
+ {FzName: ts + 3511, FpCurrent: 0},
+ {FzName: ts + 3523, FpCurrent: 0},
+ {FzName: ts + 3543, FpCurrent: 0},
+ {FzName: ts + 3561, FpCurrent: 0},
{FzName: ts + 3579, FpCurrent: 0},
{FzName: ts + 3598, FpCurrent: 0},
- {FzName: ts + 3619, FpCurrent: 0},
- {FzName: ts + 3631, FpCurrent: 0},
- {FzName: ts + 3648, FpCurrent: 0},
- {FzName: ts + 3665, FpCurrent: 0},
- {FzName: ts + 3678, FpCurrent: 0},
- {FzName: ts + 3694, FpCurrent: 0},
- {FzName: ts + 3708, FpCurrent: 0},
- {FzName: ts + 3722, FpCurrent: 0},
- {FzName: ts + 3746, FpCurrent: 0},
- {FzName: ts + 3759, FpCurrent: 0},
- {FzName: ts + 3772, FpCurrent: 0},
- {FzName: ts + 3785, FpCurrent: 0},
- {FzName: ts + 3799, FpCurrent: 0},
- {FzName: ts + 3813, FpCurrent: 0},
- {FzName: ts + 3823, FpCurrent: 0},
- {FzName: ts + 3834, FpCurrent: 0},
- {FzName: ts + 3846, FpCurrent: 0},
- {FzName: ts + 3855, FpCurrent: 0},
- {FzName: ts + 3867, FpCurrent: 0},
- {FzName: ts + 3876, FpCurrent: 0},
- {FzName: ts + 3889, FpCurrent: 0},
- {FzName: ts + 3901, FpCurrent: 0},
- {FzName: ts + 3914, FpCurrent: 0},
- {FzName: ts + 3927, FpCurrent: 0},
- {FzName: ts + 3937, FpCurrent: 0},
+ {FzName: ts + 3617, FpCurrent: 0},
+ {FzName: ts + 3638, FpCurrent: 0},
+ {FzName: ts + 3650, FpCurrent: 0},
+ {FzName: ts + 3667, FpCurrent: 0},
+ {FzName: ts + 3684, FpCurrent: 0},
+ {FzName: ts + 3697, FpCurrent: 0},
+ {FzName: ts + 3713, FpCurrent: 0},
+ {FzName: ts + 3727, FpCurrent: 0},
+ {FzName: ts + 3741, FpCurrent: 0},
+ {FzName: ts + 3765, FpCurrent: 0},
+ {FzName: ts + 3778, FpCurrent: 0},
+ {FzName: ts + 3791, FpCurrent: 0},
+ {FzName: ts + 3804, FpCurrent: 0},
+ {FzName: ts + 3818, FpCurrent: 0},
+ {FzName: ts + 3832, FpCurrent: 0},
+ {FzName: ts + 3842, FpCurrent: 0},
+ {FzName: ts + 3853, FpCurrent: 0},
+ {FzName: ts + 3865, FpCurrent: 0},
+ {FzName: ts + 3874, FpCurrent: 0},
+ {FzName: ts + 3886, FpCurrent: 0},
+ {FzName: ts + 3895, FpCurrent: 0},
+ {FzName: ts + 3908, FpCurrent: 0},
+ {FzName: ts + 3920, FpCurrent: 0},
+ {FzName: ts + 3933, FpCurrent: 0},
{FzName: ts + 3946, FpCurrent: 0},
- {FzName: ts + 3957, FpCurrent: 0},
- {FzName: ts + 3971, FpCurrent: 0},
- {FzName: ts + 3991, FpCurrent: 0},
- {FzName: ts + 4015, FpCurrent: 0},
- {FzName: ts + 4024, FpCurrent: 0},
- {FzName: ts + 4037, FpCurrent: 0},
- {FzName: ts + 4052, FpCurrent: 0},
- {FzName: ts + 4058, FpCurrent: 0},
- {FzName: ts + 4079, FpCurrent: 0},
- {FzName: ts + 4090, FpCurrent: 0},
- {FzName: ts + 4103, FpCurrent: 0},
- {FzName: ts + 4119, FpCurrent: 0},
- {FzName: ts + 4139, FpCurrent: 0},
- {FzName: ts + 4149},
- {FzName: ts + 4164, FpCurrent: 0},
- {FzName: ts + 4184, FpCurrent: 0},
- {FzName: ts + 4206},
- {FzName: ts + 4223},
- {FzName: ts + 4252},
- {FzName: ts + 4273},
- {FzName: ts + 4285},
- {FzName: ts + 4305},
- {FzName: ts + 4320},
- {FzName: ts + 4340, FpCurrent: 0},
+ {FzName: ts + 3956, FpCurrent: 0},
+ {FzName: ts + 3965, FpCurrent: 0},
+ {FzName: ts + 3976, FpCurrent: 0},
+ {FzName: ts + 3990, FpCurrent: 0},
+ {FzName: ts + 4010, FpCurrent: 0},
+ {FzName: ts + 4034, FpCurrent: 0},
+ {FzName: ts + 4043, FpCurrent: 0},
+ {FzName: ts + 4056, FpCurrent: 0},
+ {FzName: ts + 4071, FpCurrent: 0},
+ {FzName: ts + 4077, FpCurrent: 0},
+ {FzName: ts + 4098, FpCurrent: 0},
+ {FzName: ts + 4109, FpCurrent: 0},
+ {FzName: ts + 4122, FpCurrent: 0},
+ {FzName: ts + 4138, FpCurrent: 0},
+ {FzName: ts + 4158, FpCurrent: 0},
+ {FzName: ts + 4168},
+ {FzName: ts + 4183, FpCurrent: 0},
+ {FzName: ts + 4203, FpCurrent: 0},
+ {FzName: ts + 4225},
+ {FzName: ts + 4242},
+ {FzName: ts + 4271},
+ {FzName: ts + 4292},
+ {FzName: ts + 4304},
+ {FzName: ts + 4324},
+ {FzName: ts + 4339},
{FzName: ts + 4359, FpCurrent: 0},
{FzName: ts + 4378, FpCurrent: 0},
- {FzName: ts + 4393},
- {FzName: ts + 4418},
- {FzName: ts + 4445},
- {FzName: ts + 4456},
- {FzName: ts + 4477, FpCurrent: 0},
+ {FzName: ts + 4397, FpCurrent: 0},
+ {FzName: ts + 4412},
+ {FzName: ts + 4437},
+ {FzName: ts + 4464},
+ {FzName: ts + 4475},
+ {FzName: ts + 4496, FpCurrent: 0},
}
func winSetSystemCall(tls *libc.TLS, pNotUsed uintptr, zName uintptr, pNewFunc Sqlite3_syscall_ptr) int32 {
@@ -60708,7 +60713,7 @@ __3:
if !(zValue != 0 && *(*int8)(unsafe.Pointer(zValue)) != 0) {
goto __7
}
- zCopy = Xsqlite3_mprintf(tls, ts+4493, libc.VaList(bp, zValue))
+ zCopy = Xsqlite3_mprintf(tls, ts+4512, libc.VaList(bp, zValue))
if !(zCopy == uintptr(0)) {
goto __8
}
@@ -60799,9 +60804,9 @@ func winGetLastErrorMsg(tls *libc.TLS, lastErrno DWORD, nBuf int32, zBuf uintptr
}
}
if DWORD(0) == dwLen {
- Xsqlite3_snprintf(tls, nBuf, zBuf, ts+4496, libc.VaList(bp, lastErrno, lastErrno))
+ Xsqlite3_snprintf(tls, nBuf, zBuf, ts+4515, libc.VaList(bp, lastErrno, lastErrno))
} else {
- Xsqlite3_snprintf(tls, nBuf, zBuf, ts+4493, libc.VaList(bp+16, zOut))
+ Xsqlite3_snprintf(tls, nBuf, zBuf, ts+4512, libc.VaList(bp+16, zOut))
Xsqlite3_free(tls, zOut)
}
@@ -60818,13 +60823,13 @@ func winLogErrorAtLine(tls *libc.TLS, errcode int32, lastErrno DWORD, zFunc uint
winGetLastErrorMsg(tls, lastErrno, int32(unsafe.Sizeof([500]int8{})), bp+40)
if zPath == uintptr(0) {
- zPath = ts + 1544
+ zPath = ts + 1563
}
for i = 0; *(*int8)(unsafe.Pointer(bp + 40 + uintptr(i))) != 0 && int32(*(*int8)(unsafe.Pointer(bp + 40 + uintptr(i)))) != '\r' && int32(*(*int8)(unsafe.Pointer(bp + 40 + uintptr(i)))) != '\n'; i++ {
}
*(*int8)(unsafe.Pointer(bp + 40 + uintptr(i))) = int8(0)
Xsqlite3_log(tls, errcode,
- ts+4516,
+ ts+4535,
libc.VaList(bp, iLine, lastErrno, zFunc, zPath, bp+40))
return errcode
@@ -60858,7 +60863,7 @@ func winLogIoerr(tls *libc.TLS, nRetry int32, lineno int32) {
if nRetry != 0 {
Xsqlite3_log(tls, SQLITE_NOTICE,
- ts+4547,
+ ts+4566,
libc.VaList(bp, winIoerrRetryDelay*nRetry*(nRetry+1)/2, lineno))
}
}
@@ -60911,7 +60916,7 @@ func winSeekFile(tls *libc.TLS, pFile uintptr, iOffset Sqlite3_int64) int32 {
if dwRet == libc.Uint32(libc.Uint32FromInt32(-1)) &&
libc.AssignUint32(&lastErrno, (*(*func(*libc.TLS) DWORD)(unsafe.Pointer(uintptr(unsafe.Pointer(&aSyscall)) + 26*24 + 8)))(tls)) != DWORD(0) {
(*WinFile)(unsafe.Pointer(pFile)).FlastErrno = lastErrno
- winLogErrorAtLine(tls, SQLITE_IOERR|int32(22)<<8, (*WinFile)(unsafe.Pointer(pFile)).FlastErrno, ts+4597, (*WinFile)(unsafe.Pointer(pFile)).FzPath, 47684)
+ winLogErrorAtLine(tls, SQLITE_IOERR|int32(22)<<8, (*WinFile)(unsafe.Pointer(pFile)).FlastErrno, ts+4616, (*WinFile)(unsafe.Pointer(pFile)).FzPath, 47688)
return 1
}
@@ -60937,7 +60942,7 @@ func winClose(tls *libc.TLS, id uintptr) int32 {
if rc != 0 {
return SQLITE_OK
}
- return winLogErrorAtLine(tls, SQLITE_IOERR|int32(16)<<8, (*(*func(*libc.TLS) DWORD)(unsafe.Pointer(uintptr(unsafe.Pointer(&aSyscall)) + 26*24 + 8)))(tls), ts+4609, (*WinFile)(unsafe.Pointer(pFile)).FzPath, 47780)
+ return winLogErrorAtLine(tls, SQLITE_IOERR|int32(16)<<8, (*(*func(*libc.TLS) DWORD)(unsafe.Pointer(uintptr(unsafe.Pointer(&aSyscall)) + 26*24 + 8)))(tls), ts+4628, (*WinFile)(unsafe.Pointer(pFile)).FzPath, 47784)
}
func winRead(tls *libc.TLS, id uintptr, pBuf uintptr, amt int32, offset Sqlite3_int64) int32 {
@@ -60971,9 +60976,9 @@ func winRead(tls *libc.TLS, id uintptr, pBuf uintptr, amt int32, offset Sqlite3_
}
(*WinFile)(unsafe.Pointer(pFile)).FlastErrno = *(*DWORD)(unsafe.Pointer(bp + 40))
- return winLogErrorAtLine(tls, SQLITE_IOERR|int32(1)<<8, (*WinFile)(unsafe.Pointer(pFile)).FlastErrno, ts+4618, (*WinFile)(unsafe.Pointer(pFile)).FzPath, 47848)
+ return winLogErrorAtLine(tls, SQLITE_IOERR|int32(1)<<8, (*WinFile)(unsafe.Pointer(pFile)).FlastErrno, ts+4637, (*WinFile)(unsafe.Pointer(pFile)).FzPath, 47852)
}
- winLogIoerr(tls, *(*int32)(unsafe.Pointer(bp + 36)), 47851)
+ winLogIoerr(tls, *(*int32)(unsafe.Pointer(bp + 36)), 47855)
if *(*DWORD)(unsafe.Pointer(bp + 32)) < DWORD(amt) {
libc.Xmemset(tls, pBuf+uintptr(*(*DWORD)(unsafe.Pointer(bp + 32))), 0, uint64(DWORD(amt)-*(*DWORD)(unsafe.Pointer(bp + 32))))
@@ -61029,12 +61034,12 @@ func winWrite(tls *libc.TLS, id uintptr, pBuf uintptr, amt int32, offset Sqlite3
if rc != 0 {
if (*WinFile)(unsafe.Pointer(pFile)).FlastErrno == DWORD(39) ||
(*WinFile)(unsafe.Pointer(pFile)).FlastErrno == DWORD(112) {
- return winLogErrorAtLine(tls, SQLITE_FULL, (*WinFile)(unsafe.Pointer(pFile)).FlastErrno, ts+4626, (*WinFile)(unsafe.Pointer(pFile)).FzPath, 47960)
+ return winLogErrorAtLine(tls, SQLITE_FULL, (*WinFile)(unsafe.Pointer(pFile)).FlastErrno, ts+4645, (*WinFile)(unsafe.Pointer(pFile)).FzPath, 47964)
}
- return winLogErrorAtLine(tls, SQLITE_IOERR|int32(3)<<8, (*WinFile)(unsafe.Pointer(pFile)).FlastErrno, ts+4636, (*WinFile)(unsafe.Pointer(pFile)).FzPath, 47965)
+ return winLogErrorAtLine(tls, SQLITE_IOERR|int32(3)<<8, (*WinFile)(unsafe.Pointer(pFile)).FlastErrno, ts+4655, (*WinFile)(unsafe.Pointer(pFile)).FzPath, 47969)
} else {
- winLogIoerr(tls, *(*int32)(unsafe.Pointer(bp + 36)), 47968)
+ winLogIoerr(tls, *(*int32)(unsafe.Pointer(bp + 36)), 47972)
}
return SQLITE_OK
@@ -61061,10 +61066,10 @@ func winTruncate(tls *libc.TLS, id uintptr, nByte Sqlite3_int64) int32 {
winUnmapfile(tls, pFile)
if winSeekFile(tls, pFile, nByte) != 0 {
- rc = winLogErrorAtLine(tls, SQLITE_IOERR|int32(6)<<8, (*WinFile)(unsafe.Pointer(pFile)).FlastErrno, ts+4646, (*WinFile)(unsafe.Pointer(pFile)).FzPath, 48031)
+ rc = winLogErrorAtLine(tls, SQLITE_IOERR|int32(6)<<8, (*WinFile)(unsafe.Pointer(pFile)).FlastErrno, ts+4665, (*WinFile)(unsafe.Pointer(pFile)).FzPath, 48035)
} else if 0 == (*(*func(*libc.TLS, HANDLE) WINBOOL)(unsafe.Pointer(uintptr(unsafe.Pointer(&aSyscall)) + 53*24 + 8)))(tls, (*WinFile)(unsafe.Pointer(pFile)).Fh) && libc.AssignUint32(&lastErrno, (*(*func(*libc.TLS) DWORD)(unsafe.Pointer(uintptr(unsafe.Pointer(&aSyscall)) + 26*24 + 8)))(tls)) != DWORD(1224) {
(*WinFile)(unsafe.Pointer(pFile)).FlastErrno = lastErrno
- rc = winLogErrorAtLine(tls, SQLITE_IOERR|int32(6)<<8, (*WinFile)(unsafe.Pointer(pFile)).FlastErrno, ts+4659, (*WinFile)(unsafe.Pointer(pFile)).FzPath, 48036)
+ rc = winLogErrorAtLine(tls, SQLITE_IOERR|int32(6)<<8, (*WinFile)(unsafe.Pointer(pFile)).FlastErrno, ts+4678, (*WinFile)(unsafe.Pointer(pFile)).FzPath, 48040)
}
if rc == SQLITE_OK && oldMmapSize > int64(0) {
@@ -61090,7 +61095,7 @@ func winSync(tls *libc.TLS, id uintptr, flags int32) int32 {
} else {
(*WinFile)(unsafe.Pointer(pFile)).FlastErrno = (*(*func(*libc.TLS) DWORD)(unsafe.Pointer(uintptr(unsafe.Pointer(&aSyscall)) + 26*24 + 8)))(tls)
- return winLogErrorAtLine(tls, SQLITE_IOERR|int32(24)<<8, (*WinFile)(unsafe.Pointer(pFile)).FlastErrno, ts+4672, (*WinFile)(unsafe.Pointer(pFile)).FzPath, 48128)
+ return winLogErrorAtLine(tls, SQLITE_IOERR|int32(24)<<8, (*WinFile)(unsafe.Pointer(pFile)).FlastErrno, ts+4691, (*WinFile)(unsafe.Pointer(pFile)).FzPath, 48132)
}
}
rc = (*(*func(*libc.TLS, HANDLE) WINBOOL)(unsafe.Pointer(uintptr(unsafe.Pointer(&aSyscall)) + 13*24 + 8)))(tls, (*WinFile)(unsafe.Pointer(pFile)).Fh)
@@ -61100,7 +61105,7 @@ func winSync(tls *libc.TLS, id uintptr, flags int32) int32 {
} else {
(*WinFile)(unsafe.Pointer(pFile)).FlastErrno = (*(*func(*libc.TLS) DWORD)(unsafe.Pointer(uintptr(unsafe.Pointer(&aSyscall)) + 26*24 + 8)))(tls)
- return winLogErrorAtLine(tls, SQLITE_IOERR|int32(4)<<8, (*WinFile)(unsafe.Pointer(pFile)).FlastErrno, ts+4681, (*WinFile)(unsafe.Pointer(pFile)).FzPath, 48143)
+ return winLogErrorAtLine(tls, SQLITE_IOERR|int32(4)<<8, (*WinFile)(unsafe.Pointer(pFile)).FlastErrno, ts+4700, (*WinFile)(unsafe.Pointer(pFile)).FzPath, 48147)
}
return int32(0)
}
@@ -61121,7 +61126,7 @@ func winFileSize(tls *libc.TLS, id uintptr, pSize uintptr) int32 {
if lowerBits == 0xffffffff &&
libc.AssignUint32(&lastErrno, (*(*func(*libc.TLS) DWORD)(unsafe.Pointer(uintptr(unsafe.Pointer(&aSyscall)) + 26*24 + 8)))(tls)) != DWORD(0) {
(*WinFile)(unsafe.Pointer(pFile)).FlastErrno = lastErrno
- rc = winLogErrorAtLine(tls, SQLITE_IOERR|int32(7)<<8, (*WinFile)(unsafe.Pointer(pFile)).FlastErrno, ts+4690, (*WinFile)(unsafe.Pointer(pFile)).FzPath, 48184)
+ rc = winLogErrorAtLine(tls, SQLITE_IOERR|int32(7)<<8, (*WinFile)(unsafe.Pointer(pFile)).FlastErrno, ts+4709, (*WinFile)(unsafe.Pointer(pFile)).FzPath, 48188)
}
}
@@ -61163,7 +61168,7 @@ func winUnlockReadLock(tls *libc.TLS, pFile uintptr) int32 {
}
if res == 0 && libc.AssignUint32(&lastErrno, (*(*func(*libc.TLS) DWORD)(unsafe.Pointer(uintptr(unsafe.Pointer(&aSyscall)) + 26*24 + 8)))(tls)) != DWORD(158) {
(*WinFile)(unsafe.Pointer(pFile)).FlastErrno = lastErrno
- winLogErrorAtLine(tls, SQLITE_IOERR|int32(8)<<8, (*WinFile)(unsafe.Pointer(pFile)).FlastErrno, ts+4702, (*WinFile)(unsafe.Pointer(pFile)).FzPath, 48279)
+ winLogErrorAtLine(tls, SQLITE_IOERR|int32(8)<<8, (*WinFile)(unsafe.Pointer(pFile)).FlastErrno, ts+4721, (*WinFile)(unsafe.Pointer(pFile)).FzPath, 48283)
}
return res
@@ -61289,7 +61294,7 @@ func winUnlock(tls *libc.TLS, id uintptr, locktype int32) int32 {
if type1 >= EXCLUSIVE_LOCK {
winUnlockFile(tls, pFile+16, uint32(Xsqlite3PendingByte+2), uint32(0), uint32(SHARED_SIZE), uint32(0))
if locktype == SHARED_LOCK && !(winGetReadLock(tls, pFile) != 0) {
- rc = winLogErrorAtLine(tls, SQLITE_IOERR|int32(8)<<8, (*(*func(*libc.TLS) DWORD)(unsafe.Pointer(uintptr(unsafe.Pointer(&aSyscall)) + 26*24 + 8)))(tls), ts+4720, (*WinFile)(unsafe.Pointer(pFile)).FzPath, 48505)
+ rc = winLogErrorAtLine(tls, SQLITE_IOERR|int32(8)<<8, (*(*func(*libc.TLS) DWORD)(unsafe.Pointer(uintptr(unsafe.Pointer(&aSyscall)) + 26*24 + 8)))(tls), ts+4739, (*WinFile)(unsafe.Pointer(pFile)).FzPath, 48509)
}
}
if type1 >= RESERVED_LOCK {
@@ -61396,7 +61401,7 @@ func winFileControl(tls *libc.TLS, id uintptr, op int32, pArg uintptr) int32 {
}
case SQLITE_FCNTL_VFSNAME:
{
- *(*uintptr)(unsafe.Pointer(pArg)) = Xsqlite3_mprintf(tls, ts+4493, libc.VaList(bp, (*Sqlite3_vfs)(unsafe.Pointer((*WinFile)(unsafe.Pointer(pFile)).FpVfs)).FzName))
+ *(*uintptr)(unsafe.Pointer(pArg)) = Xsqlite3_mprintf(tls, ts+4512, libc.VaList(bp, (*Sqlite3_vfs)(unsafe.Pointer((*WinFile)(unsafe.Pointer(pFile)).FpVfs)).FzName))
return SQLITE_OK
@@ -61592,7 +61597,7 @@ func winLockSharedMemory(tls *libc.TLS, pShmNode uintptr) int32 {
return SQLITE_READONLY | int32(5)<<8
} else if winTruncate(tls, pShmNode+16, int64(0)) != 0 {
winShmSystemLock(tls, pShmNode, WINSHM_UNLCK, (22+SQLITE_SHM_NLOCK)*4+SQLITE_SHM_NLOCK, 1)
- return winLogErrorAtLine(tls, SQLITE_IOERR|int32(18)<<8, (*(*func(*libc.TLS) DWORD)(unsafe.Pointer(uintptr(unsafe.Pointer(&aSyscall)) + 26*24 + 8)))(tls), ts+4730, (*WinShmNode)(unsafe.Pointer(pShmNode)).FzFilename, 48971)
+ return winLogErrorAtLine(tls, SQLITE_IOERR|int32(18)<<8, (*(*func(*libc.TLS) DWORD)(unsafe.Pointer(uintptr(unsafe.Pointer(&aSyscall)) + 26*24 + 8)))(tls), ts+4749, (*WinShmNode)(unsafe.Pointer(pShmNode)).FzFilename, 48975)
}
}
@@ -61634,7 +61639,7 @@ __1:
__2:
;
(*WinShmNode)(unsafe.Pointer(pNew)).FzFilename = pNew + 1*160
- Xsqlite3_snprintf(tls, nName+15, (*WinShmNode)(unsafe.Pointer(pNew)).FzFilename, ts+4750, libc.VaList(bp, (*WinFile)(unsafe.Pointer(pDbFd)).FzPath))
+ Xsqlite3_snprintf(tls, nName+15, (*WinShmNode)(unsafe.Pointer(pNew)).FzFilename, ts+4769, libc.VaList(bp, (*WinFile)(unsafe.Pointer(pDbFd)).FzPath))
winShmEnterMutex(tls)
pShmNode = winShmNodeList
@@ -61684,7 +61689,7 @@ __10:
;
__9:
;
- if !(0 == Xsqlite3_uri_boolean(tls, (*WinFile)(unsafe.Pointer(pDbFd)).FzPath, ts+4757, 0)) {
+ if !(0 == Xsqlite3_uri_boolean(tls, (*WinFile)(unsafe.Pointer(pDbFd)).FzPath, ts+4776, 0)) {
goto __11
}
inFlags = inFlags | (SQLITE_OPEN_READWRITE | SQLITE_OPEN_CREATE)
@@ -61699,7 +61704,7 @@ __12:
if !(rc != SQLITE_OK) {
goto __13
}
- rc = winLogErrorAtLine(tls, rc, (*(*func(*libc.TLS) DWORD)(unsafe.Pointer(uintptr(unsafe.Pointer(&aSyscall)) + 26*24 + 8)))(tls), ts+4770, (*WinShmNode)(unsafe.Pointer(pShmNode)).FzFilename, 49053)
+ rc = winLogErrorAtLine(tls, rc, (*(*func(*libc.TLS) DWORD)(unsafe.Pointer(uintptr(unsafe.Pointer(&aSyscall)) + 26*24 + 8)))(tls), ts+4789, (*WinShmNode)(unsafe.Pointer(pShmNode)).FzFilename, 49057)
goto shm_open_err
__13:
;
@@ -61927,7 +61932,7 @@ __3:
if !(rc != SQLITE_OK) {
goto __6
}
- rc = winLogErrorAtLine(tls, SQLITE_IOERR|int32(19)<<8, (*(*func(*libc.TLS) DWORD)(unsafe.Pointer(uintptr(unsafe.Pointer(&aSyscall)) + 26*24 + 8)))(tls), ts+4781, (*WinFile)(unsafe.Pointer(pDbFd)).FzPath, 49324)
+ rc = winLogErrorAtLine(tls, SQLITE_IOERR|int32(19)<<8, (*(*func(*libc.TLS) DWORD)(unsafe.Pointer(uintptr(unsafe.Pointer(&aSyscall)) + 26*24 + 8)))(tls), ts+4800, (*WinFile)(unsafe.Pointer(pDbFd)).FzPath, 49328)
goto shmpage_out
__6:
;
@@ -61945,7 +61950,7 @@ __8:
if !(rc != SQLITE_OK) {
goto __9
}
- rc = winLogErrorAtLine(tls, SQLITE_IOERR|int32(19)<<8, (*(*func(*libc.TLS) DWORD)(unsafe.Pointer(uintptr(unsafe.Pointer(&aSyscall)) + 26*24 + 8)))(tls), ts+4792, (*WinFile)(unsafe.Pointer(pDbFd)).FzPath, 49339)
+ rc = winLogErrorAtLine(tls, SQLITE_IOERR|int32(19)<<8, (*(*func(*libc.TLS) DWORD)(unsafe.Pointer(uintptr(unsafe.Pointer(&aSyscall)) + 26*24 + 8)))(tls), ts+4811, (*WinFile)(unsafe.Pointer(pDbFd)).FzPath, 49343)
goto shmpage_out
__9:
;
@@ -61993,7 +61998,7 @@ __14:
goto __15
}
(*WinShmNode)(unsafe.Pointer(pShmNode)).FlastErrno = (*(*func(*libc.TLS) DWORD)(unsafe.Pointer(uintptr(unsafe.Pointer(&aSyscall)) + 26*24 + 8)))(tls)
- rc = winLogErrorAtLine(tls, SQLITE_IOERR|int32(21)<<8, (*WinShmNode)(unsafe.Pointer(pShmNode)).FlastErrno, ts+4803, (*WinFile)(unsafe.Pointer(pDbFd)).FzPath, 49398)
+ rc = winLogErrorAtLine(tls, SQLITE_IOERR|int32(21)<<8, (*WinShmNode)(unsafe.Pointer(pShmNode)).FlastErrno, ts+4822, (*WinFile)(unsafe.Pointer(pDbFd)).FzPath, 49402)
if !(hMap != 0) {
goto __16
}
@@ -62039,7 +62044,7 @@ func winUnmapfile(tls *libc.TLS, pFile uintptr) int32 {
if !((*(*func(*libc.TLS, LPCVOID) WINBOOL)(unsafe.Pointer(uintptr(unsafe.Pointer(&aSyscall)) + 59*24 + 8)))(tls, (*WinFile)(unsafe.Pointer(pFile)).FpMapRegion) != 0) {
(*WinFile)(unsafe.Pointer(pFile)).FlastErrno = (*(*func(*libc.TLS) DWORD)(unsafe.Pointer(uintptr(unsafe.Pointer(&aSyscall)) + 26*24 + 8)))(tls)
- return winLogErrorAtLine(tls, SQLITE_IOERR|int32(24)<<8, (*WinFile)(unsafe.Pointer(pFile)).FlastErrno, ts+4814, (*WinFile)(unsafe.Pointer(pFile)).FzPath, 49447)
+ return winLogErrorAtLine(tls, SQLITE_IOERR|int32(24)<<8, (*WinFile)(unsafe.Pointer(pFile)).FlastErrno, ts+4833, (*WinFile)(unsafe.Pointer(pFile)).FzPath, 49451)
}
(*WinFile)(unsafe.Pointer(pFile)).FpMapRegion = uintptr(0)
(*WinFile)(unsafe.Pointer(pFile)).FmmapSize = int64(0)
@@ -62048,7 +62053,7 @@ func winUnmapfile(tls *libc.TLS, pFile uintptr) int32 {
if !((*(*func(*libc.TLS, HANDLE) WINBOOL)(unsafe.Pointer(uintptr(unsafe.Pointer(&aSyscall)) + 3*24 + 8)))(tls, (*WinFile)(unsafe.Pointer(pFile)).FhMap) != 0) {
(*WinFile)(unsafe.Pointer(pFile)).FlastErrno = (*(*func(*libc.TLS) DWORD)(unsafe.Pointer(uintptr(unsafe.Pointer(&aSyscall)) + 26*24 + 8)))(tls)
- return winLogErrorAtLine(tls, SQLITE_IOERR|int32(24)<<8, (*WinFile)(unsafe.Pointer(pFile)).FlastErrno, ts+4828, (*WinFile)(unsafe.Pointer(pFile)).FzPath, 49458)
+ return winLogErrorAtLine(tls, SQLITE_IOERR|int32(24)<<8, (*WinFile)(unsafe.Pointer(pFile)).FlastErrno, ts+4847, (*WinFile)(unsafe.Pointer(pFile)).FzPath, 49462)
}
(*WinFile)(unsafe.Pointer(pFile)).FhMap = uintptr(0)
}
@@ -62092,7 +62097,7 @@ func winMapfile(tls *libc.TLS, pFd uintptr, nByte Sqlite3_int64) int32 {
DWORD(*(*Sqlite3_int64)(unsafe.Pointer(bp))&int64(0xffffffff)), uintptr(0))
if (*WinFile)(unsafe.Pointer(pFd)).FhMap == uintptr(0) {
(*WinFile)(unsafe.Pointer(pFd)).FlastErrno = (*(*func(*libc.TLS) DWORD)(unsafe.Pointer(uintptr(unsafe.Pointer(&aSyscall)) + 26*24 + 8)))(tls)
- rc = winLogErrorAtLine(tls, SQLITE_IOERR|int32(24)<<8, (*WinFile)(unsafe.Pointer(pFd)).FlastErrno, ts+4842, (*WinFile)(unsafe.Pointer(pFd)).FzPath, 49535)
+ rc = winLogErrorAtLine(tls, SQLITE_IOERR|int32(24)<<8, (*WinFile)(unsafe.Pointer(pFd)).FlastErrno, ts+4861, (*WinFile)(unsafe.Pointer(pFd)).FzPath, 49539)
return SQLITE_OK
}
@@ -62102,7 +62107,7 @@ func winMapfile(tls *libc.TLS, pFd uintptr, nByte Sqlite3_int64) int32 {
(*(*func(*libc.TLS, HANDLE) WINBOOL)(unsafe.Pointer(uintptr(unsafe.Pointer(&aSyscall)) + 3*24 + 8)))(tls, (*WinFile)(unsafe.Pointer(pFd)).FhMap)
(*WinFile)(unsafe.Pointer(pFd)).FhMap = uintptr(0)
(*WinFile)(unsafe.Pointer(pFd)).FlastErrno = (*(*func(*libc.TLS) DWORD)(unsafe.Pointer(uintptr(unsafe.Pointer(&aSyscall)) + 26*24 + 8)))(tls)
- rc = winLogErrorAtLine(tls, SQLITE_IOERR|int32(24)<<8, (*WinFile)(unsafe.Pointer(pFd)).FlastErrno, ts+4854, (*WinFile)(unsafe.Pointer(pFd)).FzPath, 49553)
+ rc = winLogErrorAtLine(tls, SQLITE_IOERR|int32(24)<<8, (*WinFile)(unsafe.Pointer(pFd)).FlastErrno, ts+4873, (*WinFile)(unsafe.Pointer(pFd)).FzPath, 49557)
return SQLITE_OK
}
@@ -62240,7 +62245,7 @@ func winGetTempname(tls *libc.TLS, pVfs uintptr, pzBuf uintptr) int32 {
var i Size_t
var j Size_t
- var nPre int32 = Xsqlite3Strlen30(tls, ts+4866)
+ var nPre int32 = Xsqlite3Strlen30(tls, ts+4885)
var nMax int32
var nBuf int32
var nDir int32
@@ -62266,9 +62271,9 @@ func winGetTempname(tls *libc.TLS, pVfs uintptr, pzBuf uintptr) int32 {
Xsqlite3_mutex_leave(tls, Xsqlite3MutexAlloc(tls, SQLITE_MUTEX_STATIC_VFS1))
Xsqlite3_free(tls, zBuf)
- return winLogErrorAtLine(tls, SQLITE_ERROR, uint32(0), ts+4874, uintptr(0), 49855)
+ return winLogErrorAtLine(tls, SQLITE_ERROR, uint32(0), ts+4893, uintptr(0), 49859)
}
- Xsqlite3_snprintf(tls, nMax, zBuf, ts+4493, libc.VaList(bp, Xsqlite3_temp_directory))
+ Xsqlite3_snprintf(tls, nMax, zBuf, ts+4512, libc.VaList(bp, Xsqlite3_temp_directory))
}
Xsqlite3_mutex_leave(tls, Xsqlite3MutexAlloc(tls, SQLITE_MUTEX_STATIC_VFS1))
} else if sqlite3_os_type == 2 || Xsqlite3_win32_is_nt(tls) != 0 {
@@ -62283,11 +62288,11 @@ func winGetTempname(tls *libc.TLS, pVfs uintptr, pzBuf uintptr) int32 {
Xsqlite3_free(tls, zWidePath)
Xsqlite3_free(tls, zBuf)
- return winLogErrorAtLine(tls, SQLITE_IOERR|int32(25)<<8, (*(*func(*libc.TLS) DWORD)(unsafe.Pointer(uintptr(unsafe.Pointer(&aSyscall)) + 26*24 + 8)))(tls), ts+4890, uintptr(0), 49955)
+ return winLogErrorAtLine(tls, SQLITE_IOERR|int32(25)<<8, (*(*func(*libc.TLS) DWORD)(unsafe.Pointer(uintptr(unsafe.Pointer(&aSyscall)) + 26*24 + 8)))(tls), ts+4909, uintptr(0), 49959)
}
zMulti = winUnicodeToUtf8(tls, zWidePath)
if zMulti != 0 {
- Xsqlite3_snprintf(tls, nMax, zBuf, ts+4493, libc.VaList(bp+8, zMulti))
+ Xsqlite3_snprintf(tls, nMax, zBuf, ts+4512, libc.VaList(bp+8, zMulti))
Xsqlite3_free(tls, zMulti)
Xsqlite3_free(tls, zWidePath)
} else {
@@ -62307,11 +62312,11 @@ func winGetTempname(tls *libc.TLS, pVfs uintptr, pzBuf uintptr) int32 {
if (*(*func(*libc.TLS, DWORD, LPSTR) DWORD)(unsafe.Pointer(uintptr(unsafe.Pointer(&aSyscall)) + 31*24 + 8)))(tls, uint32(nMax), zMbcsPath) == DWORD(0) {
Xsqlite3_free(tls, zBuf)
- return winLogErrorAtLine(tls, SQLITE_IOERR|int32(25)<<8, (*(*func(*libc.TLS) DWORD)(unsafe.Pointer(uintptr(unsafe.Pointer(&aSyscall)) + 26*24 + 8)))(tls), ts+4906, uintptr(0), 49982)
+ return winLogErrorAtLine(tls, SQLITE_IOERR|int32(25)<<8, (*(*func(*libc.TLS) DWORD)(unsafe.Pointer(uintptr(unsafe.Pointer(&aSyscall)) + 26*24 + 8)))(tls), ts+4925, uintptr(0), 49986)
}
zUtf8 = winMbcsToUtf8(tls, zMbcsPath, (*(*func(*libc.TLS) WINBOOL)(unsafe.Pointer(uintptr(unsafe.Pointer(&aSyscall)) + 8)))(tls))
if zUtf8 != 0 {
- Xsqlite3_snprintf(tls, nMax, zBuf, ts+4493, libc.VaList(bp+16, zUtf8))
+ Xsqlite3_snprintf(tls, nMax, zBuf, ts+4512, libc.VaList(bp+16, zUtf8))
Xsqlite3_free(tls, zUtf8)
} else {
Xsqlite3_free(tls, zBuf)
@@ -62323,17 +62328,17 @@ func winGetTempname(tls *libc.TLS, pVfs uintptr, pzBuf uintptr) int32 {
if !(winMakeEndInDirSep(tls, nDir+1, zBuf) != 0) {
Xsqlite3_free(tls, zBuf)
- return winLogErrorAtLine(tls, SQLITE_ERROR, uint32(0), ts+4922, uintptr(0), 50006)
+ return winLogErrorAtLine(tls, SQLITE_ERROR, uint32(0), ts+4941, uintptr(0), 50010)
}
nLen = Xsqlite3Strlen30(tls, zBuf)
if nLen+nPre+17 > nBuf {
Xsqlite3_free(tls, zBuf)
- return winLogErrorAtLine(tls, SQLITE_ERROR, uint32(0), ts+4938, uintptr(0), 50024)
+ return winLogErrorAtLine(tls, SQLITE_ERROR, uint32(0), ts+4957, uintptr(0), 50028)
}
- Xsqlite3_snprintf(tls, nBuf-16-nLen, zBuf+uintptr(nLen), ts+4866, 0)
+ Xsqlite3_snprintf(tls, nBuf-16-nLen, zBuf+uintptr(nLen), ts+4885, 0)
j = Size_t(Xsqlite3Strlen30(tls, zBuf))
Xsqlite3_randomness(tls, 15, zBuf+uintptr(j))
@@ -62361,7 +62366,7 @@ __3:
return SQLITE_OK
}
-var zChars = *(*[63]int8)(unsafe.Pointer(ts + 4954))
+var zChars = *(*[63]int8)(unsafe.Pointer(ts + 4973))
func winIsDir(tls *libc.TLS, zConverted uintptr) int32 {
bp := tls.Alloc(44)
@@ -62453,7 +62458,7 @@ func winOpen(tls *libc.TLS, pVfs uintptr, zName uintptr, id uintptr, flags int32
dwCreationDisposition = DWORD(OPEN_EXISTING)
}
- if 0 == Xsqlite3_uri_boolean(tls, zName, ts+5017, 0) {
+ if 0 == Xsqlite3_uri_boolean(tls, zName, ts+5036, 0) {
dwShareMode = DWORD(FILE_SHARE_READ | FILE_SHARE_WRITE)
} else {
dwShareMode = DWORD(0)
@@ -62512,7 +62517,7 @@ func winOpen(tls *libc.TLS, pVfs uintptr, zName uintptr, id uintptr, flags int32
}
}
}
- winLogIoerr(tls, *(*int32)(unsafe.Pointer(bp + 8)), 50313)
+ winLogIoerr(tls, *(*int32)(unsafe.Pointer(bp + 8)), 50317)
if h == libc.UintptrFromInt64(int64(-1)) {
Xsqlite3_free(tls, zConverted)
@@ -62523,8 +62528,8 @@ func winOpen(tls *libc.TLS, pVfs uintptr, zName uintptr, id uintptr, flags int32
pOutFlags)
} else {
(*WinFile)(unsafe.Pointer(pFile)).FlastErrno = *(*DWORD)(unsafe.Pointer(bp + 12))
- winLogErrorAtLine(tls, SQLITE_CANTOPEN, (*WinFile)(unsafe.Pointer(pFile)).FlastErrno, ts+5027, zUtf8Name, 50328)
- return Xsqlite3CantopenError(tls, 50329)
+ winLogErrorAtLine(tls, SQLITE_CANTOPEN, (*WinFile)(unsafe.Pointer(pFile)).FlastErrno, ts+5046, zUtf8Name, 50332)
+ return Xsqlite3CantopenError(tls, 50333)
}
}
@@ -62556,7 +62561,7 @@ func winOpen(tls *libc.TLS, pVfs uintptr, zName uintptr, id uintptr, flags int32
*(*U8)(unsafe.Pointer(pFile + 28)) |= U8(WINFILE_RDONLY)
}
if flags&SQLITE_OPEN_MAIN_DB != 0 &&
- Xsqlite3_uri_boolean(tls, zName, ts+5035, SQLITE_POWERSAFE_OVERWRITE) != 0 {
+ Xsqlite3_uri_boolean(tls, zName, ts+5054, SQLITE_POWERSAFE_OVERWRITE) != 0 {
*(*U8)(unsafe.Pointer(pFile + 28)) |= U8(WINFILE_PSOW)
}
(*WinFile)(unsafe.Pointer(pFile)).FlastErrno = DWORD(0)
@@ -62639,9 +62644,9 @@ func winDelete(tls *libc.TLS, pVfs uintptr, zFilename uintptr, syncDir int32) in
}
}
if rc != 0 && rc != SQLITE_IOERR|int32(23)<<8 {
- rc = winLogErrorAtLine(tls, SQLITE_IOERR|int32(10)<<8, *(*DWORD)(unsafe.Pointer(bp + 4)), ts+5040, zFilename, 50501)
+ rc = winLogErrorAtLine(tls, SQLITE_IOERR|int32(10)<<8, *(*DWORD)(unsafe.Pointer(bp + 4)), ts+5059, zFilename, 50505)
} else {
- winLogIoerr(tls, *(*int32)(unsafe.Pointer(bp)), 50503)
+ winLogIoerr(tls, *(*int32)(unsafe.Pointer(bp)), 50507)
}
Xsqlite3_free(tls, zConverted)
@@ -62679,10 +62684,10 @@ func winAccess(tls *libc.TLS, pVfs uintptr, zFilename uintptr, flags int32, pRes
attr = (*WIN32_FILE_ATTRIBUTE_DATA)(unsafe.Pointer(bp)).FdwFileAttributes
}
} else {
- winLogIoerr(tls, *(*int32)(unsafe.Pointer(bp + 36)), 50553)
+ winLogIoerr(tls, *(*int32)(unsafe.Pointer(bp + 36)), 50557)
if *(*DWORD)(unsafe.Pointer(bp + 40)) != DWORD(2) && *(*DWORD)(unsafe.Pointer(bp + 40)) != DWORD(3) {
Xsqlite3_free(tls, zConverted)
- return winLogErrorAtLine(tls, SQLITE_IOERR|int32(13)<<8, *(*DWORD)(unsafe.Pointer(bp + 40)), ts+5050, zFilename, 50556)
+ return winLogErrorAtLine(tls, SQLITE_IOERR|int32(13)<<8, *(*DWORD)(unsafe.Pointer(bp + 40)), ts+5069, zFilename, 50560)
} else {
attr = libc.Uint32(libc.Uint32FromInt32(-1))
}
@@ -62747,7 +62752,7 @@ func winFullPathnameNoMutex(tls *libc.TLS, pVfs uintptr, zRelative uintptr, nFul
return nFull
}
return (*Sqlite3_vfs)(unsafe.Pointer(pVfs)).FmxPathname
- }(), zFull, ts+5060,
+ }(), zFull, ts+5079,
libc.VaList(bp, Xsqlite3_data_directory, '\\', zRelative))
return SQLITE_OK
}
@@ -62760,7 +62765,7 @@ func winFullPathnameNoMutex(tls *libc.TLS, pVfs uintptr, zRelative uintptr, nFul
nByte = (*(*func(*libc.TLS, LPCWSTR, DWORD, LPWSTR, uintptr) DWORD)(unsafe.Pointer(uintptr(unsafe.Pointer(&aSyscall)) + 25*24 + 8)))(tls, zConverted, uint32(0), uintptr(0), uintptr(0))
if nByte == DWORD(0) {
Xsqlite3_free(tls, zConverted)
- return winLogErrorAtLine(tls, SQLITE_CANTOPEN|int32(3)<<8, (*(*func(*libc.TLS) DWORD)(unsafe.Pointer(uintptr(unsafe.Pointer(&aSyscall)) + 26*24 + 8)))(tls), ts+5067, zRelative, 50773)
+ return winLogErrorAtLine(tls, SQLITE_CANTOPEN|int32(3)<<8, (*(*func(*libc.TLS) DWORD)(unsafe.Pointer(uintptr(unsafe.Pointer(&aSyscall)) + 26*24 + 8)))(tls), ts+5086, zRelative, 50777)
}
nByte = nByte + DWORD(3)
zTemp = Xsqlite3MallocZero(tls, uint64(nByte)*uint64(unsafe.Sizeof(WCHAR(0))))
@@ -62772,7 +62777,7 @@ func winFullPathnameNoMutex(tls *libc.TLS, pVfs uintptr, zRelative uintptr, nFul
if nByte == DWORD(0) {
Xsqlite3_free(tls, zConverted)
Xsqlite3_free(tls, zTemp)
- return winLogErrorAtLine(tls, SQLITE_CANTOPEN|int32(3)<<8, (*(*func(*libc.TLS) DWORD)(unsafe.Pointer(uintptr(unsafe.Pointer(&aSyscall)) + 26*24 + 8)))(tls), ts+5084, zRelative, 50786)
+ return winLogErrorAtLine(tls, SQLITE_CANTOPEN|int32(3)<<8, (*(*func(*libc.TLS) DWORD)(unsafe.Pointer(uintptr(unsafe.Pointer(&aSyscall)) + 26*24 + 8)))(tls), ts+5103, zRelative, 50790)
}
Xsqlite3_free(tls, zConverted)
zOut = winUnicodeToUtf8(tls, zTemp)
@@ -62782,7 +62787,7 @@ func winFullPathnameNoMutex(tls *libc.TLS, pVfs uintptr, zRelative uintptr, nFul
nByte = (*(*func(*libc.TLS, LPCSTR, DWORD, LPSTR, uintptr) DWORD)(unsafe.Pointer(uintptr(unsafe.Pointer(&aSyscall)) + 24*24 + 8)))(tls, zConverted, uint32(0), uintptr(0), uintptr(0))
if nByte == DWORD(0) {
Xsqlite3_free(tls, zConverted)
- return winLogErrorAtLine(tls, SQLITE_CANTOPEN|int32(3)<<8, (*(*func(*libc.TLS) DWORD)(unsafe.Pointer(uintptr(unsafe.Pointer(&aSyscall)) + 26*24 + 8)))(tls), ts+5101, zRelative, 50799)
+ return winLogErrorAtLine(tls, SQLITE_CANTOPEN|int32(3)<<8, (*(*func(*libc.TLS) DWORD)(unsafe.Pointer(uintptr(unsafe.Pointer(&aSyscall)) + 26*24 + 8)))(tls), ts+5120, zRelative, 50803)
}
nByte = nByte + DWORD(3)
zTemp = Xsqlite3MallocZero(tls, uint64(nByte)*uint64(unsafe.Sizeof(int8(0))))
@@ -62794,7 +62799,7 @@ func winFullPathnameNoMutex(tls *libc.TLS, pVfs uintptr, zRelative uintptr, nFul
if nByte == DWORD(0) {
Xsqlite3_free(tls, zConverted)
Xsqlite3_free(tls, zTemp)
- return winLogErrorAtLine(tls, SQLITE_CANTOPEN|int32(3)<<8, (*(*func(*libc.TLS) DWORD)(unsafe.Pointer(uintptr(unsafe.Pointer(&aSyscall)) + 26*24 + 8)))(tls), ts+5118, zRelative, 50812)
+ return winLogErrorAtLine(tls, SQLITE_CANTOPEN|int32(3)<<8, (*(*func(*libc.TLS) DWORD)(unsafe.Pointer(uintptr(unsafe.Pointer(&aSyscall)) + 26*24 + 8)))(tls), ts+5137, zRelative, 50816)
}
Xsqlite3_free(tls, zConverted)
zOut = winMbcsToUtf8(tls, zTemp, (*(*func(*libc.TLS) WINBOOL)(unsafe.Pointer(uintptr(unsafe.Pointer(&aSyscall)) + 8)))(tls))
@@ -62806,7 +62811,7 @@ func winFullPathnameNoMutex(tls *libc.TLS, pVfs uintptr, zRelative uintptr, nFul
return nFull
}
return (*Sqlite3_vfs)(unsafe.Pointer(pVfs)).FmxPathname
- }(), zFull, ts+4493, libc.VaList(bp+24, zOut))
+ }(), zFull, ts+4512, libc.VaList(bp+24, zOut))
Xsqlite3_free(tls, zOut)
return SQLITE_OK
} else {
@@ -62989,7 +62994,7 @@ var winVfs = Sqlite3_vfs{
FiVersion: 3,
FszOsFile: int32(unsafe.Sizeof(WinFile{})),
FmxPathname: MAX_PATH * 4,
- FzName: ts + 5135,
+ FzName: ts + 5154,
FpAppData: 0,
FxOpen: 0,
FxDelete: 0,
@@ -63012,7 +63017,7 @@ var winLongPathVfs = Sqlite3_vfs{
FiVersion: 3,
FszOsFile: int32(unsafe.Sizeof(WinFile{})),
FmxPathname: int32(uint64(unsafe.Sizeof(WCHAR(0))) * uint64(32767)),
- FzName: ts + 5141,
+ FzName: ts + 5160,
FpAppData: 0,
FxOpen: 0,
FxDelete: 0,
@@ -63035,7 +63040,7 @@ var winNolockVfs = Sqlite3_vfs{
FiVersion: 3,
FszOsFile: int32(unsafe.Sizeof(WinFile{})),
FmxPathname: MAX_PATH * 4,
- FzName: ts + 5156,
+ FzName: ts + 5175,
FpAppData: 0,
FxOpen: 0,
FxDelete: 0,
@@ -63058,7 +63063,7 @@ var winLongPathNolockVfs = Sqlite3_vfs{
FiVersion: 3,
FszOsFile: int32(unsafe.Sizeof(WinFile{})),
FmxPathname: int32(uint64(unsafe.Sizeof(WCHAR(0))) * uint64(32767)),
- FzName: ts + 5167,
+ FzName: ts + 5186,
FpAppData: 0,
FxOpen: 0,
FxDelete: 0,
@@ -63126,7 +63131,7 @@ var memdb_g MemFS
var memdb_vfs = Sqlite3_vfs{
FiVersion: 2,
FmxPathname: 1024,
- FzName: ts + 5187,
+ FzName: ts + 5206,
FxOpen: 0,
FxAccess: 0,
FxFullPathname: 0,
@@ -63382,7 +63387,7 @@ func memdbFileControl(tls *libc.TLS, pFile uintptr, op int32, pArg uintptr) int3
var rc int32 = SQLITE_NOTFOUND
memdbEnter(tls, p)
if op == SQLITE_FCNTL_VFSNAME {
- *(*uintptr)(unsafe.Pointer(pArg)) = Xsqlite3_mprintf(tls, ts+5193, libc.VaList(bp, (*MemStore)(unsafe.Pointer(p)).FaData, (*MemStore)(unsafe.Pointer(p)).Fsz))
+ *(*uintptr)(unsafe.Pointer(pArg)) = Xsqlite3_mprintf(tls, ts+5212, libc.VaList(bp, (*MemStore)(unsafe.Pointer(p)).FaData, (*MemStore)(unsafe.Pointer(p)).Fsz))
rc = SQLITE_OK
}
if op == SQLITE_FCNTL_SIZE_LIMIT {
@@ -63514,7 +63519,7 @@ func memdbFullPathname(tls *libc.TLS, pVfs uintptr, zPath uintptr, nOut int32, z
defer tls.Free(8)
_ = pVfs
- Xsqlite3_snprintf(tls, nOut, zOut, ts+4493, libc.VaList(bp, zPath))
+ Xsqlite3_snprintf(tls, nOut, zOut, ts+4512, libc.VaList(bp, zPath))
return SQLITE_OK
}
@@ -63635,7 +63640,7 @@ func Xsqlite3_serialize(tls *libc.TLS, db uintptr, zSchema uintptr, piSize uintp
return uintptr(0)
}
szPage = Xsqlite3BtreeGetPageSize(tls, pBt)
- zSql = Xsqlite3_mprintf(tls, ts+5208, libc.VaList(bp, zSchema))
+ zSql = Xsqlite3_mprintf(tls, ts+5227, libc.VaList(bp, zSchema))
if zSql != 0 {
rc = Xsqlite3_prepare_v2(tls, db, zSql, -1, bp+8, uintptr(0))
} else {
@@ -63708,7 +63713,7 @@ __1:
goto end_deserialize
__2:
;
- zSql = Xsqlite3_mprintf(tls, ts+5231, libc.VaList(bp, zSchema))
+ zSql = Xsqlite3_mprintf(tls, ts+5250, libc.VaList(bp, zSchema))
if !(zSql == uintptr(0)) {
goto __3
}
@@ -64424,7 +64429,7 @@ func pcacheFetchFinishWithInit(tls *libc.TLS, pCache uintptr, pgno Pgno, pPage u
libc.Xmemset(tls, pPgHdr+32, 0, uint64(unsafe.Sizeof(PgHdr{}))-uint64(uintptr(0)+32))
(*PgHdr)(unsafe.Pointer(pPgHdr)).FpPage = pPage
(*PgHdr)(unsafe.Pointer(pPgHdr)).FpData = (*Sqlite3_pcache_page)(unsafe.Pointer(pPage)).FpBuf
- (*PgHdr)(unsafe.Pointer(pPgHdr)).FpExtra = pPgHdr + 1*72
+ (*PgHdr)(unsafe.Pointer(pPgHdr)).FpExtra = pPgHdr + 1*80
libc.Xmemset(tls, (*PgHdr)(unsafe.Pointer(pPgHdr)).FpExtra, 0, uint64(8))
(*PgHdr)(unsafe.Pointer(pPgHdr)).FpCache = pCache
(*PgHdr)(unsafe.Pointer(pPgHdr)).Fpgno = pgno
@@ -64454,7 +64459,7 @@ func Xsqlite3PcacheFetchFinish(tls *libc.TLS, pCache uintptr, pgno Pgno, pPage u
// reference count drops to 0, then it is made eligible for recycling.
func Xsqlite3PcacheRelease(tls *libc.TLS, p uintptr) {
(*PCache)(unsafe.Pointer((*PgHdr)(unsafe.Pointer(p)).FpCache)).FnRefSum--
- if int32(libc.PreDecInt16(&(*PgHdr)(unsafe.Pointer(p)).FnRef, 1)) == 0 {
+ if libc.PreDecInt64(&(*PgHdr)(unsafe.Pointer(p)).FnRef, 1) == int64(0) {
if int32((*PgHdr)(unsafe.Pointer(p)).Fflags)&PGHDR_CLEAN != 0 {
pcacheUnpin(tls, p)
} else {
@@ -64505,7 +64510,7 @@ func Xsqlite3PcacheMakeClean(tls *libc.TLS, p uintptr) {
*(*U16)(unsafe.Pointer(p + 52)) &= libc.Uint16FromInt32(libc.CplInt32(PGHDR_DIRTY | PGHDR_NEED_SYNC | PGHDR_WRITEABLE))
*(*U16)(unsafe.Pointer(p + 52)) |= U16(PGHDR_CLEAN)
- if int32((*PgHdr)(unsafe.Pointer(p)).FnRef) == 0 {
+ if (*PgHdr)(unsafe.Pointer(p)).FnRef == int64(0) {
pcacheUnpin(tls, p)
}
}
@@ -64609,8 +64614,8 @@ func Xsqlite3PcacheClear(tls *libc.TLS, pCache uintptr) {
}
func pcacheMergeDirtyList(tls *libc.TLS, pA uintptr, pB uintptr) uintptr {
- bp := tls.Alloc(72)
- defer tls.Free(72)
+ bp := tls.Alloc(80)
+ defer tls.Free(80)
var pTail uintptr
pTail = bp
@@ -64688,13 +64693,13 @@ func Xsqlite3PcacheDirtyList(tls *libc.TLS, pCache uintptr) uintptr {
//
// This is not the total number of pages referenced, but the sum of the
// reference count for all pages.
-func Xsqlite3PcacheRefCount(tls *libc.TLS, pCache uintptr) int32 {
+func Xsqlite3PcacheRefCount(tls *libc.TLS, pCache uintptr) I64 {
return (*PCache)(unsafe.Pointer(pCache)).FnRefSum
}
// Return the number of references to the page supplied as an argument.
-func Xsqlite3PcachePageRefcount(tls *libc.TLS, p uintptr) int32 {
- return int32((*PgHdr)(unsafe.Pointer(p)).FnRef)
+func Xsqlite3PcachePageRefcount(tls *libc.TLS, p uintptr) I64 {
+ return (*PgHdr)(unsafe.Pointer(p)).FnRef
}
// Return the total number of pages in the cache.
@@ -66923,7 +66928,7 @@ __27:
if !(isHot != 0 && nPlayback != 0) {
goto __28
}
- Xsqlite3_log(tls, SQLITE_NOTICE|int32(2)<<8, ts+5246,
+ Xsqlite3_log(tls, SQLITE_NOTICE|int32(2)<<8, ts+5265,
libc.VaList(bp, nPlayback, (*Pager)(unsafe.Pointer(pPager)).FzJournal))
__28:
;
@@ -66988,7 +66993,7 @@ func pagerUndoCallback(tls *libc.TLS, pCtx uintptr, iPg Pgno) int32 {
pPg = Xsqlite3PagerLookup(tls, pPager, iPg)
if pPg != 0 {
- if Xsqlite3PcachePageRefcount(tls, pPg) == 1 {
+ if Xsqlite3PcachePageRefcount(tls, pPg) == int64(1) {
Xsqlite3PcacheDrop(tls, pPg)
} else {
rc = readDbPage(tls, pPg)
@@ -67421,7 +67426,7 @@ func Xsqlite3PagerSetPagesize(tls *libc.TLS, pPager uintptr, pPageSize uintptr,
var pageSize U32 = *(*U32)(unsafe.Pointer(pPageSize))
if (int32((*Pager)(unsafe.Pointer(pPager)).FmemDb) == 0 || (*Pager)(unsafe.Pointer(pPager)).FdbSize == Pgno(0)) &&
- Xsqlite3PcacheRefCount(tls, (*Pager)(unsafe.Pointer(pPager)).FpPCache) == 0 &&
+ Xsqlite3PcacheRefCount(tls, (*Pager)(unsafe.Pointer(pPager)).FpPCache) == int64(0) &&
pageSize != 0 && pageSize != U32((*Pager)(unsafe.Pointer(pPager)).FpageSize) {
var pNew uintptr = uintptr(0)
*(*I64)(unsafe.Pointer(bp)) = int64(0)
@@ -67573,9 +67578,9 @@ func pagerAcquireMapPage(tls *libc.TLS, pPager uintptr, pgno Pgno, pData uintptr
Xsqlite3OsUnfetch(tls, (*Pager)(unsafe.Pointer(pPager)).Ffd, I64(pgno-Pgno(1))*(*Pager)(unsafe.Pointer(pPager)).FpageSize, pData)
return SQLITE_NOMEM
}
- (*PgHdr)(unsafe.Pointer(p)).FpExtra = p + 1*72
+ (*PgHdr)(unsafe.Pointer(p)).FpExtra = p + 1*80
(*PgHdr)(unsafe.Pointer(p)).Fflags = U16(PGHDR_MMAP)
- (*PgHdr)(unsafe.Pointer(p)).FnRef = int16(1)
+ (*PgHdr)(unsafe.Pointer(p)).FnRef = int64(1)
(*PgHdr)(unsafe.Pointer(p)).FpPager = pPager
}
@@ -67907,7 +67912,7 @@ func Xsqlite3PagerFlush(tls *libc.TLS, pPager uintptr) int32 {
for rc == SQLITE_OK && pList != 0 {
var pNext uintptr = (*PgHdr)(unsafe.Pointer(pList)).FpDirty
- if int32((*PgHdr)(unsafe.Pointer(pList)).FnRef) == 0 {
+ if (*PgHdr)(unsafe.Pointer(pList)).FnRef == int64(0) {
rc = pagerStress(tls, pPager, pList)
}
pList = pNext
@@ -68057,7 +68062,7 @@ __11:
goto __12
}
- rc = Xsqlite3CantopenError(tls, 60235)
+ rc = Xsqlite3CantopenError(tls, 60239)
__12:
;
if !(rc != SQLITE_OK) {
@@ -68118,7 +68123,7 @@ __15:
(*Pager)(unsafe.Pointer(*(*uintptr)(unsafe.Pointer(bp)))).FzJournal = pPtr
libc.Xmemcpy(tls, pPtr, zPathname, uint64(nPathname))
pPtr += uintptr(nPathname)
- libc.Xmemcpy(tls, pPtr, ts+5273, uint64(8))
+ libc.Xmemcpy(tls, pPtr, ts+5292, uint64(8))
pPtr += uintptr(8 + 1)
goto __19
__18:
@@ -68131,7 +68136,7 @@ __19:
(*Pager)(unsafe.Pointer(*(*uintptr)(unsafe.Pointer(bp)))).FzWal = pPtr
libc.Xmemcpy(tls, pPtr, zPathname, uint64(nPathname))
pPtr += uintptr(nPathname)
- libc.Xmemcpy(tls, pPtr, ts+5282, uint64(4))
+ libc.Xmemcpy(tls, pPtr, ts+5301, uint64(4))
pPtr += uintptr(4 + 1)
goto __21
__20:
@@ -68183,9 +68188,9 @@ __27:
;
__26:
;
- (*Pager)(unsafe.Pointer(*(*uintptr)(unsafe.Pointer(bp)))).FnoLock = U8(Xsqlite3_uri_boolean(tls, (*Pager)(unsafe.Pointer(*(*uintptr)(unsafe.Pointer(bp)))).FzFilename, ts+5287, 0))
+ (*Pager)(unsafe.Pointer(*(*uintptr)(unsafe.Pointer(bp)))).FnoLock = U8(Xsqlite3_uri_boolean(tls, (*Pager)(unsafe.Pointer(*(*uintptr)(unsafe.Pointer(bp)))).FzFilename, ts+5306, 0))
if !(iDc&SQLITE_IOCAP_IMMUTABLE != 0 ||
- Xsqlite3_uri_boolean(tls, (*Pager)(unsafe.Pointer(*(*uintptr)(unsafe.Pointer(bp)))).FzFilename, ts+5294, 0) != 0) {
+ Xsqlite3_uri_boolean(tls, (*Pager)(unsafe.Pointer(*(*uintptr)(unsafe.Pointer(bp)))).FzFilename, ts+5313, 0) != 0) {
goto __30
}
vfsFlags = vfsFlags | SQLITE_OPEN_READONLY
@@ -68438,7 +68443,7 @@ __7:
if !(rc == SQLITE_OK && *(*int32)(unsafe.Pointer(bp + 8))&SQLITE_OPEN_READONLY != 0) {
goto __10
}
- rc = Xsqlite3CantopenError(tls, 60754)
+ rc = Xsqlite3CantopenError(tls, 60758)
Xsqlite3OsClose(tls, (*Pager)(unsafe.Pointer(pPager)).Fjfd)
__10:
;
@@ -68544,7 +68549,7 @@ __24:
}
func pagerUnlockIfUnused(tls *libc.TLS, pPager uintptr) {
- if Xsqlite3PcacheRefCount(tls, (*Pager)(unsafe.Pointer(pPager)).FpPCache) == 0 {
+ if Xsqlite3PcacheRefCount(tls, (*Pager)(unsafe.Pointer(pPager)).FpPCache) == int64(0) {
pagerUnlockAndRollback(tls, pPager)
}
}
@@ -68562,7 +68567,7 @@ func getPageNormal(tls *libc.TLS, pPager uintptr, pgno Pgno, ppPage uintptr, fla
if !(pgno == Pgno(0)) {
goto __1
}
- return Xsqlite3CorruptError(tls, 60967)
+ return Xsqlite3CorruptError(tls, 60971)
__1:
;
*(*uintptr)(unsafe.Pointer(bp)) = Xsqlite3PcacheFetch(tls, (*Pager)(unsafe.Pointer(pPager)).FpPCache, pgno, 3)
@@ -68601,7 +68606,7 @@ __5:
if !(pgno == (*Pager)(unsafe.Pointer(pPager)).FlckPgno) {
goto __7
}
- rc = Xsqlite3CorruptError(tls, 60999)
+ rc = Xsqlite3CorruptError(tls, 61003)
goto pager_acquire_err
__7:
;
@@ -68678,7 +68683,7 @@ func getPageMMap(tls *libc.TLS, pPager uintptr, pgno Pgno, ppPage uintptr, flags
(int32((*Pager)(unsafe.Pointer(pPager)).FeState) == PAGER_READER || flags&PAGER_GET_READONLY != 0))
if pgno <= Pgno(1) && pgno == Pgno(0) {
- return Xsqlite3CorruptError(tls, 61078)
+ return Xsqlite3CorruptError(tls, 61082)
}
if bMmapOk != 0 && (*Pager)(unsafe.Pointer(pPager)).FpWal != uintptr(0) {
@@ -69436,7 +69441,7 @@ func Xsqlite3PagerMemUsed(tls *libc.TLS, pPager uintptr) int32 {
// Return the number of references to the specified page.
func Xsqlite3PagerPageRefcount(tls *libc.TLS, pPage uintptr) int32 {
- return Xsqlite3PcachePageRefcount(tls, pPage)
+ return int32(Xsqlite3PcachePageRefcount(tls, pPage))
}
// Parameter eStat must be one of SQLITE_DBSTATUS_CACHE_HIT, _MISS, _WRITE,
@@ -69679,9 +69684,9 @@ func Xsqlite3PagerMovepage(tls *libc.TLS, pPager uintptr, pPg uintptr, pgno Pgno
pPgOld = Xsqlite3PagerLookup(tls, pPager, pgno)
if pPgOld != 0 {
- if int32((*PgHdr)(unsafe.Pointer(pPgOld)).FnRef) > 1 {
+ if (*PgHdr)(unsafe.Pointer(pPgOld)).FnRef > int64(1) {
Xsqlite3PagerUnrefNotNull(tls, pPgOld)
- return Xsqlite3CorruptError(tls, 62623)
+ return Xsqlite3CorruptError(tls, 62627)
}
*(*U16)(unsafe.Pointer(pPg + 52)) |= U16(int32((*PgHdr)(unsafe.Pointer(pPgOld)).Fflags) & PGHDR_NEED_SYNC)
if (*Pager)(unsafe.Pointer(pPager)).FtempFile != 0 {
@@ -69866,7 +69871,7 @@ func Xsqlite3PagerClearCache(tls *libc.TLS, pPager uintptr) {
func Xsqlite3PagerCheckpoint(tls *libc.TLS, pPager uintptr, db uintptr, eMode int32, pnLog uintptr, pnCkpt uintptr) int32 {
var rc int32 = SQLITE_OK
if (*Pager)(unsafe.Pointer(pPager)).FpWal == uintptr(0) && int32((*Pager)(unsafe.Pointer(pPager)).FjournalMode) == PAGER_JOURNALMODE_WAL {
- Xsqlite3_exec(tls, db, ts+5304, uintptr(0), uintptr(0), uintptr(0))
+ Xsqlite3_exec(tls, db, ts+5323, uintptr(0), uintptr(0), uintptr(0))
}
if (*Pager)(unsafe.Pointer(pPager)).FpWal != 0 {
rc = Xsqlite3WalCheckpoint(tls, (*Pager)(unsafe.Pointer(pPager)).FpWal, db, eMode,
@@ -70438,7 +70443,7 @@ func walIndexAppend(tls *libc.TLS, pWal uintptr, iFrame U32, iPage U32) int32 {
nCollide = idx
for iKey = walHash(tls, iPage); *(*Ht_slot)(unsafe.Pointer((*WalHashLoc)(unsafe.Pointer(bp)).FaHash + uintptr(iKey)*2)) != 0; iKey = walNextHash(tls, iKey) {
if libc.PostDecInt32(&nCollide, 1) == 0 {
- return Xsqlite3CorruptError(tls, 64387)
+ return Xsqlite3CorruptError(tls, 64391)
}
}
*(*U32)(unsafe.Pointer((*WalHashLoc)(unsafe.Pointer(bp)).FaPgno + uintptr(idx-1)*4)) = iPage
@@ -70537,7 +70542,7 @@ __6:
if !(version != U32(WAL_MAX_VERSION)) {
goto __7
}
- rc = Xsqlite3CantopenError(tls, 64519)
+ rc = Xsqlite3CantopenError(tls, 64523)
goto finished
__7:
;
@@ -70705,7 +70710,7 @@ __24:
goto __30
}
Xsqlite3_log(tls, SQLITE_NOTICE|int32(1)<<8,
- ts+5322,
+ ts+5341,
libc.VaList(bp, (*Wal)(unsafe.Pointer(pWal)).Fhdr.FmxFrame, (*Wal)(unsafe.Pointer(pWal)).FzWalName))
__30:
;
@@ -71123,7 +71128,7 @@ __10:
goto __14
}
- rc = Xsqlite3CorruptError(tls, 65333)
+ rc = Xsqlite3CorruptError(tls, 65337)
goto __15
__14:
Xsqlite3OsFileControlHint(tls, (*Wal)(unsafe.Pointer(pWal)).FpDbFd, SQLITE_FCNTL_SIZE_HINT, bp+16)
@@ -71268,7 +71273,7 @@ func walLimitSize(tls *libc.TLS, pWal uintptr, nMax I64) {
}
Xsqlite3EndBenignMalloc(tls)
if rx != 0 {
- Xsqlite3_log(tls, rx, ts+5359, libc.VaList(bp, (*Wal)(unsafe.Pointer(pWal)).FzWalName))
+ Xsqlite3_log(tls, rx, ts+5378, libc.VaList(bp, (*Wal)(unsafe.Pointer(pWal)).FzWalName))
}
}
@@ -71398,7 +71403,7 @@ func walIndexReadHdr(tls *libc.TLS, pWal uintptr, pChanged uintptr) int32 {
}
if badHdr == 0 && (*Wal)(unsafe.Pointer(pWal)).Fhdr.FiVersion != U32(WALINDEX_MAX_VERSION) {
- rc = Xsqlite3CantopenError(tls, 65682)
+ rc = Xsqlite3CantopenError(tls, 65686)
}
if (*Wal)(unsafe.Pointer(pWal)).FbShmUnreliable != 0 {
if rc != SQLITE_OK {
@@ -71871,7 +71876,7 @@ func Xsqlite3WalFindFrame(tls *libc.TLS, pWal uintptr, pgno Pgno, piRead uintptr
iRead = iFrame
}
if libc.PostDecInt32(&nCollide, 1) == 0 {
- return Xsqlite3CorruptError(tls, 66419)
+ return Xsqlite3CorruptError(tls, 66423)
}
iKey = walNextHash(tls, iKey)
}
@@ -72376,7 +72381,7 @@ func Xsqlite3WalCheckpoint(tls *libc.TLS, pWal uintptr, db uintptr, eMode int32,
if rc == SQLITE_OK {
if (*Wal)(unsafe.Pointer(pWal)).Fhdr.FmxFrame != 0 && walPagesize(tls, pWal) != nBuf {
- rc = Xsqlite3CorruptError(tls, 67138)
+ rc = Xsqlite3CorruptError(tls, 67142)
} else {
rc = walCheckpoint(tls, pWal, db, eMode2, xBusy2, pBusyArg, sync_flags, zBuf)
}
@@ -72769,7 +72774,7 @@ func Xsqlite3BtreeLeaveCursor(tls *libc.TLS, pCur uintptr) {
Xsqlite3BtreeLeave(tls, (*BtCursor)(unsafe.Pointer(pCur)).FpBtree)
}
-var zMagicHeader = *(*[16]int8)(unsafe.Pointer(ts + 5385))
+var zMagicHeader = *(*[16]int8)(unsafe.Pointer(ts + 5404))
var sqlite3SharedCacheList uintptr = uintptr(0)
@@ -73034,7 +73039,7 @@ func btreeMoveto(tls *libc.TLS, pCur uintptr, pKey uintptr, nKey I64, bias int32
}
Xsqlite3VdbeRecordUnpack(tls, pKeyInfo, int32(nKey), pKey, pIdxKey)
if int32((*UnpackedRecord)(unsafe.Pointer(pIdxKey)).FnField) == 0 || int32((*UnpackedRecord)(unsafe.Pointer(pIdxKey)).FnField) > int32((*KeyInfo)(unsafe.Pointer(pKeyInfo)).FnAllField) {
- rc = Xsqlite3CorruptError(tls, 69249)
+ rc = Xsqlite3CorruptError(tls, 69253)
} else {
rc = Xsqlite3BtreeIndexMoveto(tls, pCur, pIdxKey, pRes)
}
@@ -73171,7 +73176,7 @@ __1:
if !(key == Pgno(0)) {
goto __2
}
- *(*int32)(unsafe.Pointer(pRC)) = Xsqlite3CorruptError(tls, 69430)
+ *(*int32)(unsafe.Pointer(pRC)) = Xsqlite3CorruptError(tls, 69434)
return
__2:
;
@@ -73188,7 +73193,7 @@ __3:
goto __4
}
- *(*int32)(unsafe.Pointer(pRC)) = Xsqlite3CorruptError(tls, 69443)
+ *(*int32)(unsafe.Pointer(pRC)) = Xsqlite3CorruptError(tls, 69447)
goto ptrmap_exit
__4:
;
@@ -73196,7 +73201,7 @@ __4:
if !(offset < 0) {
goto __5
}
- *(*int32)(unsafe.Pointer(pRC)) = Xsqlite3CorruptError(tls, 69448)
+ *(*int32)(unsafe.Pointer(pRC)) = Xsqlite3CorruptError(tls, 69452)
goto ptrmap_exit
__5:
;
@@ -73239,7 +73244,7 @@ func ptrmapGet(tls *libc.TLS, pBt uintptr, key Pgno, pEType uintptr, pPgno uintp
offset = int32(Pgno(5) * (key - Pgno(iPtrmap) - Pgno(1)))
if offset < 0 {
Xsqlite3PagerUnref(tls, *(*uintptr)(unsafe.Pointer(bp)))
- return Xsqlite3CorruptError(tls, 69493)
+ return Xsqlite3CorruptError(tls, 69497)
}
*(*U8)(unsafe.Pointer(pEType)) = *(*U8)(unsafe.Pointer(pPtrmap + uintptr(offset)))
@@ -73249,7 +73254,7 @@ func ptrmapGet(tls *libc.TLS, pBt uintptr, key Pgno, pEType uintptr, pPgno uintp
Xsqlite3PagerUnref(tls, *(*uintptr)(unsafe.Pointer(bp)))
if int32(*(*U8)(unsafe.Pointer(pEType))) < 1 || int32(*(*U8)(unsafe.Pointer(pEType))) > 5 {
- return Xsqlite3CorruptError(tls, 69501)
+ return Xsqlite3CorruptError(tls, 69505)
}
return SQLITE_OK
}
@@ -73499,7 +73504,7 @@ func ptrmapPutOvflPtr(tls *libc.TLS, pPage uintptr, pSrc uintptr, pCell uintptr,
if U32((*CellInfo)(unsafe.Pointer(bp)).FnLocal) < (*CellInfo)(unsafe.Pointer(bp)).FnPayload {
var ovfl Pgno
if Uptr((*MemPage)(unsafe.Pointer(pSrc)).FaDataEnd) >= Uptr(pCell) && Uptr((*MemPage)(unsafe.Pointer(pSrc)).FaDataEnd) < Uptr(pCell+uintptr((*CellInfo)(unsafe.Pointer(bp)).FnLocal)) {
- *(*int32)(unsafe.Pointer(pRC)) = Xsqlite3CorruptError(tls, 69893)
+ *(*int32)(unsafe.Pointer(pRC)) = Xsqlite3CorruptError(tls, 69897)
return
}
ovfl = Xsqlite3Get4byte(tls, pCell+uintptr(int32((*CellInfo)(unsafe.Pointer(bp)).FnSize)-4))
@@ -73546,7 +73551,7 @@ func defragmentPage(tls *libc.TLS, pPage uintptr, nMaxFrag int32) int32 {
if !(iFree > usableSize-4) {
goto __2
}
- return Xsqlite3CorruptError(tls, 69951)
+ return Xsqlite3CorruptError(tls, 69955)
__2:
;
if !(iFree != 0) {
@@ -73556,7 +73561,7 @@ __2:
if !(iFree2 > usableSize-4) {
goto __4
}
- return Xsqlite3CorruptError(tls, 69954)
+ return Xsqlite3CorruptError(tls, 69958)
__4:
;
if !(0 == iFree2 || int32(*(*uint8)(unsafe.Pointer(data + uintptr(iFree2)))) == 0 && int32(*(*uint8)(unsafe.Pointer(data + uintptr(iFree2+1)))) == 0) {
@@ -73569,7 +73574,7 @@ __4:
if !(top >= iFree) {
goto __6
}
- return Xsqlite3CorruptError(tls, 69962)
+ return Xsqlite3CorruptError(tls, 69966)
__6:
;
if !(iFree2 != 0) {
@@ -73578,14 +73583,14 @@ __6:
if !(iFree+sz > iFree2) {
goto __9
}
- return Xsqlite3CorruptError(tls, 69965)
+ return Xsqlite3CorruptError(tls, 69969)
__9:
;
sz2 = int32(*(*uint8)(unsafe.Pointer(data + uintptr(iFree2+2))))<<8 | int32(*(*uint8)(unsafe.Pointer(data + uintptr(iFree2+2) + 1)))
if !(iFree2+sz2 > usableSize) {
goto __10
}
- return Xsqlite3CorruptError(tls, 69967)
+ return Xsqlite3CorruptError(tls, 69971)
__10:
;
libc.Xmemmove(tls, data+uintptr(iFree+sz+sz2), data+uintptr(iFree+sz), uint64(iFree2-(iFree+sz)))
@@ -73595,7 +73600,7 @@ __7:
if !(iFree+sz > usableSize) {
goto __11
}
- return Xsqlite3CorruptError(tls, 69971)
+ return Xsqlite3CorruptError(tls, 69975)
__11:
;
__8:
@@ -73659,7 +73664,7 @@ __19:
if !(pc < iCellStart || pc > iCellLast) {
goto __22
}
- return Xsqlite3CorruptError(tls, 70004)
+ return Xsqlite3CorruptError(tls, 70008)
__22:
;
size = int32((*struct {
@@ -73669,7 +73674,7 @@ __22:
if !(cbrk < iCellStart || pc+size > usableSize) {
goto __23
}
- return Xsqlite3CorruptError(tls, 70010)
+ return Xsqlite3CorruptError(tls, 70014)
__23:
;
*(*U8)(unsafe.Pointer(pAddr1)) = U8(cbrk >> 8)
@@ -73691,7 +73696,7 @@ defragment_out:
if !(int32(*(*uint8)(unsafe.Pointer(data + uintptr(hdr+7))))+cbrk-iCellFirst != (*MemPage)(unsafe.Pointer(pPage)).FnFree) {
goto __24
}
- return Xsqlite3CorruptError(tls, 70024)
+ return Xsqlite3CorruptError(tls, 70028)
__24:
;
*(*uint8)(unsafe.Pointer(data + uintptr(hdr+5))) = U8(cbrk >> 8)
@@ -73726,7 +73731,7 @@ func pageFindSlot(tls *libc.TLS, pPg uintptr, nByte int32, pRc uintptr) uintptr
*(*U8)(unsafe.Pointer(aData + uintptr(hdr+7))) += U8(int32(U8(x)))
return aData + uintptr(pc)
} else if x+pc > maxPC {
- *(*int32)(unsafe.Pointer(pRc)) = Xsqlite3CorruptError(tls, 70081)
+ *(*int32)(unsafe.Pointer(pRc)) = Xsqlite3CorruptError(tls, 70085)
return uintptr(0)
} else {
*(*U8)(unsafe.Pointer(aData + uintptr(pc+2))) = U8(x >> 8)
@@ -73739,13 +73744,13 @@ func pageFindSlot(tls *libc.TLS, pPg uintptr, nByte int32, pRc uintptr) uintptr
pc = int32(*(*U8)(unsafe.Pointer(pTmp)))<<8 | int32(*(*U8)(unsafe.Pointer(pTmp + 1)))
if pc <= iAddr {
if pc != 0 {
- *(*int32)(unsafe.Pointer(pRc)) = Xsqlite3CorruptError(tls, 70096)
+ *(*int32)(unsafe.Pointer(pRc)) = Xsqlite3CorruptError(tls, 70100)
}
return uintptr(0)
}
}
if pc > maxPC+nByte-4 {
- *(*int32)(unsafe.Pointer(pRc)) = Xsqlite3CorruptError(tls, 70103)
+ *(*int32)(unsafe.Pointer(pRc)) = Xsqlite3CorruptError(tls, 70107)
}
return uintptr(0)
}
@@ -73770,7 +73775,7 @@ func allocateSpace(tls *libc.TLS, pPage uintptr, nByte int32, pIdx uintptr) int3
if top == 0 && (*BtShared)(unsafe.Pointer((*MemPage)(unsafe.Pointer(pPage)).FpBt)).FusableSize == U32(65536) {
top = 65536
} else {
- return Xsqlite3CorruptError(tls, 70152)
+ return Xsqlite3CorruptError(tls, 70156)
}
}
@@ -73781,7 +73786,7 @@ func allocateSpace(tls *libc.TLS, pPage uintptr, nByte int32, pIdx uintptr) int3
*(*int32)(unsafe.Pointer(pIdx)) = libc.AssignInt32(&g2, int32((int64(pSpace)-int64(data))/1))
if g2 <= gap {
- return Xsqlite3CorruptError(tls, 70170)
+ return Xsqlite3CorruptError(tls, 70174)
} else {
return SQLITE_OK
}
@@ -73833,22 +73838,22 @@ func freeSpace(tls *libc.TLS, pPage uintptr, iStart U16, iSize U16) int32 {
if int32(iFreeBlk) == 0 {
break
}
- return Xsqlite3CorruptError(tls, 70249)
+ return Xsqlite3CorruptError(tls, 70253)
}
iPtr = iFreeBlk
}
if U32(iFreeBlk) > (*BtShared)(unsafe.Pointer((*MemPage)(unsafe.Pointer(pPage)).FpBt)).FusableSize-U32(4) {
- return Xsqlite3CorruptError(tls, 70254)
+ return Xsqlite3CorruptError(tls, 70258)
}
if iFreeBlk != 0 && iEnd+U32(3) >= U32(iFreeBlk) {
nFrag = U8(U32(iFreeBlk) - iEnd)
if iEnd > U32(iFreeBlk) {
- return Xsqlite3CorruptError(tls, 70266)
+ return Xsqlite3CorruptError(tls, 70270)
}
iEnd = U32(int32(iFreeBlk) + (int32(*(*uint8)(unsafe.Pointer(data + uintptr(int32(iFreeBlk)+2))))<<8 | int32(*(*uint8)(unsafe.Pointer(data + uintptr(int32(iFreeBlk)+2) + 1)))))
if iEnd > (*BtShared)(unsafe.Pointer((*MemPage)(unsafe.Pointer(pPage)).FpBt)).FusableSize {
- return Xsqlite3CorruptError(tls, 70269)
+ return Xsqlite3CorruptError(tls, 70273)
}
iSize = U16(iEnd - U32(iStart))
iFreeBlk = U16(int32(*(*uint8)(unsafe.Pointer(data + uintptr(iFreeBlk))))<<8 | int32(*(*uint8)(unsafe.Pointer(data + uintptr(iFreeBlk) + 1))))
@@ -73858,7 +73863,7 @@ func freeSpace(tls *libc.TLS, pPage uintptr, iStart U16, iSize U16) int32 {
var iPtrEnd int32 = int32(iPtr) + (int32(*(*uint8)(unsafe.Pointer(data + uintptr(int32(iPtr)+2))))<<8 | int32(*(*uint8)(unsafe.Pointer(data + uintptr(int32(iPtr)+2) + 1))))
if iPtrEnd+3 >= int32(iStart) {
if iPtrEnd > int32(iStart) {
- return Xsqlite3CorruptError(tls, 70282)
+ return Xsqlite3CorruptError(tls, 70286)
}
nFrag = U8(int32(nFrag) + (int32(iStart) - iPtrEnd))
iSize = U16(iEnd - U32(iPtr))
@@ -73866,7 +73871,7 @@ func freeSpace(tls *libc.TLS, pPage uintptr, iStart U16, iSize U16) int32 {
}
}
if int32(nFrag) > int32(*(*uint8)(unsafe.Pointer(data + uintptr(int32(hdr)+7)))) {
- return Xsqlite3CorruptError(tls, 70288)
+ return Xsqlite3CorruptError(tls, 70292)
}
*(*uint8)(unsafe.Pointer(data + uintptr(int32(hdr)+7))) -= uint8(int32(nFrag))
}
@@ -73874,10 +73879,10 @@ func freeSpace(tls *libc.TLS, pPage uintptr, iStart U16, iSize U16) int32 {
x = U16(int32(*(*U8)(unsafe.Pointer(pTmp)))<<8 | int32(*(*U8)(unsafe.Pointer(pTmp + 1))))
if int32(iStart) <= int32(x) {
if int32(iStart) < int32(x) {
- return Xsqlite3CorruptError(tls, 70297)
+ return Xsqlite3CorruptError(tls, 70301)
}
if int32(iPtr) != int32(hdr)+1 {
- return Xsqlite3CorruptError(tls, 70298)
+ return Xsqlite3CorruptError(tls, 70302)
}
*(*uint8)(unsafe.Pointer(data + uintptr(int32(hdr)+1))) = U8(int32(iFreeBlk) >> 8)
*(*uint8)(unsafe.Pointer(data + uintptr(int32(hdr)+1) + 1)) = U8(iFreeBlk)
@@ -73937,7 +73942,7 @@ func decodeFlags(tls *libc.TLS, pPage uintptr, flagByte int32) int32 {
(*MemPage)(unsafe.Pointer(pPage)).FxParseCell = *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, uintptr, uintptr)
}{btreeParseCellPtrIndex}))
- return Xsqlite3CorruptError(tls, 70357)
+ return Xsqlite3CorruptError(tls, 70361)
}
} else {
(*MemPage)(unsafe.Pointer(pPage)).FchildPtrSize = U8(4)
@@ -73973,7 +73978,7 @@ func decodeFlags(tls *libc.TLS, pPage uintptr, flagByte int32) int32 {
(*MemPage)(unsafe.Pointer(pPage)).FxParseCell = *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, uintptr, uintptr)
}{btreeParseCellPtrIndex}))
- return Xsqlite3CorruptError(tls, 70381)
+ return Xsqlite3CorruptError(tls, 70385)
}
}
return SQLITE_OK
@@ -74003,11 +74008,11 @@ func btreeComputeFreeSpace(tls *libc.TLS, pPage uintptr) int32 {
var next U32
var size U32
if pc < top {
- return Xsqlite3CorruptError(tls, 70432)
+ return Xsqlite3CorruptError(tls, 70436)
}
for 1 != 0 {
if pc > iCellLast {
- return Xsqlite3CorruptError(tls, 70437)
+ return Xsqlite3CorruptError(tls, 70441)
}
next = U32(int32(*(*U8)(unsafe.Pointer(data + uintptr(pc))))<<8 | int32(*(*U8)(unsafe.Pointer(data + uintptr(pc) + 1))))
size = U32(int32(*(*U8)(unsafe.Pointer(data + uintptr(pc+2))))<<8 | int32(*(*U8)(unsafe.Pointer(data + uintptr(pc+2) + 1))))
@@ -74018,15 +74023,15 @@ func btreeComputeFreeSpace(tls *libc.TLS, pPage uintptr) int32 {
pc = int32(next)
}
if next > U32(0) {
- return Xsqlite3CorruptError(tls, 70447)
+ return Xsqlite3CorruptError(tls, 70451)
}
if U32(pc)+size > uint32(usableSize) {
- return Xsqlite3CorruptError(tls, 70451)
+ return Xsqlite3CorruptError(tls, 70455)
}
}
if nFree > usableSize || nFree < iCellFirst {
- return Xsqlite3CorruptError(tls, 70463)
+ return Xsqlite3CorruptError(tls, 70467)
}
(*MemPage)(unsafe.Pointer(pPage)).FnFree = int32(U16(nFree - iCellFirst))
return SQLITE_OK
@@ -74054,14 +74059,14 @@ func btreeCellSizeCheck(tls *libc.TLS, pPage uintptr) int32 {
pc = int32(libc.X__builtin_bswap16(tls, *(*U16)(unsafe.Pointer(data + uintptr(cellOffset+i*2)))))
if pc < iCellFirst || pc > iCellLast {
- return Xsqlite3CorruptError(tls, 70494)
+ return Xsqlite3CorruptError(tls, 70498)
}
sz = int32((*struct {
f func(*libc.TLS, uintptr, uintptr) U16
})(unsafe.Pointer(&struct{ uintptr }{(*MemPage)(unsafe.Pointer(pPage)).FxCellSize})).f(tls, pPage, data+uintptr(pc)))
if pc+sz > usableSize {
- return Xsqlite3CorruptError(tls, 70499)
+ return Xsqlite3CorruptError(tls, 70503)
}
}
return SQLITE_OK
@@ -74075,7 +74080,7 @@ func btreeInitPage(tls *libc.TLS, pPage uintptr) int32 {
data = (*MemPage)(unsafe.Pointer(pPage)).FaData + uintptr((*MemPage)(unsafe.Pointer(pPage)).FhdrOffset)
if decodeFlags(tls, pPage, int32(*(*U8)(unsafe.Pointer(data)))) != 0 {
- return Xsqlite3CorruptError(tls, 70531)
+ return Xsqlite3CorruptError(tls, 70535)
}
(*MemPage)(unsafe.Pointer(pPage)).FmaskPage = U16((*BtShared)(unsafe.Pointer(pBt)).FpageSize - U32(1))
@@ -74087,7 +74092,7 @@ func btreeInitPage(tls *libc.TLS, pPage uintptr) int32 {
(*MemPage)(unsafe.Pointer(pPage)).FnCell = U16(int32(*(*U8)(unsafe.Pointer(data + 3)))<<8 | int32(*(*U8)(unsafe.Pointer(data + 3 + 1))))
if U32((*MemPage)(unsafe.Pointer(pPage)).FnCell) > ((*BtShared)(unsafe.Pointer(pBt)).FpageSize-U32(8))/U32(6) {
- return Xsqlite3CorruptError(tls, 70545)
+ return Xsqlite3CorruptError(tls, 70549)
}
(*MemPage)(unsafe.Pointer(pPage)).FnFree = -1
@@ -74190,7 +74195,7 @@ func getAndInitPage(tls *libc.TLS, pBt uintptr, pgno Pgno, ppPage uintptr, pCur
if !(pgno > btreePagecount(tls, pBt)) {
goto __1
}
- rc = Xsqlite3CorruptError(tls, 70700)
+ rc = Xsqlite3CorruptError(tls, 70704)
goto getAndInitPage_error1
__1:
;
@@ -74218,7 +74223,7 @@ __3:
if !(pCur != 0 && (int32((*MemPage)(unsafe.Pointer(*(*uintptr)(unsafe.Pointer(ppPage)))).FnCell) < 1 || int32((*MemPage)(unsafe.Pointer(*(*uintptr)(unsafe.Pointer(ppPage)))).FintKey) != int32((*BtCursor)(unsafe.Pointer(pCur)).FcurIntKey))) {
goto __5
}
- rc = Xsqlite3CorruptError(tls, 70721)
+ rc = Xsqlite3CorruptError(tls, 70725)
goto getAndInitPage_error2
__5:
;
@@ -74257,7 +74262,7 @@ func btreeGetUnusedPage(tls *libc.TLS, pBt uintptr, pgno Pgno, ppPage uintptr, f
if Xsqlite3PagerPageRefcount(tls, (*MemPage)(unsafe.Pointer(*(*uintptr)(unsafe.Pointer(ppPage)))).FpDbPage) > 1 {
releasePage(tls, *(*uintptr)(unsafe.Pointer(ppPage)))
*(*uintptr)(unsafe.Pointer(ppPage)) = uintptr(0)
- return Xsqlite3CorruptError(tls, 70787)
+ return Xsqlite3CorruptError(tls, 70791)
}
(*MemPage)(unsafe.Pointer(*(*uintptr)(unsafe.Pointer(ppPage)))).FisInit = U8(0)
} else {
@@ -74330,7 +74335,7 @@ func Xsqlite3BtreeOpen(tls *libc.TLS, pVfs uintptr, zFilename uintptr, db uintpt
mutexOpen = uintptr(0)
rc = SQLITE_OK
isTempDb = libc.Bool32(zFilename == uintptr(0) || int32(*(*int8)(unsafe.Pointer(zFilename))) == 0)
- isMemdb = libc.Bool32(zFilename != 0 && libc.Xstrcmp(tls, zFilename, ts+5401) == 0 ||
+ isMemdb = libc.Bool32(zFilename != 0 && libc.Xstrcmp(tls, zFilename, ts+5420) == 0 ||
isTempDb != 0 && Xsqlite3TempInMemory(tls, db) != 0 ||
vfsFlags&SQLITE_OPEN_MEMORY != 0)
@@ -75102,7 +75107,7 @@ __9:
;
__10:
;
- if !(libc.Xmemcmp(tls, page1+21, ts+5410, uint64(3)) != 0) {
+ if !(libc.Xmemcmp(tls, page1+21, ts+5429, uint64(3)) != 0) {
goto __14
}
goto page1_init_failed
@@ -75140,7 +75145,7 @@ __16:
if !(Xsqlite3WritableSchema(tls, (*BtShared)(unsafe.Pointer(pBt)).Fdb) == 0) {
goto __18
}
- rc = Xsqlite3CorruptError(tls, 71722)
+ rc = Xsqlite3CorruptError(tls, 71726)
goto page1_init_failed
goto __19
__18:
@@ -75555,7 +75560,7 @@ func modifyPagePointer(tls *libc.TLS, pPage uintptr, iFrom Pgno, iTo Pgno, eType
if int32(eType) == PTRMAP_OVERFLOW2 {
if Xsqlite3Get4byte(tls, (*MemPage)(unsafe.Pointer(pPage)).FaData) != iFrom {
- return Xsqlite3CorruptError(tls, 72143)
+ return Xsqlite3CorruptError(tls, 72147)
}
Xsqlite3Put4byte(tls, (*MemPage)(unsafe.Pointer(pPage)).FaData, iTo)
} else {
@@ -75581,7 +75586,7 @@ func modifyPagePointer(tls *libc.TLS, pPage uintptr, iFrom Pgno, iTo Pgno, eType
})(unsafe.Pointer(&struct{ uintptr }{(*MemPage)(unsafe.Pointer(pPage)).FxParseCell})).f(tls, pPage, pCell, bp)
if U32((*CellInfo)(unsafe.Pointer(bp)).FnLocal) < (*CellInfo)(unsafe.Pointer(bp)).FnPayload {
if pCell+uintptr((*CellInfo)(unsafe.Pointer(bp)).FnSize) > (*MemPage)(unsafe.Pointer(pPage)).FaData+uintptr((*BtShared)(unsafe.Pointer((*MemPage)(unsafe.Pointer(pPage)).FpBt)).FusableSize) {
- return Xsqlite3CorruptError(tls, 72162)
+ return Xsqlite3CorruptError(tls, 72166)
}
if iFrom == Xsqlite3Get4byte(tls, pCell+uintptr((*CellInfo)(unsafe.Pointer(bp)).FnSize)-uintptr(4)) {
Xsqlite3Put4byte(tls, pCell+uintptr((*CellInfo)(unsafe.Pointer(bp)).FnSize)-uintptr(4), iTo)
@@ -75590,7 +75595,7 @@ func modifyPagePointer(tls *libc.TLS, pPage uintptr, iFrom Pgno, iTo Pgno, eType
}
} else {
if pCell+uintptr(4) > (*MemPage)(unsafe.Pointer(pPage)).FaData+uintptr((*BtShared)(unsafe.Pointer((*MemPage)(unsafe.Pointer(pPage)).FpBt)).FusableSize) {
- return Xsqlite3CorruptError(tls, 72171)
+ return Xsqlite3CorruptError(tls, 72175)
}
if Xsqlite3Get4byte(tls, pCell) == iFrom {
Xsqlite3Put4byte(tls, pCell, iTo)
@@ -75601,7 +75606,7 @@ func modifyPagePointer(tls *libc.TLS, pPage uintptr, iFrom Pgno, iTo Pgno, eType
if i == nCell {
if int32(eType) != PTRMAP_BTREE || Xsqlite3Get4byte(tls, (*MemPage)(unsafe.Pointer(pPage)).FaData+uintptr(int32((*MemPage)(unsafe.Pointer(pPage)).FhdrOffset)+8)) != iFrom {
- return Xsqlite3CorruptError(tls, 72183)
+ return Xsqlite3CorruptError(tls, 72187)
}
Xsqlite3Put4byte(tls, (*MemPage)(unsafe.Pointer(pPage)).FaData+uintptr(int32((*MemPage)(unsafe.Pointer(pPage)).FhdrOffset)+8), iTo)
}
@@ -75617,7 +75622,7 @@ func relocatePage(tls *libc.TLS, pBt uintptr, pDbPage uintptr, eType U8, iPtrPag
var pPager uintptr = (*BtShared)(unsafe.Pointer(pBt)).FpPager
if iDbPage < Pgno(3) {
- return Xsqlite3CorruptError(tls, 72218)
+ return Xsqlite3CorruptError(tls, 72222)
}
*(*int32)(unsafe.Pointer(bp)) = Xsqlite3PagerMovepage(tls, pPager, (*MemPage)(unsafe.Pointer(pDbPage)).FpDbPage, iFreePage, isCommit)
@@ -75678,7 +75683,7 @@ func incrVacuumStep(tls *libc.TLS, pBt uintptr, nFin Pgno, iLastPg Pgno, bCommit
return rc
}
if int32(*(*U8)(unsafe.Pointer(bp))) == PTRMAP_ROOTPAGE {
- return Xsqlite3CorruptError(tls, 72316)
+ return Xsqlite3CorruptError(tls, 72320)
}
if int32(*(*U8)(unsafe.Pointer(bp))) == PTRMAP_FREEPAGE {
@@ -75713,7 +75718,7 @@ func incrVacuumStep(tls *libc.TLS, pBt uintptr, nFin Pgno, iLastPg Pgno, bCommit
releasePage(tls, *(*uintptr)(unsafe.Pointer(bp + 32)))
if *(*Pgno)(unsafe.Pointer(bp + 40)) > dbSize {
releasePage(tls, *(*uintptr)(unsafe.Pointer(bp + 24)))
- return Xsqlite3CorruptError(tls, 72368)
+ return Xsqlite3CorruptError(tls, 72372)
}
}
@@ -75773,7 +75778,7 @@ func Xsqlite3BtreeIncrVacuum(tls *libc.TLS, p uintptr) int32 {
var nFin Pgno = finalDbSize(tls, pBt, nOrig, nFree)
if nOrig < nFin || nFree >= nOrig {
- rc = Xsqlite3CorruptError(tls, 72436)
+ rc = Xsqlite3CorruptError(tls, 72440)
} else if nFree > Pgno(0) {
rc = saveAllCursors(tls, pBt, uint32(0), uintptr(0))
if rc == SQLITE_OK {
@@ -75812,7 +75817,7 @@ func autoVacuumCommit(tls *libc.TLS, p uintptr) int32 {
nOrig = btreePagecount(tls, pBt)
if ptrmapPageno(tls, pBt, nOrig) == nOrig || nOrig == U32(Xsqlite3PendingByte)/(*BtShared)(unsafe.Pointer(pBt)).FpageSize+U32(1) {
- return Xsqlite3CorruptError(tls, 72487)
+ return Xsqlite3CorruptError(tls, 72491)
}
nFree = Xsqlite3Get4byte(tls, (*MemPage)(unsafe.Pointer((*BtShared)(unsafe.Pointer(pBt)).FpPage1)).FaData+36)
@@ -75843,7 +75848,7 @@ func autoVacuumCommit(tls *libc.TLS, p uintptr) int32 {
}
nFin = finalDbSize(tls, pBt, nOrig, nVac)
if nFin > nOrig {
- return Xsqlite3CorruptError(tls, 72514)
+ return Xsqlite3CorruptError(tls, 72518)
}
if nFin < nOrig {
rc = saveAllCursors(tls, pBt, uint32(0), uintptr(0))
@@ -76184,7 +76189,7 @@ func btreeCursor(tls *libc.TLS, p uintptr, iTable Pgno, wrFlag int32, pKeyInfo u
if iTable <= Pgno(1) {
if iTable < Pgno(1) {
- return Xsqlite3CorruptError(tls, 72978)
+ return Xsqlite3CorruptError(tls, 72982)
} else if btreePagecount(tls, pBt) == Pgno(0) {
iTable = Pgno(0)
}
@@ -76428,14 +76433,14 @@ func accessPayload(tls *libc.TLS, pCur uintptr, offset U32, amt U32, pBuf uintpt
var pBt uintptr = (*BtCursor)(unsafe.Pointer(pCur)).FpBt
if int32((*BtCursor)(unsafe.Pointer(pCur)).Fix) >= int32((*MemPage)(unsafe.Pointer(pPage)).FnCell) {
- return Xsqlite3CorruptError(tls, 73385)
+ return Xsqlite3CorruptError(tls, 73389)
}
getCellInfo(tls, pCur)
aPayload = (*BtCursor)(unsafe.Pointer(pCur)).Finfo.FpPayload
if Uptr((int64(aPayload)-int64((*MemPage)(unsafe.Pointer(pPage)).FaData))/1) > Uptr((*BtShared)(unsafe.Pointer(pBt)).FusableSize-U32((*BtCursor)(unsafe.Pointer(pCur)).Finfo.FnLocal)) {
- return Xsqlite3CorruptError(tls, 73400)
+ return Xsqlite3CorruptError(tls, 73404)
}
if offset < U32((*BtCursor)(unsafe.Pointer(pCur)).Finfo.FnLocal) {
@@ -76480,7 +76485,7 @@ func accessPayload(tls *libc.TLS, pCur uintptr, offset U32, amt U32, pBuf uintpt
for *(*Pgno)(unsafe.Pointer(bp)) != 0 {
if *(*Pgno)(unsafe.Pointer(bp)) > (*BtShared)(unsafe.Pointer(pBt)).FnPage {
- return Xsqlite3CorruptError(tls, 73462)
+ return Xsqlite3CorruptError(tls, 73466)
}
*(*Pgno)(unsafe.Pointer((*BtCursor)(unsafe.Pointer(pCur)).FaOverflow + uintptr(iIdx)*4)) = *(*Pgno)(unsafe.Pointer(bp))
@@ -76529,7 +76534,7 @@ func accessPayload(tls *libc.TLS, pCur uintptr, offset U32, amt U32, pBuf uintpt
}
if rc == SQLITE_OK && amt > U32(0) {
- return Xsqlite3CorruptError(tls, 73547)
+ return Xsqlite3CorruptError(tls, 73551)
}
return rc
}
@@ -76609,7 +76614,7 @@ func Xsqlite3BtreePayloadFetch(tls *libc.TLS, pCur uintptr, pAmt uintptr) uintpt
func moveToChild(tls *libc.TLS, pCur uintptr, newPgno U32) int32 {
if int32((*BtCursor)(unsafe.Pointer(pCur)).FiPage) >= BTCURSOR_MAX_DEPTH-1 {
- return Xsqlite3CorruptError(tls, 73684)
+ return Xsqlite3CorruptError(tls, 73688)
}
(*BtCursor)(unsafe.Pointer(pCur)).Finfo.FnSize = U16(0)
*(*U8)(unsafe.Pointer(pCur + 1)) &= libc.Uint8FromInt32(libc.CplInt32(BTCF_ValidNKey | BTCF_ValidOvfl))
@@ -76700,7 +76705,7 @@ __2:
if !(int32((*MemPage)(unsafe.Pointer(pRoot)).FisInit) == 0 || libc.Bool32((*BtCursor)(unsafe.Pointer(pCur)).FpKeyInfo == uintptr(0)) != int32((*MemPage)(unsafe.Pointer(pRoot)).FintKey)) {
goto __11
}
- return Xsqlite3CorruptError(tls, 73823)
+ return Xsqlite3CorruptError(tls, 73827)
__11:
;
skip_init:
@@ -76720,7 +76725,7 @@ __12:
if !((*MemPage)(unsafe.Pointer(pRoot)).Fpgno != Pgno(1)) {
goto __16
}
- return Xsqlite3CorruptError(tls, 73835)
+ return Xsqlite3CorruptError(tls, 73839)
__16:
;
subpage = Xsqlite3Get4byte(tls, (*MemPage)(unsafe.Pointer(pRoot)).FaData+uintptr(int32((*MemPage)(unsafe.Pointer(pRoot)).FhdrOffset)+8))
@@ -76930,7 +76935,7 @@ __19:
if !(pCell >= (*MemPage)(unsafe.Pointer(pPage)).FaDataEnd) {
goto __21
}
- return Xsqlite3CorruptError(tls, 74077)
+ return Xsqlite3CorruptError(tls, 74081)
__21:
;
goto __19
@@ -77134,7 +77139,7 @@ __2:
if !!(int32((*MemPage)(unsafe.Pointer((*BtCursor)(unsafe.Pointer(pCur)).FpPage)).FisInit) != 0) {
goto __4
}
- return Xsqlite3CorruptError(tls, 74273)
+ return Xsqlite3CorruptError(tls, 74277)
__4:
;
goto bypass_moveto_root
@@ -77199,7 +77204,7 @@ __15:
if !(nCell < 2 || U32(nCell)/(*BtShared)(unsafe.Pointer((*BtCursor)(unsafe.Pointer(pCur)).FpBt)).FusableSize > (*BtShared)(unsafe.Pointer((*BtCursor)(unsafe.Pointer(pCur)).FpBt)).FnPage) {
goto __17
}
- rc = Xsqlite3CorruptError(tls, 74360)
+ rc = Xsqlite3CorruptError(tls, 74364)
goto moveto_index_finish
__17:
;
@@ -77247,7 +77252,7 @@ __22:
if !((*UnpackedRecord)(unsafe.Pointer(pIdxKey)).FerrCode != 0) {
goto __24
}
- rc = Xsqlite3CorruptError(tls, 74392)
+ rc = Xsqlite3CorruptError(tls, 74396)
__24:
;
goto moveto_index_finish
@@ -77366,7 +77371,7 @@ func btreeNext(tls *libc.TLS, pCur uintptr) int32 {
pPage = (*BtCursor)(unsafe.Pointer(pCur)).FpPage
idx = int32(libc.PreIncUint16(&(*BtCursor)(unsafe.Pointer(pCur)).Fix, 1))
if !(int32((*MemPage)(unsafe.Pointer(pPage)).FisInit) != 0) || Xsqlite3FaultSim(tls, 412) != 0 {
- return Xsqlite3CorruptError(tls, 74508)
+ return Xsqlite3CorruptError(tls, 74512)
}
if idx >= int32((*MemPage)(unsafe.Pointer(pPage)).FnCell) {
@@ -77526,7 +77531,7 @@ func allocateBtreePage(tls *libc.TLS, pBt uintptr, ppPage uintptr, pPgno uintptr
if !(n >= mxPage) {
goto __1
}
- return Xsqlite3CorruptError(tls, 74688)
+ return Xsqlite3CorruptError(tls, 74692)
__1:
;
if !(n > U32(0)) {
@@ -77591,7 +77596,7 @@ __15:
if !(iTrunk > mxPage || libc.PostIncUint32(&nSearch, 1) > n) {
goto __16
}
- rc = Xsqlite3CorruptError(tls, 74744)
+ rc = Xsqlite3CorruptError(tls, 74748)
goto __17
__16:
rc = btreeGetUnusedPage(tls, pBt, iTrunk, bp+8, 0)
@@ -77627,7 +77632,7 @@ __19:
goto __22
}
- rc = Xsqlite3CorruptError(tls, 74773)
+ rc = Xsqlite3CorruptError(tls, 74777)
goto end_allocate_page
goto __23
__22:
@@ -77671,7 +77676,7 @@ __27:
if !(iNewTrunk > mxPage) {
goto __32
}
- rc = Xsqlite3CorruptError(tls, 74807)
+ rc = Xsqlite3CorruptError(tls, 74811)
goto end_allocate_page
__32:
;
@@ -77783,7 +77788,7 @@ __40:
if !(iPage > mxPage || iPage < Pgno(2)) {
goto __51
}
- rc = Xsqlite3CorruptError(tls, 74872)
+ rc = Xsqlite3CorruptError(tls, 74876)
goto end_allocate_page
__51:
;
@@ -77941,7 +77946,7 @@ func freePage2(tls *libc.TLS, pBt uintptr, pMemPage uintptr, iPage Pgno) int32 {
if !(iPage < Pgno(2) || iPage > (*BtShared)(unsafe.Pointer(pBt)).FnPage) {
goto __1
}
- return Xsqlite3CorruptError(tls, 74999)
+ return Xsqlite3CorruptError(tls, 75003)
__1:
;
if !(pMemPage != 0) {
@@ -77998,7 +78003,7 @@ __7:
if !(iTrunk > btreePagecount(tls, pBt)) {
goto __10
}
- *(*int32)(unsafe.Pointer(bp + 8)) = Xsqlite3CorruptError(tls, 75046)
+ *(*int32)(unsafe.Pointer(bp + 8)) = Xsqlite3CorruptError(tls, 75050)
goto freepage_out
__10:
;
@@ -78014,7 +78019,7 @@ __11:
if !(nLeaf > (*BtShared)(unsafe.Pointer(pBt)).FusableSize/U32(4)-U32(2)) {
goto __12
}
- *(*int32)(unsafe.Pointer(bp + 8)) = Xsqlite3CorruptError(tls, 75057)
+ *(*int32)(unsafe.Pointer(bp + 8)) = Xsqlite3CorruptError(tls, 75061)
goto freepage_out
__12:
;
@@ -78088,7 +78093,7 @@ func clearCellOverflow(tls *libc.TLS, pPage uintptr, pCell uintptr, pInfo uintpt
var ovflPageSize U32
if pCell+uintptr((*CellInfo)(unsafe.Pointer(pInfo)).FnSize) > (*MemPage)(unsafe.Pointer(pPage)).FaDataEnd {
- return Xsqlite3CorruptError(tls, 75146)
+ return Xsqlite3CorruptError(tls, 75150)
}
ovflPgno = Xsqlite3Get4byte(tls, pCell+uintptr((*CellInfo)(unsafe.Pointer(pInfo)).FnSize)-uintptr(4))
pBt = (*MemPage)(unsafe.Pointer(pPage)).FpBt
@@ -78100,7 +78105,7 @@ func clearCellOverflow(tls *libc.TLS, pPage uintptr, pCell uintptr, pInfo uintpt
*(*Pgno)(unsafe.Pointer(bp + 8)) = Pgno(0)
*(*uintptr)(unsafe.Pointer(bp)) = uintptr(0)
if ovflPgno < Pgno(2) || ovflPgno > btreePagecount(tls, pBt) {
- return Xsqlite3CorruptError(tls, 75163)
+ return Xsqlite3CorruptError(tls, 75167)
}
if nOvfl != 0 {
rc = getOverflowPage(tls, pBt, ovflPgno, bp, bp+8)
@@ -78111,7 +78116,7 @@ func clearCellOverflow(tls *libc.TLS, pPage uintptr, pCell uintptr, pInfo uintpt
if (*(*uintptr)(unsafe.Pointer(bp)) != 0 || libc.AssignPtrUintptr(bp, btreePageLookup(tls, pBt, ovflPgno)) != uintptr(0)) &&
Xsqlite3PagerPageRefcount(tls, (*MemPage)(unsafe.Pointer(*(*uintptr)(unsafe.Pointer(bp)))).FpDbPage) != 1 {
- rc = Xsqlite3CorruptError(tls, 75183)
+ rc = Xsqlite3CorruptError(tls, 75187)
} else {
rc = freePage2(tls, pBt, *(*uintptr)(unsafe.Pointer(bp)), ovflPgno)
}
@@ -78276,7 +78281,7 @@ func dropCell(tls *libc.TLS, pPage uintptr, idx int32, sz int32, pRC uintptr) {
hdr = int32((*MemPage)(unsafe.Pointer(pPage)).FhdrOffset)
if pc+U32(sz) > (*BtShared)(unsafe.Pointer((*MemPage)(unsafe.Pointer(pPage)).FpBt)).FusableSize {
- *(*int32)(unsafe.Pointer(pRC)) = Xsqlite3CorruptError(tls, 75436)
+ *(*int32)(unsafe.Pointer(pRC)) = Xsqlite3CorruptError(tls, 75440)
return
}
rc = freeSpace(tls, pPage, uint16(pc), uint16(sz))
@@ -78555,12 +78560,12 @@ func rebuildPage(tls *libc.TLS, pCArray uintptr, iFirst int32, nCell int32, pPg
if Uptr(pCell) >= Uptr(aData+uintptr(j)) && Uptr(pCell) < Uptr(pEnd) {
if Uptr(pCell+uintptr(sz)) > Uptr(pEnd) {
- return Xsqlite3CorruptError(tls, 75737)
+ return Xsqlite3CorruptError(tls, 75741)
}
pCell = pTmp + uintptr((int64(pCell)-int64(aData))/1)
} else if Uptr(pCell+uintptr(sz)) > Uptr(pSrcEnd) &&
Uptr(pCell) < Uptr(pSrcEnd) {
- return Xsqlite3CorruptError(tls, 75742)
+ return Xsqlite3CorruptError(tls, 75746)
}
pData -= uintptr(sz)
@@ -78568,7 +78573,7 @@ func rebuildPage(tls *libc.TLS, pCArray uintptr, iFirst int32, nCell int32, pPg
*(*U8)(unsafe.Pointer(pCellptr + 1)) = U8((int64(pData) - int64(aData)) / 1)
pCellptr += uintptr(2)
if pData < pCellptr {
- return Xsqlite3CorruptError(tls, 75748)
+ return Xsqlite3CorruptError(tls, 75752)
}
libc.Xmemmove(tls, pData, pCell, uint64(sz))
@@ -78628,7 +78633,7 @@ func pageInsertArray(tls *libc.TLS, pPg uintptr, pBegin uintptr, ppData uintptr,
if Uptr(*(*uintptr)(unsafe.Pointer((*CellArray)(unsafe.Pointer(pCArray)).FapCell + uintptr(i)*8))+uintptr(sz)) > Uptr(pEnd) &&
Uptr(*(*uintptr)(unsafe.Pointer((*CellArray)(unsafe.Pointer(pCArray)).FapCell + uintptr(i)*8))) < Uptr(pEnd) {
- Xsqlite3CorruptError(tls, 75833)
+ Xsqlite3CorruptError(tls, 75837)
return 1
}
libc.Xmemmove(tls, pSlot, *(*uintptr)(unsafe.Pointer((*CellArray)(unsafe.Pointer(pCArray)).FapCell + uintptr(i)*8)), uint64(sz))
@@ -78717,7 +78722,7 @@ func editPage(tls *libc.TLS, pPg uintptr, iOld int32, iNew int32, nNew int32, pC
if !(nShift > nCell) {
goto __2
}
- return Xsqlite3CorruptError(tls, 75947)
+ return Xsqlite3CorruptError(tls, 75951)
__2:
;
libc.Xmemmove(tls, (*MemPage)(unsafe.Pointer(pPg)).FaCellIdx, (*MemPage)(unsafe.Pointer(pPg)).FaCellIdx+uintptr(nShift*2), uint64(nCell*2))
@@ -78833,7 +78838,7 @@ func balance_quick(tls *libc.TLS, pParent uintptr, pPage uintptr, pSpace uintptr
var pBt uintptr = (*MemPage)(unsafe.Pointer(pPage)).FpBt
if int32((*MemPage)(unsafe.Pointer(pPage)).FnCell) == 0 {
- return Xsqlite3CorruptError(tls, 76060)
+ return Xsqlite3CorruptError(tls, 76064)
}
*(*int32)(unsafe.Pointer(bp + 136)) = allocateBtreePage(tls, pBt, bp, bp+8, uint32(0), uint8(0))
@@ -79153,7 +79158,7 @@ __22:
if !(int32(*(*U8)(unsafe.Pointer((*MemPage)(unsafe.Pointer(pOld)).FaData))) != int32(*(*U8)(unsafe.Pointer((*MemPage)(unsafe.Pointer(*(*uintptr)(unsafe.Pointer(bp + 112)))).FaData)))) {
goto __25
}
- *(*int32)(unsafe.Pointer(bp + 172)) = Xsqlite3CorruptError(tls, 76481)
+ *(*int32)(unsafe.Pointer(bp + 172)) = Xsqlite3CorruptError(tls, 76485)
goto balance_cleanup
__25:
;
@@ -79164,7 +79169,7 @@ __25:
if !(limit < int32(*(*U16)(unsafe.Pointer(pOld + 28)))) {
goto __27
}
- *(*int32)(unsafe.Pointer(bp + 172)) = Xsqlite3CorruptError(tls, 76505)
+ *(*int32)(unsafe.Pointer(bp + 172)) = Xsqlite3CorruptError(tls, 76509)
goto balance_cleanup
__27:
;
@@ -79322,7 +79327,7 @@ __52:
if !(k > NB+2) {
goto __55
}
- *(*int32)(unsafe.Pointer(bp + 172)) = Xsqlite3CorruptError(tls, 76606)
+ *(*int32)(unsafe.Pointer(bp + 172)) = Xsqlite3CorruptError(tls, 76610)
goto balance_cleanup
__55:
;
@@ -79396,7 +79401,7 @@ __65:
}()) {
goto __67
}
- *(*int32)(unsafe.Pointer(bp + 172)) = Xsqlite3CorruptError(tls, 76639)
+ *(*int32)(unsafe.Pointer(bp + 172)) = Xsqlite3CorruptError(tls, 76643)
goto balance_cleanup
__67:
;
@@ -79459,7 +79464,7 @@ __73:
}()) {
goto __75
}
- *(*int32)(unsafe.Pointer(bp + 172)) = Xsqlite3CorruptError(tls, 76683)
+ *(*int32)(unsafe.Pointer(bp + 172)) = Xsqlite3CorruptError(tls, 76687)
goto balance_cleanup
__75:
;
@@ -79487,7 +79492,7 @@ __76:
*(*int32)(unsafe.Pointer(bp + 172)) == SQLITE_OK) {
goto __81
}
- *(*int32)(unsafe.Pointer(bp + 172)) = Xsqlite3CorruptError(tls, 76716)
+ *(*int32)(unsafe.Pointer(bp + 172)) = Xsqlite3CorruptError(tls, 76720)
__81:
;
if !(*(*int32)(unsafe.Pointer(bp + 172)) != 0) {
@@ -79748,7 +79753,7 @@ __120:
if !(Uptr(pSrcEnd) >= Uptr(pCell1) && Uptr(pSrcEnd) < Uptr(pCell1+uintptr(sz2))) {
goto __121
}
- *(*int32)(unsafe.Pointer(bp + 172)) = Xsqlite3CorruptError(tls, 76916)
+ *(*int32)(unsafe.Pointer(bp + 172)) = Xsqlite3CorruptError(tls, 76920)
goto balance_cleanup
__121:
;
@@ -79940,7 +79945,7 @@ func anotherValidCursor(tls *libc.TLS, pCur uintptr) int32 {
if pOther != pCur &&
int32((*BtCursor)(unsafe.Pointer(pOther)).FeState) == CURSOR_VALID &&
(*BtCursor)(unsafe.Pointer(pOther)).FpPage == (*BtCursor)(unsafe.Pointer(pCur)).FpPage {
- return Xsqlite3CorruptError(tls, 77146)
+ return Xsqlite3CorruptError(tls, 77150)
}
}
return SQLITE_OK
@@ -79978,7 +79983,7 @@ func balance(tls *libc.TLS, pCur uintptr) int32 {
break
}
} else if Xsqlite3PagerPageRefcount(tls, (*MemPage)(unsafe.Pointer(pPage)).FpDbPage) > 1 {
- rc = Xsqlite3CorruptError(tls, 77206)
+ rc = Xsqlite3CorruptError(tls, 77210)
} else {
var pParent uintptr = *(*uintptr)(unsafe.Pointer(pCur + 144 + uintptr(iPage-1)*8))
var iIdx int32 = int32(*(*U16)(unsafe.Pointer(pCur + 88 + uintptr(iPage-1)*2)))
@@ -80084,7 +80089,7 @@ func btreeOverwriteOverflowCell(tls *libc.TLS, pCur uintptr, pX uintptr) int32 {
return rc
}
if Xsqlite3PagerPageRefcount(tls, (*MemPage)(unsafe.Pointer(*(*uintptr)(unsafe.Pointer(bp)))).FpDbPage) != 1 || (*MemPage)(unsafe.Pointer(*(*uintptr)(unsafe.Pointer(bp)))).FisInit != 0 {
- rc = Xsqlite3CorruptError(tls, 77370)
+ rc = Xsqlite3CorruptError(tls, 77374)
} else {
if U32(iOffset)+ovflPageSize < U32(nTotal) {
ovflPgno = Xsqlite3Get4byte(tls, (*MemPage)(unsafe.Pointer(*(*uintptr)(unsafe.Pointer(bp)))).FaData)
@@ -80109,7 +80114,7 @@ func btreeOverwriteCell(tls *libc.TLS, pCur uintptr, pX uintptr) int32 {
if (*BtCursor)(unsafe.Pointer(pCur)).Finfo.FpPayload+uintptr((*BtCursor)(unsafe.Pointer(pCur)).Finfo.FnLocal) > (*MemPage)(unsafe.Pointer(pPage)).FaDataEnd ||
(*BtCursor)(unsafe.Pointer(pCur)).Finfo.FpPayload < (*MemPage)(unsafe.Pointer(pPage)).FaData+uintptr((*MemPage)(unsafe.Pointer(pPage)).FcellOffset) {
- return Xsqlite3CorruptError(tls, 77398)
+ return Xsqlite3CorruptError(tls, 77402)
}
if int32((*BtCursor)(unsafe.Pointer(pCur)).Finfo.FnLocal) == nTotal {
return btreeOverwriteContent(tls, pPage, (*BtCursor)(unsafe.Pointer(pCur)).Finfo.FpPayload, pX,
@@ -80179,7 +80184,7 @@ __2:
goto __3
}
- return Xsqlite3CorruptError(tls, 77479)
+ return Xsqlite3CorruptError(tls, 77483)
__3:
;
__1:
@@ -80292,7 +80297,7 @@ __7:
goto __21
}
- *(*int32)(unsafe.Pointer(bp + 120)) = Xsqlite3CorruptError(tls, 77602)
+ *(*int32)(unsafe.Pointer(bp + 120)) = Xsqlite3CorruptError(tls, 77606)
goto __22
__21:
*(*int32)(unsafe.Pointer(bp + 120)) = btreeComputeFreeSpace(tls, pPage)
@@ -80352,6 +80357,7 @@ __30:
__25:
;
idx = int32((*BtCursor)(unsafe.Pointer(pCur)).Fix)
+ (*BtCursor)(unsafe.Pointer(pCur)).Finfo.FnSize = U16(0)
if !(*(*int32)(unsafe.Pointer(bp)) == 0) {
goto __31
}
@@ -80359,7 +80365,7 @@ __25:
if !(idx >= int32((*MemPage)(unsafe.Pointer(pPage)).FnCell)) {
goto __33
}
- return Xsqlite3CorruptError(tls, 77640)
+ return Xsqlite3CorruptError(tls, 77645)
__33:
;
*(*int32)(unsafe.Pointer(bp + 120)) = Xsqlite3PagerWrite(tls, (*MemPage)(unsafe.Pointer(pPage)).FpDbPage)
@@ -80397,13 +80403,13 @@ __37:
if !(oldCell < (*MemPage)(unsafe.Pointer(pPage)).FaData+uintptr((*MemPage)(unsafe.Pointer(pPage)).FhdrOffset)+uintptr(10)) {
goto __39
}
- return Xsqlite3CorruptError(tls, 77667)
+ return Xsqlite3CorruptError(tls, 77672)
__39:
;
if !(oldCell+uintptr(*(*int32)(unsafe.Pointer(bp + 124))) > (*MemPage)(unsafe.Pointer(pPage)).FaDataEnd) {
goto __40
}
- return Xsqlite3CorruptError(tls, 77670)
+ return Xsqlite3CorruptError(tls, 77675)
__40:
;
libc.Xmemcpy(tls, oldCell, newCell, uint64(*(*int32)(unsafe.Pointer(bp + 124))))
@@ -80434,7 +80440,6 @@ __32:
;
*(*int32)(unsafe.Pointer(bp + 120)) = insertCell(tls, pPage, idx, newCell, *(*int32)(unsafe.Pointer(bp + 124)), uintptr(0), uint32(0))
- (*BtCursor)(unsafe.Pointer(pCur)).Finfo.FnSize = U16(0)
if !((*MemPage)(unsafe.Pointer(pPage)).FnOverflow != 0) {
goto __44
}
@@ -80509,7 +80514,7 @@ func Xsqlite3BtreeTransferRow(tls *libc.TLS, pDest uintptr, pSrc uintptr, iKey I
nIn = U32((*BtCursor)(unsafe.Pointer(pSrc)).Finfo.FnLocal)
aIn = (*BtCursor)(unsafe.Pointer(pSrc)).Finfo.FpPayload
if aIn+uintptr(nIn) > (*MemPage)(unsafe.Pointer((*BtCursor)(unsafe.Pointer(pSrc)).FpPage)).FaDataEnd {
- return Xsqlite3CorruptError(tls, 77773)
+ return Xsqlite3CorruptError(tls, 77777)
}
nRem = (*BtCursor)(unsafe.Pointer(pSrc)).Finfo.FnPayload
if nIn == nRem && nIn < U32((*MemPage)(unsafe.Pointer((*BtCursor)(unsafe.Pointer(pDest)).FpPage)).FmaxLocal) {
@@ -80534,7 +80539,7 @@ func Xsqlite3BtreeTransferRow(tls *libc.TLS, pDest uintptr, pSrc uintptr, iKey I
if nRem > nIn {
if aIn+uintptr(nIn)+uintptr(4) > (*MemPage)(unsafe.Pointer((*BtCursor)(unsafe.Pointer(pSrc)).FpPage)).FaDataEnd {
- return Xsqlite3CorruptError(tls, 77798)
+ return Xsqlite3CorruptError(tls, 77802)
}
ovflIn = Xsqlite3Get4byte(tls, (*BtCursor)(unsafe.Pointer(pSrc)).Finfo.FpPayload+uintptr(nIn))
}
@@ -80635,7 +80640,7 @@ func Xsqlite3BtreeDelete(tls *libc.TLS, pCur uintptr, flags U8) int32 {
return *(*int32)(unsafe.Pointer(bp + 24))
}
} else {
- return Xsqlite3CorruptError(tls, 77894)
+ return Xsqlite3CorruptError(tls, 77898)
}
}
@@ -80643,11 +80648,11 @@ func Xsqlite3BtreeDelete(tls *libc.TLS, pCur uintptr, flags U8) int32 {
iCellIdx = int32((*BtCursor)(unsafe.Pointer(pCur)).Fix)
pPage = (*BtCursor)(unsafe.Pointer(pCur)).FpPage
if int32((*MemPage)(unsafe.Pointer(pPage)).FnCell) <= iCellIdx {
- return Xsqlite3CorruptError(tls, 77903)
+ return Xsqlite3CorruptError(tls, 77907)
}
pCell = (*MemPage)(unsafe.Pointer(pPage)).FaData + uintptr(int32((*MemPage)(unsafe.Pointer(pPage)).FmaskPage)&int32(libc.X__builtin_bswap16(tls, *(*U16)(unsafe.Pointer((*MemPage)(unsafe.Pointer(pPage)).FaCellIdx + uintptr(2*iCellIdx))))))
if (*MemPage)(unsafe.Pointer(pPage)).FnFree < 0 && btreeComputeFreeSpace(tls, pPage) != 0 {
- return Xsqlite3CorruptError(tls, 77907)
+ return Xsqlite3CorruptError(tls, 77911)
}
bPreserve = U8(libc.Bool32(int32(flags)&BTREE_SAVEPOSITION != 0))
@@ -80722,7 +80727,7 @@ func Xsqlite3BtreeDelete(tls *libc.TLS, pCur uintptr, flags U8) int32 {
}
pCell = (*MemPage)(unsafe.Pointer(pLeaf)).FaData + uintptr(int32((*MemPage)(unsafe.Pointer(pLeaf)).FmaskPage)&int32(libc.X__builtin_bswap16(tls, *(*U16)(unsafe.Pointer((*MemPage)(unsafe.Pointer(pLeaf)).FaCellIdx + uintptr(2*(int32((*MemPage)(unsafe.Pointer(pLeaf)).FnCell)-1)))))))
if pCell < (*MemPage)(unsafe.Pointer(pLeaf)).FaData+4 {
- return Xsqlite3CorruptError(tls, 77998)
+ return Xsqlite3CorruptError(tls, 78002)
}
nCell = int32((*struct {
f func(*libc.TLS, uintptr, uintptr) U16
@@ -80791,7 +80796,7 @@ func btreeCreateTable(tls *libc.TLS, p uintptr, piTable uintptr, createTabFlags
Xsqlite3BtreeGetMeta(tls, p, BTREE_LARGEST_ROOT_PAGE, bp)
if *(*Pgno)(unsafe.Pointer(bp)) > btreePagecount(tls, pBt) {
- return Xsqlite3CorruptError(tls, 78114)
+ return Xsqlite3CorruptError(tls, 78118)
}
*(*Pgno)(unsafe.Pointer(bp))++
@@ -80820,7 +80825,7 @@ func btreeCreateTable(tls *libc.TLS, p uintptr, piTable uintptr, createTabFlags
}
*(*int32)(unsafe.Pointer(bp + 40)) = ptrmapGet(tls, pBt, *(*Pgno)(unsafe.Pointer(bp)), bp+32, bp+36)
if int32(*(*U8)(unsafe.Pointer(bp + 32))) == PTRMAP_ROOTPAGE || int32(*(*U8)(unsafe.Pointer(bp + 32))) == PTRMAP_FREEPAGE {
- *(*int32)(unsafe.Pointer(bp + 40)) = Xsqlite3CorruptError(tls, 78162)
+ *(*int32)(unsafe.Pointer(bp + 40)) = Xsqlite3CorruptError(tls, 78166)
}
if *(*int32)(unsafe.Pointer(bp + 40)) != SQLITE_OK {
releasePage(tls, *(*uintptr)(unsafe.Pointer(bp + 24)))
@@ -80896,7 +80901,7 @@ func clearDatabasePage(tls *libc.TLS, pBt uintptr, pgno Pgno, freePageFlag int32
if !(pgno > btreePagecount(tls, pBt)) {
goto __1
}
- return Xsqlite3CorruptError(tls, 78252)
+ return Xsqlite3CorruptError(tls, 78256)
__1:
;
*(*int32)(unsafe.Pointer(bp + 32)) = getAndInitPage(tls, pBt, pgno, bp, uintptr(0), 0)
@@ -80910,7 +80915,7 @@ __2:
Xsqlite3PagerPageRefcount(tls, (*MemPage)(unsafe.Pointer(*(*uintptr)(unsafe.Pointer(bp)))).FpDbPage) != 1+libc.Bool32(pgno == Pgno(1))) {
goto __3
}
- *(*int32)(unsafe.Pointer(bp + 32)) = Xsqlite3CorruptError(tls, 78259)
+ *(*int32)(unsafe.Pointer(bp + 32)) = Xsqlite3CorruptError(tls, 78263)
goto cleardatabasepage_out
__3:
;
@@ -81044,7 +81049,7 @@ func btreeDropTable(tls *libc.TLS, p uintptr, iTable Pgno, piMoved uintptr) int3
var pBt uintptr = (*Btree)(unsafe.Pointer(p)).FpBt
if iTable > btreePagecount(tls, pBt) {
- return Xsqlite3CorruptError(tls, 78363)
+ return Xsqlite3CorruptError(tls, 78367)
}
*(*int32)(unsafe.Pointer(bp + 12)) = Xsqlite3BtreeClearTable(tls, p, int32(iTable), uintptr(0))
@@ -81261,7 +81266,7 @@ func checkAppendMsg(tls *libc.TLS, pCheck uintptr, zFormat uintptr, va uintptr)
(*IntegrityCk)(unsafe.Pointer(pCheck)).FnErr++
ap = va
if (*IntegrityCk)(unsafe.Pointer(pCheck)).FerrMsg.FnChar != 0 {
- Xsqlite3_str_append(tls, pCheck+64, ts+5414, 1)
+ Xsqlite3_str_append(tls, pCheck+64, ts+5433, 1)
}
if (*IntegrityCk)(unsafe.Pointer(pCheck)).FzPfx != 0 {
Xsqlite3_str_appendf(tls, pCheck+64, (*IntegrityCk)(unsafe.Pointer(pCheck)).FzPfx, libc.VaList(bp, (*IntegrityCk)(unsafe.Pointer(pCheck)).Fv1, (*IntegrityCk)(unsafe.Pointer(pCheck)).Fv2))
@@ -81286,11 +81291,11 @@ func checkRef(tls *libc.TLS, pCheck uintptr, iPage Pgno) int32 {
defer tls.Free(16)
if iPage > (*IntegrityCk)(unsafe.Pointer(pCheck)).FnPage || iPage == Pgno(0) {
- checkAppendMsg(tls, pCheck, ts+5416, libc.VaList(bp, iPage))
+ checkAppendMsg(tls, pCheck, ts+5435, libc.VaList(bp, iPage))
return 1
}
if getPageReferenced(tls, pCheck, iPage) != 0 {
- checkAppendMsg(tls, pCheck, ts+5439, libc.VaList(bp+8, iPage))
+ checkAppendMsg(tls, pCheck, ts+5458, libc.VaList(bp+8, iPage))
return 1
}
setPageReferenced(tls, pCheck, iPage)
@@ -81308,13 +81313,13 @@ func checkPtrmap(tls *libc.TLS, pCheck uintptr, iChild Pgno, eType U8, iParent P
if rc == SQLITE_NOMEM || rc == SQLITE_IOERR|int32(12)<<8 {
checkOom(tls, pCheck)
}
- checkAppendMsg(tls, pCheck, ts+5464, libc.VaList(bp, iChild))
+ checkAppendMsg(tls, pCheck, ts+5483, libc.VaList(bp, iChild))
return
}
if int32(*(*U8)(unsafe.Pointer(bp + 48))) != int32(eType) || *(*Pgno)(unsafe.Pointer(bp + 52)) != iParent {
checkAppendMsg(tls, pCheck,
- ts+5493,
+ ts+5512,
libc.VaList(bp+8, iChild, int32(eType), iParent, int32(*(*U8)(unsafe.Pointer(bp + 48))), *(*Pgno)(unsafe.Pointer(bp + 52))))
}
}
@@ -81333,7 +81338,7 @@ func checkList(tls *libc.TLS, pCheck uintptr, isFreeList int32, iPage Pgno, N U3
}
N--
if Xsqlite3PagerGet(tls, (*IntegrityCk)(unsafe.Pointer(pCheck)).FpPager, iPage, bp+40, 0) != 0 {
- checkAppendMsg(tls, pCheck, ts+5547, libc.VaList(bp, iPage))
+ checkAppendMsg(tls, pCheck, ts+5566, libc.VaList(bp, iPage))
break
}
pOvflData = Xsqlite3PagerGetData(tls, *(*uintptr)(unsafe.Pointer(bp + 40)))
@@ -81344,7 +81349,7 @@ func checkList(tls *libc.TLS, pCheck uintptr, isFreeList int32, iPage Pgno, N U3
}
if n > (*BtShared)(unsafe.Pointer((*IntegrityCk)(unsafe.Pointer(pCheck)).FpBt)).FusableSize/U32(4)-U32(2) {
checkAppendMsg(tls, pCheck,
- ts+5569, libc.VaList(bp+8, iPage))
+ ts+5588, libc.VaList(bp+8, iPage))
N--
} else {
for i = 0; i < int32(n); i++ {
@@ -81367,12 +81372,12 @@ func checkList(tls *libc.TLS, pCheck uintptr, isFreeList int32, iPage Pgno, N U3
}
if N != 0 && nErrAtStart == (*IntegrityCk)(unsafe.Pointer(pCheck)).FnErr {
checkAppendMsg(tls, pCheck,
- ts+5608,
+ ts+5627,
libc.VaList(bp+16, func() uintptr {
if isFreeList != 0 {
- return ts + 5634
+ return ts + 5653
}
- return ts + 5639
+ return ts + 5658
}(),
expected-N, expected))
}
@@ -81488,13 +81493,13 @@ __2:
return 0
__3:
;
- (*IntegrityCk)(unsafe.Pointer(pCheck)).FzPfx = ts + 5660
+ (*IntegrityCk)(unsafe.Pointer(pCheck)).FzPfx = ts + 5679
(*IntegrityCk)(unsafe.Pointer(pCheck)).Fv1 = iPage
if !(libc.AssignInt32(&rc, btreeGetPage(tls, pBt, iPage, bp+96, 0)) != 0) {
goto __4
}
checkAppendMsg(tls, pCheck,
- ts+5670, libc.VaList(bp, rc))
+ ts+5689, libc.VaList(bp, rc))
goto end_of_check
__4:
;
@@ -81505,7 +81510,7 @@ __4:
}
checkAppendMsg(tls, pCheck,
- ts+5708, libc.VaList(bp+8, rc))
+ ts+5727, libc.VaList(bp+8, rc))
goto end_of_check
__5:
;
@@ -81513,14 +81518,14 @@ __5:
goto __6
}
- checkAppendMsg(tls, pCheck, ts+5746, libc.VaList(bp+16, rc))
+ checkAppendMsg(tls, pCheck, ts+5765, libc.VaList(bp+16, rc))
goto end_of_check
__6:
;
data = (*MemPage)(unsafe.Pointer(*(*uintptr)(unsafe.Pointer(bp + 96)))).FaData
hdr = int32((*MemPage)(unsafe.Pointer(*(*uintptr)(unsafe.Pointer(bp + 96)))).FhdrOffset)
- (*IntegrityCk)(unsafe.Pointer(pCheck)).FzPfx = ts + 5768
+ (*IntegrityCk)(unsafe.Pointer(pCheck)).FzPfx = ts + 5787
contentOffset = U32((int32(*(*U8)(unsafe.Pointer(data + uintptr(hdr+5))))<<8|int32(*(*U8)(unsafe.Pointer(data + uintptr(hdr+5) + 1)))-1)&0xffff + 1)
nCell = int32(*(*U8)(unsafe.Pointer(data + uintptr(hdr+3))))<<8 | int32(*(*U8)(unsafe.Pointer(data + uintptr(hdr+3) + 1)))
@@ -81537,7 +81542,7 @@ __6:
if !((*BtShared)(unsafe.Pointer(pBt)).FautoVacuum != 0) {
goto __9
}
- (*IntegrityCk)(unsafe.Pointer(pCheck)).FzPfx = ts + 5794
+ (*IntegrityCk)(unsafe.Pointer(pCheck)).FzPfx = ts + 5813
checkPtrmap(tls, pCheck, uint32(pgno), uint8(PTRMAP_BTREE), iPage)
__9:
;
@@ -81562,7 +81567,7 @@ __10:
if !(pc < contentOffset || pc > usableSize-U32(4)) {
goto __13
}
- checkAppendMsg(tls, pCheck, ts+5822,
+ checkAppendMsg(tls, pCheck, ts+5841,
libc.VaList(bp+24, pc, contentOffset, usableSize-U32(4)))
doCoverageCheck = 0
goto __11
@@ -81575,7 +81580,7 @@ __13:
if !(pc+U32((*CellInfo)(unsafe.Pointer(bp+112)).FnSize) > usableSize) {
goto __14
}
- checkAppendMsg(tls, pCheck, ts+5852, 0)
+ checkAppendMsg(tls, pCheck, ts+5871, 0)
doCoverageCheck = 0
goto __11
__14:
@@ -81591,7 +81596,7 @@ __14:
}() != 0) {
goto __16
}
- checkAppendMsg(tls, pCheck, ts+5876, libc.VaList(bp+48, (*CellInfo)(unsafe.Pointer(bp+112)).FnKey))
+ checkAppendMsg(tls, pCheck, ts+5895, libc.VaList(bp+48, (*CellInfo)(unsafe.Pointer(bp+112)).FnKey))
__16:
;
*(*I64)(unsafe.Pointer(bp + 104)) = (*CellInfo)(unsafe.Pointer(bp + 112)).FnKey
@@ -81629,7 +81634,7 @@ __21:
if !(d2 != depth) {
goto __22
}
- checkAppendMsg(tls, pCheck, ts+5900, 0)
+ checkAppendMsg(tls, pCheck, ts+5919, 0)
depth = d2
__22:
;
@@ -81702,7 +81707,7 @@ __30:
goto __32
}
checkAppendMsg(tls, pCheck,
- ts+5925, libc.VaList(bp+56, *(*U32)(unsafe.Pointer(bp + 136))>>16, iPage))
+ ts+5944, libc.VaList(bp+56, *(*U32)(unsafe.Pointer(bp + 136))>>16, iPage))
goto __31
goto __33
__32:
@@ -81719,7 +81724,7 @@ __31:
goto __34
}
checkAppendMsg(tls, pCheck,
- ts+5962,
+ ts+5981,
libc.VaList(bp+72, nFrag, int32(*(*U8)(unsafe.Pointer(data + uintptr(hdr+7)))), iPage))
__34:
;
@@ -81833,7 +81838,7 @@ __6:
if !(bCkFreelist != 0) {
goto __7
}
- (*IntegrityCk)(unsafe.Pointer(bp + 32)).FzPfx = ts + 6014
+ (*IntegrityCk)(unsafe.Pointer(bp + 32)).FzPfx = ts + 6033
checkList(tls, bp+32, 1, Xsqlite3Get4byte(tls, (*MemPage)(unsafe.Pointer((*BtShared)(unsafe.Pointer(pBt)).FpPage1)).FaData+32),
Xsqlite3Get4byte(tls, (*MemPage)(unsafe.Pointer((*BtShared)(unsafe.Pointer(pBt)).FpPage1)).FaData+36))
(*IntegrityCk)(unsafe.Pointer(bp + 32)).FzPfx = uintptr(0)
@@ -81869,7 +81874,7 @@ __13:
goto __15
}
checkAppendMsg(tls, bp+32,
- ts+6030,
+ ts+6049,
libc.VaList(bp, mx, mxInHdr))
__15:
;
@@ -81879,7 +81884,7 @@ __9:
goto __16
}
checkAppendMsg(tls, bp+32,
- ts+6075, 0)
+ ts+6094, 0)
__16:
;
__10:
@@ -81926,13 +81931,13 @@ __23:
if !(getPageReferenced(tls, bp+32, i) == 0 && (ptrmapPageno(tls, pBt, i) != i || !(int32((*BtShared)(unsafe.Pointer(pBt)).FautoVacuum) != 0))) {
goto __26
}
- checkAppendMsg(tls, bp+32, ts+6130, libc.VaList(bp+16, i))
+ checkAppendMsg(tls, bp+32, ts+6149, libc.VaList(bp+16, i))
__26:
;
if !(getPageReferenced(tls, bp+32, i) != 0 && (ptrmapPageno(tls, pBt, i) == i && (*BtShared)(unsafe.Pointer(pBt)).FautoVacuum != 0)) {
goto __27
}
- checkAppendMsg(tls, bp+32, ts+6152, libc.VaList(bp+24, i))
+ checkAppendMsg(tls, bp+32, ts+6171, libc.VaList(bp+24, i))
__27:
;
goto __24
@@ -82195,7 +82200,7 @@ func findBtree(tls *libc.TLS, pErrorDb uintptr, pDb uintptr, zDb uintptr) uintpt
var rc int32 = 0
Xsqlite3ParseObjectInit(tls, bp+16, pDb)
if Xsqlite3OpenTempDatabase(tls, bp+16) != 0 {
- Xsqlite3ErrorWithMsg(tls, pErrorDb, (*Parse)(unsafe.Pointer(bp+16)).Frc, ts+4493, libc.VaList(bp, (*Parse)(unsafe.Pointer(bp+16)).FzErrMsg))
+ Xsqlite3ErrorWithMsg(tls, pErrorDb, (*Parse)(unsafe.Pointer(bp+16)).Frc, ts+4512, libc.VaList(bp, (*Parse)(unsafe.Pointer(bp+16)).FzErrMsg))
rc = SQLITE_ERROR
}
Xsqlite3DbFree(tls, pErrorDb, (*Parse)(unsafe.Pointer(bp+16)).FzErrMsg)
@@ -82206,7 +82211,7 @@ func findBtree(tls *libc.TLS, pErrorDb uintptr, pDb uintptr, zDb uintptr) uintpt
}
if i < 0 {
- Xsqlite3ErrorWithMsg(tls, pErrorDb, SQLITE_ERROR, ts+6186, libc.VaList(bp+8, zDb))
+ Xsqlite3ErrorWithMsg(tls, pErrorDb, SQLITE_ERROR, ts+6205, libc.VaList(bp+8, zDb))
return uintptr(0)
}
@@ -82221,7 +82226,7 @@ func setDestPgsz(tls *libc.TLS, p uintptr) int32 {
func checkReadTransaction(tls *libc.TLS, db uintptr, p uintptr) int32 {
if Xsqlite3BtreeTxnState(tls, p) != SQLITE_TXN_NONE {
- Xsqlite3ErrorWithMsg(tls, db, SQLITE_ERROR, ts+6206, 0)
+ Xsqlite3ErrorWithMsg(tls, db, SQLITE_ERROR, ts+6225, 0)
return SQLITE_ERROR
}
return SQLITE_OK
@@ -82241,7 +82246,7 @@ func Xsqlite3_backup_init(tls *libc.TLS, pDestDb uintptr, zDestDb uintptr, pSrcD
if pSrcDb == pDestDb {
Xsqlite3ErrorWithMsg(tls,
- pDestDb, SQLITE_ERROR, ts+6237, 0)
+ pDestDb, SQLITE_ERROR, ts+6256, 0)
p = uintptr(0)
} else {
p = Xsqlite3MallocZero(tls, uint64(unsafe.Sizeof(Sqlite3_backup{})))
@@ -82690,7 +82695,7 @@ func vdbeMemRenderNum(tls *libc.TLS, sz int32, zBuf uintptr, p uintptr) {
(*Mem)(unsafe.Pointer(p)).Fn = Xsqlite3Int64ToText(tls, *(*I64)(unsafe.Pointer(bp + 8)), zBuf)
} else {
Xsqlite3StrAccumInit(tls, bp+16, uintptr(0), zBuf, sz, 0)
- Xsqlite3_str_appendf(tls, bp+16, ts+6277,
+ Xsqlite3_str_appendf(tls, bp+16, ts+6296,
libc.VaList(bp, func() float64 {
if int32((*Mem)(unsafe.Pointer(p)).Fflags)&MEM_IntReal != 0 {
return float64(*(*I64)(unsafe.Pointer(p)))
@@ -83282,7 +83287,7 @@ func Xsqlite3VdbeMemSetPointer(tls *libc.TLS, pMem uintptr, pPtr uintptr, zPType
if zPType != 0 {
return zPType
}
- return ts + 1544
+ return ts + 1563
}()
(*Mem)(unsafe.Pointer(pMem)).Fz = pPtr
(*Mem)(unsafe.Pointer(pMem)).Fflags = U16(MEM_Null | MEM_Dyn | MEM_Subtype | MEM_Term)
@@ -83514,7 +83519,7 @@ func Xsqlite3VdbeMemFromBtree(tls *libc.TLS, pCur uintptr, offset U32, amt U32,
var rc int32
(*Mem)(unsafe.Pointer(pMem)).Fflags = U16(MEM_Null)
if Xsqlite3BtreeMaxRecordSize(tls, pCur) < Sqlite3_int64(offset+amt) {
- return Xsqlite3CorruptError(tls, 81630)
+ return Xsqlite3CorruptError(tls, 81634)
}
if SQLITE_OK == libc.AssignInt32(&rc, Xsqlite3VdbeMemClearAndResize(tls, pMem, int32(amt+U32(1)))) {
rc = Xsqlite3BtreePayload(tls, pCur, offset, amt, (*Mem)(unsafe.Pointer(pMem)).Fz)
@@ -83746,7 +83751,7 @@ __9:
goto __10
}
rc = (*Sqlite3_context)(unsafe.Pointer(bp + 8)).FisError
- Xsqlite3ErrorMsg(tls, (*ValueNewStat4Ctx)(unsafe.Pointer(pCtx)).FpParse, ts+4493, libc.VaList(bp, Xsqlite3_value_text(tls, pVal)))
+ Xsqlite3ErrorMsg(tls, (*ValueNewStat4Ctx)(unsafe.Pointer(pCtx)).FpParse, ts+4512, libc.VaList(bp, Xsqlite3_value_text(tls, pVal)))
goto __11
__10:
Xsqlite3ValueApplyAffinity(tls, pVal, aff, uint8(SQLITE_UTF8))
@@ -83799,7 +83804,7 @@ func valueFromExpr(tls *libc.TLS, db uintptr, pExpr uintptr, enc U8, affinity U8
zVal = uintptr(0)
*(*uintptr)(unsafe.Pointer(bp + 16)) = uintptr(0)
negInt = 1
- zNeg = ts + 1544
+ zNeg = ts + 1563
rc = SQLITE_OK
__1:
@@ -83840,7 +83845,7 @@ __4:
pExpr = (*Expr)(unsafe.Pointer(pExpr)).FpLeft
op = int32((*Expr)(unsafe.Pointer(pExpr)).Fop)
negInt = -1
- zNeg = ts + 6284
+ zNeg = ts + 6303
__6:
;
if !(op == TK_STRING || op == TK_FLOAT || op == TK_INTEGER) {
@@ -83859,7 +83864,7 @@ __9:
Xsqlite3VdbeMemSetInt64(tls, *(*uintptr)(unsafe.Pointer(bp + 16)), I64(*(*int32)(unsafe.Pointer(pExpr + 8)))*I64(negInt))
goto __11
__10:
- zVal = Xsqlite3MPrintf(tls, db, ts+6286, libc.VaList(bp, zNeg, *(*uintptr)(unsafe.Pointer(pExpr + 8))))
+ zVal = Xsqlite3MPrintf(tls, db, ts+6305, libc.VaList(bp, zNeg, *(*uintptr)(unsafe.Pointer(pExpr + 8))))
if !(zVal == uintptr(0)) {
goto __12
}
@@ -84163,7 +84168,7 @@ func Xsqlite3Stat4Column(tls *libc.TLS, db uintptr, pRec uintptr, nRec int32, iC
return Xsqlite3GetVarint32(tls, a, bp)
}())
if *(*int32)(unsafe.Pointer(bp)) > nRec || iHdr >= *(*int32)(unsafe.Pointer(bp)) {
- return Xsqlite3CorruptError(tls, 82270)
+ return Xsqlite3CorruptError(tls, 82274)
}
iField = *(*int32)(unsafe.Pointer(bp))
for i = 0; i <= iCol; i++ {
@@ -84178,14 +84183,14 @@ func Xsqlite3Stat4Column(tls *libc.TLS, db uintptr, pRec uintptr, nRec int32, iC
}())
if iHdr > *(*int32)(unsafe.Pointer(bp)) {
- return Xsqlite3CorruptError(tls, 82276)
+ return Xsqlite3CorruptError(tls, 82280)
}
szField = int32(Xsqlite3VdbeSerialTypeLen(tls, *(*U32)(unsafe.Pointer(bp + 4))))
iField = iField + szField
}
if iField > nRec {
- return Xsqlite3CorruptError(tls, 82282)
+ return Xsqlite3CorruptError(tls, 82286)
}
if pMem == uintptr(0) {
pMem = libc.AssignPtrUintptr(ppVal, Xsqlite3ValueNew(tls, db))
@@ -85193,34 +85198,34 @@ func Xsqlite3VdbeDisplayP4(tls *libc.TLS, db uintptr, pOp uintptr) uintptr {
var j int32
var pKeyInfo uintptr = *(*uintptr)(unsafe.Pointer(pOp + 16))
- Xsqlite3_str_appendf(tls, bp+144, ts+6291, libc.VaList(bp, int32((*KeyInfo)(unsafe.Pointer(pKeyInfo)).FnKeyField)))
+ Xsqlite3_str_appendf(tls, bp+144, ts+6310, libc.VaList(bp, int32((*KeyInfo)(unsafe.Pointer(pKeyInfo)).FnKeyField)))
for j = 0; j < int32((*KeyInfo)(unsafe.Pointer(pKeyInfo)).FnKeyField); j++ {
var pColl uintptr = *(*uintptr)(unsafe.Pointer(pKeyInfo + 32 + uintptr(j)*8))
var zColl uintptr
if pColl != 0 {
zColl = (*CollSeq)(unsafe.Pointer(pColl)).FzName
} else {
- zColl = ts + 1544
+ zColl = ts + 1563
}
- if libc.Xstrcmp(tls, zColl, ts+1089) == 0 {
- zColl = ts + 6296
+ if libc.Xstrcmp(tls, zColl, ts+1108) == 0 {
+ zColl = ts + 6315
}
- Xsqlite3_str_appendf(tls, bp+144, ts+6298,
+ Xsqlite3_str_appendf(tls, bp+144, ts+6317,
libc.VaList(bp+8, func() uintptr {
if int32(*(*U8)(unsafe.Pointer((*KeyInfo)(unsafe.Pointer(pKeyInfo)).FaSortFlags + uintptr(j))))&KEYINFO_ORDER_DESC != 0 {
- return ts + 6284
+ return ts + 6303
}
- return ts + 1544
+ return ts + 1563
}(),
func() uintptr {
if int32(*(*U8)(unsafe.Pointer((*KeyInfo)(unsafe.Pointer(pKeyInfo)).FaSortFlags + uintptr(j))))&KEYINFO_ORDER_BIGNULL != 0 {
- return ts + 6306
+ return ts + 6325
}
- return ts + 1544
+ return ts + 1563
}(),
zColl))
}
- Xsqlite3_str_append(tls, bp+144, ts+6309, 1)
+ Xsqlite3_str_append(tls, bp+144, ts+6328, 1)
break
}
@@ -85228,7 +85233,7 @@ func Xsqlite3VdbeDisplayP4(tls *libc.TLS, db uintptr, pOp uintptr) uintptr {
{
var pColl uintptr = *(*uintptr)(unsafe.Pointer(pOp + 16))
- Xsqlite3_str_appendf(tls, bp+144, ts+6311, libc.VaList(bp+32, (*CollSeq)(unsafe.Pointer(pColl)).FzName,
+ Xsqlite3_str_appendf(tls, bp+144, ts+6330, libc.VaList(bp+32, (*CollSeq)(unsafe.Pointer(pColl)).FzName,
encnames[(*CollSeq)(unsafe.Pointer(pColl)).Fenc]))
break
@@ -85236,32 +85241,32 @@ func Xsqlite3VdbeDisplayP4(tls *libc.TLS, db uintptr, pOp uintptr) uintptr {
case -7:
{
var pDef uintptr = *(*uintptr)(unsafe.Pointer(pOp + 16))
- Xsqlite3_str_appendf(tls, bp+144, ts+6320, libc.VaList(bp+48, (*FuncDef)(unsafe.Pointer(pDef)).FzName, int32((*FuncDef)(unsafe.Pointer(pDef)).FnArg)))
+ Xsqlite3_str_appendf(tls, bp+144, ts+6339, libc.VaList(bp+48, (*FuncDef)(unsafe.Pointer(pDef)).FzName, int32((*FuncDef)(unsafe.Pointer(pDef)).FnArg)))
break
}
case -15:
{
var pDef uintptr = (*Sqlite3_context)(unsafe.Pointer(*(*uintptr)(unsafe.Pointer(pOp + 16)))).FpFunc
- Xsqlite3_str_appendf(tls, bp+144, ts+6320, libc.VaList(bp+64, (*FuncDef)(unsafe.Pointer(pDef)).FzName, int32((*FuncDef)(unsafe.Pointer(pDef)).FnArg)))
+ Xsqlite3_str_appendf(tls, bp+144, ts+6339, libc.VaList(bp+64, (*FuncDef)(unsafe.Pointer(pDef)).FzName, int32((*FuncDef)(unsafe.Pointer(pDef)).FnArg)))
break
}
case -13:
{
- Xsqlite3_str_appendf(tls, bp+144, ts+1324, libc.VaList(bp+80, *(*I64)(unsafe.Pointer(*(*uintptr)(unsafe.Pointer(pOp + 16))))))
+ Xsqlite3_str_appendf(tls, bp+144, ts+1343, libc.VaList(bp+80, *(*I64)(unsafe.Pointer(*(*uintptr)(unsafe.Pointer(pOp + 16))))))
break
}
case -3:
{
- Xsqlite3_str_appendf(tls, bp+144, ts+6327, libc.VaList(bp+88, *(*int32)(unsafe.Pointer(pOp + 16))))
+ Xsqlite3_str_appendf(tls, bp+144, ts+6346, libc.VaList(bp+88, *(*int32)(unsafe.Pointer(pOp + 16))))
break
}
case -12:
{
- Xsqlite3_str_appendf(tls, bp+144, ts+1318, libc.VaList(bp+96, *(*float64)(unsafe.Pointer(*(*uintptr)(unsafe.Pointer(pOp + 16))))))
+ Xsqlite3_str_appendf(tls, bp+144, ts+1337, libc.VaList(bp+96, *(*float64)(unsafe.Pointer(*(*uintptr)(unsafe.Pointer(pOp + 16))))))
break
}
@@ -85271,13 +85276,13 @@ func Xsqlite3VdbeDisplayP4(tls *libc.TLS, db uintptr, pOp uintptr) uintptr {
if int32((*Mem)(unsafe.Pointer(pMem)).Fflags)&MEM_Str != 0 {
zP4 = (*Mem)(unsafe.Pointer(pMem)).Fz
} else if int32((*Mem)(unsafe.Pointer(pMem)).Fflags)&(MEM_Int|MEM_IntReal) != 0 {
- Xsqlite3_str_appendf(tls, bp+144, ts+1324, libc.VaList(bp+104, *(*I64)(unsafe.Pointer(pMem))))
+ Xsqlite3_str_appendf(tls, bp+144, ts+1343, libc.VaList(bp+104, *(*I64)(unsafe.Pointer(pMem))))
} else if int32((*Mem)(unsafe.Pointer(pMem)).Fflags)&MEM_Real != 0 {
- Xsqlite3_str_appendf(tls, bp+144, ts+1318, libc.VaList(bp+112, *(*float64)(unsafe.Pointer(pMem))))
+ Xsqlite3_str_appendf(tls, bp+144, ts+1337, libc.VaList(bp+112, *(*float64)(unsafe.Pointer(pMem))))
} else if int32((*Mem)(unsafe.Pointer(pMem)).Fflags)&MEM_Null != 0 {
- zP4 = ts + 1545
+ zP4 = ts + 1564
} else {
- zP4 = ts + 6330
+ zP4 = ts + 6349
}
break
@@ -85285,7 +85290,7 @@ func Xsqlite3VdbeDisplayP4(tls *libc.TLS, db uintptr, pOp uintptr) uintptr {
case -11:
{
var pVtab uintptr = (*VTable)(unsafe.Pointer(*(*uintptr)(unsafe.Pointer(pOp + 16)))).FpVtab
- Xsqlite3_str_appendf(tls, bp+144, ts+6337, libc.VaList(bp+120, pVtab))
+ Xsqlite3_str_appendf(tls, bp+144, ts+6356, libc.VaList(bp+120, pVtab))
break
}
@@ -85296,20 +85301,20 @@ func Xsqlite3VdbeDisplayP4(tls *libc.TLS, db uintptr, pOp uintptr) uintptr {
var n U32 = *(*U32)(unsafe.Pointer(ai))
for i = U32(1); i <= n; i++ {
- Xsqlite3_str_appendf(tls, bp+144, ts+6345, libc.VaList(bp+128, func() int32 {
+ Xsqlite3_str_appendf(tls, bp+144, ts+6364, libc.VaList(bp+128, func() int32 {
if i == U32(1) {
return '['
}
return ','
}(), *(*U32)(unsafe.Pointer(ai + uintptr(i)*4))))
}
- Xsqlite3_str_append(tls, bp+144, ts+6350, 1)
+ Xsqlite3_str_append(tls, bp+144, ts+6369, 1)
break
}
case -4:
{
- zP4 = ts + 6352
+ zP4 = ts + 6371
break
}
@@ -85334,7 +85339,7 @@ func Xsqlite3VdbeDisplayP4(tls *libc.TLS, db uintptr, pOp uintptr) uintptr {
return Xsqlite3StrAccumFinish(tls, bp+144)
}
-var encnames = [4]uintptr{ts + 6360, ts + 6362, ts + 6364, ts + 6369}
+var encnames = [4]uintptr{ts + 6379, ts + 6381, ts + 6383, ts + 6388}
// Declare to the Vdbe that the BTree object at db->aDb[i] is used.
//
@@ -85784,8 +85789,8 @@ func Xsqlite3VdbeMakeReady(tls *libc.TLS, p uintptr, pParse uintptr) {
}
var azColName = [12]uintptr{
- ts + 6374, ts + 6379, ts + 6386, ts + 6389, ts + 6392, ts + 6395, ts + 6398, ts + 6401,
- ts + 6409, ts + 6412, ts + 6419, ts + 6427,
+ ts + 6393, ts + 6398, ts + 6405, ts + 6408, ts + 6411, ts + 6414, ts + 6417, ts + 6420,
+ ts + 6428, ts + 6431, ts + 6438, ts + 6446,
}
// Close a VDBE cursor and release all the resources that cursor
@@ -85994,7 +85999,7 @@ func vdbeCommit(tls *libc.TLS, db uintptr, p uintptr) int32 {
var nMainFile int32
nMainFile = Xsqlite3Strlen30(tls, zMainFile)
- zSuper = Xsqlite3MPrintf(tls, db, ts+6434, libc.VaList(bp, 0, zMainFile, 0))
+ zSuper = Xsqlite3MPrintf(tls, db, ts+6453, libc.VaList(bp, 0, zMainFile, 0))
if zSuper == uintptr(0) {
return SQLITE_NOMEM
}
@@ -86002,16 +86007,16 @@ func vdbeCommit(tls *libc.TLS, db uintptr, p uintptr) int32 {
for __ccgo := true; __ccgo; __ccgo = rc == SQLITE_OK && *(*int32)(unsafe.Pointer(bp + 60)) != 0 {
if retryCount != 0 {
if retryCount > 100 {
- Xsqlite3_log(tls, SQLITE_FULL, ts+6446, libc.VaList(bp+24, zSuper))
+ Xsqlite3_log(tls, SQLITE_FULL, ts+6465, libc.VaList(bp+24, zSuper))
Xsqlite3OsDelete(tls, pVfs, zSuper, 0)
break
} else if retryCount == 1 {
- Xsqlite3_log(tls, SQLITE_FULL, ts+6460, libc.VaList(bp+32, zSuper))
+ Xsqlite3_log(tls, SQLITE_FULL, ts+6479, libc.VaList(bp+32, zSuper))
}
}
retryCount++
Xsqlite3_randomness(tls, int32(unsafe.Sizeof(U32(0))), bp+56)
- Xsqlite3_snprintf(tls, 13, zSuper+uintptr(nMainFile), ts+6475,
+ Xsqlite3_snprintf(tls, 13, zSuper+uintptr(nMainFile), ts+6494,
libc.VaList(bp+40, *(*U32)(unsafe.Pointer(bp + 56))>>8&U32(0xffffff), *(*U32)(unsafe.Pointer(bp + 56))&U32(0xff)))
rc = Xsqlite3OsAccess(tls, pVfs, zSuper, SQLITE_ACCESS_EXISTS, bp+60)
@@ -86157,7 +86162,7 @@ func Xsqlite3VdbeCheckFk(tls *libc.TLS, p uintptr, deferred int32) int32 {
!(deferred != 0) && (*Vdbe)(unsafe.Pointer(p)).FnFkConstraint > int64(0) {
(*Vdbe)(unsafe.Pointer(p)).Frc = SQLITE_CONSTRAINT | int32(3)<<8
(*Vdbe)(unsafe.Pointer(p)).FerrorAction = U8(OE_Abort)
- Xsqlite3VdbeError(tls, p, ts+6488, 0)
+ Xsqlite3VdbeError(tls, p, ts+6507, 0)
if int32((*Vdbe)(unsafe.Pointer(p)).FprepFlags)&SQLITE_PREPARE_SAVESQL == 0 {
return SQLITE_ERROR
}
@@ -86489,7 +86494,7 @@ func Xsqlite3VdbeFinishMoveto(tls *libc.TLS, p uintptr) int32 {
return rc
}
if *(*int32)(unsafe.Pointer(bp)) != 0 {
- return Xsqlite3CorruptError(tls, 86058)
+ return Xsqlite3CorruptError(tls, 86062)
}
(*VdbeCursor)(unsafe.Pointer(p)).FdeferredMoveto = U8(0)
(*VdbeCursor)(unsafe.Pointer(p)).FcacheStatus = U32(CACHE_STALE)
@@ -87040,7 +87045,7 @@ func Xsqlite3VdbeRecordCompareWithSkip(tls *libc.TLS, nKey1 int32, pKey1 uintptr
i = 0
}
if d1 > uint32(nKey1) {
- (*UnpackedRecord)(unsafe.Pointer(pPKey2)).FerrCode = U8(Xsqlite3CorruptError(tls, 86985))
+ (*UnpackedRecord)(unsafe.Pointer(pPKey2)).FerrCode = U8(Xsqlite3CorruptError(tls, 86989))
return 0
}
@@ -87105,7 +87110,7 @@ func Xsqlite3VdbeRecordCompareWithSkip(tls *libc.TLS, nKey1 int32, pKey1 uintptr
if d1+U32((*Mem)(unsafe.Pointer(bp+8)).Fn) > uint32(nKey1) ||
int32((*KeyInfo)(unsafe.Pointer(libc.AssignUintptr(&pKeyInfo, (*UnpackedRecord)(unsafe.Pointer(pPKey2)).FpKeyInfo))).FnAllField) <= i {
- (*UnpackedRecord)(unsafe.Pointer(pPKey2)).FerrCode = U8(Xsqlite3CorruptError(tls, 87062))
+ (*UnpackedRecord)(unsafe.Pointer(pPKey2)).FerrCode = U8(Xsqlite3CorruptError(tls, 87066))
return 0
} else if *(*uintptr)(unsafe.Pointer(pKeyInfo + 32 + uintptr(i)*8)) != 0 {
(*Mem)(unsafe.Pointer(bp + 8)).Fenc = (*KeyInfo)(unsafe.Pointer(pKeyInfo)).Fenc
@@ -87139,7 +87144,7 @@ func Xsqlite3VdbeRecordCompareWithSkip(tls *libc.TLS, nKey1 int32, pKey1 uintptr
var nStr int32 = int32((*(*U32)(unsafe.Pointer(bp + 64)) - U32(12)) / U32(2))
if d1+U32(nStr) > uint32(nKey1) {
- (*UnpackedRecord)(unsafe.Pointer(pPKey2)).FerrCode = U8(Xsqlite3CorruptError(tls, 87092))
+ (*UnpackedRecord)(unsafe.Pointer(pPKey2)).FerrCode = U8(Xsqlite3CorruptError(tls, 87096))
return 0
} else if int32((*Mem)(unsafe.Pointer(pRhs)).Fflags)&MEM_Zero != 0 {
if !(isAllZero(tls, aKey1+uintptr(d1), nStr) != 0) {
@@ -87189,7 +87194,7 @@ func Xsqlite3VdbeRecordCompareWithSkip(tls *libc.TLS, nKey1 int32, pKey1 uintptr
}
idx1 = idx1 + U32(Xsqlite3VarintLen(tls, uint64(*(*U32)(unsafe.Pointer(bp + 64)))))
if idx1 >= *(*U32)(unsafe.Pointer(bp + 4)) {
- (*UnpackedRecord)(unsafe.Pointer(pPKey2)).FerrCode = U8(Xsqlite3CorruptError(tls, 87136))
+ (*UnpackedRecord)(unsafe.Pointer(pPKey2)).FerrCode = U8(Xsqlite3CorruptError(tls, 87140))
return 0
}
}
@@ -87335,7 +87340,7 @@ __5:
if !(szHdr+nStr > nKey1) {
goto __7
}
- (*UnpackedRecord)(unsafe.Pointer(pPKey2)).FerrCode = U8(Xsqlite3CorruptError(tls, 87299))
+ (*UnpackedRecord)(unsafe.Pointer(pPKey2)).FerrCode = U8(Xsqlite3CorruptError(tls, 87303))
return 0
__7:
;
@@ -87506,7 +87511,7 @@ __6:
idx_rowid_corruption:
;
Xsqlite3VdbeMemReleaseMalloc(tls, bp)
- return Xsqlite3CorruptError(tls, 87457)
+ return Xsqlite3CorruptError(tls, 87461)
}
// Compare the key of the index entry that cursor pC is pointing to against
@@ -87532,7 +87537,7 @@ func Xsqlite3VdbeIdxKeyCompare(tls *libc.TLS, db uintptr, pC uintptr, pUnpacked
if nCellKey <= int64(0) || nCellKey > int64(0x7fffffff) {
*(*int32)(unsafe.Pointer(res)) = 0
- return Xsqlite3CorruptError(tls, 87490)
+ return Xsqlite3CorruptError(tls, 87494)
}
Xsqlite3VdbeMemInit(tls, bp, db, uint16(0))
rc = Xsqlite3VdbeMemFromBtreeZeroOffset(tls, pCur, U32(nCellKey), bp)
@@ -87643,13 +87648,13 @@ func Xsqlite3NotPureFunc(tls *libc.TLS, pCtx uintptr) int32 {
var zContext uintptr
var zMsg uintptr
if int32((*VdbeOp)(unsafe.Pointer(pOp)).Fp5)&NC_IsCheck != 0 {
- zContext = ts + 6518
- } else if int32((*VdbeOp)(unsafe.Pointer(pOp)).Fp5)&NC_GenCol != 0 {
zContext = ts + 6537
- } else {
+ } else if int32((*VdbeOp)(unsafe.Pointer(pOp)).Fp5)&NC_GenCol != 0 {
zContext = ts + 6556
+ } else {
+ zContext = ts + 6575
}
- zMsg = Xsqlite3_mprintf(tls, ts+6565,
+ zMsg = Xsqlite3_mprintf(tls, ts+6584,
libc.VaList(bp, (*FuncDef)(unsafe.Pointer((*Sqlite3_context)(unsafe.Pointer(pCtx)).FpFunc)).FzName, zContext))
Xsqlite3_result_error(tls, pCtx, zMsg, -1)
Xsqlite3_free(tls, zMsg)
@@ -87754,7 +87759,7 @@ func Xsqlite3_expired(tls *libc.TLS, pStmt uintptr) int32 {
func vdbeSafety(tls *libc.TLS, p uintptr) int32 {
if (*Vdbe)(unsafe.Pointer(p)).Fdb == uintptr(0) {
- Xsqlite3_log(tls, SQLITE_MISUSE, ts+6601, 0)
+ Xsqlite3_log(tls, SQLITE_MISUSE, ts+6620, 0)
return 1
} else {
return 0
@@ -87764,7 +87769,7 @@ func vdbeSafety(tls *libc.TLS, p uintptr) int32 {
func vdbeSafetyNotNull(tls *libc.TLS, p uintptr) int32 {
if p == uintptr(0) {
- Xsqlite3_log(tls, SQLITE_MISUSE, ts+6646, 0)
+ Xsqlite3_log(tls, SQLITE_MISUSE, ts+6665, 0)
return 1
} else {
return vdbeSafety(tls, p)
@@ -87806,7 +87811,7 @@ func Xsqlite3_finalize(tls *libc.TLS, pStmt uintptr) int32 {
var v uintptr = pStmt
var db uintptr = (*Vdbe)(unsafe.Pointer(v)).Fdb
if vdbeSafety(tls, v) != 0 {
- return Xsqlite3MisuseError(tls, 87854)
+ return Xsqlite3MisuseError(tls, 87858)
}
Xsqlite3_mutex_enter(tls, (*Sqlite3)(unsafe.Pointer(db)).Fmutex)
if (*Vdbe)(unsafe.Pointer(v)).FstartTime > int64(0) {
@@ -88229,7 +88234,7 @@ func Xsqlite3_result_error_code(tls *libc.TLS, pCtx uintptr, errCode int32) {
// Force an SQLITE_TOOBIG error.
func Xsqlite3_result_error_toobig(tls *libc.TLS, pCtx uintptr) {
(*Sqlite3_context)(unsafe.Pointer(pCtx)).FisError = SQLITE_TOOBIG
- Xsqlite3VdbeMemSetStr(tls, (*Sqlite3_context)(unsafe.Pointer(pCtx)).FpOut, ts+6686, int64(-1),
+ Xsqlite3VdbeMemSetStr(tls, (*Sqlite3_context)(unsafe.Pointer(pCtx)).FpOut, ts+6705, int64(-1),
uint8(SQLITE_UTF8), uintptr(0))
}
@@ -88421,7 +88426,7 @@ func Xsqlite3_step(tls *libc.TLS, pStmt uintptr) int32 {
var db uintptr
if vdbeSafetyNotNull(tls, v) != 0 {
- return Xsqlite3MisuseError(tls, 88544)
+ return Xsqlite3MisuseError(tls, 88548)
}
db = (*Vdbe)(unsafe.Pointer(v)).Fdb
Xsqlite3_mutex_enter(tls, (*Sqlite3)(unsafe.Pointer(db)).Fmutex)
@@ -88941,15 +88946,15 @@ func vdbeUnbind(tls *libc.TLS, p uintptr, i uint32) int32 {
var pVar uintptr
if vdbeSafetyNotNull(tls, p) != 0 {
- return Xsqlite3MisuseError(tls, 89208)
+ return Xsqlite3MisuseError(tls, 89212)
}
Xsqlite3_mutex_enter(tls, (*Sqlite3)(unsafe.Pointer((*Vdbe)(unsafe.Pointer(p)).Fdb)).Fmutex)
if int32((*Vdbe)(unsafe.Pointer(p)).FeVdbeState) != VDBE_READY_STATE {
Xsqlite3Error(tls, (*Vdbe)(unsafe.Pointer(p)).Fdb, SQLITE_MISUSE)
Xsqlite3_mutex_leave(tls, (*Sqlite3)(unsafe.Pointer((*Vdbe)(unsafe.Pointer(p)).Fdb)).Fmutex)
Xsqlite3_log(tls, SQLITE_MISUSE,
- ts+6709, libc.VaList(bp, (*Vdbe)(unsafe.Pointer(p)).FzSql))
- return Xsqlite3MisuseError(tls, 89216)
+ ts+6728, libc.VaList(bp, (*Vdbe)(unsafe.Pointer(p)).FzSql))
+ return Xsqlite3MisuseError(tls, 89220)
}
if i >= uint32((*Vdbe)(unsafe.Pointer(p)).FnVar) {
Xsqlite3Error(tls, (*Vdbe)(unsafe.Pointer(p)).Fdb, SQLITE_RANGE)
@@ -89354,7 +89359,7 @@ func Xsqlite3_preupdate_old(tls *libc.TLS, db uintptr, iIdx int32, ppValue uintp
if !(!(p != 0) || (*PreUpdate)(unsafe.Pointer(p)).Fop == SQLITE_INSERT) {
goto __1
}
- rc = Xsqlite3MisuseError(tls, 89707)
+ rc = Xsqlite3MisuseError(tls, 89711)
goto preupdate_old_out
__1:
;
@@ -89498,7 +89503,7 @@ func Xsqlite3_preupdate_new(tls *libc.TLS, db uintptr, iIdx int32, ppValue uintp
if !(!(p != 0) || (*PreUpdate)(unsafe.Pointer(p)).Fop == SQLITE_DELETE) {
goto __1
}
- rc = Xsqlite3MisuseError(tls, 89809)
+ rc = Xsqlite3MisuseError(tls, 89813)
goto preupdate_new_out
__1:
;
@@ -89670,7 +89675,7 @@ func Xsqlite3VdbeExpandSql(tls *libc.TLS, p uintptr, zRawSql uintptr) uintptr {
var zStart uintptr = zRawSql
for int32(*(*int8)(unsafe.Pointer(libc.PostIncUintptr(&zRawSql, 1)))) != '\n' && *(*int8)(unsafe.Pointer(zRawSql)) != 0 {
}
- Xsqlite3_str_append(tls, bp+48, ts+6749, 3)
+ Xsqlite3_str_append(tls, bp+48, ts+6768, 3)
Xsqlite3_str_append(tls, bp+48, zStart, int32((int64(zRawSql)-int64(zStart))/1))
}
@@ -89706,11 +89711,11 @@ func Xsqlite3VdbeExpandSql(tls *libc.TLS, p uintptr, zRawSql uintptr) uintptr {
pVar = (*Vdbe)(unsafe.Pointer(p)).FaVar + uintptr(*(*int32)(unsafe.Pointer(bp + 84))-1)*56
if int32((*Mem)(unsafe.Pointer(pVar)).Fflags)&MEM_Null != 0 {
- Xsqlite3_str_append(tls, bp+48, ts+1545, 4)
+ Xsqlite3_str_append(tls, bp+48, ts+1564, 4)
} else if int32((*Mem)(unsafe.Pointer(pVar)).Fflags)&(MEM_Int|MEM_IntReal) != 0 {
- Xsqlite3_str_appendf(tls, bp+48, ts+1324, libc.VaList(bp, *(*I64)(unsafe.Pointer(pVar))))
+ Xsqlite3_str_appendf(tls, bp+48, ts+1343, libc.VaList(bp, *(*I64)(unsafe.Pointer(pVar))))
} else if int32((*Mem)(unsafe.Pointer(pVar)).Fflags)&MEM_Real != 0 {
- Xsqlite3_str_appendf(tls, bp+48, ts+6277, libc.VaList(bp+8, *(*float64)(unsafe.Pointer(pVar))))
+ Xsqlite3_str_appendf(tls, bp+48, ts+6296, libc.VaList(bp+8, *(*float64)(unsafe.Pointer(pVar))))
} else if int32((*Mem)(unsafe.Pointer(pVar)).Fflags)&MEM_Str != 0 {
var nOut int32
var enc U8 = (*Sqlite3)(unsafe.Pointer(db)).Fenc
@@ -89725,21 +89730,21 @@ func Xsqlite3VdbeExpandSql(tls *libc.TLS, p uintptr, zRawSql uintptr) uintptr {
pVar = bp + 88
}
nOut = (*Mem)(unsafe.Pointer(pVar)).Fn
- Xsqlite3_str_appendf(tls, bp+48, ts+6753, libc.VaList(bp+16, nOut, (*Mem)(unsafe.Pointer(pVar)).Fz))
+ Xsqlite3_str_appendf(tls, bp+48, ts+6772, libc.VaList(bp+16, nOut, (*Mem)(unsafe.Pointer(pVar)).Fz))
if int32(enc) != SQLITE_UTF8 {
Xsqlite3VdbeMemRelease(tls, bp+88)
}
} else if int32((*Mem)(unsafe.Pointer(pVar)).Fflags)&MEM_Zero != 0 {
- Xsqlite3_str_appendf(tls, bp+48, ts+6760, libc.VaList(bp+32, *(*int32)(unsafe.Pointer(pVar))))
+ Xsqlite3_str_appendf(tls, bp+48, ts+6779, libc.VaList(bp+32, *(*int32)(unsafe.Pointer(pVar))))
} else {
var nOut int32
- Xsqlite3_str_append(tls, bp+48, ts+6773, 2)
+ Xsqlite3_str_append(tls, bp+48, ts+6792, 2)
nOut = (*Mem)(unsafe.Pointer(pVar)).Fn
for i = 0; i < nOut; i++ {
- Xsqlite3_str_appendf(tls, bp+48, ts+6776, libc.VaList(bp+40, int32(*(*int8)(unsafe.Pointer((*Mem)(unsafe.Pointer(pVar)).Fz + uintptr(i))))&0xff))
+ Xsqlite3_str_appendf(tls, bp+48, ts+6795, libc.VaList(bp+40, int32(*(*int8)(unsafe.Pointer((*Mem)(unsafe.Pointer(pVar)).Fz + uintptr(i))))&0xff))
}
- Xsqlite3_str_append(tls, bp+48, ts+6781, 1)
+ Xsqlite3_str_append(tls, bp+48, ts+6800, 1)
}
}
}
@@ -89942,10 +89947,6 @@ func filterHash(tls *libc.TLS, aMem uintptr, pOp uintptr) U64 {
} else if int32((*Mem)(unsafe.Pointer(p)).Fflags)&MEM_Real != 0 {
h = h + U64(Xsqlite3VdbeIntValue(tls, p))
} else if int32((*Mem)(unsafe.Pointer(p)).Fflags)&(MEM_Str|MEM_Blob) != 0 {
- h = h + U64((*Mem)(unsafe.Pointer(p)).Fn)
- if int32((*Mem)(unsafe.Pointer(p)).Fflags)&MEM_Zero != 0 {
- h = h + U64(*(*int32)(unsafe.Pointer(p)))
- }
}
}
return h
@@ -89956,11 +89957,11 @@ func vdbeMemTypeName(tls *libc.TLS, pMem uintptr) uintptr {
}
var azTypes = [5]uintptr{
- ts + 1105,
- ts + 1117,
- ts + 1122,
- ts + 1100,
- ts + 1545,
+ ts + 1124,
+ ts + 1136,
+ ts + 1141,
+ ts + 1119,
+ ts + 1564,
}
// Execute as much of a VDBE program as we can.
@@ -91002,20 +91003,20 @@ __202:
goto __205
}
- Xsqlite3VdbeError(tls, p, ts+6783, libc.VaList(bp, azType[int32((*Op)(unsafe.Pointer(pOp)).Fp5)-1]))
+ Xsqlite3VdbeError(tls, p, ts+6802, libc.VaList(bp, azType[int32((*Op)(unsafe.Pointer(pOp)).Fp5)-1]))
if !(*(*uintptr)(unsafe.Pointer(pOp + 16)) != 0) {
goto __207
}
- (*Vdbe)(unsafe.Pointer(p)).FzErrMsg = Xsqlite3MPrintf(tls, db, ts+6804, libc.VaList(bp+8, (*Vdbe)(unsafe.Pointer(p)).FzErrMsg, *(*uintptr)(unsafe.Pointer(pOp + 16))))
+ (*Vdbe)(unsafe.Pointer(p)).FzErrMsg = Xsqlite3MPrintf(tls, db, ts+6823, libc.VaList(bp+8, (*Vdbe)(unsafe.Pointer(p)).FzErrMsg, *(*uintptr)(unsafe.Pointer(pOp + 16))))
__207:
;
goto __206
__205:
- Xsqlite3VdbeError(tls, p, ts+4493, libc.VaList(bp+24, *(*uintptr)(unsafe.Pointer(pOp + 16))))
+ Xsqlite3VdbeError(tls, p, ts+4512, libc.VaList(bp+24, *(*uintptr)(unsafe.Pointer(pOp + 16))))
__206:
;
pcx = int32((int64(pOp) - int64(aOp)) / 24)
- Xsqlite3_log(tls, (*Op)(unsafe.Pointer(pOp)).Fp1, ts+6811, libc.VaList(bp+32, pcx, (*Vdbe)(unsafe.Pointer(p)).FzSql, (*Vdbe)(unsafe.Pointer(p)).FzErrMsg))
+ Xsqlite3_log(tls, (*Op)(unsafe.Pointer(pOp)).Fp1, ts+6830, libc.VaList(bp+32, pcx, (*Vdbe)(unsafe.Pointer(p)).FzSql, (*Vdbe)(unsafe.Pointer(p)).FzErrMsg))
__204:
;
rc = Xsqlite3VdbeHalt(tls, p)
@@ -92593,7 +92594,7 @@ op_column_corrupt:
goto __9
goto __425
__424:
- rc = Xsqlite3CorruptError(tls, 93317)
+ rc = Xsqlite3CorruptError(tls, 93320)
goto abort_due_to_error
__425:
;
@@ -92721,7 +92722,7 @@ __428:
goto __9
vdbe_type_error:
- Xsqlite3VdbeError(tls, p, ts+6835,
+ Xsqlite3VdbeError(tls, p, ts+6854,
libc.VaList(bp+56, vdbeMemTypeName(tls, pIn1), Xsqlite3StdType[(int32(*(*uint8)(unsafe.Pointer(aCol + uintptr(i2)*24 + 8))&0xf0>>4)-1)&0xf<<28>>28],
(*Table)(unsafe.Pointer(pTab)).FzName, (*Column)(unsafe.Pointer(aCol+uintptr(i2)*24)).FzCnName))
rc = SQLITE_CONSTRAINT | int32(12)<<8
@@ -93153,7 +93154,7 @@ __78:
goto __522
}
- Xsqlite3VdbeError(tls, p, ts+6876, 0)
+ Xsqlite3VdbeError(tls, p, ts+6895, 0)
rc = SQLITE_BUSY
goto __523
__522:
@@ -93213,7 +93214,7 @@ __530:
if !!(pSavepoint != 0) {
goto __531
}
- Xsqlite3VdbeError(tls, p, ts+6927, libc.VaList(bp+88, zName))
+ Xsqlite3VdbeError(tls, p, ts+6946, libc.VaList(bp+88, zName))
rc = SQLITE_ERROR
goto __532
__531:
@@ -93222,7 +93223,7 @@ __531:
}
Xsqlite3VdbeError(tls, p,
- ts+6949, 0)
+ ts+6968, 0)
rc = SQLITE_BUSY
goto __534
__533:
@@ -93408,7 +93409,7 @@ __564:
}
Xsqlite3VdbeError(tls, p,
- ts+7003, 0)
+ ts+7022, 0)
rc = SQLITE_BUSY
goto abort_due_to_error
goto __567
@@ -93451,13 +93452,13 @@ __562:
Xsqlite3VdbeError(tls, p,
func() uintptr {
if !(desiredAutoCommit != 0) {
- return ts + 7058
+ return ts + 7077
}
return func() uintptr {
if iRollback != 0 {
- return ts + 7106
+ return ts + 7125
}
- return ts + 7149
+ return ts + 7168
}()
}(), 0)
@@ -93540,7 +93541,7 @@ __576:
}
Xsqlite3DbFree(tls, db, (*Vdbe)(unsafe.Pointer(p)).FzErrMsg)
- (*Vdbe)(unsafe.Pointer(p)).FzErrMsg = Xsqlite3DbStrDup(tls, db, ts+7190)
+ (*Vdbe)(unsafe.Pointer(p)).FzErrMsg = Xsqlite3DbStrDup(tls, db, ts+7209)
if !((*Schema)(unsafe.Pointer((*Db)(unsafe.Pointer((*Sqlite3)(unsafe.Pointer(db)).FaDb+uintptr((*Op)(unsafe.Pointer(pOp)).Fp1)*32)).FpSchema)).Fschema_cookie != *(*int32)(unsafe.Pointer(bp + 312))) {
goto __583
@@ -93744,7 +93745,7 @@ __88:
}
(*Mem)(unsafe.Pointer(aMem + uintptr((*Op)(unsafe.Pointer(pOp)).Fp3)*56)).Fn = 0
- (*Mem)(unsafe.Pointer(aMem + uintptr((*Op)(unsafe.Pointer(pOp)).Fp3)*56)).Fz = ts + 1544
+ (*Mem)(unsafe.Pointer(aMem + uintptr((*Op)(unsafe.Pointer(pOp)).Fp3)*56)).Fz = ts + 1563
__602:
;
pCx1 = *(*uintptr)(unsafe.Pointer((*Vdbe)(unsafe.Pointer(p)).FapCsr + uintptr((*Op)(unsafe.Pointer(pOp)).Fp1)*8))
@@ -94353,7 +94354,7 @@ notExistsWithKey:
if !((*Op)(unsafe.Pointer(pOp)).Fp2 == 0) {
goto __682
}
- rc = Xsqlite3CorruptError(tls, 95560)
+ rc = Xsqlite3CorruptError(tls, 95563)
goto __683
__682:
goto jump_to_p2
@@ -95131,7 +95132,7 @@ __767:
if !((*Op)(unsafe.Pointer(pOp)).Fp5 != 0 && !(Xsqlite3WritableSchema(tls, db) != 0)) {
goto __770
}
- rc = Xsqlite3ReportError(tls, SQLITE_CORRUPT|int32(3)<<8, 96635, ts+7218)
+ rc = Xsqlite3ReportError(tls, SQLITE_CORRUPT|int32(3)<<8, 96638, ts+7237)
goto abort_due_to_error
__770:
;
@@ -95241,7 +95242,7 @@ __780:
if !(nCellKey <= int64(0) || nCellKey > int64(0x7fffffff)) {
goto __781
}
- rc = Xsqlite3CorruptError(tls, 96840)
+ rc = Xsqlite3CorruptError(tls, 96843)
goto abort_due_to_error
__781:
;
@@ -95402,14 +95403,14 @@ __141:
libc.SetBitFieldPtr8Uint32(p+200, Bft(0), 0, 0x3)
goto __799
__798:
- zSchema = ts + 7235
+ zSchema = ts + 7254
(*InitData)(unsafe.Pointer(bp + 832)).Fdb = db
(*InitData)(unsafe.Pointer(bp + 832)).FiDb = iDb3
(*InitData)(unsafe.Pointer(bp + 832)).FpzErrMsg = p + 168
(*InitData)(unsafe.Pointer(bp + 832)).FmInitFlags = U32(0)
(*InitData)(unsafe.Pointer(bp + 832)).FmxPage = Xsqlite3BtreeLastPage(tls, (*Db)(unsafe.Pointer((*Sqlite3)(unsafe.Pointer(db)).FaDb+uintptr(iDb3)*32)).FpBt)
zSql = Xsqlite3MPrintf(tls, db,
- ts+7249,
+ ts+7268,
libc.VaList(bp+96, (*Db)(unsafe.Pointer((*Sqlite3)(unsafe.Pointer(db)).FaDb+uintptr(iDb3)*32)).FzDbSName, zSchema, *(*uintptr)(unsafe.Pointer(pOp + 16))))
if !(zSql == uintptr(0)) {
goto __800
@@ -95435,7 +95436,7 @@ __802:
goto __803
}
- rc = Xsqlite3CorruptError(tls, 97092)
+ rc = Xsqlite3CorruptError(tls, 97095)
__803:
;
Xsqlite3DbFreeNN(tls, db, zSql)
@@ -95625,7 +95626,7 @@ __820:
goto __825
}
rc = SQLITE_ERROR
- Xsqlite3VdbeError(tls, p, ts+7292, 0)
+ Xsqlite3VdbeError(tls, p, ts+7311, 0)
goto abort_due_to_error
__825:
;
@@ -95937,7 +95938,7 @@ __860:
if !((*Sqlite3_context)(unsafe.Pointer(pCtx1)).FisError > 0) {
goto __862
}
- Xsqlite3VdbeError(tls, p, ts+4493, libc.VaList(bp+120, Xsqlite3_value_text(tls, (*Sqlite3_context)(unsafe.Pointer(pCtx1)).FpOut)))
+ Xsqlite3VdbeError(tls, p, ts+4512, libc.VaList(bp+120, Xsqlite3_value_text(tls, (*Sqlite3_context)(unsafe.Pointer(pCtx1)).FpOut)))
rc = (*Sqlite3_context)(unsafe.Pointer(pCtx1)).FisError
__862:
;
@@ -95987,7 +95988,7 @@ __867:
if !(rc != 0) {
goto __868
}
- Xsqlite3VdbeError(tls, p, ts+4493, libc.VaList(bp+128, Xsqlite3_value_text(tls, pMem3)))
+ Xsqlite3VdbeError(tls, p, ts+4512, libc.VaList(bp+128, Xsqlite3_value_text(tls, pMem3)))
goto abort_due_to_error
__868:
;
@@ -96069,12 +96070,12 @@ __876:
}
rc = SQLITE_ERROR
Xsqlite3VdbeError(tls, p,
- ts+7329,
+ ts+7348,
libc.VaList(bp+136, func() uintptr {
if eNew == PAGER_JOURNALMODE_WAL {
- return ts + 7381
+ return ts + 7400
}
- return ts + 7386
+ return ts + 7405
}()))
goto abort_due_to_error
goto __879
@@ -96216,7 +96217,7 @@ __171:
goto __894
}
z1 = *(*uintptr)(unsafe.Pointer(pOp + 16))
- Xsqlite3VdbeError(tls, p, ts+7393, libc.VaList(bp+144, z1))
+ Xsqlite3VdbeError(tls, p, ts+7412, libc.VaList(bp+144, z1))
__894:
;
goto abort_due_to_error
@@ -96334,7 +96335,7 @@ __904:
(*ValueList)(unsafe.Pointer(pRhs)).FpOut = aMem + uintptr((*Op)(unsafe.Pointer(pOp)).Fp3)*56
pOut = out2Prerelease(tls, p, pOp)
(*Mem)(unsafe.Pointer(pOut)).Fflags = U16(MEM_Null)
- Xsqlite3VdbeMemSetPointer(tls, pOut, pRhs, ts+7422, *(*uintptr)(unsafe.Pointer(&struct{ f func(*libc.TLS, uintptr) }{Xsqlite3VdbeValueListFree})))
+ Xsqlite3VdbeMemSetPointer(tls, pOut, pRhs, ts+7441, *(*uintptr)(unsafe.Pointer(&struct{ f func(*libc.TLS, uintptr) }{Xsqlite3VdbeValueListFree})))
goto __9
__177:
@@ -96423,7 +96424,7 @@ __912:
if !((*Sqlite3_context)(unsafe.Pointer(bp+984)).FisError > 0) {
goto __913
}
- Xsqlite3VdbeError(tls, p, ts+4493, libc.VaList(bp+152, Xsqlite3_value_text(tls, pDest2)))
+ Xsqlite3VdbeError(tls, p, ts+4512, libc.VaList(bp+152, Xsqlite3_value_text(tls, pDest2)))
rc = (*Sqlite3_context)(unsafe.Pointer(bp + 984)).FisError
__913:
;
@@ -96653,7 +96654,7 @@ __935:
if !((*Sqlite3_context)(unsafe.Pointer(pCtx2)).FisError > 0) {
goto __940
}
- Xsqlite3VdbeError(tls, p, ts+4493, libc.VaList(bp+160, Xsqlite3_value_text(tls, pOut)))
+ Xsqlite3VdbeError(tls, p, ts+4512, libc.VaList(bp+160, Xsqlite3_value_text(tls, pOut)))
rc = (*Sqlite3_context)(unsafe.Pointer(pCtx2)).FisError
__940:
;
@@ -96729,7 +96730,7 @@ __945:
if !((*Sqlite3)(unsafe.Pointer(db)).FnVdbeExec > 1) {
goto __947
}
- z3 = Xsqlite3MPrintf(tls, db, ts+7432, libc.VaList(bp+168, zTrace))
+ z3 = Xsqlite3MPrintf(tls, db, ts+7451, libc.VaList(bp+168, zTrace))
(*struct {
f func(*libc.TLS, U32, uintptr, uintptr, uintptr) int32
})(unsafe.Pointer(&struct{ uintptr }{*(*uintptr)(unsafe.Pointer(db + 248))})).f(tls, uint32(SQLITE_TRACE_STMT), (*Sqlite3)(unsafe.Pointer(db)).FpTraceArg, p, z3)
@@ -96802,7 +96803,7 @@ __955:
if !(rc == SQLITE_IOERR|int32(33)<<8) {
goto __957
}
- rc = Xsqlite3CorruptError(tls, 99031)
+ rc = Xsqlite3CorruptError(tls, 99034)
__957:
;
__956:
@@ -96810,13 +96811,13 @@ __956:
if !((*Vdbe)(unsafe.Pointer(p)).FzErrMsg == uintptr(0) && rc != SQLITE_IOERR|int32(12)<<8) {
goto __958
}
- Xsqlite3VdbeError(tls, p, ts+4493, libc.VaList(bp+176, Xsqlite3ErrStr(tls, rc)))
+ Xsqlite3VdbeError(tls, p, ts+4512, libc.VaList(bp+176, Xsqlite3ErrStr(tls, rc)))
__958:
;
(*Vdbe)(unsafe.Pointer(p)).Frc = rc
Xsqlite3SystemError(tls, db, rc)
- Xsqlite3_log(tls, rc, ts+7438,
+ Xsqlite3_log(tls, rc, ts+7457,
libc.VaList(bp+184, int32((int64(pOp)-int64(aOp))/24), (*Vdbe)(unsafe.Pointer(p)).FzSql, (*Vdbe)(unsafe.Pointer(p)).FzErrMsg))
if !(int32((*Vdbe)(unsafe.Pointer(p)).FeVdbeState) == VDBE_RUN_STATE) {
goto __959
@@ -96872,13 +96873,13 @@ __966:
return rc
too_big:
- Xsqlite3VdbeError(tls, p, ts+6686, 0)
+ Xsqlite3VdbeError(tls, p, ts+6705, 0)
rc = SQLITE_TOOBIG
goto abort_due_to_error
no_mem:
Xsqlite3OomFault(tls, db)
- Xsqlite3VdbeError(tls, p, ts+1480, 0)
+ Xsqlite3VdbeError(tls, p, ts+1499, 0)
rc = SQLITE_NOMEM
goto abort_due_to_error
@@ -96889,8 +96890,8 @@ abort_due_to_interrupt:
return int32(0)
}
-var azType = [4]uintptr{ts + 7470, ts + 7479, ts + 7486,
- ts + 7492}
+var azType = [4]uintptr{ts + 7489, ts + 7498, ts + 7505,
+ ts + 7511}
var and_logic = [9]uint8{uint8(0), uint8(0), uint8(0), uint8(0), uint8(1), uint8(2), uint8(0), uint8(2), uint8(2)}
var or_logic = [9]uint8{uint8(0), uint8(1), uint8(2), uint8(1), uint8(1), uint8(1), uint8(2), uint8(1), uint8(2)}
var aMask = [12]uint8{
@@ -96945,16 +96946,16 @@ func blobSeekToRow(tls *libc.TLS, p uintptr, iRow Sqlite3_int64, pzErr uintptr)
}
if type1 < U32(12) {
- zErr = Xsqlite3MPrintf(tls, (*Incrblob)(unsafe.Pointer(p)).Fdb, ts+7504,
+ zErr = Xsqlite3MPrintf(tls, (*Incrblob)(unsafe.Pointer(p)).Fdb, ts+7523,
libc.VaList(bp, func() uintptr {
if type1 == U32(0) {
- return ts + 7533
+ return ts + 7552
}
return func() uintptr {
if type1 == U32(7) {
- return ts + 7538
+ return ts + 7557
}
- return ts + 7543
+ return ts + 7562
}()
}()))
rc = SQLITE_ERROR
@@ -96974,10 +96975,10 @@ func blobSeekToRow(tls *libc.TLS, p uintptr, iRow Sqlite3_int64, pzErr uintptr)
rc = Xsqlite3_finalize(tls, (*Incrblob)(unsafe.Pointer(p)).FpStmt)
(*Incrblob)(unsafe.Pointer(p)).FpStmt = uintptr(0)
if rc == SQLITE_OK {
- zErr = Xsqlite3MPrintf(tls, (*Incrblob)(unsafe.Pointer(p)).Fdb, ts+7551, libc.VaList(bp+8, iRow))
+ zErr = Xsqlite3MPrintf(tls, (*Incrblob)(unsafe.Pointer(p)).Fdb, ts+7570, libc.VaList(bp+8, iRow))
rc = SQLITE_ERROR
} else {
- zErr = Xsqlite3MPrintf(tls, (*Incrblob)(unsafe.Pointer(p)).Fdb, ts+4493, libc.VaList(bp+16, Xsqlite3_errmsg(tls, (*Incrblob)(unsafe.Pointer(p)).Fdb)))
+ zErr = Xsqlite3MPrintf(tls, (*Incrblob)(unsafe.Pointer(p)).Fdb, ts+4512, libc.VaList(bp+16, Xsqlite3_errmsg(tls, (*Incrblob)(unsafe.Pointer(p)).Fdb)))
}
}
@@ -97037,21 +97038,21 @@ __3:
goto __4
}
pTab = uintptr(0)
- Xsqlite3ErrorMsg(tls, bp+48, ts+7571, libc.VaList(bp, zTable))
+ Xsqlite3ErrorMsg(tls, bp+48, ts+7590, libc.VaList(bp, zTable))
__4:
;
if !(pTab != 0 && !((*Table)(unsafe.Pointer(pTab)).FtabFlags&U32(TF_WithoutRowid) == U32(0))) {
goto __5
}
pTab = uintptr(0)
- Xsqlite3ErrorMsg(tls, bp+48, ts+7601, libc.VaList(bp+8, zTable))
+ Xsqlite3ErrorMsg(tls, bp+48, ts+7620, libc.VaList(bp+8, zTable))
__5:
;
if !(pTab != 0 && int32((*Table)(unsafe.Pointer(pTab)).FeTabType) == TABTYP_VIEW) {
goto __6
}
pTab = uintptr(0)
- Xsqlite3ErrorMsg(tls, bp+48, ts+7637, libc.VaList(bp+16, zTable))
+ Xsqlite3ErrorMsg(tls, bp+48, ts+7656, libc.VaList(bp+16, zTable))
__6:
;
if !!(pTab != 0) {
@@ -97095,7 +97096,7 @@ __11:
goto __13
}
Xsqlite3DbFree(tls, db, *(*uintptr)(unsafe.Pointer(bp + 472)))
- *(*uintptr)(unsafe.Pointer(bp + 472)) = Xsqlite3MPrintf(tls, db, ts+7658, libc.VaList(bp+24, zColumn))
+ *(*uintptr)(unsafe.Pointer(bp + 472)) = Xsqlite3MPrintf(tls, db, ts+7677, libc.VaList(bp+24, zColumn))
rc = SQLITE_ERROR
Xsqlite3BtreeLeaveAll(tls, db)
goto blob_open_out
@@ -97122,7 +97123,7 @@ __19:
if !((*sColMap)(unsafe.Pointer(pFKey+64+uintptr(j)*16)).FiFrom == iCol) {
goto __22
}
- zFault = ts + 7679
+ zFault = ts + 7698
__22:
;
goto __20
@@ -97155,7 +97156,7 @@ __26:
if !(int32(*(*I16)(unsafe.Pointer((*Index)(unsafe.Pointer(pIdx)).FaiColumn + uintptr(j1)*2))) == iCol || int32(*(*I16)(unsafe.Pointer((*Index)(unsafe.Pointer(pIdx)).FaiColumn + uintptr(j1)*2))) == -2) {
goto __29
}
- zFault = ts + 7691
+ zFault = ts + 7710
__29:
;
goto __27
@@ -97176,7 +97177,7 @@ __25:
goto __30
}
Xsqlite3DbFree(tls, db, *(*uintptr)(unsafe.Pointer(bp + 472)))
- *(*uintptr)(unsafe.Pointer(bp + 472)) = Xsqlite3MPrintf(tls, db, ts+7699, libc.VaList(bp+32, zFault))
+ *(*uintptr)(unsafe.Pointer(bp + 472)) = Xsqlite3MPrintf(tls, db, ts+7718, libc.VaList(bp+32, zFault))
rc = SQLITE_ERROR
Xsqlite3BtreeLeaveAll(tls, db)
goto blob_open_out
@@ -97274,7 +97275,7 @@ __38:
;
Xsqlite3ErrorWithMsg(tls, db, rc, func() uintptr {
if *(*uintptr)(unsafe.Pointer(bp + 472)) != 0 {
- return ts + 4493
+ return ts + 4512
}
return uintptr(0)
}(), libc.VaList(bp+40, *(*uintptr)(unsafe.Pointer(bp + 472))))
@@ -97322,7 +97323,7 @@ func blobReadWrite(tls *libc.TLS, pBlob uintptr, z uintptr, n int32, iOffset int
var db uintptr
if p == uintptr(0) {
- return Xsqlite3MisuseError(tls, 99516)
+ return Xsqlite3MisuseError(tls, 99519)
}
db = (*Incrblob)(unsafe.Pointer(p)).Fdb
Xsqlite3_mutex_enter(tls, (*Sqlite3)(unsafe.Pointer(db)).Fmutex)
@@ -97405,7 +97406,7 @@ func Xsqlite3_blob_reopen(tls *libc.TLS, pBlob uintptr, iRow Sqlite3_int64) int3
var db uintptr
if p == uintptr(0) {
- return Xsqlite3MisuseError(tls, 99616)
+ return Xsqlite3MisuseError(tls, 99619)
}
db = (*Incrblob)(unsafe.Pointer(p)).Fdb
Xsqlite3_mutex_enter(tls, (*Sqlite3)(unsafe.Pointer(db)).Fmutex)
@@ -97418,7 +97419,7 @@ func Xsqlite3_blob_reopen(tls *libc.TLS, pBlob uintptr, iRow Sqlite3_int64) int3
if rc != SQLITE_OK {
Xsqlite3ErrorWithMsg(tls, db, rc, func() uintptr {
if *(*uintptr)(unsafe.Pointer(bp + 8)) != 0 {
- return ts + 4493
+ return ts + 4512
}
return uintptr(0)
}(), libc.VaList(bp, *(*uintptr)(unsafe.Pointer(bp + 8))))
@@ -99947,25 +99948,25 @@ func extendFJMatch(tls *libc.TLS, pParse uintptr, ppList uintptr, pMatch uintptr
func isValidSchemaTableName(tls *libc.TLS, zTab uintptr, pTab uintptr, pSchema uintptr) int32 {
var zLegacy uintptr
- if Xsqlite3_strnicmp(tls, zTab, ts+7733, 7) != 0 {
+ if Xsqlite3_strnicmp(tls, zTab, ts+7752, 7) != 0 {
return 0
}
zLegacy = (*Table)(unsafe.Pointer(pTab)).FzName
- if libc.Xstrcmp(tls, zLegacy+uintptr(7), ts+7741+7) == 0 {
- if Xsqlite3StrICmp(tls, zTab+uintptr(7), ts+7760+7) == 0 {
+ if libc.Xstrcmp(tls, zLegacy+uintptr(7), ts+7760+7) == 0 {
+ if Xsqlite3StrICmp(tls, zTab+uintptr(7), ts+7779+7) == 0 {
return 1
}
if pSchema == uintptr(0) {
return 0
}
- if Xsqlite3StrICmp(tls, zTab+uintptr(7), ts+7235+7) == 0 {
+ if Xsqlite3StrICmp(tls, zTab+uintptr(7), ts+7254+7) == 0 {
return 1
}
- if Xsqlite3StrICmp(tls, zTab+uintptr(7), ts+7779+7) == 0 {
+ if Xsqlite3StrICmp(tls, zTab+uintptr(7), ts+7798+7) == 0 {
return 1
}
} else {
- if Xsqlite3StrICmp(tls, zTab+uintptr(7), ts+7779+7) == 0 {
+ if Xsqlite3StrICmp(tls, zTab+uintptr(7), ts+7798+7) == 0 {
return 1
}
}
@@ -100045,7 +100046,7 @@ __5:
goto __6
__6:
;
- if !(i == (*Sqlite3)(unsafe.Pointer(db)).FnDb && Xsqlite3StrICmp(tls, ts+7793, zDb) == 0) {
+ if !(i == (*Sqlite3)(unsafe.Pointer(db)).FnDb && Xsqlite3StrICmp(tls, ts+7812, zDb) == 0) {
goto __8
}
@@ -100166,7 +100167,7 @@ __16:
goto __14
__32:
;
- if !(pSchema == uintptr(0) && libc.Xstrcmp(tls, zDb, ts+7798) != 0) {
+ if !(pSchema == uintptr(0) && libc.Xstrcmp(tls, zDb, ts+7817) != 0) {
goto __33
}
goto __14
@@ -100340,14 +100341,14 @@ __60:
;
goto __59
__58:
- if !(op != TK_DELETE && zTab != 0 && Xsqlite3StrICmp(tls, ts+7800, zTab) == 0) {
+ if !(op != TK_DELETE && zTab != 0 && Xsqlite3StrICmp(tls, ts+7819, zTab) == 0) {
goto __61
}
(*Expr)(unsafe.Pointer(pExpr)).FiTable = 1
pTab = (*Parse)(unsafe.Pointer(pParse)).FpTriggerTab
goto __62
__61:
- if !(op != TK_INSERT && zTab != 0 && Xsqlite3StrICmp(tls, ts+7804, zTab) == 0) {
+ if !(op != TK_INSERT && zTab != 0 && Xsqlite3StrICmp(tls, ts+7823, zTab) == 0) {
goto __63
}
(*Expr)(unsafe.Pointer(pExpr)).FiTable = 0
@@ -100364,7 +100365,7 @@ __57:
goto __64
}
pUpsert = *(*uintptr)(unsafe.Pointer(pNC + 16))
- if !(pUpsert != 0 && Xsqlite3StrICmp(tls, ts+7808, zTab) == 0) {
+ if !(pUpsert != 0 && Xsqlite3StrICmp(tls, ts+7827, zTab) == 0) {
goto __65
}
pTab = (*SrcItem)(unsafe.Pointer((*Upsert)(unsafe.Pointer(pUpsert)).FpUpsertSrc + 8)).FpTab
@@ -100523,7 +100524,7 @@ __86:
if !((*NameContext)(unsafe.Pointer(pNC)).FncFlags&NC_AllowAgg == 0 && (*Expr)(unsafe.Pointer(pOrig)).Fflags&U32(EP_Agg) != U32(0)) {
goto __90
}
- Xsqlite3ErrorMsg(tls, pParse, ts+7817, libc.VaList(bp, zAs))
+ Xsqlite3ErrorMsg(tls, pParse, ts+7836, libc.VaList(bp, zAs))
return WRC_Abort
__90:
;
@@ -100531,14 +100532,14 @@ __90:
((*NameContext)(unsafe.Pointer(pNC)).FncFlags&NC_AllowWin == 0 || pNC != pTopNC)) {
goto __91
}
- Xsqlite3ErrorMsg(tls, pParse, ts+7848, libc.VaList(bp+8, zAs))
+ Xsqlite3ErrorMsg(tls, pParse, ts+7867, libc.VaList(bp+8, zAs))
return WRC_Abort
__91:
;
if !(Xsqlite3ExprVectorSize(tls, pOrig) != 1) {
goto __92
}
- Xsqlite3ErrorMsg(tls, pParse, ts+7885, 0)
+ Xsqlite3ErrorMsg(tls, pParse, ts+7904, 0)
return WRC_Abort
__92:
;
@@ -100590,7 +100591,7 @@ __11:
}
Xsqlite3_log(tls, SQLITE_WARNING,
- ts+7903, libc.VaList(bp+16, zCol))
+ ts+7922, libc.VaList(bp+16, zCol))
(*Expr)(unsafe.Pointer(pExpr)).Fop = U8(TK_STRING)
libc.Xmemset(tls, pExpr+64, 0, uint64(unsafe.Sizeof(struct{ FpTab uintptr }{})))
return WRC_Prune
@@ -100627,7 +100628,7 @@ __103:
;
extendFJMatch(tls, pParse, bp+96, pMatch, (*Expr)(unsafe.Pointer(pExpr)).FiColumn)
(*Expr)(unsafe.Pointer(pExpr)).Fop = U8(TK_FUNCTION)
- *(*uintptr)(unsafe.Pointer(pExpr + 8)) = ts + 7938
+ *(*uintptr)(unsafe.Pointer(pExpr + 8)) = ts + 7957
*(*uintptr)(unsafe.Pointer(pExpr + 32)) = *(*uintptr)(unsafe.Pointer(bp + 96))
cnt = 1
goto lookupname_end
@@ -100640,23 +100641,23 @@ __101:
__99:
;
if cnt == 0 {
- zErr = ts + 7947
+ zErr = ts + 7966
} else {
- zErr = ts + 7962
+ zErr = ts + 7981
}
if !(zDb != 0) {
goto __104
}
- Xsqlite3ErrorMsg(tls, pParse, ts+7984, libc.VaList(bp+24, zErr, zDb, zTab, zCol))
+ Xsqlite3ErrorMsg(tls, pParse, ts+8003, libc.VaList(bp+24, zErr, zDb, zTab, zCol))
goto __105
__104:
if !(zTab != 0) {
goto __106
}
- Xsqlite3ErrorMsg(tls, pParse, ts+7997, libc.VaList(bp+56, zErr, zTab, zCol))
+ Xsqlite3ErrorMsg(tls, pParse, ts+8016, libc.VaList(bp+56, zErr, zTab, zCol))
goto __107
__106:
- Xsqlite3ErrorMsg(tls, pParse, ts+8007, libc.VaList(bp+80, zErr, zCol))
+ Xsqlite3ErrorMsg(tls, pParse, ts+8026, libc.VaList(bp+80, zErr, zCol))
__107:
;
__105:
@@ -100759,15 +100760,15 @@ func notValidImpl(tls *libc.TLS, pParse uintptr, pNC uintptr, zMsg uintptr, pExp
bp := tls.Alloc(16)
defer tls.Free(16)
- var zIn uintptr = ts + 8014
+ var zIn uintptr = ts + 8033
if (*NameContext)(unsafe.Pointer(pNC)).FncFlags&NC_IdxExpr != 0 {
- zIn = ts + 8042
+ zIn = ts + 8061
} else if (*NameContext)(unsafe.Pointer(pNC)).FncFlags&NC_IsCheck != 0 {
- zIn = ts + 8060
+ zIn = ts + 8079
} else if (*NameContext)(unsafe.Pointer(pNC)).FncFlags&NC_GenCol != 0 {
- zIn = ts + 8078
+ zIn = ts + 8097
}
- Xsqlite3ErrorMsg(tls, pParse, ts+8096, libc.VaList(bp, zMsg, zIn))
+ Xsqlite3ErrorMsg(tls, pParse, ts+8115, libc.VaList(bp, zMsg, zIn))
if pExpr != 0 {
(*Expr)(unsafe.Pointer(pExpr)).Fop = U8(TK_NULL)
}
@@ -100845,14 +100846,10 @@ func resolveExprStep(tls *libc.TLS, pWalker uintptr, pExpr uintptr) int32 {
;
Xsqlite3WalkExpr(tls, pWalker, (*Expr)(unsafe.Pointer(pExpr)).FpLeft)
if 0 == Xsqlite3ExprCanBeNull(tls, (*Expr)(unsafe.Pointer(pExpr)).FpLeft) && !(int32((*Parse)(unsafe.Pointer(pParse)).FeParseMode) >= PARSE_MODE_RENAME) {
- if int32((*Expr)(unsafe.Pointer(pExpr)).Fop) == TK_NOTNULL {
- *(*uintptr)(unsafe.Pointer(pExpr + 8)) = ts + 8116
- *(*U32)(unsafe.Pointer(pExpr + 4)) |= U32(EP_IsTrue)
- } else {
- *(*uintptr)(unsafe.Pointer(pExpr + 8)) = ts + 8121
- *(*U32)(unsafe.Pointer(pExpr + 4)) |= U32(EP_IsFalse)
- }
- (*Expr)(unsafe.Pointer(pExpr)).Fop = U8(TK_TRUEFALSE)
+ *(*int32)(unsafe.Pointer(pExpr + 8)) = libc.Bool32(int32((*Expr)(unsafe.Pointer(pExpr)).Fop) == TK_NOTNULL)
+ *(*U32)(unsafe.Pointer(pExpr + 4)) |= U32(EP_IntValue)
+ (*Expr)(unsafe.Pointer(pExpr)).Fop = U8(TK_INTEGER)
+
i = 0
p = pNC
__4:
@@ -100896,7 +100893,7 @@ func resolveExprStep(tls *libc.TLS, pWalker uintptr, pExpr uintptr) int32 {
var pLeft uintptr = (*Expr)(unsafe.Pointer(pExpr)).FpLeft
if (*NameContext)(unsafe.Pointer(pNC)).FncFlags&(NC_IdxExpr|NC_GenCol) != 0 {
- notValidImpl(tls, pParse, pNC, ts+8127, uintptr(0), pExpr)
+ notValidImpl(tls, pParse, pNC, ts+8135, uintptr(0), pExpr)
}
pRight = (*Expr)(unsafe.Pointer(pExpr)).FpRight
@@ -100960,7 +100957,7 @@ func resolveExprStep(tls *libc.TLS, pWalker uintptr, pExpr uintptr) int32 {
(*Expr)(unsafe.Pointer(pExpr)).FiTable = exprProbability(tls, (*ExprList_item)(unsafe.Pointer(pList+8+1*32)).FpExpr)
if (*Expr)(unsafe.Pointer(pExpr)).FiTable < 0 {
Xsqlite3ErrorMsg(tls, pParse,
- ts+8144, libc.VaList(bp, pExpr))
+ ts+8152, libc.VaList(bp, pExpr))
(*NameContext)(unsafe.Pointer(pNC)).FnNcErr++
}
} else {
@@ -100976,7 +100973,7 @@ func resolveExprStep(tls *libc.TLS, pWalker uintptr, pExpr uintptr) int32 {
var auth int32 = Xsqlite3AuthCheck(tls, pParse, SQLITE_FUNCTION, uintptr(0), (*FuncDef)(unsafe.Pointer(pDef)).FzName, uintptr(0))
if auth != SQLITE_OK {
if auth == SQLITE_DENY {
- Xsqlite3ErrorMsg(tls, pParse, ts+8208,
+ Xsqlite3ErrorMsg(tls, pParse, ts+8216,
libc.VaList(bp+8, pExpr))
(*NameContext)(unsafe.Pointer(pNC)).FnNcErr++
}
@@ -100990,7 +100987,7 @@ func resolveExprStep(tls *libc.TLS, pWalker uintptr, pExpr uintptr) int32 {
}
if (*FuncDef)(unsafe.Pointer(pDef)).FfuncFlags&U32(SQLITE_FUNC_CONSTANT) == U32(0) {
if (*NameContext)(unsafe.Pointer(pNC)).FncFlags&(NC_IdxExpr|NC_PartIdx|NC_GenCol) != 0 {
- notValidImpl(tls, pParse, pNC, ts+8244, uintptr(0), pExpr)
+ notValidImpl(tls, pParse, pNC, ts+8252, uintptr(0), pExpr)
}
} else {
@@ -101013,30 +101010,30 @@ func resolveExprStep(tls *libc.TLS, pWalker uintptr, pExpr uintptr) int32 {
if 0 == libc.Bool32(int32((*Parse)(unsafe.Pointer(pParse)).FeParseMode) >= PARSE_MODE_RENAME) {
if pDef != 0 && (*FuncDef)(unsafe.Pointer(pDef)).FxValue == uintptr(0) && pWin != 0 {
Xsqlite3ErrorMsg(tls, pParse,
- ts+8272, libc.VaList(bp+16, pExpr))
+ ts+8280, libc.VaList(bp+16, pExpr))
(*NameContext)(unsafe.Pointer(pNC)).FnNcErr++
} else if is_agg != 0 && (*NameContext)(unsafe.Pointer(pNC)).FncFlags&NC_AllowAgg == 0 ||
is_agg != 0 && (*FuncDef)(unsafe.Pointer(pDef)).FfuncFlags&U32(SQLITE_FUNC_WINDOW) != 0 && !(pWin != 0) ||
is_agg != 0 && pWin != 0 && (*NameContext)(unsafe.Pointer(pNC)).FncFlags&NC_AllowWin == 0 {
var zType uintptr
if (*FuncDef)(unsafe.Pointer(pDef)).FfuncFlags&U32(SQLITE_FUNC_WINDOW) != 0 || pWin != 0 {
- zType = ts + 8315
+ zType = ts + 8323
} else {
- zType = ts + 8322
+ zType = ts + 8330
}
- Xsqlite3ErrorMsg(tls, pParse, ts+8332, libc.VaList(bp+24, zType, pExpr))
+ Xsqlite3ErrorMsg(tls, pParse, ts+8340, libc.VaList(bp+24, zType, pExpr))
(*NameContext)(unsafe.Pointer(pNC)).FnNcErr++
is_agg = 0
} else if no_such_func != 0 && int32((*Sqlite3)(unsafe.Pointer((*Parse)(unsafe.Pointer(pParse)).Fdb)).Finit.Fbusy) == 0 {
- Xsqlite3ErrorMsg(tls, pParse, ts+8360, libc.VaList(bp+40, pExpr))
+ Xsqlite3ErrorMsg(tls, pParse, ts+8368, libc.VaList(bp+40, pExpr))
(*NameContext)(unsafe.Pointer(pNC)).FnNcErr++
} else if wrong_num_args != 0 {
- Xsqlite3ErrorMsg(tls, pParse, ts+8382,
+ Xsqlite3ErrorMsg(tls, pParse, ts+8390,
libc.VaList(bp+48, pExpr))
(*NameContext)(unsafe.Pointer(pNC)).FnNcErr++
} else if is_agg == 0 && (*Expr)(unsafe.Pointer(pExpr)).Fflags&U32(EP_WinFunc) != U32(0) {
Xsqlite3ErrorMsg(tls, pParse,
- ts+8426,
+ ts+8434,
libc.VaList(bp+56, pExpr))
(*NameContext)(unsafe.Pointer(pNC)).FnNcErr++
}
@@ -101108,15 +101105,15 @@ func resolveExprStep(tls *libc.TLS, pWalker uintptr, pExpr uintptr) int32 {
var nRef int32 = (*NameContext)(unsafe.Pointer(pNC)).FnRef
if (*NameContext)(unsafe.Pointer(pNC)).FncFlags&NC_SelfRef != 0 {
- notValidImpl(tls, pParse, pNC, ts+8474, pExpr, pExpr)
+ notValidImpl(tls, pParse, pNC, ts+8482, pExpr, pExpr)
} else {
Xsqlite3WalkSelect(tls, pWalker, *(*uintptr)(unsafe.Pointer(pExpr + 32)))
}
if nRef != (*NameContext)(unsafe.Pointer(pNC)).FnRef {
*(*U32)(unsafe.Pointer(pExpr + 4)) |= U32(EP_VarSelect)
- *(*int32)(unsafe.Pointer(pNC + 40)) |= NC_VarSelect
}
+ *(*int32)(unsafe.Pointer(pNC + 40)) |= NC_Subquery
}
break
@@ -101124,7 +101121,7 @@ func resolveExprStep(tls *libc.TLS, pWalker uintptr, pExpr uintptr) int32 {
case TK_VARIABLE:
{
if (*NameContext)(unsafe.Pointer(pNC)).FncFlags&(NC_IsCheck|NC_PartIdx|NC_IdxExpr|NC_GenCol) != 0 {
- notValidImpl(tls, pParse, pNC, ts+8485, pExpr, pExpr)
+ notValidImpl(tls, pParse, pNC, ts+8493, pExpr, pExpr)
}
break
@@ -101180,7 +101177,7 @@ func resolveExprStep(tls *libc.TLS, pWalker uintptr, pExpr uintptr) int32 {
nRight = Xsqlite3ExprVectorSize(tls, (*Expr)(unsafe.Pointer(pExpr)).FpRight)
}
if nLeft != nRight {
- Xsqlite3ErrorMsg(tls, pParse, ts+7885, 0)
+ Xsqlite3ErrorMsg(tls, pParse, ts+7904, 0)
Xsqlite3RecordErrorOffsetOfExpr(tls, (*Parse)(unsafe.Pointer(pParse)).Fdb, pExpr)
}
break
@@ -101255,7 +101252,7 @@ func resolveOutOfRangeError(tls *libc.TLS, pParse uintptr, zType uintptr, i int3
defer tls.Free(24)
Xsqlite3ErrorMsg(tls, pParse,
- ts+8496, libc.VaList(bp, i, zType, mx))
+ ts+8504, libc.VaList(bp, i, zType, mx))
Xsqlite3RecordErrorOffsetOfExpr(tls, (*Parse)(unsafe.Pointer(pParse)).Fdb, pError)
}
@@ -101275,7 +101272,7 @@ func resolveCompoundOrderBy(tls *libc.TLS, pParse uintptr, pSelect uintptr) int3
}
db = (*Parse)(unsafe.Pointer(pParse)).Fdb
if (*ExprList)(unsafe.Pointer(pOrderBy)).FnExpr > *(*int32)(unsafe.Pointer(db + 136 + 2*4)) {
- Xsqlite3ErrorMsg(tls, pParse, ts+8552, 0)
+ Xsqlite3ErrorMsg(tls, pParse, ts+8560, 0)
return 1
}
for i = 0; i < (*ExprList)(unsafe.Pointer(pOrderBy)).FnExpr; i++ {
@@ -101310,7 +101307,7 @@ func resolveCompoundOrderBy(tls *libc.TLS, pParse uintptr, pSelect uintptr) int3
}
if Xsqlite3ExprIsInteger(tls, pE, bp+8) != 0 {
if *(*int32)(unsafe.Pointer(bp + 8)) <= 0 || *(*int32)(unsafe.Pointer(bp + 8)) > (*ExprList)(unsafe.Pointer(pEList)).FnExpr {
- resolveOutOfRangeError(tls, pParse, ts+8586, i+1, (*ExprList)(unsafe.Pointer(pEList)).FnExpr, pE)
+ resolveOutOfRangeError(tls, pParse, ts+8594, i+1, (*ExprList)(unsafe.Pointer(pEList)).FnExpr, pE)
return 1
}
} else {
@@ -101367,7 +101364,7 @@ func resolveCompoundOrderBy(tls *libc.TLS, pParse uintptr, pSelect uintptr) int3
for i = 0; i < (*ExprList)(unsafe.Pointer(pOrderBy)).FnExpr; i++ {
if int32(*(*uint16)(unsafe.Pointer(pOrderBy + 8 + uintptr(i)*32 + 16 + 4))&0x4>>2) == 0 {
Xsqlite3ErrorMsg(tls, pParse,
- ts+8592, libc.VaList(bp, i+1))
+ ts+8600, libc.VaList(bp, i+1))
return 1
}
}
@@ -101395,7 +101392,7 @@ func Xsqlite3ResolveOrderGroupBy(tls *libc.TLS, pParse uintptr, pSelect uintptr,
return 0
}
if (*ExprList)(unsafe.Pointer(pOrderBy)).FnExpr > *(*int32)(unsafe.Pointer(db + 136 + 2*4)) {
- Xsqlite3ErrorMsg(tls, pParse, ts+8653, libc.VaList(bp, zType))
+ Xsqlite3ErrorMsg(tls, pParse, ts+8661, libc.VaList(bp, zType))
return 1
}
pEList = (*Select)(unsafe.Pointer(pSelect)).FpEList
@@ -101609,7 +101606,7 @@ func resolveSelectStep(tls *libc.TLS, pWalker uintptr, p uintptr) int32 {
*(*int32)(unsafe.Pointer(bp + 40)) |= NC_UEList
if (*Select)(unsafe.Pointer(p)).FpHaving != 0 {
if (*Select)(unsafe.Pointer(p)).FselFlags&U32(SF_Aggregate) == U32(0) {
- Xsqlite3ErrorMsg(tls, pParse, ts+8684, 0)
+ Xsqlite3ErrorMsg(tls, pParse, ts+8692, 0)
return WRC_Abort
}
if Xsqlite3ResolveExprNames(tls, bp, (*Select)(unsafe.Pointer(p)).FpHaving) != 0 {
@@ -101649,7 +101646,7 @@ func resolveSelectStep(tls *libc.TLS, pWalker uintptr, p uintptr) int32 {
if (*Select)(unsafe.Pointer(p)).FpOrderBy != uintptr(0) &&
isCompound <= nCompound &&
- resolveOrderGroupBy(tls, bp, p, (*Select)(unsafe.Pointer(p)).FpOrderBy, ts+8586) != 0 {
+ resolveOrderGroupBy(tls, bp, p, (*Select)(unsafe.Pointer(p)).FpOrderBy, ts+8594) != 0 {
return WRC_Abort
}
if (*Sqlite3)(unsafe.Pointer(db)).FmallocFailed != 0 {
@@ -101660,7 +101657,7 @@ func resolveSelectStep(tls *libc.TLS, pWalker uintptr, p uintptr) int32 {
if pGroupBy != 0 {
var pItem uintptr
- if resolveOrderGroupBy(tls, bp, p, pGroupBy, ts+8723) != 0 || (*Sqlite3)(unsafe.Pointer(db)).FmallocFailed != 0 {
+ if resolveOrderGroupBy(tls, bp, p, pGroupBy, ts+8731) != 0 || (*Sqlite3)(unsafe.Pointer(db)).FmallocFailed != 0 {
return WRC_Abort
}
i = 0
@@ -101672,7 +101669,7 @@ func resolveSelectStep(tls *libc.TLS, pWalker uintptr, p uintptr) int32 {
{
if (*Expr)(unsafe.Pointer((*ExprList_item)(unsafe.Pointer(pItem)).FpExpr)).Fflags&U32(EP_Agg) != U32(0) {
Xsqlite3ErrorMsg(tls, pParse,
- ts+8729, 0)
+ ts+8737, 0)
return WRC_Abort
}
@@ -102461,7 +102458,7 @@ func codeVectorCompare(tls *libc.TLS, pParse uintptr, pExpr uintptr, dest int32,
return
}
if nLeft != Xsqlite3ExprVectorSize(tls, pRight) {
- Xsqlite3ErrorMsg(tls, pParse, ts+7885, 0)
+ Xsqlite3ErrorMsg(tls, pParse, ts+7904, 0)
return
}
@@ -102536,7 +102533,7 @@ func Xsqlite3ExprCheckHeight(tls *libc.TLS, pParse uintptr, nHeight int32) int32
var mxHeight int32 = *(*int32)(unsafe.Pointer((*Parse)(unsafe.Pointer(pParse)).Fdb + 136 + 3*4))
if nHeight > mxHeight {
Xsqlite3ErrorMsg(tls, pParse,
- ts+8788, libc.VaList(bp, mxHeight))
+ ts+8796, libc.VaList(bp, mxHeight))
rc = SQLITE_ERROR
}
return rc
@@ -102785,12 +102782,12 @@ func Xsqlite3ExprListToValues(tls *libc.TLS, pParse uintptr, nElem int32, pEList
nExprElem = 1
}
if nExprElem != nElem {
- Xsqlite3ErrorMsg(tls, pParse, ts+8836,
+ Xsqlite3ErrorMsg(tls, pParse, ts+8844,
libc.VaList(bp, nExprElem, func() uintptr {
if nExprElem > 1 {
- return ts + 8880
+ return ts + 8888
}
- return ts + 1544
+ return ts + 1563
}(), nElem))
break
}
@@ -102829,7 +102826,7 @@ func Xsqlite3ExprAnd(tls *libc.TLS, pParse uintptr, pLeft uintptr, pRight uintpt
!(int32((*Parse)(unsafe.Pointer(pParse)).FeParseMode) >= PARSE_MODE_RENAME) {
Xsqlite3ExprDeferredDelete(tls, pParse, pLeft)
Xsqlite3ExprDeferredDelete(tls, pParse, pRight)
- return Xsqlite3Expr(tls, db, TK_INTEGER, ts+8882)
+ return Xsqlite3Expr(tls, db, TK_INTEGER, ts+8890)
} else {
return Xsqlite3PExpr(tls, pParse, TK_AND, pLeft, pRight)
}
@@ -102855,7 +102852,7 @@ func Xsqlite3ExprFunction(tls *libc.TLS, pParse uintptr, pList uintptr, pToken u
if pList != 0 &&
(*ExprList)(unsafe.Pointer(pList)).FnExpr > *(*int32)(unsafe.Pointer((*Parse)(unsafe.Pointer(pParse)).Fdb + 136 + 6*4)) &&
!(int32((*Parse)(unsafe.Pointer(pParse)).Fnested) != 0) {
- Xsqlite3ErrorMsg(tls, pParse, ts+8884, libc.VaList(bp, pToken))
+ Xsqlite3ErrorMsg(tls, pParse, ts+8892, libc.VaList(bp, pToken))
}
*(*uintptr)(unsafe.Pointer(pNew + 32)) = pList
*(*U32)(unsafe.Pointer(pNew + 4)) |= U32(EP_HasFunc)
@@ -102883,7 +102880,7 @@ func Xsqlite3ExprFunctionUsable(tls *libc.TLS, pParse uintptr, pExpr uintptr, pD
if (*Expr)(unsafe.Pointer(pExpr)).Fflags&U32(EP_FromDDL) != U32(0) {
if (*FuncDef)(unsafe.Pointer(pDef)).FfuncFlags&U32(SQLITE_FUNC_DIRECT) != U32(0) ||
(*Sqlite3)(unsafe.Pointer((*Parse)(unsafe.Pointer(pParse)).Fdb)).Fflags&uint64(SQLITE_TrustedSchema) == uint64(0) {
- Xsqlite3ErrorMsg(tls, pParse, ts+8918, libc.VaList(bp, pExpr))
+ Xsqlite3ErrorMsg(tls, pParse, ts+8926, libc.VaList(bp, pExpr))
}
}
}
@@ -102930,7 +102927,7 @@ func Xsqlite3ExprAssignVarNumber(tls *libc.TLS, pParse uintptr, pExpr uintptr, n
}
if bOk == 0 || *(*I64)(unsafe.Pointer(bp + 8)) < int64(1) || *(*I64)(unsafe.Pointer(bp + 8)) > I64(*(*int32)(unsafe.Pointer(db + 136 + 9*4))) {
- Xsqlite3ErrorMsg(tls, pParse, ts+8938,
+ Xsqlite3ErrorMsg(tls, pParse, ts+8946,
libc.VaList(bp, *(*int32)(unsafe.Pointer(db + 136 + 9*4))))
Xsqlite3RecordErrorOffsetOfExpr(tls, (*Parse)(unsafe.Pointer(pParse)).Fdb, pExpr)
return
@@ -102955,7 +102952,7 @@ func Xsqlite3ExprAssignVarNumber(tls *libc.TLS, pParse uintptr, pExpr uintptr, n
}
(*Expr)(unsafe.Pointer(pExpr)).FiColumn = x
if int32(x) > *(*int32)(unsafe.Pointer(db + 136 + 9*4)) {
- Xsqlite3ErrorMsg(tls, pParse, ts+8981, 0)
+ Xsqlite3ErrorMsg(tls, pParse, ts+8989, 0)
Xsqlite3RecordErrorOffsetOfExpr(tls, (*Parse)(unsafe.Pointer(pParse)).Fdb, pExpr)
}
}
@@ -103530,7 +103527,7 @@ __2:
if !(int32((*Expr)(unsafe.Pointer(pExpr)).Fop) != TK_SELECT && (*IdList)(unsafe.Pointer(pColumns)).FnId != libc.AssignInt32(&n, Xsqlite3ExprVectorSize(tls, pExpr))) {
goto __3
}
- Xsqlite3ErrorMsg(tls, pParse, ts+9004,
+ Xsqlite3ErrorMsg(tls, pParse, ts+9012,
libc.VaList(bp, (*IdList)(unsafe.Pointer(pColumns)).FnId, n))
goto vector_append_error
__3:
@@ -103653,7 +103650,7 @@ func Xsqlite3ExprListCheckLength(tls *libc.TLS, pParse uintptr, pEList uintptr,
var mx int32 = *(*int32)(unsafe.Pointer((*Parse)(unsafe.Pointer(pParse)).Fdb + 136 + 2*4))
if pEList != 0 && (*ExprList)(unsafe.Pointer(pEList)).FnExpr > mx {
- Xsqlite3ErrorMsg(tls, pParse, ts+9034, libc.VaList(bp, zObject))
+ Xsqlite3ErrorMsg(tls, pParse, ts+9042, libc.VaList(bp, zObject))
}
}
@@ -103709,10 +103706,10 @@ func Xsqlite3SelectWalkFail(tls *libc.TLS, pWalker uintptr, NotUsed uintptr) int
// "false" EP_IsFalse
// anything else 0
func Xsqlite3IsTrueOrFalse(tls *libc.TLS, zIn uintptr) U32 {
- if Xsqlite3StrICmp(tls, zIn, ts+8116) == 0 {
+ if Xsqlite3StrICmp(tls, zIn, ts+9065) == 0 {
return U32(EP_IsTrue)
}
- if Xsqlite3StrICmp(tls, zIn, ts+8121) == 0 {
+ if Xsqlite3StrICmp(tls, zIn, ts+9070) == 0 {
return U32(EP_IsFalse)
}
return U32(0)
@@ -104142,13 +104139,13 @@ func Xsqlite3ExprNeedsNoAffinityChange(tls *libc.TLS, p uintptr, aff int8) int32
// Return TRUE if the given string is a row-id column name.
func Xsqlite3IsRowid(tls *libc.TLS, z uintptr) int32 {
- if Xsqlite3StrICmp(tls, z, ts+9057) == 0 {
+ if Xsqlite3StrICmp(tls, z, ts+9076) == 0 {
return 1
}
- if Xsqlite3StrICmp(tls, z, ts+9065) == 0 {
+ if Xsqlite3StrICmp(tls, z, ts+9084) == 0 {
return 1
}
- if Xsqlite3StrICmp(tls, z, ts+9071) == 0 {
+ if Xsqlite3StrICmp(tls, z, ts+9090) == 0 {
return 1
}
return 0
@@ -104352,7 +104349,7 @@ func Xsqlite3FindInIndex(tls *libc.TLS, pParse uintptr, pX uintptr, inFlags U32,
Xsqlite3OpenTable(tls, pParse, iTab, iDb, pTab, OP_OpenRead)
eType = IN_INDEX_ROWID
- Xsqlite3VdbeExplain(tls, pParse, uint8(0), ts+9075, libc.VaList(bp, (*Table)(unsafe.Pointer(pTab)).FzName))
+ Xsqlite3VdbeExplain(tls, pParse, uint8(0), ts+9094, libc.VaList(bp, (*Table)(unsafe.Pointer(pTab)).FzName))
Xsqlite3VdbeJumpHere(tls, v, iAddr)
} else {
var pIdx uintptr
@@ -104430,7 +104427,7 @@ func Xsqlite3FindInIndex(tls *libc.TLS, pParse uintptr, pX uintptr, inFlags U32,
if colUsed == uint64(1)<<nExpr-uint64(1) {
var iAddr int32 = Xsqlite3VdbeAddOp0(tls, v, OP_Once)
- Xsqlite3VdbeExplain(tls, pParse, uint8(0), ts+9122, libc.VaList(bp+8, (*Index)(unsafe.Pointer(pIdx)).FzName))
+ Xsqlite3VdbeExplain(tls, pParse, uint8(0), ts+9141, libc.VaList(bp+8, (*Index)(unsafe.Pointer(pIdx)).FzName))
Xsqlite3VdbeAddOp3(tls, v, OP_OpenRead, iTab, int32((*Index)(unsafe.Pointer(pIdx)).Ftnum), iDb)
Xsqlite3VdbeSetP4KeyInfo(tls, pParse, pIdx)
@@ -104524,7 +104521,7 @@ func Xsqlite3SubselectError(tls *libc.TLS, pParse uintptr, nActual int32, nExpec
defer tls.Free(16)
if (*Parse)(unsafe.Pointer(pParse)).FnErr == 0 {
- var zFmt uintptr = ts + 9153
+ var zFmt uintptr = ts + 9172
Xsqlite3ErrorMsg(tls, pParse, zFmt, libc.VaList(bp, nActual, nExpect))
}
}
@@ -104542,7 +104539,7 @@ func Xsqlite3VectorErrorMsg(tls *libc.TLS, pParse uintptr, pExpr uintptr) {
if (*Expr)(unsafe.Pointer(pExpr)).Fflags&U32(EP_xIsSelect) != U32(0) {
Xsqlite3SubselectError(tls, pParse, (*ExprList)(unsafe.Pointer((*Select)(unsafe.Pointer(*(*uintptr)(unsafe.Pointer(pExpr + 32)))).FpEList)).FnExpr, 1)
} else {
- Xsqlite3ErrorMsg(tls, pParse, ts+7885, 0)
+ Xsqlite3ErrorMsg(tls, pParse, ts+7904, 0)
}
}
@@ -104583,7 +104580,7 @@ func Xsqlite3CodeRhsOfIN(tls *libc.TLS, pParse uintptr, pExpr uintptr, iTab int3
if (*Expr)(unsafe.Pointer(pExpr)).Fflags&U32(EP_Subrtn) != U32(0) {
addrOnce = Xsqlite3VdbeAddOp0(tls, v, OP_Once)
if (*Expr)(unsafe.Pointer(pExpr)).Fflags&U32(EP_xIsSelect) != U32(0) {
- Xsqlite3VdbeExplain(tls, pParse, uint8(0), ts+9197, libc.VaList(bp, (*Select)(unsafe.Pointer(*(*uintptr)(unsafe.Pointer(pExpr + 32)))).FselId))
+ Xsqlite3VdbeExplain(tls, pParse, uint8(0), ts+9216, libc.VaList(bp, (*Select)(unsafe.Pointer(*(*uintptr)(unsafe.Pointer(pExpr + 32)))).FselId))
}
Xsqlite3VdbeAddOp2(tls, v, OP_Gosub, *(*int32)(unsafe.Pointer(pExpr + 64 + 4)),
@@ -104613,11 +104610,11 @@ func Xsqlite3CodeRhsOfIN(tls *libc.TLS, pParse uintptr, pExpr uintptr, iTab int3
var pSelect uintptr = *(*uintptr)(unsafe.Pointer(pExpr + 32))
var pEList uintptr = (*Select)(unsafe.Pointer(pSelect)).FpEList
- Xsqlite3VdbeExplain(tls, pParse, uint8(1), ts+9220, libc.VaList(bp+8, func() uintptr {
+ Xsqlite3VdbeExplain(tls, pParse, uint8(1), ts+9239, libc.VaList(bp+8, func() uintptr {
if addrOnce != 0 {
- return ts + 1544
+ return ts + 1563
}
- return ts + 9239
+ return ts + 9258
}(), (*Select)(unsafe.Pointer(pSelect)).FselId))
if (*ExprList)(unsafe.Pointer(pEList)).FnExpr == nVal {
@@ -104744,7 +104741,7 @@ func Xsqlite3CodeSubselect(tls *libc.TLS, pParse uintptr, pExpr uintptr) int32 {
pSel = *(*uintptr)(unsafe.Pointer(pExpr + 32))
if (*Expr)(unsafe.Pointer(pExpr)).Fflags&U32(EP_Subrtn) != U32(0) {
- Xsqlite3VdbeExplain(tls, pParse, uint8(0), ts+9251, libc.VaList(bp, (*Select)(unsafe.Pointer(pSel)).FselId))
+ Xsqlite3VdbeExplain(tls, pParse, uint8(0), ts+9270, libc.VaList(bp, (*Select)(unsafe.Pointer(pSel)).FselId))
Xsqlite3VdbeAddOp2(tls, v, OP_Gosub, *(*int32)(unsafe.Pointer(pExpr + 64 + 4)),
*(*int32)(unsafe.Pointer(pExpr + 64)))
@@ -104759,11 +104756,11 @@ func Xsqlite3CodeSubselect(tls *libc.TLS, pParse uintptr, pExpr uintptr) int32 {
addrOnce = Xsqlite3VdbeAddOp0(tls, v, OP_Once)
}
- Xsqlite3VdbeExplain(tls, pParse, uint8(1), ts+9269, libc.VaList(bp+8, func() uintptr {
+ Xsqlite3VdbeExplain(tls, pParse, uint8(1), ts+9288, libc.VaList(bp+8, func() uintptr {
if addrOnce != 0 {
- return ts + 1544
+ return ts + 1563
}
- return ts + 9239
+ return ts + 9258
}(), (*Select)(unsafe.Pointer(pSel)).FselId))
if int32((*Expr)(unsafe.Pointer(pExpr)).Fop) == TK_SELECT {
@@ -104786,7 +104783,7 @@ func Xsqlite3CodeSubselect(tls *libc.TLS, pParse uintptr, pExpr uintptr) int32 {
}
if (*Select)(unsafe.Pointer(pSel)).FpLimit != 0 {
var db uintptr = (*Parse)(unsafe.Pointer(pParse)).Fdb
- pLimit = Xsqlite3Expr(tls, db, TK_INTEGER, ts+8882)
+ pLimit = Xsqlite3Expr(tls, db, TK_INTEGER, ts+8890)
if pLimit != 0 {
(*Expr)(unsafe.Pointer(pLimit)).FaffExpr = int8(SQLITE_AFF_NUMERIC)
pLimit = Xsqlite3PExpr(tls, pParse, TK_NE,
@@ -104795,7 +104792,7 @@ func Xsqlite3CodeSubselect(tls *libc.TLS, pParse uintptr, pExpr uintptr) int32 {
Xsqlite3ExprDeferredDelete(tls, pParse, (*Expr)(unsafe.Pointer((*Select)(unsafe.Pointer(pSel)).FpLimit)).FpLeft)
(*Expr)(unsafe.Pointer((*Select)(unsafe.Pointer(pSel)).FpLimit)).FpLeft = pLimit
} else {
- pLimit = Xsqlite3Expr(tls, (*Parse)(unsafe.Pointer(pParse)).Fdb, TK_INTEGER, ts+9290)
+ pLimit = Xsqlite3Expr(tls, (*Parse)(unsafe.Pointer(pParse)).Fdb, TK_INTEGER, ts+9309)
(*Select)(unsafe.Pointer(pSel)).FpLimit = Xsqlite3PExpr(tls, pParse, TK_LIMIT, pLimit, uintptr(0))
}
(*Select)(unsafe.Pointer(pSel)).FiLimit = 0
@@ -105181,13 +105178,13 @@ func codeInteger(tls *libc.TLS, pParse uintptr, pExpr uintptr, negFlag int32, iM
c = Xsqlite3DecOrHexToI64(tls, z, bp+16)
if c == 3 && !(negFlag != 0) || c == 2 || negFlag != 0 && *(*I64)(unsafe.Pointer(bp + 16)) == int64(-1)-(int64(0xffffffff)|int64(0x7fffffff)<<32) {
- if Xsqlite3_strnicmp(tls, z, ts+9292, 2) == 0 {
- Xsqlite3ErrorMsg(tls, pParse, ts+9295,
+ if Xsqlite3_strnicmp(tls, z, ts+9311, 2) == 0 {
+ Xsqlite3ErrorMsg(tls, pParse, ts+9314,
libc.VaList(bp, func() uintptr {
if negFlag != 0 {
- return ts + 6284
+ return ts + 6303
}
- return ts + 1544
+ return ts + 1563
}(), pExpr))
} else {
codeReal(tls, v, z, negFlag, iMem)
@@ -105224,6 +105221,7 @@ func Xsqlite3ExprCodeLoadIndexColumn(tls *libc.TLS, pParse uintptr, pIdx uintptr
func Xsqlite3ExprCodeGeneratedColumn(tls *libc.TLS, pParse uintptr, pTab uintptr, pCol uintptr, regOut int32) {
var iAddr int32
var v uintptr = (*Parse)(unsafe.Pointer(pParse)).FpVdbe
+ var nErr int32 = (*Parse)(unsafe.Pointer(pParse)).FnErr
if (*Parse)(unsafe.Pointer(pParse)).FiSelfTab > 0 {
iAddr = Xsqlite3VdbeAddOp3(tls, v, OP_IfNullRow, (*Parse)(unsafe.Pointer(pParse)).FiSelfTab-1, 0, regOut)
@@ -105237,6 +105235,9 @@ func Xsqlite3ExprCodeGeneratedColumn(tls *libc.TLS, pParse uintptr, pTab uintptr
if iAddr != 0 {
Xsqlite3VdbeJumpHere(tls, v, iAddr)
}
+ if (*Parse)(unsafe.Pointer(pParse)).FnErr > nErr {
+ (*Sqlite3)(unsafe.Pointer((*Parse)(unsafe.Pointer(pParse)).Fdb)).FerrByteOffset = -1
+ }
}
// Generate code to extract the value of the iCol-th column of a table.
@@ -105258,7 +105259,7 @@ func Xsqlite3ExprCodeGetColumnOfTable(tls *libc.TLS, v uintptr, pTab uintptr, iT
} else if int32((*Column)(unsafe.Pointer(libc.AssignUintptr(&pCol, (*Table)(unsafe.Pointer(pTab)).FaCol+uintptr(iCol)*24))).FcolFlags)&COLFLAG_VIRTUAL != 0 {
var pParse uintptr = Xsqlite3VdbeParser(tls, v)
if int32((*Column)(unsafe.Pointer(pCol)).FcolFlags)&COLFLAG_BUSY != 0 {
- Xsqlite3ErrorMsg(tls, pParse, ts+9322,
+ Xsqlite3ErrorMsg(tls, pParse, ts+9341,
libc.VaList(bp, (*Column)(unsafe.Pointer(pCol)).FzCnName))
} else {
var savedSelfTab int32 = (*Parse)(unsafe.Pointer(pParse)).FiSelfTab
@@ -105431,8 +105432,8 @@ func exprCodeInlineFunction(tls *libc.TLS, pParse uintptr, pFarg uintptr, iFuncI
case INLINEFUNC_affinity:
{
- *(*[6]uintptr)(unsafe.Pointer(bp + 72)) = [6]uintptr{ts + 9352, ts + 9357, ts + 9362, ts + 7543,
- ts + 7538, ts + 9370}
+ *(*[6]uintptr)(unsafe.Pointer(bp + 72)) = [6]uintptr{ts + 9371, ts + 9376, ts + 9381, ts + 7562,
+ ts + 7557, ts + 9389}
var aff int8
aff = Xsqlite3ExprAffinity(tls, (*ExprList_item)(unsafe.Pointer(pFarg+8)).FpExpr)
@@ -105440,7 +105441,7 @@ func exprCodeInlineFunction(tls *libc.TLS, pParse uintptr, pFarg uintptr, iFuncI
Xsqlite3VdbeLoadString(tls, v, target,
func() uintptr {
if int32(aff) <= SQLITE_AFF_NONE {
- return ts + 9378
+ return ts + 9397
}
return *(*uintptr)(unsafe.Pointer(bp + 72 + uintptr(int32(aff)-SQLITE_AFF_BLOB)*8))
}())
@@ -105455,6 +105456,7 @@ func sqlite3IndexedExprLookup(tls *libc.TLS, pParse uintptr, pExpr uintptr, targ
var p uintptr
var v uintptr
for p = (*Parse)(unsafe.Pointer(pParse)).FpIdxEpr; p != 0; p = (*IndexedExpr)(unsafe.Pointer(p)).FpIENext {
+ var exprAff U8
var iDataCur int32 = (*IndexedExpr)(unsafe.Pointer(p)).FiDataCur
if iDataCur < 0 {
continue
@@ -105468,6 +105470,14 @@ func sqlite3IndexedExprLookup(tls *libc.TLS, pParse uintptr, pExpr uintptr, targ
if Xsqlite3ExprCompare(tls, uintptr(0), pExpr, (*IndexedExpr)(unsafe.Pointer(p)).FpExpr, iDataCur) != 0 {
continue
}
+
+ exprAff = U8(Xsqlite3ExprAffinity(tls, pExpr))
+ if int32(exprAff) <= SQLITE_AFF_BLOB && int32((*IndexedExpr)(unsafe.Pointer(p)).Faff) != SQLITE_AFF_BLOB ||
+ int32(exprAff) == SQLITE_AFF_TEXT && int32((*IndexedExpr)(unsafe.Pointer(p)).Faff) != SQLITE_AFF_TEXT ||
+ int32(exprAff) >= SQLITE_AFF_NUMERIC && int32((*IndexedExpr)(unsafe.Pointer(p)).Faff) != SQLITE_AFF_NUMERIC {
+ continue
+ }
+
v = (*Parse)(unsafe.Pointer(pParse)).FpVdbe
if (*IndexedExpr)(unsafe.Pointer(p)).FbMaybeNullRow != 0 {
@@ -105807,7 +105817,7 @@ __73:
if !(int32((*Column)(unsafe.Pointer(pCol1)).FcolFlags)&COLFLAG_BUSY != 0) {
goto __76
}
- Xsqlite3ErrorMsg(tls, pParse, ts+9322,
+ Xsqlite3ErrorMsg(tls, pParse, ts+9341,
libc.VaList(bp, (*Column)(unsafe.Pointer(pCol1)).FzCnName))
return 0
__76:
@@ -106040,7 +106050,7 @@ __43:
goto __90
}
- Xsqlite3ErrorMsg(tls, pParse, ts+9383, libc.VaList(bp+8, pExpr))
+ Xsqlite3ErrorMsg(tls, pParse, ts+9402, libc.VaList(bp+8, pExpr))
goto __91
__90:
return func() int32 {
@@ -106081,7 +106091,7 @@ __93:
if !(pDef == uintptr(0) || (*FuncDef)(unsafe.Pointer(pDef)).FxFinalize != uintptr(0)) {
goto __94
}
- Xsqlite3ErrorMsg(tls, pParse, ts+9410, libc.VaList(bp+16, pExpr))
+ Xsqlite3ErrorMsg(tls, pParse, ts+9429, libc.VaList(bp+16, pExpr))
goto __5
__94:
;
@@ -106241,7 +106251,7 @@ __121:
if !((*Expr)(unsafe.Pointer(pExpr)).FiTable != n1) {
goto __122
}
- Xsqlite3ErrorMsg(tls, pParse, ts+9004,
+ Xsqlite3ErrorMsg(tls, pParse, ts+9012,
libc.VaList(bp+24, (*Expr)(unsafe.Pointer(pExpr)).FiTable, n1))
__122:
;
@@ -106263,11 +106273,10 @@ __49:
return target
__50:
- if !(!((*Expr)(unsafe.Pointer(pExpr)).Fflags&U32(EP_Collate) != U32(0)) &&
- (*Expr)(unsafe.Pointer(pExpr)).FpLeft != 0 &&
- int32((*Expr)(unsafe.Pointer((*Expr)(unsafe.Pointer(pExpr)).FpLeft)).Fop) == TK_FUNCTION) {
+ if !!((*Expr)(unsafe.Pointer(pExpr)).Fflags&U32(EP_Collate) != U32(0)) {
goto __123
}
+
inReg = Xsqlite3ExprCodeTarget(tls, pParse, (*Expr)(unsafe.Pointer(pExpr)).FpLeft, target)
if !(inReg != target) {
goto __125
@@ -106307,7 +106316,7 @@ __126:
goto __5
__54:
- Xsqlite3ErrorMsg(tls, pParse, ts+7885, 0)
+ Xsqlite3ErrorMsg(tls, pParse, ts+7904, 0)
goto __5
__55:
@@ -106338,13 +106347,19 @@ __129:
;
__127:
;
- addrINR = Xsqlite3VdbeAddOp1(tls, v, OP_IfNullRow, (*Expr)(unsafe.Pointer(pExpr)).FiTable)
+ addrINR = Xsqlite3VdbeAddOp3(tls, v, OP_IfNullRow, (*Expr)(unsafe.Pointer(pExpr)).FiTable, 0, target)
(*Parse)(unsafe.Pointer(pParse)).FokConstFactor = U8(0)
inReg = Xsqlite3ExprCodeTarget(tls, pParse, (*Expr)(unsafe.Pointer(pExpr)).FpLeft, target)
(*Parse)(unsafe.Pointer(pParse)).FokConstFactor = okConstFactor
+ if !(inReg != target) {
+ goto __130
+ }
+ Xsqlite3VdbeAddOp2(tls, v, OP_SCopy, inReg, target)
+ inReg = target
+__130:
+ ;
Xsqlite3VdbeJumpHere(tls, v, addrINR)
- Xsqlite3VdbeChangeP3(tls, v, addrINR, inReg)
goto __5
__56:
@@ -106357,15 +106372,15 @@ __56:
nExpr = (*ExprList)(unsafe.Pointer(pEList)).FnExpr
endLabel = Xsqlite3VdbeMakeLabel(tls, pParse)
if !(libc.AssignUintptr(&pX, (*Expr)(unsafe.Pointer(pExpr)).FpLeft) != uintptr(0)) {
- goto __130
+ goto __131
}
pDel = Xsqlite3ExprDup(tls, db1, pX, 0)
if !((*Sqlite3)(unsafe.Pointer(db1)).FmallocFailed != 0) {
- goto __131
+ goto __132
}
Xsqlite3ExprDelete(tls, db1, pDel)
goto __5
-__131:
+__132:
;
exprToRegister(tls, pDel, exprCodeVector(tls, pParse, pDel, bp+40))
@@ -106375,22 +106390,22 @@ __131:
pTest = bp + 120
*(*int32)(unsafe.Pointer(bp + 40)) = 0
-__130:
+__131:
;
i1 = 0
-__132:
+__133:
if !(i1 < nExpr-1) {
- goto __134
+ goto __135
}
if !(pX != 0) {
- goto __135
+ goto __136
}
(*Expr)(unsafe.Pointer(bp + 120)).FpRight = (*ExprList_item)(unsafe.Pointer(aListelem + uintptr(i1)*32)).FpExpr
- goto __136
-__135:
- pTest = (*ExprList_item)(unsafe.Pointer(aListelem + uintptr(i1)*32)).FpExpr
+ goto __137
__136:
+ pTest = (*ExprList_item)(unsafe.Pointer(aListelem + uintptr(i1)*32)).FpExpr
+__137:
;
nextCase = Xsqlite3VdbeMakeLabel(tls, pParse)
@@ -106399,21 +106414,21 @@ __136:
Xsqlite3ExprCode(tls, pParse, (*ExprList_item)(unsafe.Pointer(aListelem+uintptr(i1+1)*32)).FpExpr, target)
Xsqlite3VdbeGoto(tls, v, endLabel)
Xsqlite3VdbeResolveLabel(tls, v, nextCase)
- goto __133
-__133:
- i1 = i1 + 2
- goto __132
goto __134
__134:
+ i1 = i1 + 2
+ goto __133
+ goto __135
+__135:
;
if !(nExpr&1 != 0) {
- goto __137
+ goto __138
}
Xsqlite3ExprCode(tls, pParse, (*ExprList_item)(unsafe.Pointer(pEList+8+uintptr(nExpr-1)*32)).FpExpr, target)
- goto __138
-__137:
- Xsqlite3VdbeAddOp2(tls, v, OP_Null, 0, target)
+ goto __139
__138:
+ Xsqlite3VdbeAddOp2(tls, v, OP_Null, 0, target)
+__139:
;
Xsqlite3ExprDelete(tls, db1, pDel)
setDoNotMergeFlagOnCopy(tls, v)
@@ -106423,27 +106438,27 @@ __138:
__57:
;
if !(!(int32((*Parse)(unsafe.Pointer(pParse)).FpTriggerTab) != 0) && !(int32((*Parse)(unsafe.Pointer(pParse)).Fnested) != 0)) {
- goto __139
+ goto __140
}
Xsqlite3ErrorMsg(tls, pParse,
- ts+9434, 0)
+ ts+9453, 0)
return 0
-__139:
+__140:
;
if !(int32((*Expr)(unsafe.Pointer(pExpr)).FaffExpr) == OE_Abort) {
- goto __140
+ goto __141
}
Xsqlite3MayAbort(tls, pParse)
-__140:
+__141:
;
if !(int32((*Expr)(unsafe.Pointer(pExpr)).FaffExpr) == OE_Ignore) {
- goto __141
+ goto __142
}
Xsqlite3VdbeAddOp4(tls,
v, OP_Halt, SQLITE_OK, OE_Ignore, 0, *(*uintptr)(unsafe.Pointer(pExpr + 8)), 0)
- goto __142
-__141:
+ goto __143
+__142:
Xsqlite3HaltConstraint(tls, pParse,
func() int32 {
if (*Parse)(unsafe.Pointer(pParse)).FpTriggerTab != 0 {
@@ -106452,7 +106467,7 @@ __141:
return SQLITE_ERROR
}(),
int32((*Expr)(unsafe.Pointer(pExpr)).FaffExpr), *(*uintptr)(unsafe.Pointer(pExpr + 8)), int8(0), uint8(0))
-__142:
+__143:
;
goto __5
@@ -106463,7 +106478,7 @@ __5:
return inReg
}
-var zAff = *(*[10]int8)(unsafe.Pointer(ts + 9484))
+var zAff = *(*[10]int8)(unsafe.Pointer(ts + 9503))
// Generate code that will evaluate expression pExpr just one time
// per prepared statement execution.
@@ -108252,11 +108267,11 @@ func isAlterableTable(tls *libc.TLS, pParse uintptr, pTab uintptr) int32 {
bp := tls.Alloc(8)
defer tls.Free(8)
- if 0 == Xsqlite3_strnicmp(tls, (*Table)(unsafe.Pointer(pTab)).FzName, ts+7733, 7) ||
+ if 0 == Xsqlite3_strnicmp(tls, (*Table)(unsafe.Pointer(pTab)).FzName, ts+7752, 7) ||
(*Table)(unsafe.Pointer(pTab)).FtabFlags&U32(TF_Eponymous) != U32(0) ||
(*Table)(unsafe.Pointer(pTab)).FtabFlags&U32(TF_Shadow) != U32(0) &&
Xsqlite3ReadOnlyShadowTables(tls, (*Parse)(unsafe.Pointer(pParse)).Fdb) != 0 {
- Xsqlite3ErrorMsg(tls, pParse, ts+9494, libc.VaList(bp, (*Table)(unsafe.Pointer(pTab)).FzName))
+ Xsqlite3ErrorMsg(tls, pParse, ts+9513, libc.VaList(bp, (*Table)(unsafe.Pointer(pTab)).FzName))
return 1
}
return 0
@@ -108268,13 +108283,13 @@ func renameTestSchema(tls *libc.TLS, pParse uintptr, zDb uintptr, bTemp int32, z
(*Parse)(unsafe.Pointer(pParse)).FcolNamesSet = U8(1)
Xsqlite3NestedParse(tls, pParse,
- ts+9522,
+ ts+9541,
libc.VaList(bp, zDb,
zDb, bTemp, zWhen, bNoDQS))
if bTemp == 0 {
Xsqlite3NestedParse(tls, pParse,
- ts+9697,
+ ts+9716,
libc.VaList(bp+40, zDb, zWhen, bNoDQS))
}
}
@@ -108284,10 +108299,10 @@ func renameFixQuotes(tls *libc.TLS, pParse uintptr, zDb uintptr, bTemp int32) {
defer tls.Free(16)
Xsqlite3NestedParse(tls, pParse,
- ts+9871, libc.VaList(bp, zDb, zDb))
+ ts+9890, libc.VaList(bp, zDb, zDb))
if bTemp == 0 {
Xsqlite3NestedParse(tls, pParse,
- ts+10018, 0)
+ ts+10037, 0)
}
}
@@ -108351,7 +108366,7 @@ __3:
goto __4
}
Xsqlite3ErrorMsg(tls, pParse,
- ts+10169, libc.VaList(bp, zName))
+ ts+10188, libc.VaList(bp, zName))
goto exit_rename_table
__4:
;
@@ -108361,7 +108376,7 @@ __4:
goto exit_rename_table
__5:
;
- if !(SQLITE_OK != Xsqlite3CheckObjectName(tls, pParse, zName, ts+10228, zName)) {
+ if !(SQLITE_OK != Xsqlite3CheckObjectName(tls, pParse, zName, ts+10247, zName)) {
goto __6
}
goto exit_rename_table
@@ -108370,7 +108385,7 @@ __6:
if !(int32((*Table)(unsafe.Pointer(pTab)).FeTabType) == TABTYP_VIEW) {
goto __7
}
- Xsqlite3ErrorMsg(tls, pParse, ts+10234, libc.VaList(bp+8, (*Table)(unsafe.Pointer(pTab)).FzName))
+ Xsqlite3ErrorMsg(tls, pParse, ts+10253, libc.VaList(bp+8, (*Table)(unsafe.Pointer(pTab)).FzName))
goto exit_rename_table
__7:
;
@@ -108411,19 +108426,19 @@ __12:
nTabName = Xsqlite3Utf8CharLen(tls, zTabName, -1)
Xsqlite3NestedParse(tls, pParse,
- ts+10261, libc.VaList(bp+16, zDb, zDb, zTabName, zName, libc.Bool32(iDb == 1), zTabName))
+ ts+10280, libc.VaList(bp+16, zDb, zDb, zTabName, zName, libc.Bool32(iDb == 1), zTabName))
Xsqlite3NestedParse(tls, pParse,
- ts+10445,
+ ts+10464,
libc.VaList(bp+64, zDb,
zName, zName, zName,
nTabName, zTabName))
- if !(Xsqlite3FindTable(tls, db, ts+10750, zDb) != 0) {
+ if !(Xsqlite3FindTable(tls, db, ts+10769, zDb) != 0) {
goto __13
}
Xsqlite3NestedParse(tls, pParse,
- ts+10766,
+ ts+10785,
libc.VaList(bp+112, zDb, zName, (*Table)(unsafe.Pointer(pTab)).FzName))
__13:
;
@@ -108431,7 +108446,7 @@ __13:
goto __14
}
Xsqlite3NestedParse(tls, pParse,
- ts+10824, libc.VaList(bp+136, zDb, zTabName, zName, zTabName, zDb, zName))
+ ts+10843, libc.VaList(bp+136, zDb, zTabName, zName, zTabName, zDb, zName))
__14:
;
if !(pVTab != 0) {
@@ -108443,7 +108458,7 @@ __14:
__15:
;
renameReloadSchema(tls, pParse, iDb, uint16(INITFLAG_AlterRename))
- renameTestSchema(tls, pParse, zDb, libc.Bool32(iDb == 1), ts+11089, 0)
+ renameTestSchema(tls, pParse, zDb, libc.Bool32(iDb == 1), ts+11108, 0)
exit_rename_table:
Xsqlite3SrcListDelete(tls, db, pSrc)
@@ -108455,7 +108470,7 @@ func sqlite3ErrorIfNotEmpty(tls *libc.TLS, pParse uintptr, zDb uintptr, zTab uin
defer tls.Free(24)
Xsqlite3NestedParse(tls, pParse,
- ts+11102,
+ ts+11121,
libc.VaList(bp, zErr, zDb, zTab))
}
@@ -108501,12 +108516,12 @@ func Xsqlite3AlterFinishAddColumn(tls *libc.TLS, pParse uintptr, pColDef uintptr
}
if int32((*Column)(unsafe.Pointer(pCol)).FcolFlags)&COLFLAG_PRIMKEY != 0 {
- Xsqlite3ErrorMsg(tls, pParse, ts+11140, 0)
+ Xsqlite3ErrorMsg(tls, pParse, ts+11159, 0)
return
}
if (*Table)(unsafe.Pointer(pNew)).FpIndex != 0 {
Xsqlite3ErrorMsg(tls, pParse,
- ts+11172, 0)
+ ts+11191, 0)
return
}
if int32((*Column)(unsafe.Pointer(pCol)).FcolFlags)&COLFLAG_GENERATED == 0 {
@@ -108516,11 +108531,11 @@ func Xsqlite3AlterFinishAddColumn(tls *libc.TLS, pParse uintptr, pColDef uintptr
if (*Sqlite3)(unsafe.Pointer(db)).Fflags&uint64(SQLITE_ForeignKeys) != 0 && *(*uintptr)(unsafe.Pointer(pNew + 64 + 8)) != 0 && pDflt != 0 {
sqlite3ErrorIfNotEmpty(tls, pParse, zDb, zTab,
- ts+11199)
+ ts+11218)
}
if uint32(int32(*(*uint8)(unsafe.Pointer(pCol + 8))&0xf>>0)) != 0 && !(pDflt != 0) {
sqlite3ErrorIfNotEmpty(tls, pParse, zDb, zTab,
- ts+11258)
+ ts+11277)
}
if pDflt != 0 {
@@ -108533,12 +108548,12 @@ func Xsqlite3AlterFinishAddColumn(tls *libc.TLS, pParse uintptr, pColDef uintptr
}
if !(*(*uintptr)(unsafe.Pointer(bp + 56)) != 0) {
sqlite3ErrorIfNotEmpty(tls, pParse, zDb, zTab,
- ts+11311)
+ ts+11330)
}
Xsqlite3ValueFree(tls, *(*uintptr)(unsafe.Pointer(bp + 56)))
}
} else if int32((*Column)(unsafe.Pointer(pCol)).FcolFlags)&COLFLAG_STORED != 0 {
- sqlite3ErrorIfNotEmpty(tls, pParse, zDb, zTab, ts+11357)
+ sqlite3ErrorIfNotEmpty(tls, pParse, zDb, zTab, ts+11376)
}
zCol = Xsqlite3DbStrNDup(tls, db, (*Token)(unsafe.Pointer(pColDef)).Fz, uint64((*Token)(unsafe.Pointer(pColDef)).Fn))
@@ -108549,7 +108564,7 @@ func Xsqlite3AlterFinishAddColumn(tls *libc.TLS, pParse uintptr, pColDef uintptr
}
Xsqlite3NestedParse(tls, pParse,
- ts+11384,
+ ts+11403,
libc.VaList(bp, zDb, *(*int32)(unsafe.Pointer(pNew + 64)), zCol, *(*int32)(unsafe.Pointer(pNew + 64)),
zTab))
Xsqlite3DbFree(tls, db, zCol)
@@ -108571,7 +108586,7 @@ func Xsqlite3AlterFinishAddColumn(tls *libc.TLS, pParse uintptr, pColDef uintptr
if (*Table)(unsafe.Pointer(pNew)).FpCheck != uintptr(0) ||
uint32(int32(*(*uint8)(unsafe.Pointer(pCol + 8))&0xf>>0)) != 0 && int32((*Column)(unsafe.Pointer(pCol)).FcolFlags)&COLFLAG_GENERATED != 0 {
Xsqlite3NestedParse(tls, pParse,
- ts+11530,
+ ts+11549,
libc.VaList(bp+40, zTab, zDb))
}
}
@@ -108619,14 +108634,14 @@ __2:
if !(int32((*Table)(unsafe.Pointer(pTab)).FeTabType) == TABTYP_VTAB) {
goto __3
}
- Xsqlite3ErrorMsg(tls, pParse, ts+11760, 0)
+ Xsqlite3ErrorMsg(tls, pParse, ts+11779, 0)
goto exit_begin_add_column
__3:
;
if !(int32((*Table)(unsafe.Pointer(pTab)).FeTabType) == TABTYP_VIEW) {
goto __4
}
- Xsqlite3ErrorMsg(tls, pParse, ts+11794, 0)
+ Xsqlite3ErrorMsg(tls, pParse, ts+11813, 0)
goto exit_begin_add_column
__4:
;
@@ -108654,7 +108669,7 @@ __6:
nAlloc = (int32((*Table)(unsafe.Pointer(pNew)).FnCol)-1)/8*8 + 8
(*Table)(unsafe.Pointer(pNew)).FaCol = Xsqlite3DbMallocZero(tls, db, uint64(unsafe.Sizeof(Column{}))*uint64(nAlloc))
- (*Table)(unsafe.Pointer(pNew)).FzName = Xsqlite3MPrintf(tls, db, ts+11824, libc.VaList(bp, (*Table)(unsafe.Pointer(pTab)).FzName))
+ (*Table)(unsafe.Pointer(pNew)).FzName = Xsqlite3MPrintf(tls, db, ts+11843, libc.VaList(bp, (*Table)(unsafe.Pointer(pTab)).FzName))
if !(!(int32((*Table)(unsafe.Pointer(pNew)).FaCol) != 0) || !(int32((*Table)(unsafe.Pointer(pNew)).FzName) != 0)) {
goto __7
}
@@ -108694,18 +108709,18 @@ func isRealTable(tls *libc.TLS, pParse uintptr, pTab uintptr, bDrop int32) int32
var zType uintptr = uintptr(0)
if int32((*Table)(unsafe.Pointer(pTab)).FeTabType) == TABTYP_VIEW {
- zType = ts + 11843
+ zType = ts + 11862
}
if int32((*Table)(unsafe.Pointer(pTab)).FeTabType) == TABTYP_VTAB {
- zType = ts + 11848
+ zType = ts + 11867
}
if zType != 0 {
- Xsqlite3ErrorMsg(tls, pParse, ts+11862,
+ Xsqlite3ErrorMsg(tls, pParse, ts+11881,
libc.VaList(bp, func() uintptr {
if bDrop != 0 {
- return ts + 11880
+ return ts + 11899
}
- return ts + 11897
+ return ts + 11916
}(),
zType, (*Table)(unsafe.Pointer(pTab)).FzName))
return 1
@@ -108789,11 +108804,11 @@ __8:
if !(iCol == int32((*Table)(unsafe.Pointer(pTab)).FnCol)) {
goto __10
}
- Xsqlite3ErrorMsg(tls, pParse, ts+11915, libc.VaList(bp, pOld))
+ Xsqlite3ErrorMsg(tls, pParse, ts+11934, libc.VaList(bp, pOld))
goto exit_rename_column
__10:
;
- renameTestSchema(tls, pParse, zDb, libc.Bool32(iSchema == 1), ts+1544, 0)
+ renameTestSchema(tls, pParse, zDb, libc.Bool32(iSchema == 1), ts+1563, 0)
renameFixQuotes(tls, pParse, zDb, libc.Bool32(iSchema == 1))
Xsqlite3MayAbort(tls, pParse)
@@ -108806,17 +108821,17 @@ __11:
;
bQuote = int32(Xsqlite3CtypeMap[uint8(*(*int8)(unsafe.Pointer((*Token)(unsafe.Pointer(pNew)).Fz)))]) & 0x80
Xsqlite3NestedParse(tls, pParse,
- ts+11936,
+ ts+11955,
libc.VaList(bp+8, zDb,
zDb, (*Table)(unsafe.Pointer(pTab)).FzName, iCol, zNew, bQuote, libc.Bool32(iSchema == 1),
(*Table)(unsafe.Pointer(pTab)).FzName))
Xsqlite3NestedParse(tls, pParse,
- ts+12118,
+ ts+12137,
libc.VaList(bp+72, zDb, (*Table)(unsafe.Pointer(pTab)).FzName, iCol, zNew, bQuote))
renameReloadSchema(tls, pParse, iSchema, uint16(INITFLAG_AlterRename))
- renameTestSchema(tls, pParse, zDb, libc.Bool32(iSchema == 1), ts+11089, 1)
+ renameTestSchema(tls, pParse, zDb, libc.Bool32(iSchema == 1), ts+11108, 1)
exit_rename_column:
Xsqlite3SrcListDelete(tls, db, pSrc)
@@ -109074,12 +109089,12 @@ func renameColumnParseError(tls *libc.TLS, pCtx uintptr, zWhen uintptr, pType ui
var zN uintptr = Xsqlite3_value_text(tls, pObject)
var zErr uintptr
- zErr = Xsqlite3MPrintf(tls, (*Parse)(unsafe.Pointer(pParse)).Fdb, ts+12249,
+ zErr = Xsqlite3MPrintf(tls, (*Parse)(unsafe.Pointer(pParse)).Fdb, ts+12268,
libc.VaList(bp, zT, zN, func() uintptr {
if *(*int8)(unsafe.Pointer(zWhen)) != 0 {
- return ts + 12272
+ return ts + 12291
}
- return ts + 1544
+ return ts + 1563
}(), zWhen,
(*Parse)(unsafe.Pointer(pParse)).FzErrMsg))
Xsqlite3_result_error(tls, pCtx, zErr, -1)
@@ -109119,8 +109134,8 @@ func renameParseSql(tls *libc.TLS, p uintptr, zDb uintptr, db uintptr, zSql uint
if zSql == uintptr(0) {
return SQLITE_NOMEM
}
- if Xsqlite3_strnicmp(tls, zSql, ts+12274, 7) != 0 {
- return Xsqlite3CorruptError(tls, 113494)
+ if Xsqlite3_strnicmp(tls, zSql, ts+12293, 7) != 0 {
+ return Xsqlite3CorruptError(tls, 113516)
}
(*Sqlite3)(unsafe.Pointer(db)).Finit.FiDb = func() uint8 {
if bTemp != 0 {
@@ -109137,7 +109152,7 @@ func renameParseSql(tls *libc.TLS, p uintptr, zDb uintptr, db uintptr, zSql uint
}
if rc == SQLITE_OK &&
((*Parse)(unsafe.Pointer(p)).FpNewTable == uintptr(0) && (*Parse)(unsafe.Pointer(p)).FpNewIndex == uintptr(0) && (*Parse)(unsafe.Pointer(p)).FpNewTrigger == uintptr(0)) {
- rc = Xsqlite3CorruptError(tls, 113505)
+ rc = Xsqlite3CorruptError(tls, 113527)
}
(*Sqlite3)(unsafe.Pointer(db)).Finit.FiDb = U8(0)
@@ -109159,7 +109174,7 @@ func renameEditSql(tls *libc.TLS, pCtx uintptr, pRename uintptr, zSql uintptr, z
var zBuf2 uintptr = uintptr(0)
if zNew != 0 {
- zQuot = Xsqlite3MPrintf(tls, db, ts+12282, libc.VaList(bp, zNew))
+ zQuot = Xsqlite3MPrintf(tls, db, ts+12301, libc.VaList(bp, zNew))
if zQuot == uintptr(0) {
return SQLITE_NOMEM
} else {
@@ -109199,12 +109214,12 @@ func renameEditSql(tls *libc.TLS, pCtx uintptr, pRename uintptr, zSql uintptr, z
libc.Xmemcpy(tls, zBuf1, (*RenameToken)(unsafe.Pointer(pBest)).Ft.Fz, uint64((*RenameToken)(unsafe.Pointer(pBest)).Ft.Fn))
*(*int8)(unsafe.Pointer(zBuf1 + uintptr((*RenameToken)(unsafe.Pointer(pBest)).Ft.Fn))) = int8(0)
Xsqlite3Dequote(tls, zBuf1)
- Xsqlite3_snprintf(tls, int32(nSql*int64(2)), zBuf2, ts+12288, libc.VaList(bp+8, zBuf1,
+ Xsqlite3_snprintf(tls, int32(nSql*int64(2)), zBuf2, ts+12307, libc.VaList(bp+8, zBuf1,
func() uintptr {
if int32(*(*int8)(unsafe.Pointer((*RenameToken)(unsafe.Pointer(pBest)).Ft.Fz + uintptr((*RenameToken)(unsafe.Pointer(pBest)).Ft.Fn)))) == '\'' {
- return ts + 12272
+ return ts + 12291
}
- return ts + 1544
+ return ts + 1563
}()))
zReplace = zBuf2
nReplace = U32(Xsqlite3Strlen30(tls, zReplace))
@@ -109690,7 +109705,7 @@ __45:
if !((*Parse)(unsafe.Pointer(bp+32)).FzErrMsg != 0) {
goto __47
}
- renameColumnParseError(tls, context, ts+1544, *(*uintptr)(unsafe.Pointer(argv + 1*8)), *(*uintptr)(unsafe.Pointer(argv + 2*8)), bp+32)
+ renameColumnParseError(tls, context, ts+1563, *(*uintptr)(unsafe.Pointer(argv + 1*8)), *(*uintptr)(unsafe.Pointer(argv + 2*8)), bp+32)
goto __48
__47:
Xsqlite3_result_error_code(tls, context, rc)
@@ -109855,7 +109870,7 @@ func renameTableFunc(tls *libc.TLS, context uintptr, NotUsed int32, argv uintptr
if rc == SQLITE_ERROR && Xsqlite3WritableSchema(tls, db) != 0 {
Xsqlite3_result_value(tls, context, *(*uintptr)(unsafe.Pointer(argv + 3*8)))
} else if (*Parse)(unsafe.Pointer(bp+80)).FzErrMsg != 0 {
- renameColumnParseError(tls, context, ts+1544, *(*uintptr)(unsafe.Pointer(argv + 1*8)), *(*uintptr)(unsafe.Pointer(argv + 2*8)), bp+80)
+ renameColumnParseError(tls, context, ts+1563, *(*uintptr)(unsafe.Pointer(argv + 1*8)), *(*uintptr)(unsafe.Pointer(argv + 2*8)), bp+80)
} else {
Xsqlite3_result_error_code(tls, context, rc)
}
@@ -110058,7 +110073,7 @@ __1:
goto __2
}
- rc = Xsqlite3CorruptError(tls, 114441)
+ rc = Xsqlite3CorruptError(tls, 114463)
goto drop_column_done
__2:
;
@@ -110082,7 +110097,7 @@ __6:
;
__4:
;
- zNew = Xsqlite3MPrintf(tls, db, ts+12293, libc.VaList(bp, (int64((*RenameToken)(unsafe.Pointer(pCol)).Ft.Fz)-int64(zSql))/1, zSql, zEnd))
+ zNew = Xsqlite3MPrintf(tls, db, ts+12312, libc.VaList(bp, (int64((*RenameToken)(unsafe.Pointer(pCol)).Ft.Fz)-int64(zSql))/1, zSql, zEnd))
Xsqlite3_result_text(tls, context, zNew, -1, libc.UintptrFromInt32(-1))
Xsqlite3_free(tls, zNew)
@@ -110163,19 +110178,19 @@ __5:
if !(iCol < 0) {
goto __6
}
- Xsqlite3ErrorMsg(tls, pParse, ts+11915, libc.VaList(bp, pName))
+ Xsqlite3ErrorMsg(tls, pParse, ts+11934, libc.VaList(bp, pName))
goto exit_drop_column
__6:
;
if !(int32((*Column)(unsafe.Pointer((*Table)(unsafe.Pointer(pTab)).FaCol+uintptr(iCol)*24)).FcolFlags)&(COLFLAG_PRIMKEY|COLFLAG_UNIQUE) != 0) {
goto __7
}
- Xsqlite3ErrorMsg(tls, pParse, ts+12300,
+ Xsqlite3ErrorMsg(tls, pParse, ts+12319,
libc.VaList(bp+8, func() uintptr {
if int32((*Column)(unsafe.Pointer((*Table)(unsafe.Pointer(pTab)).FaCol+uintptr(iCol)*24)).FcolFlags)&COLFLAG_PRIMKEY != 0 {
- return ts + 12328
+ return ts + 12347
}
- return ts + 7479
+ return ts + 7498
}(),
zCol))
goto exit_drop_column
@@ -110184,7 +110199,7 @@ __7:
if !(int32((*Table)(unsafe.Pointer(pTab)).FnCol) <= 1) {
goto __8
}
- Xsqlite3ErrorMsg(tls, pParse, ts+12340, libc.VaList(bp+24, zCol))
+ Xsqlite3ErrorMsg(tls, pParse, ts+12359, libc.VaList(bp+24, zCol))
goto exit_drop_column
__8:
;
@@ -110198,13 +110213,13 @@ __8:
goto exit_drop_column
__9:
;
- renameTestSchema(tls, pParse, zDb, libc.Bool32(iDb == 1), ts+1544, 0)
+ renameTestSchema(tls, pParse, zDb, libc.Bool32(iDb == 1), ts+1563, 0)
renameFixQuotes(tls, pParse, zDb, libc.Bool32(iDb == 1))
Xsqlite3NestedParse(tls, pParse,
- ts+12388, libc.VaList(bp+32, zDb, iDb, iCol, (*Table)(unsafe.Pointer(pTab)).FzName))
+ ts+12407, libc.VaList(bp+32, zDb, iDb, iCol, (*Table)(unsafe.Pointer(pTab)).FzName))
renameReloadSchema(tls, pParse, iDb, uint16(INITFLAG_AlterDrop))
- renameTestSchema(tls, pParse, zDb, libc.Bool32(iDb == 1), ts+12509, 1)
+ renameTestSchema(tls, pParse, zDb, libc.Bool32(iDb == 1), ts+12528, 1)
if !((*Parse)(unsafe.Pointer(pParse)).FnErr == 0 && int32((*Column)(unsafe.Pointer((*Table)(unsafe.Pointer(pTab)).FaCol+uintptr(iCol)*24)).FcolFlags)&COLFLAG_VIRTUAL == 0) {
goto __10
@@ -110322,11 +110337,11 @@ func Xsqlite3AlterFunctions(tls *libc.TLS) {
}
var aAlterTableFuncs = [5]FuncDef{
- {FnArg: int8(9), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_INTERNAL | SQLITE_UTF8 | SQLITE_FUNC_CONSTANT), FxSFunc: 0, FzName: ts + 12527},
- {FnArg: int8(7), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_INTERNAL | SQLITE_UTF8 | SQLITE_FUNC_CONSTANT), FxSFunc: 0, FzName: ts + 12548},
- {FnArg: int8(7), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_INTERNAL | SQLITE_UTF8 | SQLITE_FUNC_CONSTANT), FxSFunc: 0, FzName: ts + 12568},
- {FnArg: int8(3), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_INTERNAL | SQLITE_UTF8 | SQLITE_FUNC_CONSTANT), FxSFunc: 0, FzName: ts + 12587},
- {FnArg: int8(2), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_INTERNAL | SQLITE_UTF8 | SQLITE_FUNC_CONSTANT), FxSFunc: 0, FzName: ts + 12606}}
+ {FnArg: int8(9), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_INTERNAL | SQLITE_UTF8 | SQLITE_FUNC_CONSTANT), FxSFunc: 0, FzName: ts + 12546},
+ {FnArg: int8(7), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_INTERNAL | SQLITE_UTF8 | SQLITE_FUNC_CONSTANT), FxSFunc: 0, FzName: ts + 12567},
+ {FnArg: int8(7), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_INTERNAL | SQLITE_UTF8 | SQLITE_FUNC_CONSTANT), FxSFunc: 0, FzName: ts + 12587},
+ {FnArg: int8(3), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_INTERNAL | SQLITE_UTF8 | SQLITE_FUNC_CONSTANT), FxSFunc: 0, FzName: ts + 12606},
+ {FnArg: int8(2), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_INTERNAL | SQLITE_UTF8 | SQLITE_FUNC_CONSTANT), FxSFunc: 0, FzName: ts + 12625}}
func openStatTable(tls *libc.TLS, pParse uintptr, iDb int32, iStatCur int32, zWhere uintptr, zWhereType uintptr) {
bp := tls.Alloc(88)
@@ -110360,7 +110375,7 @@ func openStatTable(tls *libc.TLS, pParse uintptr, iDb int32, iStatCur int32, zWh
if libc.AssignUintptr(&pStat, Xsqlite3FindTable(tls, db, zTab, (*Db)(unsafe.Pointer(pDb)).FzDbSName)) == uintptr(0) {
if i < nToOpen {
Xsqlite3NestedParse(tls, pParse,
- ts+12629, libc.VaList(bp, (*Db)(unsafe.Pointer(pDb)).FzDbSName, zTab, aTable[i].FzCols))
+ ts+12648, libc.VaList(bp, (*Db)(unsafe.Pointer(pDb)).FzDbSName, zTab, aTable[i].FzCols))
*(*U32)(unsafe.Pointer(bp + 76 + uintptr(i)*4)) = U32((*Parse)(unsafe.Pointer(pParse)).FregRoot)
*(*U8)(unsafe.Pointer(bp + 72 + uintptr(i))) = U8(OPFLAG_P2ISREG)
}
@@ -110369,10 +110384,10 @@ func openStatTable(tls *libc.TLS, pParse uintptr, iDb int32, iStatCur int32, zWh
Xsqlite3TableLock(tls, pParse, iDb, *(*U32)(unsafe.Pointer(bp + 76 + uintptr(i)*4)), uint8(1), zTab)
if zWhere != 0 {
Xsqlite3NestedParse(tls, pParse,
- ts+12652,
+ ts+12671,
libc.VaList(bp+24, (*Db)(unsafe.Pointer(pDb)).FzDbSName, zTab, zWhereType, zWhere))
} else if (*Sqlite3)(unsafe.Pointer(db)).FxPreUpdateCallback != 0 {
- Xsqlite3NestedParse(tls, pParse, ts+12682, libc.VaList(bp+56, (*Db)(unsafe.Pointer(pDb)).FzDbSName, zTab))
+ Xsqlite3NestedParse(tls, pParse, ts+12701, libc.VaList(bp+56, (*Db)(unsafe.Pointer(pDb)).FzDbSName, zTab))
} else {
Xsqlite3VdbeAddOp2(tls, v, OP_Clear, int32(*(*U32)(unsafe.Pointer(bp + 76 + uintptr(i)*4))), iDb)
}
@@ -110390,9 +110405,9 @@ var aTable = [3]struct {
FzName uintptr
FzCols uintptr
}{
- {FzName: ts + 12700, FzCols: ts + 12713},
- {FzName: ts + 12726, FzCols: ts + 12739},
- {FzName: ts + 12767},
+ {FzName: ts + 12719, FzCols: ts + 12732},
+ {FzName: ts + 12745, FzCols: ts + 12758},
+ {FzName: ts + 12786},
}
// Three SQL functions - stat_init(), stat_push(), and stat_get() -
@@ -110582,7 +110597,7 @@ var statInitFuncdef = FuncDef{
FnArg: int8(4),
FfuncFlags: U32(SQLITE_UTF8),
FxSFunc: 0,
- FzName: ts + 12780}
+ FzName: ts + 12799}
func sampleIsBetterPost(tls *libc.TLS, pAccum uintptr, pNew uintptr, pOld uintptr) int32 {
var nCol int32 = (*StatAccum)(unsafe.Pointer(pAccum)).FnCol
@@ -110833,7 +110848,7 @@ var statPushFuncdef = FuncDef{
FnArg: int8(2 + IsStat4),
FfuncFlags: U32(SQLITE_UTF8),
FxSFunc: 0,
- FzName: ts + 12790}
+ FzName: ts + 12809}
func statGet(tls *libc.TLS, context uintptr, argc int32, argv uintptr) {
bp := tls.Alloc(88)
@@ -110847,7 +110862,7 @@ func statGet(tls *libc.TLS, context uintptr, argc int32, argv uintptr) {
var i int32
Xsqlite3StrAccumInit(tls, bp+24, uintptr(0), uintptr(0), 0, ((*StatAccum)(unsafe.Pointer(p)).FnKeyCol+1)*100)
- Xsqlite3_str_appendf(tls, bp+24, ts+12800,
+ Xsqlite3_str_appendf(tls, bp+24, ts+12819,
libc.VaList(bp, func() uint64 {
if (*StatAccum)(unsafe.Pointer(p)).FnSkipAhead != 0 {
return (*StatAccum)(unsafe.Pointer(p)).FnEst
@@ -110860,7 +110875,7 @@ func statGet(tls *libc.TLS, context uintptr, argc int32, argv uintptr) {
if iVal == uint64(2) && (*StatAccum)(unsafe.Pointer(p)).FnRow*uint64(10) <= nDistinct*uint64(11) {
iVal = uint64(1)
}
- Xsqlite3_str_appendf(tls, bp+24, ts+12805, libc.VaList(bp+8, iVal))
+ Xsqlite3_str_appendf(tls, bp+24, ts+12824, libc.VaList(bp+8, iVal))
}
Xsqlite3ResultStrAccum(tls, context, bp+24)
@@ -110902,7 +110917,7 @@ func statGet(tls *libc.TLS, context uintptr, argc int32, argv uintptr) {
}
Xsqlite3StrAccumInit(tls, bp+56, uintptr(0), uintptr(0), 0, (*StatAccum)(unsafe.Pointer(p)).FnCol*100)
for i = 0; i < (*StatAccum)(unsafe.Pointer(p)).FnCol; i++ {
- Xsqlite3_str_appendf(tls, bp+56, ts+12811, libc.VaList(bp+16, *(*TRowcnt)(unsafe.Pointer(aCnt + uintptr(i)*8))))
+ Xsqlite3_str_appendf(tls, bp+56, ts+12830, libc.VaList(bp+16, *(*TRowcnt)(unsafe.Pointer(aCnt + uintptr(i)*8))))
}
if (*Sqlite3_str)(unsafe.Pointer(bp+56)).FnChar != 0 {
(*Sqlite3_str)(unsafe.Pointer(bp+56)).FnChar--
@@ -110916,7 +110931,7 @@ var statGetFuncdef = FuncDef{
FnArg: int8(1 + IsStat4),
FfuncFlags: U32(SQLITE_UTF8),
FxSFunc: 0,
- FzName: ts + 12817}
+ FzName: ts + 12836}
func callStatGet(tls *libc.TLS, pParse uintptr, regStat int32, iParam int32, regOut int32) {
Xsqlite3VdbeAddOp2(tls, (*Parse)(unsafe.Pointer(pParse)).FpVdbe, OP_Integer, iParam, regStat+1)
@@ -110960,7 +110975,7 @@ func analyzeOneTable(tls *libc.TLS, pParse uintptr, pTab uintptr, pOnlyIdx uintp
if !(int32((*Table)(unsafe.Pointer(pTab)).FeTabType) == TABTYP_NORM) {
return
}
- if Xsqlite3_strlike(tls, ts+12826, (*Table)(unsafe.Pointer(pTab)).FzName, uint32('\\')) == 0 {
+ if Xsqlite3_strlike(tls, ts+12845, (*Table)(unsafe.Pointer(pTab)).FzName, uint32('\\')) == 0 {
return
}
@@ -110977,7 +110992,7 @@ func analyzeOneTable(tls *libc.TLS, pParse uintptr, pTab uintptr, pOnlyIdx uintp
return
}
(*Table)(unsafe.Pointer(pStat1)).FzName = pStat1 + 1*104
- libc.Xmemcpy(tls, (*Table)(unsafe.Pointer(pStat1)).FzName, ts+12700, uint64(13))
+ libc.Xmemcpy(tls, (*Table)(unsafe.Pointer(pStat1)).FzName, ts+12719, uint64(13))
(*Table)(unsafe.Pointer(pStat1)).FnCol = int16(3)
(*Table)(unsafe.Pointer(pStat1)).FiPKey = int16(-1)
Xsqlite3VdbeAddOp4(tls, (*Parse)(unsafe.Pointer(pParse)).FpVdbe, OP_Noop, 0, 0, 0, pStat1, -6)
@@ -111133,7 +111148,7 @@ func analyzeOneTable(tls *libc.TLS, pParse uintptr, pTab uintptr, pOnlyIdx uintp
callStatGet(tls, pParse, regStat, STAT_GET_STAT1, regStat1)
- Xsqlite3VdbeAddOp4(tls, v, OP_MakeRecord, regTabname, 3, regTemp, ts+12836, 0)
+ Xsqlite3VdbeAddOp4(tls, v, OP_MakeRecord, regTabname, 3, regTemp, ts+12855, 0)
Xsqlite3VdbeAddOp2(tls, v, OP_NewRowid, iStatCur, regNewRowid)
Xsqlite3VdbeAddOp3(tls, v, OP_Insert, iStatCur, regTemp, regNewRowid)
Xsqlite3VdbeChangeP4(tls, v, -1, pStat1, -5)
@@ -111190,7 +111205,7 @@ func analyzeOneTable(tls *libc.TLS, pParse uintptr, pTab uintptr, pOnlyIdx uintp
jZeroRows = Xsqlite3VdbeAddOp1(tls, v, OP_IfNot, regStat1)
Xsqlite3VdbeAddOp2(tls, v, OP_Null, 0, regIdxname)
- Xsqlite3VdbeAddOp4(tls, v, OP_MakeRecord, regTabname, 3, regTemp, ts+12836, 0)
+ Xsqlite3VdbeAddOp4(tls, v, OP_MakeRecord, regTabname, 3, regTemp, ts+12855, 0)
Xsqlite3VdbeAddOp2(tls, v, OP_NewRowid, iStatCur, regNewRowid)
Xsqlite3VdbeAddOp3(tls, v, OP_Insert, iStatCur, regTemp, regNewRowid)
Xsqlite3VdbeChangeP5(tls, v, uint16(OPFLAG_APPEND))
@@ -111237,9 +111252,9 @@ func analyzeTable(tls *libc.TLS, pParse uintptr, pTab uintptr, pOnlyIdx uintptr)
iStatCur = (*Parse)(unsafe.Pointer(pParse)).FnTab
*(*int32)(unsafe.Pointer(pParse + 52)) += 3
if pOnlyIdx != 0 {
- openStatTable(tls, pParse, iDb, iStatCur, (*Index)(unsafe.Pointer(pOnlyIdx)).FzName, ts+12840)
+ openStatTable(tls, pParse, iDb, iStatCur, (*Index)(unsafe.Pointer(pOnlyIdx)).FzName, ts+12859)
} else {
- openStatTable(tls, pParse, iDb, iStatCur, (*Table)(unsafe.Pointer(pTab)).FzName, ts+12844)
+ openStatTable(tls, pParse, iDb, iStatCur, (*Table)(unsafe.Pointer(pTab)).FzName, ts+12863)
}
analyzeOneTable(tls, pParse, pTab, pOnlyIdx, iStatCur, (*Parse)(unsafe.Pointer(pParse)).FnMem+1, (*Parse)(unsafe.Pointer(pParse)).FnTab)
loadAnalysis(tls, pParse, iDb)
@@ -111322,7 +111337,7 @@ func decodeIntArray(tls *libc.TLS, zIntArray uintptr, nOut int32, aOut uintptr,
var v TRowcnt
if z == uintptr(0) {
- z = ts + 1544
+ z = ts + 1563
}
for i = 0; *(*int8)(unsafe.Pointer(z)) != 0 && i < nOut; i++ {
v = uint64(0)
@@ -111344,15 +111359,15 @@ func decodeIntArray(tls *libc.TLS, zIntArray uintptr, nOut int32, aOut uintptr,
libc.SetBitFieldPtr16Uint32(pIndex+100, uint32(0), 2, 0x4)
libc.SetBitFieldPtr16Uint32(pIndex+100, uint32(0), 6, 0x40)
for *(*int8)(unsafe.Pointer(z)) != 0 {
- if Xsqlite3_strglob(tls, ts+12848, z) == 0 {
+ if Xsqlite3_strglob(tls, ts+12867, z) == 0 {
libc.SetBitFieldPtr16Uint32(pIndex+100, uint32(1), 2, 0x4)
- } else if Xsqlite3_strglob(tls, ts+12859, z) == 0 {
+ } else if Xsqlite3_strglob(tls, ts+12878, z) == 0 {
var sz int32 = Xsqlite3Atoi(tls, z+uintptr(3))
if sz < 2 {
sz = 2
}
(*Index)(unsafe.Pointer(pIndex)).FszIdxRow = Xsqlite3LogEst(tls, uint64(sz))
- } else if Xsqlite3_strglob(tls, ts+12869, z) == 0 {
+ } else if Xsqlite3_strglob(tls, ts+12888, z) == 0 {
libc.SetBitFieldPtr16Uint32(pIndex+100, uint32(1), 6, 0x40)
}
for int32(*(*int8)(unsafe.Pointer(z))) != 0 && int32(*(*int8)(unsafe.Pointer(z))) != ' ' {
@@ -111628,11 +111643,11 @@ func loadStat4(tls *libc.TLS, db uintptr, zDb uintptr) int32 {
var rc int32 = SQLITE_OK
var pStat4 uintptr
- if libc.AssignUintptr(&pStat4, Xsqlite3FindTable(tls, db, ts+12726, zDb)) != uintptr(0) &&
+ if libc.AssignUintptr(&pStat4, Xsqlite3FindTable(tls, db, ts+12745, zDb)) != uintptr(0) &&
int32((*Table)(unsafe.Pointer(pStat4)).FeTabType) == TABTYP_NORM {
rc = loadStatTbl(tls, db,
- ts+12881,
- ts+12935,
+ ts+12900,
+ ts+12954,
zDb)
}
return rc
@@ -111679,10 +111694,10 @@ func Xsqlite3AnalysisLoad(tls *libc.TLS, db uintptr, iDb int32) int32 {
(*AnalysisInfo)(unsafe.Pointer(bp + 8)).Fdb = db
(*AnalysisInfo)(unsafe.Pointer(bp + 8)).FzDatabase = (*Db)(unsafe.Pointer((*Sqlite3)(unsafe.Pointer(db)).FaDb + uintptr(iDb)*32)).FzDbSName
- if libc.AssignUintptr(&pStat1, Xsqlite3FindTable(tls, db, ts+12700, (*AnalysisInfo)(unsafe.Pointer(bp+8)).FzDatabase)) != 0 &&
+ if libc.AssignUintptr(&pStat1, Xsqlite3FindTable(tls, db, ts+12719, (*AnalysisInfo)(unsafe.Pointer(bp+8)).FzDatabase)) != 0 &&
int32((*Table)(unsafe.Pointer(pStat1)).FeTabType) == TABTYP_NORM {
zSql = Xsqlite3MPrintf(tls, db,
- ts+12987, libc.VaList(bp, (*AnalysisInfo)(unsafe.Pointer(bp+8)).FzDatabase))
+ ts+13006, libc.VaList(bp, (*AnalysisInfo)(unsafe.Pointer(bp+8)).FzDatabase))
if zSql == uintptr(0) {
rc = SQLITE_NOMEM
} else {
@@ -111740,7 +111755,7 @@ func resolveAttachExpr(tls *libc.TLS, pName uintptr, pExpr uintptr) int32 {
// database iDb attached to handle db.
func Xsqlite3DbIsNamed(tls *libc.TLS, db uintptr, iDb int32, zName uintptr) int32 {
return libc.Bool32(Xsqlite3StrICmp(tls, (*Db)(unsafe.Pointer((*Sqlite3)(unsafe.Pointer(db)).FaDb+uintptr(iDb)*32)).FzDbSName, zName) == 0 ||
- iDb == 0 && Xsqlite3StrICmp(tls, ts+7793, zName) == 0)
+ iDb == 0 && Xsqlite3StrICmp(tls, ts+7812, zName) == 0)
}
func attachFunc(tls *libc.TLS, context uintptr, NotUsed int32, argv uintptr) {
@@ -111773,13 +111788,13 @@ func attachFunc(tls *libc.TLS, context uintptr, NotUsed int32, argv uintptr) {
if !(zFile == uintptr(0)) {
goto __1
}
- zFile = ts + 1544
+ zFile = ts + 1563
__1:
;
if !(zName == uintptr(0)) {
goto __2
}
- zName = ts + 1544
+ zName = ts + 1563
__2:
;
if !(uint32(int32(*(*uint8)(unsafe.Pointer(db + 192 + 8))&0x4>>2)) != 0) {
@@ -111787,14 +111802,14 @@ __2:
}
*(*uintptr)(unsafe.Pointer(bp + 24)) = uintptr(0)
- *(*uintptr)(unsafe.Pointer(bp + 40)) = Xsqlite3_vfs_find(tls, ts+5187)
+ *(*uintptr)(unsafe.Pointer(bp + 40)) = Xsqlite3_vfs_find(tls, ts+5206)
if !(*(*uintptr)(unsafe.Pointer(bp + 40)) == uintptr(0)) {
goto __5
}
return
__5:
;
- rc = Xsqlite3BtreeOpen(tls, *(*uintptr)(unsafe.Pointer(bp + 40)), ts+13028, db, bp+24, 0, SQLITE_OPEN_MAIN_DB)
+ rc = Xsqlite3BtreeOpen(tls, *(*uintptr)(unsafe.Pointer(bp + 40)), ts+13047, db, bp+24, 0, SQLITE_OPEN_MAIN_DB)
if !(rc == SQLITE_OK) {
goto __6
}
@@ -111831,7 +111846,7 @@ __3:
if !((*Sqlite3)(unsafe.Pointer(db)).FnDb >= *(*int32)(unsafe.Pointer(db + 136 + 7*4))+2) {
goto __11
}
- *(*uintptr)(unsafe.Pointer(bp + 64)) = Xsqlite3MPrintf(tls, db, ts+13031,
+ *(*uintptr)(unsafe.Pointer(bp + 64)) = Xsqlite3MPrintf(tls, db, ts+13050,
libc.VaList(bp, *(*int32)(unsafe.Pointer(db + 136 + 7*4))))
goto attach_error
__11:
@@ -111845,7 +111860,7 @@ __12:
if !(Xsqlite3DbIsNamed(tls, db, i, zName) != 0) {
goto __15
}
- *(*uintptr)(unsafe.Pointer(bp + 64)) = Xsqlite3MPrintf(tls, db, ts+13068, libc.VaList(bp+8, zName))
+ *(*uintptr)(unsafe.Pointer(bp + 64)) = Xsqlite3MPrintf(tls, db, ts+13087, libc.VaList(bp+8, zName))
goto attach_error
__15:
;
@@ -111909,7 +111924,7 @@ __4:
goto __22
}
rc = SQLITE_ERROR
- *(*uintptr)(unsafe.Pointer(bp + 64)) = Xsqlite3MPrintf(tls, db, ts+13098, 0)
+ *(*uintptr)(unsafe.Pointer(bp + 64)) = Xsqlite3MPrintf(tls, db, ts+13117, 0)
goto __23
__22:
if !(rc == SQLITE_OK) {
@@ -111926,7 +111941,7 @@ __25:
goto __27
}
*(*uintptr)(unsafe.Pointer(bp + 64)) = Xsqlite3MPrintf(tls, db,
- ts+13127, 0)
+ ts+13146, 0)
rc = SQLITE_ERROR
__27:
;
@@ -111992,13 +112007,13 @@ __33:
}
Xsqlite3OomFault(tls, db)
Xsqlite3DbFree(tls, db, *(*uintptr)(unsafe.Pointer(bp + 64)))
- *(*uintptr)(unsafe.Pointer(bp + 64)) = Xsqlite3MPrintf(tls, db, ts+1480, 0)
+ *(*uintptr)(unsafe.Pointer(bp + 64)) = Xsqlite3MPrintf(tls, db, ts+1499, 0)
goto __35
__34:
if !(*(*uintptr)(unsafe.Pointer(bp + 64)) == uintptr(0)) {
goto __36
}
- *(*uintptr)(unsafe.Pointer(bp + 64)) = Xsqlite3MPrintf(tls, db, ts+13195, libc.VaList(bp+16, zFile))
+ *(*uintptr)(unsafe.Pointer(bp + 64)) = Xsqlite3MPrintf(tls, db, ts+13214, libc.VaList(bp+16, zFile))
__36:
;
__35:
@@ -112045,7 +112060,7 @@ func detachFunc(tls *libc.TLS, context uintptr, NotUsed int32, argv uintptr) {
if !(zName == uintptr(0)) {
goto __1
}
- zName = ts + 1544
+ zName = ts + 1563
__1:
;
i = 0
@@ -112076,14 +112091,14 @@ __4:
if !(i >= (*Sqlite3)(unsafe.Pointer(db)).FnDb) {
goto __7
}
- Xsqlite3_snprintf(tls, int32(unsafe.Sizeof([128]int8{})), bp+24, ts+13223, libc.VaList(bp, zName))
+ Xsqlite3_snprintf(tls, int32(unsafe.Sizeof([128]int8{})), bp+24, ts+13242, libc.VaList(bp, zName))
goto detach_error
__7:
;
if !(i < 2) {
goto __8
}
- Xsqlite3_snprintf(tls, int32(unsafe.Sizeof([128]int8{})), bp+24, ts+13244, libc.VaList(bp+8, zName))
+ Xsqlite3_snprintf(tls, int32(unsafe.Sizeof([128]int8{})), bp+24, ts+13263, libc.VaList(bp+8, zName))
goto detach_error
__8:
;
@@ -112091,7 +112106,7 @@ __8:
Xsqlite3BtreeIsInBackup(tls, (*Db)(unsafe.Pointer(pDb)).FpBt) != 0) {
goto __9
}
- Xsqlite3_snprintf(tls, int32(unsafe.Sizeof([128]int8{})), bp+24, ts+13270, libc.VaList(bp+16, zName))
+ Xsqlite3_snprintf(tls, int32(unsafe.Sizeof([128]int8{})), bp+24, ts+13289, libc.VaList(bp+16, zName))
goto detach_error
__9:
;
@@ -112208,7 +112223,7 @@ var detach_func = FuncDef{
FnArg: int8(1),
FfuncFlags: U32(SQLITE_UTF8),
FxSFunc: 0,
- FzName: ts + 13292}
+ FzName: ts + 13311}
// Called by the parser to compile an ATTACH statement.
//
@@ -112221,7 +112236,7 @@ var attach_func = FuncDef{
FnArg: int8(3),
FfuncFlags: U32(SQLITE_UTF8),
FxSFunc: 0,
- FzName: ts + 13306}
+ FzName: ts + 13325}
func fixExprCb(tls *libc.TLS, p uintptr, pExpr uintptr) int32 {
bp := tls.Alloc(8)
@@ -112235,7 +112250,7 @@ func fixExprCb(tls *libc.TLS, p uintptr, pExpr uintptr) int32 {
if (*Sqlite3)(unsafe.Pointer((*Parse)(unsafe.Pointer((*DbFixer)(unsafe.Pointer(pFix)).FpParse)).Fdb)).Finit.Fbusy != 0 {
(*Expr)(unsafe.Pointer(pExpr)).Fop = U8(TK_NULL)
} else {
- Xsqlite3ErrorMsg(tls, (*DbFixer)(unsafe.Pointer(pFix)).FpParse, ts+13320, libc.VaList(bp, (*DbFixer)(unsafe.Pointer(pFix)).FzType))
+ Xsqlite3ErrorMsg(tls, (*DbFixer)(unsafe.Pointer(pFix)).FpParse, ts+13339, libc.VaList(bp, (*DbFixer)(unsafe.Pointer(pFix)).FzType))
return WRC_Abort
}
}
@@ -112267,7 +112282,7 @@ __1:
if (*SrcItem)(unsafe.Pointer(pItem)).FzDatabase != 0 {
if iDb != Xsqlite3FindDbName(tls, db, (*SrcItem)(unsafe.Pointer(pItem)).FzDatabase) {
Xsqlite3ErrorMsg(tls, (*DbFixer)(unsafe.Pointer(pFix)).FpParse,
- ts+13344,
+ ts+13363,
libc.VaList(bp, (*DbFixer)(unsafe.Pointer(pFix)).FzType, (*DbFixer)(unsafe.Pointer(pFix)).FpName, (*SrcItem)(unsafe.Pointer(pItem)).FzDatabase))
return WRC_Abort
}
@@ -112442,7 +112457,7 @@ func Xsqlite3_set_authorizer(tls *libc.TLS, db uintptr, xAuth uintptr, pArg uint
}
func sqliteAuthBadReturnCode(tls *libc.TLS, pParse uintptr) {
- Xsqlite3ErrorMsg(tls, pParse, ts+13390, 0)
+ Xsqlite3ErrorMsg(tls, pParse, ts+13409, 0)
(*Parse)(unsafe.Pointer(pParse)).Frc = SQLITE_ERROR
}
@@ -112468,11 +112483,11 @@ func Xsqlite3AuthReadCol(tls *libc.TLS, pParse uintptr, zTab uintptr, zCol uintp
f func(*libc.TLS, uintptr, int32, uintptr, uintptr, uintptr, uintptr) int32
})(unsafe.Pointer(&struct{ uintptr }{(*Sqlite3)(unsafe.Pointer(db)).FxAuth})).f(tls, (*Sqlite3)(unsafe.Pointer(db)).FpAuthArg, SQLITE_READ, zTab, zCol, zDb, (*Parse)(unsafe.Pointer(pParse)).FzAuthContext)
if rc == SQLITE_DENY {
- var z uintptr = Xsqlite3_mprintf(tls, ts+13413, libc.VaList(bp, zTab, zCol))
+ var z uintptr = Xsqlite3_mprintf(tls, ts+13432, libc.VaList(bp, zTab, zCol))
if (*Sqlite3)(unsafe.Pointer(db)).FnDb > 2 || iDb != 0 {
- z = Xsqlite3_mprintf(tls, ts+13419, libc.VaList(bp+16, zDb, z))
+ z = Xsqlite3_mprintf(tls, ts+13438, libc.VaList(bp+16, zDb, z))
}
- Xsqlite3ErrorMsg(tls, pParse, ts+13425, libc.VaList(bp+32, z))
+ Xsqlite3ErrorMsg(tls, pParse, ts+13444, libc.VaList(bp+32, z))
(*Parse)(unsafe.Pointer(pParse)).Frc = SQLITE_AUTH
} else if rc != SQLITE_IGNORE && rc != SQLITE_OK {
sqliteAuthBadReturnCode(tls, pParse)
@@ -112519,7 +112534,7 @@ func Xsqlite3AuthRead(tls *libc.TLS, pParse uintptr, pExpr uintptr, pSchema uint
} else if int32((*Table)(unsafe.Pointer(pTab)).FiPKey) >= 0 {
zCol = (*Column)(unsafe.Pointer((*Table)(unsafe.Pointer(pTab)).FaCol + uintptr((*Table)(unsafe.Pointer(pTab)).FiPKey)*24)).FzCnName
} else {
- zCol = ts + 9065
+ zCol = ts + 9084
}
if SQLITE_IGNORE == Xsqlite3AuthReadCol(tls, pParse, (*Table)(unsafe.Pointer(pTab)).FzName, zCol, iDb) {
@@ -112543,7 +112558,7 @@ func Xsqlite3AuthCheck(tls *libc.TLS, pParse uintptr, code int32, zArg1 uintptr,
f func(*libc.TLS, uintptr, int32, uintptr, uintptr, uintptr, uintptr) int32
})(unsafe.Pointer(&struct{ uintptr }{(*Sqlite3)(unsafe.Pointer(db)).FxAuth})).f(tls, (*Sqlite3)(unsafe.Pointer(db)).FpAuthArg, code, zArg1, zArg2, zArg3, (*Parse)(unsafe.Pointer(pParse)).FzAuthContext)
if rc == SQLITE_DENY {
- Xsqlite3ErrorMsg(tls, pParse, ts+13452, 0)
+ Xsqlite3ErrorMsg(tls, pParse, ts+13471, 0)
(*Parse)(unsafe.Pointer(pParse)).Frc = SQLITE_AUTH
} else if rc != SQLITE_OK && rc != SQLITE_IGNORE {
rc = SQLITE_DENY
@@ -112814,25 +112829,25 @@ func Xsqlite3FindTable(tls *libc.TLS, db uintptr, zName uintptr, zDatabase uintp
}
}
if i >= (*Sqlite3)(unsafe.Pointer(db)).FnDb {
- if Xsqlite3StrICmp(tls, zDatabase, ts+7793) == 0 {
+ if Xsqlite3StrICmp(tls, zDatabase, ts+7812) == 0 {
i = 0
} else {
return uintptr(0)
}
}
p = Xsqlite3HashFind(tls, (*Db)(unsafe.Pointer((*Sqlite3)(unsafe.Pointer(db)).FaDb+uintptr(i)*32)).FpSchema+8, zName)
- if p == uintptr(0) && Xsqlite3_strnicmp(tls, zName, ts+7733, 7) == 0 {
+ if p == uintptr(0) && Xsqlite3_strnicmp(tls, zName, ts+7752, 7) == 0 {
if i == 1 {
- if Xsqlite3StrICmp(tls, zName+uintptr(7), ts+7760+7) == 0 ||
- Xsqlite3StrICmp(tls, zName+uintptr(7), ts+7779+7) == 0 ||
- Xsqlite3StrICmp(tls, zName+uintptr(7), ts+7235+7) == 0 {
+ if Xsqlite3StrICmp(tls, zName+uintptr(7), ts+7779+7) == 0 ||
+ Xsqlite3StrICmp(tls, zName+uintptr(7), ts+7798+7) == 0 ||
+ Xsqlite3StrICmp(tls, zName+uintptr(7), ts+7254+7) == 0 {
p = Xsqlite3HashFind(tls, (*Db)(unsafe.Pointer((*Sqlite3)(unsafe.Pointer(db)).FaDb+1*32)).FpSchema+8,
- ts+7741)
+ ts+7760)
}
} else {
- if Xsqlite3StrICmp(tls, zName+uintptr(7), ts+7779+7) == 0 {
+ if Xsqlite3StrICmp(tls, zName+uintptr(7), ts+7798+7) == 0 {
p = Xsqlite3HashFind(tls, (*Db)(unsafe.Pointer((*Sqlite3)(unsafe.Pointer(db)).FaDb+uintptr(i)*32)).FpSchema+8,
- ts+7235)
+ ts+7254)
}
}
}
@@ -112853,12 +112868,12 @@ func Xsqlite3FindTable(tls *libc.TLS, db uintptr, zName uintptr, zDatabase uintp
break
}
}
- if p == uintptr(0) && Xsqlite3_strnicmp(tls, zName, ts+7733, 7) == 0 {
- if Xsqlite3StrICmp(tls, zName+uintptr(7), ts+7779+7) == 0 {
- p = Xsqlite3HashFind(tls, (*Db)(unsafe.Pointer((*Sqlite3)(unsafe.Pointer(db)).FaDb)).FpSchema+8, ts+7235)
- } else if Xsqlite3StrICmp(tls, zName+uintptr(7), ts+7760+7) == 0 {
+ if p == uintptr(0) && Xsqlite3_strnicmp(tls, zName, ts+7752, 7) == 0 {
+ if Xsqlite3StrICmp(tls, zName+uintptr(7), ts+7798+7) == 0 {
+ p = Xsqlite3HashFind(tls, (*Db)(unsafe.Pointer((*Sqlite3)(unsafe.Pointer(db)).FaDb)).FpSchema+8, ts+7254)
+ } else if Xsqlite3StrICmp(tls, zName+uintptr(7), ts+7779+7) == 0 {
p = Xsqlite3HashFind(tls, (*Db)(unsafe.Pointer((*Sqlite3)(unsafe.Pointer(db)).FaDb+1*32)).FpSchema+8,
- ts+7741)
+ ts+7760)
}
}
}
@@ -112889,7 +112904,7 @@ func Xsqlite3LocateTable(tls *libc.TLS, pParse uintptr, flags U32, zName uintptr
if p == uintptr(0) {
if int32((*Parse)(unsafe.Pointer(pParse)).FprepFlags)&SQLITE_PREPARE_NO_VTAB == 0 && int32((*Sqlite3)(unsafe.Pointer(db)).Finit.Fbusy) == 0 {
var pMod uintptr = Xsqlite3HashFind(tls, db+576, zName)
- if pMod == uintptr(0) && Xsqlite3_strnicmp(tls, zName, ts+13467, 7) == 0 {
+ if pMod == uintptr(0) && Xsqlite3_strnicmp(tls, zName, ts+13486, 7) == 0 {
pMod = Xsqlite3PragmaVtabRegister(tls, db, zName)
}
if pMod != 0 && Xsqlite3VtabEponymousTableInit(tls, pParse, pMod) != 0 {
@@ -112907,14 +112922,14 @@ func Xsqlite3LocateTable(tls *libc.TLS, pParse uintptr, flags U32, zName uintptr
if p == uintptr(0) {
var zMsg uintptr
if flags&U32(LOCATE_VIEW) != 0 {
- zMsg = ts + 13475
+ zMsg = ts + 13494
} else {
- zMsg = ts + 13488
+ zMsg = ts + 13507
}
if zDbase != 0 {
- Xsqlite3ErrorMsg(tls, pParse, ts+7997, libc.VaList(bp, zMsg, zDbase, zName))
+ Xsqlite3ErrorMsg(tls, pParse, ts+8016, libc.VaList(bp, zMsg, zDbase, zName))
} else {
- Xsqlite3ErrorMsg(tls, pParse, ts+8007, libc.VaList(bp+24, zMsg, zName))
+ Xsqlite3ErrorMsg(tls, pParse, ts+8026, libc.VaList(bp+24, zMsg, zName))
}
} else {
}
@@ -112944,12 +112959,12 @@ func Xsqlite3LocateTableItem(tls *libc.TLS, pParse uintptr, flags U32, p uintptr
// Return the preferred table name for system tables. Translate legacy
// names into the new preferred names, as appropriate.
func Xsqlite3PreferredTableName(tls *libc.TLS, zName uintptr) uintptr {
- if Xsqlite3_strnicmp(tls, zName, ts+7733, 7) == 0 {
- if Xsqlite3StrICmp(tls, zName+uintptr(7), ts+7235+7) == 0 {
- return ts + 7779
+ if Xsqlite3_strnicmp(tls, zName, ts+7752, 7) == 0 {
+ if Xsqlite3StrICmp(tls, zName+uintptr(7), ts+7254+7) == 0 {
+ return ts + 7798
}
- if Xsqlite3StrICmp(tls, zName+uintptr(7), ts+7741+7) == 0 {
- return ts + 7760
+ if Xsqlite3StrICmp(tls, zName+uintptr(7), ts+7760+7) == 0 {
+ return ts + 7779
}
}
return zName
@@ -113307,7 +113322,7 @@ func Xsqlite3NameFromToken(tls *libc.TLS, db uintptr, pName uintptr) uintptr {
// writing. The table is opened using cursor 0.
func Xsqlite3OpenSchemaTable(tls *libc.TLS, p uintptr, iDb int32) {
var v uintptr = Xsqlite3GetVdbe(tls, p)
- Xsqlite3TableLock(tls, p, iDb, uint32(SCHEMA_ROOT), uint8(1), ts+7235)
+ Xsqlite3TableLock(tls, p, iDb, uint32(SCHEMA_ROOT), uint8(1), ts+7254)
Xsqlite3VdbeAddOp4Int(tls, v, OP_OpenWrite, 0, SCHEMA_ROOT, iDb, 5)
if (*Parse)(unsafe.Pointer(p)).FnTab == 0 {
(*Parse)(unsafe.Pointer(p)).FnTab = 1
@@ -113333,7 +113348,7 @@ func Xsqlite3FindDbName(tls *libc.TLS, db uintptr, zName uintptr) int32 {
goto __3
}
- if i == 0 && 0 == Xsqlite3_stricmp(tls, ts+7793, zName) {
+ if i == 0 && 0 == Xsqlite3_stricmp(tls, ts+7812, zName) {
goto __3
}
@@ -113386,13 +113401,13 @@ func Xsqlite3TwoPartName(tls *libc.TLS, pParse uintptr, pName1 uintptr, pName2 u
if (*Token)(unsafe.Pointer(pName2)).Fn > uint32(0) {
if (*Sqlite3)(unsafe.Pointer(db)).Finit.Fbusy != 0 {
- Xsqlite3ErrorMsg(tls, pParse, ts+13502, 0)
+ Xsqlite3ErrorMsg(tls, pParse, ts+13521, 0)
return -1
}
*(*uintptr)(unsafe.Pointer(pUnqual)) = pName2
iDb = Xsqlite3FindDb(tls, db, pName1)
if iDb < 0 {
- Xsqlite3ErrorMsg(tls, pParse, ts+13519, libc.VaList(bp, pName1))
+ Xsqlite3ErrorMsg(tls, pParse, ts+13538, libc.VaList(bp, pName1))
return -1
}
} else {
@@ -113430,13 +113445,13 @@ func Xsqlite3CheckObjectName(tls *libc.TLS, pParse uintptr, zName uintptr, zType
if Xsqlite3_stricmp(tls, zType, *(*uintptr)(unsafe.Pointer((*Sqlite3)(unsafe.Pointer(db)).Finit.FazInit))) != 0 ||
Xsqlite3_stricmp(tls, zName, *(*uintptr)(unsafe.Pointer((*Sqlite3)(unsafe.Pointer(db)).Finit.FazInit + 1*8))) != 0 ||
Xsqlite3_stricmp(tls, zTblName, *(*uintptr)(unsafe.Pointer((*Sqlite3)(unsafe.Pointer(db)).Finit.FazInit + 2*8))) != 0 {
- Xsqlite3ErrorMsg(tls, pParse, ts+1544, 0)
+ Xsqlite3ErrorMsg(tls, pParse, ts+1563, 0)
return SQLITE_ERROR
}
} else {
- if int32((*Parse)(unsafe.Pointer(pParse)).Fnested) == 0 && 0 == Xsqlite3_strnicmp(tls, zName, ts+7733, 7) ||
+ if int32((*Parse)(unsafe.Pointer(pParse)).Fnested) == 0 && 0 == Xsqlite3_strnicmp(tls, zName, ts+7752, 7) ||
Xsqlite3ReadOnlyShadowTables(tls, db) != 0 && Xsqlite3ShadowTableName(tls, db, zName) != 0 {
- Xsqlite3ErrorMsg(tls, pParse, ts+13539,
+ Xsqlite3ErrorMsg(tls, pParse, ts+13558,
libc.VaList(bp, zName))
return SQLITE_ERROR
}
@@ -113596,9 +113611,9 @@ func Xsqlite3StartTable(tls *libc.TLS, pParse uintptr, pName1 uintptr, pName2 ui
iDb = int32((*Sqlite3)(unsafe.Pointer(db)).Finit.FiDb)
zName = Xsqlite3DbStrDup(tls, db, func() uintptr {
if !(0 != 0) && iDb == 1 {
- return ts + 7741
+ return ts + 7760
}
- return ts + 7235
+ return ts + 7254
}())
*(*uintptr)(unsafe.Pointer(bp + 24)) = pName1
goto __2
@@ -113614,7 +113629,7 @@ __3:
goto __4
}
- Xsqlite3ErrorMsg(tls, pParse, ts+13581, 0)
+ Xsqlite3ErrorMsg(tls, pParse, ts+13600, 0)
return
__4:
;
@@ -113642,9 +113657,9 @@ __7:
;
if !(Xsqlite3CheckObjectName(tls, pParse, zName, func() uintptr {
if isView != 0 {
- return ts + 11843
+ return ts + 11862
}
- return ts + 10228
+ return ts + 10247
}(), zName) != 0) {
goto __8
}
@@ -113660,9 +113675,9 @@ __9:
zDb = (*Db)(unsafe.Pointer((*Sqlite3)(unsafe.Pointer(db)).FaDb + uintptr(iDb)*32)).FzDbSName
if !(Xsqlite3AuthCheck(tls, pParse, SQLITE_INSERT, func() uintptr {
if !(0 != 0) && isTemp == 1 {
- return ts + 7741
+ return ts + 7760
}
- return ts + 7235
+ return ts + 7254
}(), uintptr(0), zDb) != 0) {
goto __10
}
@@ -113693,12 +113708,12 @@ __13:
if !!(noErr != 0) {
goto __15
}
- Xsqlite3ErrorMsg(tls, pParse, ts+13622,
+ Xsqlite3ErrorMsg(tls, pParse, ts+13641,
libc.VaList(bp, func() uintptr {
if int32((*Table)(unsafe.Pointer(pTable)).FeTabType) == TABTYP_VIEW {
- return ts + 11843
+ return ts + 11862
}
- return ts + 10228
+ return ts + 10247
}(), *(*uintptr)(unsafe.Pointer(bp + 24))))
goto __16
__15:
@@ -113713,7 +113728,7 @@ __14:
if !(Xsqlite3FindIndex(tls, db, zName, zDb1) != uintptr(0)) {
goto __17
}
- Xsqlite3ErrorMsg(tls, pParse, ts+13643, libc.VaList(bp+16, zName))
+ Xsqlite3ErrorMsg(tls, pParse, ts+13662, libc.VaList(bp+16, zName))
goto begin_table_error
__17:
;
@@ -113800,7 +113815,7 @@ var nullRow = [6]int8{int8(6), int8(0), int8(0), int8(0), int8(0), int8(0)}
func sqlite3DeleteReturning(tls *libc.TLS, db uintptr, pRet uintptr) {
var pHash uintptr
pHash = (*Db)(unsafe.Pointer((*Sqlite3)(unsafe.Pointer(db)).FaDb+1*32)).FpSchema + 56
- Xsqlite3HashInsert(tls, pHash, ts+13678, uintptr(0))
+ Xsqlite3HashInsert(tls, pHash, ts+13697, uintptr(0))
Xsqlite3ExprListDelete(tls, db, (*Returning)(unsafe.Pointer(pRet)).FpReturnEL)
Xsqlite3DbFree(tls, db, pRet)
}
@@ -113824,7 +113839,7 @@ func Xsqlite3AddReturning(tls *libc.TLS, pParse uintptr, pList uintptr) {
var pHash uintptr
var db uintptr = (*Parse)(unsafe.Pointer(pParse)).Fdb
if (*Parse)(unsafe.Pointer(pParse)).FpNewTrigger != 0 {
- Xsqlite3ErrorMsg(tls, pParse, ts+13695, 0)
+ Xsqlite3ErrorMsg(tls, pParse, ts+13714, 0)
} else {
}
(*Parse)(unsafe.Pointer(pParse)).FbReturning = U8(1)
@@ -113844,7 +113859,7 @@ func Xsqlite3AddReturning(tls *libc.TLS, pParse uintptr, pList uintptr) {
if (*Sqlite3)(unsafe.Pointer(db)).FmallocFailed != 0 {
return
}
- (*Returning)(unsafe.Pointer(pRet)).FretTrig.FzName = ts + 13678
+ (*Returning)(unsafe.Pointer(pRet)).FretTrig.FzName = ts + 13697
(*Returning)(unsafe.Pointer(pRet)).FretTrig.Fop = U8(TK_RETURNING)
(*Returning)(unsafe.Pointer(pRet)).FretTrig.Ftr_tm = U8(TRIGGER_AFTER)
(*Returning)(unsafe.Pointer(pRet)).FretTrig.FbReturning = U8(1)
@@ -113856,7 +113871,7 @@ func Xsqlite3AddReturning(tls *libc.TLS, pParse uintptr, pList uintptr) {
(*Returning)(unsafe.Pointer(pRet)).FretTStep.FpExprList = pList
pHash = (*Db)(unsafe.Pointer((*Sqlite3)(unsafe.Pointer(db)).FaDb+1*32)).FpSchema + 56
- if Xsqlite3HashInsert(tls, pHash, ts+13678, pRet+16) ==
+ if Xsqlite3HashInsert(tls, pHash, ts+13697, pRet+16) ==
pRet+16 {
Xsqlite3OomFault(tls, db)
}
@@ -113890,7 +113905,7 @@ func Xsqlite3AddColumn(tls *libc.TLS, pParse uintptr, sName Token, sType Token)
return
}
if int32((*Table)(unsafe.Pointer(p)).FnCol)+1 > *(*int32)(unsafe.Pointer(db + 136 + 2*4)) {
- Xsqlite3ErrorMsg(tls, pParse, ts+13729, libc.VaList(bp, (*Table)(unsafe.Pointer(p)).FzName))
+ Xsqlite3ErrorMsg(tls, pParse, ts+13748, libc.VaList(bp, (*Table)(unsafe.Pointer(p)).FzName))
return
}
if !(int32((*Parse)(unsafe.Pointer(pParse)).FeParseMode) >= PARSE_MODE_RENAME) {
@@ -113898,13 +113913,13 @@ func Xsqlite3AddColumn(tls *libc.TLS, pParse uintptr, sName Token, sType Token)
}
if (*Token)(unsafe.Pointer(bp+32)).Fn >= uint32(16) &&
- Xsqlite3_strnicmp(tls, (*Token)(unsafe.Pointer(bp+32)).Fz+uintptr((*Token)(unsafe.Pointer(bp+32)).Fn-uint32(6)), ts+13752, 6) == 0 {
+ Xsqlite3_strnicmp(tls, (*Token)(unsafe.Pointer(bp+32)).Fz+uintptr((*Token)(unsafe.Pointer(bp+32)).Fn-uint32(6)), ts+13771, 6) == 0 {
*(*uint32)(unsafe.Pointer(bp + 32 + 8)) -= uint32(6)
for (*Token)(unsafe.Pointer(bp+32)).Fn > uint32(0) && int32(Xsqlite3CtypeMap[uint8(*(*int8)(unsafe.Pointer((*Token)(unsafe.Pointer(bp+32)).Fz + uintptr((*Token)(unsafe.Pointer(bp+32)).Fn-uint32(1)))))])&0x01 != 0 {
(*Token)(unsafe.Pointer(bp+32)).Fn--
}
if (*Token)(unsafe.Pointer(bp+32)).Fn >= uint32(9) &&
- Xsqlite3_strnicmp(tls, (*Token)(unsafe.Pointer(bp+32)).Fz+uintptr((*Token)(unsafe.Pointer(bp+32)).Fn-uint32(9)), ts+13759, 9) == 0 {
+ Xsqlite3_strnicmp(tls, (*Token)(unsafe.Pointer(bp+32)).Fz+uintptr((*Token)(unsafe.Pointer(bp+32)).Fn-uint32(9)), ts+13778, 9) == 0 {
*(*uint32)(unsafe.Pointer(bp + 32 + 8)) -= uint32(9)
for (*Token)(unsafe.Pointer(bp+32)).Fn > uint32(0) && int32(Xsqlite3CtypeMap[uint8(*(*int8)(unsafe.Pointer((*Token)(unsafe.Pointer(bp+32)).Fz + uintptr((*Token)(unsafe.Pointer(bp+32)).Fn-uint32(1)))))])&0x01 != 0 {
(*Token)(unsafe.Pointer(bp+32)).Fn--
@@ -113941,7 +113956,7 @@ func Xsqlite3AddColumn(tls *libc.TLS, pParse uintptr, sName Token, sType Token)
hName = Xsqlite3StrIHash(tls, z)
for i = 0; i < int32((*Table)(unsafe.Pointer(p)).FnCol); i++ {
if int32((*Column)(unsafe.Pointer((*Table)(unsafe.Pointer(p)).FaCol+uintptr(i)*24)).FhName) == int32(hName) && Xsqlite3StrICmp(tls, z, (*Column)(unsafe.Pointer((*Table)(unsafe.Pointer(p)).FaCol+uintptr(i)*24)).FzCnName) == 0 {
- Xsqlite3ErrorMsg(tls, pParse, ts+13769, libc.VaList(bp+8, z))
+ Xsqlite3ErrorMsg(tls, pParse, ts+13788, libc.VaList(bp+8, z))
Xsqlite3DbFree(tls, db, z)
return
}
@@ -114105,10 +114120,10 @@ func Xsqlite3AddDefaultValue(tls *libc.TLS, pParse uintptr, pExpr uintptr, zStar
var isInit int32 = libc.Bool32((*Sqlite3)(unsafe.Pointer(db)).Finit.Fbusy != 0 && int32((*Sqlite3)(unsafe.Pointer(db)).Finit.FiDb) != 1)
pCol = (*Table)(unsafe.Pointer(p)).FaCol + uintptr(int32((*Table)(unsafe.Pointer(p)).FnCol)-1)*24
if !(Xsqlite3ExprIsConstantOrFunction(tls, pExpr, uint8(isInit)) != 0) {
- Xsqlite3ErrorMsg(tls, pParse, ts+13795,
+ Xsqlite3ErrorMsg(tls, pParse, ts+13814,
libc.VaList(bp, (*Column)(unsafe.Pointer(pCol)).FzCnName))
} else if int32((*Column)(unsafe.Pointer(pCol)).FcolFlags)&COLFLAG_GENERATED != 0 {
- Xsqlite3ErrorMsg(tls, pParse, ts+13840, 0)
+ Xsqlite3ErrorMsg(tls, pParse, ts+13859, 0)
} else {
var pDfltExpr uintptr
libc.Xmemset(tls, bp+8, 0, uint64(unsafe.Sizeof(Expr{})))
@@ -114139,7 +114154,7 @@ func makeColumnPartOfPrimaryKey(tls *libc.TLS, pParse uintptr, pCol uintptr) {
*(*U16)(unsafe.Pointer(pCol + 16)) |= U16(COLFLAG_PRIMKEY)
if int32((*Column)(unsafe.Pointer(pCol)).FcolFlags)&COLFLAG_GENERATED != 0 {
Xsqlite3ErrorMsg(tls, pParse,
- ts+13881, 0)
+ ts+13900, 0)
}
}
@@ -114184,7 +114199,7 @@ __1:
goto __2
}
Xsqlite3ErrorMsg(tls, pParse,
- ts+13933, libc.VaList(bp, (*Table)(unsafe.Pointer(pTab)).FzName))
+ ts+13952, libc.VaList(bp, (*Table)(unsafe.Pointer(pTab)).FzName))
goto primary_key_exit
__2:
;
@@ -114273,7 +114288,7 @@ __13:
goto __17
}
Xsqlite3ErrorMsg(tls, pParse,
- ts+13974, 0)
+ ts+13993, 0)
goto __18
__17:
Xsqlite3CreateIndex(tls, pParse, uintptr(0), uintptr(0), uintptr(0), pList, onError, uintptr(0),
@@ -114368,7 +114383,7 @@ __1:
if !(int32((*Parse)(unsafe.Pointer(pParse)).FeParseMode) == PARSE_MODE_DECLARE_VTAB) {
goto __2
}
- Xsqlite3ErrorMsg(tls, pParse, ts+14030, 0)
+ Xsqlite3ErrorMsg(tls, pParse, ts+14049, 0)
goto generated_done
__2:
;
@@ -114381,13 +114396,13 @@ __3:
if !(pType != 0) {
goto __4
}
- if !((*Token)(unsafe.Pointer(pType)).Fn == uint32(7) && Xsqlite3_strnicmp(tls, ts+14073, (*Token)(unsafe.Pointer(pType)).Fz, 7) == 0) {
+ if !((*Token)(unsafe.Pointer(pType)).Fn == uint32(7) && Xsqlite3_strnicmp(tls, ts+14092, (*Token)(unsafe.Pointer(pType)).Fz, 7) == 0) {
goto __5
}
goto __6
__5:
- if !((*Token)(unsafe.Pointer(pType)).Fn == uint32(6) && Xsqlite3_strnicmp(tls, ts+14081, (*Token)(unsafe.Pointer(pType)).Fz, 6) == 0) {
+ if !((*Token)(unsafe.Pointer(pType)).Fn == uint32(6) && Xsqlite3_strnicmp(tls, ts+14100, (*Token)(unsafe.Pointer(pType)).Fz, 6) == 0) {
goto __7
}
eType = U8(COLFLAG_STORED)
@@ -114422,12 +114437,18 @@ __10:
pExpr = Xsqlite3PExpr(tls, pParse, TK_UPLUS, pExpr, uintptr(0))
__11:
;
+ if !(pExpr != 0 && int32((*Expr)(unsafe.Pointer(pExpr)).Fop) != TK_RAISE) {
+ goto __12
+ }
+ (*Expr)(unsafe.Pointer(pExpr)).FaffExpr = (*Column)(unsafe.Pointer(pCol)).Faffinity
+__12:
+ ;
Xsqlite3ColumnSetExpr(tls, pParse, pTab, pCol, pExpr)
pExpr = uintptr(0)
goto generated_done
generated_error:
- Xsqlite3ErrorMsg(tls, pParse, ts+14088,
+ Xsqlite3ErrorMsg(tls, pParse, ts+14107,
libc.VaList(bp, (*Column)(unsafe.Pointer(pCol)).FzCnName))
generated_done:
Xsqlite3ExprDelete(tls, (*Parse)(unsafe.Pointer(pParse)).Fdb, pExpr)
@@ -114548,13 +114569,13 @@ __3:
;
n = n + identLength(tls, (*Table)(unsafe.Pointer(p)).FzName)
if n < 50 {
- zSep = ts + 1544
- zSep2 = ts + 14119
- zEnd = ts + 6309
+ zSep = ts + 1563
+ zSep2 = ts + 14138
+ zEnd = ts + 6328
} else {
- zSep = ts + 14121
- zSep2 = ts + 14125
- zEnd = ts + 14130
+ zSep = ts + 14140
+ zSep2 = ts + 14144
+ zEnd = ts + 14149
}
n = n + (35 + 6*int32((*Table)(unsafe.Pointer(p)).FnCol))
zStmt = Xsqlite3DbMallocRaw(tls, uintptr(0), uint64(n))
@@ -114562,7 +114583,7 @@ __3:
Xsqlite3OomFault(tls, db)
return uintptr(0)
}
- Xsqlite3_snprintf(tls, n, zStmt, ts+14133, 0)
+ Xsqlite3_snprintf(tls, n, zStmt, ts+14152, 0)
*(*int32)(unsafe.Pointer(bp + 8)) = Xsqlite3Strlen30(tls, zStmt)
identPut(tls, zStmt, bp+8, (*Table)(unsafe.Pointer(p)).FzName)
*(*int8)(unsafe.Pointer(zStmt + uintptr(libc.PostIncInt32(&*(*int32)(unsafe.Pointer(bp + 8)), 1)))) = int8('(')
@@ -114596,17 +114617,17 @@ __5:
goto __6
__6:
;
- Xsqlite3_snprintf(tls, n-*(*int32)(unsafe.Pointer(bp + 8)), zStmt+uintptr(*(*int32)(unsafe.Pointer(bp + 8))), ts+4493, libc.VaList(bp, zEnd))
+ Xsqlite3_snprintf(tls, n-*(*int32)(unsafe.Pointer(bp + 8)), zStmt+uintptr(*(*int32)(unsafe.Pointer(bp + 8))), ts+4512, libc.VaList(bp, zEnd))
return zStmt
}
var azType1 = [6]uintptr{
- ts + 1544,
- ts + 14147,
- ts + 14153,
- ts + 14158,
- ts + 14163,
- ts + 14153,
+ ts + 1563,
+ ts + 14166,
+ ts + 14172,
+ ts + 14177,
+ ts + 14182,
+ ts + 14172,
}
func resizeIndexObject(tls *libc.TLS, db uintptr, pIdx uintptr, N int32) int32 {
@@ -114996,7 +115017,7 @@ func Xsqlite3EndTable(tls *libc.TLS, pParse uintptr, pCons uintptr, pEnd uintptr
if (*Sqlite3)(unsafe.Pointer(db)).Finit.Fbusy != 0 {
if pSelect != 0 || !(int32((*Table)(unsafe.Pointer(p)).FeTabType) == TABTYP_NORM) && (*Sqlite3)(unsafe.Pointer(db)).Finit.FnewTnum != 0 {
- Xsqlite3ErrorMsg(tls, pParse, ts+1544, 0)
+ Xsqlite3ErrorMsg(tls, pParse, ts+1563, 0)
return
}
(*Table)(unsafe.Pointer(p)).Ftnum = (*Sqlite3)(unsafe.Pointer(db)).Finit.FnewTnum
@@ -115013,10 +115034,10 @@ func Xsqlite3EndTable(tls *libc.TLS, pParse uintptr, pCons uintptr, pEnd uintptr
if int32(*(*uint8)(unsafe.Pointer(pCol + 8))&0xf0>>4) == COLTYPE_CUSTOM {
if int32((*Column)(unsafe.Pointer(pCol)).FcolFlags)&COLFLAG_HASTYPE != 0 {
Xsqlite3ErrorMsg(tls, pParse,
- ts+14169,
- libc.VaList(bp, (*Table)(unsafe.Pointer(p)).FzName, (*Column)(unsafe.Pointer(pCol)).FzCnName, Xsqlite3ColumnType(tls, pCol, ts+1544)))
+ ts+14188,
+ libc.VaList(bp, (*Table)(unsafe.Pointer(p)).FzName, (*Column)(unsafe.Pointer(pCol)).FzCnName, Xsqlite3ColumnType(tls, pCol, ts+1563)))
} else {
- Xsqlite3ErrorMsg(tls, pParse, ts+14202,
+ Xsqlite3ErrorMsg(tls, pParse, ts+14221,
libc.VaList(bp+24, (*Table)(unsafe.Pointer(p)).FzName, (*Column)(unsafe.Pointer(pCol)).FzCnName))
}
return
@@ -115035,11 +115056,11 @@ func Xsqlite3EndTable(tls *libc.TLS, pParse uintptr, pCons uintptr, pEnd uintptr
if tabOpts&U32(TF_WithoutRowid) != 0 {
if (*Table)(unsafe.Pointer(p)).FtabFlags&U32(TF_Autoincrement) != 0 {
Xsqlite3ErrorMsg(tls, pParse,
- ts+14229, 0)
+ ts+14248, 0)
return
}
if (*Table)(unsafe.Pointer(p)).FtabFlags&U32(TF_HasPrimaryKey) == U32(0) {
- Xsqlite3ErrorMsg(tls, pParse, ts+14279, libc.VaList(bp+40, (*Table)(unsafe.Pointer(p)).FzName))
+ Xsqlite3ErrorMsg(tls, pParse, ts+14298, libc.VaList(bp+40, (*Table)(unsafe.Pointer(p)).FzName))
return
}
*(*U32)(unsafe.Pointer(p + 48)) |= U32(TF_WithoutRowid | TF_NoVisibleRowid)
@@ -115073,7 +115094,7 @@ func Xsqlite3EndTable(tls *libc.TLS, pParse uintptr, pCons uintptr, pEnd uintptr
}
}
if nNG == 0 {
- Xsqlite3ErrorMsg(tls, pParse, ts+14311, 0)
+ Xsqlite3ErrorMsg(tls, pParse, ts+14330, 0)
return
}
}
@@ -115098,11 +115119,11 @@ func Xsqlite3EndTable(tls *libc.TLS, pParse uintptr, pCons uintptr, pEnd uintptr
Xsqlite3VdbeAddOp1(tls, v, OP_Close, 0)
if int32((*Table)(unsafe.Pointer(p)).FeTabType) == TABTYP_NORM {
- zType = ts + 10228
- zType2 = ts + 14355
+ zType = ts + 10247
+ zType2 = ts + 14374
} else {
- zType = ts + 11843
- zType2 = ts + 14361
+ zType = ts + 11862
+ zType2 = ts + 14380
}
if pSelect != 0 {
@@ -115173,11 +115194,11 @@ func Xsqlite3EndTable(tls *libc.TLS, pParse uintptr, pCons uintptr, pEnd uintptr
n = int32(uint32(n) + (*Token)(unsafe.Pointer(pEnd2)).Fn)
}
zStmt = Xsqlite3MPrintf(tls, db,
- ts+14366, libc.VaList(bp+48, zType2, n, (*Parse)(unsafe.Pointer(pParse)).FsNameToken.Fz))
+ ts+14385, libc.VaList(bp+48, zType2, n, (*Parse)(unsafe.Pointer(pParse)).FsNameToken.Fz))
}
Xsqlite3NestedParse(tls, pParse,
- ts+14381,
+ ts+14400,
libc.VaList(bp+72, (*Db)(unsafe.Pointer((*Sqlite3)(unsafe.Pointer(db)).FaDb+uintptr(iDb)*32)).FzDbSName,
zType,
(*Table)(unsafe.Pointer(p)).FzName,
@@ -115193,13 +115214,13 @@ func Xsqlite3EndTable(tls *libc.TLS, pParse uintptr, pCons uintptr, pEnd uintptr
if (*Schema)(unsafe.Pointer((*Db)(unsafe.Pointer(pDb)).FpSchema)).FpSeqTab == uintptr(0) {
Xsqlite3NestedParse(tls, pParse,
- ts+14479,
+ ts+14498,
libc.VaList(bp+128, (*Db)(unsafe.Pointer(pDb)).FzDbSName))
}
}
Xsqlite3VdbeAddParseSchemaOp(tls, v, iDb,
- Xsqlite3MPrintf(tls, db, ts+14521, libc.VaList(bp+136, (*Table)(unsafe.Pointer(p)).FzName)), uint16(0))
+ Xsqlite3MPrintf(tls, db, ts+14540, libc.VaList(bp+136, (*Table)(unsafe.Pointer(p)).FzName)), uint16(0))
}
if (*Sqlite3)(unsafe.Pointer(db)).Finit.Fbusy != 0 {
@@ -115214,7 +115235,7 @@ func Xsqlite3EndTable(tls *libc.TLS, pParse uintptr, pCons uintptr, pEnd uintptr
(*Parse)(unsafe.Pointer(pParse)).FpNewTable = uintptr(0)
*(*U32)(unsafe.Pointer(db + 44)) |= U32(DBFLAG_SchemaChange)
- if libc.Xstrcmp(tls, (*Table)(unsafe.Pointer(p)).FzName, ts+10750) == 0 {
+ if libc.Xstrcmp(tls, (*Table)(unsafe.Pointer(p)).FzName, ts+10769) == 0 {
(*Schema)(unsafe.Pointer((*Table)(unsafe.Pointer(p)).FpSchema)).FpSeqTab = p
}
}
@@ -115244,7 +115265,7 @@ func Xsqlite3CreateView(tls *libc.TLS, pParse uintptr, pBegin uintptr, pName1 ui
if !(int32((*Parse)(unsafe.Pointer(pParse)).FnVar) > 0) {
goto __1
}
- Xsqlite3ErrorMsg(tls, pParse, ts+14555, 0)
+ Xsqlite3ErrorMsg(tls, pParse, ts+14574, 0)
goto create_view_fail
__1:
;
@@ -115260,7 +115281,7 @@ __2:
Xsqlite3TwoPartName(tls, pParse, pName1, pName2, bp)
iDb = Xsqlite3SchemaToIndex(tls, db, (*Table)(unsafe.Pointer(p)).FpSchema)
- Xsqlite3FixInit(tls, bp+8, pParse, iDb, ts+11843, *(*uintptr)(unsafe.Pointer(bp)))
+ Xsqlite3FixInit(tls, bp+8, pParse, iDb, ts+11862, *(*uintptr)(unsafe.Pointer(bp)))
if !(Xsqlite3FixSelect(tls, bp+8, pSelect) != 0) {
goto __3
}
@@ -115342,7 +115363,7 @@ func viewGetColumnNames(tls *libc.TLS, pParse uintptr, pTable uintptr) int32 {
}
if int32((*Table)(unsafe.Pointer(pTable)).FnCol) < 0 {
- Xsqlite3ErrorMsg(tls, pParse, ts+14591, libc.VaList(bp, (*Table)(unsafe.Pointer(pTable)).FzName))
+ Xsqlite3ErrorMsg(tls, pParse, ts+14610, libc.VaList(bp, (*Table)(unsafe.Pointer(pTable)).FzName))
return 1
}
@@ -115467,13 +115488,13 @@ func destroyRootPage(tls *libc.TLS, pParse uintptr, iTable int32, iDb int32) {
var v uintptr = Xsqlite3GetVdbe(tls, pParse)
var r1 int32 = Xsqlite3GetTempReg(tls, pParse)
if iTable < 2 {
- Xsqlite3ErrorMsg(tls, pParse, ts+14621, 0)
+ Xsqlite3ErrorMsg(tls, pParse, ts+14640, 0)
}
Xsqlite3VdbeAddOp3(tls, v, OP_Destroy, iTable, r1, iDb)
Xsqlite3MayAbort(tls, pParse)
Xsqlite3NestedParse(tls, pParse,
- ts+14636,
+ ts+14655,
libc.VaList(bp, (*Db)(unsafe.Pointer((*Sqlite3)(unsafe.Pointer((*Parse)(unsafe.Pointer(pParse)).Fdb)).FaDb+uintptr(iDb)*32)).FzDbSName, iTable, r1, r1))
Xsqlite3ReleaseTempReg(tls, pParse, r1)
}
@@ -115514,10 +115535,10 @@ func sqlite3ClearStatTables(tls *libc.TLS, pParse uintptr, iDb int32, zType uint
var i int32
var zDbName uintptr = (*Db)(unsafe.Pointer((*Sqlite3)(unsafe.Pointer((*Parse)(unsafe.Pointer(pParse)).Fdb)).FaDb + uintptr(iDb)*32)).FzDbSName
for i = 1; i <= 4; i++ {
- Xsqlite3_snprintf(tls, int32(unsafe.Sizeof([24]int8{})), bp+40, ts+14703, libc.VaList(bp, i))
+ Xsqlite3_snprintf(tls, int32(unsafe.Sizeof([24]int8{})), bp+40, ts+14722, libc.VaList(bp, i))
if Xsqlite3FindTable(tls, (*Parse)(unsafe.Pointer(pParse)).Fdb, bp+40, zDbName) != 0 {
Xsqlite3NestedParse(tls, pParse,
- ts+12652,
+ ts+12671,
libc.VaList(bp+8, zDbName, bp+40, zType, zName))
}
}
@@ -115549,12 +115570,12 @@ func Xsqlite3CodeDropTable(tls *libc.TLS, pParse uintptr, pTab uintptr, iDb int3
if (*Table)(unsafe.Pointer(pTab)).FtabFlags&U32(TF_Autoincrement) != 0 {
Xsqlite3NestedParse(tls, pParse,
- ts+14717,
+ ts+14736,
libc.VaList(bp, (*Db)(unsafe.Pointer(pDb)).FzDbSName, (*Table)(unsafe.Pointer(pTab)).FzName))
}
Xsqlite3NestedParse(tls, pParse,
- ts+14762,
+ ts+14781,
libc.VaList(bp+16, (*Db)(unsafe.Pointer(pDb)).FzDbSName, (*Table)(unsafe.Pointer(pTab)).FzName))
if !(isView != 0) && !(int32((*Table)(unsafe.Pointer(pTab)).FeTabType) == TABTYP_VTAB) {
destroyTable(tls, pParse, pTab)
@@ -115582,11 +115603,11 @@ func Xsqlite3ReadOnlyShadowTables(tls *libc.TLS, db uintptr) int32 {
}
func tableMayNotBeDropped(tls *libc.TLS, db uintptr, pTab uintptr) int32 {
- if Xsqlite3_strnicmp(tls, (*Table)(unsafe.Pointer(pTab)).FzName, ts+7733, 7) == 0 {
- if Xsqlite3_strnicmp(tls, (*Table)(unsafe.Pointer(pTab)).FzName+uintptr(7), ts+14829, 4) == 0 {
+ if Xsqlite3_strnicmp(tls, (*Table)(unsafe.Pointer(pTab)).FzName, ts+7752, 7) == 0 {
+ if Xsqlite3_strnicmp(tls, (*Table)(unsafe.Pointer(pTab)).FzName+uintptr(7), ts+14848, 4) == 0 {
return 0
}
- if Xsqlite3_strnicmp(tls, (*Table)(unsafe.Pointer(pTab)).FzName+uintptr(7), ts+8485, 10) == 0 {
+ if Xsqlite3_strnicmp(tls, (*Table)(unsafe.Pointer(pTab)).FzName+uintptr(7), ts+8493, 10) == 0 {
return 0
}
return 1
@@ -115664,9 +115685,9 @@ __7:
;
zTab = func() uintptr {
if !(0 != 0) && iDb == 1 {
- return ts + 7741
+ return ts + 7760
}
- return ts + 7235
+ return ts + 7254
}()
zDb = (*Db)(unsafe.Pointer((*Sqlite3)(unsafe.Pointer(db)).FaDb + uintptr(iDb)*32)).FzDbSName
zArg2 = uintptr(0)
@@ -115725,21 +115746,21 @@ __18:
if !(tableMayNotBeDropped(tls, db, pTab) != 0) {
goto __19
}
- Xsqlite3ErrorMsg(tls, pParse, ts+14834, libc.VaList(bp, (*Table)(unsafe.Pointer(pTab)).FzName))
+ Xsqlite3ErrorMsg(tls, pParse, ts+14853, libc.VaList(bp, (*Table)(unsafe.Pointer(pTab)).FzName))
goto exit_drop_table
__19:
;
if !(isView != 0 && !(int32((*Table)(unsafe.Pointer(pTab)).FeTabType) == TABTYP_VIEW)) {
goto __20
}
- Xsqlite3ErrorMsg(tls, pParse, ts+14862, libc.VaList(bp+8, (*Table)(unsafe.Pointer(pTab)).FzName))
+ Xsqlite3ErrorMsg(tls, pParse, ts+14881, libc.VaList(bp+8, (*Table)(unsafe.Pointer(pTab)).FzName))
goto exit_drop_table
__20:
;
if !(!(isView != 0) && int32((*Table)(unsafe.Pointer(pTab)).FeTabType) == TABTYP_VIEW) {
goto __21
}
- Xsqlite3ErrorMsg(tls, pParse, ts+14896, libc.VaList(bp+16, (*Table)(unsafe.Pointer(pTab)).FzName))
+ Xsqlite3ErrorMsg(tls, pParse, ts+14915, libc.VaList(bp+16, (*Table)(unsafe.Pointer(pTab)).FzName))
goto exit_drop_table
__21:
;
@@ -115751,7 +115772,7 @@ __21:
if !!(isView != 0) {
goto __23
}
- sqlite3ClearStatTables(tls, pParse, iDb, ts+12844, (*Table)(unsafe.Pointer(pTab)).FzName)
+ sqlite3ClearStatTables(tls, pParse, iDb, ts+12863, (*Table)(unsafe.Pointer(pTab)).FzName)
Xsqlite3FkDropTable(tls, pParse, pName, pTab)
__23:
;
@@ -115815,7 +115836,7 @@ __4:
goto __5
}
Xsqlite3ErrorMsg(tls, pParse,
- ts+14928,
+ ts+14947,
libc.VaList(bp, (*Column)(unsafe.Pointer((*Table)(unsafe.Pointer(p)).FaCol+uintptr(iCol)*24)).FzCnName, pTo))
goto fk_end
__5:
@@ -115827,7 +115848,7 @@ __2:
goto __6
}
Xsqlite3ErrorMsg(tls, pParse,
- ts+14991, 0)
+ ts+15010, 0)
goto fk_end
goto __7
__6:
@@ -115912,7 +115933,7 @@ __21:
goto __23
}
Xsqlite3ErrorMsg(tls, pParse,
- ts+15085,
+ ts+15104,
libc.VaList(bp+16, (*ExprList_item)(unsafe.Pointer(pFromCol+8+uintptr(i)*32)).FzEName))
goto fk_end
__23:
@@ -116139,12 +116160,12 @@ func Xsqlite3HasExplicitNulls(tls *libc.TLS, pParse uintptr, pList uintptr) int3
for i = 0; i < (*ExprList)(unsafe.Pointer(pList)).FnExpr; i++ {
if uint32(int32(*(*uint16)(unsafe.Pointer(pList + 8 + uintptr(i)*32 + 16 + 4))&0x20>>5)) != 0 {
var sf U8 = (*ExprList_item)(unsafe.Pointer(pList + 8 + uintptr(i)*32)).Ffg.FsortFlags
- Xsqlite3ErrorMsg(tls, pParse, ts+15131,
+ Xsqlite3ErrorMsg(tls, pParse, ts+15150,
libc.VaList(bp, func() uintptr {
if int32(sf) == 0 || int32(sf) == 3 {
- return ts + 15159
+ return ts + 15178
}
- return ts + 15165
+ return ts + 15184
}()))
return 1
}
@@ -116265,7 +116286,7 @@ __9:
;
__8:
;
- Xsqlite3FixInit(tls, bp+136, pParse, iDb, ts+15170, *(*uintptr)(unsafe.Pointer(bp + 128)))
+ Xsqlite3FixInit(tls, bp+136, pParse, iDb, ts+15189, *(*uintptr)(unsafe.Pointer(bp + 128)))
if !(Xsqlite3FixSrcList(tls, bp+136, pTblName) != 0) {
goto __10
}
@@ -116284,7 +116305,7 @@ __11:
goto __12
}
Xsqlite3ErrorMsg(tls, pParse,
- ts+15176,
+ ts+15195,
libc.VaList(bp, (*Table)(unsafe.Pointer(pTab)).FzName))
goto exit_create_index
__12:
@@ -116310,26 +116331,26 @@ __6:
;
pDb = (*Sqlite3)(unsafe.Pointer(db)).FaDb + uintptr(iDb)*32
- if !(Xsqlite3_strnicmp(tls, (*Table)(unsafe.Pointer(pTab)).FzName, ts+7733, 7) == 0 &&
+ if !(Xsqlite3_strnicmp(tls, (*Table)(unsafe.Pointer(pTab)).FzName, ts+7752, 7) == 0 &&
int32((*Sqlite3)(unsafe.Pointer(db)).Finit.Fbusy) == 0 &&
pTblName != uintptr(0)) {
goto __15
}
- Xsqlite3ErrorMsg(tls, pParse, ts+15226, libc.VaList(bp+8, (*Table)(unsafe.Pointer(pTab)).FzName))
+ Xsqlite3ErrorMsg(tls, pParse, ts+15245, libc.VaList(bp+8, (*Table)(unsafe.Pointer(pTab)).FzName))
goto exit_create_index
__15:
;
if !(int32((*Table)(unsafe.Pointer(pTab)).FeTabType) == TABTYP_VIEW) {
goto __16
}
- Xsqlite3ErrorMsg(tls, pParse, ts+15254, 0)
+ Xsqlite3ErrorMsg(tls, pParse, ts+15273, 0)
goto exit_create_index
__16:
;
if !(int32((*Table)(unsafe.Pointer(pTab)).FeTabType) == TABTYP_VTAB) {
goto __17
}
- Xsqlite3ErrorMsg(tls, pParse, ts+15279, 0)
+ Xsqlite3ErrorMsg(tls, pParse, ts+15298, 0)
goto exit_create_index
__17:
;
@@ -116343,7 +116364,7 @@ __17:
goto exit_create_index
__20:
;
- if !(SQLITE_OK != Xsqlite3CheckObjectName(tls, pParse, zName, ts+15170, (*Table)(unsafe.Pointer(pTab)).FzName)) {
+ if !(SQLITE_OK != Xsqlite3CheckObjectName(tls, pParse, zName, ts+15189, (*Table)(unsafe.Pointer(pTab)).FzName)) {
goto __21
}
goto exit_create_index
@@ -116358,7 +116379,7 @@ __21:
if !(Xsqlite3FindTable(tls, db, zName, (*Db)(unsafe.Pointer(pDb)).FzDbSName) != uintptr(0)) {
goto __24
}
- Xsqlite3ErrorMsg(tls, pParse, ts+15313, libc.VaList(bp+16, zName))
+ Xsqlite3ErrorMsg(tls, pParse, ts+15332, libc.VaList(bp+16, zName))
goto exit_create_index
__24:
;
@@ -116370,7 +116391,7 @@ __23:
if !!(ifNotExist != 0) {
goto __26
}
- Xsqlite3ErrorMsg(tls, pParse, ts+15347, libc.VaList(bp+24, zName))
+ Xsqlite3ErrorMsg(tls, pParse, ts+15366, libc.VaList(bp+24, zName))
goto __27
__26:
;
@@ -116399,7 +116420,7 @@ __29:
goto __30
__30:
;
- zName = Xsqlite3MPrintf(tls, db, ts+15371, libc.VaList(bp+32, (*Table)(unsafe.Pointer(pTab)).FzName, n))
+ zName = Xsqlite3MPrintf(tls, db, ts+15390, libc.VaList(bp+32, (*Table)(unsafe.Pointer(pTab)).FzName, n))
if !(zName == uintptr(0)) {
goto __31
}
@@ -116420,9 +116441,9 @@ __19:
zDb = (*Db)(unsafe.Pointer(pDb)).FzDbSName
if !(Xsqlite3AuthCheck(tls, pParse, SQLITE_INSERT, func() uintptr {
if !(0 != 0) && iDb == 1 {
- return ts + 7741
+ return ts + 7760
}
- return ts + 7235
+ return ts + 7254
}(), uintptr(0), zDb) != 0) {
goto __34
}
@@ -116461,7 +116482,7 @@ __39:
Xsqlite3ExprListSetSortOrder(tls, pList, sortOrder, -1)
goto __38
__37:
- Xsqlite3ExprListCheckLength(tls, pParse, pList, ts+15170)
+ Xsqlite3ExprListCheckLength(tls, pParse, pList, ts+15189)
if !((*Parse)(unsafe.Pointer(pParse)).FnErr != 0) {
goto __40
}
@@ -116562,7 +116583,7 @@ __53:
goto __56
}
Xsqlite3ErrorMsg(tls, pParse,
- ts+15394, 0)
+ ts+15413, 0)
goto exit_create_index
__56:
;
@@ -116779,7 +116800,7 @@ __88:
goto __93
}
Xsqlite3ErrorMsg(tls, pParse,
- ts+15455, libc.VaList(bp+48, 0))
+ ts+15474, libc.VaList(bp+48, 0))
__93:
;
if !(int32((*Index)(unsafe.Pointer(pIdx)).FonError) == OE_Default) {
@@ -116831,8 +116852,8 @@ __81:
if !(Xsqlite3IndexHasDuplicateRootPage(tls, pIndex) != 0) {
goto __101
}
- Xsqlite3ErrorMsg(tls, pParse, ts+15497, 0)
- (*Parse)(unsafe.Pointer(pParse)).Frc = Xsqlite3CorruptError(tls, 121835)
+ Xsqlite3ErrorMsg(tls, pParse, ts+15516, 0)
+ (*Parse)(unsafe.Pointer(pParse)).Frc = Xsqlite3CorruptError(tls, 121859)
goto exit_create_index
__101:
;
@@ -116878,12 +116899,12 @@ __104:
n1--
__107:
;
- zStmt = Xsqlite3MPrintf(tls, db, ts+15514,
+ zStmt = Xsqlite3MPrintf(tls, db, ts+15533,
libc.VaList(bp+56, func() uintptr {
if onError == OE_None {
- return ts + 1544
+ return ts + 1563
}
- return ts + 15534
+ return ts + 15553
}(), n1, (*Token)(unsafe.Pointer(*(*uintptr)(unsafe.Pointer(bp + 128)))).Fz))
goto __106
__105:
@@ -116891,7 +116912,7 @@ __105:
__106:
;
Xsqlite3NestedParse(tls, pParse,
- ts+15542,
+ ts+15561,
libc.VaList(bp+80, (*Db)(unsafe.Pointer((*Sqlite3)(unsafe.Pointer(db)).FaDb+uintptr(iDb)*32)).FzDbSName,
(*Index)(unsafe.Pointer(pIndex)).FzName,
(*Table)(unsafe.Pointer(pTab)).FzName,
@@ -116905,7 +116926,7 @@ __106:
sqlite3RefillIndex(tls, pParse, pIndex, iMem)
Xsqlite3ChangeCookie(tls, pParse, iDb)
Xsqlite3VdbeAddParseSchemaOp(tls, v, iDb,
- Xsqlite3MPrintf(tls, db, ts+15601, libc.VaList(bp+120, (*Index)(unsafe.Pointer(pIndex)).FzName)), uint16(0))
+ Xsqlite3MPrintf(tls, db, ts+15620, libc.VaList(bp+120, (*Index)(unsafe.Pointer(pIndex)).FzName)), uint16(0))
Xsqlite3VdbeAddOp2(tls, v, OP_Expire, 0, 1)
__108:
;
@@ -117066,7 +117087,7 @@ __2:
if !!(ifExists != 0) {
goto __4
}
- Xsqlite3ErrorMsg(tls, pParse, ts+15628, libc.VaList(bp, pName+8))
+ Xsqlite3ErrorMsg(tls, pParse, ts+15647, libc.VaList(bp, pName+8))
goto __5
__4:
Xsqlite3CodeVerifyNamedSchema(tls, pParse, (*SrcItem)(unsafe.Pointer(pName+8)).FzDatabase)
@@ -117081,7 +117102,7 @@ __3:
goto __6
}
Xsqlite3ErrorMsg(tls, pParse,
- ts+15646, libc.VaList(bp+8, 0))
+ ts+15665, libc.VaList(bp+8, 0))
goto exit_drop_index
__6:
;
@@ -117092,9 +117113,9 @@ __6:
zDb = (*Db)(unsafe.Pointer((*Sqlite3)(unsafe.Pointer(db)).FaDb + uintptr(iDb)*32)).FzDbSName
zTab = func() uintptr {
if !(0 != 0) && iDb == 1 {
- return ts + 7741
+ return ts + 7760
}
- return ts + 7235
+ return ts + 7254
}()
if !(Xsqlite3AuthCheck(tls, pParse, SQLITE_DELETE, zTab, uintptr(0), zDb) != 0) {
goto __7
@@ -117120,9 +117141,9 @@ __9:
}
Xsqlite3BeginWriteOperation(tls, pParse, 1, iDb)
Xsqlite3NestedParse(tls, pParse,
- ts+15719,
+ ts+15738,
libc.VaList(bp+16, (*Db)(unsafe.Pointer((*Sqlite3)(unsafe.Pointer(db)).FaDb+uintptr(iDb)*32)).FzDbSName, (*Index)(unsafe.Pointer(pIndex)).FzName))
- sqlite3ClearStatTables(tls, pParse, iDb, ts+12840, (*Index)(unsafe.Pointer(pIndex)).FzName)
+ sqlite3ClearStatTables(tls, pParse, iDb, ts+12859, (*Index)(unsafe.Pointer(pIndex)).FzName)
Xsqlite3ChangeCookie(tls, pParse, iDb)
destroyRootPage(tls, pParse, int32((*Index)(unsafe.Pointer(pIndex)).Ftnum), iDb)
Xsqlite3VdbeAddOp4(tls, v, OP_DropIndex, iDb, 0, 0, (*Index)(unsafe.Pointer(pIndex)).FzName, 0)
@@ -117257,7 +117278,7 @@ func Xsqlite3SrcListEnlarge(tls *libc.TLS, pParse uintptr, pSrc uintptr, nExtra
var db uintptr = (*Parse)(unsafe.Pointer(pParse)).Fdb
if (*SrcList)(unsafe.Pointer(pSrc)).FnSrc+nExtra >= SQLITE_MAX_SRCLIST {
- Xsqlite3ErrorMsg(tls, pParse, ts+15779,
+ Xsqlite3ErrorMsg(tls, pParse, ts+15798,
libc.VaList(bp, SQLITE_MAX_SRCLIST))
return uintptr(0)
}
@@ -117465,12 +117486,12 @@ func Xsqlite3SrcListAppendFromTerm(tls *libc.TLS, pParse uintptr, p uintptr, pTa
if !(!(p != 0) && pOnUsing != uintptr(0) && ((*OnOrUsing)(unsafe.Pointer(pOnUsing)).FpOn != 0 || (*OnOrUsing)(unsafe.Pointer(pOnUsing)).FpUsing != 0)) {
goto __1
}
- Xsqlite3ErrorMsg(tls, pParse, ts+15815,
+ Xsqlite3ErrorMsg(tls, pParse, ts+15834,
libc.VaList(bp, func() uintptr {
if (*OnOrUsing)(unsafe.Pointer(pOnUsing)).FpOn != 0 {
- return ts + 15851
+ return ts + 15870
}
- return ts + 15854
+ return ts + 15873
}()))
goto append_from_error
__1:
@@ -117639,7 +117660,7 @@ func Xsqlite3BeginTransaction(tls *libc.TLS, pParse uintptr, type1 int32) {
db = (*Parse)(unsafe.Pointer(pParse)).Fdb
- if Xsqlite3AuthCheck(tls, pParse, SQLITE_TRANSACTION, ts+15860, uintptr(0), uintptr(0)) != 0 {
+ if Xsqlite3AuthCheck(tls, pParse, SQLITE_TRANSACTION, ts+15879, uintptr(0), uintptr(0)) != 0 {
return
}
v = Xsqlite3GetVdbe(tls, pParse)
@@ -117675,9 +117696,9 @@ func Xsqlite3EndTransaction(tls *libc.TLS, pParse uintptr, eType int32) {
if Xsqlite3AuthCheck(tls, pParse, SQLITE_TRANSACTION,
func() uintptr {
if isRollback != 0 {
- return ts + 15866
+ return ts + 15885
}
- return ts + 15875
+ return ts + 15894
}(), uintptr(0), uintptr(0)) != 0 {
return
}
@@ -117702,7 +117723,7 @@ func Xsqlite3Savepoint(tls *libc.TLS, pParse uintptr, op int32, pName uintptr) {
}
}
-var az = [3]uintptr{ts + 15860, ts + 15882, ts + 15866}
+var az = [3]uintptr{ts + 15879, ts + 15901, ts + 15885}
// Make sure the TEMP database is open and available for use. Return
// the number of errors. Leave any error messages in the pParse structure.
@@ -117717,7 +117738,7 @@ func Xsqlite3OpenTempDatabase(tls *libc.TLS, pParse uintptr) int32 {
rc = Xsqlite3BtreeOpen(tls, (*Sqlite3)(unsafe.Pointer(db)).FpVfs, uintptr(0), db, bp, 0, flags)
if rc != SQLITE_OK {
Xsqlite3ErrorMsg(tls, pParse,
- ts+15890, 0)
+ ts+15909, 0)
(*Parse)(unsafe.Pointer(pParse)).Frc = rc
return 1
}
@@ -117854,17 +117875,17 @@ func Xsqlite3UniqueConstraint(tls *libc.TLS, pParse uintptr, onError int32, pIdx
Xsqlite3StrAccumInit(tls, bp+8, (*Parse)(unsafe.Pointer(pParse)).Fdb, uintptr(0), 0,
*(*int32)(unsafe.Pointer((*Parse)(unsafe.Pointer(pParse)).Fdb + 136)))
if (*Index)(unsafe.Pointer(pIdx)).FaColExpr != 0 {
- Xsqlite3_str_appendf(tls, bp+8, ts+15960, libc.VaList(bp, (*Index)(unsafe.Pointer(pIdx)).FzName))
+ Xsqlite3_str_appendf(tls, bp+8, ts+15979, libc.VaList(bp, (*Index)(unsafe.Pointer(pIdx)).FzName))
} else {
for j = 0; j < int32((*Index)(unsafe.Pointer(pIdx)).FnKeyCol); j++ {
var zCol uintptr
zCol = (*Column)(unsafe.Pointer((*Table)(unsafe.Pointer(pTab)).FaCol + uintptr(*(*I16)(unsafe.Pointer((*Index)(unsafe.Pointer(pIdx)).FaiColumn + uintptr(j)*2)))*24)).FzCnName
if j != 0 {
- Xsqlite3_str_append(tls, bp+8, ts+15971, 2)
+ Xsqlite3_str_append(tls, bp+8, ts+15990, 2)
}
Xsqlite3_str_appendall(tls, bp+8, (*Table)(unsafe.Pointer(pTab)).FzName)
- Xsqlite3_str_append(tls, bp+8, ts+1557, 1)
+ Xsqlite3_str_append(tls, bp+8, ts+1576, 1)
Xsqlite3_str_appendall(tls, bp+8, zCol)
}
}
@@ -117887,11 +117908,11 @@ func Xsqlite3RowidConstraint(tls *libc.TLS, pParse uintptr, onError int32, pTab
var zMsg uintptr
var rc int32
if int32((*Table)(unsafe.Pointer(pTab)).FiPKey) >= 0 {
- zMsg = Xsqlite3MPrintf(tls, (*Parse)(unsafe.Pointer(pParse)).Fdb, ts+13413, libc.VaList(bp, (*Table)(unsafe.Pointer(pTab)).FzName,
+ zMsg = Xsqlite3MPrintf(tls, (*Parse)(unsafe.Pointer(pParse)).Fdb, ts+13432, libc.VaList(bp, (*Table)(unsafe.Pointer(pTab)).FzName,
(*Column)(unsafe.Pointer((*Table)(unsafe.Pointer(pTab)).FaCol+uintptr((*Table)(unsafe.Pointer(pTab)).FiPKey)*24)).FzCnName))
rc = SQLITE_CONSTRAINT | int32(6)<<8
} else {
- zMsg = Xsqlite3MPrintf(tls, (*Parse)(unsafe.Pointer(pParse)).Fdb, ts+15974, libc.VaList(bp+16, (*Table)(unsafe.Pointer(pTab)).FzName))
+ zMsg = Xsqlite3MPrintf(tls, (*Parse)(unsafe.Pointer(pParse)).Fdb, ts+15993, libc.VaList(bp+16, (*Table)(unsafe.Pointer(pTab)).FzName))
rc = SQLITE_CONSTRAINT | int32(10)<<8
}
Xsqlite3HaltConstraint(tls, pParse, rc, onError, zMsg, int8(-6),
@@ -118021,7 +118042,7 @@ func Xsqlite3Reindex(tls *libc.TLS, pParse uintptr, pName1 uintptr, pName2 uintp
sqlite3RefillIndex(tls, pParse, pIndex, -1)
return
}
- Xsqlite3ErrorMsg(tls, pParse, ts+15983, 0)
+ Xsqlite3ErrorMsg(tls, pParse, ts+16002, 0)
}
// Return a KeyInfo structure that is appropriate for the given Index.
@@ -118117,7 +118138,7 @@ func Xsqlite3WithAdd(tls *libc.TLS, pParse uintptr, pWith uintptr, pCte uintptr)
var i int32
for i = 0; i < (*With)(unsafe.Pointer(pWith)).FnCte; i++ {
if Xsqlite3StrICmp(tls, zName, (*Cte)(unsafe.Pointer(pWith+16+uintptr(i)*48)).FzName) == 0 {
- Xsqlite3ErrorMsg(tls, pParse, ts+16029, libc.VaList(bp, zName))
+ Xsqlite3ErrorMsg(tls, pParse, ts+16048, libc.VaList(bp, zName))
}
}
}
@@ -118310,7 +118331,7 @@ func Xsqlite3GetCollSeq(tls *libc.TLS, pParse uintptr, enc U8, pColl uintptr, zN
}
if p == uintptr(0) {
- Xsqlite3ErrorMsg(tls, pParse, ts+16059, libc.VaList(bp, zName))
+ Xsqlite3ErrorMsg(tls, pParse, ts+16078, libc.VaList(bp, zName))
(*Parse)(unsafe.Pointer(pParse)).Frc = SQLITE_ERROR | int32(1)<<8
}
return p
@@ -118590,7 +118611,7 @@ func vtabIsReadOnly(tls *libc.TLS, pParse uintptr, pTab uintptr) int32 {
if (*Parse)(unsafe.Pointer(pParse)).FpToplevel != uintptr(0) &&
int32((*VTable)(unsafe.Pointer(*(*uintptr)(unsafe.Pointer(pTab + 64 + 16)))).FeVtabRisk) > libc.Bool32((*Sqlite3)(unsafe.Pointer((*Parse)(unsafe.Pointer(pParse)).Fdb)).Fflags&uint64(SQLITE_TrustedSchema) != uint64(0)) {
- Xsqlite3ErrorMsg(tls, pParse, ts+16090,
+ Xsqlite3ErrorMsg(tls, pParse, ts+16109,
libc.VaList(bp, (*Table)(unsafe.Pointer(pTab)).FzName))
}
return 0
@@ -118622,11 +118643,11 @@ func Xsqlite3IsReadOnly(tls *libc.TLS, pParse uintptr, pTab uintptr, viewOk int3
defer tls.Free(16)
if tabIsReadOnly(tls, pParse, pTab) != 0 {
- Xsqlite3ErrorMsg(tls, pParse, ts+16123, libc.VaList(bp, (*Table)(unsafe.Pointer(pTab)).FzName))
+ Xsqlite3ErrorMsg(tls, pParse, ts+16142, libc.VaList(bp, (*Table)(unsafe.Pointer(pTab)).FzName))
return 1
}
if !(viewOk != 0) && int32((*Table)(unsafe.Pointer(pTab)).FeTabType) == TABTYP_VIEW {
- Xsqlite3ErrorMsg(tls, pParse, ts+16152, libc.VaList(bp+8, (*Table)(unsafe.Pointer(pTab)).FzName))
+ Xsqlite3ErrorMsg(tls, pParse, ts+16171, libc.VaList(bp+8, (*Table)(unsafe.Pointer(pTab)).FzName))
return 1
}
return 0
@@ -118877,7 +118898,7 @@ __20:
goto __16
__15:
wcf = U16(WHERE_ONEPASS_DESIRED | WHERE_DUPLICATES_OK)
- if !((*NameContext)(unsafe.Pointer(bp+16)).FncFlags&NC_VarSelect != 0) {
+ if !((*NameContext)(unsafe.Pointer(bp+16)).FncFlags&NC_Subquery != 0) {
goto __23
}
bComplex = 1
@@ -119130,7 +119151,7 @@ __61:
if !(memCnt != 0) {
goto __62
}
- Xsqlite3CodeChangeCount(tls, v, memCnt, ts+16190)
+ Xsqlite3CodeChangeCount(tls, v, memCnt, ts+16209)
__62:
;
delete_from_cleanup:
@@ -119245,7 +119266,7 @@ func Xsqlite3GenerateRowDelete(tls *libc.TLS, pParse uintptr, pTab uintptr, pTri
}
return 0
}())
- if int32((*Parse)(unsafe.Pointer(pParse)).Fnested) == 0 || 0 == Xsqlite3_stricmp(tls, (*Table)(unsafe.Pointer(pTab)).FzName, ts+12700) {
+ if int32((*Parse)(unsafe.Pointer(pParse)).Fnested) == 0 || 0 == Xsqlite3_stricmp(tls, (*Table)(unsafe.Pointer(pTab)).FzName, ts+12719) {
Xsqlite3VdbeAppendP4(tls, v, pTab, -5)
}
if int32(eMode) != ONEPASS_OFF {
@@ -119475,7 +119496,7 @@ func typeofFunc(tls *libc.TLS, context uintptr, NotUsed int32, argv uintptr) {
Xsqlite3_result_text(tls, context, azType2[i], -1, uintptr(0))
}
-var azType2 = [5]uintptr{ts + 7543, ts + 7538, ts + 9357, ts + 9352, ts + 7533}
+var azType2 = [5]uintptr{ts + 7562, ts + 7557, ts + 9376, ts + 9371, ts + 7552}
func subtypeFunc(tls *libc.TLS, context uintptr, argc int32, argv uintptr) {
_ = argc
@@ -119534,7 +119555,7 @@ func absFunc(tls *libc.TLS, context uintptr, argc int32, argv uintptr) {
var iVal I64 = Xsqlite3_value_int64(tls, *(*uintptr)(unsafe.Pointer(argv)))
if iVal < int64(0) {
if iVal == int64(-1)-(int64(0xffffffff)|int64(0x7fffffff)<<32) {
- Xsqlite3_result_error(tls, context, ts+16203, -1)
+ Xsqlite3_result_error(tls, context, ts+16222, -1)
return
}
iVal = -iVal
@@ -119838,7 +119859,7 @@ func roundFunc(tls *libc.TLS, context uintptr, argc int32, argv uintptr) {
return +0.5
}()))
} else {
- zBuf = Xsqlite3_mprintf(tls, ts+16220, libc.VaList(bp, n, *(*float64)(unsafe.Pointer(bp + 16))))
+ zBuf = Xsqlite3_mprintf(tls, ts+16239, libc.VaList(bp, n, *(*float64)(unsafe.Pointer(bp + 16))))
if zBuf == uintptr(0) {
Xsqlite3_result_error_nomem(tls, context)
return
@@ -120184,7 +120205,7 @@ func likeFunc(tls *libc.TLS, context uintptr, argc int32, argv uintptr) {
nPat = Xsqlite3_value_bytes(tls, *(*uintptr)(unsafe.Pointer(argv)))
if nPat > *(*int32)(unsafe.Pointer(db + 136 + 8*4)) {
- Xsqlite3_result_error(tls, context, ts+16225, -1)
+ Xsqlite3_result_error(tls, context, ts+16244, -1)
return
}
if argc == 3 {
@@ -120194,7 +120215,7 @@ func likeFunc(tls *libc.TLS, context uintptr, argc int32, argv uintptr) {
}
if Xsqlite3Utf8CharLen(tls, *(*uintptr)(unsafe.Pointer(bp)), -1) != 1 {
Xsqlite3_result_error(tls, context,
- ts+16258, -1)
+ ts+16277, -1)
return
}
escape = Xsqlite3Utf8Read(tls, bp)
@@ -120247,7 +120268,7 @@ func errlogFunc(tls *libc.TLS, context uintptr, argc int32, argv uintptr) {
_ = argc
_ = context
- Xsqlite3_log(tls, Xsqlite3_value_int(tls, *(*uintptr)(unsafe.Pointer(argv))), ts+4493, libc.VaList(bp, Xsqlite3_value_text(tls, *(*uintptr)(unsafe.Pointer(argv + 1*8)))))
+ Xsqlite3_log(tls, Xsqlite3_value_int(tls, *(*uintptr)(unsafe.Pointer(argv))), ts+4512, libc.VaList(bp, Xsqlite3_value_text(tls, *(*uintptr)(unsafe.Pointer(argv + 1*8)))))
}
func compileoptionusedFunc(tls *libc.TLS, context uintptr, argc int32, argv uintptr) {
@@ -120287,13 +120308,13 @@ func Xsqlite3QuoteValue(tls *libc.TLS, pStr uintptr, pValue uintptr) {
var zVal uintptr
r1 = Xsqlite3_value_double(tls, pValue)
- Xsqlite3_str_appendf(tls, pStr, ts+6277, libc.VaList(bp, r1))
+ Xsqlite3_str_appendf(tls, pStr, ts+6296, libc.VaList(bp, r1))
zVal = Xsqlite3_str_value(tls, pStr)
if zVal != 0 {
Xsqlite3AtoF(tls, zVal, bp+32, int32((*StrAccum)(unsafe.Pointer(pStr)).FnChar), uint8(SQLITE_UTF8))
if r1 != *(*float64)(unsafe.Pointer(bp + 32)) {
Xsqlite3_str_reset(tls, pStr)
- Xsqlite3_str_appendf(tls, pStr, ts+16303, libc.VaList(bp+8, r1))
+ Xsqlite3_str_appendf(tls, pStr, ts+16322, libc.VaList(bp+8, r1))
}
}
break
@@ -120301,7 +120322,7 @@ func Xsqlite3QuoteValue(tls *libc.TLS, pStr uintptr, pValue uintptr) {
}
case SQLITE_INTEGER:
{
- Xsqlite3_str_appendf(tls, pStr, ts+1324, libc.VaList(bp+16, Xsqlite3_value_int64(tls, pValue)))
+ Xsqlite3_str_appendf(tls, pStr, ts+1343, libc.VaList(bp+16, Xsqlite3_value_int64(tls, pValue)))
break
}
@@ -120330,13 +120351,13 @@ func Xsqlite3QuoteValue(tls *libc.TLS, pStr uintptr, pValue uintptr) {
case SQLITE_TEXT:
{
var zArg uintptr = Xsqlite3_value_text(tls, pValue)
- Xsqlite3_str_appendf(tls, pStr, ts+16310, libc.VaList(bp+24, zArg))
+ Xsqlite3_str_appendf(tls, pStr, ts+16329, libc.VaList(bp+24, zArg))
break
}
default:
{
- Xsqlite3_str_append(tls, pStr, ts+1545, 4)
+ Xsqlite3_str_append(tls, pStr, ts+1564, 4)
break
}
@@ -120477,7 +120498,7 @@ func unhexFunc(tls *libc.TLS, pCtx uintptr, argc int32, argv uintptr) {
var ch U32
var c U8
var d U8
- zPass = ts + 1544
+ zPass = ts + 1563
nPass = 0
*(*uintptr)(unsafe.Pointer(bp)) = Xsqlite3_value_text(tls, *(*uintptr)(unsafe.Pointer(argv)))
nHex = Xsqlite3_value_bytes(tls, *(*uintptr)(unsafe.Pointer(argv)))
@@ -120759,7 +120780,7 @@ func trimFunc(tls *libc.TLS, context uintptr, argc int32, argv uintptr) {
}
var lenOne = [1]uint32{uint32(1)}
-var azOne = [1]uintptr{ts + 12272}
+var azOne = [1]uintptr{ts + 12291}
func soundexFunc(tls *libc.TLS, context uintptr, argc int32, argv uintptr) {
bp := tls.Alloc(8)
@@ -120771,7 +120792,7 @@ func soundexFunc(tls *libc.TLS, context uintptr, argc int32, argv uintptr) {
zIn = Xsqlite3_value_text(tls, *(*uintptr)(unsafe.Pointer(argv)))
if zIn == uintptr(0) {
- zIn = ts + 1544
+ zIn = ts + 1563
}
for i = 0; *(*U8)(unsafe.Pointer(zIn + uintptr(i))) != 0 && !(int32(Xsqlite3CtypeMap[*(*U8)(unsafe.Pointer(zIn + uintptr(i)))])&0x02 != 0); i++ {
}
@@ -120795,7 +120816,7 @@ func soundexFunc(tls *libc.TLS, context uintptr, argc int32, argv uintptr) {
*(*int8)(unsafe.Pointer(bp + uintptr(j))) = int8(0)
Xsqlite3_result_text(tls, context, bp, 4, libc.UintptrFromInt32(-1))
} else {
- Xsqlite3_result_text(tls, context, ts+16313, 4, uintptr(0))
+ Xsqlite3_result_text(tls, context, ts+16332, 4, uintptr(0))
}
}
@@ -120820,7 +120841,7 @@ func loadExt(tls *libc.TLS, context uintptr, argc int32, argv uintptr) {
*(*uintptr)(unsafe.Pointer(bp)) = uintptr(0)
if (*Sqlite3)(unsafe.Pointer(db)).Fflags&uint64(SQLITE_LoadExtFunc) == uint64(0) {
- Xsqlite3_result_error(tls, context, ts+13452, -1)
+ Xsqlite3_result_error(tls, context, ts+13471, -1)
return
}
@@ -120898,7 +120919,7 @@ func sumFinalize(tls *libc.TLS, context uintptr) {
p = Xsqlite3_aggregate_context(tls, context, 0)
if p != 0 && (*SumCtx)(unsafe.Pointer(p)).Fcnt > int64(0) {
if (*SumCtx)(unsafe.Pointer(p)).Foverflow != 0 {
- Xsqlite3_result_error(tls, context, ts+16203, -1)
+ Xsqlite3_result_error(tls, context, ts+16222, -1)
} else if (*SumCtx)(unsafe.Pointer(p)).Fapprox != 0 {
Xsqlite3_result_double(tls, context, (*SumCtx)(unsafe.Pointer(p)).FrSum)
} else {
@@ -121160,7 +121181,7 @@ func groupConcatValue(tls *libc.TLS, context uintptr) {
// of the built-in functions above are part of the global function set.
// This routine only deals with those that are not global.
func Xsqlite3RegisterPerConnectionBuiltinFunctions(tls *libc.TLS, db uintptr) {
- var rc int32 = Xsqlite3_overload_function(tls, db, ts+16318, 2)
+ var rc int32 = Xsqlite3_overload_function(tls, db, ts+16337, 2)
if rc == SQLITE_NOMEM {
Xsqlite3OomFault(tls, db)
@@ -121180,14 +121201,14 @@ func Xsqlite3RegisterLikeFunctions(tls *libc.TLS, db uintptr, caseSensitive int3
pInfo = uintptr(unsafe.Pointer(&likeInfoNorm))
flags = SQLITE_FUNC_LIKE
}
- Xsqlite3CreateFunc(tls, db, ts+16324, 2, SQLITE_UTF8, pInfo, *(*uintptr)(unsafe.Pointer(&struct {
+ Xsqlite3CreateFunc(tls, db, ts+16343, 2, SQLITE_UTF8, pInfo, *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, int32, uintptr)
}{likeFunc})), uintptr(0), uintptr(0), uintptr(0), uintptr(0), uintptr(0))
- Xsqlite3CreateFunc(tls, db, ts+16324, 3, SQLITE_UTF8, pInfo, *(*uintptr)(unsafe.Pointer(&struct {
+ Xsqlite3CreateFunc(tls, db, ts+16343, 3, SQLITE_UTF8, pInfo, *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, int32, uintptr)
}{likeFunc})), uintptr(0), uintptr(0), uintptr(0), uintptr(0), uintptr(0))
- *(*U32)(unsafe.Pointer(Xsqlite3FindFunction(tls, db, ts+16324, 2, uint8(SQLITE_UTF8), uint8(0)) + 4)) |= U32(flags)
- *(*U32)(unsafe.Pointer(Xsqlite3FindFunction(tls, db, ts+16324, 3, uint8(SQLITE_UTF8), uint8(0)) + 4)) |= U32(flags)
+ *(*U32)(unsafe.Pointer(Xsqlite3FindFunction(tls, db, ts+16343, 2, uint8(SQLITE_UTF8), uint8(0)) + 4)) |= U32(flags)
+ *(*U32)(unsafe.Pointer(Xsqlite3FindFunction(tls, db, ts+16343, 3, uint8(SQLITE_UTF8), uint8(0)) + 4)) |= U32(flags)
}
// pExpr points to an expression which implements a function. If
@@ -121428,109 +121449,109 @@ func Xsqlite3RegisterBuiltinFunctions(tls *libc.TLS) {
}
var aBuiltinFunc = [103]FuncDef{
- {FnArg: int8(2), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_UTF8 | SQLITE_FUNC_INTERNAL | SQLITE_FUNC_TEST | SQLITE_FUNC_INLINE | SQLITE_FUNC_CONSTANT | 0), FpUserData: uintptr(int64(INLINEFUNC_implies_nonnull_row)), FxSFunc: 0, FzName: ts + 16329},
- {FnArg: int8(2), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_UTF8 | SQLITE_FUNC_INTERNAL | SQLITE_FUNC_TEST | SQLITE_FUNC_INLINE | SQLITE_FUNC_CONSTANT | 0), FpUserData: uintptr(int64(INLINEFUNC_expr_compare)), FxSFunc: 0, FzName: ts + 16349},
- {FnArg: int8(2), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_UTF8 | SQLITE_FUNC_INTERNAL | SQLITE_FUNC_TEST | SQLITE_FUNC_INLINE | SQLITE_FUNC_CONSTANT | 0), FpUserData: uintptr(int64(INLINEFUNC_expr_implies_expr)), FxSFunc: 0, FzName: ts + 16362},
- {FnArg: int8(1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_UTF8 | SQLITE_FUNC_INTERNAL | SQLITE_FUNC_TEST | SQLITE_FUNC_INLINE | SQLITE_FUNC_CONSTANT | 0), FpUserData: uintptr(int64(INLINEFUNC_affinity)), FxSFunc: 0, FzName: ts + 16380},
- {FnArg: int8(1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_CONSTANT | SQLITE_UTF8 | 0*SQLITE_FUNC_NEEDCOLL), FxSFunc: 0, FzName: ts + 16389},
- {FnArg: int8(1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_UTF8 | SQLITE_DIRECTONLY | SQLITE_FUNC_UNSAFE), FxSFunc: 0, FzName: ts + 16397},
- {FnArg: int8(2), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_UTF8 | SQLITE_DIRECTONLY | SQLITE_FUNC_UNSAFE), FxSFunc: 0, FzName: ts + 16397},
- {FnArg: int8(1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_SLOCHNG | SQLITE_UTF8), FxSFunc: 0, FzName: ts + 16412},
- {FnArg: int8(1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_SLOCHNG | SQLITE_UTF8), FxSFunc: 0, FzName: ts + 16438},
- {FnArg: int8(1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_UTF8 | SQLITE_FUNC_INLINE | SQLITE_FUNC_CONSTANT | SQLITE_FUNC_UNLIKELY), FpUserData: uintptr(int64(INLINEFUNC_unlikely)), FxSFunc: 0, FzName: ts + 16463},
- {FnArg: int8(2), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_UTF8 | SQLITE_FUNC_INLINE | SQLITE_FUNC_CONSTANT | SQLITE_FUNC_UNLIKELY), FpUserData: uintptr(int64(INLINEFUNC_unlikely)), FxSFunc: 0, FzName: ts + 16472},
- {FnArg: int8(1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_UTF8 | SQLITE_FUNC_INLINE | SQLITE_FUNC_CONSTANT | SQLITE_FUNC_UNLIKELY), FpUserData: uintptr(int64(INLINEFUNC_unlikely)), FxSFunc: 0, FzName: ts + 16483},
- {FnArg: int8(1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_UTF8 | SQLITE_FUNC_INLINE | SQLITE_FUNC_CONSTANT | 0), FpUserData: uintptr(int64(INLINEFUNC_sqlite_offset)), FxSFunc: 0, FzName: ts + 16490},
- {FnArg: int8(1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_CONSTANT | SQLITE_UTF8 | 0*SQLITE_FUNC_NEEDCOLL), FpUserData: uintptr(int64(1)), FxSFunc: 0, FzName: ts + 16504},
- {FnArg: int8(2), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_CONSTANT | SQLITE_UTF8 | 0*SQLITE_FUNC_NEEDCOLL), FpUserData: uintptr(int64(1)), FxSFunc: 0, FzName: ts + 16504},
- {FnArg: int8(1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_CONSTANT | SQLITE_UTF8 | 0*SQLITE_FUNC_NEEDCOLL), FpUserData: uintptr(int64(2)), FxSFunc: 0, FzName: ts + 16510},
- {FnArg: int8(2), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_CONSTANT | SQLITE_UTF8 | 0*SQLITE_FUNC_NEEDCOLL), FpUserData: uintptr(int64(2)), FxSFunc: 0, FzName: ts + 16510},
- {FnArg: int8(1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_CONSTANT | SQLITE_UTF8 | 0*SQLITE_FUNC_NEEDCOLL), FpUserData: uintptr(int64(3)), FxSFunc: 0, FzName: ts + 16516},
- {FnArg: int8(2), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_CONSTANT | SQLITE_UTF8 | 0*SQLITE_FUNC_NEEDCOLL), FpUserData: uintptr(int64(3)), FxSFunc: 0, FzName: ts + 16516},
- {FnArg: int8(-1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_CONSTANT | SQLITE_UTF8 | 1*SQLITE_FUNC_NEEDCOLL), FxSFunc: 0, FzName: ts + 16521},
- {FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_CONSTANT | SQLITE_UTF8 | 1*SQLITE_FUNC_NEEDCOLL), FzName: ts + 16521},
- {FnArg: int8(1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_UTF8 | 1*SQLITE_FUNC_NEEDCOLL | SQLITE_FUNC_MINMAX | SQLITE_FUNC_ANYORDER), FxSFunc: 0, FxFinalize: 0, FxValue: 0, FzName: ts + 16521},
- {FnArg: int8(-1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_CONSTANT | SQLITE_UTF8 | 1*SQLITE_FUNC_NEEDCOLL), FpUserData: uintptr(int64(1)), FxSFunc: 0, FzName: ts + 16525},
- {FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_CONSTANT | SQLITE_UTF8 | 1*SQLITE_FUNC_NEEDCOLL), FpUserData: uintptr(int64(1)), FzName: ts + 16525},
- {FnArg: int8(1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_UTF8 | 1*SQLITE_FUNC_NEEDCOLL | SQLITE_FUNC_MINMAX | SQLITE_FUNC_ANYORDER), FpUserData: uintptr(int64(1)), FxSFunc: 0, FxFinalize: 0, FxValue: 0, FzName: ts + 16525},
- {FnArg: int8(1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_CONSTANT | SQLITE_UTF8 | 0*SQLITE_FUNC_NEEDCOLL | SQLITE_FUNC_TYPEOF), FxSFunc: 0, FzName: ts + 16529},
- {FnArg: int8(1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_CONSTANT | SQLITE_UTF8 | 0*SQLITE_FUNC_NEEDCOLL | SQLITE_FUNC_TYPEOF), FxSFunc: 0, FzName: ts + 16536},
- {FnArg: int8(1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_CONSTANT | SQLITE_UTF8 | 0*SQLITE_FUNC_NEEDCOLL | SQLITE_FUNC_LENGTH), FxSFunc: 0, FzName: ts + 16544},
- {FnArg: int8(2), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_CONSTANT | SQLITE_UTF8 | 0*SQLITE_FUNC_NEEDCOLL), FxSFunc: 0, FzName: ts + 16551},
- {FnArg: int8(-1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_CONSTANT | SQLITE_UTF8 | 0*SQLITE_FUNC_NEEDCOLL), FxSFunc: 0, FzName: ts + 16557},
- {FnArg: int8(-1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_CONSTANT | SQLITE_UTF8 | 0*SQLITE_FUNC_NEEDCOLL), FxSFunc: 0, FzName: ts + 16564},
- {FnArg: int8(1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_CONSTANT | SQLITE_UTF8 | 0*SQLITE_FUNC_NEEDCOLL), FxSFunc: 0, FzName: ts + 16571},
- {FnArg: int8(-1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_CONSTANT | SQLITE_UTF8 | 0*SQLITE_FUNC_NEEDCOLL), FxSFunc: 0, FzName: ts + 16579},
- {FnArg: int8(1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_CONSTANT | SQLITE_UTF8 | 0*SQLITE_FUNC_NEEDCOLL), FxSFunc: 0, FzName: ts + 16584},
- {FnArg: int8(1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_CONSTANT | SQLITE_UTF8 | 0*SQLITE_FUNC_NEEDCOLL), FxSFunc: 0, FzName: ts + 16588},
- {FnArg: int8(2), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_CONSTANT | SQLITE_UTF8 | 0*SQLITE_FUNC_NEEDCOLL), FxSFunc: 0, FzName: ts + 16588},
- {FnArg: int8(1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_CONSTANT | SQLITE_UTF8 | 0*SQLITE_FUNC_NEEDCOLL), FxSFunc: 0, FzName: ts + 16594},
- {FnArg: int8(1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_CONSTANT | SQLITE_UTF8 | 0*SQLITE_FUNC_NEEDCOLL), FxSFunc: 0, FzName: ts + 16600},
- {FnArg: int8(1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_CONSTANT | SQLITE_UTF8 | 0*SQLITE_FUNC_NEEDCOLL), FxSFunc: 0, FzName: ts + 16606},
- {FnArg: int8(1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_CONSTANT | SQLITE_UTF8 | 0*SQLITE_FUNC_NEEDCOLL), FxSFunc: 0, FzName: ts + 16610},
- {FnArg: int8(2), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_CONSTANT | SQLITE_UTF8 | 0*SQLITE_FUNC_NEEDCOLL), FxSFunc: 0, FzName: ts + 16610},
- {FnArg: int8(2), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_UTF8 | SQLITE_FUNC_INLINE | SQLITE_FUNC_CONSTANT | 0), FxSFunc: 0, FzName: ts + 16616},
- {FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_UTF8 | 0*SQLITE_FUNC_NEEDCOLL), FxSFunc: 0, FzName: ts + 16623},
- {FnArg: int8(1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_UTF8 | 0*SQLITE_FUNC_NEEDCOLL), FxSFunc: 0, FzName: ts + 16630},
- {FnArg: int8(2), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_CONSTANT | SQLITE_UTF8 | 1*SQLITE_FUNC_NEEDCOLL), FxSFunc: 0, FzName: ts + 16641},
- {FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_SLOCHNG | SQLITE_UTF8), FxSFunc: 0, FzName: ts + 16648},
- {FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_SLOCHNG | SQLITE_UTF8), FxSFunc: 0, FzName: ts + 16663},
- {FnArg: int8(2), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_CONSTANT | SQLITE_UTF8 | 0*SQLITE_FUNC_NEEDCOLL), FxSFunc: 0, FzName: ts + 16680},
- {FnArg: int8(1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_CONSTANT | SQLITE_UTF8 | 0*SQLITE_FUNC_NEEDCOLL), FxSFunc: 0, FzName: ts + 16691},
- {FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_UTF8 | 0*SQLITE_FUNC_NEEDCOLL), FxSFunc: 0, FzName: ts + 16697},
- {FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_UTF8 | 0*SQLITE_FUNC_NEEDCOLL), FxSFunc: 0, FzName: ts + 16715},
- {FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_UTF8 | 0*SQLITE_FUNC_NEEDCOLL), FxSFunc: 0, FzName: ts + 16723},
- {FnArg: int8(3), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_CONSTANT | SQLITE_UTF8 | 0*SQLITE_FUNC_NEEDCOLL), FxSFunc: 0, FzName: ts + 16737},
- {FnArg: int8(1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_CONSTANT | SQLITE_UTF8 | 0*SQLITE_FUNC_NEEDCOLL), FxSFunc: 0, FzName: ts + 16745},
- {FnArg: int8(2), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_CONSTANT | SQLITE_UTF8 | 0*SQLITE_FUNC_NEEDCOLL), FxSFunc: 0, FzName: ts + 16754},
- {FnArg: int8(3), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_CONSTANT | SQLITE_UTF8 | 0*SQLITE_FUNC_NEEDCOLL), FxSFunc: 0, FzName: ts + 16754},
- {FnArg: int8(2), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_CONSTANT | SQLITE_UTF8 | 0*SQLITE_FUNC_NEEDCOLL), FxSFunc: 0, FzName: ts + 16761},
- {FnArg: int8(3), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_CONSTANT | SQLITE_UTF8 | 0*SQLITE_FUNC_NEEDCOLL), FxSFunc: 0, FzName: ts + 16761},
- {FnArg: int8(1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_UTF8 | 0*SQLITE_FUNC_NEEDCOLL | 0), FxSFunc: 0, FxFinalize: 0, FxValue: 0, FxInverse: 0, FzName: ts + 16771},
- {FnArg: int8(1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_UTF8 | 0*SQLITE_FUNC_NEEDCOLL | 0), FxSFunc: 0, FxFinalize: 0, FxValue: 0, FxInverse: 0, FzName: ts + 16775},
- {FnArg: int8(1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_UTF8 | 0*SQLITE_FUNC_NEEDCOLL | 0), FxSFunc: 0, FxFinalize: 0, FxValue: 0, FxInverse: 0, FzName: ts + 16781},
- {FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_UTF8 | 0*SQLITE_FUNC_NEEDCOLL | SQLITE_FUNC_COUNT | SQLITE_FUNC_ANYORDER), FxSFunc: 0, FxFinalize: 0, FxValue: 0, FxInverse: 0, FzName: ts + 16785},
- {FnArg: int8(1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_UTF8 | 0*SQLITE_FUNC_NEEDCOLL | SQLITE_FUNC_ANYORDER), FxSFunc: 0, FxFinalize: 0, FxValue: 0, FxInverse: 0, FzName: ts + 16785},
- {FnArg: int8(1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_UTF8 | 0*SQLITE_FUNC_NEEDCOLL | 0), FxSFunc: 0, FxFinalize: 0, FxValue: 0, FxInverse: 0, FzName: ts + 16791},
- {FnArg: int8(2), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_UTF8 | 0*SQLITE_FUNC_NEEDCOLL | 0), FxSFunc: 0, FxFinalize: 0, FxValue: 0, FxInverse: 0, FzName: ts + 16791},
- {FnArg: int8(2), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_CONSTANT | SQLITE_UTF8 | SQLITE_FUNC_LIKE | SQLITE_FUNC_CASE), FpUserData: 0, FxSFunc: 0, FzName: ts + 16804},
- {FnArg: int8(2), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_CONSTANT | SQLITE_UTF8 | SQLITE_FUNC_LIKE), FpUserData: 0, FxSFunc: 0, FzName: ts + 16324},
- {FnArg: int8(3), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_CONSTANT | SQLITE_UTF8 | SQLITE_FUNC_LIKE), FpUserData: 0, FxSFunc: 0, FzName: ts + 16324},
- {FnArg: int8(1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_CONSTANT | SQLITE_UTF8 | 0*SQLITE_FUNC_NEEDCOLL), FzName: ts + 7938},
- {FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_CONSTANT | SQLITE_UTF8 | 0*SQLITE_FUNC_NEEDCOLL), FzName: ts + 7938},
- {FnArg: int8(1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_CONSTANT | SQLITE_UTF8), FpUserData: 0, FxSFunc: 0, FzName: ts + 16809},
- {FnArg: int8(1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_CONSTANT | SQLITE_UTF8), FpUserData: 0, FxSFunc: 0, FzName: ts + 16814},
- {FnArg: int8(1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_CONSTANT | SQLITE_UTF8), FpUserData: 0, FxSFunc: 0, FzName: ts + 16822},
+ {FnArg: int8(2), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_UTF8 | SQLITE_FUNC_INTERNAL | SQLITE_FUNC_TEST | SQLITE_FUNC_INLINE | SQLITE_FUNC_CONSTANT | 0), FpUserData: uintptr(int64(INLINEFUNC_implies_nonnull_row)), FxSFunc: 0, FzName: ts + 16348},
+ {FnArg: int8(2), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_UTF8 | SQLITE_FUNC_INTERNAL | SQLITE_FUNC_TEST | SQLITE_FUNC_INLINE | SQLITE_FUNC_CONSTANT | 0), FpUserData: uintptr(int64(INLINEFUNC_expr_compare)), FxSFunc: 0, FzName: ts + 16368},
+ {FnArg: int8(2), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_UTF8 | SQLITE_FUNC_INTERNAL | SQLITE_FUNC_TEST | SQLITE_FUNC_INLINE | SQLITE_FUNC_CONSTANT | 0), FpUserData: uintptr(int64(INLINEFUNC_expr_implies_expr)), FxSFunc: 0, FzName: ts + 16381},
+ {FnArg: int8(1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_UTF8 | SQLITE_FUNC_INTERNAL | SQLITE_FUNC_TEST | SQLITE_FUNC_INLINE | SQLITE_FUNC_CONSTANT | 0), FpUserData: uintptr(int64(INLINEFUNC_affinity)), FxSFunc: 0, FzName: ts + 16399},
+ {FnArg: int8(1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_CONSTANT | SQLITE_UTF8 | 0*SQLITE_FUNC_NEEDCOLL), FxSFunc: 0, FzName: ts + 16408},
+ {FnArg: int8(1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_UTF8 | SQLITE_DIRECTONLY | SQLITE_FUNC_UNSAFE), FxSFunc: 0, FzName: ts + 16416},
+ {FnArg: int8(2), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_UTF8 | SQLITE_DIRECTONLY | SQLITE_FUNC_UNSAFE), FxSFunc: 0, FzName: ts + 16416},
+ {FnArg: int8(1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_SLOCHNG | SQLITE_UTF8), FxSFunc: 0, FzName: ts + 16431},
+ {FnArg: int8(1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_SLOCHNG | SQLITE_UTF8), FxSFunc: 0, FzName: ts + 16457},
+ {FnArg: int8(1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_UTF8 | SQLITE_FUNC_INLINE | SQLITE_FUNC_CONSTANT | SQLITE_FUNC_UNLIKELY), FpUserData: uintptr(int64(INLINEFUNC_unlikely)), FxSFunc: 0, FzName: ts + 16482},
+ {FnArg: int8(2), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_UTF8 | SQLITE_FUNC_INLINE | SQLITE_FUNC_CONSTANT | SQLITE_FUNC_UNLIKELY), FpUserData: uintptr(int64(INLINEFUNC_unlikely)), FxSFunc: 0, FzName: ts + 16491},
+ {FnArg: int8(1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_UTF8 | SQLITE_FUNC_INLINE | SQLITE_FUNC_CONSTANT | SQLITE_FUNC_UNLIKELY), FpUserData: uintptr(int64(INLINEFUNC_unlikely)), FxSFunc: 0, FzName: ts + 16502},
+ {FnArg: int8(1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_UTF8 | SQLITE_FUNC_INLINE | SQLITE_FUNC_CONSTANT | 0), FpUserData: uintptr(int64(INLINEFUNC_sqlite_offset)), FxSFunc: 0, FzName: ts + 16509},
+ {FnArg: int8(1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_CONSTANT | SQLITE_UTF8 | 0*SQLITE_FUNC_NEEDCOLL), FpUserData: uintptr(int64(1)), FxSFunc: 0, FzName: ts + 16523},
+ {FnArg: int8(2), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_CONSTANT | SQLITE_UTF8 | 0*SQLITE_FUNC_NEEDCOLL), FpUserData: uintptr(int64(1)), FxSFunc: 0, FzName: ts + 16523},
+ {FnArg: int8(1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_CONSTANT | SQLITE_UTF8 | 0*SQLITE_FUNC_NEEDCOLL), FpUserData: uintptr(int64(2)), FxSFunc: 0, FzName: ts + 16529},
+ {FnArg: int8(2), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_CONSTANT | SQLITE_UTF8 | 0*SQLITE_FUNC_NEEDCOLL), FpUserData: uintptr(int64(2)), FxSFunc: 0, FzName: ts + 16529},
+ {FnArg: int8(1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_CONSTANT | SQLITE_UTF8 | 0*SQLITE_FUNC_NEEDCOLL), FpUserData: uintptr(int64(3)), FxSFunc: 0, FzName: ts + 16535},
+ {FnArg: int8(2), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_CONSTANT | SQLITE_UTF8 | 0*SQLITE_FUNC_NEEDCOLL), FpUserData: uintptr(int64(3)), FxSFunc: 0, FzName: ts + 16535},
+ {FnArg: int8(-1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_CONSTANT | SQLITE_UTF8 | 1*SQLITE_FUNC_NEEDCOLL), FxSFunc: 0, FzName: ts + 16540},
+ {FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_CONSTANT | SQLITE_UTF8 | 1*SQLITE_FUNC_NEEDCOLL), FzName: ts + 16540},
+ {FnArg: int8(1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_UTF8 | 1*SQLITE_FUNC_NEEDCOLL | SQLITE_FUNC_MINMAX | SQLITE_FUNC_ANYORDER), FxSFunc: 0, FxFinalize: 0, FxValue: 0, FzName: ts + 16540},
+ {FnArg: int8(-1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_CONSTANT | SQLITE_UTF8 | 1*SQLITE_FUNC_NEEDCOLL), FpUserData: uintptr(int64(1)), FxSFunc: 0, FzName: ts + 16544},
+ {FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_CONSTANT | SQLITE_UTF8 | 1*SQLITE_FUNC_NEEDCOLL), FpUserData: uintptr(int64(1)), FzName: ts + 16544},
+ {FnArg: int8(1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_UTF8 | 1*SQLITE_FUNC_NEEDCOLL | SQLITE_FUNC_MINMAX | SQLITE_FUNC_ANYORDER), FpUserData: uintptr(int64(1)), FxSFunc: 0, FxFinalize: 0, FxValue: 0, FzName: ts + 16544},
+ {FnArg: int8(1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_CONSTANT | SQLITE_UTF8 | 0*SQLITE_FUNC_NEEDCOLL | SQLITE_FUNC_TYPEOF), FxSFunc: 0, FzName: ts + 16548},
+ {FnArg: int8(1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_CONSTANT | SQLITE_UTF8 | 0*SQLITE_FUNC_NEEDCOLL | SQLITE_FUNC_TYPEOF), FxSFunc: 0, FzName: ts + 16555},
+ {FnArg: int8(1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_CONSTANT | SQLITE_UTF8 | 0*SQLITE_FUNC_NEEDCOLL | SQLITE_FUNC_LENGTH), FxSFunc: 0, FzName: ts + 16563},
+ {FnArg: int8(2), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_CONSTANT | SQLITE_UTF8 | 0*SQLITE_FUNC_NEEDCOLL), FxSFunc: 0, FzName: ts + 16570},
+ {FnArg: int8(-1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_CONSTANT | SQLITE_UTF8 | 0*SQLITE_FUNC_NEEDCOLL), FxSFunc: 0, FzName: ts + 16576},
+ {FnArg: int8(-1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_CONSTANT | SQLITE_UTF8 | 0*SQLITE_FUNC_NEEDCOLL), FxSFunc: 0, FzName: ts + 16583},
+ {FnArg: int8(1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_CONSTANT | SQLITE_UTF8 | 0*SQLITE_FUNC_NEEDCOLL), FxSFunc: 0, FzName: ts + 16590},
+ {FnArg: int8(-1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_CONSTANT | SQLITE_UTF8 | 0*SQLITE_FUNC_NEEDCOLL), FxSFunc: 0, FzName: ts + 16598},
+ {FnArg: int8(1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_CONSTANT | SQLITE_UTF8 | 0*SQLITE_FUNC_NEEDCOLL), FxSFunc: 0, FzName: ts + 16603},
+ {FnArg: int8(1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_CONSTANT | SQLITE_UTF8 | 0*SQLITE_FUNC_NEEDCOLL), FxSFunc: 0, FzName: ts + 16607},
+ {FnArg: int8(2), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_CONSTANT | SQLITE_UTF8 | 0*SQLITE_FUNC_NEEDCOLL), FxSFunc: 0, FzName: ts + 16607},
+ {FnArg: int8(1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_CONSTANT | SQLITE_UTF8 | 0*SQLITE_FUNC_NEEDCOLL), FxSFunc: 0, FzName: ts + 16613},
+ {FnArg: int8(1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_CONSTANT | SQLITE_UTF8 | 0*SQLITE_FUNC_NEEDCOLL), FxSFunc: 0, FzName: ts + 16619},
+ {FnArg: int8(1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_CONSTANT | SQLITE_UTF8 | 0*SQLITE_FUNC_NEEDCOLL), FxSFunc: 0, FzName: ts + 16625},
+ {FnArg: int8(1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_CONSTANT | SQLITE_UTF8 | 0*SQLITE_FUNC_NEEDCOLL), FxSFunc: 0, FzName: ts + 16629},
+ {FnArg: int8(2), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_CONSTANT | SQLITE_UTF8 | 0*SQLITE_FUNC_NEEDCOLL), FxSFunc: 0, FzName: ts + 16629},
+ {FnArg: int8(2), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_UTF8 | SQLITE_FUNC_INLINE | SQLITE_FUNC_CONSTANT | 0), FxSFunc: 0, FzName: ts + 16635},
+ {FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_UTF8 | 0*SQLITE_FUNC_NEEDCOLL), FxSFunc: 0, FzName: ts + 16642},
+ {FnArg: int8(1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_UTF8 | 0*SQLITE_FUNC_NEEDCOLL), FxSFunc: 0, FzName: ts + 16649},
+ {FnArg: int8(2), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_CONSTANT | SQLITE_UTF8 | 1*SQLITE_FUNC_NEEDCOLL), FxSFunc: 0, FzName: ts + 16660},
+ {FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_SLOCHNG | SQLITE_UTF8), FxSFunc: 0, FzName: ts + 16667},
+ {FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_SLOCHNG | SQLITE_UTF8), FxSFunc: 0, FzName: ts + 16682},
+ {FnArg: int8(2), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_CONSTANT | SQLITE_UTF8 | 0*SQLITE_FUNC_NEEDCOLL), FxSFunc: 0, FzName: ts + 16699},
+ {FnArg: int8(1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_CONSTANT | SQLITE_UTF8 | 0*SQLITE_FUNC_NEEDCOLL), FxSFunc: 0, FzName: ts + 16710},
+ {FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_UTF8 | 0*SQLITE_FUNC_NEEDCOLL), FxSFunc: 0, FzName: ts + 16716},
+ {FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_UTF8 | 0*SQLITE_FUNC_NEEDCOLL), FxSFunc: 0, FzName: ts + 16734},
+ {FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_UTF8 | 0*SQLITE_FUNC_NEEDCOLL), FxSFunc: 0, FzName: ts + 16742},
+ {FnArg: int8(3), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_CONSTANT | SQLITE_UTF8 | 0*SQLITE_FUNC_NEEDCOLL), FxSFunc: 0, FzName: ts + 16756},
+ {FnArg: int8(1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_CONSTANT | SQLITE_UTF8 | 0*SQLITE_FUNC_NEEDCOLL), FxSFunc: 0, FzName: ts + 16764},
+ {FnArg: int8(2), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_CONSTANT | SQLITE_UTF8 | 0*SQLITE_FUNC_NEEDCOLL), FxSFunc: 0, FzName: ts + 16773},
+ {FnArg: int8(3), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_CONSTANT | SQLITE_UTF8 | 0*SQLITE_FUNC_NEEDCOLL), FxSFunc: 0, FzName: ts + 16773},
+ {FnArg: int8(2), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_CONSTANT | SQLITE_UTF8 | 0*SQLITE_FUNC_NEEDCOLL), FxSFunc: 0, FzName: ts + 16780},
+ {FnArg: int8(3), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_CONSTANT | SQLITE_UTF8 | 0*SQLITE_FUNC_NEEDCOLL), FxSFunc: 0, FzName: ts + 16780},
+ {FnArg: int8(1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_UTF8 | 0*SQLITE_FUNC_NEEDCOLL | 0), FxSFunc: 0, FxFinalize: 0, FxValue: 0, FxInverse: 0, FzName: ts + 16790},
+ {FnArg: int8(1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_UTF8 | 0*SQLITE_FUNC_NEEDCOLL | 0), FxSFunc: 0, FxFinalize: 0, FxValue: 0, FxInverse: 0, FzName: ts + 16794},
+ {FnArg: int8(1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_UTF8 | 0*SQLITE_FUNC_NEEDCOLL | 0), FxSFunc: 0, FxFinalize: 0, FxValue: 0, FxInverse: 0, FzName: ts + 16800},
+ {FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_UTF8 | 0*SQLITE_FUNC_NEEDCOLL | SQLITE_FUNC_COUNT | SQLITE_FUNC_ANYORDER), FxSFunc: 0, FxFinalize: 0, FxValue: 0, FxInverse: 0, FzName: ts + 16804},
+ {FnArg: int8(1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_UTF8 | 0*SQLITE_FUNC_NEEDCOLL | SQLITE_FUNC_ANYORDER), FxSFunc: 0, FxFinalize: 0, FxValue: 0, FxInverse: 0, FzName: ts + 16804},
+ {FnArg: int8(1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_UTF8 | 0*SQLITE_FUNC_NEEDCOLL | 0), FxSFunc: 0, FxFinalize: 0, FxValue: 0, FxInverse: 0, FzName: ts + 16810},
+ {FnArg: int8(2), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_UTF8 | 0*SQLITE_FUNC_NEEDCOLL | 0), FxSFunc: 0, FxFinalize: 0, FxValue: 0, FxInverse: 0, FzName: ts + 16810},
+ {FnArg: int8(2), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_CONSTANT | SQLITE_UTF8 | SQLITE_FUNC_LIKE | SQLITE_FUNC_CASE), FpUserData: 0, FxSFunc: 0, FzName: ts + 16823},
+ {FnArg: int8(2), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_CONSTANT | SQLITE_UTF8 | SQLITE_FUNC_LIKE), FpUserData: 0, FxSFunc: 0, FzName: ts + 16343},
+ {FnArg: int8(3), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_CONSTANT | SQLITE_UTF8 | SQLITE_FUNC_LIKE), FpUserData: 0, FxSFunc: 0, FzName: ts + 16343},
+ {FnArg: int8(1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_CONSTANT | SQLITE_UTF8 | 0*SQLITE_FUNC_NEEDCOLL), FzName: ts + 7957},
+ {FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_CONSTANT | SQLITE_UTF8 | 0*SQLITE_FUNC_NEEDCOLL), FzName: ts + 7957},
{FnArg: int8(1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_CONSTANT | SQLITE_UTF8), FpUserData: 0, FxSFunc: 0, FzName: ts + 16828},
- {FnArg: int8(1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_CONSTANT | SQLITE_UTF8 | 0*SQLITE_FUNC_NEEDCOLL), FxSFunc: 0, FzName: ts + 16834},
- {FnArg: int8(1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_CONSTANT | SQLITE_UTF8 | 0*SQLITE_FUNC_NEEDCOLL), FpUserData: uintptr(int64(1)), FxSFunc: 0, FzName: ts + 16837},
- {FnArg: int8(1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_CONSTANT | SQLITE_UTF8 | 0*SQLITE_FUNC_NEEDCOLL), FpUserData: uintptr(int64(1)), FxSFunc: 0, FzName: ts + 16841},
- {FnArg: int8(1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_CONSTANT | SQLITE_UTF8 | 0*SQLITE_FUNC_NEEDCOLL), FpUserData: uintptr(int64(2)), FxSFunc: 0, FzName: ts + 16847},
- {FnArg: int8(2), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_CONSTANT | SQLITE_UTF8 | 0*SQLITE_FUNC_NEEDCOLL), FxSFunc: 0, FzName: ts + 16837},
- {FnArg: int8(1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_CONSTANT | SQLITE_UTF8), FpUserData: 0, FxSFunc: 0, FzName: ts + 16852},
- {FnArg: int8(2), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_CONSTANT | SQLITE_UTF8), FpUserData: 0, FxSFunc: 0, FzName: ts + 16856},
- {FnArg: int8(2), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_CONSTANT | SQLITE_UTF8), FpUserData: 0, FxSFunc: 0, FzName: ts + 16860},
- {FnArg: int8(2), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_CONSTANT | SQLITE_UTF8), FpUserData: 0, FxSFunc: 0, FzName: ts + 16866},
- {FnArg: int8(1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_CONSTANT | SQLITE_UTF8), FpUserData: 0, FxSFunc: 0, FzName: ts + 16870},
- {FnArg: int8(1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_CONSTANT | SQLITE_UTF8), FpUserData: 0, FxSFunc: 0, FzName: ts + 16875},
- {FnArg: int8(1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_CONSTANT | SQLITE_UTF8), FpUserData: 0, FxSFunc: 0, FzName: ts + 16880},
+ {FnArg: int8(1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_CONSTANT | SQLITE_UTF8), FpUserData: 0, FxSFunc: 0, FzName: ts + 16833},
+ {FnArg: int8(1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_CONSTANT | SQLITE_UTF8), FpUserData: 0, FxSFunc: 0, FzName: ts + 16841},
+ {FnArg: int8(1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_CONSTANT | SQLITE_UTF8), FpUserData: 0, FxSFunc: 0, FzName: ts + 16847},
+ {FnArg: int8(1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_CONSTANT | SQLITE_UTF8 | 0*SQLITE_FUNC_NEEDCOLL), FxSFunc: 0, FzName: ts + 16853},
+ {FnArg: int8(1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_CONSTANT | SQLITE_UTF8 | 0*SQLITE_FUNC_NEEDCOLL), FpUserData: uintptr(int64(1)), FxSFunc: 0, FzName: ts + 16856},
+ {FnArg: int8(1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_CONSTANT | SQLITE_UTF8 | 0*SQLITE_FUNC_NEEDCOLL), FpUserData: uintptr(int64(1)), FxSFunc: 0, FzName: ts + 16860},
+ {FnArg: int8(1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_CONSTANT | SQLITE_UTF8 | 0*SQLITE_FUNC_NEEDCOLL), FpUserData: uintptr(int64(2)), FxSFunc: 0, FzName: ts + 16866},
+ {FnArg: int8(2), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_CONSTANT | SQLITE_UTF8 | 0*SQLITE_FUNC_NEEDCOLL), FxSFunc: 0, FzName: ts + 16856},
+ {FnArg: int8(1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_CONSTANT | SQLITE_UTF8), FpUserData: 0, FxSFunc: 0, FzName: ts + 16871},
+ {FnArg: int8(2), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_CONSTANT | SQLITE_UTF8), FpUserData: 0, FxSFunc: 0, FzName: ts + 16875},
+ {FnArg: int8(2), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_CONSTANT | SQLITE_UTF8), FpUserData: 0, FxSFunc: 0, FzName: ts + 16879},
{FnArg: int8(2), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_CONSTANT | SQLITE_UTF8), FpUserData: 0, FxSFunc: 0, FzName: ts + 16885},
- {FnArg: int8(1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_CONSTANT | SQLITE_UTF8), FpUserData: 0, FxSFunc: 0, FzName: ts + 16891},
- {FnArg: int8(1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_CONSTANT | SQLITE_UTF8), FpUserData: 0, FxSFunc: 0, FzName: ts + 16895},
+ {FnArg: int8(1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_CONSTANT | SQLITE_UTF8), FpUserData: 0, FxSFunc: 0, FzName: ts + 16889},
+ {FnArg: int8(1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_CONSTANT | SQLITE_UTF8), FpUserData: 0, FxSFunc: 0, FzName: ts + 16894},
{FnArg: int8(1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_CONSTANT | SQLITE_UTF8), FpUserData: 0, FxSFunc: 0, FzName: ts + 16899},
- {FnArg: int8(1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_CONSTANT | SQLITE_UTF8), FpUserData: 0, FxSFunc: 0, FzName: ts + 16903},
- {FnArg: int8(1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_CONSTANT | SQLITE_UTF8), FpUserData: 0, FxSFunc: 0, FzName: ts + 16908},
- {FnArg: int8(1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_CONSTANT | SQLITE_UTF8), FpUserData: 0, FxSFunc: 0, FzName: ts + 16913},
+ {FnArg: int8(2), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_CONSTANT | SQLITE_UTF8), FpUserData: 0, FxSFunc: 0, FzName: ts + 16904},
+ {FnArg: int8(1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_CONSTANT | SQLITE_UTF8), FpUserData: 0, FxSFunc: 0, FzName: ts + 16910},
+ {FnArg: int8(1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_CONSTANT | SQLITE_UTF8), FpUserData: 0, FxSFunc: 0, FzName: ts + 16914},
{FnArg: int8(1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_CONSTANT | SQLITE_UTF8), FpUserData: 0, FxSFunc: 0, FzName: ts + 16918},
- {FnArg: int8(1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_CONSTANT | SQLITE_UTF8), FpUserData: 0, FxSFunc: 0, FzName: ts + 16924},
- {FnArg: int8(1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_CONSTANT | SQLITE_UTF8), FpUserData: 0, FxSFunc: 0, FzName: ts + 16930},
- {FnArg: int8(1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_CONSTANT | SQLITE_UTF8), FpUserData: 0, FxSFunc: 0, FzName: ts + 16936},
- {FnArg: int8(1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_CONSTANT | SQLITE_UTF8), FpUserData: 0, FxSFunc: 0, FzName: ts + 16941},
+ {FnArg: int8(1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_CONSTANT | SQLITE_UTF8), FpUserData: 0, FxSFunc: 0, FzName: ts + 16922},
+ {FnArg: int8(1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_CONSTANT | SQLITE_UTF8), FpUserData: 0, FxSFunc: 0, FzName: ts + 16927},
+ {FnArg: int8(1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_CONSTANT | SQLITE_UTF8), FpUserData: 0, FxSFunc: 0, FzName: ts + 16932},
+ {FnArg: int8(1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_CONSTANT | SQLITE_UTF8), FpUserData: 0, FxSFunc: 0, FzName: ts + 16937},
+ {FnArg: int8(1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_CONSTANT | SQLITE_UTF8), FpUserData: 0, FxSFunc: 0, FzName: ts + 16943},
{FnArg: int8(1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_CONSTANT | SQLITE_UTF8), FpUserData: 0, FxSFunc: 0, FzName: ts + 16949},
- {FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_CONSTANT | SQLITE_UTF8 | 0*SQLITE_FUNC_NEEDCOLL), FxSFunc: 0, FzName: ts + 16957},
- {FnArg: int8(1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_CONSTANT | SQLITE_UTF8 | 0*SQLITE_FUNC_NEEDCOLL), FxSFunc: 0, FzName: ts + 16960},
- {FnArg: int8(-1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_UTF8 | SQLITE_FUNC_INLINE | SQLITE_FUNC_CONSTANT | 0), FxSFunc: 0, FzName: ts + 7938},
- {FnArg: int8(3), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_UTF8 | SQLITE_FUNC_INLINE | SQLITE_FUNC_CONSTANT | 0), FpUserData: uintptr(int64(INLINEFUNC_iif)), FxSFunc: 0, FzName: ts + 16965}}
+ {FnArg: int8(1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_CONSTANT | SQLITE_UTF8), FpUserData: 0, FxSFunc: 0, FzName: ts + 16955},
+ {FnArg: int8(1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_CONSTANT | SQLITE_UTF8), FpUserData: 0, FxSFunc: 0, FzName: ts + 16960},
+ {FnArg: int8(1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_CONSTANT | SQLITE_UTF8), FpUserData: 0, FxSFunc: 0, FzName: ts + 16968},
+ {FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_CONSTANT | SQLITE_UTF8 | 0*SQLITE_FUNC_NEEDCOLL), FxSFunc: 0, FzName: ts + 16976},
+ {FnArg: int8(1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_FUNC_CONSTANT | SQLITE_UTF8 | 0*SQLITE_FUNC_NEEDCOLL), FxSFunc: 0, FzName: ts + 16979},
+ {FnArg: int8(-1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_UTF8 | SQLITE_FUNC_INLINE | SQLITE_FUNC_CONSTANT | 0), FxSFunc: 0, FzName: ts + 7957},
+ {FnArg: int8(3), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_UTF8 | SQLITE_FUNC_INLINE | SQLITE_FUNC_CONSTANT | 0), FpUserData: uintptr(int64(INLINEFUNC_iif)), FxSFunc: 0, FzName: ts + 16984}}
// A foreign key constraint requires that the key columns in the parent
// table are collectively subject to a UNIQUE or PRIMARY KEY constraint.
@@ -121651,7 +121672,7 @@ func Xsqlite3FkLocateIndex(tls *libc.TLS, pParse uintptr, pParent uintptr, pFKey
if !(pIdx != 0) {
if !(int32((*Parse)(unsafe.Pointer(pParse)).FdisableTriggers) != 0) {
Xsqlite3ErrorMsg(tls, pParse,
- ts+16969,
+ ts+16988,
libc.VaList(bp, (*Table)(unsafe.Pointer((*FKey)(unsafe.Pointer(pFKey)).FpFrom)).FzName, (*FKey)(unsafe.Pointer(pFKey)).FzTo))
}
Xsqlite3DbFree(tls, (*Parse)(unsafe.Pointer(pParse)).Fdb, aiCol)
@@ -122311,8 +122332,8 @@ func fkActionTrigger(tls *libc.TLS, pParse uintptr, pTab uintptr, pFKey uintptr,
}
for i = 0; i < (*FKey)(unsafe.Pointer(pFKey)).FnCol; i++ {
- *(*Token)(unsafe.Pointer(bp + 48)) = Token{Fz: ts + 7804, Fn: uint32(3)}
- *(*Token)(unsafe.Pointer(bp + 64)) = Token{Fz: ts + 7800, Fn: uint32(3)}
+ *(*Token)(unsafe.Pointer(bp + 48)) = Token{Fz: ts + 7823, Fn: uint32(3)}
+ *(*Token)(unsafe.Pointer(bp + 64)) = Token{Fz: ts + 7819, Fn: uint32(3)}
var iFromCol int32
var pEq uintptr
@@ -122391,7 +122412,7 @@ func fkActionTrigger(tls *libc.TLS, pParse uintptr, pTab uintptr, pFKey uintptr,
(*Token)(unsafe.Pointer(bp + 80)).Fz = (*Db)(unsafe.Pointer((*Sqlite3)(unsafe.Pointer(db)).FaDb + uintptr(iDb)*32)).FzDbSName
(*Token)(unsafe.Pointer(bp + 80)).Fn = uint32(Xsqlite3Strlen30(tls, (*Token)(unsafe.Pointer(bp+80)).Fz))
- pRaise = Xsqlite3Expr(tls, db, TK_RAISE, ts+6488)
+ pRaise = Xsqlite3Expr(tls, db, TK_RAISE, ts+6507)
if pRaise != 0 {
(*Expr)(unsafe.Pointer(pRaise)).FaffExpr = int8(OE_Abort)
}
@@ -122813,7 +122834,7 @@ func Xsqlite3ComputeGeneratedColumns(tls *libc.TLS, pParse uintptr, iRegStore in
}
}
if pRedo != 0 {
- Xsqlite3ErrorMsg(tls, pParse, ts+9322, libc.VaList(bp, (*Column)(unsafe.Pointer(pRedo)).FzCnName))
+ Xsqlite3ErrorMsg(tls, pParse, ts+9341, libc.VaList(bp, (*Column)(unsafe.Pointer(pRedo)).FzCnName))
}
(*Parse)(unsafe.Pointer(pParse)).FiSelfTab = 0
}
@@ -123281,7 +123302,7 @@ __23:
goto __24
}
Xsqlite3ErrorMsg(tls, pParse,
- ts+17014,
+ ts+17033,
libc.VaList(bp, (*Column)(unsafe.Pointer((*Table)(unsafe.Pointer(pTab)).FaCol+uintptr(j)*24)).FzCnName))
goto insert_cleanup
__24:
@@ -123306,7 +123327,7 @@ __20:
bIdListInOrder = U8(0)
goto __27
__26:
- Xsqlite3ErrorMsg(tls, pParse, ts+17055,
+ Xsqlite3ErrorMsg(tls, pParse, ts+17074,
libc.VaList(bp+8, pTabList+8, (*IdList_item)(unsafe.Pointer(pColumn+8+uintptr(i)*16)).FzName))
(*Parse)(unsafe.Pointer(pParse)).FcheckSchema = U8(1)
goto insert_cleanup
@@ -123455,7 +123476,7 @@ __42:
goto __47
}
Xsqlite3ErrorMsg(tls, pParse,
- ts+17087,
+ ts+17106,
libc.VaList(bp+24, pTabList+8, int32((*Table)(unsafe.Pointer(pTab)).FnCol)-nHidden, nColumn))
goto insert_cleanup
__47:
@@ -123465,7 +123486,7 @@ __36:
if !(pColumn != uintptr(0) && nColumn != (*IdList)(unsafe.Pointer(pColumn)).FnId) {
goto __48
}
- Xsqlite3ErrorMsg(tls, pParse, ts+17139, libc.VaList(bp+48, nColumn, (*IdList)(unsafe.Pointer(pColumn)).FnId))
+ Xsqlite3ErrorMsg(tls, pParse, ts+17158, libc.VaList(bp+48, nColumn, (*IdList)(unsafe.Pointer(pColumn)).FnId))
goto insert_cleanup
__48:
;
@@ -123517,7 +123538,7 @@ __50:
if !(int32((*Table)(unsafe.Pointer(pTab)).FeTabType) == TABTYP_VTAB) {
goto __56
}
- Xsqlite3ErrorMsg(tls, pParse, ts+17164,
+ Xsqlite3ErrorMsg(tls, pParse, ts+17183,
libc.VaList(bp+64, (*Table)(unsafe.Pointer(pTab)).FzName))
goto insert_cleanup
__56:
@@ -123525,7 +123546,7 @@ __56:
if !(int32((*Table)(unsafe.Pointer(pTab)).FeTabType) == TABTYP_VIEW) {
goto __57
}
- Xsqlite3ErrorMsg(tls, pParse, ts+17210, 0)
+ Xsqlite3ErrorMsg(tls, pParse, ts+17229, 0)
goto insert_cleanup
__57:
;
@@ -123937,7 +123958,7 @@ __124:
if !(regRowCount != 0) {
goto __125
}
- Xsqlite3CodeChangeCount(tls, v, regRowCount, ts+17231)
+ Xsqlite3CodeChangeCount(tls, v, regRowCount, ts+17250)
__125:
;
insert_cleanup:
@@ -124253,7 +124274,7 @@ func Xsqlite3GenerateConstraintChecks(tls *libc.TLS, pParse uintptr, pTab uintpt
fallthrough
case OE_Fail:
{
- var zMsg uintptr = Xsqlite3MPrintf(tls, db, ts+13413, libc.VaList(bp, (*Table)(unsafe.Pointer(pTab)).FzName,
+ var zMsg uintptr = Xsqlite3MPrintf(tls, db, ts+13432, libc.VaList(bp, (*Table)(unsafe.Pointer(pTab)).FzName,
(*Column)(unsafe.Pointer(pCol)).FzCnName))
Xsqlite3VdbeAddOp3(tls, v, OP_HaltIfNull, SQLITE_CONSTRAINT|int32(5)<<8,
@@ -125345,13 +125366,13 @@ func Xsqlite3_exec(tls *libc.TLS, db uintptr, zSql uintptr, xCallback Sqlite3_ca
if !!(Xsqlite3SafetyCheckOk(tls, db) != 0) {
goto __1
}
- return Xsqlite3MisuseError(tls, 131895)
+ return Xsqlite3MisuseError(tls, 131931)
__1:
;
if !(zSql == uintptr(0)) {
goto __2
}
- zSql = ts + 1544
+ zSql = ts + 1563
__2:
;
Xsqlite3_mutex_enter(tls, (*Sqlite3)(unsafe.Pointer(db)).Fmutex)
@@ -125830,7 +125851,7 @@ __1:
if !(pzErrMsg != 0) {
goto __3
}
- *(*uintptr)(unsafe.Pointer(pzErrMsg)) = Xsqlite3_mprintf(tls, ts+13452, 0)
+ *(*uintptr)(unsafe.Pointer(pzErrMsg)) = Xsqlite3_mprintf(tls, ts+13471, 0)
__3:
;
return SQLITE_ERROR
@@ -125839,7 +125860,7 @@ __2:
if zProc != 0 {
zEntry = zProc
} else {
- zEntry = ts + 17245
+ zEntry = ts + 17264
}
if !(nMsg > uint64(FILENAME_MAX)) {
@@ -125854,7 +125875,7 @@ __5:
if !(ii < int32(uint64(unsafe.Sizeof(azEndings))/uint64(unsafe.Sizeof(uintptr(0)))) && handle == uintptr(0)) {
goto __7
}
- zAltFile = Xsqlite3_mprintf(tls, ts+13413, libc.VaList(bp, zFile, azEndings[ii]))
+ zAltFile = Xsqlite3_mprintf(tls, ts+13432, libc.VaList(bp, zFile, azEndings[ii]))
if !(zAltFile == uintptr(0)) {
goto __8
}
@@ -125890,7 +125911,7 @@ __9:
return SQLITE_NOMEM
__11:
;
- libc.Xmemcpy(tls, zAltEntry, ts+17268, uint64(8))
+ libc.Xmemcpy(tls, zAltEntry, ts+17287, uint64(8))
iFile = ncFile - 1
__12:
if !(iFile >= 0 && !(int32(*(*int8)(unsafe.Pointer(zFile + uintptr(iFile)))) == '/' || int32(*(*int8)(unsafe.Pointer(zFile + uintptr(iFile)))) == '\\')) {
@@ -125904,7 +125925,7 @@ __13:
__14:
;
iFile++
- if !(Xsqlite3_strnicmp(tls, zFile+uintptr(iFile), ts+17277, 3) == 0) {
+ if !(Xsqlite3_strnicmp(tls, zFile+uintptr(iFile), ts+17296, 3) == 0) {
goto __15
}
iFile = iFile + 3
@@ -125928,7 +125949,7 @@ __17:
goto __18
__18:
;
- libc.Xmemcpy(tls, zAltEntry+uintptr(iEntry), ts+17281, uint64(6))
+ libc.Xmemcpy(tls, zAltEntry+uintptr(iEntry), ts+17300, uint64(6))
zEntry = zAltEntry
xInit = Xsqlite3OsDlSym(tls, pVfs, handle, zEntry)
__10:
@@ -125946,7 +125967,7 @@ __10:
}
Xsqlite3_snprintf(tls, int32(nMsg), *(*uintptr)(unsafe.Pointer(bp + 56)),
- ts+17287, libc.VaList(bp+16, zEntry, zFile))
+ ts+17306, libc.VaList(bp+16, zEntry, zFile))
Xsqlite3OsDlError(tls, pVfs, int32(nMsg-uint64(1)), *(*uintptr)(unsafe.Pointer(bp + 56)))
__22:
;
@@ -125973,7 +125994,7 @@ __24:
if !(pzErrMsg != 0) {
goto __25
}
- *(*uintptr)(unsafe.Pointer(pzErrMsg)) = Xsqlite3_mprintf(tls, ts+17330, libc.VaList(bp+32, *(*uintptr)(unsafe.Pointer(bp + 56))))
+ *(*uintptr)(unsafe.Pointer(pzErrMsg)) = Xsqlite3_mprintf(tls, ts+17349, libc.VaList(bp+32, *(*uintptr)(unsafe.Pointer(bp + 56))))
__25:
;
Xsqlite3_free(tls, *(*uintptr)(unsafe.Pointer(bp + 56)))
@@ -126011,7 +126032,7 @@ extension_not_found:
}
Xsqlite3_snprintf(tls, int32(nMsg), *(*uintptr)(unsafe.Pointer(bp + 56)),
- ts+17362, libc.VaList(bp+40, FILENAME_MAX, zFile))
+ ts+17381, libc.VaList(bp+40, FILENAME_MAX, zFile))
Xsqlite3OsDlError(tls, pVfs, int32(nMsg-uint64(1)), *(*uintptr)(unsafe.Pointer(bp + 56)))
__29:
;
@@ -126021,7 +126042,7 @@ __28:
}
var azEndings = [1]uintptr{
- ts + 17399,
+ ts + 17418,
}
func Xsqlite3_load_extension(tls *libc.TLS, db uintptr, zFile uintptr, zProc uintptr, pzErrMsg uintptr) int32 {
@@ -126177,7 +126198,7 @@ func Xsqlite3AutoLoadExtensions(tls *libc.TLS, db uintptr) {
f func(*libc.TLS, uintptr, uintptr, uintptr) int32
})(unsafe.Pointer(&struct{ uintptr }{xInit})).f(tls, db, bp+8, pThunk)) != 0 {
Xsqlite3ErrorWithMsg(tls, db, rc,
- ts+17403, libc.VaList(bp, *(*uintptr)(unsafe.Pointer(bp + 8))))
+ ts+17422, libc.VaList(bp, *(*uintptr)(unsafe.Pointer(bp + 8))))
go1 = 0
}
Xsqlite3_free(tls, *(*uintptr)(unsafe.Pointer(bp + 8)))
@@ -126185,63 +126206,63 @@ func Xsqlite3AutoLoadExtensions(tls *libc.TLS, db uintptr) {
}
var pragCName = [57]uintptr{
- ts + 6409,
- ts + 17442,
- ts + 10228,
- ts + 17446,
- ts + 17451,
- ts + 17454,
- ts + 17464,
- ts + 17474,
- ts + 17480,
- ts + 17484,
- ts + 17489,
- ts + 17494,
- ts + 17502,
+ ts + 6428,
+ ts + 17461,
+ ts + 10247,
+ ts + 17465,
+ ts + 17470,
+ ts + 17473,
+ ts + 17483,
+ ts + 17493,
+ ts + 17499,
+ ts + 17503,
+ ts + 17508,
ts + 17513,
- ts + 17516,
- ts + 17523,
- ts + 17484,
- ts + 17489,
- ts + 17530,
+ ts + 17521,
+ ts + 17532,
ts + 17535,
- ts + 17538,
- ts + 17545,
- ts + 17480,
- ts + 17484,
- ts + 17551,
- ts + 17556,
- ts + 17561,
- ts + 17484,
- ts + 17565,
- ts + 17489,
- ts + 17573,
- ts + 17577,
- ts + 17582,
- ts + 12844,
- ts + 12840,
- ts + 17588,
- ts + 17593,
- ts + 17598,
- ts + 17442,
- ts + 17484,
- ts + 17603,
- ts + 17610,
+ ts + 17542,
+ ts + 17503,
+ ts + 17508,
+ ts + 17549,
+ ts + 17554,
+ ts + 17557,
+ ts + 17564,
+ ts + 17499,
+ ts + 17503,
+ ts + 17570,
+ ts + 17575,
+ ts + 17580,
+ ts + 17503,
+ ts + 17584,
+ ts + 17508,
+ ts + 17592,
+ ts + 17596,
+ ts + 17601,
+ ts + 12863,
+ ts + 12859,
+ ts + 17607,
+ ts + 17612,
ts + 17617,
- ts + 10228,
- ts + 17625,
- ts + 6412,
- ts + 17631,
- ts + 17442,
- ts + 17484,
+ ts + 17461,
+ ts + 17503,
+ ts + 17622,
+ ts + 17629,
ts + 17636,
- ts + 17641,
- ts + 16837,
- ts + 17646,
- ts + 17659,
- ts + 17668,
- ts + 17675,
- ts + 17686,
+ ts + 10247,
+ ts + 17644,
+ ts + 6431,
+ ts + 17650,
+ ts + 17461,
+ ts + 17503,
+ ts + 17655,
+ ts + 17660,
+ ts + 16856,
+ ts + 17665,
+ ts + 17678,
+ ts + 17687,
+ ts + 17694,
+ ts + 17705,
}
// Definitions of all built-in pragmas
@@ -126259,241 +126280,241 @@ type PragmaName1 = struct {
type PragmaName = PragmaName1
var aPragmaName = [67]PragmaName{
- {FzName: ts + 17694,
+ {FzName: ts + 17713,
FePragTyp: U8(PragTyp_ANALYSIS_LIMIT),
FmPragFlg: U8(PragFlg_Result0)},
- {FzName: ts + 17709,
+ {FzName: ts + 17728,
FePragTyp: U8(PragTyp_HEADER_VALUE),
FmPragFlg: U8(PragFlg_NoColumns1 | PragFlg_Result0),
FiArg: uint64(BTREE_APPLICATION_ID)},
- {FzName: ts + 17724,
+ {FzName: ts + 17743,
FePragTyp: U8(PragTyp_AUTO_VACUUM),
FmPragFlg: U8(PragFlg_NeedSchema | PragFlg_Result0 | PragFlg_SchemaReq | PragFlg_NoColumns1)},
- {FzName: ts + 17736,
+ {FzName: ts + 17755,
FePragTyp: U8(PragTyp_FLAG),
FmPragFlg: U8(PragFlg_Result0 | PragFlg_NoColumns1),
FiArg: uint64(SQLITE_AutoIndex)},
- {FzName: ts + 17752,
+ {FzName: ts + 17771,
FePragTyp: U8(PragTyp_BUSY_TIMEOUT),
FmPragFlg: U8(PragFlg_Result0),
FiPragCName: U8(56), FnPragCName: U8(1)},
- {FzName: ts + 17675,
+ {FzName: ts + 17694,
FePragTyp: U8(PragTyp_CACHE_SIZE),
FmPragFlg: U8(PragFlg_NeedSchema | PragFlg_Result0 | PragFlg_SchemaReq | PragFlg_NoColumns1)},
- {FzName: ts + 17765,
+ {FzName: ts + 17784,
FePragTyp: U8(PragTyp_CACHE_SPILL),
FmPragFlg: U8(PragFlg_Result0 | PragFlg_SchemaReq | PragFlg_NoColumns1)},
- {FzName: ts + 17777,
+ {FzName: ts + 17796,
FePragTyp: U8(PragTyp_CASE_SENSITIVE_LIKE),
FmPragFlg: U8(PragFlg_NoColumns)},
- {FzName: ts + 17797,
+ {FzName: ts + 17816,
FePragTyp: U8(PragTyp_FLAG),
FmPragFlg: U8(PragFlg_Result0 | PragFlg_NoColumns1),
FiArg: uint64(SQLITE_CellSizeCk)},
- {FzName: ts + 17813,
+ {FzName: ts + 17832,
FePragTyp: U8(PragTyp_FLAG),
FmPragFlg: U8(PragFlg_Result0 | PragFlg_NoColumns1),
FiArg: uint64(SQLITE_CkptFullFSync)},
- {FzName: ts + 17834,
+ {FzName: ts + 17853,
FePragTyp: U8(PragTyp_COLLATION_LIST),
FmPragFlg: U8(PragFlg_Result0),
FiPragCName: U8(38), FnPragCName: U8(2)},
- {FzName: ts + 17849,
+ {FzName: ts + 17868,
FePragTyp: U8(PragTyp_COMPILE_OPTIONS),
FmPragFlg: U8(PragFlg_Result0)},
- {FzName: ts + 17865,
+ {FzName: ts + 17884,
FePragTyp: U8(PragTyp_FLAG),
FmPragFlg: U8(PragFlg_Result0 | PragFlg_NoColumns1),
FiArg: uint64(0x00001) << 32},
- {FzName: ts + 17879,
+ {FzName: ts + 17898,
FePragTyp: U8(PragTyp_DATA_STORE_DIRECTORY),
FmPragFlg: U8(PragFlg_NoColumns1)},
- {FzName: ts + 17900,
+ {FzName: ts + 17919,
FePragTyp: U8(PragTyp_HEADER_VALUE),
FmPragFlg: U8(PragFlg_ReadOnly | PragFlg_Result0),
FiArg: uint64(BTREE_DATA_VERSION)},
- {FzName: ts + 17913,
+ {FzName: ts + 17932,
FePragTyp: U8(PragTyp_DATABASE_LIST),
FmPragFlg: U8(PragFlg_Result0),
FiPragCName: U8(47), FnPragCName: U8(3)},
- {FzName: ts + 17927,
+ {FzName: ts + 17946,
FePragTyp: U8(PragTyp_DEFAULT_CACHE_SIZE),
FmPragFlg: U8(PragFlg_NeedSchema | PragFlg_Result0 | PragFlg_SchemaReq | PragFlg_NoColumns1),
FiPragCName: U8(55), FnPragCName: U8(1)},
- {FzName: ts + 17946,
+ {FzName: ts + 17965,
FePragTyp: U8(PragTyp_FLAG),
FmPragFlg: U8(PragFlg_Result0 | PragFlg_NoColumns1),
FiArg: uint64(SQLITE_DeferFKs)},
- {FzName: ts + 17965,
+ {FzName: ts + 17984,
FePragTyp: U8(PragTyp_FLAG),
FmPragFlg: U8(PragFlg_Result0 | PragFlg_NoColumns1),
FiArg: uint64(SQLITE_NullCallback)},
- {FzName: ts + 17988,
+ {FzName: ts + 18007,
FePragTyp: U8(PragTyp_ENCODING),
FmPragFlg: U8(PragFlg_Result0 | PragFlg_NoColumns1)},
- {FzName: ts + 17997,
+ {FzName: ts + 18016,
FePragTyp: U8(PragTyp_FOREIGN_KEY_CHECK),
FmPragFlg: U8(PragFlg_NeedSchema | PragFlg_Result0 | PragFlg_Result1 | PragFlg_SchemaOpt),
FiPragCName: U8(43), FnPragCName: U8(4)},
- {FzName: ts + 18015,
+ {FzName: ts + 18034,
FePragTyp: U8(PragTyp_FOREIGN_KEY_LIST),
FmPragFlg: U8(PragFlg_NeedSchema | PragFlg_Result1 | PragFlg_SchemaOpt), FnPragCName: U8(8)},
- {FzName: ts + 18032,
+ {FzName: ts + 18051,
FePragTyp: U8(PragTyp_FLAG),
FmPragFlg: U8(PragFlg_Result0 | PragFlg_NoColumns1),
FiArg: uint64(SQLITE_ForeignKeys)},
- {FzName: ts + 18045,
+ {FzName: ts + 18064,
FePragTyp: U8(PragTyp_HEADER_VALUE),
FmPragFlg: U8(PragFlg_ReadOnly | PragFlg_Result0)},
- {FzName: ts + 18060,
+ {FzName: ts + 18079,
FePragTyp: U8(PragTyp_FLAG),
FmPragFlg: U8(PragFlg_Result0 | PragFlg_NoColumns1),
FiArg: uint64(SQLITE_FullColNames)},
- {FzName: ts + 18078,
+ {FzName: ts + 18097,
FePragTyp: U8(PragTyp_FLAG),
FmPragFlg: U8(PragFlg_Result0 | PragFlg_NoColumns1),
FiArg: uint64(SQLITE_FullFSync)},
- {FzName: ts + 18088,
+ {FzName: ts + 18107,
FePragTyp: U8(PragTyp_FUNCTION_LIST),
FmPragFlg: U8(PragFlg_Result0),
FiPragCName: U8(27), FnPragCName: U8(6)},
- {FzName: ts + 18102,
+ {FzName: ts + 18121,
FePragTyp: U8(PragTyp_HARD_HEAP_LIMIT),
FmPragFlg: U8(PragFlg_Result0)},
- {FzName: ts + 18118,
+ {FzName: ts + 18137,
FePragTyp: U8(PragTyp_FLAG),
FmPragFlg: U8(PragFlg_Result0 | PragFlg_NoColumns1),
FiArg: uint64(SQLITE_IgnoreChecks)},
- {FzName: ts + 18143,
+ {FzName: ts + 18162,
FePragTyp: U8(PragTyp_INCREMENTAL_VACUUM),
FmPragFlg: U8(PragFlg_NeedSchema | PragFlg_NoColumns)},
- {FzName: ts + 18162,
+ {FzName: ts + 18181,
FePragTyp: U8(PragTyp_INDEX_INFO),
FmPragFlg: U8(PragFlg_NeedSchema | PragFlg_Result1 | PragFlg_SchemaOpt),
FiPragCName: U8(21), FnPragCName: U8(3)},
- {FzName: ts + 18173,
+ {FzName: ts + 18192,
FePragTyp: U8(PragTyp_INDEX_LIST),
FmPragFlg: U8(PragFlg_NeedSchema | PragFlg_Result1 | PragFlg_SchemaOpt),
FiPragCName: U8(38), FnPragCName: U8(5)},
- {FzName: ts + 18184,
+ {FzName: ts + 18203,
FePragTyp: U8(PragTyp_INDEX_INFO),
FmPragFlg: U8(PragFlg_NeedSchema | PragFlg_Result1 | PragFlg_SchemaOpt),
FiPragCName: U8(21), FnPragCName: U8(6),
FiArg: uint64(1)},
- {FzName: ts + 18196,
+ {FzName: ts + 18215,
FePragTyp: U8(PragTyp_INTEGRITY_CHECK),
FmPragFlg: U8(PragFlg_NeedSchema | PragFlg_Result0 | PragFlg_Result1 | PragFlg_SchemaOpt)},
- {FzName: ts + 18212,
+ {FzName: ts + 18231,
FePragTyp: U8(PragTyp_JOURNAL_MODE),
FmPragFlg: U8(PragFlg_NeedSchema | PragFlg_Result0 | PragFlg_SchemaReq)},
- {FzName: ts + 18225,
+ {FzName: ts + 18244,
FePragTyp: U8(PragTyp_JOURNAL_SIZE_LIMIT),
FmPragFlg: U8(PragFlg_Result0 | PragFlg_SchemaReq)},
- {FzName: ts + 18244,
+ {FzName: ts + 18263,
FePragTyp: U8(PragTyp_FLAG),
FmPragFlg: U8(PragFlg_Result0 | PragFlg_NoColumns1),
FiArg: uint64(SQLITE_LegacyAlter)},
- {FzName: ts + 18263,
+ {FzName: ts + 18282,
FePragTyp: U8(PragTyp_LOCKING_MODE),
FmPragFlg: U8(PragFlg_Result0 | PragFlg_SchemaReq)},
- {FzName: ts + 18276,
+ {FzName: ts + 18295,
FePragTyp: U8(PragTyp_PAGE_COUNT),
FmPragFlg: U8(PragFlg_NeedSchema | PragFlg_Result0 | PragFlg_SchemaReq)},
- {FzName: ts + 18291,
+ {FzName: ts + 18310,
FePragTyp: U8(PragTyp_MMAP_SIZE)},
- {FzName: ts + 18301,
+ {FzName: ts + 18320,
FePragTyp: U8(PragTyp_MODULE_LIST),
FmPragFlg: U8(PragFlg_Result0),
FiPragCName: U8(9), FnPragCName: U8(1)},
- {FzName: ts + 18313,
+ {FzName: ts + 18332,
FePragTyp: U8(PragTyp_OPTIMIZE),
FmPragFlg: U8(PragFlg_Result1 | PragFlg_NeedSchema)},
- {FzName: ts + 18322,
+ {FzName: ts + 18341,
FePragTyp: U8(PragTyp_PAGE_COUNT),
FmPragFlg: U8(PragFlg_NeedSchema | PragFlg_Result0 | PragFlg_SchemaReq)},
- {FzName: ts + 18333,
+ {FzName: ts + 18352,
FePragTyp: U8(PragTyp_PAGE_SIZE),
FmPragFlg: U8(PragFlg_Result0 | PragFlg_SchemaReq | PragFlg_NoColumns1)},
- {FzName: ts + 18343,
+ {FzName: ts + 18362,
FePragTyp: U8(PragTyp_PRAGMA_LIST),
FmPragFlg: U8(PragFlg_Result0),
FiPragCName: U8(9), FnPragCName: U8(1)},
- {FzName: ts + 18355,
+ {FzName: ts + 18374,
FePragTyp: U8(PragTyp_FLAG),
FmPragFlg: U8(PragFlg_Result0 | PragFlg_NoColumns1),
FiArg: uint64(SQLITE_QueryOnly)},
- {FzName: ts + 18366,
+ {FzName: ts + 18385,
FePragTyp: U8(PragTyp_INTEGRITY_CHECK),
FmPragFlg: U8(PragFlg_NeedSchema | PragFlg_Result0 | PragFlg_Result1 | PragFlg_SchemaOpt)},
- {FzName: ts + 18378,
+ {FzName: ts + 18397,
FePragTyp: U8(PragTyp_FLAG),
FmPragFlg: U8(PragFlg_Result0 | PragFlg_NoColumns1),
FiArg: uint64(SQLITE_ReadUncommit)},
- {FzName: ts + 18395,
+ {FzName: ts + 18414,
FePragTyp: U8(PragTyp_FLAG),
FmPragFlg: U8(PragFlg_Result0 | PragFlg_NoColumns1),
FiArg: uint64(SQLITE_RecTriggers)},
- {FzName: ts + 18414,
+ {FzName: ts + 18433,
FePragTyp: U8(PragTyp_FLAG),
FmPragFlg: U8(PragFlg_Result0 | PragFlg_NoColumns1),
FiArg: uint64(SQLITE_ReverseOrder)},
- {FzName: ts + 18440,
+ {FzName: ts + 18459,
FePragTyp: U8(PragTyp_HEADER_VALUE),
FmPragFlg: U8(PragFlg_NoColumns1 | PragFlg_Result0),
FiArg: uint64(BTREE_SCHEMA_VERSION)},
- {FzName: ts + 18455,
+ {FzName: ts + 18474,
FePragTyp: U8(PragTyp_SECURE_DELETE),
FmPragFlg: U8(PragFlg_Result0)},
- {FzName: ts + 18469,
+ {FzName: ts + 18488,
FePragTyp: U8(PragTyp_FLAG),
FmPragFlg: U8(PragFlg_Result0 | PragFlg_NoColumns1),
FiArg: uint64(SQLITE_ShortColNames)},
- {FzName: ts + 18488,
+ {FzName: ts + 18507,
FePragTyp: U8(PragTyp_SHRINK_MEMORY),
FmPragFlg: U8(PragFlg_NoColumns)},
- {FzName: ts + 18502,
+ {FzName: ts + 18521,
FePragTyp: U8(PragTyp_SOFT_HEAP_LIMIT),
FmPragFlg: U8(PragFlg_Result0)},
- {FzName: ts + 18518,
+ {FzName: ts + 18537,
FePragTyp: U8(PragTyp_SYNCHRONOUS),
FmPragFlg: U8(PragFlg_NeedSchema | PragFlg_Result0 | PragFlg_SchemaReq | PragFlg_NoColumns1)},
- {FzName: ts + 18530,
+ {FzName: ts + 18549,
FePragTyp: U8(PragTyp_TABLE_INFO),
FmPragFlg: U8(PragFlg_NeedSchema | PragFlg_Result1 | PragFlg_SchemaOpt),
FiPragCName: U8(8), FnPragCName: U8(6)},
- {FzName: ts + 18541,
+ {FzName: ts + 18560,
FePragTyp: U8(PragTyp_TABLE_LIST),
FmPragFlg: U8(PragFlg_NeedSchema | PragFlg_Result1),
FiPragCName: U8(15), FnPragCName: U8(6)},
- {FzName: ts + 18552,
+ {FzName: ts + 18571,
FePragTyp: U8(PragTyp_TABLE_INFO),
FmPragFlg: U8(PragFlg_NeedSchema | PragFlg_Result1 | PragFlg_SchemaOpt),
FiPragCName: U8(8), FnPragCName: U8(7),
FiArg: uint64(1)},
- {FzName: ts + 18564,
+ {FzName: ts + 18583,
FePragTyp: U8(PragTyp_TEMP_STORE),
FmPragFlg: U8(PragFlg_Result0 | PragFlg_NoColumns1)},
- {FzName: ts + 18575,
+ {FzName: ts + 18594,
FePragTyp: U8(PragTyp_TEMP_STORE_DIRECTORY),
FmPragFlg: U8(PragFlg_NoColumns1)},
- {FzName: ts + 18596,
+ {FzName: ts + 18615,
FePragTyp: U8(PragTyp_THREADS),
FmPragFlg: U8(PragFlg_Result0)},
- {FzName: ts + 18604,
+ {FzName: ts + 18623,
FePragTyp: U8(PragTyp_FLAG),
FmPragFlg: U8(PragFlg_Result0 | PragFlg_NoColumns1),
FiArg: uint64(SQLITE_TrustedSchema)},
- {FzName: ts + 18619,
+ {FzName: ts + 18638,
FePragTyp: U8(PragTyp_HEADER_VALUE),
FmPragFlg: U8(PragFlg_NoColumns1 | PragFlg_Result0),
FiArg: uint64(BTREE_USER_VERSION)},
- {FzName: ts + 18632,
- FePragTyp: U8(PragTyp_WAL_AUTOCHECKPOINT)},
{FzName: ts + 18651,
+ FePragTyp: U8(PragTyp_WAL_AUTOCHECKPOINT)},
+ {FzName: ts + 18670,
FePragTyp: U8(PragTyp_WAL_CHECKPOINT),
FmPragFlg: U8(PragFlg_NeedSchema),
FiPragCName: U8(50), FnPragCName: U8(3)},
- {FzName: ts + 18666,
+ {FzName: ts + 18685,
FePragTyp: U8(PragTyp_FLAG),
FmPragFlg: U8(PragFlg_Result0 | PragFlg_NoColumns1),
FiArg: uint64(SQLITE_WriteSchema | SQLITE_NoSchemaError)},
@@ -126515,7 +126536,7 @@ func getSafetyLevel(tls *libc.TLS, z uintptr, omitFull int32, dflt U8) U8 {
return dflt
}
-var zText = *(*[25]int8)(unsafe.Pointer(ts + 18682))
+var zText = *(*[25]int8)(unsafe.Pointer(ts + 18701))
var iOffset = [8]U8{U8(0), U8(1), U8(2), U8(4), U8(9), U8(12), U8(15), U8(20)}
var iLength = [8]U8{U8(2), U8(2), U8(3), U8(5), U8(3), U8(4), U8(5), U8(4)}
var iValue = [8]U8{U8(1), U8(0), U8(0), U8(0), U8(1), U8(1), U8(3), U8(2)}
@@ -126527,10 +126548,10 @@ func Xsqlite3GetBoolean(tls *libc.TLS, z uintptr, dflt U8) U8 {
func getLockingMode(tls *libc.TLS, z uintptr) int32 {
if z != 0 {
- if 0 == Xsqlite3StrICmp(tls, z, ts+5017) {
+ if 0 == Xsqlite3StrICmp(tls, z, ts+5036) {
return PAGER_LOCKINGMODE_EXCLUSIVE
}
- if 0 == Xsqlite3StrICmp(tls, z, ts+18707) {
+ if 0 == Xsqlite3StrICmp(tls, z, ts+18726) {
return PAGER_LOCKINGMODE_NORMAL
}
}
@@ -126539,13 +126560,13 @@ func getLockingMode(tls *libc.TLS, z uintptr) int32 {
func getAutoVacuum(tls *libc.TLS, z uintptr) int32 {
var i int32
- if 0 == Xsqlite3StrICmp(tls, z, ts+9378) {
+ if 0 == Xsqlite3StrICmp(tls, z, ts+9397) {
return BTREE_AUTOVACUUM_NONE
}
- if 0 == Xsqlite3StrICmp(tls, z, ts+18714) {
+ if 0 == Xsqlite3StrICmp(tls, z, ts+18733) {
return BTREE_AUTOVACUUM_FULL
}
- if 0 == Xsqlite3StrICmp(tls, z, ts+18719) {
+ if 0 == Xsqlite3StrICmp(tls, z, ts+18738) {
return BTREE_AUTOVACUUM_INCR
}
i = Xsqlite3Atoi(tls, z)
@@ -126560,9 +126581,9 @@ func getAutoVacuum(tls *libc.TLS, z uintptr) int32 {
func getTempStore(tls *libc.TLS, z uintptr) int32 {
if int32(*(*int8)(unsafe.Pointer(z))) >= '0' && int32(*(*int8)(unsafe.Pointer(z))) <= '2' {
return int32(*(*int8)(unsafe.Pointer(z))) - '0'
- } else if Xsqlite3StrICmp(tls, z, ts+17636) == 0 {
+ } else if Xsqlite3StrICmp(tls, z, ts+17655) == 0 {
return 1
- } else if Xsqlite3StrICmp(tls, z, ts+18731) == 0 {
+ } else if Xsqlite3StrICmp(tls, z, ts+18750) == 0 {
return 2
} else {
return 0
@@ -126576,7 +126597,7 @@ func invalidateTempStorage(tls *libc.TLS, pParse uintptr) int32 {
if !(int32((*Sqlite3)(unsafe.Pointer(db)).FautoCommit) != 0) ||
Xsqlite3BtreeTxnState(tls, (*Db)(unsafe.Pointer((*Sqlite3)(unsafe.Pointer(db)).FaDb+1*32)).FpBt) != SQLITE_TXN_NONE {
Xsqlite3ErrorMsg(tls, pParse,
- ts+18738, 0)
+ ts+18757, 0)
return SQLITE_ERROR
}
Xsqlite3BtreeClose(tls, (*Db)(unsafe.Pointer((*Sqlite3)(unsafe.Pointer(db)).FaDb+1*32)).FpBt)
@@ -126667,19 +126688,19 @@ func actionName(tls *libc.TLS, action U8) uintptr {
var zName uintptr
switch int32(action) {
case OE_SetNull:
- zName = ts + 18800
+ zName = ts + 18819
break
case OE_SetDflt:
- zName = ts + 18809
+ zName = ts + 18828
break
case OE_Cascade:
- zName = ts + 18821
+ zName = ts + 18840
break
case OE_Restrict:
- zName = ts + 18829
+ zName = ts + 18848
break
default:
- zName = ts + 18838
+ zName = ts + 18857
break
}
return zName
@@ -126696,7 +126717,7 @@ func Xsqlite3JournalModename(tls *libc.TLS, eMode int32) uintptr {
}
var azModeName = [6]uintptr{
- ts + 18848, ts + 18855, ts + 18863, ts + 18867, ts + 18731, ts + 18876,
+ ts + 18867, ts + 18874, ts + 18882, ts + 18886, ts + 18750, ts + 18895,
}
func pragmaLocate(tls *libc.TLS, zName uintptr) uintptr {
@@ -126743,13 +126764,13 @@ func pragmaFunclistLine(tls *libc.TLS, v uintptr, p uintptr, isBuiltin int32, sh
continue
}
if (*FuncDef)(unsafe.Pointer(p)).FxValue != uintptr(0) {
- zType = ts + 18880
+ zType = ts + 18899
} else if (*FuncDef)(unsafe.Pointer(p)).FxFinalize != uintptr(0) {
- zType = ts + 18882
+ zType = ts + 18901
} else {
- zType = ts + 8880
+ zType = ts + 8888
}
- Xsqlite3VdbeMultiLoad(tls, v, 1, ts+18884,
+ Xsqlite3VdbeMultiLoad(tls, v, 1, ts+18903,
libc.VaList(bp, (*FuncDef)(unsafe.Pointer(p)).FzName, isBuiltin,
zType, azEnc[(*FuncDef)(unsafe.Pointer(p)).FfuncFlags&U32(SQLITE_FUNC_ENCMASK)],
int32((*FuncDef)(unsafe.Pointer(p)).FnArg),
@@ -126757,7 +126778,7 @@ func pragmaFunclistLine(tls *libc.TLS, v uintptr, p uintptr, isBuiltin int32, sh
}
}
-var azEnc = [4]uintptr{uintptr(0), ts + 18891, ts + 18896, ts + 18904}
+var azEnc = [4]uintptr{uintptr(0), ts + 18910, ts + 18915, ts + 18923}
func integrityCheckResultRow(tls *libc.TLS, v uintptr) int32 {
var addr int32
@@ -126908,6 +126929,7 @@ func Xsqlite3Pragma(tls *libc.TLS, pParse uintptr, pId1 uintptr, pId2 uintptr, p
var zErr2 uintptr
var k3 int32
var pCheck uintptr
+ var jmp7 int32
var jmp6 int32
var iCol1 int32
var uniqOk int32
@@ -127004,7 +127026,7 @@ __4:
if !(minusFlag != 0) {
goto __5
}
- zRight = Xsqlite3MPrintf(tls, db, ts+18912, libc.VaList(bp, pValue))
+ zRight = Xsqlite3MPrintf(tls, db, ts+18931, libc.VaList(bp, pValue))
goto __6
__5:
zRight = Xsqlite3NameFromToken(tls, db, pValue)
@@ -127043,7 +127065,7 @@ __8:
if !(*(*uintptr)(unsafe.Pointer(bp + 496)) != 0) {
goto __10
}
- Xsqlite3ErrorMsg(tls, pParse, ts+4493, libc.VaList(bp+8, *(*uintptr)(unsafe.Pointer(bp + 496))))
+ Xsqlite3ErrorMsg(tls, pParse, ts+4512, libc.VaList(bp+8, *(*uintptr)(unsafe.Pointer(bp + 496))))
Xsqlite3_free(tls, *(*uintptr)(unsafe.Pointer(bp + 496)))
__10:
;
@@ -127268,7 +127290,7 @@ __18:
if !(zRight != 0) {
goto __64
}
- if !(Xsqlite3_stricmp(tls, zRight, ts+18916) == 0) {
+ if !(Xsqlite3_stricmp(tls, zRight, ts+18935) == 0) {
goto __65
}
b = 2
@@ -127340,7 +127362,7 @@ __72:
goto __15
__20:
- zRet = ts + 18707
+ zRet = ts + 18726
eMode = getLockingMode(tls, zRight)
if !((*Token)(unsafe.Pointer(pId2)).Fn == uint32(0) && eMode == -1) {
@@ -127378,7 +127400,7 @@ __79:
if !(eMode == PAGER_LOCKINGMODE_EXCLUSIVE) {
goto __84
}
- zRet = ts + 5017
+ zRet = ts + 5036
__84:
;
returnSingleText(tls, v, zRet)
@@ -127665,7 +127687,7 @@ __124:
if !(rc != SQLITE_OK || *(*int32)(unsafe.Pointer(bp + 560)) == 0) {
goto __127
}
- Xsqlite3ErrorMsg(tls, pParse, ts+18921, 0)
+ Xsqlite3ErrorMsg(tls, pParse, ts+18940, 0)
Xsqlite3_mutex_leave(tls, Xsqlite3MutexAlloc(tls, SQLITE_MUTEX_STATIC_VFS1))
goto pragma_out
__127:
@@ -127684,7 +127706,7 @@ __128:
if !(*(*int8)(unsafe.Pointer(zRight)) != 0) {
goto __129
}
- Xsqlite3_temp_directory = Xsqlite3_mprintf(tls, ts+4493, libc.VaList(bp+16, zRight))
+ Xsqlite3_temp_directory = Xsqlite3_mprintf(tls, ts+4512, libc.VaList(bp+16, zRight))
goto __130
__129:
Xsqlite3_temp_directory = uintptr(0)
@@ -127710,7 +127732,7 @@ __131:
if !(rc != SQLITE_OK || *(*int32)(unsafe.Pointer(bp + 564)) == 0) {
goto __134
}
- Xsqlite3ErrorMsg(tls, pParse, ts+18921, 0)
+ Xsqlite3ErrorMsg(tls, pParse, ts+18940, 0)
Xsqlite3_mutex_leave(tls, Xsqlite3MutexAlloc(tls, SQLITE_MUTEX_STATIC_VFS1))
goto pragma_out
__134:
@@ -127721,7 +127743,7 @@ __133:
if !(*(*int8)(unsafe.Pointer(zRight)) != 0) {
goto __135
}
- Xsqlite3_data_directory = Xsqlite3_mprintf(tls, ts+4493, libc.VaList(bp+24, zRight))
+ Xsqlite3_data_directory = Xsqlite3_mprintf(tls, ts+4512, libc.VaList(bp+24, zRight))
goto __136
__135:
Xsqlite3_data_directory = uintptr(0)
@@ -127743,7 +127765,7 @@ __137:
goto __139
}
Xsqlite3ErrorMsg(tls, pParse,
- ts+18946, 0)
+ ts+18965, 0)
goto __140
__139:
if !(iDb != 1) {
@@ -127797,7 +127819,7 @@ __146:
__148:
;
if !(mask&uint64(SQLITE_WriteSchema) != uint64(0) &&
- Xsqlite3_stricmp(tls, zRight, ts+18999) == 0) {
+ Xsqlite3_stricmp(tls, zRight, ts+19018) == 0) {
goto __149
}
@@ -127894,13 +127916,13 @@ __162:
Xsqlite3VdbeMultiLoad(tls, v, 1, func() uintptr {
if (*PragmaName)(unsafe.Pointer(pPragma)).FiArg != 0 {
- return ts + 19005
+ return ts + 19024
}
- return ts + 19013
+ return ts + 19032
}(),
libc.VaList(bp+32, i-nHidden,
(*Column)(unsafe.Pointer(pCol)).FzCnName,
- Xsqlite3ColumnType(tls, pCol, ts+1544),
+ Xsqlite3ColumnType(tls, pCol, ts+1563),
func() int32 {
if uint32(int32(*(*uint8)(unsafe.Pointer(pCol + 8))&0xf>>0)) != 0 {
return 1
@@ -127965,7 +127987,7 @@ __177:
if !(int32((*Table)(unsafe.Pointer(pTab1)).FnCol) == 0) {
goto __178
}
- zSql = Xsqlite3MPrintf(tls, db, ts+19020, libc.VaList(bp+88, (*Table)(unsafe.Pointer(pTab1)).FzName))
+ zSql = Xsqlite3MPrintf(tls, db, ts+19039, libc.VaList(bp+88, (*Table)(unsafe.Pointer(pTab1)).FzName))
if !(zSql != 0) {
goto __179
}
@@ -127978,7 +128000,7 @@ __179:
if !((*Sqlite3)(unsafe.Pointer(db)).FmallocFailed != 0) {
goto __180
}
- Xsqlite3ErrorMsg(tls, (*Sqlite3)(unsafe.Pointer(db)).FpParse, ts+1480, 0)
+ Xsqlite3ErrorMsg(tls, (*Sqlite3)(unsafe.Pointer(db)).FpParse, ts+1499, 0)
(*Parse)(unsafe.Pointer((*Sqlite3)(unsafe.Pointer(db)).FpParse)).Frc = SQLITE_NOMEM
__180:
;
@@ -128011,29 +128033,29 @@ __184:
if !(int32((*Table)(unsafe.Pointer(pTab2)).FeTabType) == TABTYP_VIEW) {
goto __185
}
- zType = ts + 11843
+ zType = ts + 11862
goto __186
__185:
if !(int32((*Table)(unsafe.Pointer(pTab2)).FeTabType) == TABTYP_VTAB) {
goto __187
}
- zType = ts + 14073
+ zType = ts + 14092
goto __188
__187:
if !((*Table)(unsafe.Pointer(pTab2)).FtabFlags&U32(TF_Shadow) != 0) {
goto __189
}
- zType = ts + 19036
+ zType = ts + 19055
goto __190
__189:
- zType = ts + 10228
+ zType = ts + 10247
__190:
;
__188:
;
__186:
;
- Xsqlite3VdbeMultiLoad(tls, v, 1, ts+19043,
+ Xsqlite3VdbeMultiLoad(tls, v, 1, ts+19062,
libc.VaList(bp+96, (*Db)(unsafe.Pointer((*Sqlite3)(unsafe.Pointer(db)).FaDb+uintptr(ii4)*32)).FzDbSName,
Xsqlite3PreferredTableName(tls, (*Table)(unsafe.Pointer(pTab2)).FzName),
zType,
@@ -128099,7 +128121,7 @@ __197:
goto __199
}
cnum = *(*I16)(unsafe.Pointer((*Index)(unsafe.Pointer(pIdx)).FaiColumn + uintptr(i1)*2))
- Xsqlite3VdbeMultiLoad(tls, v, 1, ts+19050, libc.VaList(bp+144, i1, int32(cnum),
+ Xsqlite3VdbeMultiLoad(tls, v, 1, ts+19069, libc.VaList(bp+144, i1, int32(cnum),
func() uintptr {
if int32(cnum) < 0 {
return uintptr(0)
@@ -128109,7 +128131,7 @@ __197:
if !((*PragmaName)(unsafe.Pointer(pPragma)).FiArg != 0) {
goto __200
}
- Xsqlite3VdbeMultiLoad(tls, v, 4, ts+19055,
+ Xsqlite3VdbeMultiLoad(tls, v, 4, ts+19074,
libc.VaList(bp+168, int32(*(*U8)(unsafe.Pointer((*Index)(unsafe.Pointer(pIdx)).FaSortOrder + uintptr(i1)))),
*(*uintptr)(unsafe.Pointer((*Index)(unsafe.Pointer(pIdx)).FazColl + uintptr(i1)*8)),
libc.Bool32(i1 < int32((*Index)(unsafe.Pointer(pIdx)).FnKeyCol))))
@@ -128146,8 +128168,8 @@ __203:
if !(pIdx1 != 0) {
goto __205
}
- *(*[3]uintptr)(unsafe.Pointer(bp + 576)) = [3]uintptr{ts + 19060, ts + 19062, ts + 17513}
- Xsqlite3VdbeMultiLoad(tls, v, 1, ts+19064,
+ *(*[3]uintptr)(unsafe.Pointer(bp + 576)) = [3]uintptr{ts + 19079, ts + 19081, ts + 17532}
+ Xsqlite3VdbeMultiLoad(tls, v, 1, ts+19083,
libc.VaList(bp+192, i2,
(*Index)(unsafe.Pointer(pIdx1)).FzName,
libc.Bool32(int32((*Index)(unsafe.Pointer(pIdx1)).FonError) != OE_None),
@@ -128180,7 +128202,7 @@ __206:
goto __207
__209:
;
- Xsqlite3VdbeMultiLoad(tls, v, 1, ts+19070,
+ Xsqlite3VdbeMultiLoad(tls, v, 1, ts+19089,
libc.VaList(bp+232, i3,
(*Db)(unsafe.Pointer((*Sqlite3)(unsafe.Pointer(db)).FaDb+uintptr(i3)*32)).FzDbSName,
Xsqlite3BtreeGetFilename(tls, (*Db)(unsafe.Pointer((*Sqlite3)(unsafe.Pointer(db)).FaDb+uintptr(i3)*32)).FpBt)))
@@ -128202,7 +128224,7 @@ __210:
goto __212
}
pColl = (*HashElem)(unsafe.Pointer(p)).Fdata
- Xsqlite3VdbeMultiLoad(tls, v, 1, ts+19074, libc.VaList(bp+256, libc.PostIncInt32(&i4, 1), (*CollSeq)(unsafe.Pointer(pColl)).FzName))
+ Xsqlite3VdbeMultiLoad(tls, v, 1, ts+19093, libc.VaList(bp+256, libc.PostIncInt32(&i4, 1), (*CollSeq)(unsafe.Pointer(pColl)).FzName))
goto __211
__211:
p = (*HashElem)(unsafe.Pointer(p)).Fnext
@@ -128266,7 +128288,7 @@ __222:
goto __224
}
pMod = (*HashElem)(unsafe.Pointer(j1)).Fdata
- Xsqlite3VdbeMultiLoad(tls, v, 1, ts+8880, libc.VaList(bp+272, (*Module)(unsafe.Pointer(pMod)).FzName))
+ Xsqlite3VdbeMultiLoad(tls, v, 1, ts+8888, libc.VaList(bp+272, (*Module)(unsafe.Pointer(pMod)).FzName))
goto __223
__223:
j1 = (*HashElem)(unsafe.Pointer(j1)).Fnext
@@ -128282,7 +128304,7 @@ __225:
if !(i6 < int32(uint64(unsafe.Sizeof(aPragmaName))/uint64(unsafe.Sizeof(PragmaName{})))) {
goto __227
}
- Xsqlite3VdbeMultiLoad(tls, v, 1, ts+8880, libc.VaList(bp+280, aPragmaName[i6].FzName))
+ Xsqlite3VdbeMultiLoad(tls, v, 1, ts+8888, libc.VaList(bp+280, aPragmaName[i6].FzName))
goto __226
__226:
i6++
@@ -128317,7 +128339,7 @@ __233:
if !(j2 < (*FKey)(unsafe.Pointer(pFK)).FnCol) {
goto __235
}
- Xsqlite3VdbeMultiLoad(tls, v, 1, ts+19077,
+ Xsqlite3VdbeMultiLoad(tls, v, 1, ts+19096,
libc.VaList(bp+288, i7,
j2,
(*FKey)(unsafe.Pointer(pFK)).FzTo,
@@ -128325,7 +128347,7 @@ __233:
(*sColMap)(unsafe.Pointer(pFK+64+uintptr(j2)*16)).FzCol,
actionName(tls, *(*U8)(unsafe.Pointer(pFK + 45 + 1))),
actionName(tls, *(*U8)(unsafe.Pointer(pFK + 45))),
- ts+19086))
+ ts+19105))
goto __234
__234:
j2++
@@ -128514,7 +128536,7 @@ __263:
Xsqlite3VdbeAddOp2(tls, v, OP_Null, 0, regResult+1)
__264:
;
- Xsqlite3VdbeMultiLoad(tls, v, regResult+2, ts+19091, libc.VaList(bp+352, (*FKey)(unsafe.Pointer(pFK1)).FzTo, i8-1))
+ Xsqlite3VdbeMultiLoad(tls, v, regResult+2, ts+19110, libc.VaList(bp+352, (*FKey)(unsafe.Pointer(pFK1)).FzTo, i8-1))
Xsqlite3VdbeAddOp2(tls, v, OP_ResultRow, regResult, 4)
Xsqlite3VdbeResolveLabel(tls, v, addrOk)
Xsqlite3DbFree(tls, db, *(*uintptr)(unsafe.Pointer(bp + 608)))
@@ -128731,7 +128753,7 @@ __291:
Xsqlite3VdbeChangeP5(tls, v, uint16(U8(i9)))
addr1 = Xsqlite3VdbeAddOp1(tls, v, OP_IsNull, 2)
Xsqlite3VdbeAddOp4(tls, v, OP_String8, 0, 3, 0,
- Xsqlite3MPrintf(tls, db, ts+19095, libc.VaList(bp+368, (*Db)(unsafe.Pointer((*Sqlite3)(unsafe.Pointer(db)).FaDb+uintptr(i9)*32)).FzDbSName)),
+ Xsqlite3MPrintf(tls, db, ts+19114, libc.VaList(bp+368, (*Db)(unsafe.Pointer((*Sqlite3)(unsafe.Pointer(db)).FaDb+uintptr(i9)*32)).FzDbSName)),
-6)
Xsqlite3VdbeAddOp3(tls, v, OP_Concat, 2, 3, 3)
integrityCheckResultRow(tls, v)
@@ -128842,7 +128864,7 @@ __314:
Xsqlite3VdbeAddOp1(tls, v, OP_IsNull, r2)
zErr = Xsqlite3MPrintf(tls, db,
- ts+19119,
+ ts+19138,
libc.VaList(bp+376, (*Table)(unsafe.Pointer(pTab9)).FzName))
Xsqlite3VdbeAddOp4(tls, v, OP_String8, 0, 3, 0, zErr, -6)
integrityCheckResultRow(tls, v)
@@ -128941,7 +128963,7 @@ __328:
jmp2 = Xsqlite3VdbeAddOp4Int(tls, v, OP_IsType, p11, labelOk, p3, p4)
Xsqlite3VdbeChangeP5(tls, v, uint16(0x0f))
- zErr1 = Xsqlite3MPrintf(tls, db, ts+19155, libc.VaList(bp+384, (*Table)(unsafe.Pointer(pTab9)).FzName,
+ zErr1 = Xsqlite3MPrintf(tls, db, ts+19174, libc.VaList(bp+384, (*Table)(unsafe.Pointer(pTab9)).FzName,
(*Column)(unsafe.Pointer(pCol1)).FzCnName))
Xsqlite3VdbeAddOp4(tls, v, OP_String8, 0, 3, 0, zErr1, -6)
if !(doTypeCheck != 0) {
@@ -128963,7 +128985,7 @@ __333:
Xsqlite3VdbeChangeP5(tls, v, uint16(aStdTypeMask[(int32(*(*uint8)(unsafe.Pointer(pCol1 + 8))&0xf0>>4)-1)&0xf<<28>>28]))
- zErr1 = Xsqlite3MPrintf(tls, db, ts+19175,
+ zErr1 = Xsqlite3MPrintf(tls, db, ts+19194,
libc.VaList(bp+400, Xsqlite3StdType[(int32(*(*uint8)(unsafe.Pointer(pCol1 + 8))&0xf0>>4)-1)&0xf<<28>>28],
(*Table)(unsafe.Pointer(pTab9)).FzName, (*Column)(unsafe.Pointer((*Table)(unsafe.Pointer(pTab9)).FaCol+uintptr(j4)*24)).FzCnName))
Xsqlite3VdbeAddOp4(tls, v, OP_String8, 0, 3, 0, zErr1, -6)
@@ -128976,7 +128998,7 @@ __336:
Xsqlite3VdbeAddOp4Int(tls, v, OP_IsType, p11, labelOk, p3, p4)
Xsqlite3VdbeChangeP5(tls, v, uint16(0x1c))
- zErr1 = Xsqlite3MPrintf(tls, db, ts+19197,
+ zErr1 = Xsqlite3MPrintf(tls, db, ts+19216,
libc.VaList(bp+424, (*Table)(unsafe.Pointer(pTab9)).FzName, (*Column)(unsafe.Pointer((*Table)(unsafe.Pointer(pTab9)).FaCol+uintptr(j4)*24)).FzCnName))
Xsqlite3VdbeAddOp4(tls, v, OP_String8, 0, 3, 0, zErr1, -6)
goto __339
@@ -128994,11 +129016,11 @@ __338:
Xsqlite3ExprCodeGetColumnOfTable(tls, v, pTab9, *(*int32)(unsafe.Pointer(bp + 620)), j4, 3)
__341:
;
- Xsqlite3VdbeAddOp4(tls, v, OP_Affinity, 3, 1, 0, ts+19220, -1)
+ Xsqlite3VdbeAddOp4(tls, v, OP_Affinity, 3, 1, 0, ts+19239, -1)
Xsqlite3VdbeAddOp4Int(tls, v, OP_IsType, -1, labelOk, 3, p4)
Xsqlite3VdbeChangeP5(tls, v, uint16(0x1c))
- zErr1 = Xsqlite3MPrintf(tls, db, ts+19222,
+ zErr1 = Xsqlite3MPrintf(tls, db, ts+19241,
libc.VaList(bp+440, (*Table)(unsafe.Pointer(pTab9)).FzName, (*Column)(unsafe.Pointer((*Table)(unsafe.Pointer(pTab9)).FaCol+uintptr(j4)*24)).FzCnName))
Xsqlite3VdbeAddOp4(tls, v, OP_String8, 0, 3, 0, zErr1, -6)
__340:
@@ -129044,7 +129066,7 @@ __346:
SQLITE_JUMPIFNULL)
Xsqlite3VdbeResolveLabel(tls, v, addrCkFault)
(*Parse)(unsafe.Pointer(pParse)).FiSelfTab = 0
- zErr2 = Xsqlite3MPrintf(tls, db, ts+19242,
+ zErr2 = Xsqlite3MPrintf(tls, db, ts+19261,
libc.VaList(bp+456, (*Table)(unsafe.Pointer(pTab9)).FzName))
Xsqlite3VdbeAddOp4(tls, v, OP_String8, 0, 3, 0, zErr2, -6)
integrityCheckResultRow(tls, v)
@@ -129078,89 +129100,103 @@ __351:
jmp21 = Xsqlite3VdbeAddOp4Int(tls, v, OP_Found, *(*int32)(unsafe.Pointer(bp + 624))+j4, ckUniq, r1,
int32((*Index)(unsafe.Pointer(pIdx5)).FnColumn))
- Xsqlite3VdbeLoadString(tls, v, 3, ts+19272)
+ Xsqlite3VdbeLoadString(tls, v, 3, ts+19291)
Xsqlite3VdbeAddOp3(tls, v, OP_Concat, 7, 3, 3)
- Xsqlite3VdbeLoadString(tls, v, 4, ts+19277)
+ Xsqlite3VdbeLoadString(tls, v, 4, ts+19296)
Xsqlite3VdbeAddOp3(tls, v, OP_Concat, 4, 3, 3)
jmp5 = Xsqlite3VdbeLoadString(tls, v, 4, (*Index)(unsafe.Pointer(pIdx5)).FzName)
Xsqlite3VdbeAddOp3(tls, v, OP_Concat, 4, 3, 3)
jmp4 = integrityCheckResultRow(tls, v)
Xsqlite3VdbeJumpHere(tls, v, jmp21)
+ if !((*Table)(unsafe.Pointer(pTab9)).FtabFlags&U32(TF_WithoutRowid) == U32(0)) {
+ goto __352
+ }
+ Xsqlite3VdbeAddOp2(tls, v, OP_IdxRowid, *(*int32)(unsafe.Pointer(bp + 624))+j4, 3)
+ jmp7 = Xsqlite3VdbeAddOp3(tls, v, OP_Eq, 3, 0, r1+int32((*Index)(unsafe.Pointer(pIdx5)).FnColumn)-1)
+
+ Xsqlite3VdbeLoadString(tls, v, 3,
+ ts+19317)
+ Xsqlite3VdbeAddOp3(tls, v, OP_Concat, 7, 3, 3)
+ Xsqlite3VdbeLoadString(tls, v, 4, ts+19353)
+ Xsqlite3VdbeGoto(tls, v, jmp5-1)
+ Xsqlite3VdbeJumpHere(tls, v, jmp7)
+__352:
+ ;
label6 = 0
kk = 0
-__352:
+__353:
if !(kk < int32((*Index)(unsafe.Pointer(pIdx5)).FnKeyCol)) {
- goto __354
+ goto __355
}
if !(*(*uintptr)(unsafe.Pointer((*Index)(unsafe.Pointer(pIdx5)).FazColl + uintptr(kk)*8)) == uintptr(unsafe.Pointer(&Xsqlite3StrBINARY))) {
- goto __355
+ goto __356
}
- goto __353
-__355:
+ goto __354
+__356:
;
if !(label6 == 0) {
- goto __356
+ goto __357
}
label6 = Xsqlite3VdbeMakeLabel(tls, pParse)
-__356:
+__357:
;
Xsqlite3VdbeAddOp3(tls, v, OP_Column, *(*int32)(unsafe.Pointer(bp + 624))+j4, kk, 3)
Xsqlite3VdbeAddOp3(tls, v, OP_Ne, 3, label6, r1+kk)
- goto __353
-__353:
- kk++
- goto __352
goto __354
__354:
+ kk++
+ goto __353
+ goto __355
+__355:
;
if !(label6 != 0) {
- goto __357
+ goto __358
}
jmp6 = Xsqlite3VdbeAddOp0(tls, v, OP_Goto)
Xsqlite3VdbeResolveLabel(tls, v, label6)
- Xsqlite3VdbeLoadString(tls, v, 3, ts+19272)
+ Xsqlite3VdbeLoadString(tls, v, 3, ts+19291)
Xsqlite3VdbeAddOp3(tls, v, OP_Concat, 7, 3, 3)
- Xsqlite3VdbeLoadString(tls, v, 4, ts+19298)
+ Xsqlite3VdbeLoadString(tls, v, 4, ts+19364)
Xsqlite3VdbeGoto(tls, v, jmp5-1)
Xsqlite3VdbeJumpHere(tls, v, jmp6)
-__357:
+__358:
;
if !(int32((*Index)(unsafe.Pointer(pIdx5)).FonError) != OE_None) {
- goto __358
+ goto __359
}
uniqOk = Xsqlite3VdbeMakeLabel(tls, pParse)
kk = 0
-__359:
+__360:
if !(kk < int32((*Index)(unsafe.Pointer(pIdx5)).FnKeyCol)) {
- goto __361
+ goto __362
}
iCol1 = int32(*(*I16)(unsafe.Pointer((*Index)(unsafe.Pointer(pIdx5)).FaiColumn + uintptr(kk)*2)))
if !(iCol1 >= 0 && uint32(int32(*(*uint8)(unsafe.Pointer((*Table)(unsafe.Pointer(pTab9)).FaCol + uintptr(iCol1)*24 + 8))&0xf>>0)) != 0) {
- goto __362
+ goto __363
}
- goto __360
-__362:
+ goto __361
+__363:
;
Xsqlite3VdbeAddOp2(tls, v, OP_IsNull, r1+kk, uniqOk)
- goto __360
-__360:
- kk++
- goto __359
goto __361
__361:
+ kk++
+ goto __360
+ goto __362
+__362:
;
jmp61 = Xsqlite3VdbeAddOp1(tls, v, OP_Next, *(*int32)(unsafe.Pointer(bp + 624))+j4)
Xsqlite3VdbeGoto(tls, v, uniqOk)
Xsqlite3VdbeJumpHere(tls, v, jmp61)
Xsqlite3VdbeAddOp4Int(tls, v, OP_IdxGT, *(*int32)(unsafe.Pointer(bp + 624))+j4, uniqOk, r1,
int32((*Index)(unsafe.Pointer(pIdx5)).FnKeyCol))
- Xsqlite3VdbeLoadString(tls, v, 3, ts+19325)
+ Xsqlite3VdbeLoadString(tls, v, 3, ts+19391)
Xsqlite3VdbeGoto(tls, v, jmp5)
Xsqlite3VdbeResolveLabel(tls, v, uniqOk)
-__358:
+__359:
;
Xsqlite3VdbeJumpHere(tls, v, jmp4)
Xsqlite3ResolvePartIdxLabel(tls, pParse, *(*int32)(unsafe.Pointer(bp + 640)))
@@ -129177,20 +129213,20 @@ __347:
Xsqlite3VdbeAddOp2(tls, v, OP_Next, *(*int32)(unsafe.Pointer(bp + 620)), loopTop)
Xsqlite3VdbeJumpHere(tls, v, loopTop-1)
if !!(isQuick != 0) {
- goto __363
+ goto __364
}
- Xsqlite3VdbeLoadString(tls, v, 2, ts+19352)
+ Xsqlite3VdbeLoadString(tls, v, 2, ts+19418)
j4 = 0
pIdx5 = (*Table)(unsafe.Pointer(pTab9)).FpIndex
-__364:
+__365:
if !(pIdx5 != 0) {
- goto __366
+ goto __367
}
if !(pPk1 == pIdx5) {
- goto __367
+ goto __368
}
- goto __365
-__367:
+ goto __366
+__368:
;
Xsqlite3VdbeAddOp2(tls, v, OP_Count, *(*int32)(unsafe.Pointer(bp + 624))+j4, 3)
addr1 = Xsqlite3VdbeAddOp3(tls, v, OP_Eq, 8+j4, 0, 3)
@@ -129199,21 +129235,21 @@ __367:
Xsqlite3VdbeAddOp3(tls, v, OP_Concat, 4, 2, 3)
integrityCheckResultRow(tls, v)
Xsqlite3VdbeJumpHere(tls, v, addr1)
- goto __365
-__365:
- pIdx5 = (*Index)(unsafe.Pointer(pIdx5)).FpNext
- j4++
- goto __364
goto __366
__366:
+ pIdx5 = (*Index)(unsafe.Pointer(pIdx5)).FpNext
+ j4++
+ goto __365
+ goto __367
+__367:
;
if !(pPk1 != 0) {
- goto __368
+ goto __369
}
Xsqlite3ReleaseTempRange(tls, pParse, r2, int32((*Index)(unsafe.Pointer(pPk1)).FnKeyCol))
-__368:
+__369:
;
-__363:
+__364:
;
goto __298
__298:
@@ -129231,14 +129267,14 @@ __273:
;
aOp2 = Xsqlite3VdbeAddOpList(tls, v, int32(uint64(unsafe.Sizeof(endCode))/uint64(unsafe.Sizeof(VdbeOpList{}))), uintptr(unsafe.Pointer(&endCode)), iLn5)
if !(aOp2 != 0) {
- goto __369
+ goto __370
}
(*VdbeOp)(unsafe.Pointer(aOp2)).Fp2 = 1 - *(*int32)(unsafe.Pointer(bp + 616))
(*VdbeOp)(unsafe.Pointer(aOp2 + 2*24)).Fp4type = int8(-1)
- *(*uintptr)(unsafe.Pointer(aOp2 + 2*24 + 16)) = ts + 19381
+ *(*uintptr)(unsafe.Pointer(aOp2 + 2*24 + 16)) = ts + 19447
(*VdbeOp)(unsafe.Pointer(aOp2 + 5*24)).Fp4type = int8(-1)
*(*uintptr)(unsafe.Pointer(aOp2 + 5*24 + 16)) = Xsqlite3ErrStr(tls, SQLITE_CORRUPT)
-__369:
+__370:
;
Xsqlite3VdbeChangeP3(tls, v, 0, Xsqlite3VdbeCurrentAddr(tls, v)-2)
@@ -129246,27 +129282,27 @@ __369:
__46:
if !!(zRight != 0) {
- goto __370
+ goto __371
}
if !(Xsqlite3ReadSchema(tls, pParse) != 0) {
- goto __372
+ goto __373
}
goto pragma_out
-__372:
+__373:
;
returnSingleText(tls, v, encnames1[(*Sqlite3)(unsafe.Pointer((*Parse)(unsafe.Pointer(pParse)).Fdb)).Fenc].FzName)
- goto __371
-__370:
+ goto __372
+__371:
if !((*Sqlite3)(unsafe.Pointer(db)).FmDbFlags&U32(DBFLAG_EncodingFixed) == U32(0)) {
- goto __373
+ goto __374
}
pEnc = uintptr(unsafe.Pointer(&encnames1))
-__374:
+__375:
if !((*EncName)(unsafe.Pointer(pEnc)).FzName != 0) {
- goto __376
+ goto __377
}
if !(0 == Xsqlite3StrICmp(tls, zRight, (*EncName)(unsafe.Pointer(pEnc)).FzName)) {
- goto __377
+ goto __378
}
if (*EncName)(unsafe.Pointer(pEnc)).Fenc != 0 {
enc = (*EncName)(unsafe.Pointer(pEnc)).Fenc
@@ -129275,25 +129311,25 @@ __374:
}
(*Schema)(unsafe.Pointer((*Db)(unsafe.Pointer((*Sqlite3)(unsafe.Pointer(db)).FaDb)).FpSchema)).Fenc = enc
Xsqlite3SetTextEncoding(tls, db, enc)
- goto __376
-__377:
+ goto __377
+__378:
;
- goto __375
-__375:
- pEnc += 16
- goto __374
goto __376
__376:
+ pEnc += 16
+ goto __375
+ goto __377
+__377:
;
if !!(int32((*EncName)(unsafe.Pointer(pEnc)).FzName) != 0) {
- goto __378
+ goto __379
}
- Xsqlite3ErrorMsg(tls, pParse, ts+19384, libc.VaList(bp+464, zRight))
-__378:
+ Xsqlite3ErrorMsg(tls, pParse, ts+19450, libc.VaList(bp+464, zRight))
+__379:
;
-__373:
+__374:
;
-__371:
+__372:
;
goto __15
@@ -129301,15 +129337,15 @@ __47:
iCookie = int32((*PragmaName)(unsafe.Pointer(pPragma)).FiArg)
Xsqlite3VdbeUsesBtree(tls, v, iDb)
if !(zRight != 0 && int32((*PragmaName)(unsafe.Pointer(pPragma)).FmPragFlg)&PragFlg_ReadOnly == 0) {
- goto __379
+ goto __380
}
aOp3 = Xsqlite3VdbeAddOpList(tls, v, int32(uint64(unsafe.Sizeof(setCookie))/uint64(unsafe.Sizeof(VdbeOpList{}))), uintptr(unsafe.Pointer(&setCookie)), 0)
if !(0 != 0) {
- goto __381
+ goto __382
}
goto __15
-__381:
+__382:
;
(*VdbeOp)(unsafe.Pointer(aOp3)).Fp1 = iDb
(*VdbeOp)(unsafe.Pointer(aOp3 + 1*24)).Fp1 = iDb
@@ -129317,41 +129353,41 @@ __381:
(*VdbeOp)(unsafe.Pointer(aOp3 + 1*24)).Fp3 = Xsqlite3Atoi(tls, zRight)
(*VdbeOp)(unsafe.Pointer(aOp3 + 1*24)).Fp5 = U16(1)
if !(iCookie == BTREE_SCHEMA_VERSION && (*Sqlite3)(unsafe.Pointer(db)).Fflags&uint64(SQLITE_Defensive) != uint64(0)) {
- goto __382
+ goto __383
}
(*VdbeOp)(unsafe.Pointer(aOp3 + 1*24)).Fopcode = U8(OP_Noop)
-__382:
+__383:
;
- goto __380
-__379:
+ goto __381
+__380:
;
aOp4 = Xsqlite3VdbeAddOpList(tls, v, int32(uint64(unsafe.Sizeof(readCookie))/uint64(unsafe.Sizeof(VdbeOpList{}))), uintptr(unsafe.Pointer(&readCookie)), 0)
if !(0 != 0) {
- goto __383
+ goto __384
}
goto __15
-__383:
+__384:
;
(*VdbeOp)(unsafe.Pointer(aOp4)).Fp1 = iDb
(*VdbeOp)(unsafe.Pointer(aOp4 + 1*24)).Fp1 = iDb
(*VdbeOp)(unsafe.Pointer(aOp4 + 1*24)).Fp3 = iCookie
Xsqlite3VdbeReusable(tls, v)
-__380:
+__381:
;
goto __15
__48:
i10 = 0
(*Parse)(unsafe.Pointer(pParse)).FnMem = 1
-__384:
+__385:
if !(libc.AssignUintptr(&zOpt, Xsqlite3_compileoption_get(tls, libc.PostIncInt32(&i10, 1))) != uintptr(0)) {
- goto __385
+ goto __386
}
Xsqlite3VdbeLoadString(tls, v, 1, zOpt)
Xsqlite3VdbeAddOp2(tls, v, OP_ResultRow, 1, 1)
- goto __384
-__385:
+ goto __385
+__386:
;
Xsqlite3VdbeReusable(tls, v)
@@ -129366,31 +129402,31 @@ __49:
}()
eMode2 = SQLITE_CHECKPOINT_PASSIVE
if !(zRight != 0) {
- goto __386
- }
- if !(Xsqlite3StrICmp(tls, zRight, ts+18714) == 0) {
goto __387
}
+ if !(Xsqlite3StrICmp(tls, zRight, ts+18733) == 0) {
+ goto __388
+ }
eMode2 = SQLITE_CHECKPOINT_FULL
- goto __388
-__387:
- if !(Xsqlite3StrICmp(tls, zRight, ts+19409) == 0) {
- goto __389
+ goto __389
+__388:
+ if !(Xsqlite3StrICmp(tls, zRight, ts+19475) == 0) {
+ goto __390
}
eMode2 = SQLITE_CHECKPOINT_RESTART
- goto __390
-__389:
- if !(Xsqlite3StrICmp(tls, zRight, ts+18867) == 0) {
- goto __391
+ goto __391
+__390:
+ if !(Xsqlite3StrICmp(tls, zRight, ts+18886) == 0) {
+ goto __392
}
eMode2 = SQLITE_CHECKPOINT_TRUNCATE
-__391:
+__392:
;
-__390:
+__391:
;
-__388:
+__389:
;
-__386:
+__387:
;
(*Parse)(unsafe.Pointer(pParse)).FnMem = 3
Xsqlite3VdbeAddOp3(tls, v, OP_Checkpoint, iBt, eMode2, 1)
@@ -129400,10 +129436,10 @@ __386:
__50:
if !(zRight != 0) {
- goto __392
+ goto __393
}
Xsqlite3_wal_autocheckpoint(tls, db, Xsqlite3Atoi(tls, zRight))
-__392:
+__393:
;
returnSingleInt(tls, v,
func() int64 {
@@ -129423,19 +129459,19 @@ __51:
__52:
if !(zRight != 0) {
- goto __393
+ goto __394
}
opMask = U32(Xsqlite3Atoi(tls, zRight))
if !(opMask&U32(0x02) == U32(0)) {
- goto __395
+ goto __396
}
goto __15
-__395:
+__396:
;
- goto __394
-__393:
- opMask = U32(0xfffe)
+ goto __395
__394:
+ opMask = U32(0xfffe)
+__395:
;
iTabCur = libc.PostIncInt32(&(*Parse)(unsafe.Pointer(pParse)).FnTab, 1)
iDbLast = func() int32 {
@@ -129444,86 +129480,86 @@ __394:
}
return (*Sqlite3)(unsafe.Pointer(db)).FnDb - 1
}()
-__396:
+__397:
if !(iDb <= iDbLast) {
- goto __398
+ goto __399
}
if !(iDb == 1) {
- goto __399
+ goto __400
}
- goto __397
-__399:
+ goto __398
+__400:
;
Xsqlite3CodeVerifySchema(tls, pParse, iDb)
pSchema = (*Db)(unsafe.Pointer((*Sqlite3)(unsafe.Pointer(db)).FaDb + uintptr(iDb)*32)).FpSchema
k4 = (*Hash)(unsafe.Pointer(pSchema + 8)).Ffirst
-__400:
+__401:
if !(k4 != 0) {
- goto __402
+ goto __403
}
pTab10 = (*HashElem)(unsafe.Pointer(k4)).Fdata
if !((*Table)(unsafe.Pointer(pTab10)).FtabFlags&U32(TF_StatsUsed) == U32(0)) {
- goto __403
+ goto __404
}
- goto __401
-__403:
+ goto __402
+__404:
;
szThreshold = LogEst(int32((*Table)(unsafe.Pointer(pTab10)).FnRowLogEst) + 46)
pIdx6 = (*Table)(unsafe.Pointer(pTab10)).FpIndex
-__404:
+__405:
if !(pIdx6 != 0) {
- goto __406
+ goto __407
}
if !!(int32(*(*uint16)(unsafe.Pointer(pIdx6 + 100))&0x80>>7) != 0) {
- goto __407
+ goto __408
}
szThreshold = int16(0)
- goto __406
-__407:
+ goto __407
+__408:
;
- goto __405
-__405:
- pIdx6 = (*Index)(unsafe.Pointer(pIdx6)).FpNext
- goto __404
goto __406
__406:
+ pIdx6 = (*Index)(unsafe.Pointer(pIdx6)).FpNext
+ goto __405
+ goto __407
+__407:
;
if !(szThreshold != 0) {
- goto __408
+ goto __409
}
Xsqlite3OpenTable(tls, pParse, iTabCur, iDb, pTab10, OP_OpenRead)
Xsqlite3VdbeAddOp3(tls, v, OP_IfSmaller, iTabCur,
int32(U32(Xsqlite3VdbeCurrentAddr(tls, v)+2)+opMask&U32(1)), int32(szThreshold))
-__408:
+__409:
;
- zSubSql = Xsqlite3MPrintf(tls, db, ts+19417,
+ zSubSql = Xsqlite3MPrintf(tls, db, ts+19483,
libc.VaList(bp+472, (*Db)(unsafe.Pointer((*Sqlite3)(unsafe.Pointer(db)).FaDb+uintptr(iDb)*32)).FzDbSName, (*Table)(unsafe.Pointer(pTab10)).FzName))
if !(opMask&U32(0x01) != 0) {
- goto __409
+ goto __410
}
r11 = Xsqlite3GetTempReg(tls, pParse)
Xsqlite3VdbeAddOp4(tls, v, OP_String8, 0, r11, 0, zSubSql, -6)
Xsqlite3VdbeAddOp2(tls, v, OP_ResultRow, r11, 1)
- goto __410
-__409:
- Xsqlite3VdbeAddOp4(tls, v, OP_SqlExec, 0, 0, 0, zSubSql, -6)
+ goto __411
__410:
+ Xsqlite3VdbeAddOp4(tls, v, OP_SqlExec, 0, 0, 0, zSubSql, -6)
+__411:
;
- goto __401
-__401:
- k4 = (*HashElem)(unsafe.Pointer(k4)).Fnext
- goto __400
goto __402
__402:
+ k4 = (*HashElem)(unsafe.Pointer(k4)).Fnext
+ goto __401
+ goto __403
+__403:
;
- goto __397
-__397:
- iDb++
- goto __396
goto __398
__398:
+ iDb++
+ goto __397
+ goto __399
+__399:
;
Xsqlite3VdbeAddOp0(tls, v, OP_Expire)
goto __15
@@ -129531,36 +129567,36 @@ __398:
__53:
;
if !(zRight != 0) {
- goto __411
+ goto __412
}
Xsqlite3_busy_timeout(tls, db, Xsqlite3Atoi(tls, zRight))
-__411:
+__412:
;
returnSingleInt(tls, v, int64((*Sqlite3)(unsafe.Pointer(db)).FbusyTimeout))
goto __15
__54:
if !(zRight != 0 && Xsqlite3DecOrHexToI64(tls, zRight, bp+648) == SQLITE_OK) {
- goto __412
+ goto __413
}
Xsqlite3_soft_heap_limit64(tls, *(*Sqlite3_int64)(unsafe.Pointer(bp + 648)))
-__412:
+__413:
;
returnSingleInt(tls, v, Xsqlite3_soft_heap_limit64(tls, int64(-1)))
goto __15
__55:
if !(zRight != 0 && Xsqlite3DecOrHexToI64(tls, zRight, bp+656) == SQLITE_OK) {
- goto __413
+ goto __414
}
iPrior = Xsqlite3_hard_heap_limit64(tls, int64(-1))
if !(*(*Sqlite3_int64)(unsafe.Pointer(bp + 656)) > int64(0) && (iPrior == int64(0) || iPrior > *(*Sqlite3_int64)(unsafe.Pointer(bp + 656)))) {
- goto __414
+ goto __415
}
Xsqlite3_hard_heap_limit64(tls, *(*Sqlite3_int64)(unsafe.Pointer(bp + 656)))
-__414:
+__415:
;
-__413:
+__414:
;
returnSingleInt(tls, v, Xsqlite3_hard_heap_limit64(tls, int64(-1)))
goto __15
@@ -129569,10 +129605,10 @@ __56:
if !(zRight != 0 &&
Xsqlite3DecOrHexToI64(tls, zRight, bp+664) == SQLITE_OK &&
*(*Sqlite3_int64)(unsafe.Pointer(bp + 664)) >= int64(0)) {
- goto __415
+ goto __416
}
Xsqlite3_limit(tls, db, SQLITE_LIMIT_WORKER_THREADS, int32(*(*Sqlite3_int64)(unsafe.Pointer(bp + 664))&int64(0x7fffffff)))
-__415:
+__416:
;
returnSingleInt(tls, v, int64(Xsqlite3_limit(tls, db, SQLITE_LIMIT_WORKER_THREADS, -1)))
goto __15
@@ -129581,10 +129617,10 @@ __57:
if !(zRight != 0 &&
Xsqlite3DecOrHexToI64(tls, zRight, bp+672) == SQLITE_OK &&
*(*Sqlite3_int64)(unsafe.Pointer(bp + 672)) >= int64(0)) {
- goto __416
+ goto __417
}
(*Sqlite3)(unsafe.Pointer(db)).FnAnalysisLimit = int32(*(*Sqlite3_int64)(unsafe.Pointer(bp + 672)) & int64(0x7fffffff))
-__416:
+__417:
;
returnSingleInt(tls, v, int64((*Sqlite3)(unsafe.Pointer(db)).FnAnalysisLimit))
goto __15
@@ -129592,10 +129628,10 @@ __416:
__15:
;
if !(int32((*PragmaName)(unsafe.Pointer(pPragma)).FmPragFlg)&PragFlg_NoColumns1 != 0 && zRight != 0) {
- goto __417
+ goto __418
}
-__417:
+__418:
;
pragma_out:
Xsqlite3DbFree(tls, db, zLeft)
@@ -129647,14 +129683,14 @@ var endCode = [7]VdbeOpList{
{Fopcode: U8(OP_Goto), Fp2: int8(3)},
}
var encnames1 = [9]EncName{
- {FzName: ts + 19435, Fenc: U8(SQLITE_UTF8)},
- {FzName: ts + 19440, Fenc: U8(SQLITE_UTF8)},
- {FzName: ts + 19446, Fenc: U8(SQLITE_UTF16LE)},
- {FzName: ts + 19455, Fenc: U8(SQLITE_UTF16BE)},
- {FzName: ts + 19464, Fenc: U8(SQLITE_UTF16LE)},
- {FzName: ts + 19472, Fenc: U8(SQLITE_UTF16BE)},
- {FzName: ts + 19480},
- {FzName: ts + 19487},
+ {FzName: ts + 19501, Fenc: U8(SQLITE_UTF8)},
+ {FzName: ts + 19506, Fenc: U8(SQLITE_UTF8)},
+ {FzName: ts + 19512, Fenc: U8(SQLITE_UTF16LE)},
+ {FzName: ts + 19521, Fenc: U8(SQLITE_UTF16BE)},
+ {FzName: ts + 19530, Fenc: U8(SQLITE_UTF16LE)},
+ {FzName: ts + 19538, Fenc: U8(SQLITE_UTF16BE)},
+ {FzName: ts + 19546},
+ {FzName: ts + 19553},
{},
}
var setCookie = [2]VdbeOpList{
@@ -129706,7 +129742,7 @@ func pragmaVtabConnect(tls *libc.TLS, db uintptr, pAux uintptr, argc int32, argv
_ = argc
_ = argv
Xsqlite3StrAccumInit(tls, bp+32, uintptr(0), bp+64, int32(unsafe.Sizeof([200]int8{})), 0)
- Xsqlite3_str_appendall(tls, bp+32, ts+19493)
+ Xsqlite3_str_appendall(tls, bp+32, ts+19559)
i = 0
j = int32((*PragmaName)(unsafe.Pointer(pPragma)).FiPragCName)
__1:
@@ -129714,7 +129750,7 @@ __1:
goto __3
}
{
- Xsqlite3_str_appendf(tls, bp+32, ts+19508, libc.VaList(bp, int32(cSep), pragCName[j]))
+ Xsqlite3_str_appendf(tls, bp+32, ts+19574, libc.VaList(bp, int32(cSep), pragCName[j]))
cSep = int8(',')
}
@@ -129727,19 +129763,19 @@ __2:
__3:
;
if i == 0 {
- Xsqlite3_str_appendf(tls, bp+32, ts+19515, libc.VaList(bp+16, (*PragmaName)(unsafe.Pointer(pPragma)).FzName))
+ Xsqlite3_str_appendf(tls, bp+32, ts+19581, libc.VaList(bp+16, (*PragmaName)(unsafe.Pointer(pPragma)).FzName))
i++
}
j = 0
if int32((*PragmaName)(unsafe.Pointer(pPragma)).FmPragFlg)&PragFlg_Result1 != 0 {
- Xsqlite3_str_appendall(tls, bp+32, ts+19521)
+ Xsqlite3_str_appendall(tls, bp+32, ts+19587)
j++
}
if int32((*PragmaName)(unsafe.Pointer(pPragma)).FmPragFlg)&(PragFlg_SchemaOpt|PragFlg_SchemaReq) != 0 {
- Xsqlite3_str_appendall(tls, bp+32, ts+19533)
+ Xsqlite3_str_appendall(tls, bp+32, ts+19599)
j++
}
- Xsqlite3_str_append(tls, bp+32, ts+6309, 1)
+ Xsqlite3_str_append(tls, bp+32, ts+6328, 1)
Xsqlite3StrAccumFinish(tls, bp+32)
rc = Xsqlite3_declare_vtab(tls, db, bp+64)
@@ -129755,7 +129791,7 @@ __3:
(*PragmaVtab)(unsafe.Pointer(pTab)).FnHidden = U8(j)
}
} else {
- *(*uintptr)(unsafe.Pointer(pzErr)) = Xsqlite3_mprintf(tls, ts+4493, libc.VaList(bp+24, Xsqlite3_errmsg(tls, db)))
+ *(*uintptr)(unsafe.Pointer(pzErr)) = Xsqlite3_mprintf(tls, ts+4512, libc.VaList(bp+24, Xsqlite3_errmsg(tls, db)))
}
*(*uintptr)(unsafe.Pointer(ppVtab)) = pTab
@@ -129903,7 +129939,7 @@ __1:
var zText uintptr = Xsqlite3_value_text(tls, *(*uintptr)(unsafe.Pointer(argv + uintptr(i)*8)))
if zText != 0 {
- *(*uintptr)(unsafe.Pointer(pCsr + 24 + uintptr(j)*8)) = Xsqlite3_mprintf(tls, ts+4493, libc.VaList(bp, zText))
+ *(*uintptr)(unsafe.Pointer(pCsr + 24 + uintptr(j)*8)) = Xsqlite3_mprintf(tls, ts+4512, libc.VaList(bp, zText))
if *(*uintptr)(unsafe.Pointer(pCsr + 24 + uintptr(j)*8)) == uintptr(0) {
return SQLITE_NOMEM
}
@@ -129919,13 +129955,13 @@ __2:
__3:
;
Xsqlite3StrAccumInit(tls, bp+32, uintptr(0), uintptr(0), 0, *(*int32)(unsafe.Pointer((*PragmaVtab)(unsafe.Pointer(pTab)).Fdb + 136 + 1*4)))
- Xsqlite3_str_appendall(tls, bp+32, ts+19548)
+ Xsqlite3_str_appendall(tls, bp+32, ts+19614)
if *(*uintptr)(unsafe.Pointer(pCsr + 24 + 1*8)) != 0 {
- Xsqlite3_str_appendf(tls, bp+32, ts+19556, libc.VaList(bp+8, *(*uintptr)(unsafe.Pointer(pCsr + 24 + 1*8))))
+ Xsqlite3_str_appendf(tls, bp+32, ts+19622, libc.VaList(bp+8, *(*uintptr)(unsafe.Pointer(pCsr + 24 + 1*8))))
}
Xsqlite3_str_appendall(tls, bp+32, (*PragmaName)(unsafe.Pointer((*PragmaVtab)(unsafe.Pointer(pTab)).FpName)).FzName)
if *(*uintptr)(unsafe.Pointer(pCsr + 24)) != 0 {
- Xsqlite3_str_appendf(tls, bp+32, ts+19560, libc.VaList(bp+16, *(*uintptr)(unsafe.Pointer(pCsr + 24))))
+ Xsqlite3_str_appendf(tls, bp+32, ts+19626, libc.VaList(bp+16, *(*uintptr)(unsafe.Pointer(pCsr + 24))))
}
zSql = Xsqlite3StrAccumFinish(tls, bp+32)
if zSql == uintptr(0) {
@@ -129934,7 +129970,7 @@ __3:
rc = Xsqlite3_prepare_v2(tls, (*PragmaVtab)(unsafe.Pointer(pTab)).Fdb, zSql, -1, pCsr+8, uintptr(0))
Xsqlite3_free(tls, zSql)
if rc != SQLITE_OK {
- (*PragmaVtab)(unsafe.Pointer(pTab)).Fbase.FzErrMsg = Xsqlite3_mprintf(tls, ts+4493, libc.VaList(bp+24, Xsqlite3_errmsg(tls, (*PragmaVtab)(unsafe.Pointer(pTab)).Fdb)))
+ (*PragmaVtab)(unsafe.Pointer(pTab)).Fbase.FzErrMsg = Xsqlite3_mprintf(tls, ts+4512, libc.VaList(bp+24, Xsqlite3_errmsg(tls, (*PragmaVtab)(unsafe.Pointer(pTab)).Fdb)))
return rc
}
return pragmaVtabNext(tls, pVtabCursor)
@@ -130002,33 +130038,33 @@ func corruptSchema(tls *libc.TLS, pData uintptr, azObj uintptr, zExtra uintptr)
} else if *(*uintptr)(unsafe.Pointer((*InitData)(unsafe.Pointer(pData)).FpzErrMsg)) != uintptr(0) {
} else if (*InitData)(unsafe.Pointer(pData)).FmInitFlags&U32(INITFLAG_AlterMask) != 0 {
*(*uintptr)(unsafe.Pointer((*InitData)(unsafe.Pointer(pData)).FpzErrMsg)) = Xsqlite3MPrintf(tls, db,
- ts+19564, libc.VaList(bp, *(*uintptr)(unsafe.Pointer(azObj)), *(*uintptr)(unsafe.Pointer(azObj + 1*8)),
+ ts+19630, libc.VaList(bp, *(*uintptr)(unsafe.Pointer(azObj)), *(*uintptr)(unsafe.Pointer(azObj + 1*8)),
azAlterType[(*InitData)(unsafe.Pointer(pData)).FmInitFlags&U32(INITFLAG_AlterMask)-U32(1)],
zExtra))
(*InitData)(unsafe.Pointer(pData)).Frc = SQLITE_ERROR
} else if (*Sqlite3)(unsafe.Pointer(db)).Fflags&uint64(SQLITE_WriteSchema) != 0 {
- (*InitData)(unsafe.Pointer(pData)).Frc = Xsqlite3CorruptError(tls, 137196)
+ (*InitData)(unsafe.Pointer(pData)).Frc = Xsqlite3CorruptError(tls, 137249)
} else {
var z uintptr
var zObj uintptr
if *(*uintptr)(unsafe.Pointer(azObj + 1*8)) != 0 {
zObj = *(*uintptr)(unsafe.Pointer(azObj + 1*8))
} else {
- zObj = ts + 6360
+ zObj = ts + 6379
}
- z = Xsqlite3MPrintf(tls, db, ts+19592, libc.VaList(bp+32, zObj))
+ z = Xsqlite3MPrintf(tls, db, ts+19658, libc.VaList(bp+32, zObj))
if zExtra != 0 && *(*int8)(unsafe.Pointer(zExtra)) != 0 {
- z = Xsqlite3MPrintf(tls, db, ts+19623, libc.VaList(bp+40, z, zExtra))
+ z = Xsqlite3MPrintf(tls, db, ts+19689, libc.VaList(bp+40, z, zExtra))
}
*(*uintptr)(unsafe.Pointer((*InitData)(unsafe.Pointer(pData)).FpzErrMsg)) = z
- (*InitData)(unsafe.Pointer(pData)).Frc = Xsqlite3CorruptError(tls, 137203)
+ (*InitData)(unsafe.Pointer(pData)).Frc = Xsqlite3CorruptError(tls, 137256)
}
}
var azAlterType = [3]uintptr{
- ts + 19631,
- ts + 19638,
- ts + 19650,
+ ts + 19697,
+ ts + 19704,
+ ts + 19716,
}
// Check to see if any sibling index (another index on the same table)
@@ -130088,7 +130124,7 @@ func Xsqlite3InitCallback(tls *libc.TLS, pInit uintptr, argc int32, argv uintptr
if Xsqlite3GetUInt32(tls, *(*uintptr)(unsafe.Pointer(argv + 3*8)), db+192) == 0 ||
(*Sqlite3)(unsafe.Pointer(db)).Finit.FnewTnum > (*InitData)(unsafe.Pointer(pData)).FmxPage && (*InitData)(unsafe.Pointer(pData)).FmxPage > Pgno(0) {
if Xsqlite3Config.FbExtraSchemaChecks != 0 {
- corruptSchema(tls, pData, argv, ts+15497)
+ corruptSchema(tls, pData, argv, ts+15516)
}
}
libc.SetBitFieldPtr8Uint32(db+192+8, uint32(0), 0, 0x1)
@@ -130120,13 +130156,13 @@ func Xsqlite3InitCallback(tls *libc.TLS, pInit uintptr, argc int32, argv uintptr
var pIndex uintptr
pIndex = Xsqlite3FindIndex(tls, db, *(*uintptr)(unsafe.Pointer(argv + 1*8)), (*Db)(unsafe.Pointer((*Sqlite3)(unsafe.Pointer(db)).FaDb+uintptr(iDb)*32)).FzDbSName)
if pIndex == uintptr(0) {
- corruptSchema(tls, pData, argv, ts+19661)
+ corruptSchema(tls, pData, argv, ts+19727)
} else if Xsqlite3GetUInt32(tls, *(*uintptr)(unsafe.Pointer(argv + 3*8)), pIndex+88) == 0 ||
(*Index)(unsafe.Pointer(pIndex)).Ftnum < Pgno(2) ||
(*Index)(unsafe.Pointer(pIndex)).Ftnum > (*InitData)(unsafe.Pointer(pData)).FmxPage ||
Xsqlite3IndexHasDuplicateRootPage(tls, pIndex) != 0 {
if Xsqlite3Config.FbExtraSchemaChecks != 0 {
- corruptSchema(tls, pData, argv, ts+15497)
+ corruptSchema(tls, pData, argv, ts+15516)
}
}
}
@@ -130159,16 +130195,16 @@ func Xsqlite3InitOne(tls *libc.TLS, db uintptr, iDb int32, pzErrMsg uintptr, mFl
(*Sqlite3)(unsafe.Pointer(db)).Finit.Fbusy = U8(1)
- *(*uintptr)(unsafe.Pointer(bp + 16)) = ts + 10228
+ *(*uintptr)(unsafe.Pointer(bp + 16)) = ts + 10247
*(*uintptr)(unsafe.Pointer(bp + 16 + 1*8)) = libc.AssignUintptr(&zSchemaTabName, func() uintptr {
if !(0 != 0) && iDb == 1 {
- return ts + 7741
+ return ts + 7760
}
- return ts + 7235
+ return ts + 7254
}())
*(*uintptr)(unsafe.Pointer(bp + 16 + 2*8)) = *(*uintptr)(unsafe.Pointer(bp + 16 + 1*8))
- *(*uintptr)(unsafe.Pointer(bp + 16 + 3*8)) = ts + 9290
- *(*uintptr)(unsafe.Pointer(bp + 16 + 4*8)) = ts + 19674
+ *(*uintptr)(unsafe.Pointer(bp + 16 + 3*8)) = ts + 9309
+ *(*uintptr)(unsafe.Pointer(bp + 16 + 4*8)) = ts + 19740
*(*uintptr)(unsafe.Pointer(bp + 16 + 5*8)) = uintptr(0)
(*InitData)(unsafe.Pointer(bp + 64)).Fdb = db
(*InitData)(unsafe.Pointer(bp + 64)).FiDb = iDb
@@ -130262,7 +130298,7 @@ __10:
goto __15
}
Xsqlite3SetString(tls, pzErrMsg, db,
- ts+13127)
+ ts+13146)
rc = SQLITE_ERROR
goto initone_error_out
__15:
@@ -130297,7 +130333,7 @@ __18:
if !(int32((*Schema)(unsafe.Pointer((*Db)(unsafe.Pointer(pDb)).FpSchema)).Ffile_format) > SQLITE_MAX_FILE_FORMAT) {
goto __19
}
- Xsqlite3SetString(tls, pzErrMsg, db, ts+19746)
+ Xsqlite3SetString(tls, pzErrMsg, db, ts+19812)
rc = SQLITE_ERROR
goto initone_error_out
__19:
@@ -130311,7 +130347,7 @@ __20:
(*InitData)(unsafe.Pointer(bp + 64)).FmxPage = Xsqlite3BtreeLastPage(tls, (*Db)(unsafe.Pointer(pDb)).FpBt)
zSql = Xsqlite3MPrintf(tls, db,
- ts+19770,
+ ts+19836,
libc.VaList(bp, (*Db)(unsafe.Pointer((*Sqlite3)(unsafe.Pointer(db)).FaDb+uintptr(iDb)*32)).FzDbSName, zSchemaTabName))
xAuth = (*Sqlite3)(unsafe.Pointer(db)).FxAuth
@@ -130584,7 +130620,7 @@ func Xsqlite3ParseObjectInit(tls *libc.TLS, pParse uintptr, db uintptr) {
(*Sqlite3)(unsafe.Pointer(db)).FpParse = pParse
(*Parse)(unsafe.Pointer(pParse)).Fdb = db
if (*Sqlite3)(unsafe.Pointer(db)).FmallocFailed != 0 {
- Xsqlite3ErrorMsg(tls, pParse, ts+1480, 0)
+ Xsqlite3ErrorMsg(tls, pParse, ts+1499, 0)
}
}
@@ -130612,7 +130648,7 @@ func sqlite3Prepare(tls *libc.TLS, db uintptr, zSql uintptr, nBytes int32, prepF
if !((*Sqlite3)(unsafe.Pointer(db)).FmallocFailed != 0) {
goto __1
}
- Xsqlite3ErrorMsg(tls, bp+16, ts+1480, 0)
+ Xsqlite3ErrorMsg(tls, bp+16, ts+1499, 0)
__1:
;
if !(prepFlags&U32(SQLITE_PREPARE_PERSISTENT) != 0) {
@@ -130643,7 +130679,7 @@ __4:
goto __8
}
zDb = (*Db)(unsafe.Pointer((*Sqlite3)(unsafe.Pointer(db)).FaDb + uintptr(i)*32)).FzDbSName
- Xsqlite3ErrorWithMsg(tls, db, rc, ts+19804, libc.VaList(bp, zDb))
+ Xsqlite3ErrorWithMsg(tls, db, rc, ts+19870, libc.VaList(bp, zDb))
goto end_prepare
__8:
@@ -130673,7 +130709,7 @@ __9:
if !(nBytes > mxLen) {
goto __12
}
- Xsqlite3ErrorWithMsg(tls, db, SQLITE_TOOBIG, ts+19834, 0)
+ Xsqlite3ErrorWithMsg(tls, db, SQLITE_TOOBIG, ts+19900, 0)
rc = Xsqlite3ApiExit(tls, db, SQLITE_TOOBIG)
goto end_prepare
__12:
@@ -130733,7 +130769,7 @@ __21:
if !((*Parse)(unsafe.Pointer(bp+16)).FzErrMsg != 0) {
goto __22
}
- Xsqlite3ErrorWithMsg(tls, db, rc, ts+4493, libc.VaList(bp+8, (*Parse)(unsafe.Pointer(bp+16)).FzErrMsg))
+ Xsqlite3ErrorWithMsg(tls, db, rc, ts+4512, libc.VaList(bp+8, (*Parse)(unsafe.Pointer(bp+16)).FzErrMsg))
Xsqlite3DbFree(tls, db, (*Parse)(unsafe.Pointer(bp+16)).FzErrMsg)
goto __23
__22:
@@ -130769,7 +130805,7 @@ func sqlite3LockAndPrepare(tls *libc.TLS, db uintptr, zSql uintptr, nBytes int32
*(*uintptr)(unsafe.Pointer(ppStmt)) = uintptr(0)
if !(Xsqlite3SafetyCheckOk(tls, db) != 0) || zSql == uintptr(0) {
- return Xsqlite3MisuseError(tls, 137995)
+ return Xsqlite3MisuseError(tls, 138048)
}
Xsqlite3_mutex_enter(tls, (*Sqlite3)(unsafe.Pointer(db)).Fmutex)
Xsqlite3BtreeEnterAll(tls, db)
@@ -130868,7 +130904,7 @@ func sqlite3Prepare16(tls *libc.TLS, db uintptr, zSql uintptr, nBytes int32, pre
*(*uintptr)(unsafe.Pointer(ppStmt)) = uintptr(0)
if !(Xsqlite3SafetyCheckOk(tls, db) != 0) || zSql == uintptr(0) {
- return Xsqlite3MisuseError(tls, 138143)
+ return Xsqlite3MisuseError(tls, 138196)
}
if nBytes >= 0 {
var sz int32
@@ -131186,8 +131222,8 @@ func Xsqlite3JoinType(tls *libc.TLS, pParse uintptr, pA uintptr, pB uintptr, pC
}
}
if jointype&(JT_INNER|JT_OUTER) == JT_INNER|JT_OUTER || jointype&JT_ERROR != 0 || jointype&(JT_OUTER|JT_LEFT|JT_RIGHT) == JT_OUTER {
- var zSp1 uintptr = ts + 12272
- var zSp2 uintptr = ts + 12272
+ var zSp1 uintptr = ts + 12291
+ var zSp2 uintptr = ts + 12291
if pB == uintptr(0) {
zSp1++
}
@@ -131195,13 +131231,13 @@ func Xsqlite3JoinType(tls *libc.TLS, pParse uintptr, pA uintptr, pB uintptr, pC
zSp2++
}
Xsqlite3ErrorMsg(tls, pParse,
- ts+19853, libc.VaList(bp, pA, zSp1, pB, zSp2, pC))
+ ts+19919, libc.VaList(bp, pA, zSp1, pB, zSp2, pC))
jointype = JT_INNER
}
return jointype
}
-var zKeyText = *(*[34]int8)(unsafe.Pointer(ts + 19883))
+var zKeyText = *(*[34]int8)(unsafe.Pointer(ts + 19949))
var aKeyword = [7]struct {
Fi U8
FnChar U8
@@ -131376,7 +131412,7 @@ __1:
var pUsing uintptr = uintptr(0)
if uint32(int32(*(*uint16)(unsafe.Pointer(pRight + 60 + 4))&0x400>>10)) != 0 || *(*uintptr)(unsafe.Pointer(pRight + 72)) != 0 {
Xsqlite3ErrorMsg(tls, pParse,
- ts+19917, libc.VaList(bp, 0))
+ ts+19983, libc.VaList(bp, 0))
return 1
}
for j = 0; j < int32((*Table)(unsafe.Pointer(pRightTab)).FnCol); j++ {
@@ -131421,7 +131457,7 @@ __1:
tableAndColumnIndex(tls, pSrc, 0, i, zName, bp+24, bp+28,
int32(*(*uint16)(unsafe.Pointer(pRight + 60 + 4))&0x1000>>12)) == 0 {
Xsqlite3ErrorMsg(tls, pParse,
- ts+19967, libc.VaList(bp+8, zName))
+ ts+20033, libc.VaList(bp+8, zName))
return 1
}
pE1 = Xsqlite3CreateColumnExpr(tls, db, pSrc, *(*int32)(unsafe.Pointer(bp + 24)), *(*int32)(unsafe.Pointer(bp + 28)))
@@ -131432,7 +131468,7 @@ __1:
int32(*(*uint16)(unsafe.Pointer(pRight + 60 + 4))&0x1000>>12)) != 0 {
if int32(*(*uint16)(unsafe.Pointer(pSrc + 8 + uintptr(*(*int32)(unsafe.Pointer(bp + 24)))*104 + 60 + 4))&0x400>>10) == 0 ||
Xsqlite3IdListIndex(tls, *(*uintptr)(unsafe.Pointer(pSrc + 8 + uintptr(*(*int32)(unsafe.Pointer(bp + 24)))*104 + 72)), zName) < 0 {
- Xsqlite3ErrorMsg(tls, pParse, ts+20031,
+ Xsqlite3ErrorMsg(tls, pParse, ts+20097,
libc.VaList(bp+16, zName))
break
}
@@ -131476,7 +131512,7 @@ __3:
return 0
}
-var tkCoalesce = Token{Fz: ts + 7938, Fn: uint32(8)}
+var tkCoalesce = Token{Fz: ts + 7957, Fn: uint32(8)}
// An instance of this object holds information (beyond pParse and pSelect)
// needed to load the next result row that is to be added to the sorter.
@@ -132060,16 +132096,16 @@ func Xsqlite3SelectOpName(tls *libc.TLS, id int32) uintptr {
var z uintptr
switch id {
case TK_ALL:
- z = ts + 20068
+ z = ts + 20134
break
case TK_INTERSECT:
- z = ts + 20078
+ z = ts + 20144
break
case TK_EXCEPT:
- z = ts + 20088
+ z = ts + 20154
break
default:
- z = ts + 20095
+ z = ts + 20161
break
}
return z
@@ -132079,7 +132115,7 @@ func explainTempTable(tls *libc.TLS, pParse uintptr, zUsage uintptr) {
bp := tls.Alloc(8)
defer tls.Free(8)
- Xsqlite3VdbeExplain(tls, pParse, uint8(0), ts+20101, libc.VaList(bp, zUsage))
+ Xsqlite3VdbeExplain(tls, pParse, uint8(0), ts+20167, libc.VaList(bp, zUsage))
}
func generateSortTail(tls *libc.TLS, pParse uintptr, p uintptr, pSort uintptr, nColumn int32, pDest uintptr) {
@@ -132105,11 +132141,11 @@ func generateSortTail(tls *libc.TLS, pParse uintptr, p uintptr, pSort uintptr, n
var nRefKey int32 = 0
var aOutEx uintptr = (*Select)(unsafe.Pointer(p)).FpEList + 8
- Xsqlite3VdbeExplain(tls, pParse, uint8(0), ts+20124, libc.VaList(bp, func() uintptr {
+ Xsqlite3VdbeExplain(tls, pParse, uint8(0), ts+20190, libc.VaList(bp, func() uintptr {
if (*SortCtx)(unsafe.Pointer(pSort)).FnOBSat > 0 {
- return ts + 20155
+ return ts + 20221
}
- return ts + 1544
+ return ts + 1563
}()))
if (*SortCtx)(unsafe.Pointer(pSort)).FlabelBkOut != 0 {
@@ -132297,8 +132333,8 @@ func columnTypeImpl(tls *libc.TLS, pNC uintptr, pExpr uintptr, pzOrigDb uintptr,
}
if iCol < 0 {
- zType = ts + 1109
- *(*uintptr)(unsafe.Pointer(bp + 72)) = ts + 17625
+ zType = ts + 1128
+ *(*uintptr)(unsafe.Pointer(bp + 72)) = ts + 17644
} else {
*(*uintptr)(unsafe.Pointer(bp + 72)) = (*Column)(unsafe.Pointer((*Table)(unsafe.Pointer(pTab)).FaCol + uintptr(iCol)*24)).FzCnName
zType = Xsqlite3ColumnType(tls, (*Table)(unsafe.Pointer(pTab)).FaCol+uintptr(iCol)*24, uintptr(0))
@@ -132437,13 +132473,13 @@ func Xsqlite3GenerateColumnNames(tls *libc.TLS, pParse uintptr, pSelect uintptr)
}
if iCol < 0 {
- zCol = ts + 17625
+ zCol = ts + 17644
} else {
zCol = (*Column)(unsafe.Pointer((*Table)(unsafe.Pointer(pTab)).FaCol + uintptr(iCol)*24)).FzCnName
}
if fullName != 0 {
var zName uintptr = uintptr(0)
- zName = Xsqlite3MPrintf(tls, db, ts+13413, libc.VaList(bp, (*Table)(unsafe.Pointer(pTab)).FzName, zCol))
+ zName = Xsqlite3MPrintf(tls, db, ts+13432, libc.VaList(bp, (*Table)(unsafe.Pointer(pTab)).FzName, zCol))
Xsqlite3VdbeSetColName(tls, v, i, COLNAME_NAME, zName, *(*uintptr)(unsafe.Pointer(&struct{ f func(*libc.TLS, uintptr) }{Xsqlite3OomClear})))
} else {
Xsqlite3VdbeSetColName(tls, v, i, COLNAME_NAME, zCol, libc.UintptrFromInt32(-1))
@@ -132451,7 +132487,7 @@ func Xsqlite3GenerateColumnNames(tls *libc.TLS, pParse uintptr, pSelect uintptr)
} else {
var z uintptr = (*ExprList_item)(unsafe.Pointer(pEList + 8 + uintptr(i)*32)).FzEName
if z == uintptr(0) {
- z = Xsqlite3MPrintf(tls, db, ts+20170, libc.VaList(bp+16, i+1))
+ z = Xsqlite3MPrintf(tls, db, ts+20236, libc.VaList(bp+16, i+1))
} else {
z = Xsqlite3DbStrDup(tls, db, z)
}
@@ -132541,7 +132577,7 @@ __1:
if iCol >= 0 {
zName = (*Column)(unsafe.Pointer((*Table)(unsafe.Pointer(pTab)).FaCol + uintptr(iCol)*24)).FzCnName
} else {
- zName = ts + 17625
+ zName = ts + 17644
}
} else if int32((*Expr)(unsafe.Pointer(pColExpr)).Fop) == TK_ID {
zName = *(*uintptr)(unsafe.Pointer(pColExpr + 8))
@@ -132551,7 +132587,7 @@ __1:
if zName != 0 && !(Xsqlite3IsTrueOrFalse(tls, zName) != 0) {
zName = Xsqlite3DbStrDup(tls, db, zName)
} else {
- zName = Xsqlite3MPrintf(tls, db, ts+20170, libc.VaList(bp, i+1))
+ zName = Xsqlite3MPrintf(tls, db, ts+20236, libc.VaList(bp, i+1))
}
*(*U32)(unsafe.Pointer(bp + 56)) = U32(0)
@@ -132567,7 +132603,7 @@ __1:
nName = j
}
}
- zName = Xsqlite3MPrintf(tls, db, ts+20179, libc.VaList(bp+8, nName, zName, libc.PreIncUint32(&*(*U32)(unsafe.Pointer(bp + 56)), 1)))
+ zName = Xsqlite3MPrintf(tls, db, ts+20245, libc.VaList(bp+8, nName, zName, libc.PreIncUint32(&*(*U32)(unsafe.Pointer(bp + 56)), 1)))
Xsqlite3ProgressCheck(tls, pParse)
if *(*U32)(unsafe.Pointer(bp + 56)) > U32(3) {
Xsqlite3_randomness(tls, int32(unsafe.Sizeof(U32(0))), bp+56)
@@ -132650,8 +132686,6 @@ __1:
(*Column)(unsafe.Pointer(pCol)).Faffinity = Xsqlite3ExprAffinity(tls, p)
if int32((*Column)(unsafe.Pointer(pCol)).Faffinity) <= SQLITE_AFF_NONE {
(*Column)(unsafe.Pointer(pCol)).Faffinity = aff
- } else if int32((*Column)(unsafe.Pointer(pCol)).Faffinity) >= SQLITE_AFF_NUMERIC && int32((*Expr)(unsafe.Pointer(p)).Fop) == TK_CAST {
- (*Column)(unsafe.Pointer(pCol)).Faffinity = int8(SQLITE_AFF_FLEXNUM)
}
if int32((*Column)(unsafe.Pointer(pCol)).Faffinity) >= SQLITE_AFF_TEXT && (*Select)(unsafe.Pointer(pSelect)).FpNext != 0 {
var m int32 = 0
@@ -132666,12 +132700,15 @@ __1:
} else if int32((*Column)(unsafe.Pointer(pCol)).Faffinity) >= SQLITE_AFF_NUMERIC && m&0x02 != 0 {
(*Column)(unsafe.Pointer(pCol)).Faffinity = int8(SQLITE_AFF_BLOB)
}
+ if int32((*Column)(unsafe.Pointer(pCol)).Faffinity) >= SQLITE_AFF_NUMERIC && int32((*Expr)(unsafe.Pointer(p)).Fop) == TK_CAST {
+ (*Column)(unsafe.Pointer(pCol)).Faffinity = int8(SQLITE_AFF_FLEXNUM)
+ }
}
zType = columnTypeImpl(tls, bp, p, uintptr(0), uintptr(0), uintptr(0))
if zType == uintptr(0) || int32((*Column)(unsafe.Pointer(pCol)).Faffinity) != int32(Xsqlite3AffinityType(tls, zType, uintptr(0))) {
if int32((*Column)(unsafe.Pointer(pCol)).Faffinity) == SQLITE_AFF_NUMERIC ||
int32((*Column)(unsafe.Pointer(pCol)).Faffinity) == SQLITE_AFF_FLEXNUM {
- zType = ts + 20187
+ zType = ts + 20253
} else {
zType = uintptr(0)
for j = 1; j < SQLITE_N_STDTYPE; j++ {
@@ -132887,7 +132924,7 @@ func generateWithRecursiveQuery(tls *libc.TLS, pParse uintptr, p uintptr, pDest
if !((*Select)(unsafe.Pointer(p)).FpWin != 0) {
goto __1
}
- Xsqlite3ErrorMsg(tls, pParse, ts+20191, 0)
+ Xsqlite3ErrorMsg(tls, pParse, ts+20257, 0)
return
__1:
;
@@ -132978,7 +133015,7 @@ __12:
if !((*Select)(unsafe.Pointer(pFirstRec)).FselFlags&U32(SF_Aggregate) != 0) {
goto __15
}
- Xsqlite3ErrorMsg(tls, pParse, ts+20240, 0)
+ Xsqlite3ErrorMsg(tls, pParse, ts+20306, 0)
goto end_of_recursive_query
__15:
;
@@ -132998,7 +133035,7 @@ __14:
;
pSetup = (*Select)(unsafe.Pointer(pFirstRec)).FpPrior
(*Select)(unsafe.Pointer(pSetup)).FpNext = uintptr(0)
- Xsqlite3VdbeExplain(tls, pParse, uint8(1), ts+20282, 0)
+ Xsqlite3VdbeExplain(tls, pParse, uint8(1), ts+20348, 0)
rc = Xsqlite3Select(tls, pParse, pSetup, bp)
(*Select)(unsafe.Pointer(pSetup)).FpNext = p
if !(rc != 0) {
@@ -133035,7 +133072,7 @@ __20:
Xsqlite3VdbeResolveLabel(tls, v, addrCont)
(*Select)(unsafe.Pointer(pFirstRec)).FpPrior = uintptr(0)
- Xsqlite3VdbeExplain(tls, pParse, uint8(1), ts+20288, 0)
+ Xsqlite3VdbeExplain(tls, pParse, uint8(1), ts+20354, 0)
Xsqlite3Select(tls, pParse, p, bp)
(*Select)(unsafe.Pointer(pFirstRec)).FpPrior = pSetup
@@ -133069,11 +133106,11 @@ func multiSelectValues(tls *libc.TLS, pParse uintptr, p uintptr, pDest uintptr)
p = (*Select)(unsafe.Pointer(p)).FpPrior
nRow = nRow + bShowAll
}
- Xsqlite3VdbeExplain(tls, pParse, uint8(0), ts+20303, libc.VaList(bp, nRow, func() uintptr {
+ Xsqlite3VdbeExplain(tls, pParse, uint8(0), ts+20369, libc.VaList(bp, nRow, func() uintptr {
if nRow == 1 {
- return ts + 1544
+ return ts + 1563
}
- return ts + 20326
+ return ts + 20392
}()))
for p != 0 {
selectInnerLoop(tls, pParse, p, -1, uintptr(0), uintptr(0), pDest, 1, 1)
@@ -133174,8 +133211,8 @@ __6:
if !((*Select)(unsafe.Pointer(pPrior)).FpPrior == uintptr(0)) {
goto __8
}
- Xsqlite3VdbeExplain(tls, pParse, uint8(1), ts+20328, 0)
- Xsqlite3VdbeExplain(tls, pParse, uint8(1), ts+20343, 0)
+ Xsqlite3VdbeExplain(tls, pParse, uint8(1), ts+20394, 0)
+ Xsqlite3VdbeExplain(tls, pParse, uint8(1), ts+20409, 0)
__8:
;
switch int32((*Select)(unsafe.Pointer(p)).Fop) {
@@ -133222,7 +133259,7 @@ __16:
;
__15:
;
- Xsqlite3VdbeExplain(tls, pParse, uint8(1), ts+20068, 0)
+ Xsqlite3VdbeExplain(tls, pParse, uint8(1), ts+20134, 0)
rc = Xsqlite3Select(tls, pParse, p, bp+16)
@@ -133289,7 +133326,7 @@ __23:
pLimit = (*Select)(unsafe.Pointer(p)).FpLimit
(*Select)(unsafe.Pointer(p)).FpLimit = uintptr(0)
(*SelectDest)(unsafe.Pointer(bp + 64)).FeDest = op
- Xsqlite3VdbeExplain(tls, pParse, uint8(1), ts+20362, libc.VaList(bp, Xsqlite3SelectOpName(tls, int32((*Select)(unsafe.Pointer(p)).Fop))))
+ Xsqlite3VdbeExplain(tls, pParse, uint8(1), ts+20428, libc.VaList(bp, Xsqlite3SelectOpName(tls, int32((*Select)(unsafe.Pointer(p)).Fop))))
rc = Xsqlite3Select(tls, pParse, p, bp+64)
@@ -133351,7 +133388,7 @@ __26:
pLimit1 = (*Select)(unsafe.Pointer(p)).FpLimit
(*Select)(unsafe.Pointer(p)).FpLimit = uintptr(0)
(*SelectDest)(unsafe.Pointer(bp + 104)).FiSDParm = tab2
- Xsqlite3VdbeExplain(tls, pParse, uint8(1), ts+20362, libc.VaList(bp+8, Xsqlite3SelectOpName(tls, int32((*Select)(unsafe.Pointer(p)).Fop))))
+ Xsqlite3VdbeExplain(tls, pParse, uint8(1), ts+20428, libc.VaList(bp+8, Xsqlite3SelectOpName(tls, int32((*Select)(unsafe.Pointer(p)).Fop))))
rc = Xsqlite3Select(tls, pParse, p, bp+104)
@@ -133504,10 +133541,10 @@ func Xsqlite3SelectWrongNumTermsError(tls *libc.TLS, pParse uintptr, p uintptr)
defer tls.Free(8)
if (*Select)(unsafe.Pointer(p)).FselFlags&U32(SF_Values) != 0 {
- Xsqlite3ErrorMsg(tls, pParse, ts+20383, 0)
+ Xsqlite3ErrorMsg(tls, pParse, ts+20449, 0)
} else {
Xsqlite3ErrorMsg(tls, pParse,
- ts+20429,
+ ts+20495,
libc.VaList(bp, Xsqlite3SelectOpName(tls, int32((*Select)(unsafe.Pointer(p)).Fop))))
}
}
@@ -133761,8 +133798,8 @@ func multiSelectOrderBy(tls *libc.TLS, pParse uintptr, p uintptr, pDest uintptr)
(*Select)(unsafe.Pointer(pPrior)).FpNext = uintptr(0)
(*Select)(unsafe.Pointer(pPrior)).FpOrderBy = Xsqlite3ExprListDup(tls, (*Parse)(unsafe.Pointer(pParse)).Fdb, pOrderBy, 0)
- Xsqlite3ResolveOrderGroupBy(tls, pParse, p, (*Select)(unsafe.Pointer(p)).FpOrderBy, ts+8586)
- Xsqlite3ResolveOrderGroupBy(tls, pParse, pPrior, (*Select)(unsafe.Pointer(pPrior)).FpOrderBy, ts+8586)
+ Xsqlite3ResolveOrderGroupBy(tls, pParse, p, (*Select)(unsafe.Pointer(p)).FpOrderBy, ts+8594)
+ Xsqlite3ResolveOrderGroupBy(tls, pParse, pPrior, (*Select)(unsafe.Pointer(pPrior)).FpOrderBy, ts+8594)
computeLimitRegisters(tls, pParse, p, labelEnd)
if (*Select)(unsafe.Pointer(p)).FiLimit != 0 && op == TK_ALL {
@@ -133789,13 +133826,13 @@ func multiSelectOrderBy(tls *libc.TLS, pParse uintptr, p uintptr, pDest uintptr)
Xsqlite3SelectDestInit(tls, bp+8, SRT_Coroutine, regAddrA)
Xsqlite3SelectDestInit(tls, bp+48, SRT_Coroutine, regAddrB)
- Xsqlite3VdbeExplain(tls, pParse, uint8(1), ts+20511, libc.VaList(bp, Xsqlite3SelectOpName(tls, int32((*Select)(unsafe.Pointer(p)).Fop))))
+ Xsqlite3VdbeExplain(tls, pParse, uint8(1), ts+20577, libc.VaList(bp, Xsqlite3SelectOpName(tls, int32((*Select)(unsafe.Pointer(p)).Fop))))
addrSelectA = Xsqlite3VdbeCurrentAddr(tls, v) + 1
addr1 = Xsqlite3VdbeAddOp3(tls, v, OP_InitCoroutine, regAddrA, 0, addrSelectA)
(*Select)(unsafe.Pointer(pPrior)).FiLimit = regLimitA
- Xsqlite3VdbeExplain(tls, pParse, uint8(1), ts+20522, 0)
+ Xsqlite3VdbeExplain(tls, pParse, uint8(1), ts+20588, 0)
Xsqlite3Select(tls, pParse, pPrior, bp+8)
Xsqlite3VdbeEndCoroutine(tls, v, regAddrA)
Xsqlite3VdbeJumpHere(tls, v, addr1)
@@ -133807,7 +133844,7 @@ func multiSelectOrderBy(tls *libc.TLS, pParse uintptr, p uintptr, pDest uintptr)
savedOffset = (*Select)(unsafe.Pointer(p)).FiOffset
(*Select)(unsafe.Pointer(p)).FiLimit = regLimitB
(*Select)(unsafe.Pointer(p)).FiOffset = 0
- Xsqlite3VdbeExplain(tls, pParse, uint8(1), ts+20527, 0)
+ Xsqlite3VdbeExplain(tls, pParse, uint8(1), ts+20593, 0)
Xsqlite3Select(tls, pParse, p, bp+48)
(*Select)(unsafe.Pointer(p)).FiLimit = savedLimit
(*Select)(unsafe.Pointer(p)).FiOffset = savedOffset
@@ -133995,7 +134032,8 @@ func substExpr(tls *libc.TLS, pSubst uintptr, pExpr uintptr) uintptr {
Xsqlite3VectorErrorMsg(tls, (*SubstContext)(unsafe.Pointer(pSubst)).FpParse, pCopy)
} else {
var db uintptr = (*Parse)(unsafe.Pointer((*SubstContext)(unsafe.Pointer(pSubst)).FpParse)).Fdb
- if (*SubstContext)(unsafe.Pointer(pSubst)).FisOuterJoin != 0 && int32((*Expr)(unsafe.Pointer(pCopy)).Fop) != TK_COLUMN {
+ if (*SubstContext)(unsafe.Pointer(pSubst)).FisOuterJoin != 0 &&
+ (int32((*Expr)(unsafe.Pointer(pCopy)).Fop) != TK_COLUMN || (*Expr)(unsafe.Pointer(pCopy)).FiTable != (*SubstContext)(unsafe.Pointer(pSubst)).FiNewTable) {
libc.Xmemset(tls, bp, 0, uint64(unsafe.Sizeof(Expr{})))
(*Expr)(unsafe.Pointer(bp)).Fop = U8(TK_IF_NULL_ROW)
(*Expr)(unsafe.Pointer(bp)).FpLeft = pCopy
@@ -134035,7 +134073,7 @@ func substExpr(tls *libc.TLS, pSubst uintptr, pExpr uintptr) uintptr {
if pColl != 0 {
return (*CollSeq)(unsafe.Pointer(pColl)).FzName
}
- return ts + 1089
+ return ts + 1108
}())
}
@@ -134823,12 +134861,12 @@ func minMaxQuery(tls *libc.TLS, db uintptr, pFunc uintptr, ppMinMax uintptr) U8
}
zFunc = *(*uintptr)(unsafe.Pointer(pFunc + 8))
- if Xsqlite3StrICmp(tls, zFunc, ts+16521) == 0 {
+ if Xsqlite3StrICmp(tls, zFunc, ts+16540) == 0 {
eRet = WHERE_ORDERBY_MIN
if Xsqlite3ExprCanBeNull(tls, (*ExprList_item)(unsafe.Pointer(pEList+8)).FpExpr) != 0 {
sortFlags = U8(KEYINFO_ORDER_BIGNULL)
}
- } else if Xsqlite3StrICmp(tls, zFunc, ts+16525) == 0 {
+ } else if Xsqlite3StrICmp(tls, zFunc, ts+16544) == 0 {
eRet = WHERE_ORDERBY_MAX
sortFlags = U8(KEYINFO_ORDER_DESC)
} else {
@@ -134894,7 +134932,7 @@ func Xsqlite3IndexedByLookup(tls *libc.TLS, pParse uintptr, pFrom uintptr) int32
for pIdx = (*Table)(unsafe.Pointer(pTab)).FpIndex; pIdx != 0 && Xsqlite3StrICmp(tls, (*Index)(unsafe.Pointer(pIdx)).FzName, zIndexedBy) != 0; pIdx = (*Index)(unsafe.Pointer(pIdx)).FpNext {
}
if !(pIdx != 0) {
- Xsqlite3ErrorMsg(tls, pParse, ts+20533, libc.VaList(bp, zIndexedBy, 0))
+ Xsqlite3ErrorMsg(tls, pParse, ts+20599, libc.VaList(bp, zIndexedBy, 0))
(*Parse)(unsafe.Pointer(pParse)).FcheckSchema = U8(1)
return SQLITE_ERROR
}
@@ -134977,7 +135015,7 @@ func cannotBeFunction(tls *libc.TLS, pParse uintptr, pFrom uintptr) int32 {
defer tls.Free(8)
if uint32(int32(*(*uint16)(unsafe.Pointer(pFrom + 60 + 4))&0x4>>2)) != 0 {
- Xsqlite3ErrorMsg(tls, pParse, ts+20551, libc.VaList(bp, (*SrcItem)(unsafe.Pointer(pFrom)).FzName))
+ Xsqlite3ErrorMsg(tls, pParse, ts+20617, libc.VaList(bp, (*SrcItem)(unsafe.Pointer(pFrom)).FzName))
return 1
}
return 0
@@ -135106,7 +135144,7 @@ func resolveFromTermToCte(tls *libc.TLS, pParse uintptr, pWalker uintptr, pFrom
*(*U32)(unsafe.Pointer((*SrcItem)(unsafe.Pointer(pFrom)).FpSelect + 4)) |= U32(SF_CopyCte)
if uint32(int32(*(*uint16)(unsafe.Pointer(pFrom + 60 + 4))&0x2>>1)) != 0 {
- Xsqlite3ErrorMsg(tls, pParse, ts+20574, libc.VaList(bp+8, *(*uintptr)(unsafe.Pointer(pFrom + 88))))
+ Xsqlite3ErrorMsg(tls, pParse, ts+20640, libc.VaList(bp+8, *(*uintptr)(unsafe.Pointer(pFrom + 88))))
return 2
}
libc.SetBitFieldPtr16Uint32(pFrom+60+4, uint32(1), 8, 0x100)
@@ -135129,7 +135167,7 @@ func resolveFromTermToCte(tls *libc.TLS, pParse uintptr, pWalker uintptr, pFrom
libc.SetBitFieldPtr16Uint32(pItem+60+4, uint32(1), 6, 0x40)
if (*Select)(unsafe.Pointer(pRecTerm)).FselFlags&U32(SF_Recursive) != 0 {
Xsqlite3ErrorMsg(tls, pParse,
- ts+20594, libc.VaList(bp+16, (*Cte)(unsafe.Pointer(pCte)).FzName))
+ ts+20660, libc.VaList(bp+16, (*Cte)(unsafe.Pointer(pCte)).FzName))
return 2
}
*(*U32)(unsafe.Pointer(pRecTerm + 4)) |= U32(SF_Recursive)
@@ -135145,7 +135183,7 @@ func resolveFromTermToCte(tls *libc.TLS, pParse uintptr, pWalker uintptr, pFrom
pRecTerm = (*Select)(unsafe.Pointer(pRecTerm)).FpPrior
}
- (*Cte)(unsafe.Pointer(pCte)).FzCteErr = ts + 20637
+ (*Cte)(unsafe.Pointer(pCte)).FzCteErr = ts + 20703
pSavedWith = (*Parse)(unsafe.Pointer(pParse)).FpWith
(*Parse)(unsafe.Pointer(pParse)).FpWith = *(*uintptr)(unsafe.Pointer(bp + 48))
if (*Select)(unsafe.Pointer(pSel)).FselFlags&U32(SF_Recursive) != 0 {
@@ -135171,7 +135209,7 @@ func resolveFromTermToCte(tls *libc.TLS, pParse uintptr, pWalker uintptr, pFrom
pEList = (*Select)(unsafe.Pointer(pLeft)).FpEList
if (*Cte)(unsafe.Pointer(pCte)).FpCols != 0 {
if pEList != 0 && (*ExprList)(unsafe.Pointer(pEList)).FnExpr != (*ExprList)(unsafe.Pointer((*Cte)(unsafe.Pointer(pCte)).FpCols)).FnExpr {
- Xsqlite3ErrorMsg(tls, pParse, ts+20660,
+ Xsqlite3ErrorMsg(tls, pParse, ts+20726,
libc.VaList(bp+24, (*Cte)(unsafe.Pointer(pCte)).FzName, (*ExprList)(unsafe.Pointer(pEList)).FnExpr, (*ExprList)(unsafe.Pointer((*Cte)(unsafe.Pointer(pCte)).FpCols)).FnExpr))
(*Parse)(unsafe.Pointer(pParse)).FpWith = pSavedWith
return 2
@@ -135182,9 +135220,9 @@ func resolveFromTermToCte(tls *libc.TLS, pParse uintptr, pWalker uintptr, pFrom
Xsqlite3ColumnsFromExprList(tls, pParse, pEList, pTab+54, pTab+8)
if bMayRecursive != 0 {
if (*Select)(unsafe.Pointer(pSel)).FselFlags&U32(SF_Recursive) != 0 {
- (*Cte)(unsafe.Pointer(pCte)).FzCteErr = ts + 20698
+ (*Cte)(unsafe.Pointer(pCte)).FzCteErr = ts + 20764
} else {
- (*Cte)(unsafe.Pointer(pCte)).FzCteErr = ts + 20732
+ (*Cte)(unsafe.Pointer(pCte)).FzCteErr = ts + 20798
}
Xsqlite3WalkSelect(tls, pWalker, pSel)
}
@@ -135231,7 +135269,7 @@ func Xsqlite3ExpandSubquery(tls *libc.TLS, pParse uintptr, pFrom uintptr) int32
if (*SrcItem)(unsafe.Pointer(pFrom)).FzAlias != 0 {
(*Table)(unsafe.Pointer(pTab)).FzName = Xsqlite3DbStrDup(tls, (*Parse)(unsafe.Pointer(pParse)).Fdb, (*SrcItem)(unsafe.Pointer(pFrom)).FzAlias)
} else {
- (*Table)(unsafe.Pointer(pTab)).FzName = Xsqlite3MPrintf(tls, (*Parse)(unsafe.Pointer(pParse)).Fdb, ts+20770, libc.VaList(bp, pFrom))
+ (*Table)(unsafe.Pointer(pTab)).FzName = Xsqlite3MPrintf(tls, (*Parse)(unsafe.Pointer(pParse)).Fdb, ts+20836, libc.VaList(bp, pFrom))
}
for (*Select)(unsafe.Pointer(pSel)).FpPrior != 0 {
pSel = (*Select)(unsafe.Pointer(pSel)).FpPrior
@@ -135343,7 +135381,7 @@ __1:
return WRC_Abort
}
if (*Table)(unsafe.Pointer(pTab)).FnTabRef >= U32(0xffff) {
- Xsqlite3ErrorMsg(tls, pParse, ts+20774,
+ Xsqlite3ErrorMsg(tls, pParse, ts+20840,
libc.VaList(bp, (*Table)(unsafe.Pointer(pTab)).FzName))
(*SrcItem)(unsafe.Pointer(pFrom)).FpTab = uintptr(0)
return WRC_Abort
@@ -135362,7 +135400,7 @@ __1:
if int32((*Table)(unsafe.Pointer(pTab)).FeTabType) == TABTYP_VIEW {
if (*Sqlite3)(unsafe.Pointer(db)).Fflags&uint64(SQLITE_EnableView) == uint64(0) &&
(*Table)(unsafe.Pointer(pTab)).FpSchema != (*Db)(unsafe.Pointer((*Sqlite3)(unsafe.Pointer(db)).FaDb+1*32)).FpSchema {
- Xsqlite3ErrorMsg(tls, pParse, ts+20813,
+ Xsqlite3ErrorMsg(tls, pParse, ts+20879,
libc.VaList(bp+8, (*Table)(unsafe.Pointer(pTab)).FzName))
}
(*SrcItem)(unsafe.Pointer(pFrom)).FpSelect = Xsqlite3SelectDup(tls, db, *(*uintptr)(unsafe.Pointer(pTab + 64)), 0)
@@ -135370,7 +135408,7 @@ __1:
uint32(int32(*(*uint16)(unsafe.Pointer(pFrom + 60 + 4))&0x80>>7)) != 0 &&
*(*uintptr)(unsafe.Pointer(pTab + 64 + 16)) != uintptr(0) &&
int32((*VTable)(unsafe.Pointer(*(*uintptr)(unsafe.Pointer(pTab + 64 + 16)))).FeVtabRisk) > libc.Bool32((*Sqlite3)(unsafe.Pointer(db)).Fflags&uint64(SQLITE_TrustedSchema) != uint64(0)) {
- Xsqlite3ErrorMsg(tls, pParse, ts+16090,
+ Xsqlite3ErrorMsg(tls, pParse, ts+16109,
libc.VaList(bp+16, (*Table)(unsafe.Pointer(pTab)).FzName))
}
@@ -135471,7 +135509,7 @@ __3:
if iDb >= 0 {
zSchemaName = (*Db)(unsafe.Pointer((*Sqlite3)(unsafe.Pointer(db)).FaDb + uintptr(iDb)*32)).FzDbSName
} else {
- zSchemaName = ts + 7798
+ zSchemaName = ts + 7817
}
}
if i+1 < (*SrcList)(unsafe.Pointer(pTabList)).FnSrc &&
@@ -135486,7 +135524,7 @@ __3:
if pNew != 0 {
var pX uintptr = pNew + 8 + uintptr((*ExprList)(unsafe.Pointer(pNew)).FnExpr-1)*32
- (*ExprList_item)(unsafe.Pointer(pX)).FzEName = Xsqlite3MPrintf(tls, db, ts+20844, libc.VaList(bp+24, zUName))
+ (*ExprList_item)(unsafe.Pointer(pX)).FzEName = Xsqlite3MPrintf(tls, db, ts+20910, libc.VaList(bp+24, zUName))
libc.SetBitFieldPtr16Uint32(pX+16+4, uint32(ENAME_TAB), 0, 0x3)
libc.SetBitFieldPtr16Uint32(pX+16+4, uint32(1), 7, 0x80)
}
@@ -135551,7 +135589,7 @@ __3:
(*ExprList_item)(unsafe.Pointer(pX)).FzEName = Xsqlite3DbStrDup(tls, db, (*ExprList_item)(unsafe.Pointer(pNestedFrom+8+uintptr(j)*32)).FzEName)
} else {
- (*ExprList_item)(unsafe.Pointer(pX)).FzEName = Xsqlite3MPrintf(tls, db, ts+20849,
+ (*ExprList_item)(unsafe.Pointer(pX)).FzEName = Xsqlite3MPrintf(tls, db, ts+20915,
libc.VaList(bp+32, zSchemaName, zTabName, zName))
}
@@ -135563,7 +135601,7 @@ __3:
libc.SetBitFieldPtr16Uint32(pX+16+4, uint32(1), 8, 0x100)
}
} else if longNames != 0 {
- (*ExprList_item)(unsafe.Pointer(pX)).FzEName = Xsqlite3MPrintf(tls, db, ts+13413, libc.VaList(bp+56, zTabName, zName))
+ (*ExprList_item)(unsafe.Pointer(pX)).FzEName = Xsqlite3MPrintf(tls, db, ts+13432, libc.VaList(bp+56, zTabName, zName))
libc.SetBitFieldPtr16Uint32(pX+16+4, uint32(ENAME_NAME), 0, 0x3)
} else {
(*ExprList_item)(unsafe.Pointer(pX)).FzEName = Xsqlite3DbStrDup(tls, db, zName)
@@ -135582,9 +135620,9 @@ __3:
;
if !(tableSeen != 0) {
if zTName != 0 {
- Xsqlite3ErrorMsg(tls, pParse, ts+20858, libc.VaList(bp+72, zTName))
+ Xsqlite3ErrorMsg(tls, pParse, ts+20924, libc.VaList(bp+72, zTName))
} else {
- Xsqlite3ErrorMsg(tls, pParse, ts+20876, 0)
+ Xsqlite3ErrorMsg(tls, pParse, ts+20942, 0)
}
}
}
@@ -135594,7 +135632,7 @@ __3:
}
if (*Select)(unsafe.Pointer(p)).FpEList != 0 {
if (*ExprList)(unsafe.Pointer((*Select)(unsafe.Pointer(p)).FpEList)).FnExpr > *(*int32)(unsafe.Pointer(db + 136 + 2*4)) {
- Xsqlite3ErrorMsg(tls, pParse, ts+20896, 0)
+ Xsqlite3ErrorMsg(tls, pParse, ts+20962, 0)
return WRC_Abort
}
if elistFlags&U32(EP_HasFunc|EP_Subquery) != U32(0) {
@@ -135732,7 +135770,7 @@ func optimizeAggregateUseOfIndexedExpr(tls *libc.TLS, pParse uintptr, pSelect ui
(*AggInfo)(unsafe.Pointer(pAggInfo)).FnColumn = (*AggInfo)(unsafe.Pointer(pAggInfo)).FnAccumulator
if int32((*AggInfo)(unsafe.Pointer(pAggInfo)).FnSortingColumn) > 0 {
if (*AggInfo)(unsafe.Pointer(pAggInfo)).FnColumn == 0 {
- (*AggInfo)(unsafe.Pointer(pAggInfo)).FnSortingColumn = U16(0)
+ (*AggInfo)(unsafe.Pointer(pAggInfo)).FnSortingColumn = U16((*ExprList)(unsafe.Pointer((*Select)(unsafe.Pointer(pSelect)).FpGroupBy)).FnExpr)
} else {
(*AggInfo)(unsafe.Pointer(pAggInfo)).FnSortingColumn = U16(int32((*AggInfo_col)(unsafe.Pointer((*AggInfo)(unsafe.Pointer(pAggInfo)).FaCol+uintptr((*AggInfo)(unsafe.Pointer(pAggInfo)).FnColumn-1)*24)).FiSorterColumn) + 1)
}
@@ -135816,13 +135854,13 @@ __1:
if *(*uintptr)(unsafe.Pointer(pE + 32)) == uintptr(0) || (*ExprList)(unsafe.Pointer(*(*uintptr)(unsafe.Pointer(pE + 32)))).FnExpr != 1 {
Xsqlite3ErrorMsg(tls, pParse,
- ts+20927, 0)
+ ts+20993, 0)
(*AggInfo_func)(unsafe.Pointer(pFunc)).FiDistinct = -1
} else {
var pKeyInfo uintptr = Xsqlite3KeyInfoFromExprList(tls, pParse, *(*uintptr)(unsafe.Pointer(pE + 32)), 0, 0)
(*AggInfo_func)(unsafe.Pointer(pFunc)).FiDistAddr = Xsqlite3VdbeAddOp4(tls, v, OP_OpenEphemeral,
(*AggInfo_func)(unsafe.Pointer(pFunc)).FiDistinct, 0, 0, pKeyInfo, -8)
- Xsqlite3VdbeExplain(tls, pParse, uint8(0), ts+20978, libc.VaList(bp, (*FuncDef)(unsafe.Pointer((*AggInfo_func)(unsafe.Pointer(pFunc)).FpFunc)).FzName))
+ Xsqlite3VdbeExplain(tls, pParse, uint8(0), ts+21044, libc.VaList(bp, (*FuncDef)(unsafe.Pointer((*AggInfo_func)(unsafe.Pointer(pFunc)).FpFunc)).FzName))
}
}
@@ -136011,19 +136049,19 @@ func explainSimpleCount(tls *libc.TLS, pParse uintptr, pTab uintptr, pIdx uintpt
if int32((*Parse)(unsafe.Pointer(pParse)).Fexplain) == 2 {
var bCover int32 = libc.Bool32(pIdx != uintptr(0) && ((*Table)(unsafe.Pointer(pTab)).FtabFlags&U32(TF_WithoutRowid) == U32(0) || !(int32(*(*uint16)(unsafe.Pointer(pIdx + 100))&0x3>>0) == SQLITE_IDXTYPE_PRIMARYKEY)))
- Xsqlite3VdbeExplain(tls, pParse, uint8(0), ts+21011,
+ Xsqlite3VdbeExplain(tls, pParse, uint8(0), ts+21077,
libc.VaList(bp, (*Table)(unsafe.Pointer(pTab)).FzName,
func() uintptr {
if bCover != 0 {
- return ts + 21023
+ return ts + 21089
}
- return ts + 1544
+ return ts + 1563
}(),
func() uintptr {
if bCover != 0 {
return (*Index)(unsafe.Pointer(pIdx)).FzName
}
- return ts + 1544
+ return ts + 1563
}()))
}
}
@@ -136036,7 +136074,7 @@ func havingToWhereExprCb(tls *libc.TLS, pWalker uintptr, pExpr uintptr) int32 {
libc.Bool32((*Expr)(unsafe.Pointer(pExpr)).Fflags&U32(EP_OuterON|EP_IsFalse) == U32(EP_IsFalse)) == 0 &&
(*Expr)(unsafe.Pointer(pExpr)).FpAggInfo == uintptr(0) {
var db uintptr = (*Parse)(unsafe.Pointer((*Walker)(unsafe.Pointer(pWalker)).FpParse)).Fdb
- var pNew uintptr = Xsqlite3Expr(tls, db, TK_INTEGER, ts+9290)
+ var pNew uintptr = Xsqlite3Expr(tls, db, TK_INTEGER, ts+9309)
if pNew != 0 {
var pWhere uintptr = (*Select)(unsafe.Pointer(pS)).FpWhere
{
@@ -136343,7 +136381,7 @@ __5:
goto __7
}
Xsqlite3ErrorMsg(tls, pParse,
- ts+21046,
+ ts+21112,
libc.VaList(bp, func() uintptr {
if (*SrcItem)(unsafe.Pointer(p0)).FzAlias != 0 {
return (*SrcItem)(unsafe.Pointer(p0)).FzAlias
@@ -136404,7 +136442,7 @@ __14:
if !(int32((*Table)(unsafe.Pointer(pTab)).FnCol) != (*ExprList)(unsafe.Pointer((*Select)(unsafe.Pointer(pSub)).FpEList)).FnExpr) {
goto __15
}
- Xsqlite3ErrorMsg(tls, pParse, ts+21100,
+ Xsqlite3ErrorMsg(tls, pParse, ts+21166,
libc.VaList(bp+8, int32((*Table)(unsafe.Pointer(pTab)).FnCol), (*Table)(unsafe.Pointer(pTab)).FzName, (*ExprList)(unsafe.Pointer((*Select)(unsafe.Pointer(pSub)).FpEList)).FnExpr))
goto select_end
__15:
@@ -136508,7 +136546,7 @@ __27:
if !((*SrcItem)(unsafe.Pointer(pItem1)).FcolUsed == uint64(0) && (*SrcItem)(unsafe.Pointer(pItem1)).FzName != uintptr(0)) {
goto __30
}
- Xsqlite3AuthCheck(tls, pParse, SQLITE_READ, (*SrcItem)(unsafe.Pointer(pItem1)).FzName, ts+1544, (*SrcItem)(unsafe.Pointer(pItem1)).FzDatabase)
+ Xsqlite3AuthCheck(tls, pParse, SQLITE_READ, (*SrcItem)(unsafe.Pointer(pItem1)).FzName, ts+1563, (*SrcItem)(unsafe.Pointer(pItem1)).FzDatabase)
__30:
;
pSub1 = (*SrcItem)(unsafe.Pointer(pItem1)).FpSelect
@@ -136546,7 +136584,7 @@ __33:
(*SrcItem)(unsafe.Pointer(pItem1)).FaddrFillSub = addrTop
Xsqlite3SelectDestInit(tls, bp+96, SRT_Coroutine, (*SrcItem)(unsafe.Pointer(pItem1)).FregReturn)
- Xsqlite3VdbeExplain(tls, pParse, uint8(1), ts+21140, libc.VaList(bp+32, pItem1))
+ Xsqlite3VdbeExplain(tls, pParse, uint8(1), ts+21206, libc.VaList(bp+32, pItem1))
Xsqlite3Select(tls, pParse, pSub1, bp+96)
(*Table)(unsafe.Pointer((*SrcItem)(unsafe.Pointer(pItem1)).FpTab)).FnRowLogEst = (*Select)(unsafe.Pointer(pSub1)).FnSelectRow
libc.SetBitFieldPtr16Uint32(pItem1+60+4, uint32(1), 5, 0x20)
@@ -136605,7 +136643,7 @@ __43:
;
Xsqlite3SelectDestInit(tls, bp+96, SRT_EphemTab, (*SrcItem)(unsafe.Pointer(pItem1)).FiCursor)
- Xsqlite3VdbeExplain(tls, pParse, uint8(1), ts+21155, libc.VaList(bp+40, pItem1))
+ Xsqlite3VdbeExplain(tls, pParse, uint8(1), ts+21221, libc.VaList(bp+40, pItem1))
Xsqlite3Select(tls, pParse, pSub1, bp+96)
(*Table)(unsafe.Pointer((*SrcItem)(unsafe.Pointer(pItem1)).FpTab)).FnRowLogEst = (*Select)(unsafe.Pointer(pSub1)).FnSelectRow
if !(onceAddr != 0) {
@@ -137076,9 +137114,9 @@ __101:
explainTempTable(tls, pParse,
func() uintptr {
if (*DistinctCtx)(unsafe.Pointer(bp+136)).FisTnct != 0 && (*Select)(unsafe.Pointer(p)).FselFlags&U32(SF_Distinct) == U32(0) {
- return ts + 21171
+ return ts + 21237
}
- return ts + 21180
+ return ts + 21246
}())
groupBySort = 1
@@ -137429,7 +137467,7 @@ __65:
if !(int32((*DistinctCtx)(unsafe.Pointer(bp+136)).FeTnctType) == WHERE_DISTINCT_UNORDERED) {
goto __146
}
- explainTempTable(tls, pParse, ts+21171)
+ explainTempTable(tls, pParse, ts+21237)
__146:
;
if !((*SortCtx)(unsafe.Pointer(bp+48)).FpOrderBy != 0) {
@@ -137512,7 +137550,7 @@ __7:
if !(i < nCol) {
goto __9
}
- z = Xsqlite3_mprintf(tls, ts+4493, libc.VaList(bp, *(*uintptr)(unsafe.Pointer(colv + uintptr(i)*8))))
+ z = Xsqlite3_mprintf(tls, ts+4512, libc.VaList(bp, *(*uintptr)(unsafe.Pointer(colv + uintptr(i)*8))))
if !(z == uintptr(0)) {
goto __10
}
@@ -137534,7 +137572,7 @@ __5:
}
Xsqlite3_free(tls, (*TabResult)(unsafe.Pointer(p)).FzErrMsg)
(*TabResult)(unsafe.Pointer(p)).FzErrMsg = Xsqlite3_mprintf(tls,
- ts+21189, 0)
+ ts+21255, 0)
(*TabResult)(unsafe.Pointer(p)).Frc = SQLITE_ERROR
return 1
__11:
@@ -137630,7 +137668,7 @@ func Xsqlite3_get_table(tls *libc.TLS, db uintptr, zSql uintptr, pazResult uintp
if (*TabResult)(unsafe.Pointer(bp+8)).FzErrMsg != 0 {
if pzErrMsg != 0 {
Xsqlite3_free(tls, *(*uintptr)(unsafe.Pointer(pzErrMsg)))
- *(*uintptr)(unsafe.Pointer(pzErrMsg)) = Xsqlite3_mprintf(tls, ts+4493, libc.VaList(bp, (*TabResult)(unsafe.Pointer(bp+8)).FzErrMsg))
+ *(*uintptr)(unsafe.Pointer(pzErrMsg)) = Xsqlite3_mprintf(tls, ts+4512, libc.VaList(bp, (*TabResult)(unsafe.Pointer(bp+8)).FzErrMsg))
}
Xsqlite3_free(tls, (*TabResult)(unsafe.Pointer(bp+8)).FzErrMsg)
}
@@ -137767,7 +137805,7 @@ func Xsqlite3BeginTrigger(tls *libc.TLS, pParse uintptr, pName1 uintptr, pName2
if !((*Token)(unsafe.Pointer(pName2)).Fn > uint32(0)) {
goto __3
}
- Xsqlite3ErrorMsg(tls, pParse, ts+21254, 0)
+ Xsqlite3ErrorMsg(tls, pParse, ts+21320, 0)
goto trigger_cleanup
__3:
;
@@ -137811,7 +137849,7 @@ __7:
goto trigger_cleanup
__8:
;
- Xsqlite3FixInit(tls, bp+40, pParse, iDb, ts+21300, *(*uintptr)(unsafe.Pointer(bp + 32)))
+ Xsqlite3FixInit(tls, bp+40, pParse, iDb, ts+21366, *(*uintptr)(unsafe.Pointer(bp + 32)))
if !(Xsqlite3FixSrcList(tls, bp+40, pTableName) != 0) {
goto __9
}
@@ -137829,7 +137867,7 @@ __10:
if !(int32((*Table)(unsafe.Pointer(pTab)).FeTabType) == TABTYP_VTAB) {
goto __11
}
- Xsqlite3ErrorMsg(tls, pParse, ts+21308, 0)
+ Xsqlite3ErrorMsg(tls, pParse, ts+21374, 0)
goto trigger_orphan_error
__11:
;
@@ -137841,7 +137879,7 @@ __11:
goto trigger_cleanup
__12:
;
- if !(Xsqlite3CheckObjectName(tls, pParse, zName, ts+21300, (*Table)(unsafe.Pointer(pTab)).FzName) != 0) {
+ if !(Xsqlite3CheckObjectName(tls, pParse, zName, ts+21366, (*Table)(unsafe.Pointer(pTab)).FzName) != 0) {
goto __13
}
goto trigger_cleanup
@@ -137856,11 +137894,12 @@ __13:
if !!(noErr != 0) {
goto __16
}
- Xsqlite3ErrorMsg(tls, pParse, ts+21349, libc.VaList(bp, *(*uintptr)(unsafe.Pointer(bp + 32))))
+ Xsqlite3ErrorMsg(tls, pParse, ts+21415, libc.VaList(bp, *(*uintptr)(unsafe.Pointer(bp + 32))))
goto __17
__16:
;
Xsqlite3CodeVerifySchema(tls, pParse, iDb)
+
__17:
;
goto trigger_cleanup
@@ -137868,22 +137907,22 @@ __15:
;
__14:
;
- if !(Xsqlite3_strnicmp(tls, (*Table)(unsafe.Pointer(pTab)).FzName, ts+7733, 7) == 0) {
+ if !(Xsqlite3_strnicmp(tls, (*Table)(unsafe.Pointer(pTab)).FzName, ts+7752, 7) == 0) {
goto __18
}
- Xsqlite3ErrorMsg(tls, pParse, ts+21375, 0)
+ Xsqlite3ErrorMsg(tls, pParse, ts+21441, 0)
goto trigger_cleanup
__18:
;
if !(int32((*Table)(unsafe.Pointer(pTab)).FeTabType) == TABTYP_VIEW && tr_tm != TK_INSTEAD) {
goto __19
}
- Xsqlite3ErrorMsg(tls, pParse, ts+21413,
+ Xsqlite3ErrorMsg(tls, pParse, ts+21479,
libc.VaList(bp+8, func() uintptr {
if tr_tm == TK_BEFORE {
- return ts + 21450
+ return ts + 21516
}
- return ts + 21457
+ return ts + 21523
}(), pTableName+8))
goto trigger_orphan_error
__19:
@@ -137892,7 +137931,7 @@ __19:
goto __20
}
Xsqlite3ErrorMsg(tls, pParse,
- ts+21463, libc.VaList(bp+24, pTableName+8))
+ ts+21529, libc.VaList(bp+24, pTableName+8))
goto trigger_orphan_error
__20:
;
@@ -137921,9 +137960,9 @@ __23:
;
if !(Xsqlite3AuthCheck(tls, pParse, SQLITE_INSERT, func() uintptr {
if !(0 != 0) && iTabDb == 1 {
- return ts + 7741
+ return ts + 7760
}
- return ts + 7235
+ return ts + 7254
}(), uintptr(0), zDb) != 0) {
goto __24
}
@@ -138041,7 +138080,7 @@ __2:
__3:
;
Xsqlite3TokenInit(tls, bp+56, (*Trigger)(unsafe.Pointer(pTrig)).FzName)
- Xsqlite3FixInit(tls, bp+72, pParse, iDb, ts+21300, bp+56)
+ Xsqlite3FixInit(tls, bp+72, pParse, iDb, ts+21366, bp+56)
if !(Xsqlite3FixTriggerStep(tls, bp+72, (*Trigger)(unsafe.Pointer(pTrig)).Fstep_list) != 0 ||
Xsqlite3FixExpr(tls, bp+72, (*Trigger)(unsafe.Pointer(pTrig)).FpWhen) != 0) {
goto __4
@@ -138074,7 +138113,7 @@ __9:
goto __12
}
Xsqlite3ErrorMsg(tls, pParse,
- ts+21509,
+ ts+21575,
libc.VaList(bp, (*Trigger)(unsafe.Pointer(pTrig)).FzName, (*TriggerStep)(unsafe.Pointer(pStep)).FzTarget))
goto triggerfinish_cleanup
__12:
@@ -138099,13 +138138,13 @@ __13:
z = Xsqlite3DbStrNDup(tls, db, (*Token)(unsafe.Pointer(pAll)).Fz, uint64((*Token)(unsafe.Pointer(pAll)).Fn))
Xsqlite3NestedParse(tls, pParse,
- ts+21557,
+ ts+21623,
libc.VaList(bp+16, (*Db)(unsafe.Pointer((*Sqlite3)(unsafe.Pointer(db)).FaDb+uintptr(iDb)*32)).FzDbSName, zName,
(*Trigger)(unsafe.Pointer(pTrig)).Ftable, z))
Xsqlite3DbFree(tls, db, z)
Xsqlite3ChangeCookie(tls, pParse, iDb)
Xsqlite3VdbeAddParseSchemaOp(tls, v, iDb,
- Xsqlite3MPrintf(tls, db, ts+21632, libc.VaList(bp+48, zName)), uint16(0))
+ Xsqlite3MPrintf(tls, db, ts+21698, libc.VaList(bp+48, zName)), uint16(0))
__7:
;
__6:
@@ -138361,7 +138400,7 @@ __5:
if !!(noErr != 0) {
goto __9
}
- Xsqlite3ErrorMsg(tls, pParse, ts+21661, libc.VaList(bp, pName+8))
+ Xsqlite3ErrorMsg(tls, pParse, ts+21727, libc.VaList(bp, pName+8))
goto __10
__9:
Xsqlite3CodeVerifyNamedSchema(tls, pParse, zDb)
@@ -138400,9 +138439,9 @@ func Xsqlite3DropTriggerPtr(tls *libc.TLS, pParse uintptr, pTrigger uintptr) {
var zDb uintptr = (*Db)(unsafe.Pointer((*Sqlite3)(unsafe.Pointer(db)).FaDb + uintptr(iDb)*32)).FzDbSName
var zTab uintptr = func() uintptr {
if !(0 != 0) && iDb == 1 {
- return ts + 7741
+ return ts + 7760
}
- return ts + 7235
+ return ts + 7254
}()
if iDb == 1 {
code = SQLITE_DROP_TEMP_TRIGGER
@@ -138414,7 +138453,7 @@ func Xsqlite3DropTriggerPtr(tls *libc.TLS, pParse uintptr, pTrigger uintptr) {
if libc.AssignUintptr(&v, Xsqlite3GetVdbe(tls, pParse)) != uintptr(0) {
Xsqlite3NestedParse(tls, pParse,
- ts+21681,
+ ts+21747,
libc.VaList(bp, (*Db)(unsafe.Pointer((*Sqlite3)(unsafe.Pointer(db)).FaDb+uintptr(iDb)*32)).FzDbSName, (*Trigger)(unsafe.Pointer(pTrigger)).FzName))
Xsqlite3ChangeCookie(tls, pParse, iDb)
Xsqlite3VdbeAddOp4(tls, v, OP_DropTrigger, iDb, 0, 0, (*Trigger)(unsafe.Pointer(pTrigger)).FzName, 0)
@@ -138528,12 +138567,12 @@ __9:
goto __15
}
Xsqlite3ErrorMsg(tls, pParse,
- ts+21743,
+ ts+21809,
libc.VaList(bp, func() uintptr {
if op == TK_DELETE {
- return ts + 21791
+ return ts + 21857
}
- return ts + 21798
+ return ts + 21864
}()))
__15:
;
@@ -138647,7 +138686,7 @@ func isAsteriskTerm(tls *libc.TLS, pParse uintptr, pTerm uintptr) int32 {
if int32((*Expr)(unsafe.Pointer((*Expr)(unsafe.Pointer(pTerm)).FpRight)).Fop) != TK_ASTERISK {
return 0
}
- Xsqlite3ErrorMsg(tls, pParse, ts+21805, 0)
+ Xsqlite3ErrorMsg(tls, pParse, ts+21871, 0)
return 1
}
@@ -138713,7 +138752,7 @@ func codeReturningTrigger(tls *libc.TLS, pParse uintptr, pTrigger uintptr, pTab
}
Xsqlite3ExprListDelete(tls, db, (*Select)(unsafe.Pointer(bp)).FpEList)
pNew = sqlite3ExpandReturning(tls, pParse, (*Returning)(unsafe.Pointer(pReturning)).FpReturnEL, pTab)
- if !(int32((*Sqlite3)(unsafe.Pointer(db)).FmallocFailed) != 0) {
+ if (*Parse)(unsafe.Pointer(pParse)).FnErr == 0 {
libc.Xmemset(tls, bp+240, 0, uint64(unsafe.Sizeof(NameContext{})))
if (*Returning)(unsafe.Pointer(pReturning)).FnRetCol == 0 {
(*Returning)(unsafe.Pointer(pReturning)).FnRetCol = (*ExprList)(unsafe.Pointer(pNew)).FnExpr
@@ -138767,7 +138806,7 @@ func codeTriggerProgram(tls *libc.TLS, pParse uintptr, pStepList uintptr, orconf
if (*TriggerStep)(unsafe.Pointer(pStep)).FzSpan != 0 {
Xsqlite3VdbeAddOp4(tls, v, OP_Trace, 0x7fffffff, 1, 0,
- Xsqlite3MPrintf(tls, db, ts+7432, libc.VaList(bp, (*TriggerStep)(unsafe.Pointer(pStep)).FzSpan)),
+ Xsqlite3MPrintf(tls, db, ts+7451, libc.VaList(bp, (*TriggerStep)(unsafe.Pointer(pStep)).FzSpan)),
-6)
}
@@ -138877,7 +138916,7 @@ func codeRowTrigger(tls *libc.TLS, pParse uintptr, pTrigger uintptr, pTab uintpt
if v != 0 {
if (*Trigger)(unsafe.Pointer(pTrigger)).FzName != 0 {
Xsqlite3VdbeChangeP4(tls, v, -1,
- Xsqlite3MPrintf(tls, db, ts+21847, libc.VaList(bp, (*Trigger)(unsafe.Pointer(pTrigger)).FzName)), -6)
+ Xsqlite3MPrintf(tls, db, ts+21913, libc.VaList(bp, (*Trigger)(unsafe.Pointer(pTrigger)).FzName)), -6)
}
if (*Trigger)(unsafe.Pointer(pTrigger)).FpWhen != 0 {
@@ -139470,7 +139509,7 @@ __25:
}
Xsqlite3ErrorMsg(tls, pParse,
- ts+21861,
+ ts+21927,
libc.VaList(bp, (*Column)(unsafe.Pointer((*Table)(unsafe.Pointer(pTab)).FaCol+uintptr(j)*24)).FzCnName))
goto update_cleanup
__27:
@@ -139502,7 +139541,7 @@ __21:
iRowidExpr = i
goto __30
__29:
- Xsqlite3ErrorMsg(tls, pParse, ts+21897, libc.VaList(bp+8, (*ExprList_item)(unsafe.Pointer(pChanges+8+uintptr(i)*32)).FzEName))
+ Xsqlite3ErrorMsg(tls, pParse, ts+21963, libc.VaList(bp+8, (*ExprList_item)(unsafe.Pointer(pChanges+8+uintptr(i)*32)).FzEName))
(*Parse)(unsafe.Pointer(pParse)).FcheckSchema = U8(1)
goto update_cleanup
__30:
@@ -139512,7 +139551,7 @@ __28:
rc = Xsqlite3AuthCheck(tls, pParse, SQLITE_UPDATE, (*Table)(unsafe.Pointer(pTab)).FzName,
func() uintptr {
if j < 0 {
- return ts + 9065
+ return ts + 9084
}
return (*Column)(unsafe.Pointer((*Table)(unsafe.Pointer(pTab)).FaCol + uintptr(j)*24)).FzCnName
}(),
@@ -139828,7 +139867,12 @@ __74:
goto __77
__76:
flags = WHERE_ONEPASS_DESIRED
- if !(!(int32((*Parse)(unsafe.Pointer(pParse)).Fnested) != 0) && !(pTrigger != 0) && !(hasFK != 0) && !(chngKey != 0) && !(*(*int32)(unsafe.Pointer(bp + 104)) != 0)) {
+ if !(!(int32((*Parse)(unsafe.Pointer(pParse)).Fnested) != 0) &&
+ !(pTrigger != 0) &&
+ !(hasFK != 0) &&
+ !(chngKey != 0) &&
+ !(*(*int32)(unsafe.Pointer(bp + 104)) != 0) &&
+ (*NameContext)(unsafe.Pointer(bp+40)).FncFlags&NC_Subquery == 0) {
goto __78
}
flags = flags | WHERE_ONEPASS_MULTIROW
@@ -140382,7 +140426,7 @@ __168:
if !(regRowCount != 0) {
goto __169
}
- Xsqlite3CodeChangeCount(tls, v, regRowCount, ts+21916)
+ Xsqlite3CodeChangeCount(tls, v, regRowCount, ts+21982)
__169:
;
update_cleanup:
@@ -140688,10 +140732,10 @@ __1:
if nClause == 0 && (*Upsert)(unsafe.Pointer(pUpsert)).FpNextUpsert == uintptr(0) {
*(*int8)(unsafe.Pointer(bp + 216)) = int8(0)
} else {
- Xsqlite3_snprintf(tls, int32(unsafe.Sizeof([16]int8{})), bp+216, ts+21929, libc.VaList(bp, nClause+1))
+ Xsqlite3_snprintf(tls, int32(unsafe.Sizeof([16]int8{})), bp+216, ts+21995, libc.VaList(bp, nClause+1))
}
Xsqlite3ErrorMsg(tls, pParse,
- ts+21933, libc.VaList(bp+8, bp+216))
+ ts+21999, libc.VaList(bp+8, bp+216))
return SQLITE_ERROR
}
@@ -140782,7 +140826,7 @@ func Xsqlite3UpsertDoUpdate(tls *libc.TLS, pParse uintptr, pUpsert uintptr, pTab
i = Xsqlite3VdbeAddOp4Int(tls, v, OP_Found, iDataCur, 0, iPk, nPk)
Xsqlite3VdbeAddOp4(tls, v, OP_Halt, SQLITE_CORRUPT, OE_Abort, 0,
- ts+13502, -1)
+ ts+13521, -1)
Xsqlite3MayAbort(tls, pParse)
Xsqlite3VdbeJumpHere(tls, v, i)
}
@@ -140814,7 +140858,7 @@ func execSql(tls *libc.TLS, db uintptr, pzErrMsg uintptr, zSql uintptr) int32 {
var zSubSql uintptr = Xsqlite3_column_text(tls, *(*uintptr)(unsafe.Pointer(bp)), 0)
if zSubSql != 0 &&
- (libc.Xstrncmp(tls, zSubSql, ts+22006, uint64(3)) == 0 || libc.Xstrncmp(tls, zSubSql, ts+22010, uint64(3)) == 0) {
+ (libc.Xstrncmp(tls, zSubSql, ts+22072, uint64(3)) == 0 || libc.Xstrncmp(tls, zSubSql, ts+22076, uint64(3)) == 0) {
rc = execSql(tls, db, pzErrMsg, zSubSql)
if rc != SQLITE_OK {
break
@@ -140962,14 +141006,14 @@ func Xsqlite3RunVacuum(tls *libc.TLS, pzErrMsg uintptr, db uintptr, iDb int32, p
if !!(int32((*Sqlite3)(unsafe.Pointer(db)).FautoCommit) != 0) {
goto __1
}
- Xsqlite3SetString(tls, pzErrMsg, db, ts+22014)
+ Xsqlite3SetString(tls, pzErrMsg, db, ts+22080)
return SQLITE_ERROR
__1:
;
if !((*Sqlite3)(unsafe.Pointer(db)).FnVdbeActive > 1) {
goto __2
}
- Xsqlite3SetString(tls, pzErrMsg, db, ts+22054)
+ Xsqlite3SetString(tls, pzErrMsg, db, ts+22120)
return SQLITE_ERROR
__2:
;
@@ -140980,7 +141024,7 @@ __2:
if !(Xsqlite3_value_type(tls, pOut) != SQLITE_TEXT) {
goto __5
}
- Xsqlite3SetString(tls, pzErrMsg, db, ts+22097)
+ Xsqlite3SetString(tls, pzErrMsg, db, ts+22163)
return SQLITE_ERROR
__5:
;
@@ -140989,7 +141033,7 @@ __5:
*(*uint32)(unsafe.Pointer(db + 76)) |= uint32(SQLITE_OPEN_CREATE | SQLITE_OPEN_READWRITE)
goto __4
__3:
- zOut = ts + 1544
+ zOut = ts + 1563
__4:
;
saved_flags = (*Sqlite3)(unsafe.Pointer(db)).Fflags
@@ -141008,7 +141052,7 @@ __4:
isMemDb = Xsqlite3PagerIsMemdb(tls, Xsqlite3BtreePager(tls, pMain))
nDb = (*Sqlite3)(unsafe.Pointer(db)).FnDb
- rc = execSqlF(tls, db, pzErrMsg, ts+22115, libc.VaList(bp, zOut))
+ rc = execSqlF(tls, db, pzErrMsg, ts+22181, libc.VaList(bp, zOut))
(*Sqlite3)(unsafe.Pointer(db)).FopenFlags = saved_openFlags
if !(rc != SQLITE_OK) {
goto __6
@@ -141028,7 +141072,7 @@ __6:
goto __8
}
rc = SQLITE_ERROR
- Xsqlite3SetString(tls, pzErrMsg, db, ts+22138)
+ Xsqlite3SetString(tls, pzErrMsg, db, ts+22204)
goto end_of_vacuum
__8:
;
@@ -141043,7 +141087,7 @@ __7:
Xsqlite3BtreeSetSpillSize(tls, pTemp, Xsqlite3BtreeSetSpillSize(tls, pMain, 0))
Xsqlite3BtreeSetPagerFlags(tls, pTemp, pgflags|U32(PAGER_CACHESPILL))
- rc = execSql(tls, db, pzErrMsg, ts+15860)
+ rc = execSql(tls, db, pzErrMsg, ts+15879)
if !(rc != SQLITE_OK) {
goto __9
}
@@ -141088,7 +141132,7 @@ __12:
(*Sqlite3)(unsafe.Pointer(db)).Finit.FiDb = U8(nDb)
rc = execSqlF(tls, db, pzErrMsg,
- ts+22165,
+ ts+22231,
libc.VaList(bp+8, zDbMain))
if !(rc != SQLITE_OK) {
goto __13
@@ -141097,7 +141141,7 @@ __12:
__13:
;
rc = execSqlF(tls, db, pzErrMsg,
- ts+22273,
+ ts+22339,
libc.VaList(bp+16, zDbMain))
if !(rc != SQLITE_OK) {
goto __14
@@ -141108,7 +141152,7 @@ __14:
(*Sqlite3)(unsafe.Pointer(db)).Finit.FiDb = U8(0)
rc = execSqlF(tls, db, pzErrMsg,
- ts+22327,
+ ts+22393,
libc.VaList(bp+24, zDbMain))
*(*U32)(unsafe.Pointer(db + 44)) &= libc.Uint32FromInt32(libc.CplInt32(DBFLAG_Vacuum))
@@ -141119,7 +141163,7 @@ __14:
__15:
;
rc = execSqlF(tls, db, pzErrMsg,
- ts+22478,
+ ts+22544,
libc.VaList(bp+32, zDbMain))
if !(rc != 0) {
goto __16
@@ -141464,7 +141508,7 @@ func addModuleArgument(tls *libc.TLS, pParse uintptr, pTable uintptr, zArg uintp
nBytes = Sqlite3_int64(uint64(unsafe.Sizeof(uintptr(0))) * uint64(2+*(*int32)(unsafe.Pointer(pTable + 64))))
if *(*int32)(unsafe.Pointer(pTable + 64))+3 >= *(*int32)(unsafe.Pointer(db + 136 + 2*4)) {
- Xsqlite3ErrorMsg(tls, pParse, ts+13729, libc.VaList(bp, (*Table)(unsafe.Pointer(pTable)).FzName))
+ Xsqlite3ErrorMsg(tls, pParse, ts+13748, libc.VaList(bp, (*Table)(unsafe.Pointer(pTable)).FzName))
}
azModuleArg = Xsqlite3DbRealloc(tls, db, *(*uintptr)(unsafe.Pointer(pTable + 64 + 8)), uint64(nBytes))
if azModuleArg == uintptr(0) {
@@ -141548,11 +141592,11 @@ func Xsqlite3VtabFinishParse(tls *libc.TLS, pParse uintptr, pEnd uintptr) {
if pEnd != 0 {
(*Parse)(unsafe.Pointer(pParse)).FsNameToken.Fn = uint32(int32((int64((*Token)(unsafe.Pointer(pEnd)).Fz)-int64((*Parse)(unsafe.Pointer(pParse)).FsNameToken.Fz))/1)) + (*Token)(unsafe.Pointer(pEnd)).Fn
}
- zStmt = Xsqlite3MPrintf(tls, db, ts+22608, libc.VaList(bp, pParse+272))
+ zStmt = Xsqlite3MPrintf(tls, db, ts+22674, libc.VaList(bp, pParse+272))
iDb = Xsqlite3SchemaToIndex(tls, db, (*Table)(unsafe.Pointer(pTab)).FpSchema)
Xsqlite3NestedParse(tls, pParse,
- ts+22632,
+ ts+22698,
libc.VaList(bp+8, (*Db)(unsafe.Pointer((*Sqlite3)(unsafe.Pointer(db)).FaDb+uintptr(iDb)*32)).FzDbSName,
(*Table)(unsafe.Pointer(pTab)).FzName,
(*Table)(unsafe.Pointer(pTab)).FzName,
@@ -141562,7 +141606,7 @@ func Xsqlite3VtabFinishParse(tls *libc.TLS, pParse uintptr, pEnd uintptr) {
Xsqlite3ChangeCookie(tls, pParse, iDb)
Xsqlite3VdbeAddOp0(tls, v, OP_Expire)
- zWhere = Xsqlite3MPrintf(tls, db, ts+22731, libc.VaList(bp+48, (*Table)(unsafe.Pointer(pTab)).FzName, zStmt))
+ zWhere = Xsqlite3MPrintf(tls, db, ts+22797, libc.VaList(bp+48, (*Table)(unsafe.Pointer(pTab)).FzName, zStmt))
Xsqlite3VdbeAddParseSchemaOp(tls, v, iDb, zWhere, uint16(0))
Xsqlite3DbFree(tls, db, zStmt)
@@ -141623,7 +141667,7 @@ func vtabCallConstructor(tls *libc.TLS, db uintptr, pTab uintptr, pMod uintptr,
for pCtx = (*Sqlite3)(unsafe.Pointer(db)).FpVtabCtx; pCtx != 0; pCtx = (*VtabCtx)(unsafe.Pointer(pCtx)).FpPrior {
if (*VtabCtx)(unsafe.Pointer(pCtx)).FpTab == pTab {
*(*uintptr)(unsafe.Pointer(pzErr)) = Xsqlite3MPrintf(tls, db,
- ts+22750, libc.VaList(bp, (*Table)(unsafe.Pointer(pTab)).FzName))
+ ts+22816, libc.VaList(bp, (*Table)(unsafe.Pointer(pTab)).FzName))
return SQLITE_LOCKED
}
}
@@ -141651,9 +141695,11 @@ func vtabCallConstructor(tls *libc.TLS, db uintptr, pTab uintptr, pMod uintptr,
(*VtabCtx)(unsafe.Pointer(bp + 32)).FpPrior = (*Sqlite3)(unsafe.Pointer(db)).FpVtabCtx
(*VtabCtx)(unsafe.Pointer(bp + 32)).FbDeclared = 0
(*Sqlite3)(unsafe.Pointer(db)).FpVtabCtx = bp + 32
+ (*Table)(unsafe.Pointer(pTab)).FnTabRef++
rc = (*struct {
f func(*libc.TLS, uintptr, uintptr, int32, uintptr, uintptr, uintptr) int32
})(unsafe.Pointer(&struct{ uintptr }{xConstruct})).f(tls, db, (*Module)(unsafe.Pointer(pMod)).FpAux, nArg, azArg, pVTable+16, bp+64)
+ Xsqlite3DeleteTable(tls, db, pTab)
(*Sqlite3)(unsafe.Pointer(db)).FpVtabCtx = (*VtabCtx)(unsafe.Pointer(bp + 32)).FpPrior
if rc == SQLITE_NOMEM {
Xsqlite3OomFault(tls, db)
@@ -141661,9 +141707,9 @@ func vtabCallConstructor(tls *libc.TLS, db uintptr, pTab uintptr, pMod uintptr,
if SQLITE_OK != rc {
if *(*uintptr)(unsafe.Pointer(bp + 64)) == uintptr(0) {
- *(*uintptr)(unsafe.Pointer(pzErr)) = Xsqlite3MPrintf(tls, db, ts+22792, libc.VaList(bp+8, zModuleName))
+ *(*uintptr)(unsafe.Pointer(pzErr)) = Xsqlite3MPrintf(tls, db, ts+22858, libc.VaList(bp+8, zModuleName))
} else {
- *(*uintptr)(unsafe.Pointer(pzErr)) = Xsqlite3MPrintf(tls, db, ts+4493, libc.VaList(bp+16, *(*uintptr)(unsafe.Pointer(bp + 64))))
+ *(*uintptr)(unsafe.Pointer(pzErr)) = Xsqlite3MPrintf(tls, db, ts+4512, libc.VaList(bp+16, *(*uintptr)(unsafe.Pointer(bp + 64))))
Xsqlite3_free(tls, *(*uintptr)(unsafe.Pointer(bp + 64)))
}
Xsqlite3DbFree(tls, db, pVTable)
@@ -141673,7 +141719,7 @@ func vtabCallConstructor(tls *libc.TLS, db uintptr, pTab uintptr, pMod uintptr,
(*Module)(unsafe.Pointer(pMod)).FnRefModule++
(*VTable)(unsafe.Pointer(pVTable)).FnRef = 1
if (*VtabCtx)(unsafe.Pointer(bp+32)).FbDeclared == 0 {
- var zFormat uintptr = ts + 22822
+ var zFormat uintptr = ts + 22888
*(*uintptr)(unsafe.Pointer(pzErr)) = Xsqlite3MPrintf(tls, db, zFormat, libc.VaList(bp+24, (*Table)(unsafe.Pointer(pTab)).FzName))
Xsqlite3VtabUnlock(tls, pVTable)
rc = SQLITE_ERROR
@@ -141685,12 +141731,12 @@ func vtabCallConstructor(tls *libc.TLS, db uintptr, pTab uintptr, pMod uintptr,
*(*uintptr)(unsafe.Pointer(pTab + 64 + 16)) = pVTable
for iCol = 0; iCol < int32((*Table)(unsafe.Pointer(pTab)).FnCol); iCol++ {
- var zType uintptr = Xsqlite3ColumnType(tls, (*Table)(unsafe.Pointer(pTab)).FaCol+uintptr(iCol)*24, ts+1544)
+ var zType uintptr = Xsqlite3ColumnType(tls, (*Table)(unsafe.Pointer(pTab)).FaCol+uintptr(iCol)*24, ts+1563)
var nType int32
var i int32 = 0
nType = Xsqlite3Strlen30(tls, zType)
for i = 0; i < nType; i++ {
- if 0 == Xsqlite3_strnicmp(tls, ts+17516, zType+uintptr(i), 6) &&
+ if 0 == Xsqlite3_strnicmp(tls, ts+17535, zType+uintptr(i), 6) &&
(i == 0 || int32(*(*int8)(unsafe.Pointer(zType + uintptr(i-1)))) == ' ') &&
(int32(*(*int8)(unsafe.Pointer(zType + uintptr(i+6)))) == 0 || int32(*(*int8)(unsafe.Pointer(zType + uintptr(i+6)))) == ' ') {
break
@@ -141747,13 +141793,13 @@ func Xsqlite3VtabCallConnect(tls *libc.TLS, pParse uintptr, pTab uintptr) int32
if !(pMod != 0) {
var zModule uintptr = *(*uintptr)(unsafe.Pointer(*(*uintptr)(unsafe.Pointer(pTab + 64 + 8))))
- Xsqlite3ErrorMsg(tls, pParse, ts+22868, libc.VaList(bp, zModule))
+ Xsqlite3ErrorMsg(tls, pParse, ts+22934, libc.VaList(bp, zModule))
rc = SQLITE_ERROR
} else {
*(*uintptr)(unsafe.Pointer(bp + 16)) = uintptr(0)
rc = vtabCallConstructor(tls, db, pTab, pMod, (*Sqlite3_module)(unsafe.Pointer((*Module)(unsafe.Pointer(pMod)).FpModule)).FxConnect, bp+16)
if rc != SQLITE_OK {
- Xsqlite3ErrorMsg(tls, pParse, ts+4493, libc.VaList(bp+8, *(*uintptr)(unsafe.Pointer(bp + 16))))
+ Xsqlite3ErrorMsg(tls, pParse, ts+4512, libc.VaList(bp+8, *(*uintptr)(unsafe.Pointer(bp + 16))))
(*Parse)(unsafe.Pointer(pParse)).Frc = rc
}
Xsqlite3DbFree(tls, db, *(*uintptr)(unsafe.Pointer(bp + 16)))
@@ -141805,7 +141851,7 @@ func Xsqlite3VtabCallCreate(tls *libc.TLS, db uintptr, iDb int32, zTab uintptr,
pMod = Xsqlite3HashFind(tls, db+576, zMod)
if pMod == uintptr(0) || (*Sqlite3_module)(unsafe.Pointer((*Module)(unsafe.Pointer(pMod)).FpModule)).FxCreate == uintptr(0) || (*Sqlite3_module)(unsafe.Pointer((*Module)(unsafe.Pointer(pMod)).FpModule)).FxDestroy == uintptr(0) {
- *(*uintptr)(unsafe.Pointer(pzErr)) = Xsqlite3MPrintf(tls, db, ts+22868, libc.VaList(bp, zMod))
+ *(*uintptr)(unsafe.Pointer(pzErr)) = Xsqlite3MPrintf(tls, db, ts+22934, libc.VaList(bp, zMod))
rc = SQLITE_ERROR
} else {
rc = vtabCallConstructor(tls, db, pTab, pMod, (*Sqlite3_module)(unsafe.Pointer((*Module)(unsafe.Pointer(pMod)).FpModule)).FxCreate, pzErr)
@@ -141839,7 +141885,7 @@ func Xsqlite3_declare_vtab(tls *libc.TLS, db uintptr, zCreateTable uintptr) int3
if !(pCtx != 0) || (*VtabCtx)(unsafe.Pointer(pCtx)).FbDeclared != 0 {
Xsqlite3Error(tls, db, SQLITE_MISUSE)
Xsqlite3_mutex_leave(tls, (*Sqlite3)(unsafe.Pointer(db)).Fmutex)
- return Xsqlite3MisuseError(tls, 151030)
+ return Xsqlite3MisuseError(tls, 151102)
}
pTab = (*VtabCtx)(unsafe.Pointer(pCtx)).FpTab
@@ -141881,7 +141927,7 @@ func Xsqlite3_declare_vtab(tls *libc.TLS, db uintptr, zCreateTable uintptr) int3
Xsqlite3ErrorWithMsg(tls, db, SQLITE_ERROR,
func() uintptr {
if (*Parse)(unsafe.Pointer(bp+8)).FzErrMsg != 0 {
- return ts + 4493
+ return ts + 4512
}
return uintptr(0)
}(), libc.VaList(bp, (*Parse)(unsafe.Pointer(bp+8)).FzErrMsg))
@@ -142249,7 +142295,7 @@ func Xsqlite3VtabEponymousTableInit(tls *libc.TLS, pParse uintptr, pMod uintptr)
addModuleArgument(tls, pParse, pTab, Xsqlite3DbStrDup(tls, db, (*Table)(unsafe.Pointer(pTab)).FzName))
rc = vtabCallConstructor(tls, db, pTab, pMod, (*Sqlite3_module)(unsafe.Pointer(pModule)).FxConnect, bp+8)
if rc != 0 {
- Xsqlite3ErrorMsg(tls, pParse, ts+4493, libc.VaList(bp, *(*uintptr)(unsafe.Pointer(bp + 8))))
+ Xsqlite3ErrorMsg(tls, pParse, ts+4512, libc.VaList(bp, *(*uintptr)(unsafe.Pointer(bp + 8))))
Xsqlite3DbFree(tls, db, *(*uintptr)(unsafe.Pointer(bp + 8)))
Xsqlite3VtabEponymousTableClear(tls, db, pMod)
}
@@ -142292,7 +142338,7 @@ func Xsqlite3_vtab_config(tls *libc.TLS, db uintptr, op int32, va uintptr) int32
Xsqlite3_mutex_enter(tls, (*Sqlite3)(unsafe.Pointer(db)).Fmutex)
p = (*Sqlite3)(unsafe.Pointer(db)).FpVtabCtx
if !(p != 0) {
- rc = Xsqlite3MisuseError(tls, 151521)
+ rc = Xsqlite3MisuseError(tls, 151593)
} else {
ap = va
switch op {
@@ -142319,7 +142365,7 @@ func Xsqlite3_vtab_config(tls *libc.TLS, db uintptr, op int32, va uintptr) int32
fallthrough
default:
{
- rc = Xsqlite3MisuseError(tls, 151539)
+ rc = Xsqlite3MisuseError(tls, 151611)
break
}
@@ -142550,10 +142596,10 @@ type InLoop = struct {
func explainIndexColumnName(tls *libc.TLS, pIdx uintptr, i int32) uintptr {
i = int32(*(*I16)(unsafe.Pointer((*Index)(unsafe.Pointer(pIdx)).FaiColumn + uintptr(i)*2)))
if i == -2 {
- return ts + 22887
+ return ts + 22953
}
if i == -1 {
- return ts + 17625
+ return ts + 17644
}
return (*Column)(unsafe.Pointer((*Table)(unsafe.Pointer((*Index)(unsafe.Pointer(pIdx)).FpTable)).FaCol + uintptr(i)*24)).FzCnName
}
@@ -142562,35 +142608,35 @@ func explainAppendTerm(tls *libc.TLS, pStr uintptr, pIdx uintptr, nTerm int32, i
var i int32
if bAnd != 0 {
- Xsqlite3_str_append(tls, pStr, ts+22894, 5)
+ Xsqlite3_str_append(tls, pStr, ts+22960, 5)
}
if nTerm > 1 {
- Xsqlite3_str_append(tls, pStr, ts+22900, 1)
+ Xsqlite3_str_append(tls, pStr, ts+22966, 1)
}
for i = 0; i < nTerm; i++ {
if i != 0 {
- Xsqlite3_str_append(tls, pStr, ts+14119, 1)
+ Xsqlite3_str_append(tls, pStr, ts+14138, 1)
}
Xsqlite3_str_appendall(tls, pStr, explainIndexColumnName(tls, pIdx, iTerm+i))
}
if nTerm > 1 {
- Xsqlite3_str_append(tls, pStr, ts+6309, 1)
+ Xsqlite3_str_append(tls, pStr, ts+6328, 1)
}
Xsqlite3_str_append(tls, pStr, zOp, 1)
if nTerm > 1 {
- Xsqlite3_str_append(tls, pStr, ts+22900, 1)
+ Xsqlite3_str_append(tls, pStr, ts+22966, 1)
}
for i = 0; i < nTerm; i++ {
if i != 0 {
- Xsqlite3_str_append(tls, pStr, ts+14119, 1)
+ Xsqlite3_str_append(tls, pStr, ts+14138, 1)
}
- Xsqlite3_str_append(tls, pStr, ts+6360, 1)
+ Xsqlite3_str_append(tls, pStr, ts+6379, 1)
}
if nTerm > 1 {
- Xsqlite3_str_append(tls, pStr, ts+6309, 1)
+ Xsqlite3_str_append(tls, pStr, ts+6328, 1)
}
}
@@ -142607,29 +142653,29 @@ func explainIndexRange(tls *libc.TLS, pStr uintptr, pLoop uintptr) {
if int32(nEq) == 0 && (*WhereLoop)(unsafe.Pointer(pLoop)).FwsFlags&U32(WHERE_BTM_LIMIT|WHERE_TOP_LIMIT) == U32(0) {
return
}
- Xsqlite3_str_append(tls, pStr, ts+22902, 2)
+ Xsqlite3_str_append(tls, pStr, ts+22968, 2)
for i = 0; i < int32(nEq); i++ {
var z uintptr = explainIndexColumnName(tls, pIndex, i)
if i != 0 {
- Xsqlite3_str_append(tls, pStr, ts+22894, 5)
+ Xsqlite3_str_append(tls, pStr, ts+22960, 5)
}
Xsqlite3_str_appendf(tls, pStr, func() uintptr {
if i >= int32(nSkip) {
- return ts + 22905
+ return ts + 22971
}
- return ts + 22910
+ return ts + 22976
}(), libc.VaList(bp, z))
}
j = i
if (*WhereLoop)(unsafe.Pointer(pLoop)).FwsFlags&U32(WHERE_BTM_LIMIT) != 0 {
- explainAppendTerm(tls, pStr, pIndex, int32(*(*U16)(unsafe.Pointer(pLoop + 24 + 2))), j, i, ts+22918)
+ explainAppendTerm(tls, pStr, pIndex, int32(*(*U16)(unsafe.Pointer(pLoop + 24 + 2))), j, i, ts+22984)
i = 1
}
if (*WhereLoop)(unsafe.Pointer(pLoop)).FwsFlags&U32(WHERE_TOP_LIMIT) != 0 {
- explainAppendTerm(tls, pStr, pIndex, int32(*(*U16)(unsafe.Pointer(pLoop + 24 + 4))), j, i, ts+22920)
+ explainAppendTerm(tls, pStr, pIndex, int32(*(*U16)(unsafe.Pointer(pLoop + 24 + 4))), j, i, ts+22986)
}
- Xsqlite3_str_append(tls, pStr, ts+6309, 1)
+ Xsqlite3_str_append(tls, pStr, ts+6328, 1)
}
// This function is a no-op unless currently processing an EXPLAIN QUERY PLAN
@@ -142670,11 +142716,11 @@ func Xsqlite3WhereExplainOneScan(tls *libc.TLS, pParse uintptr, pTabList uintptr
Xsqlite3StrAccumInit(tls, bp+64, db, bp+96, int32(unsafe.Sizeof([100]int8{})), SQLITE_MAX_LENGTH)
(*StrAccum)(unsafe.Pointer(bp + 64)).FprintfFlags = U8(SQLITE_PRINTF_INTERNAL)
- Xsqlite3_str_appendf(tls, bp+64, ts+22922, libc.VaList(bp, func() uintptr {
+ Xsqlite3_str_appendf(tls, bp+64, ts+22988, libc.VaList(bp, func() uintptr {
if isSearch != 0 {
- return ts + 22928
+ return ts + 22994
}
- return ts + 22935
+ return ts + 23001
}(), pItem))
if flags&U32(WHERE_IPK|WHERE_VIRTUALTABLE) == U32(0) {
var zFmt uintptr = uintptr(0)
@@ -142684,43 +142730,43 @@ func Xsqlite3WhereExplainOneScan(tls *libc.TLS, pParse uintptr, pTabList uintptr
if !((*Table)(unsafe.Pointer((*SrcItem)(unsafe.Pointer(pItem)).FpTab)).FtabFlags&U32(TF_WithoutRowid) == U32(0)) && int32(*(*uint16)(unsafe.Pointer(pIdx + 100))&0x3>>0) == SQLITE_IDXTYPE_PRIMARYKEY {
if isSearch != 0 {
- zFmt = ts + 12328
+ zFmt = ts + 12347
}
} else if flags&U32(WHERE_PARTIALIDX) != 0 {
- zFmt = ts + 22940
+ zFmt = ts + 23006
} else if flags&U32(WHERE_AUTO_INDEX) != 0 {
- zFmt = ts + 22973
+ zFmt = ts + 23039
} else if flags&U32(WHERE_IDX_ONLY) != 0 {
- zFmt = ts + 22998
+ zFmt = ts + 23064
} else {
- zFmt = ts + 23016
+ zFmt = ts + 23082
}
if zFmt != 0 {
- Xsqlite3_str_append(tls, bp+64, ts+23025, 7)
+ Xsqlite3_str_append(tls, bp+64, ts+23091, 7)
Xsqlite3_str_appendf(tls, bp+64, zFmt, libc.VaList(bp+16, (*Index)(unsafe.Pointer(pIdx)).FzName))
explainIndexRange(tls, bp+64, pLoop)
}
} else if flags&U32(WHERE_IPK) != U32(0) && flags&U32(WHERE_CONSTRAINT) != U32(0) {
var cRangeOp int8
- var zRowid uintptr = ts + 17625
- Xsqlite3_str_appendf(tls, bp+64, ts+23033, libc.VaList(bp+24, zRowid))
+ var zRowid uintptr = ts + 17644
+ Xsqlite3_str_appendf(tls, bp+64, ts+23099, libc.VaList(bp+24, zRowid))
if flags&U32(WHERE_COLUMN_EQ|WHERE_COLUMN_IN) != 0 {
cRangeOp = int8('=')
} else if flags&U32(WHERE_BOTH_LIMIT) == U32(WHERE_BOTH_LIMIT) {
- Xsqlite3_str_appendf(tls, bp+64, ts+23064, libc.VaList(bp+32, zRowid))
+ Xsqlite3_str_appendf(tls, bp+64, ts+23130, libc.VaList(bp+32, zRowid))
cRangeOp = int8('<')
} else if flags&U32(WHERE_BTM_LIMIT) != 0 {
cRangeOp = int8('>')
} else {
cRangeOp = int8('<')
}
- Xsqlite3_str_appendf(tls, bp+64, ts+23074, libc.VaList(bp+40, int32(cRangeOp)))
+ Xsqlite3_str_appendf(tls, bp+64, ts+23140, libc.VaList(bp+40, int32(cRangeOp)))
} else if flags&U32(WHERE_VIRTUALTABLE) != U32(0) {
- Xsqlite3_str_appendf(tls, bp+64, ts+23079,
+ Xsqlite3_str_appendf(tls, bp+64, ts+23145,
libc.VaList(bp+48, *(*int32)(unsafe.Pointer(pLoop + 24)), *(*uintptr)(unsafe.Pointer(pLoop + 24 + 16))))
}
if int32((*SrcItem)(unsafe.Pointer(pItem)).Ffg.Fjointype)&JT_LEFT != 0 {
- Xsqlite3_str_appendf(tls, bp+64, ts+23106, 0)
+ Xsqlite3_str_appendf(tls, bp+64, ts+23172, 0)
}
zMsg = Xsqlite3StrAccumFinish(tls, bp+64)
@@ -142752,25 +142798,25 @@ func Xsqlite3WhereExplainBloomFilter(tls *libc.TLS, pParse uintptr, pWInfo uintp
Xsqlite3StrAccumInit(tls, bp+24, db, bp+56, int32(unsafe.Sizeof([100]int8{})), SQLITE_MAX_LENGTH)
(*StrAccum)(unsafe.Pointer(bp + 24)).FprintfFlags = U8(SQLITE_PRINTF_INTERNAL)
- Xsqlite3_str_appendf(tls, bp+24, ts+23117, libc.VaList(bp, pItem))
+ Xsqlite3_str_appendf(tls, bp+24, ts+23183, libc.VaList(bp, pItem))
pLoop = (*WhereLevel)(unsafe.Pointer(pLevel)).FpWLoop
if (*WhereLoop)(unsafe.Pointer(pLoop)).FwsFlags&U32(WHERE_IPK) != 0 {
var pTab uintptr = (*SrcItem)(unsafe.Pointer(pItem)).FpTab
if int32((*Table)(unsafe.Pointer(pTab)).FiPKey) >= 0 {
- Xsqlite3_str_appendf(tls, bp+24, ts+22905, libc.VaList(bp+8, (*Column)(unsafe.Pointer((*Table)(unsafe.Pointer(pTab)).FaCol+uintptr((*Table)(unsafe.Pointer(pTab)).FiPKey)*24)).FzCnName))
+ Xsqlite3_str_appendf(tls, bp+24, ts+22971, libc.VaList(bp+8, (*Column)(unsafe.Pointer((*Table)(unsafe.Pointer(pTab)).FaCol+uintptr((*Table)(unsafe.Pointer(pTab)).FiPKey)*24)).FzCnName))
} else {
- Xsqlite3_str_appendf(tls, bp+24, ts+23138, 0)
+ Xsqlite3_str_appendf(tls, bp+24, ts+23204, 0)
}
} else {
for i = int32((*WhereLoop)(unsafe.Pointer(pLoop)).FnSkip); i < int32(*(*U16)(unsafe.Pointer(pLoop + 24))); i++ {
var z uintptr = explainIndexColumnName(tls, *(*uintptr)(unsafe.Pointer(pLoop + 24 + 8)), i)
if i > int32((*WhereLoop)(unsafe.Pointer(pLoop)).FnSkip) {
- Xsqlite3_str_append(tls, bp+24, ts+22894, 5)
+ Xsqlite3_str_append(tls, bp+24, ts+22960, 5)
}
- Xsqlite3_str_appendf(tls, bp+24, ts+22905, libc.VaList(bp+16, z))
+ Xsqlite3_str_appendf(tls, bp+24, ts+22971, libc.VaList(bp+16, z))
}
}
- Xsqlite3_str_append(tls, bp+24, ts+6309, 1)
+ Xsqlite3_str_append(tls, bp+24, ts+6328, 1)
zMsg = Xsqlite3StrAccumFinish(tls, bp+24)
ret = Xsqlite3VdbeAddOp4(tls, v, OP_Explain, Xsqlite3VdbeCurrentAddr(tls, v),
(*Parse)(unsafe.Pointer(pParse)).FaddrExplain, 0, zMsg, -6)
@@ -144364,7 +144410,7 @@ __134:
;
__126:
;
- Xsqlite3VdbeExplain(tls, pParse, uint8(1), ts+23146, 0)
+ Xsqlite3VdbeExplain(tls, pParse, uint8(1), ts+23212, 0)
ii = 0
__135:
if !(ii < (*WhereClause)(unsafe.Pointer(pOrWc)).FnTerm) {
@@ -144392,7 +144438,7 @@ __139:
pOrExpr = pAndExpr
__140:
;
- Xsqlite3VdbeExplain(tls, pParse, uint8(1), ts+23161, libc.VaList(bp, ii+1))
+ Xsqlite3VdbeExplain(tls, pParse, uint8(1), ts+23227, libc.VaList(bp, ii+1))
pSubWInfo = Xsqlite3WhereBegin(tls, pParse, pOrTab, pOrExpr, uintptr(0), uintptr(0), uintptr(0),
uint16(WHERE_OR_SUBCLAUSE), iCovCur)
@@ -144910,7 +144956,7 @@ func Xsqlite3WhereRightJoinLoop(tls *libc.TLS, pWInfo uintptr, iLevel int32, pLe
var mAll Bitmask = uint64(0)
var k int32
- Xsqlite3VdbeExplain(tls, pParse, uint8(1), ts+23170, libc.VaList(bp, (*Table)(unsafe.Pointer((*SrcItem)(unsafe.Pointer(pTabItem)).FpTab)).FzName))
+ Xsqlite3VdbeExplain(tls, pParse, uint8(1), ts+23236, libc.VaList(bp, (*Table)(unsafe.Pointer((*SrcItem)(unsafe.Pointer(pTabItem)).FpTab)).FzName))
for k = 0; k < iLevel; k++ {
var iIdxCur int32
@@ -145268,10 +145314,10 @@ type Op2 = struct {
}
var aOp = [4]Op2{
- {FzOp: ts + 17474, FeOp2: uint8(SQLITE_INDEX_CONSTRAINT_MATCH)},
- {FzOp: ts + 16804, FeOp2: uint8(SQLITE_INDEX_CONSTRAINT_GLOB)},
- {FzOp: ts + 16324, FeOp2: uint8(SQLITE_INDEX_CONSTRAINT_LIKE)},
- {FzOp: ts + 23184, FeOp2: uint8(SQLITE_INDEX_CONSTRAINT_REGEXP)},
+ {FzOp: ts + 17493, FeOp2: uint8(SQLITE_INDEX_CONSTRAINT_MATCH)},
+ {FzOp: ts + 16823, FeOp2: uint8(SQLITE_INDEX_CONSTRAINT_GLOB)},
+ {FzOp: ts + 16343, FeOp2: uint8(SQLITE_INDEX_CONSTRAINT_LIKE)},
+ {FzOp: ts + 23250, FeOp2: uint8(SQLITE_INDEX_CONSTRAINT_REGEXP)},
}
func transferJoinMarkings(tls *libc.TLS, pDerived uintptr, pBase uintptr) {
@@ -145761,12 +145807,12 @@ func exprAnalyze(tls *libc.TLS, pSrc uintptr, pWC uintptr, idxTerm int32) {
extraRight = x - uint64(1)
if prereqAll>>1 >= x {
- Xsqlite3ErrorMsg(tls, pParse, ts+23191, 0)
+ Xsqlite3ErrorMsg(tls, pParse, ts+23257, 0)
return
}
} else if prereqAll>>1 >= x {
if (*SrcList)(unsafe.Pointer(pSrc)).FnSrc > 0 && int32((*SrcItem)(unsafe.Pointer(pSrc+8)).Ffg.Fjointype)&JT_LTORJ != 0 {
- Xsqlite3ErrorMsg(tls, pParse, ts+23191, 0)
+ Xsqlite3ErrorMsg(tls, pParse, ts+23257, 0)
return
}
*(*U32)(unsafe.Pointer(pExpr + 4)) &= libc.Uint32FromInt32(libc.CplInt32(EP_InnerON))
@@ -145845,7 +145891,7 @@ func exprAnalyze(tls *libc.TLS, pSrc uintptr, pWC uintptr, idxTerm int32) {
!((*Expr)(unsafe.Pointer(pExpr)).Fflags&U32(EP_OuterON) != U32(0)) &&
0 == Xsqlite3ExprCanBeNull(tls, pLeft) {
(*Expr)(unsafe.Pointer(pExpr)).Fop = U8(TK_TRUEFALSE)
- *(*uintptr)(unsafe.Pointer(pExpr + 8)) = ts + 8121
+ *(*uintptr)(unsafe.Pointer(pExpr + 8)) = ts + 9070
*(*U32)(unsafe.Pointer(pExpr + 4)) |= U32(EP_IsFalse)
(*WhereTerm)(unsafe.Pointer(pTerm)).FprereqAll = uint64(0)
(*WhereTerm)(unsafe.Pointer(pTerm)).FeOperator = U16(0)
@@ -145939,7 +145985,7 @@ func exprAnalyze(tls *libc.TLS, pSrc uintptr, pWC uintptr, idxTerm int32) {
}
zCollSeqName = func() uintptr {
if *(*int32)(unsafe.Pointer(bp + 20)) != 0 {
- return ts + 23232
+ return ts + 23298
}
return uintptr(unsafe.Pointer(&Xsqlite3StrBINARY))
}()
@@ -146315,7 +146361,7 @@ func Xsqlite3WhereTabFuncArgs(tls *libc.TLS, pParse uintptr, pItem uintptr, pWC
k++
}
if k >= int32((*Table)(unsafe.Pointer(pTab)).FnCol) {
- Xsqlite3ErrorMsg(tls, pParse, ts+23239,
+ Xsqlite3ErrorMsg(tls, pParse, ts+23305,
libc.VaList(bp, (*Table)(unsafe.Pointer(pTab)).FzName, j))
return
}
@@ -146331,7 +146377,7 @@ func Xsqlite3WhereTabFuncArgs(tls *libc.TLS, pParse uintptr, pItem uintptr, pWC
pRhs = Xsqlite3PExpr(tls, pParse, TK_UPLUS,
Xsqlite3ExprDup(tls, (*Parse)(unsafe.Pointer(pParse)).Fdb, (*ExprList_item)(unsafe.Pointer(pArgs+8+uintptr(j)*32)).FpExpr, 0), uintptr(0))
pTerm = Xsqlite3PExpr(tls, pParse, TK_EQ, pColRef, pRhs)
- if int32((*SrcItem)(unsafe.Pointer(pItem)).Ffg.Fjointype)&(JT_LEFT|JT_LTORJ) != 0 {
+ if int32((*SrcItem)(unsafe.Pointer(pItem)).Ffg.Fjointype)&(JT_LEFT|JT_LTORJ|JT_RIGHT) != 0 {
joinType = U32(EP_OuterON)
} else {
joinType = U32(EP_InnerON)
@@ -147049,7 +147095,7 @@ __4:
goto __6
}
Xsqlite3_log(tls, SQLITE_WARNING|int32(1)<<8,
- ts+23275, libc.VaList(bp, (*Table)(unsafe.Pointer(pTable)).FzName,
+ ts+23341, libc.VaList(bp, (*Table)(unsafe.Pointer(pTable)).FzName,
(*Column)(unsafe.Pointer((*Table)(unsafe.Pointer(pTable)).FaCol+uintptr(iCol)*24)).FzCnName))
sentWarning = U8(1)
__6:
@@ -147120,7 +147166,7 @@ __13:
__14:
;
*(*uintptr)(unsafe.Pointer(pLoop + 24 + 8)) = pIdx
- (*Index)(unsafe.Pointer(pIdx)).FzName = ts + 23301
+ (*Index)(unsafe.Pointer(pIdx)).FzName = ts + 23367
(*Index)(unsafe.Pointer(pIdx)).FpTable = pTable
n = 0
idxCols = uint64(0)
@@ -147294,6 +147340,10 @@ func sqlite3ConstructBloomFilter(tls *libc.TLS, pWInfo uintptr, iLevel int32, pL
var v uintptr = (*Parse)(unsafe.Pointer(pParse)).FpVdbe
var pLoop uintptr = (*WhereLevel)(unsafe.Pointer(pLevel)).FpWLoop
var iCur int32
+ var saved_pIdxEpr uintptr
+
+ saved_pIdxEpr = (*Parse)(unsafe.Pointer(pParse)).FpIdxEpr
+ (*Parse)(unsafe.Pointer(pParse)).FpIdxEpr = uintptr(0)
addrOnce = Xsqlite3VdbeAddOp0(tls, v, OP_Once)
for __ccgo := true; __ccgo; __ccgo = iLevel < int32((*WhereInfo)(unsafe.Pointer(pWInfo)).FnLevel) {
@@ -147337,9 +147387,7 @@ func sqlite3ConstructBloomFilter(tls *libc.TLS, pWInfo uintptr, iLevel int32, pL
var r1 int32 = Xsqlite3GetTempRange(tls, pParse, n)
var jj int32
for jj = 0; jj < n; jj++ {
- var iCol int32 = int32(*(*I16)(unsafe.Pointer((*Index)(unsafe.Pointer(pIdx)).FaiColumn + uintptr(jj)*2)))
-
- Xsqlite3ExprCodeGetColumnOfTable(tls, v, (*Index)(unsafe.Pointer(pIdx)).FpTable, iCur, iCol, r1+jj)
+ Xsqlite3ExprCodeLoadIndexColumn(tls, pParse, pIdx, iCur, jj, r1+jj)
}
Xsqlite3VdbeAddOp4Int(tls, v, OP_FilterAdd, (*WhereLevel)(unsafe.Pointer(pLevel)).FregFilter, 0, r1, n)
Xsqlite3ReleaseTempRange(tls, pParse, r1, n)
@@ -147373,6 +147421,7 @@ func sqlite3ConstructBloomFilter(tls *libc.TLS, pWInfo uintptr, iLevel int32, pL
}
}
Xsqlite3VdbeJumpHere(tls, v, addrOnce)
+ (*Parse)(unsafe.Pointer(pParse)).FpIdxEpr = saved_pIdxEpr
}
func allocateIndexInfo(tls *libc.TLS, pWInfo uintptr, pWC uintptr, mUnusable Bitmask, pSrc uintptr, pmNoOmit uintptr) uintptr {
@@ -147486,7 +147535,7 @@ __3:
uint64(unsafe.Sizeof(sqlite3_index_orderby{}))*uint64(nOrderBy)+uint64(unsafe.Sizeof(HiddenIndexInfo1{}))+
uint64(unsafe.Sizeof(uintptr(0)))*uint64(nTerm))
if pIdxInfo == uintptr(0) {
- Xsqlite3ErrorMsg(tls, pParse, ts+1480, 0)
+ Xsqlite3ErrorMsg(tls, pParse, ts+1499, 0)
return uintptr(0)
}
pHidden = pIdxInfo + 1*96
@@ -147608,9 +147657,9 @@ func vtabBestIndex(tls *libc.TLS, pParse uintptr, pTab uintptr, p uintptr) int32
if rc == SQLITE_NOMEM {
Xsqlite3OomFault(tls, (*Parse)(unsafe.Pointer(pParse)).Fdb)
} else if !(int32((*Sqlite3_vtab)(unsafe.Pointer(pVtab)).FzErrMsg) != 0) {
- Xsqlite3ErrorMsg(tls, pParse, ts+4493, libc.VaList(bp, Xsqlite3ErrStr(tls, rc)))
+ Xsqlite3ErrorMsg(tls, pParse, ts+4512, libc.VaList(bp, Xsqlite3ErrStr(tls, rc)))
} else {
- Xsqlite3ErrorMsg(tls, pParse, ts+4493, libc.VaList(bp+8, (*Sqlite3_vtab)(unsafe.Pointer(pVtab)).FzErrMsg))
+ Xsqlite3ErrorMsg(tls, pParse, ts+4512, libc.VaList(bp+8, (*Sqlite3_vtab)(unsafe.Pointer(pVtab)).FzErrMsg))
}
}
Xsqlite3_free(tls, (*Sqlite3_vtab)(unsafe.Pointer(pVtab)).FzErrMsg)
@@ -147631,11 +147680,16 @@ func whereKeyStats(tls *libc.TLS, pParse uintptr, pIdx uintptr, pRec uintptr, ro
_ = pParse
+ if !((*Table)(unsafe.Pointer((*Index)(unsafe.Pointer(pIdx)).FpTable)).FtabFlags&U32(TF_WithoutRowid) == U32(0)) && int32(*(*uint16)(unsafe.Pointer(pIdx + 100))&0x3>>0) == SQLITE_IDXTYPE_PRIMARYKEY {
+ nField = int32((*Index)(unsafe.Pointer(pIdx)).FnKeyCol)
+ } else {
+ nField = int32((*Index)(unsafe.Pointer(pIdx)).FnColumn)
+ }
nField = func() int32 {
- if int32((*UnpackedRecord)(unsafe.Pointer(pRec)).FnField) < (*Index)(unsafe.Pointer(pIdx)).FnSample {
+ if int32((*UnpackedRecord)(unsafe.Pointer(pRec)).FnField) < nField {
return int32((*UnpackedRecord)(unsafe.Pointer(pRec)).FnField)
}
- return (*Index)(unsafe.Pointer(pIdx)).FnSample
+ return nField
}()
iCol = 0
iSample = (*Index)(unsafe.Pointer(pIdx)).FnSample * nField
@@ -149216,7 +149270,7 @@ __4:
j >= (*WhereClause)(unsafe.Pointer(pWC)).FnTerm ||
*(*uintptr)(unsafe.Pointer((*WhereLoop)(unsafe.Pointer(pNew)).FaLTerm + uintptr(iTerm)*8)) != uintptr(0) ||
int32((*sqlite3_index_constraint)(unsafe.Pointer(pIdxCons)).Fusable) == 0 {
- Xsqlite3ErrorMsg(tls, pParse, ts+23312, libc.VaList(bp, (*Table)(unsafe.Pointer((*SrcItem)(unsafe.Pointer(pSrc)).FpTab)).FzName))
+ Xsqlite3ErrorMsg(tls, pParse, ts+23378, libc.VaList(bp, (*Table)(unsafe.Pointer((*SrcItem)(unsafe.Pointer(pSrc)).FpTab)).FzName))
return SQLITE_ERROR
}
@@ -149274,7 +149328,7 @@ __6:
(*WhereLoop)(unsafe.Pointer(pNew)).FnLTerm = U16(mxTerm + 1)
for i = 0; i <= mxTerm; i++ {
if *(*uintptr)(unsafe.Pointer((*WhereLoop)(unsafe.Pointer(pNew)).FaLTerm + uintptr(i)*8)) == uintptr(0) {
- Xsqlite3ErrorMsg(tls, pParse, ts+23312, libc.VaList(bp+8, (*Table)(unsafe.Pointer((*SrcItem)(unsafe.Pointer(pSrc)).FpTab)).FzName))
+ Xsqlite3ErrorMsg(tls, pParse, ts+23378, libc.VaList(bp+8, (*Table)(unsafe.Pointer((*SrcItem)(unsafe.Pointer(pSrc)).FpTab)).FzName))
return SQLITE_ERROR
}
@@ -149672,7 +149726,7 @@ __1:
mPrior = mPrior | (*WhereLoop)(unsafe.Pointer(pNew)).FmaskSelf
if rc != 0 || (*Sqlite3)(unsafe.Pointer(db)).FmallocFailed != 0 {
if rc == SQLITE_DONE {
- Xsqlite3_log(tls, SQLITE_WARNING, ts+23338, 0)
+ Xsqlite3_log(tls, SQLITE_WARNING, ts+23404, 0)
rc = SQLITE_OK
} else {
goto __3
@@ -150279,7 +150333,7 @@ __3:
}
if nFrom == 0 {
- Xsqlite3ErrorMsg(tls, pParse, ts+23373, 0)
+ Xsqlite3ErrorMsg(tls, pParse, ts+23439, 0)
Xsqlite3DbFreeNN(tls, (*Parse)(unsafe.Pointer(pParse)).Fdb, pSpace)
return SQLITE_ERROR
}
@@ -150314,6 +150368,10 @@ __3:
if int32((*WherePath)(unsafe.Pointer(pFrom)).FisOrdered) == (*ExprList)(unsafe.Pointer((*WhereInfo)(unsafe.Pointer(pWInfo)).FpOrderBy)).FnExpr {
(*WhereInfo)(unsafe.Pointer(pWInfo)).FeDistinct = U8(WHERE_DISTINCT_ORDERED)
}
+ if (*Select)(unsafe.Pointer((*WhereInfo)(unsafe.Pointer(pWInfo)).FpSelect)).FpOrderBy != 0 &&
+ int32((*WhereInfo)(unsafe.Pointer(pWInfo)).FnOBSat) > (*ExprList)(unsafe.Pointer((*Select)(unsafe.Pointer((*WhereInfo)(unsafe.Pointer(pWInfo)).FpSelect)).FpOrderBy)).FnExpr {
+ (*WhereInfo)(unsafe.Pointer(pWInfo)).FnOBSat = I8((*ExprList)(unsafe.Pointer((*Select)(unsafe.Pointer((*WhereInfo)(unsafe.Pointer(pWInfo)).FpSelect)).FpOrderBy)).FnExpr)
+ }
} else {
(*WhereInfo)(unsafe.Pointer(pWInfo)).FrevMask = (*WherePath)(unsafe.Pointer(pFrom)).FrevLoop
if int32((*WhereInfo)(unsafe.Pointer(pWInfo)).FnOBSat) <= 0 {
@@ -150608,6 +150666,9 @@ func whereAddIndexedExpr(tls *libc.TLS, pParse uintptr, pIdx uintptr, iIdxCur in
(*IndexedExpr)(unsafe.Pointer(p)).FiIdxCur = iIdxCur
(*IndexedExpr)(unsafe.Pointer(p)).FiIdxCol = i
(*IndexedExpr)(unsafe.Pointer(p)).FbMaybeNullRow = U8(bMaybeNullRow)
+ if Xsqlite3IndexAffinityStr(tls, (*Parse)(unsafe.Pointer(pParse)).Fdb, pIdx) != 0 {
+ (*IndexedExpr)(unsafe.Pointer(p)).Faff = U8(*(*int8)(unsafe.Pointer((*Index)(unsafe.Pointer(pIdx)).FzColAff + uintptr(i))))
+ }
(*Parse)(unsafe.Pointer(pParse)).FpIdxEpr = p
if (*IndexedExpr)(unsafe.Pointer(p)).FpIENext == uintptr(0) {
Xsqlite3ParserAddCleanup(tls, pParse, *(*uintptr)(unsafe.Pointer(&struct {
@@ -150760,7 +150821,7 @@ __1:
if !((*SrcList)(unsafe.Pointer(pTabList)).FnSrc > int32(uint64(unsafe.Sizeof(Bitmask(0)))*uint64(8))) {
goto __2
}
- Xsqlite3ErrorMsg(tls, pParse, ts+23391, libc.VaList(bp, int32(uint64(unsafe.Sizeof(Bitmask(0)))*uint64(8))))
+ Xsqlite3ErrorMsg(tls, pParse, ts+23457, libc.VaList(bp, int32(uint64(unsafe.Sizeof(Bitmask(0)))*uint64(8))))
return uintptr(0)
__2:
;
@@ -150824,7 +150885,7 @@ __6:
(*WhereInfo)(unsafe.Pointer(pWInfo)).FeDistinct = U8(WHERE_DISTINCT_UNIQUE)
__7:
;
- Xsqlite3VdbeExplain(tls, pParse, uint8(0), ts+23419, 0)
+ Xsqlite3VdbeExplain(tls, pParse, uint8(0), ts+23485, 0)
goto __5
__4:
ii = 0
@@ -151706,7 +151767,7 @@ __1:
error_out:
Xsqlite3_result_error(tls,
- pCtx, ts+23437, -1)
+ pCtx, ts+23503, -1)
}
func nth_valueFinalizeFunc(tls *libc.TLS, pCtx uintptr) {
@@ -151839,7 +151900,7 @@ func ntileStepFunc(tls *libc.TLS, pCtx uintptr, nArg int32, apArg uintptr) {
(*NtileCtx)(unsafe.Pointer(p)).FnParam = Xsqlite3_value_int64(tls, *(*uintptr)(unsafe.Pointer(apArg)))
if (*NtileCtx)(unsafe.Pointer(p)).FnParam <= int64(0) {
Xsqlite3_result_error(tls,
- pCtx, ts+23493, -1)
+ pCtx, ts+23559, -1)
}
}
(*NtileCtx)(unsafe.Pointer(p)).FnTotal++
@@ -151929,17 +151990,17 @@ func last_valueFinalizeFunc(tls *libc.TLS, pCtx uintptr) {
}
}
-var row_numberName = *(*[11]int8)(unsafe.Pointer(ts + 23538))
-var dense_rankName = *(*[11]int8)(unsafe.Pointer(ts + 23549))
-var rankName = *(*[5]int8)(unsafe.Pointer(ts + 23560))
-var percent_rankName = *(*[13]int8)(unsafe.Pointer(ts + 23565))
-var cume_distName = *(*[10]int8)(unsafe.Pointer(ts + 23578))
-var ntileName = *(*[6]int8)(unsafe.Pointer(ts + 23588))
-var last_valueName = *(*[11]int8)(unsafe.Pointer(ts + 23594))
-var nth_valueName = *(*[10]int8)(unsafe.Pointer(ts + 23605))
-var first_valueName = *(*[12]int8)(unsafe.Pointer(ts + 23615))
-var leadName = *(*[5]int8)(unsafe.Pointer(ts + 23627))
-var lagName = *(*[4]int8)(unsafe.Pointer(ts + 23632))
+var row_numberName = *(*[11]int8)(unsafe.Pointer(ts + 23604))
+var dense_rankName = *(*[11]int8)(unsafe.Pointer(ts + 23615))
+var rankName = *(*[5]int8)(unsafe.Pointer(ts + 23626))
+var percent_rankName = *(*[13]int8)(unsafe.Pointer(ts + 23631))
+var cume_distName = *(*[10]int8)(unsafe.Pointer(ts + 23644))
+var ntileName = *(*[6]int8)(unsafe.Pointer(ts + 23654))
+var last_valueName = *(*[11]int8)(unsafe.Pointer(ts + 23660))
+var nth_valueName = *(*[10]int8)(unsafe.Pointer(ts + 23671))
+var first_valueName = *(*[12]int8)(unsafe.Pointer(ts + 23681))
+var leadName = *(*[5]int8)(unsafe.Pointer(ts + 23693))
+var lagName = *(*[4]int8)(unsafe.Pointer(ts + 23698))
func noopStepFunc(tls *libc.TLS, p uintptr, n int32, a uintptr) {
_ = p
@@ -151985,7 +152046,7 @@ func windowFind(tls *libc.TLS, pParse uintptr, pList uintptr, zName uintptr) uin
}
}
if p == uintptr(0) {
- Xsqlite3ErrorMsg(tls, pParse, ts+23636, libc.VaList(bp, zName))
+ Xsqlite3ErrorMsg(tls, pParse, ts+23702, libc.VaList(bp, zName))
}
return p
}
@@ -152029,12 +152090,12 @@ func Xsqlite3WindowUpdate(tls *libc.TLS, pParse uintptr, pList uintptr, pWin uin
((*Window)(unsafe.Pointer(pWin)).FpStart != 0 || (*Window)(unsafe.Pointer(pWin)).FpEnd != 0) &&
((*Window)(unsafe.Pointer(pWin)).FpOrderBy == uintptr(0) || (*ExprList)(unsafe.Pointer((*Window)(unsafe.Pointer(pWin)).FpOrderBy)).FnExpr != 1) {
Xsqlite3ErrorMsg(tls, pParse,
- ts+23655, 0)
+ ts+23721, 0)
} else if (*FuncDef)(unsafe.Pointer(pFunc)).FfuncFlags&U32(SQLITE_FUNC_WINDOW) != 0 {
var db uintptr = (*Parse)(unsafe.Pointer(pParse)).Fdb
if (*Window)(unsafe.Pointer(pWin)).FpFilter != 0 {
Xsqlite3ErrorMsg(tls, pParse,
- ts+23726, 0)
+ ts+23792, 0)
} else {
*(*[8]WindowUpdate)(unsafe.Pointer(bp)) = [8]WindowUpdate{
{FzFunc: uintptr(unsafe.Pointer(&row_numberName)), FeFrmType: TK_ROWS, FeStart: TK_UNBOUNDED, FeEnd: TK_CURRENT},
@@ -152057,7 +152118,7 @@ func Xsqlite3WindowUpdate(tls *libc.TLS, pParse uintptr, pList uintptr, pWin uin
(*Window)(unsafe.Pointer(pWin)).FeEnd = U8((*WindowUpdate)(unsafe.Pointer(bp + uintptr(i)*24)).FeEnd)
(*Window)(unsafe.Pointer(pWin)).FeExclude = U8(0)
if int32((*Window)(unsafe.Pointer(pWin)).FeStart) == TK_FOLLOWING {
- (*Window)(unsafe.Pointer(pWin)).FpStart = Xsqlite3Expr(tls, db, TK_INTEGER, ts+9290)
+ (*Window)(unsafe.Pointer(pWin)).FpStart = Xsqlite3Expr(tls, db, TK_INTEGER, ts+9309)
}
break
}
@@ -152263,7 +152324,7 @@ func disallowAggregatesInOrderByCb(tls *libc.TLS, pWalker uintptr, pExpr uintptr
if int32((*Expr)(unsafe.Pointer(pExpr)).Fop) == TK_AGG_FUNCTION && (*Expr)(unsafe.Pointer(pExpr)).FpAggInfo == uintptr(0) {
Xsqlite3ErrorMsg(tls, (*Walker)(unsafe.Pointer(pWalker)).FpParse,
- ts+23789, libc.VaList(bp, *(*uintptr)(unsafe.Pointer(pExpr + 8))))
+ ts+23855, libc.VaList(bp, *(*uintptr)(unsafe.Pointer(pExpr + 8))))
}
return WRC_Continue
}
@@ -152379,7 +152440,7 @@ func Xsqlite3WindowRewrite(tls *libc.TLS, pParse uintptr, p uintptr) int32 {
if *(*uintptr)(unsafe.Pointer(bp + 48)) == uintptr(0) {
*(*uintptr)(unsafe.Pointer(bp + 48)) = Xsqlite3ExprListAppend(tls, pParse, uintptr(0),
- Xsqlite3Expr(tls, db, TK_INTEGER, ts+8882))
+ Xsqlite3Expr(tls, db, TK_INTEGER, ts+8890))
}
pSub = Xsqlite3SelectNew(tls,
@@ -152494,7 +152555,7 @@ __1:
eStart == TK_FOLLOWING && (eEnd == TK_PRECEDING || eEnd == TK_CURRENT)) {
goto __2
}
- Xsqlite3ErrorMsg(tls, pParse, ts+23815, 0)
+ Xsqlite3ErrorMsg(tls, pParse, ts+23881, 0)
goto windowAllocErr
__2:
;
@@ -152559,15 +152620,15 @@ func Xsqlite3WindowChain(tls *libc.TLS, pParse uintptr, pWin uintptr, pList uint
var zErr uintptr = uintptr(0)
if (*Window)(unsafe.Pointer(pWin)).FpPartition != 0 {
- zErr = ts + 23847
+ zErr = ts + 23913
} else if (*Window)(unsafe.Pointer(pExist)).FpOrderBy != 0 && (*Window)(unsafe.Pointer(pWin)).FpOrderBy != 0 {
- zErr = ts + 23864
+ zErr = ts + 23930
} else if int32((*Window)(unsafe.Pointer(pExist)).FbImplicitFrame) == 0 {
- zErr = ts + 23880
+ zErr = ts + 23946
}
if zErr != 0 {
Xsqlite3ErrorMsg(tls, pParse,
- ts+23900, libc.VaList(bp, zErr, (*Window)(unsafe.Pointer(pWin)).FzBase))
+ ts+23966, libc.VaList(bp, zErr, (*Window)(unsafe.Pointer(pWin)).FzBase))
} else {
(*Window)(unsafe.Pointer(pWin)).FpPartition = Xsqlite3ExprListDup(tls, db, (*Window)(unsafe.Pointer(pExist)).FpPartition, 0)
if (*Window)(unsafe.Pointer(pExist)).FpOrderBy != 0 {
@@ -152588,7 +152649,7 @@ func Xsqlite3WindowAttach(tls *libc.TLS, pParse uintptr, p uintptr, pWin uintptr
(*Window)(unsafe.Pointer(pWin)).FpOwner = p
if (*Expr)(unsafe.Pointer(p)).Fflags&U32(EP_Distinct) != 0 && int32((*Window)(unsafe.Pointer(pWin)).FeFrmType) != TK_FILTER {
Xsqlite3ErrorMsg(tls, pParse,
- ts+23933, 0)
+ ts+23999, 0)
}
} else {
Xsqlite3WindowDelete(tls, (*Parse)(unsafe.Pointer(pParse)).Fdb, pWin)
@@ -152726,7 +152787,7 @@ func windowCheckValue(tls *libc.TLS, pParse uintptr, reg int32, eCond int32) {
Xsqlite3VdbeAddOp2(tls, v, OP_Integer, 0, regZero)
if eCond >= WINDOW_STARTING_NUM {
var regString int32 = Xsqlite3GetTempReg(tls, pParse)
- Xsqlite3VdbeAddOp4(tls, v, OP_String8, 0, regString, 0, ts+1544, -1)
+ Xsqlite3VdbeAddOp4(tls, v, OP_String8, 0, regString, 0, ts+1563, -1)
Xsqlite3VdbeAddOp3(tls, v, OP_Ge, regString, Xsqlite3VdbeCurrentAddr(tls, v)+2, reg)
Xsqlite3VdbeChangeP5(tls, v, uint16(SQLITE_AFF_NUMERIC|SQLITE_JUMPIFNULL))
@@ -152744,11 +152805,11 @@ func windowCheckValue(tls *libc.TLS, pParse uintptr, reg int32, eCond int32) {
}
var azErr = [5]uintptr{
- ts + 23980,
- ts + 24033,
- ts + 23437,
- ts + 24084,
- ts + 24136,
+ ts + 24046,
+ ts + 24099,
+ ts + 23503,
+ ts + 24150,
+ ts + 24202,
}
var aOp1 = [5]int32{OP_Ge, OP_Ge, OP_Gt, OP_Ge, OP_Ge}
@@ -153239,7 +153300,7 @@ func windowCodeRangeTest(tls *libc.TLS, p uintptr, op int32, csr1 int32, regVal
}
- Xsqlite3VdbeAddOp4(tls, v, OP_String8, 0, regString, 0, ts+1544, -1)
+ Xsqlite3VdbeAddOp4(tls, v, OP_String8, 0, regString, 0, ts+1563, -1)
addrGe = Xsqlite3VdbeAddOp3(tls, v, OP_Ge, regString, 0, reg1)
if op == OP_Ge && arith == OP_Add || op == OP_Le && arith == OP_Subtract {
@@ -154143,19 +154204,19 @@ func parserDoubleLinkSelect(tls *libc.TLS, pParse uintptr, p uintptr) {
}
cnt++
if (*Select)(unsafe.Pointer(pLoop)).FpOrderBy != 0 || (*Select)(unsafe.Pointer(pLoop)).FpLimit != 0 {
- Xsqlite3ErrorMsg(tls, pParse, ts+24186,
+ Xsqlite3ErrorMsg(tls, pParse, ts+24252,
libc.VaList(bp, func() uintptr {
if (*Select)(unsafe.Pointer(pLoop)).FpOrderBy != uintptr(0) {
- return ts + 24228
+ return ts + 24294
}
- return ts + 24237
+ return ts + 24303
}(),
Xsqlite3SelectOpName(tls, int32((*Select)(unsafe.Pointer(pNext)).Fop))))
break
}
}
if (*Select)(unsafe.Pointer(p)).FselFlags&U32(SF_MultiValue) == U32(0) && libc.AssignInt32(&mxSelect, *(*int32)(unsafe.Pointer((*Parse)(unsafe.Pointer(pParse)).Fdb + 136 + 4*4))) > 0 && cnt > mxSelect {
- Xsqlite3ErrorMsg(tls, pParse, ts+24243, 0)
+ Xsqlite3ErrorMsg(tls, pParse, ts+24309, 0)
}
}
@@ -154223,7 +154284,7 @@ func parserAddExprIdListTerm(tls *libc.TLS, pParse uintptr, pPrior uintptr, pIdT
var p uintptr = Xsqlite3ExprListAppend(tls, pParse, pPrior, uintptr(0))
if (hasCollate != 0 || sortOrder != -1) &&
int32((*Sqlite3)(unsafe.Pointer((*Parse)(unsafe.Pointer(pParse)).Fdb)).Finit.Fbusy) == 0 {
- Xsqlite3ErrorMsg(tls, pParse, ts+24277,
+ Xsqlite3ErrorMsg(tls, pParse, ts+24343,
libc.VaList(bp, (*Token)(unsafe.Pointer(pIdToken)).Fn, (*Token)(unsafe.Pointer(pIdToken)).Fz))
}
Xsqlite3ExprListSetName(tls, pParse, p, pIdToken, 1)
@@ -155320,7 +155381,7 @@ func yyStackOverflow(tls *libc.TLS, yypParser uintptr) {
yy_pop_parser_stack(tls, yypParser)
}
- Xsqlite3ErrorMsg(tls, pParse, ts+24315, 0)
+ Xsqlite3ErrorMsg(tls, pParse, ts+24381, 0)
(*YyParser)(unsafe.Pointer(yypParser)).FpParse = pParse
}
@@ -156295,21 +156356,21 @@ func yy_reduce(tls *libc.TLS, yypParser uintptr, yyruleno uint32, yyLookahead in
break
case uint32(23):
{
- if (*Token)(unsafe.Pointer(yymsp+8)).Fn == uint32(5) && Xsqlite3_strnicmp(tls, (*Token)(unsafe.Pointer(yymsp+8)).Fz, ts+17625, 5) == 0 {
+ if (*Token)(unsafe.Pointer(yymsp+8)).Fn == uint32(5) && Xsqlite3_strnicmp(tls, (*Token)(unsafe.Pointer(yymsp+8)).Fz, ts+17644, 5) == 0 {
*(*U32)(unsafe.Pointer(yymsp + libc.UintptrFromInt32(-1)*24 + 8)) = U32(TF_WithoutRowid | TF_NoVisibleRowid)
} else {
*(*U32)(unsafe.Pointer(yymsp + libc.UintptrFromInt32(-1)*24 + 8)) = U32(0)
- Xsqlite3ErrorMsg(tls, pParse, ts+24337, libc.VaList(bp, (*Token)(unsafe.Pointer(yymsp+8)).Fn, (*Token)(unsafe.Pointer(yymsp+8)).Fz))
+ Xsqlite3ErrorMsg(tls, pParse, ts+24403, libc.VaList(bp, (*Token)(unsafe.Pointer(yymsp+8)).Fn, (*Token)(unsafe.Pointer(yymsp+8)).Fz))
}
}
break
case uint32(24):
{
- if (*Token)(unsafe.Pointer(yymsp+8)).Fn == uint32(6) && Xsqlite3_strnicmp(tls, (*Token)(unsafe.Pointer(yymsp+8)).Fz, ts+17538, 6) == 0 {
+ if (*Token)(unsafe.Pointer(yymsp+8)).Fn == uint32(6) && Xsqlite3_strnicmp(tls, (*Token)(unsafe.Pointer(yymsp+8)).Fz, ts+17557, 6) == 0 {
*(*U32)(unsafe.Pointer(bp + 40)) = U32(TF_Strict)
} else {
*(*U32)(unsafe.Pointer(bp + 40)) = U32(0)
- Xsqlite3ErrorMsg(tls, pParse, ts+24337, libc.VaList(bp+16, (*Token)(unsafe.Pointer(yymsp+8)).Fn, (*Token)(unsafe.Pointer(yymsp+8)).Fz))
+ Xsqlite3ErrorMsg(tls, pParse, ts+24403, libc.VaList(bp+16, (*Token)(unsafe.Pointer(yymsp+8)).Fn, (*Token)(unsafe.Pointer(yymsp+8)).Fz))
}
}
*(*U32)(unsafe.Pointer(yymsp + 8)) = *(*U32)(unsafe.Pointer(bp + 40))
@@ -157052,7 +157113,7 @@ func yy_reduce(tls *libc.TLS, yypParser uintptr, yyruleno uint32, yyLookahead in
case uint32(157):
{
Xsqlite3SrcListIndexedBy(tls, pParse, *(*uintptr)(unsafe.Pointer(yymsp + libc.UintptrFromInt32(-5)*24 + 8)), yymsp+libc.UintptrFromInt32(-4)*24+8)
- Xsqlite3ExprListCheckLength(tls, pParse, *(*uintptr)(unsafe.Pointer(yymsp + libc.UintptrFromInt32(-2)*24 + 8)), ts+24364)
+ Xsqlite3ExprListCheckLength(tls, pParse, *(*uintptr)(unsafe.Pointer(yymsp + libc.UintptrFromInt32(-2)*24 + 8)), ts+24430)
if *(*uintptr)(unsafe.Pointer(yymsp + libc.UintptrFromInt32(-1)*24 + 8)) != 0 {
var pFromClause uintptr = *(*uintptr)(unsafe.Pointer(yymsp + libc.UintptrFromInt32(-1)*24 + 8))
if (*SrcList)(unsafe.Pointer(pFromClause)).FnSrc > 1 {
@@ -157216,7 +157277,7 @@ func yy_reduce(tls *libc.TLS, yypParser uintptr, yyruleno uint32, yyLookahead in
*(*Token)(unsafe.Pointer(bp + 128)) = *(*Token)(unsafe.Pointer(yymsp + 8))
if int32((*Parse)(unsafe.Pointer(pParse)).Fnested) == 0 {
- Xsqlite3ErrorMsg(tls, pParse, ts+24373, libc.VaList(bp+32, bp+128))
+ Xsqlite3ErrorMsg(tls, pParse, ts+24439, libc.VaList(bp+32, bp+128))
*(*uintptr)(unsafe.Pointer(yymsp + 8)) = uintptr(0)
} else {
*(*uintptr)(unsafe.Pointer(yymsp + 8)) = Xsqlite3PExpr(tls, pParse, TK_REGISTER, uintptr(0), uintptr(0))
@@ -157433,9 +157494,9 @@ func yy_reduce(tls *libc.TLS, yypParser uintptr, yyruleno uint32, yyLookahead in
Xsqlite3ExprUnmapAndDelete(tls, pParse, *(*uintptr)(unsafe.Pointer(yymsp + libc.UintptrFromInt32(-4)*24 + 8)))
*(*uintptr)(unsafe.Pointer(yymsp + libc.UintptrFromInt32(-4)*24 + 8)) = Xsqlite3Expr(tls, (*Parse)(unsafe.Pointer(pParse)).Fdb, TK_STRING, func() uintptr {
if *(*int32)(unsafe.Pointer(yymsp + libc.UintptrFromInt32(-3)*24 + 8)) != 0 {
- return ts + 8116
+ return ts + 9065
}
- return ts + 8121
+ return ts + 9070
}())
if *(*uintptr)(unsafe.Pointer(yymsp + libc.UintptrFromInt32(-4)*24 + 8)) != 0 {
Xsqlite3ExprIdToTrueFalse(tls, *(*uintptr)(unsafe.Pointer(yymsp + libc.UintptrFromInt32(-4)*24 + 8)))
@@ -157719,19 +157780,19 @@ func yy_reduce(tls *libc.TLS, yypParser uintptr, yyruleno uint32, yyLookahead in
{
*(*Token)(unsafe.Pointer(yymsp + libc.UintptrFromInt32(-2)*24 + 8)) = *(*Token)(unsafe.Pointer(yymsp + 8))
Xsqlite3ErrorMsg(tls, pParse,
- ts+24397, 0)
+ ts+24463, 0)
}
break
case uint32(271):
{
Xsqlite3ErrorMsg(tls, pParse,
- ts+24492, 0)
+ ts+24558, 0)
}
break
case uint32(272):
{
Xsqlite3ErrorMsg(tls, pParse,
- ts+24576, 0)
+ ts+24642, 0)
}
break
case uint32(273):
@@ -158110,9 +158171,9 @@ func yy_syntax_error(tls *libc.TLS, yypParser uintptr, yymajor int32, yyminor To
_ = yymajor
if *(*int8)(unsafe.Pointer((*Token)(unsafe.Pointer(bp + 8)).Fz)) != 0 {
- Xsqlite3ErrorMsg(tls, pParse, ts+24373, libc.VaList(bp, bp+8))
+ Xsqlite3ErrorMsg(tls, pParse, ts+24439, libc.VaList(bp, bp+8))
} else {
- Xsqlite3ErrorMsg(tls, pParse, ts+24661, 0)
+ Xsqlite3ErrorMsg(tls, pParse, ts+24727, 0)
}
(*YyParser)(unsafe.Pointer(yypParser)).FpParse = pParse
@@ -158880,7 +158941,7 @@ func Xsqlite3RunParser(tls *libc.TLS, pParse uintptr, zSql uintptr) int32 {
} else {
(*Token)(unsafe.Pointer(bp + 2464)).Fz = zSql
(*Token)(unsafe.Pointer(bp + 2464)).Fn = uint32(n)
- Xsqlite3ErrorMsg(tls, pParse, ts+24678, libc.VaList(bp, bp+2464))
+ Xsqlite3ErrorMsg(tls, pParse, ts+24744, libc.VaList(bp, bp+2464))
break
}
}
@@ -158901,9 +158962,9 @@ func Xsqlite3RunParser(tls *libc.TLS, pParse uintptr, zSql uintptr) int32 {
}
if (*Parse)(unsafe.Pointer(pParse)).FzErrMsg != 0 || (*Parse)(unsafe.Pointer(pParse)).Frc != SQLITE_OK && (*Parse)(unsafe.Pointer(pParse)).Frc != SQLITE_DONE {
if (*Parse)(unsafe.Pointer(pParse)).FzErrMsg == uintptr(0) {
- (*Parse)(unsafe.Pointer(pParse)).FzErrMsg = Xsqlite3MPrintf(tls, db, ts+4493, libc.VaList(bp+8, Xsqlite3ErrStr(tls, (*Parse)(unsafe.Pointer(pParse)).Frc)))
+ (*Parse)(unsafe.Pointer(pParse)).FzErrMsg = Xsqlite3MPrintf(tls, db, ts+4512, libc.VaList(bp+8, Xsqlite3ErrStr(tls, (*Parse)(unsafe.Pointer(pParse)).Frc)))
}
- Xsqlite3_log(tls, (*Parse)(unsafe.Pointer(pParse)).Frc, ts+24703, libc.VaList(bp+16, (*Parse)(unsafe.Pointer(pParse)).FzErrMsg, (*Parse)(unsafe.Pointer(pParse)).FzTail))
+ Xsqlite3_log(tls, (*Parse)(unsafe.Pointer(pParse)).Frc, ts+24769, libc.VaList(bp+16, (*Parse)(unsafe.Pointer(pParse)).FzErrMsg, (*Parse)(unsafe.Pointer(pParse)).FzTail))
nErr++
}
(*Parse)(unsafe.Pointer(pParse)).FzTail = zSql
@@ -159076,7 +159137,7 @@ func Xsqlite3_complete(tls *libc.TLS, zSql uintptr) int32 {
fallthrough
case 'C':
{
- if nId == 6 && Xsqlite3_strnicmp(tls, zSql, ts+24714, 6) == 0 {
+ if nId == 6 && Xsqlite3_strnicmp(tls, zSql, ts+24780, 6) == 0 {
token = U8(TkCREATE)
} else {
token = U8(TkOTHER)
@@ -159089,11 +159150,11 @@ func Xsqlite3_complete(tls *libc.TLS, zSql uintptr) int32 {
fallthrough
case 'T':
{
- if nId == 7 && Xsqlite3_strnicmp(tls, zSql, ts+21300, 7) == 0 {
+ if nId == 7 && Xsqlite3_strnicmp(tls, zSql, ts+21366, 7) == 0 {
token = U8(TkTRIGGER)
- } else if nId == 4 && Xsqlite3_strnicmp(tls, zSql, ts+24721, 4) == 0 {
+ } else if nId == 4 && Xsqlite3_strnicmp(tls, zSql, ts+24787, 4) == 0 {
token = U8(TkTEMP)
- } else if nId == 9 && Xsqlite3_strnicmp(tls, zSql, ts+24726, 9) == 0 {
+ } else if nId == 9 && Xsqlite3_strnicmp(tls, zSql, ts+24792, 9) == 0 {
token = U8(TkTEMP)
} else {
token = U8(TkOTHER)
@@ -159106,9 +159167,9 @@ func Xsqlite3_complete(tls *libc.TLS, zSql uintptr) int32 {
fallthrough
case 'E':
{
- if nId == 3 && Xsqlite3_strnicmp(tls, zSql, ts+24736, 3) == 0 {
+ if nId == 3 && Xsqlite3_strnicmp(tls, zSql, ts+24802, 3) == 0 {
token = U8(TkEND)
- } else if nId == 7 && Xsqlite3_strnicmp(tls, zSql, ts+24740, 7) == 0 {
+ } else if nId == 7 && Xsqlite3_strnicmp(tls, zSql, ts+24806, 7) == 0 {
token = U8(TkEXPLAIN)
} else {
token = U8(TkOTHER)
@@ -159178,7 +159239,8 @@ func sqlite3TestExtInit(tls *libc.TLS, db uintptr) int32 {
return Xsqlite3FaultSim(tls, 500)
}
-var sqlite3BuiltinExtensions = [4]uintptr{
+var sqlite3BuiltinExtensions = [5]uintptr{
+ 0,
0,
0,
0,
@@ -159342,7 +159404,7 @@ func Xsqlite3_config(tls *libc.TLS, op int32, va uintptr) int32 {
var rc int32 = SQLITE_OK
if Xsqlite3Config.FisInit != 0 {
- return Xsqlite3MisuseError(tls, 174337)
+ return Xsqlite3MisuseError(tls, 174426)
}
ap = va
@@ -159917,7 +159979,7 @@ func sqlite3Close(tls *libc.TLS, db uintptr, forceZombie int32) int32 {
return SQLITE_OK
}
if !(Xsqlite3SafetyCheckSickOrOk(tls, db) != 0) {
- return Xsqlite3MisuseError(tls, 175111)
+ return Xsqlite3MisuseError(tls, 175200)
}
Xsqlite3_mutex_enter(tls, (*Sqlite3)(unsafe.Pointer(db)).Fmutex)
if int32((*Sqlite3)(unsafe.Pointer(db)).FmTrace)&SQLITE_TRACE_CLOSE != 0 {
@@ -159932,7 +159994,7 @@ func sqlite3Close(tls *libc.TLS, db uintptr, forceZombie int32) int32 {
if !(forceZombie != 0) && connectionIsBusy(tls, db) != 0 {
Xsqlite3ErrorWithMsg(tls, db, SQLITE_BUSY,
- ts+24748, 0)
+ ts+24814, 0)
Xsqlite3_mutex_leave(tls, (*Sqlite3)(unsafe.Pointer(db)).Fmutex)
return SQLITE_BUSY
}
@@ -160123,23 +160185,23 @@ func Xsqlite3RollbackAll(tls *libc.TLS, db uintptr, tripCode int32) {
// Return a static string that describes the kind of error specified in the
// argument.
func Xsqlite3ErrStr(tls *libc.TLS, rc int32) uintptr {
- var zErr uintptr = ts + 24816
+ var zErr uintptr = ts + 24882
switch rc {
case SQLITE_ABORT | int32(2)<<8:
{
- zErr = ts + 24830
+ zErr = ts + 24896
break
}
case SQLITE_ROW:
{
- zErr = ts + 24852
+ zErr = ts + 24918
break
}
case SQLITE_DONE:
{
- zErr = ts + 24874
+ zErr = ts + 24940
break
}
@@ -160157,35 +160219,35 @@ func Xsqlite3ErrStr(tls *libc.TLS, rc int32) uintptr {
}
var aMsg = [29]uintptr{
- ts + 24897,
- ts + 24910,
+ ts + 24963,
+ ts + 24976,
uintptr(0),
- ts + 24926,
- ts + 24951,
- ts + 24965,
- ts + 24984,
- ts + 1480,
- ts + 25009,
- ts + 25046,
- ts + 25058,
- ts + 25073,
- ts + 25106,
+ ts + 24992,
+ ts + 25017,
+ ts + 25031,
+ ts + 25050,
+ ts + 1499,
+ ts + 25075,
+ ts + 25112,
ts + 25124,
- ts + 25149,
- ts + 25178,
+ ts + 25139,
+ ts + 25172,
+ ts + 25190,
+ ts + 25215,
+ ts + 25244,
uintptr(0),
- ts + 7190,
- ts + 6686,
- ts + 25195,
- ts + 25213,
- ts + 25231,
+ ts + 7209,
+ ts + 6705,
+ ts + 25261,
+ ts + 25279,
+ ts + 25297,
uintptr(0),
- ts + 25265,
+ ts + 25331,
uintptr(0),
- ts + 25286,
- ts + 25312,
- ts + 25335,
- ts + 25356,
+ ts + 25352,
+ ts + 25378,
+ ts + 25401,
+ ts + 25422,
}
func sqliteDefaultBusyCallback(tls *libc.TLS, ptr uintptr, count int32) int32 {
@@ -160306,7 +160368,7 @@ func Xsqlite3CreateFunc(tls *libc.TLS, db uintptr, zFunctionName uintptr, nArg i
libc.Bool32(xValue == uintptr(0)) != libc.Bool32(xInverse == uintptr(0)) ||
(nArg < -1 || nArg > SQLITE_MAX_FUNCTION_ARG) ||
255 < Xsqlite3Strlen30(tls, zFunctionName) {
- return Xsqlite3MisuseError(tls, 175758)
+ return Xsqlite3MisuseError(tls, 175847)
}
extraFlags = enc & (SQLITE_DETERMINISTIC | SQLITE_DIRECTONLY | SQLITE_SUBTYPE | SQLITE_INNOCUOUS)
@@ -160351,7 +160413,7 @@ func Xsqlite3CreateFunc(tls *libc.TLS, db uintptr, zFunctionName uintptr, nArg i
if p != 0 && (*FuncDef)(unsafe.Pointer(p)).FfuncFlags&U32(SQLITE_FUNC_ENCMASK) == U32(enc) && int32((*FuncDef)(unsafe.Pointer(p)).FnArg) == nArg {
if (*Sqlite3)(unsafe.Pointer(db)).FnVdbeActive != 0 {
Xsqlite3ErrorWithMsg(tls, db, SQLITE_BUSY,
- ts+25372, 0)
+ ts+25438, 0)
return SQLITE_BUSY
} else {
@@ -160468,7 +160530,7 @@ func sqlite3InvalidFunction(tls *libc.TLS, context uintptr, NotUsed int32, NotUs
_ = NotUsed
_ = NotUsed2
zErr = Xsqlite3_mprintf(tls,
- ts+25435, libc.VaList(bp, zName))
+ ts+25501, libc.VaList(bp, zName))
Xsqlite3_result_error(tls, context, zErr, -1)
Xsqlite3_free(tls, zErr)
}
@@ -160496,7 +160558,7 @@ func Xsqlite3_overload_function(tls *libc.TLS, db uintptr, zName uintptr, nArg i
if rc != 0 {
return SQLITE_OK
}
- zCopy = Xsqlite3_mprintf(tls, ts+4493, libc.VaList(bp, zName))
+ zCopy = Xsqlite3_mprintf(tls, ts+4512, libc.VaList(bp, zName))
if zCopy == uintptr(0) {
return SQLITE_NOMEM
}
@@ -160704,7 +160766,7 @@ func Xsqlite3_wal_checkpoint_v2(tls *libc.TLS, db uintptr, zDb uintptr, eMode in
}
if iDb < 0 {
rc = SQLITE_ERROR
- Xsqlite3ErrorWithMsg(tls, db, SQLITE_ERROR, ts+25486, libc.VaList(bp, zDb))
+ Xsqlite3ErrorWithMsg(tls, db, SQLITE_ERROR, ts+25552, libc.VaList(bp, zDb))
} else {
(*Sqlite3)(unsafe.Pointer(db)).FbusyHandler.FnBusy = 0
rc = Xsqlite3Checkpoint(tls, db, iDb, eMode, pnLog, pnCkpt)
@@ -160797,7 +160859,7 @@ func Xsqlite3_errmsg(tls *libc.TLS, db uintptr) uintptr {
return Xsqlite3ErrStr(tls, SQLITE_NOMEM)
}
if !(Xsqlite3SafetyCheckSickOrOk(tls, db) != 0) {
- return Xsqlite3ErrStr(tls, Xsqlite3MisuseError(tls, 176503))
+ return Xsqlite3ErrStr(tls, Xsqlite3MisuseError(tls, 176592))
}
Xsqlite3_mutex_enter(tls, (*Sqlite3)(unsafe.Pointer(db)).Fmutex)
if (*Sqlite3)(unsafe.Pointer(db)).FmallocFailed != 0 {
@@ -160867,7 +160929,7 @@ var misuse = [34]U16{
// passed to this function, we assume a malloc() failed during sqlite3_open().
func Xsqlite3_errcode(tls *libc.TLS, db uintptr) int32 {
if db != 0 && !(Xsqlite3SafetyCheckSickOrOk(tls, db) != 0) {
- return Xsqlite3MisuseError(tls, 176582)
+ return Xsqlite3MisuseError(tls, 176671)
}
if !(db != 0) || (*Sqlite3)(unsafe.Pointer(db)).FmallocFailed != 0 {
return SQLITE_NOMEM
@@ -160877,7 +160939,7 @@ func Xsqlite3_errcode(tls *libc.TLS, db uintptr) int32 {
func Xsqlite3_extended_errcode(tls *libc.TLS, db uintptr) int32 {
if db != 0 && !(Xsqlite3SafetyCheckSickOrOk(tls, db) != 0) {
- return Xsqlite3MisuseError(tls, 176591)
+ return Xsqlite3MisuseError(tls, 176680)
}
if !(db != 0) || (*Sqlite3)(unsafe.Pointer(db)).FmallocFailed != 0 {
return SQLITE_NOMEM
@@ -160909,14 +160971,14 @@ func createCollation(tls *libc.TLS, db uintptr, zName uintptr, enc U8, pCtx uint
enc2 = SQLITE_UTF16LE
}
if enc2 < SQLITE_UTF8 || enc2 > SQLITE_UTF16BE {
- return Xsqlite3MisuseError(tls, 176639)
+ return Xsqlite3MisuseError(tls, 176728)
}
pColl = Xsqlite3FindCollSeq(tls, db, U8(enc2), zName, 0)
if pColl != 0 && (*CollSeq)(unsafe.Pointer(pColl)).FxCmp != 0 {
if (*Sqlite3)(unsafe.Pointer(db)).FnVdbeActive != 0 {
Xsqlite3ErrorWithMsg(tls, db, SQLITE_BUSY,
- ts+25507, 0)
+ ts+25573, 0)
return SQLITE_BUSY
}
Xsqlite3ExpirePreparedStatements(tls, db, 0)
@@ -161046,7 +161108,7 @@ func Xsqlite3ParseUri(tls *libc.TLS, zDefaultVfs uintptr, zUri uintptr, pFlags u
if !((flags&uint32(SQLITE_OPEN_URI) != 0 ||
Xsqlite3Config.FbOpenUri != 0) &&
- nUri >= 5 && libc.Xmemcmp(tls, zUri, ts+25575, uint64(5)) == 0) {
+ nUri >= 5 && libc.Xmemcmp(tls, zUri, ts+25641, uint64(5)) == 0) {
goto __1
}
iOut = 0
@@ -161091,10 +161153,10 @@ __8:
goto __8
__9:
;
- if !(iIn != 7 && (iIn != 16 || libc.Xmemcmp(tls, ts+25581, zUri+7, uint64(9)) != 0)) {
+ if !(iIn != 7 && (iIn != 16 || libc.Xmemcmp(tls, ts+25647, zUri+7, uint64(9)) != 0)) {
goto __10
}
- *(*uintptr)(unsafe.Pointer(pzErrMsg)) = Xsqlite3_mprintf(tls, ts+25591,
+ *(*uintptr)(unsafe.Pointer(pzErrMsg)) = Xsqlite3_mprintf(tls, ts+25657,
libc.VaList(bp, iIn-7, zUri+7))
rc = SQLITE_ERROR
goto parse_uri_out
@@ -161199,7 +161261,7 @@ __27:
zVal = zOpt + uintptr(nOpt+1)
nVal = Xsqlite3Strlen30(tls, zVal)
- if !(nOpt == 3 && libc.Xmemcmp(tls, ts+25619, zOpt, uint64(3)) == 0) {
+ if !(nOpt == 3 && libc.Xmemcmp(tls, ts+25685, zOpt, uint64(3)) == 0) {
goto __29
}
zVfs = zVal
@@ -161210,17 +161272,17 @@ __29:
mask = 0
limit = 0
- if !(nOpt == 5 && libc.Xmemcmp(tls, ts+25623, zOpt, uint64(5)) == 0) {
+ if !(nOpt == 5 && libc.Xmemcmp(tls, ts+25689, zOpt, uint64(5)) == 0) {
goto __31
}
mask = SQLITE_OPEN_SHAREDCACHE | SQLITE_OPEN_PRIVATECACHE
aMode = uintptr(unsafe.Pointer(&aCacheMode))
limit = mask
- zModeType = ts + 25623
+ zModeType = ts + 25689
__31:
;
- if !(nOpt == 4 && libc.Xmemcmp(tls, ts+25629, zOpt, uint64(4)) == 0) {
+ if !(nOpt == 4 && libc.Xmemcmp(tls, ts+25695, zOpt, uint64(4)) == 0) {
goto __32
}
@@ -161228,7 +161290,7 @@ __31:
SQLITE_OPEN_CREATE | SQLITE_OPEN_MEMORY
aMode = uintptr(unsafe.Pointer(&aOpenMode))
limit = int32(uint32(mask) & flags)
- zModeType = ts + 25634
+ zModeType = ts + 25700
__32:
;
if !(aMode != 0) {
@@ -161258,7 +161320,7 @@ __36:
if !(mode == 0) {
goto __38
}
- *(*uintptr)(unsafe.Pointer(pzErrMsg)) = Xsqlite3_mprintf(tls, ts+25641, libc.VaList(bp+16, zModeType, zVal))
+ *(*uintptr)(unsafe.Pointer(pzErrMsg)) = Xsqlite3_mprintf(tls, ts+25707, libc.VaList(bp+16, zModeType, zVal))
rc = SQLITE_ERROR
goto parse_uri_out
__38:
@@ -161266,7 +161328,7 @@ __38:
if !(mode&libc.CplInt32(SQLITE_OPEN_MEMORY) > limit) {
goto __39
}
- *(*uintptr)(unsafe.Pointer(pzErrMsg)) = Xsqlite3_mprintf(tls, ts+25661,
+ *(*uintptr)(unsafe.Pointer(pzErrMsg)) = Xsqlite3_mprintf(tls, ts+25727,
libc.VaList(bp+32, zModeType, zVal))
rc = SQLITE_PERM
goto parse_uri_out
@@ -161306,7 +161368,7 @@ __2:
if !(*(*uintptr)(unsafe.Pointer(ppVfs)) == uintptr(0)) {
goto __42
}
- *(*uintptr)(unsafe.Pointer(pzErrMsg)) = Xsqlite3_mprintf(tls, ts+25685, libc.VaList(bp+48, zVfs))
+ *(*uintptr)(unsafe.Pointer(pzErrMsg)) = Xsqlite3_mprintf(tls, ts+25751, libc.VaList(bp+48, zVfs))
rc = SQLITE_ERROR
__42:
;
@@ -161330,15 +161392,15 @@ type OpenMode = struct {
}
var aCacheMode = [3]OpenMode{
- {Fz: ts + 25701, Fmode: SQLITE_OPEN_SHAREDCACHE},
- {Fz: ts + 25708, Fmode: SQLITE_OPEN_PRIVATECACHE},
+ {Fz: ts + 25767, Fmode: SQLITE_OPEN_SHAREDCACHE},
+ {Fz: ts + 25774, Fmode: SQLITE_OPEN_PRIVATECACHE},
{},
}
var aOpenMode = [5]OpenMode{
- {Fz: ts + 25716, Fmode: SQLITE_OPEN_READONLY},
- {Fz: ts + 25719, Fmode: SQLITE_OPEN_READWRITE},
- {Fz: ts + 25722, Fmode: SQLITE_OPEN_READWRITE | SQLITE_OPEN_CREATE},
- {Fz: ts + 18731, Fmode: SQLITE_OPEN_MEMORY},
+ {Fz: ts + 25782, Fmode: SQLITE_OPEN_READONLY},
+ {Fz: ts + 25785, Fmode: SQLITE_OPEN_READWRITE},
+ {Fz: ts + 25788, Fmode: SQLITE_OPEN_READWRITE | SQLITE_OPEN_CREATE},
+ {Fz: ts + 18750, Fmode: SQLITE_OPEN_MEMORY},
{},
}
@@ -161484,10 +161546,10 @@ __12:
createCollation(tls, db, uintptr(unsafe.Pointer(&Xsqlite3StrBINARY)), uint8(SQLITE_UTF16LE), uintptr(0), *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, int32, uintptr, int32, uintptr) int32
}{binCollFunc})), uintptr(0))
- createCollation(tls, db, ts+23232, uint8(SQLITE_UTF8), uintptr(0), *(*uintptr)(unsafe.Pointer(&struct {
+ createCollation(tls, db, ts+23298, uint8(SQLITE_UTF8), uintptr(0), *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, int32, uintptr, int32, uintptr) int32
}{nocaseCollatingFunc})), uintptr(0))
- createCollation(tls, db, ts+25726, uint8(SQLITE_UTF8), uintptr(0), *(*uintptr)(unsafe.Pointer(&struct {
+ createCollation(tls, db, ts+25792, uint8(SQLITE_UTF8), uintptr(0), *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, int32, uintptr, int32, uintptr) int32
}{rtrimCollFunc})), uintptr(0))
if !((*Sqlite3)(unsafe.Pointer(db)).FmallocFailed != 0) {
@@ -161501,7 +161563,7 @@ __15:
if !(int32(1)<<(*(*uint32)(unsafe.Pointer(bp + 8))&uint32(7))&0x46 == 0) {
goto __16
}
- rc = Xsqlite3MisuseError(tls, 177308)
+ rc = Xsqlite3MisuseError(tls, 177397)
goto __17
__16:
rc = Xsqlite3ParseUri(tls, zVfs, zFilename, bp+8, db, bp+16, bp+24)
@@ -161518,7 +161580,7 @@ __19:
;
Xsqlite3ErrorWithMsg(tls, db, rc, func() uintptr {
if *(*uintptr)(unsafe.Pointer(bp + 24)) != 0 {
- return ts + 4493
+ return ts + 4512
}
return uintptr(0)
}(), libc.VaList(bp, *(*uintptr)(unsafe.Pointer(bp + 24))))
@@ -161552,9 +161614,9 @@ __22:
Xsqlite3BtreeLeave(tls, (*Db)(unsafe.Pointer((*Sqlite3)(unsafe.Pointer(db)).FaDb)).FpBt)
(*Db)(unsafe.Pointer((*Sqlite3)(unsafe.Pointer(db)).FaDb + 1*32)).FpSchema = Xsqlite3SchemaGet(tls, db, uintptr(0))
- (*Db)(unsafe.Pointer((*Sqlite3)(unsafe.Pointer(db)).FaDb)).FzDbSName = ts + 7793
+ (*Db)(unsafe.Pointer((*Sqlite3)(unsafe.Pointer(db)).FaDb)).FzDbSName = ts + 7812
(*Db)(unsafe.Pointer((*Sqlite3)(unsafe.Pointer(db)).FaDb)).Fsafety_level = U8(SQLITE_DEFAULT_SYNCHRONOUS + 1)
- (*Db)(unsafe.Pointer((*Sqlite3)(unsafe.Pointer(db)).FaDb + 1*32)).FzDbSName = ts + 24721
+ (*Db)(unsafe.Pointer((*Sqlite3)(unsafe.Pointer(db)).FaDb + 1*32)).FzDbSName = ts + 24787
(*Db)(unsafe.Pointer((*Sqlite3)(unsafe.Pointer(db)).FaDb + 1*32)).Fsafety_level = U8(PAGER_SYNCHRONOUS_OFF)
(*Sqlite3)(unsafe.Pointer(db)).FeOpenState = U8(SQLITE_STATE_OPEN)
@@ -161659,7 +161721,7 @@ func Xsqlite3_open16(tls *libc.TLS, zFilename uintptr, ppDb uintptr) int32 {
return rc
}
if zFilename == uintptr(0) {
- zFilename = ts + 25732
+ zFilename = ts + 25798
}
pVal = Xsqlite3ValueNew(tls, uintptr(0))
Xsqlite3ValueSetStr(tls, pVal, -1, zFilename, uint8(SQLITE_UTF16LE), uintptr(0))
@@ -161762,21 +161824,21 @@ func Xsqlite3ReportError(tls *libc.TLS, iErr int32, lineno int32, zType uintptr)
bp := tls.Alloc(24)
defer tls.Free(24)
- Xsqlite3_log(tls, iErr, ts+25735,
+ Xsqlite3_log(tls, iErr, ts+25801,
libc.VaList(bp, zType, lineno, uintptr(20)+Xsqlite3_sourceid(tls)))
return iErr
}
func Xsqlite3CorruptError(tls *libc.TLS, lineno int32) int32 {
- return Xsqlite3ReportError(tls, SQLITE_CORRUPT, lineno, ts+25760)
+ return Xsqlite3ReportError(tls, SQLITE_CORRUPT, lineno, ts+25826)
}
func Xsqlite3MisuseError(tls *libc.TLS, lineno int32) int32 {
- return Xsqlite3ReportError(tls, SQLITE_MISUSE, lineno, ts+25780)
+ return Xsqlite3ReportError(tls, SQLITE_MISUSE, lineno, ts+25846)
}
func Xsqlite3CantopenError(tls *libc.TLS, lineno int32) int32 {
- return Xsqlite3ReportError(tls, SQLITE_CANTOPEN, lineno, ts+25787)
+ return Xsqlite3ReportError(tls, SQLITE_CANTOPEN, lineno, ts+25853)
}
// This is a convenience routine that makes sure that all thread-specific
@@ -161887,7 +161949,7 @@ __4:
autoinc = libc.Bool32(int32((*Table)(unsafe.Pointer(pTab)).FiPKey) == iCol && (*Table)(unsafe.Pointer(pTab)).FtabFlags&U32(TF_Autoincrement) != U32(0))
goto __13
__12:
- zDataType = ts + 1109
+ zDataType = ts + 1128
primarykey = 1
__13:
;
@@ -161934,14 +161996,14 @@ __19:
goto __20
}
Xsqlite3DbFree(tls, db, *(*uintptr)(unsafe.Pointer(bp + 24)))
- *(*uintptr)(unsafe.Pointer(bp + 24)) = Xsqlite3MPrintf(tls, db, ts+25804, libc.VaList(bp, zTableName,
+ *(*uintptr)(unsafe.Pointer(bp + 24)) = Xsqlite3MPrintf(tls, db, ts+25870, libc.VaList(bp, zTableName,
zColumnName))
rc = SQLITE_ERROR
__20:
;
Xsqlite3ErrorWithMsg(tls, db, rc, func() uintptr {
if *(*uintptr)(unsafe.Pointer(bp + 24)) != 0 {
- return ts + 4493
+ return ts + 4512
}
return uintptr(0)
}(), libc.VaList(bp+16, *(*uintptr)(unsafe.Pointer(bp + 24))))
@@ -162590,7 +162652,7 @@ func Xsqlite3_compileoption_used(tls *libc.TLS, zOptName uintptr) int32 {
azCompileOpt = Xsqlite3CompileOptions(tls, bp)
- if Xsqlite3_strnicmp(tls, zOptName, ts+25832, 7) == 0 {
+ if Xsqlite3_strnicmp(tls, zOptName, ts+25898, 7) == 0 {
zOptName += uintptr(7)
}
n = Xsqlite3Strlen30(tls, zOptName)
@@ -162708,7 +162770,7 @@ func Xsqlite3_unlock_notify(tls *libc.TLS, db uintptr, xNotify uintptr, pArg uin
Xsqlite3ErrorWithMsg(tls, db, rc, func() uintptr {
if rc != 0 {
- return ts + 25840
+ return ts + 25906
}
return uintptr(0)
}(), 0)
@@ -162886,7 +162948,7 @@ type JsonParse1 = struct {
type JsonParse = JsonParse1
var jsonType = [8]uintptr{
- ts + 7533, ts + 8116, ts + 8121, ts + 7543, ts + 7538, ts + 9357, ts + 25863, ts + 25869,
+ ts + 7552, ts + 9065, ts + 9070, ts + 7562, ts + 7557, ts + 9376, ts + 25929, ts + 25935,
}
func jsonZero(tls *libc.TLS, p uintptr) {
@@ -163039,7 +163101,7 @@ __10:
*(*int8)(unsafe.Pointer((*JsonString)(unsafe.Pointer(p)).FzBuf + uintptr(libc.PostIncUint64(&(*JsonString)(unsafe.Pointer(p)).FnUsed, 1)))) = int8('0')
*(*int8)(unsafe.Pointer((*JsonString)(unsafe.Pointer(p)).FzBuf + uintptr(libc.PostIncUint64(&(*JsonString)(unsafe.Pointer(p)).FnUsed, 1)))) = int8('0')
*(*int8)(unsafe.Pointer((*JsonString)(unsafe.Pointer(p)).FzBuf + uintptr(libc.PostIncUint64(&(*JsonString)(unsafe.Pointer(p)).FnUsed, 1)))) = int8('0' + int32(c)>>4)
- c = uint8(*(*int8)(unsafe.Pointer(ts + 25876 + uintptr(int32(c)&0xf))))
+ c = uint8(*(*int8)(unsafe.Pointer(ts + 25942 + uintptr(int32(c)&0xf))))
__8:
;
__6:
@@ -163065,7 +163127,7 @@ func jsonAppendValue(tls *libc.TLS, p uintptr, pValue uintptr) {
switch Xsqlite3_value_type(tls, pValue) {
case SQLITE_NULL:
{
- jsonAppendRaw(tls, p, ts+7533, uint32(4))
+ jsonAppendRaw(tls, p, ts+7552, uint32(4))
break
}
@@ -163094,7 +163156,7 @@ func jsonAppendValue(tls *libc.TLS, p uintptr, pValue uintptr) {
default:
{
if int32((*JsonString)(unsafe.Pointer(p)).FbErr) == 0 {
- Xsqlite3_result_error(tls, (*JsonString)(unsafe.Pointer(p)).FpCtx, ts+25893, -1)
+ Xsqlite3_result_error(tls, (*JsonString)(unsafe.Pointer(p)).FpCtx, ts+25959, -1)
(*JsonString)(unsafe.Pointer(p)).FbErr = U8(2)
jsonReset(tls, p)
}
@@ -163152,19 +163214,19 @@ func jsonRenderNode(tls *libc.TLS, pNode uintptr, pOut uintptr, aReplace uintptr
switch int32((*JsonNode)(unsafe.Pointer(pNode)).FeType) {
default:
{
- jsonAppendRaw(tls, pOut, ts+7533, uint32(4))
+ jsonAppendRaw(tls, pOut, ts+7552, uint32(4))
break
}
case JSON_TRUE:
{
- jsonAppendRaw(tls, pOut, ts+8116, uint32(4))
+ jsonAppendRaw(tls, pOut, ts+9065, uint32(4))
break
}
case JSON_FALSE:
{
- jsonAppendRaw(tls, pOut, ts+8121, uint32(5))
+ jsonAppendRaw(tls, pOut, ts+9070, uint32(5))
break
}
@@ -163709,17 +163771,17 @@ func jsonParseValue(tls *libc.TLS, pParse uintptr, i U32) int32 {
}
return int32(j + U32(1))
} else if int32(c) == 'n' &&
- libc.Xstrncmp(tls, z+uintptr(i), ts+7533, uint64(4)) == 0 &&
+ libc.Xstrncmp(tls, z+uintptr(i), ts+7552, uint64(4)) == 0 &&
!(int32(Xsqlite3CtypeMap[uint8(*(*int8)(unsafe.Pointer(z + uintptr(i+U32(4)))))])&0x06 != 0) {
jsonParseAddNode(tls, pParse, uint32(JSON_NULL), uint32(0), uintptr(0))
return int32(i + U32(4))
} else if int32(c) == 't' &&
- libc.Xstrncmp(tls, z+uintptr(i), ts+8116, uint64(4)) == 0 &&
+ libc.Xstrncmp(tls, z+uintptr(i), ts+9065, uint64(4)) == 0 &&
!(int32(Xsqlite3CtypeMap[uint8(*(*int8)(unsafe.Pointer(z + uintptr(i+U32(4)))))])&0x06 != 0) {
jsonParseAddNode(tls, pParse, uint32(JSON_TRUE), uint32(0), uintptr(0))
return int32(i + U32(4))
} else if int32(c) == 'f' &&
- libc.Xstrncmp(tls, z+uintptr(i), ts+8121, uint64(5)) == 0 &&
+ libc.Xstrncmp(tls, z+uintptr(i), ts+9070, uint64(5)) == 0 &&
!(int32(Xsqlite3CtypeMap[uint8(*(*int8)(unsafe.Pointer(z + uintptr(i+U32(5)))))])&0x06 != 0) {
jsonParseAddNode(tls, pParse, uint32(JSON_FALSE), uint32(0), uintptr(0))
return int32(i + U32(5))
@@ -163820,7 +163882,7 @@ func jsonParse(tls *libc.TLS, pParse uintptr, pCtx uintptr, zJson uintptr) int32
if (*JsonParse)(unsafe.Pointer(pParse)).Foom != 0 {
Xsqlite3_result_error_nomem(tls, pCtx)
} else {
- Xsqlite3_result_error(tls, pCtx, ts+25922, -1)
+ Xsqlite3_result_error(tls, pCtx, ts+25988, -1)
}
}
jsonParseReset(tls, pParse)
@@ -164126,7 +164188,7 @@ func jsonLookupAppend(tls *libc.TLS, pParse uintptr, zPath uintptr, pApnd uintpt
}
if int32(*(*int8)(unsafe.Pointer(zPath))) == '.' {
jsonParseAddNode(tls, pParse, uint32(JSON_OBJECT), uint32(0), uintptr(0))
- } else if libc.Xstrncmp(tls, zPath, ts+25937, uint64(3)) == 0 {
+ } else if libc.Xstrncmp(tls, zPath, ts+26003, uint64(3)) == 0 {
jsonParseAddNode(tls, pParse, uint32(JSON_ARRAY), uint32(0), uintptr(0))
} else {
return uintptr(0)
@@ -164141,7 +164203,7 @@ func jsonPathSyntaxError(tls *libc.TLS, zErr uintptr) uintptr {
bp := tls.Alloc(8)
defer tls.Free(8)
- return Xsqlite3_mprintf(tls, ts+25941, libc.VaList(bp, zErr))
+ return Xsqlite3_mprintf(tls, ts+26007, libc.VaList(bp, zErr))
}
func jsonLookup(tls *libc.TLS, pParse uintptr, zPath uintptr, pApnd uintptr, pCtx uintptr) uintptr {
@@ -164195,7 +164257,7 @@ func jsonWrongNumArgs(tls *libc.TLS, pCtx uintptr, zFuncName uintptr) {
bp := tls.Alloc(8)
defer tls.Free(8)
- var zMsg uintptr = Xsqlite3_mprintf(tls, ts+25967,
+ var zMsg uintptr = Xsqlite3_mprintf(tls, ts+26033,
libc.VaList(bp, zFuncName))
Xsqlite3_result_error(tls, pCtx, zMsg, -1)
Xsqlite3_free(tls, zMsg)
@@ -164300,11 +164362,11 @@ func jsonExtractFunc(tls *libc.TLS, ctx uintptr, argc int32, argv uintptr) {
if int32(*(*int8)(unsafe.Pointer(zPath))) != '$' {
jsonInit(tls, bp, ctx)
if int32(Xsqlite3CtypeMap[uint8(*(*int8)(unsafe.Pointer(zPath)))])&0x04 != 0 {
- jsonAppendRaw(tls, bp, ts+26010, uint32(2))
+ jsonAppendRaw(tls, bp, ts+26076, uint32(2))
jsonAppendRaw(tls, bp, zPath, uint32(int32(libc.Xstrlen(tls, zPath))))
- jsonAppendRaw(tls, bp, ts+6350, uint32(2))
+ jsonAppendRaw(tls, bp, ts+6369, uint32(2))
} else {
- jsonAppendRaw(tls, bp, ts+26013, uint32(1+libc.Bool32(int32(*(*int8)(unsafe.Pointer(zPath))) != '[')))
+ jsonAppendRaw(tls, bp, ts+26079, uint32(1+libc.Bool32(int32(*(*int8)(unsafe.Pointer(zPath))) != '[')))
jsonAppendRaw(tls, bp, zPath, uint32(int32(libc.Xstrlen(tls, zPath))))
jsonAppendChar(tls, bp, int8(0))
}
@@ -164345,7 +164407,7 @@ func jsonExtractFunc(tls *libc.TLS, ctx uintptr, argc int32, argv uintptr) {
if pNode != 0 {
jsonRenderNode(tls, pNode, bp, uintptr(0))
} else {
- jsonAppendRaw(tls, bp, ts+7533, uint32(4))
+ jsonAppendRaw(tls, bp, ts+7552, uint32(4))
}
}
if i == argc {
@@ -164461,14 +164523,14 @@ func jsonObjectFunc(tls *libc.TLS, ctx uintptr, argc int32, argv uintptr) {
if argc&1 != 0 {
Xsqlite3_result_error(tls, ctx,
- ts+26016, -1)
+ ts+26082, -1)
return
}
jsonInit(tls, bp, ctx)
jsonAppendChar(tls, bp, int8('{'))
for i = 0; i < argc; i = i + 2 {
if Xsqlite3_value_type(tls, *(*uintptr)(unsafe.Pointer(argv + uintptr(i)*8))) != SQLITE_TEXT {
- Xsqlite3_result_error(tls, ctx, ts+26067, -1)
+ Xsqlite3_result_error(tls, ctx, ts+26133, -1)
jsonReset(tls, bp)
return
}
@@ -164563,7 +164625,7 @@ __1:
if !(argc&1 == 0) {
goto __2
}
- jsonWrongNumArgs(tls, ctx, ts+16737)
+ jsonWrongNumArgs(tls, ctx, ts+16756)
return
__2:
;
@@ -164638,9 +164700,9 @@ __1:
}
jsonWrongNumArgs(tls, ctx, func() uintptr {
if bIsSet != 0 {
- return ts + 26101
+ return ts + 26167
}
- return ts + 26105
+ return ts + 26171
}())
return
__2:
@@ -164773,7 +164835,7 @@ func jsonArrayCompute(tls *libc.TLS, ctx uintptr, isFinal int32) {
(*JsonString)(unsafe.Pointer(pStr)).FnUsed--
}
} else {
- Xsqlite3_result_text(tls, ctx, ts+26112, 2, uintptr(0))
+ Xsqlite3_result_text(tls, ctx, ts+26178, 2, uintptr(0))
}
Xsqlite3_result_subtype(tls, ctx, uint32(JSON_SUBTYPE))
}
@@ -164870,7 +164932,7 @@ func jsonObjectCompute(tls *libc.TLS, ctx uintptr, isFinal int32) {
(*JsonString)(unsafe.Pointer(pStr)).FnUsed--
}
} else {
- Xsqlite3_result_text(tls, ctx, ts+26115, 2, uintptr(0))
+ Xsqlite3_result_text(tls, ctx, ts+26181, 2, uintptr(0))
}
Xsqlite3_result_subtype(tls, ctx, uint32(JSON_SUBTYPE))
}
@@ -164914,7 +164976,7 @@ func jsonEachConnect(tls *libc.TLS, db uintptr, pAux uintptr, argc int32, argv u
_ = argc
_ = pAux
rc = Xsqlite3_declare_vtab(tls, db,
- ts+26118)
+ ts+26184)
if rc == SQLITE_OK {
pNew = libc.AssignPtrUintptr(ppVtab, Xsqlite3_malloc(tls, int32(unsafe.Sizeof(Sqlite3_vtab{}))))
if pNew == uintptr(0) {
@@ -165045,7 +165107,7 @@ func jsonAppendObjectPathElement(tls *libc.TLS, pStr uintptr, pNode uintptr) {
nn = nn - 2
}
}
- jsonPrintf(tls, nn+2, pStr, ts+26201, libc.VaList(bp, nn, z))
+ jsonPrintf(tls, nn+2, pStr, ts+26267, libc.VaList(bp, nn, z))
}
func jsonEachComputePath(tls *libc.TLS, p uintptr, pStr uintptr, i U32) {
@@ -165064,7 +165126,7 @@ func jsonEachComputePath(tls *libc.TLS, p uintptr, pStr uintptr, i U32) {
pNode = (*JsonEachCursor)(unsafe.Pointer(p)).FsParse.FaNode + uintptr(i)*16
pUp = (*JsonEachCursor)(unsafe.Pointer(p)).FsParse.FaNode + uintptr(iUp)*16
if int32((*JsonNode)(unsafe.Pointer(pUp)).FeType) == JSON_ARRAY {
- jsonPrintf(tls, 30, pStr, ts+26207, libc.VaList(bp, *(*U32)(unsafe.Pointer(pUp + 8))))
+ jsonPrintf(tls, 30, pStr, ts+26273, libc.VaList(bp, *(*U32)(unsafe.Pointer(pUp + 8))))
} else {
if int32((*JsonNode)(unsafe.Pointer(pNode)).FjnFlags)&JNODE_LABEL == 0 {
pNode -= 16
@@ -165160,7 +165222,7 @@ func jsonEachColumn(tls *libc.TLS, cur uintptr, ctx uintptr, i int32) int32 {
jsonAppendChar(tls, bp+8, int8('$'))
}
if int32((*JsonEachCursor)(unsafe.Pointer(p)).FeType) == JSON_ARRAY {
- jsonPrintf(tls, 30, bp+8, ts+26207, libc.VaList(bp, (*JsonEachCursor)(unsafe.Pointer(p)).FiRowid))
+ jsonPrintf(tls, 30, bp+8, ts+26273, libc.VaList(bp, (*JsonEachCursor)(unsafe.Pointer(p)).FiRowid))
} else if int32((*JsonEachCursor)(unsafe.Pointer(p)).FeType) == JSON_OBJECT {
jsonAppendObjectPathElement(tls, bp+8, pThis)
}
@@ -165184,7 +165246,7 @@ func jsonEachColumn(tls *libc.TLS, cur uintptr, ctx uintptr, i int32) int32 {
{
var zRoot uintptr = (*JsonEachCursor)(unsafe.Pointer(p)).FzRoot
if zRoot == uintptr(0) {
- zRoot = ts + 26212
+ zRoot = ts + 26278
}
Xsqlite3_result_text(tls, ctx, zRoot, -1, uintptr(0))
break
@@ -165306,7 +165368,7 @@ func jsonEachFilter(tls *libc.TLS, cur uintptr, idxNum int32, idxStr uintptr, ar
var rc int32 = SQLITE_NOMEM
if int32((*JsonEachCursor)(unsafe.Pointer(p)).FsParse.Foom) == 0 {
Xsqlite3_free(tls, (*Sqlite3_vtab)(unsafe.Pointer((*Sqlite3_vtab_cursor)(unsafe.Pointer(cur)).FpVtab)).FzErrMsg)
- (*Sqlite3_vtab)(unsafe.Pointer((*Sqlite3_vtab_cursor)(unsafe.Pointer(cur)).FpVtab)).FzErrMsg = Xsqlite3_mprintf(tls, ts+25922, 0)
+ (*Sqlite3_vtab)(unsafe.Pointer((*Sqlite3_vtab_cursor)(unsafe.Pointer(cur)).FpVtab)).FzErrMsg = Xsqlite3_mprintf(tls, ts+25988, 0)
if (*Sqlite3_vtab)(unsafe.Pointer((*Sqlite3_vtab_cursor)(unsafe.Pointer(cur)).FpVtab)).FzErrMsg != 0 {
rc = SQLITE_ERROR
}
@@ -165401,25 +165463,25 @@ func Xsqlite3RegisterJsonFunctions(tls *libc.TLS) {
}
var aJsonFunc = [19]FuncDef{
- {FnArg: int8(1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_DETERMINISTIC | SQLITE_FUNC_CONSTANT | SQLITE_UTF8), FxSFunc: 0, FzName: ts + 26214},
- {FnArg: int8(-1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_DETERMINISTIC | SQLITE_FUNC_CONSTANT | SQLITE_UTF8), FxSFunc: 0, FzName: ts + 26219},
- {FnArg: int8(1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_DETERMINISTIC | SQLITE_FUNC_CONSTANT | SQLITE_UTF8), FxSFunc: 0, FzName: ts + 26230},
- {FnArg: int8(2), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_DETERMINISTIC | SQLITE_FUNC_CONSTANT | SQLITE_UTF8), FxSFunc: 0, FzName: ts + 26230},
- {FnArg: int8(-1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_DETERMINISTIC | SQLITE_FUNC_CONSTANT | SQLITE_UTF8), FxSFunc: 0, FzName: ts + 26248},
- {FnArg: int8(2), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_DETERMINISTIC | SQLITE_FUNC_CONSTANT | SQLITE_UTF8), FpUserData: uintptr(int64(JSON_JSON)), FxSFunc: 0, FzName: ts + 26261},
- {FnArg: int8(2), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_DETERMINISTIC | SQLITE_FUNC_CONSTANT | SQLITE_UTF8), FpUserData: uintptr(int64(JSON_SQL)), FxSFunc: 0, FzName: ts + 26264},
- {FnArg: int8(-1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_DETERMINISTIC | SQLITE_FUNC_CONSTANT | SQLITE_UTF8), FxSFunc: 0, FzName: ts + 26268},
- {FnArg: int8(-1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_DETERMINISTIC | SQLITE_FUNC_CONSTANT | SQLITE_UTF8), FxSFunc: 0, FzName: ts + 26280},
- {FnArg: int8(2), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_DETERMINISTIC | SQLITE_FUNC_CONSTANT | SQLITE_UTF8), FxSFunc: 0, FzName: ts + 26292},
- {FnArg: int8(1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_DETERMINISTIC | SQLITE_FUNC_CONSTANT | SQLITE_UTF8), FxSFunc: 0, FzName: ts + 26303},
+ {FnArg: int8(1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_DETERMINISTIC | SQLITE_FUNC_CONSTANT | SQLITE_UTF8), FxSFunc: 0, FzName: ts + 26280},
+ {FnArg: int8(-1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_DETERMINISTIC | SQLITE_FUNC_CONSTANT | SQLITE_UTF8), FxSFunc: 0, FzName: ts + 26285},
+ {FnArg: int8(1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_DETERMINISTIC | SQLITE_FUNC_CONSTANT | SQLITE_UTF8), FxSFunc: 0, FzName: ts + 26296},
+ {FnArg: int8(2), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_DETERMINISTIC | SQLITE_FUNC_CONSTANT | SQLITE_UTF8), FxSFunc: 0, FzName: ts + 26296},
{FnArg: int8(-1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_DETERMINISTIC | SQLITE_FUNC_CONSTANT | SQLITE_UTF8), FxSFunc: 0, FzName: ts + 26314},
- {FnArg: int8(-1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_DETERMINISTIC | SQLITE_FUNC_CONSTANT | SQLITE_UTF8), FxSFunc: 0, FzName: ts + 26326},
- {FnArg: int8(-1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_DETERMINISTIC | SQLITE_FUNC_CONSTANT | SQLITE_UTF8), FpUserData: uintptr(int64(JSON_ISSET)), FxSFunc: 0, FzName: ts + 26339},
- {FnArg: int8(1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_DETERMINISTIC | SQLITE_FUNC_CONSTANT | SQLITE_UTF8), FxSFunc: 0, FzName: ts + 26348},
- {FnArg: int8(2), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_DETERMINISTIC | SQLITE_FUNC_CONSTANT | SQLITE_UTF8), FxSFunc: 0, FzName: ts + 26348},
- {FnArg: int8(1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_DETERMINISTIC | SQLITE_FUNC_CONSTANT | SQLITE_UTF8), FxSFunc: 0, FzName: ts + 26358},
- {FnArg: int8(1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_UTF8 | 0*SQLITE_FUNC_NEEDCOLL | SQLITE_SUBTYPE | SQLITE_UTF8 | SQLITE_DETERMINISTIC), FxSFunc: 0, FxFinalize: 0, FxValue: 0, FxInverse: 0, FzName: ts + 26369},
- {FnArg: int8(2), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_UTF8 | 0*SQLITE_FUNC_NEEDCOLL | SQLITE_SUBTYPE | SQLITE_UTF8 | SQLITE_DETERMINISTIC), FxSFunc: 0, FxFinalize: 0, FxValue: 0, FxInverse: 0, FzName: ts + 26386}}
+ {FnArg: int8(2), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_DETERMINISTIC | SQLITE_FUNC_CONSTANT | SQLITE_UTF8), FpUserData: uintptr(int64(JSON_JSON)), FxSFunc: 0, FzName: ts + 26327},
+ {FnArg: int8(2), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_DETERMINISTIC | SQLITE_FUNC_CONSTANT | SQLITE_UTF8), FpUserData: uintptr(int64(JSON_SQL)), FxSFunc: 0, FzName: ts + 26330},
+ {FnArg: int8(-1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_DETERMINISTIC | SQLITE_FUNC_CONSTANT | SQLITE_UTF8), FxSFunc: 0, FzName: ts + 26334},
+ {FnArg: int8(-1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_DETERMINISTIC | SQLITE_FUNC_CONSTANT | SQLITE_UTF8), FxSFunc: 0, FzName: ts + 26346},
+ {FnArg: int8(2), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_DETERMINISTIC | SQLITE_FUNC_CONSTANT | SQLITE_UTF8), FxSFunc: 0, FzName: ts + 26358},
+ {FnArg: int8(1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_DETERMINISTIC | SQLITE_FUNC_CONSTANT | SQLITE_UTF8), FxSFunc: 0, FzName: ts + 26369},
+ {FnArg: int8(-1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_DETERMINISTIC | SQLITE_FUNC_CONSTANT | SQLITE_UTF8), FxSFunc: 0, FzName: ts + 26380},
+ {FnArg: int8(-1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_DETERMINISTIC | SQLITE_FUNC_CONSTANT | SQLITE_UTF8), FxSFunc: 0, FzName: ts + 26392},
+ {FnArg: int8(-1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_DETERMINISTIC | SQLITE_FUNC_CONSTANT | SQLITE_UTF8), FpUserData: uintptr(int64(JSON_ISSET)), FxSFunc: 0, FzName: ts + 26405},
+ {FnArg: int8(1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_DETERMINISTIC | SQLITE_FUNC_CONSTANT | SQLITE_UTF8), FxSFunc: 0, FzName: ts + 26414},
+ {FnArg: int8(2), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_DETERMINISTIC | SQLITE_FUNC_CONSTANT | SQLITE_UTF8), FxSFunc: 0, FzName: ts + 26414},
+ {FnArg: int8(1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_DETERMINISTIC | SQLITE_FUNC_CONSTANT | SQLITE_UTF8), FxSFunc: 0, FzName: ts + 26424},
+ {FnArg: int8(1), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_UTF8 | 0*SQLITE_FUNC_NEEDCOLL | SQLITE_SUBTYPE | SQLITE_UTF8 | SQLITE_DETERMINISTIC), FxSFunc: 0, FxFinalize: 0, FxValue: 0, FxInverse: 0, FzName: ts + 26435},
+ {FnArg: int8(2), FfuncFlags: U32(SQLITE_FUNC_BUILTIN | SQLITE_UTF8 | 0*SQLITE_FUNC_NEEDCOLL | SQLITE_SUBTYPE | SQLITE_UTF8 | SQLITE_DETERMINISTIC), FxSFunc: 0, FxFinalize: 0, FxValue: 0, FxInverse: 0, FzName: ts + 26452}}
// Register the JSON table-valued functions
func Xsqlite3JsonTableFunctions(tls *libc.TLS, db uintptr) int32 {
@@ -165438,8 +165500,8 @@ var aMod = [2]struct {
FzName uintptr
FpModule uintptr
}{
- {FzName: ts + 26404, FpModule: 0},
- {FzName: ts + 26414, FpModule: 0},
+ {FzName: ts + 26470, FpModule: 0},
+ {FzName: ts + 26480, FpModule: 0},
}
type Rtree1 = struct {
@@ -165699,11 +165761,11 @@ func nodeAcquire(tls *libc.TLS, pRtree uintptr, iNode I64, pParent uintptr, ppNo
}
}
if (*Rtree)(unsafe.Pointer(pRtree)).FpNodeBlob == uintptr(0) {
- var zTab uintptr = Xsqlite3_mprintf(tls, ts+26424, libc.VaList(bp, (*Rtree)(unsafe.Pointer(pRtree)).FzName))
+ var zTab uintptr = Xsqlite3_mprintf(tls, ts+26490, libc.VaList(bp, (*Rtree)(unsafe.Pointer(pRtree)).FzName))
if zTab == uintptr(0) {
return SQLITE_NOMEM
}
- rc = Xsqlite3_blob_open(tls, (*Rtree)(unsafe.Pointer(pRtree)).Fdb, (*Rtree)(unsafe.Pointer(pRtree)).FzDb, zTab, ts+26432, iNode, 0,
+ rc = Xsqlite3_blob_open(tls, (*Rtree)(unsafe.Pointer(pRtree)).Fdb, (*Rtree)(unsafe.Pointer(pRtree)).FzDb, zTab, ts+26498, iNode, 0,
pRtree+112)
Xsqlite3_free(tls, zTab)
}
@@ -165914,7 +165976,7 @@ func rtreeDestroy(tls *libc.TLS, pVtab uintptr) int32 {
var pRtree uintptr = pVtab
var rc int32
var zCreate uintptr = Xsqlite3_mprintf(tls,
- ts+26437,
+ ts+26503,
libc.VaList(bp, (*Rtree)(unsafe.Pointer(pRtree)).FzDb, (*Rtree)(unsafe.Pointer(pRtree)).FzName,
(*Rtree)(unsafe.Pointer(pRtree)).FzDb, (*Rtree)(unsafe.Pointer(pRtree)).FzName,
(*Rtree)(unsafe.Pointer(pRtree)).FzDb, (*Rtree)(unsafe.Pointer(pRtree)).FzName))
@@ -166612,7 +166674,7 @@ func deserializeGeometry(tls *libc.TLS, pValue uintptr, pCons uintptr) int32 {
var pSrc uintptr
var pInfo uintptr
- pSrc = Xsqlite3_value_pointer(tls, pValue, ts+26519)
+ pSrc = Xsqlite3_value_pointer(tls, pValue, ts+26585)
if pSrc == uintptr(0) {
return SQLITE_ERROR
}
@@ -166824,7 +166886,7 @@ func rtreeBestIndex(tls *libc.TLS, tab uintptr, pIdxInfo uintptr) int32 {
(*Sqlite3_index_info)(unsafe.Pointer(pIdxInfo)).FidxNum = 2
(*Sqlite3_index_info)(unsafe.Pointer(pIdxInfo)).FneedToFreeIdxStr = 1
- if iIdx > 0 && uintptr(0) == libc.AssignPtrUintptr(pIdxInfo+48, Xsqlite3_mprintf(tls, ts+4493, libc.VaList(bp, bp+8))) {
+ if iIdx > 0 && uintptr(0) == libc.AssignPtrUintptr(pIdxInfo+48, Xsqlite3_mprintf(tls, ts+4512, libc.VaList(bp, bp+8))) {
return SQLITE_NOMEM
}
@@ -167953,7 +168015,7 @@ func rtreeConstraintError(tls *libc.TLS, pRtree uintptr, iCol int32) int32 {
var zSql uintptr
var rc int32
- zSql = Xsqlite3_mprintf(tls, ts+26533, libc.VaList(bp, (*Rtree)(unsafe.Pointer(pRtree)).FzDb, (*Rtree)(unsafe.Pointer(pRtree)).FzName))
+ zSql = Xsqlite3_mprintf(tls, ts+26599, libc.VaList(bp, (*Rtree)(unsafe.Pointer(pRtree)).FzDb, (*Rtree)(unsafe.Pointer(pRtree)).FzName))
if zSql != 0 {
rc = Xsqlite3_prepare_v2(tls, (*Rtree)(unsafe.Pointer(pRtree)).Fdb, zSql, -1, bp+56, uintptr(0))
} else {
@@ -167965,12 +168027,12 @@ func rtreeConstraintError(tls *libc.TLS, pRtree uintptr, iCol int32) int32 {
if iCol == 0 {
var zCol uintptr = Xsqlite3_column_name(tls, *(*uintptr)(unsafe.Pointer(bp + 56)), 0)
(*Rtree)(unsafe.Pointer(pRtree)).Fbase.FzErrMsg = Xsqlite3_mprintf(tls,
- ts+26553, libc.VaList(bp+16, (*Rtree)(unsafe.Pointer(pRtree)).FzName, zCol))
+ ts+26619, libc.VaList(bp+16, (*Rtree)(unsafe.Pointer(pRtree)).FzName, zCol))
} else {
var zCol1 uintptr = Xsqlite3_column_name(tls, *(*uintptr)(unsafe.Pointer(bp + 56)), iCol)
var zCol2 uintptr = Xsqlite3_column_name(tls, *(*uintptr)(unsafe.Pointer(bp + 56)), iCol+1)
(*Rtree)(unsafe.Pointer(pRtree)).Fbase.FzErrMsg = Xsqlite3_mprintf(tls,
- ts+26585, libc.VaList(bp+32, (*Rtree)(unsafe.Pointer(pRtree)).FzName, zCol1, zCol2))
+ ts+26651, libc.VaList(bp+32, (*Rtree)(unsafe.Pointer(pRtree)).FzName, zCol1, zCol2))
}
}
@@ -168196,7 +168258,7 @@ func rtreeRename(tls *libc.TLS, pVtab uintptr, zNewName uintptr) int32 {
var pRtree uintptr = pVtab
var rc int32 = SQLITE_NOMEM
var zSql uintptr = Xsqlite3_mprintf(tls,
- ts+26622, libc.VaList(bp, (*Rtree)(unsafe.Pointer(pRtree)).FzDb, (*Rtree)(unsafe.Pointer(pRtree)).FzName, zNewName, (*Rtree)(unsafe.Pointer(pRtree)).FzDb, (*Rtree)(unsafe.Pointer(pRtree)).FzName, zNewName, (*Rtree)(unsafe.Pointer(pRtree)).FzDb, (*Rtree)(unsafe.Pointer(pRtree)).FzName, zNewName))
+ ts+26688, libc.VaList(bp, (*Rtree)(unsafe.Pointer(pRtree)).FzDb, (*Rtree)(unsafe.Pointer(pRtree)).FzName, zNewName, (*Rtree)(unsafe.Pointer(pRtree)).FzDb, (*Rtree)(unsafe.Pointer(pRtree)).FzName, zNewName, (*Rtree)(unsafe.Pointer(pRtree)).FzDb, (*Rtree)(unsafe.Pointer(pRtree)).FzName, zNewName))
if zSql != 0 {
nodeBlobReset(tls, pRtree)
rc = Xsqlite3_exec(tls, (*Rtree)(unsafe.Pointer(pRtree)).Fdb, zSql, uintptr(0), uintptr(0), uintptr(0))
@@ -168219,14 +168281,14 @@ func rtreeQueryStat1(tls *libc.TLS, db uintptr, pRtree uintptr) int32 {
bp := tls.Alloc(24)
defer tls.Free(24)
- var zFmt uintptr = ts + 26767
+ var zFmt uintptr = ts + 26833
var zSql uintptr
var rc int32
var nRow I64 = int64(RTREE_MIN_ROWEST)
rc = Xsqlite3_table_column_metadata(tls,
- db, (*Rtree)(unsafe.Pointer(pRtree)).FzDb, ts+12700, uintptr(0), uintptr(0), uintptr(0), uintptr(0), uintptr(0), uintptr(0))
+ db, (*Rtree)(unsafe.Pointer(pRtree)).FzDb, ts+12719, uintptr(0), uintptr(0), uintptr(0), uintptr(0), uintptr(0), uintptr(0))
if rc != SQLITE_OK {
(*Rtree)(unsafe.Pointer(pRtree)).FnRowEst = int64(RTREE_DEFAULT_ROWEST)
if rc == SQLITE_ERROR {
@@ -168267,7 +168329,7 @@ func rtreeShadowName(tls *libc.TLS, zName uintptr) int32 {
}
var azName1 = [3]uintptr{
- ts + 26823, ts + 6412, ts + 17625,
+ ts + 26889, ts + 6431, ts + 17644,
}
var rtreeModule = Sqlite3_module{
@@ -168310,19 +168372,19 @@ func rtreeSqlInit(tls *libc.TLS, pRtree uintptr, db uintptr, zDb uintptr, zPrefi
var p uintptr = Xsqlite3_str_new(tls, db)
var ii int32
Xsqlite3_str_appendf(tls, p,
- ts+26828,
+ ts+26894,
libc.VaList(bp, zDb, zPrefix))
for ii = 0; ii < int32((*Rtree)(unsafe.Pointer(pRtree)).FnAux); ii++ {
- Xsqlite3_str_appendf(tls, p, ts+26890, libc.VaList(bp+16, ii))
+ Xsqlite3_str_appendf(tls, p, ts+26956, libc.VaList(bp+16, ii))
}
Xsqlite3_str_appendf(tls, p,
- ts+26895,
+ ts+26961,
libc.VaList(bp+24, zDb, zPrefix))
Xsqlite3_str_appendf(tls, p,
- ts+26959,
+ ts+27025,
libc.VaList(bp+40, zDb, zPrefix))
Xsqlite3_str_appendf(tls, p,
- ts+27029,
+ ts+27095,
libc.VaList(bp+56, zDb, zPrefix, (*Rtree)(unsafe.Pointer(pRtree)).FiNodeSize))
zCreate = Xsqlite3_str_finish(tls, p)
if !(zCreate != 0) {
@@ -168351,7 +168413,7 @@ func rtreeSqlInit(tls *libc.TLS, pRtree uintptr, db uintptr, zDb uintptr, zPrefi
if i != 3 || int32((*Rtree)(unsafe.Pointer(pRtree)).FnAux) == 0 {
zFormat = azSql[i]
} else {
- zFormat = ts + 27078
+ zFormat = ts + 27144
}
zSql = Xsqlite3_mprintf(tls, zFormat, libc.VaList(bp+80, zDb, zPrefix))
if zSql != 0 {
@@ -168363,7 +168425,7 @@ func rtreeSqlInit(tls *libc.TLS, pRtree uintptr, db uintptr, zDb uintptr, zPrefi
}
if (*Rtree)(unsafe.Pointer(pRtree)).FnAux != 0 {
(*Rtree)(unsafe.Pointer(pRtree)).FzReadAuxSql = Xsqlite3_mprintf(tls,
- ts+27186,
+ ts+27252,
libc.VaList(bp+96, zDb, zPrefix))
if (*Rtree)(unsafe.Pointer(pRtree)).FzReadAuxSql == uintptr(0) {
rc = SQLITE_NOMEM
@@ -168371,18 +168433,18 @@ func rtreeSqlInit(tls *libc.TLS, pRtree uintptr, db uintptr, zDb uintptr, zPrefi
var p uintptr = Xsqlite3_str_new(tls, db)
var ii int32
var zSql uintptr
- Xsqlite3_str_appendf(tls, p, ts+27231, libc.VaList(bp+112, zDb, zPrefix))
+ Xsqlite3_str_appendf(tls, p, ts+27297, libc.VaList(bp+112, zDb, zPrefix))
for ii = 0; ii < int32((*Rtree)(unsafe.Pointer(pRtree)).FnAux); ii++ {
if ii != 0 {
- Xsqlite3_str_append(tls, p, ts+14119, 1)
+ Xsqlite3_str_append(tls, p, ts+14138, 1)
}
if ii < int32((*Rtree)(unsafe.Pointer(pRtree)).FnAuxNotNull) {
- Xsqlite3_str_appendf(tls, p, ts+27258, libc.VaList(bp+128, ii, ii+2, ii))
+ Xsqlite3_str_appendf(tls, p, ts+27324, libc.VaList(bp+128, ii, ii+2, ii))
} else {
- Xsqlite3_str_appendf(tls, p, ts+27280, libc.VaList(bp+152, ii, ii+2))
+ Xsqlite3_str_appendf(tls, p, ts+27346, libc.VaList(bp+152, ii, ii+2))
}
}
- Xsqlite3_str_appendf(tls, p, ts+27288, 0)
+ Xsqlite3_str_appendf(tls, p, ts+27354, 0)
zSql = Xsqlite3_str_finish(tls, p)
if zSql == uintptr(0) {
rc = SQLITE_NOMEM
@@ -168397,14 +168459,14 @@ func rtreeSqlInit(tls *libc.TLS, pRtree uintptr, db uintptr, zDb uintptr, zPrefi
}
var azSql = [8]uintptr{
- ts + 27304,
- ts + 27357,
- ts + 27402,
- ts + 27454,
- ts + 27508,
- ts + 27553,
- ts + 27611,
- ts + 27666,
+ ts + 27370,
+ ts + 27423,
+ ts + 27468,
+ ts + 27520,
+ ts + 27574,
+ ts + 27619,
+ ts + 27677,
+ ts + 27732,
}
func getIntFromStmt(tls *libc.TLS, db uintptr, zSql uintptr, piVal uintptr) int32 {
@@ -168433,7 +168495,7 @@ func getNodeSize(tls *libc.TLS, db uintptr, pRtree uintptr, isCreate int32, pzEr
var zSql uintptr
if isCreate != 0 {
*(*int32)(unsafe.Pointer(bp + 48)) = 0
- zSql = Xsqlite3_mprintf(tls, ts+27713, libc.VaList(bp, (*Rtree)(unsafe.Pointer(pRtree)).FzDb))
+ zSql = Xsqlite3_mprintf(tls, ts+27779, libc.VaList(bp, (*Rtree)(unsafe.Pointer(pRtree)).FzDb))
rc = getIntFromStmt(tls, db, zSql, bp+48)
if rc == SQLITE_OK {
(*Rtree)(unsafe.Pointer(pRtree)).FiNodeSize = *(*int32)(unsafe.Pointer(bp + 48)) - 64
@@ -168441,19 +168503,19 @@ func getNodeSize(tls *libc.TLS, db uintptr, pRtree uintptr, isCreate int32, pzEr
(*Rtree)(unsafe.Pointer(pRtree)).FiNodeSize = 4 + int32((*Rtree)(unsafe.Pointer(pRtree)).FnBytesPerCell)*RTREE_MAXCELLS
}
} else {
- *(*uintptr)(unsafe.Pointer(pzErr)) = Xsqlite3_mprintf(tls, ts+4493, libc.VaList(bp+8, Xsqlite3_errmsg(tls, db)))
+ *(*uintptr)(unsafe.Pointer(pzErr)) = Xsqlite3_mprintf(tls, ts+4512, libc.VaList(bp+8, Xsqlite3_errmsg(tls, db)))
}
} else {
zSql = Xsqlite3_mprintf(tls,
- ts+27733,
+ ts+27799,
libc.VaList(bp+16, (*Rtree)(unsafe.Pointer(pRtree)).FzDb, (*Rtree)(unsafe.Pointer(pRtree)).FzName))
rc = getIntFromStmt(tls, db, zSql, pRtree+32)
if rc != SQLITE_OK {
- *(*uintptr)(unsafe.Pointer(pzErr)) = Xsqlite3_mprintf(tls, ts+4493, libc.VaList(bp+32, Xsqlite3_errmsg(tls, db)))
+ *(*uintptr)(unsafe.Pointer(pzErr)) = Xsqlite3_mprintf(tls, ts+4512, libc.VaList(bp+32, Xsqlite3_errmsg(tls, db)))
} else if (*Rtree)(unsafe.Pointer(pRtree)).FiNodeSize < 512-64 {
rc = SQLITE_CORRUPT | int32(1)<<8
- *(*uintptr)(unsafe.Pointer(pzErr)) = Xsqlite3_mprintf(tls, ts+27790,
+ *(*uintptr)(unsafe.Pointer(pzErr)) = Xsqlite3_mprintf(tls, ts+27856,
libc.VaList(bp+40, (*Rtree)(unsafe.Pointer(pRtree)).FzName))
}
}
@@ -168495,16 +168557,16 @@ func rtreeInit(tls *libc.TLS, db uintptr, pAux uintptr, argc int32, argv uintptr
ii = 4
*(*[5]uintptr)(unsafe.Pointer(bp + 96)) = [5]uintptr{
uintptr(0),
- ts + 27825,
- ts + 27868,
- ts + 27903,
- ts + 27939,
+ ts + 27891,
+ ts + 27934,
+ ts + 27969,
+ ts + 28005,
}
if !(argc < 6 || argc > RTREE_MAX_AUX_COLUMN+3) {
goto __1
}
- *(*uintptr)(unsafe.Pointer(pzErr)) = Xsqlite3_mprintf(tls, ts+4493, libc.VaList(bp, *(*uintptr)(unsafe.Pointer(bp + 96 + uintptr(2+libc.Bool32(argc >= 6))*8))))
+ *(*uintptr)(unsafe.Pointer(pzErr)) = Xsqlite3_mprintf(tls, ts+4512, libc.VaList(bp, *(*uintptr)(unsafe.Pointer(bp + 96 + uintptr(2+libc.Bool32(argc >= 6))*8))))
return SQLITE_ERROR
__1:
;
@@ -168529,7 +168591,7 @@ __2:
libc.Xmemcpy(tls, (*Rtree)(unsafe.Pointer(pRtree)).FzName, *(*uintptr)(unsafe.Pointer(argv + 2*8)), uint64(nName))
pSql = Xsqlite3_str_new(tls, db)
- Xsqlite3_str_appendf(tls, pSql, ts+27976,
+ Xsqlite3_str_appendf(tls, pSql, ts+28042,
libc.VaList(bp+16, rtreeTokenLength(tls, *(*uintptr)(unsafe.Pointer(argv + 3*8))), *(*uintptr)(unsafe.Pointer(argv + 3*8))))
ii = 4
__3:
@@ -168541,7 +168603,7 @@ __3:
goto __6
}
(*Rtree)(unsafe.Pointer(pRtree)).FnAux++
- Xsqlite3_str_appendf(tls, pSql, ts+28000, libc.VaList(bp+32, rtreeTokenLength(tls, zArg+uintptr(1)), zArg+uintptr(1)))
+ Xsqlite3_str_appendf(tls, pSql, ts+28066, libc.VaList(bp+32, rtreeTokenLength(tls, zArg+uintptr(1)), zArg+uintptr(1)))
goto __7
__6:
if !(int32((*Rtree)(unsafe.Pointer(pRtree)).FnAux) > 0) {
@@ -168564,7 +168626,7 @@ __4:
goto __5
__5:
;
- Xsqlite3_str_appendf(tls, pSql, ts+28006, 0)
+ Xsqlite3_str_appendf(tls, pSql, ts+28072, 0)
zSql = Xsqlite3_str_finish(tls, pSql)
if !!(zSql != 0) {
goto __10
@@ -168575,14 +168637,14 @@ __10:
if !(ii < argc) {
goto __12
}
- *(*uintptr)(unsafe.Pointer(pzErr)) = Xsqlite3_mprintf(tls, ts+4493, libc.VaList(bp+64, *(*uintptr)(unsafe.Pointer(bp + 96 + 4*8))))
+ *(*uintptr)(unsafe.Pointer(pzErr)) = Xsqlite3_mprintf(tls, ts+4512, libc.VaList(bp+64, *(*uintptr)(unsafe.Pointer(bp + 96 + 4*8))))
rc = SQLITE_ERROR
goto __13
__12:
if !(SQLITE_OK != libc.AssignInt32(&rc, Xsqlite3_declare_vtab(tls, db, zSql))) {
goto __14
}
- *(*uintptr)(unsafe.Pointer(pzErr)) = Xsqlite3_mprintf(tls, ts+4493, libc.VaList(bp+72, Xsqlite3_errmsg(tls, db)))
+ *(*uintptr)(unsafe.Pointer(pzErr)) = Xsqlite3_mprintf(tls, ts+4512, libc.VaList(bp+72, Xsqlite3_errmsg(tls, db)))
__14:
;
__13:
@@ -168625,7 +168687,7 @@ __17:
if !(iErr != 0) {
goto __22
}
- *(*uintptr)(unsafe.Pointer(pzErr)) = Xsqlite3_mprintf(tls, ts+4493, libc.VaList(bp+80, *(*uintptr)(unsafe.Pointer(bp + 96 + uintptr(iErr)*8))))
+ *(*uintptr)(unsafe.Pointer(pzErr)) = Xsqlite3_mprintf(tls, ts+4512, libc.VaList(bp+80, *(*uintptr)(unsafe.Pointer(bp + 96 + uintptr(iErr)*8))))
goto rtreeInit_fail
__22:
;
@@ -168642,7 +168704,7 @@ __23:
if !(rc != 0) {
goto __24
}
- *(*uintptr)(unsafe.Pointer(pzErr)) = Xsqlite3_mprintf(tls, ts+4493, libc.VaList(bp+88, Xsqlite3_errmsg(tls, db)))
+ *(*uintptr)(unsafe.Pointer(pzErr)) = Xsqlite3_mprintf(tls, ts+4512, libc.VaList(bp+88, Xsqlite3_errmsg(tls, db)))
goto rtreeInit_fail
__24:
;
@@ -168660,7 +168722,7 @@ __25:
return rc
}
-var azFormat = [2]uintptr{ts + 28009, ts + 28020}
+var azFormat = [2]uintptr{ts + 28075, ts + 28086}
func rtreenode(tls *libc.TLS, ctx uintptr, nArg int32, apArg uintptr) {
bp := tls.Alloc(1072)
@@ -168698,13 +168760,13 @@ func rtreenode(tls *libc.TLS, ctx uintptr, nArg int32, apArg uintptr) {
nodeGetCell(tls, bp+56, bp+16, ii, bp+1024)
if ii > 0 {
- Xsqlite3_str_append(tls, pOut, ts+12272, 1)
+ Xsqlite3_str_append(tls, pOut, ts+12291, 1)
}
- Xsqlite3_str_appendf(tls, pOut, ts+28030, libc.VaList(bp, (*RtreeCell)(unsafe.Pointer(bp+1024)).FiRowid))
+ Xsqlite3_str_appendf(tls, pOut, ts+28096, libc.VaList(bp, (*RtreeCell)(unsafe.Pointer(bp+1024)).FiRowid))
for jj = 0; jj < int32((*Rtree)(unsafe.Pointer(bp+56)).FnDim2); jj++ {
- Xsqlite3_str_appendf(tls, pOut, ts+28036, libc.VaList(bp+8, float64(*(*RtreeValue)(unsafe.Pointer(bp + 1024 + 8 + uintptr(jj)*4)))))
+ Xsqlite3_str_appendf(tls, pOut, ts+28102, libc.VaList(bp+8, float64(*(*RtreeValue)(unsafe.Pointer(bp + 1024 + 8 + uintptr(jj)*4)))))
}
- Xsqlite3_str_append(tls, pOut, ts+28040, 1)
+ Xsqlite3_str_append(tls, pOut, ts+28106, 1)
}
errCode = Xsqlite3_str_errcode(tls, pOut)
Xsqlite3_result_text(tls, ctx, Xsqlite3_str_finish(tls, pOut), -1, *(*uintptr)(unsafe.Pointer(&struct{ f func(*libc.TLS, uintptr) }{Xsqlite3_free})))
@@ -168715,7 +168777,7 @@ func rtreedepth(tls *libc.TLS, ctx uintptr, nArg int32, apArg uintptr) {
_ = nArg
if Xsqlite3_value_type(tls, *(*uintptr)(unsafe.Pointer(apArg))) != SQLITE_BLOB ||
Xsqlite3_value_bytes(tls, *(*uintptr)(unsafe.Pointer(apArg))) < 2 {
- Xsqlite3_result_error(tls, ctx, ts+28042, -1)
+ Xsqlite3_result_error(tls, ctx, ts+28108, -1)
} else {
var zBlob uintptr = Xsqlite3_value_blob(tls, *(*uintptr)(unsafe.Pointer(apArg)))
if zBlob != 0 {
@@ -168793,12 +168855,12 @@ func rtreeCheckAppendMsg(tls *libc.TLS, pCheck uintptr, zFmt uintptr, va uintptr
if z == uintptr(0) {
(*RtreeCheck)(unsafe.Pointer(pCheck)).Frc = SQLITE_NOMEM
} else {
- (*RtreeCheck)(unsafe.Pointer(pCheck)).FzReport = Xsqlite3_mprintf(tls, ts+28075,
+ (*RtreeCheck)(unsafe.Pointer(pCheck)).FzReport = Xsqlite3_mprintf(tls, ts+28141,
libc.VaList(bp, (*RtreeCheck)(unsafe.Pointer(pCheck)).FzReport, func() uintptr {
if (*RtreeCheck)(unsafe.Pointer(pCheck)).FzReport != 0 {
- return ts + 5414
+ return ts + 5433
}
- return ts + 1544
+ return ts + 1563
}(), z))
if (*RtreeCheck)(unsafe.Pointer(pCheck)).FzReport == uintptr(0) {
(*RtreeCheck)(unsafe.Pointer(pCheck)).Frc = SQLITE_NOMEM
@@ -168817,7 +168879,7 @@ func rtreeCheckGetNode(tls *libc.TLS, pCheck uintptr, iNode I64, pnNode uintptr)
if (*RtreeCheck)(unsafe.Pointer(pCheck)).Frc == SQLITE_OK && (*RtreeCheck)(unsafe.Pointer(pCheck)).FpGetNode == uintptr(0) {
(*RtreeCheck)(unsafe.Pointer(pCheck)).FpGetNode = rtreeCheckPrepare(tls, pCheck,
- ts+28082,
+ ts+28148,
libc.VaList(bp, (*RtreeCheck)(unsafe.Pointer(pCheck)).FzDb, (*RtreeCheck)(unsafe.Pointer(pCheck)).FzTab))
}
@@ -168836,7 +168898,7 @@ func rtreeCheckGetNode(tls *libc.TLS, pCheck uintptr, iNode I64, pnNode uintptr)
}
rtreeCheckReset(tls, pCheck, (*RtreeCheck)(unsafe.Pointer(pCheck)).FpGetNode)
if (*RtreeCheck)(unsafe.Pointer(pCheck)).Frc == SQLITE_OK && pRet == uintptr(0) {
- rtreeCheckAppendMsg(tls, pCheck, ts+28127, libc.VaList(bp+16, iNode))
+ rtreeCheckAppendMsg(tls, pCheck, ts+28193, libc.VaList(bp+16, iNode))
}
}
@@ -168850,8 +168912,8 @@ func rtreeCheckMapping(tls *libc.TLS, pCheck uintptr, bLeaf int32, iKey I64, iVa
var rc int32
var pStmt uintptr
*(*[2]uintptr)(unsafe.Pointer(bp + 80)) = [2]uintptr{
- ts + 28159,
- ts + 28213,
+ ts + 28225,
+ ts + 28279,
}
if *(*uintptr)(unsafe.Pointer(pCheck + 40 + uintptr(bLeaf)*8)) == uintptr(0) {
@@ -168866,23 +168928,23 @@ func rtreeCheckMapping(tls *libc.TLS, pCheck uintptr, bLeaf int32, iKey I64, iVa
Xsqlite3_bind_int64(tls, pStmt, 1, iKey)
rc = Xsqlite3_step(tls, pStmt)
if rc == SQLITE_DONE {
- rtreeCheckAppendMsg(tls, pCheck, ts+28261,
+ rtreeCheckAppendMsg(tls, pCheck, ts+28327,
libc.VaList(bp+16, iKey, iVal, func() uintptr {
if bLeaf != 0 {
- return ts + 28306
+ return ts + 28372
}
- return ts + 28314
+ return ts + 28380
}()))
} else if rc == SQLITE_ROW {
var ii I64 = Xsqlite3_column_int64(tls, pStmt, 0)
if ii != iVal {
rtreeCheckAppendMsg(tls, pCheck,
- ts+28323,
+ ts+28389,
libc.VaList(bp+40, iKey, ii, func() uintptr {
if bLeaf != 0 {
- return ts + 28306
+ return ts + 28372
}
- return ts + 28314
+ return ts + 28380
}(), iKey, iVal))
}
}
@@ -168906,7 +168968,7 @@ func rtreeCheckCellCoord(tls *libc.TLS, pCheck uintptr, iNode I64, iCell int32,
return libc.Bool32(*(*RtreeValue)(unsafe.Pointer(bp + 48)) > *(*RtreeValue)(unsafe.Pointer(bp + 52)))
}() != 0 {
rtreeCheckAppendMsg(tls, pCheck,
- ts+28381, libc.VaList(bp, i, iCell, iNode))
+ ts+28447, libc.VaList(bp, i, iCell, iNode))
}
if pParent != 0 {
@@ -168926,7 +168988,7 @@ func rtreeCheckCellCoord(tls *libc.TLS, pCheck uintptr, iNode I64, iCell int32,
return libc.Bool32(*(*RtreeValue)(unsafe.Pointer(bp + 52)) > *(*RtreeValue)(unsafe.Pointer(bp + 60)))
}() != 0 {
rtreeCheckAppendMsg(tls, pCheck,
- ts+28429, libc.VaList(bp+24, i, iCell, iNode))
+ ts+28495, libc.VaList(bp+24, i, iCell, iNode))
}
}
}
@@ -168943,14 +169005,14 @@ func rtreeCheckNode(tls *libc.TLS, pCheck uintptr, iDepth int32, aParent uintptr
if aNode != 0 {
if *(*int32)(unsafe.Pointer(bp + 48)) < 4 {
rtreeCheckAppendMsg(tls, pCheck,
- ts+28496, libc.VaList(bp, iNode, *(*int32)(unsafe.Pointer(bp + 48))))
+ ts+28562, libc.VaList(bp, iNode, *(*int32)(unsafe.Pointer(bp + 48))))
} else {
var nCell int32
var i int32
if aParent == uintptr(0) {
iDepth = readInt16(tls, aNode)
if iDepth > RTREE_MAX_DEPTH {
- rtreeCheckAppendMsg(tls, pCheck, ts+28530, libc.VaList(bp+16, iDepth))
+ rtreeCheckAppendMsg(tls, pCheck, ts+28596, libc.VaList(bp+16, iDepth))
Xsqlite3_free(tls, aNode)
return
}
@@ -168958,7 +169020,7 @@ func rtreeCheckNode(tls *libc.TLS, pCheck uintptr, iDepth int32, aParent uintptr
nCell = readInt16(tls, aNode+2)
if 4+nCell*(8+(*RtreeCheck)(unsafe.Pointer(pCheck)).FnDim*2*4) > *(*int32)(unsafe.Pointer(bp + 48)) {
rtreeCheckAppendMsg(tls, pCheck,
- ts+28560,
+ ts+28626,
libc.VaList(bp+24, iNode, nCell, *(*int32)(unsafe.Pointer(bp + 48))))
} else {
for i = 0; i < nCell; i++ {
@@ -168987,14 +169049,14 @@ func rtreeCheckCount(tls *libc.TLS, pCheck uintptr, zTbl uintptr, nExpect I64) {
if (*RtreeCheck)(unsafe.Pointer(pCheck)).Frc == SQLITE_OK {
var pCount uintptr
- pCount = rtreeCheckPrepare(tls, pCheck, ts+28615,
+ pCount = rtreeCheckPrepare(tls, pCheck, ts+28681,
libc.VaList(bp, (*RtreeCheck)(unsafe.Pointer(pCheck)).FzDb, (*RtreeCheck)(unsafe.Pointer(pCheck)).FzTab, zTbl))
if pCount != 0 {
if Xsqlite3_step(tls, pCount) == SQLITE_ROW {
var nActual I64 = Xsqlite3_column_int64(tls, pCount, 0)
if nActual != nExpect {
rtreeCheckAppendMsg(tls, pCheck,
- ts+28646, libc.VaList(bp+24, zTbl, nExpect, nActual))
+ ts+28712, libc.VaList(bp+24, zTbl, nExpect, nActual))
}
}
(*RtreeCheck)(unsafe.Pointer(pCheck)).Frc = Xsqlite3_finalize(tls, pCount)
@@ -169016,12 +169078,12 @@ func rtreeCheckTable(tls *libc.TLS, db uintptr, zDb uintptr, zTab uintptr, pzRep
(*RtreeCheck)(unsafe.Pointer(bp + 32)).FzTab = zTab
if Xsqlite3_get_autocommit(tls, db) != 0 {
- (*RtreeCheck)(unsafe.Pointer(bp + 32)).Frc = Xsqlite3_exec(tls, db, ts+15860, uintptr(0), uintptr(0), uintptr(0))
+ (*RtreeCheck)(unsafe.Pointer(bp + 32)).Frc = Xsqlite3_exec(tls, db, ts+15879, uintptr(0), uintptr(0), uintptr(0))
bEnd = 1
}
if (*RtreeCheck)(unsafe.Pointer(bp+32)).Frc == SQLITE_OK {
- pStmt = rtreeCheckPrepare(tls, bp+32, ts+28713, libc.VaList(bp, zDb, zTab))
+ pStmt = rtreeCheckPrepare(tls, bp+32, ts+28779, libc.VaList(bp, zDb, zTab))
if pStmt != 0 {
nAux = Xsqlite3_column_count(tls, pStmt) - 2
Xsqlite3_finalize(tls, pStmt)
@@ -169030,12 +169092,12 @@ func rtreeCheckTable(tls *libc.TLS, db uintptr, zDb uintptr, zTab uintptr, pzRep
}
}
- pStmt = rtreeCheckPrepare(tls, bp+32, ts+26533, libc.VaList(bp+16, zDb, zTab))
+ pStmt = rtreeCheckPrepare(tls, bp+32, ts+26599, libc.VaList(bp+16, zDb, zTab))
if pStmt != 0 {
var rc int32
(*RtreeCheck)(unsafe.Pointer(bp + 32)).FnDim = (Xsqlite3_column_count(tls, pStmt) - 1 - nAux) / 2
if (*RtreeCheck)(unsafe.Pointer(bp+32)).FnDim < 1 {
- rtreeCheckAppendMsg(tls, bp+32, ts+28741, 0)
+ rtreeCheckAppendMsg(tls, bp+32, ts+28807, 0)
} else if SQLITE_ROW == Xsqlite3_step(tls, pStmt) {
(*RtreeCheck)(unsafe.Pointer(bp + 32)).FbInt = libc.Bool32(Xsqlite3_column_type(tls, pStmt, 1) == SQLITE_INTEGER)
}
@@ -169049,8 +169111,8 @@ func rtreeCheckTable(tls *libc.TLS, db uintptr, zDb uintptr, zTab uintptr, pzRep
if (*RtreeCheck)(unsafe.Pointer(bp+32)).Frc == SQLITE_OK {
rtreeCheckNode(tls, bp+32, 0, uintptr(0), int64(1))
}
- rtreeCheckCount(tls, bp+32, ts+28772, int64((*RtreeCheck)(unsafe.Pointer(bp+32)).FnLeaf))
- rtreeCheckCount(tls, bp+32, ts+28779, int64((*RtreeCheck)(unsafe.Pointer(bp+32)).FnNonLeaf))
+ rtreeCheckCount(tls, bp+32, ts+28838, int64((*RtreeCheck)(unsafe.Pointer(bp+32)).FnLeaf))
+ rtreeCheckCount(tls, bp+32, ts+28845, int64((*RtreeCheck)(unsafe.Pointer(bp+32)).FnNonLeaf))
}
Xsqlite3_finalize(tls, (*RtreeCheck)(unsafe.Pointer(bp+32)).FpGetNode)
@@ -169058,7 +169120,7 @@ func rtreeCheckTable(tls *libc.TLS, db uintptr, zDb uintptr, zTab uintptr, pzRep
Xsqlite3_finalize(tls, *(*uintptr)(unsafe.Pointer(bp + 32 + 40 + 1*8)))
if bEnd != 0 {
- var rc int32 = Xsqlite3_exec(tls, db, ts+28787, uintptr(0), uintptr(0), uintptr(0))
+ var rc int32 = Xsqlite3_exec(tls, db, ts+28853, uintptr(0), uintptr(0), uintptr(0))
if (*RtreeCheck)(unsafe.Pointer(bp+32)).Frc == SQLITE_OK {
(*RtreeCheck)(unsafe.Pointer(bp + 32)).Frc = rc
}
@@ -169073,7 +169135,7 @@ func rtreecheck(tls *libc.TLS, ctx uintptr, nArg int32, apArg uintptr) {
if nArg != 1 && nArg != 2 {
Xsqlite3_result_error(tls, ctx,
- ts+28791, -1)
+ ts+28857, -1)
} else {
var rc int32
*(*uintptr)(unsafe.Pointer(bp)) = uintptr(0)
@@ -169081,7 +169143,7 @@ func rtreecheck(tls *libc.TLS, ctx uintptr, nArg int32, apArg uintptr) {
var zTab uintptr
if nArg == 1 {
zTab = zDb
- zDb = ts + 7793
+ zDb = ts + 7812
} else {
zTab = Xsqlite3_value_text(tls, *(*uintptr)(unsafe.Pointer(apArg + 1*8)))
}
@@ -169091,7 +169153,7 @@ func rtreecheck(tls *libc.TLS, ctx uintptr, nArg int32, apArg uintptr) {
if *(*uintptr)(unsafe.Pointer(bp)) != 0 {
return *(*uintptr)(unsafe.Pointer(bp))
}
- return ts + 19381
+ return ts + 19447
}(), -1, libc.UintptrFromInt32(-1))
} else {
Xsqlite3_result_error_code(tls, ctx, rc)
@@ -169462,11 +169524,11 @@ func geopolyJsonFunc(tls *libc.TLS, context uintptr, argc int32, argv uintptr) {
var db uintptr = Xsqlite3_context_db_handle(tls, context)
var x uintptr = Xsqlite3_str_new(tls, db)
var i int32
- Xsqlite3_str_append(tls, x, ts+28842, 1)
+ Xsqlite3_str_append(tls, x, ts+28908, 1)
for i = 0; i < (*GeoPoly)(unsafe.Pointer(p)).FnVertex; i++ {
- Xsqlite3_str_appendf(tls, x, ts+28844, libc.VaList(bp, float64(*(*GeoCoord)(unsafe.Pointer(p + 8 + uintptr(i*2)*4))), float64(*(*GeoCoord)(unsafe.Pointer(p + 8 + uintptr(i*2+1)*4)))))
+ Xsqlite3_str_appendf(tls, x, ts+28910, libc.VaList(bp, float64(*(*GeoCoord)(unsafe.Pointer(p + 8 + uintptr(i*2)*4))), float64(*(*GeoCoord)(unsafe.Pointer(p + 8 + uintptr(i*2+1)*4)))))
}
- Xsqlite3_str_appendf(tls, x, ts+28855, libc.VaList(bp+16, float64(*(*GeoCoord)(unsafe.Pointer(p + 8))), float64(*(*GeoCoord)(unsafe.Pointer(p + 8 + 1*4)))))
+ Xsqlite3_str_appendf(tls, x, ts+28921, libc.VaList(bp+16, float64(*(*GeoCoord)(unsafe.Pointer(p + 8))), float64(*(*GeoCoord)(unsafe.Pointer(p + 8 + 1*4)))))
Xsqlite3_result_text(tls, context, Xsqlite3_str_finish(tls, x), -1, *(*uintptr)(unsafe.Pointer(&struct{ f func(*libc.TLS, uintptr) }{Xsqlite3_free})))
Xsqlite3_free(tls, p)
}
@@ -169486,19 +169548,19 @@ func geopolySvgFunc(tls *libc.TLS, context uintptr, argc int32, argv uintptr) {
var x uintptr = Xsqlite3_str_new(tls, db)
var i int32
var cSep int8 = int8('\'')
- Xsqlite3_str_appendf(tls, x, ts+28866, 0)
+ Xsqlite3_str_appendf(tls, x, ts+28932, 0)
for i = 0; i < (*GeoPoly)(unsafe.Pointer(p)).FnVertex; i++ {
- Xsqlite3_str_appendf(tls, x, ts+28884, libc.VaList(bp, int32(cSep), float64(*(*GeoCoord)(unsafe.Pointer(p + 8 + uintptr(i*2)*4))), float64(*(*GeoCoord)(unsafe.Pointer(p + 8 + uintptr(i*2+1)*4)))))
+ Xsqlite3_str_appendf(tls, x, ts+28950, libc.VaList(bp, int32(cSep), float64(*(*GeoCoord)(unsafe.Pointer(p + 8 + uintptr(i*2)*4))), float64(*(*GeoCoord)(unsafe.Pointer(p + 8 + uintptr(i*2+1)*4)))))
cSep = int8(' ')
}
- Xsqlite3_str_appendf(tls, x, ts+28892, libc.VaList(bp+24, float64(*(*GeoCoord)(unsafe.Pointer(p + 8))), float64(*(*GeoCoord)(unsafe.Pointer(p + 8 + 1*4)))))
+ Xsqlite3_str_appendf(tls, x, ts+28958, libc.VaList(bp+24, float64(*(*GeoCoord)(unsafe.Pointer(p + 8))), float64(*(*GeoCoord)(unsafe.Pointer(p + 8 + 1*4)))))
for i = 1; i < argc; i++ {
var z uintptr = Xsqlite3_value_text(tls, *(*uintptr)(unsafe.Pointer(argv + uintptr(i)*8)))
if z != 0 && *(*int8)(unsafe.Pointer(z)) != 0 {
- Xsqlite3_str_appendf(tls, x, ts+28900, libc.VaList(bp+40, z))
+ Xsqlite3_str_appendf(tls, x, ts+28966, libc.VaList(bp+40, z))
}
}
- Xsqlite3_str_appendf(tls, x, ts+28904, 0)
+ Xsqlite3_str_appendf(tls, x, ts+28970, 0)
Xsqlite3_result_text(tls, context, Xsqlite3_str_finish(tls, x), -1, *(*uintptr)(unsafe.Pointer(&struct{ f func(*libc.TLS, uintptr) }{Xsqlite3_free})))
Xsqlite3_free(tls, p)
}
@@ -170418,7 +170480,7 @@ __1:
libc.Xmemcpy(tls, (*Rtree)(unsafe.Pointer(pRtree)).FzName, *(*uintptr)(unsafe.Pointer(argv + 2*8)), uint64(nName))
pSql = Xsqlite3_str_new(tls, db)
- Xsqlite3_str_appendf(tls, pSql, ts+28917, 0)
+ Xsqlite3_str_appendf(tls, pSql, ts+28983, 0)
(*Rtree)(unsafe.Pointer(pRtree)).FnAux = U8(1)
(*Rtree)(unsafe.Pointer(pRtree)).FnAuxNotNull = U8(1)
ii = 3
@@ -170427,7 +170489,7 @@ __2:
goto __4
}
(*Rtree)(unsafe.Pointer(pRtree)).FnAux++
- Xsqlite3_str_appendf(tls, pSql, ts+28939, libc.VaList(bp+8, *(*uintptr)(unsafe.Pointer(argv + uintptr(ii)*8))))
+ Xsqlite3_str_appendf(tls, pSql, ts+29005, libc.VaList(bp+8, *(*uintptr)(unsafe.Pointer(argv + uintptr(ii)*8))))
goto __3
__3:
ii++
@@ -170435,7 +170497,7 @@ __3:
goto __4
__4:
;
- Xsqlite3_str_appendf(tls, pSql, ts+28006, 0)
+ Xsqlite3_str_appendf(tls, pSql, ts+28072, 0)
zSql = Xsqlite3_str_finish(tls, pSql)
if !!(zSql != 0) {
goto __5
@@ -170446,7 +170508,7 @@ __5:
if !(SQLITE_OK != libc.AssignInt32(&rc, Xsqlite3_declare_vtab(tls, db, zSql))) {
goto __7
}
- *(*uintptr)(unsafe.Pointer(pzErr)) = Xsqlite3_mprintf(tls, ts+4493, libc.VaList(bp+16, Xsqlite3_errmsg(tls, db)))
+ *(*uintptr)(unsafe.Pointer(pzErr)) = Xsqlite3_mprintf(tls, ts+4512, libc.VaList(bp+16, Xsqlite3_errmsg(tls, db)))
__7:
;
__6:
@@ -170471,7 +170533,7 @@ __9:
if !(rc != 0) {
goto __10
}
- *(*uintptr)(unsafe.Pointer(pzErr)) = Xsqlite3_mprintf(tls, ts+4493, libc.VaList(bp+24, Xsqlite3_errmsg(tls, db)))
+ *(*uintptr)(unsafe.Pointer(pzErr)) = Xsqlite3_mprintf(tls, ts+4512, libc.VaList(bp+24, Xsqlite3_errmsg(tls, db)))
goto geopolyInit_fail
__10:
;
@@ -170662,7 +170724,7 @@ func geopolyBestIndex(tls *libc.TLS, tab uintptr, pIdxInfo uintptr) int32 {
if iRowidTerm >= 0 {
(*Sqlite3_index_info)(unsafe.Pointer(pIdxInfo)).FidxNum = 1
- (*Sqlite3_index_info)(unsafe.Pointer(pIdxInfo)).FidxStr = ts + 17625
+ (*Sqlite3_index_info)(unsafe.Pointer(pIdxInfo)).FidxStr = ts + 17644
(*sqlite3_index_constraint_usage)(unsafe.Pointer((*Sqlite3_index_info)(unsafe.Pointer(pIdxInfo)).FaConstraintUsage + uintptr(iRowidTerm)*8)).FargvIndex = 1
(*sqlite3_index_constraint_usage)(unsafe.Pointer((*Sqlite3_index_info)(unsafe.Pointer(pIdxInfo)).FaConstraintUsage + uintptr(iRowidTerm)*8)).Fomit = uint8(1)
(*Sqlite3_index_info)(unsafe.Pointer(pIdxInfo)).FestimatedCost = 30.0
@@ -170672,7 +170734,7 @@ func geopolyBestIndex(tls *libc.TLS, tab uintptr, pIdxInfo uintptr) int32 {
}
if iFuncTerm >= 0 {
(*Sqlite3_index_info)(unsafe.Pointer(pIdxInfo)).FidxNum = idxNum
- (*Sqlite3_index_info)(unsafe.Pointer(pIdxInfo)).FidxStr = ts + 28943
+ (*Sqlite3_index_info)(unsafe.Pointer(pIdxInfo)).FidxStr = ts + 29009
(*sqlite3_index_constraint_usage)(unsafe.Pointer((*Sqlite3_index_info)(unsafe.Pointer(pIdxInfo)).FaConstraintUsage + uintptr(iFuncTerm)*8)).FargvIndex = 1
(*sqlite3_index_constraint_usage)(unsafe.Pointer((*Sqlite3_index_info)(unsafe.Pointer(pIdxInfo)).FaConstraintUsage + uintptr(iFuncTerm)*8)).Fomit = uint8(0)
(*Sqlite3_index_info)(unsafe.Pointer(pIdxInfo)).FestimatedCost = 300.0
@@ -170680,7 +170742,7 @@ func geopolyBestIndex(tls *libc.TLS, tab uintptr, pIdxInfo uintptr) int32 {
return SQLITE_OK
}
(*Sqlite3_index_info)(unsafe.Pointer(pIdxInfo)).FidxNum = 4
- (*Sqlite3_index_info)(unsafe.Pointer(pIdxInfo)).FidxStr = ts + 28949
+ (*Sqlite3_index_info)(unsafe.Pointer(pIdxInfo)).FidxStr = ts + 29015
(*Sqlite3_index_info)(unsafe.Pointer(pIdxInfo)).FestimatedCost = 3000000.0
(*Sqlite3_index_info)(unsafe.Pointer(pIdxInfo)).FestimatedRows = int64(100000)
return SQLITE_OK
@@ -170792,7 +170854,7 @@ __1:
if !(*(*int32)(unsafe.Pointer(bp + 48)) == SQLITE_ERROR) {
goto __4
}
- (*Sqlite3_vtab)(unsafe.Pointer(pVtab)).FzErrMsg = Xsqlite3_mprintf(tls, ts+28958, 0)
+ (*Sqlite3_vtab)(unsafe.Pointer(pVtab)).FzErrMsg = Xsqlite3_mprintf(tls, ts+29024, 0)
__4:
;
goto geopoly_update_end
@@ -170924,14 +170986,14 @@ geopoly_update_end:
func geopolyFindFunction(tls *libc.TLS, pVtab uintptr, nArg int32, zName uintptr, pxFunc uintptr, ppArg uintptr) int32 {
_ = pVtab
_ = nArg
- if Xsqlite3_stricmp(tls, zName, ts+28998) == 0 {
+ if Xsqlite3_stricmp(tls, zName, ts+29064) == 0 {
*(*uintptr)(unsafe.Pointer(pxFunc)) = *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, int32, uintptr)
}{geopolyOverlapFunc}))
*(*uintptr)(unsafe.Pointer(ppArg)) = uintptr(0)
return SQLITE_INDEX_CONSTRAINT_FUNCTION
}
- if Xsqlite3_stricmp(tls, zName, ts+29014) == 0 {
+ if Xsqlite3_stricmp(tls, zName, ts+29080) == 0 {
*(*uintptr)(unsafe.Pointer(pxFunc)) = *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, int32, uintptr)
}{geopolyWithinFunc}))
@@ -170996,7 +171058,7 @@ func sqlite3_geopoly_init(tls *libc.TLS, db uintptr) int32 {
uintptr(0), aAgg[i].FxStep, aAgg[i].FxFinal)
}
if rc == SQLITE_OK {
- rc = Xsqlite3_create_module_v2(tls, db, ts+29029, uintptr(unsafe.Pointer(&geopolyModule)), uintptr(0), uintptr(0))
+ rc = Xsqlite3_create_module_v2(tls, db, ts+29095, uintptr(unsafe.Pointer(&geopolyModule)), uintptr(0), uintptr(0))
}
return rc
}
@@ -171008,25 +171070,25 @@ var aFunc = [12]struct {
F__ccgo_pad1 [6]byte
FzName uintptr
}{
- {FxFunc: 0, FnArg: int8(1), FbPure: uint8(1), FzName: ts + 29037},
- {FxFunc: 0, FnArg: int8(1), FbPure: uint8(1), FzName: ts + 29050},
- {FxFunc: 0, FnArg: int8(1), FbPure: uint8(1), FzName: ts + 29063},
- {FxFunc: 0, FnArg: int8(-1), FbPure: uint8(1), FzName: ts + 29076},
- {FxFunc: 0, FnArg: int8(2), FbPure: uint8(1), FzName: ts + 29014},
- {FxFunc: 0, FnArg: int8(3), FbPure: uint8(1), FzName: ts + 29088},
- {FxFunc: 0, FnArg: int8(2), FbPure: uint8(1), FzName: ts + 28998},
- {FxFunc: 0, FnArg: int8(1), FzName: ts + 29111},
- {FxFunc: 0, FnArg: int8(1), FbPure: uint8(1), FzName: ts + 29125},
- {FxFunc: 0, FnArg: int8(7), FbPure: uint8(1), FzName: ts + 29138},
- {FxFunc: 0, FnArg: int8(4), FbPure: uint8(1), FzName: ts + 29152},
- {FxFunc: 0, FnArg: int8(1), FbPure: uint8(1), FzName: ts + 29168},
+ {FxFunc: 0, FnArg: int8(1), FbPure: uint8(1), FzName: ts + 29103},
+ {FxFunc: 0, FnArg: int8(1), FbPure: uint8(1), FzName: ts + 29116},
+ {FxFunc: 0, FnArg: int8(1), FbPure: uint8(1), FzName: ts + 29129},
+ {FxFunc: 0, FnArg: int8(-1), FbPure: uint8(1), FzName: ts + 29142},
+ {FxFunc: 0, FnArg: int8(2), FbPure: uint8(1), FzName: ts + 29080},
+ {FxFunc: 0, FnArg: int8(3), FbPure: uint8(1), FzName: ts + 29154},
+ {FxFunc: 0, FnArg: int8(2), FbPure: uint8(1), FzName: ts + 29064},
+ {FxFunc: 0, FnArg: int8(1), FzName: ts + 29177},
+ {FxFunc: 0, FnArg: int8(1), FbPure: uint8(1), FzName: ts + 29191},
+ {FxFunc: 0, FnArg: int8(7), FbPure: uint8(1), FzName: ts + 29204},
+ {FxFunc: 0, FnArg: int8(4), FbPure: uint8(1), FzName: ts + 29218},
+ {FxFunc: 0, FnArg: int8(1), FbPure: uint8(1), FzName: ts + 29234},
}
var aAgg = [1]struct {
FxStep uintptr
FxFinal uintptr
FzName uintptr
}{
- {FxStep: 0, FxFinal: 0, FzName: ts + 29180},
+ {FxStep: 0, FxFinal: 0, FzName: ts + 29246},
}
// Register the r-tree module with database handle db. This creates the
@@ -171036,26 +171098,26 @@ func Xsqlite3RtreeInit(tls *libc.TLS, db uintptr) int32 {
var utf8 int32 = SQLITE_UTF8
var rc int32
- rc = Xsqlite3_create_function(tls, db, ts+29199, 2, utf8, uintptr(0), *(*uintptr)(unsafe.Pointer(&struct {
+ rc = Xsqlite3_create_function(tls, db, ts+29265, 2, utf8, uintptr(0), *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, int32, uintptr)
}{rtreenode})), uintptr(0), uintptr(0))
if rc == SQLITE_OK {
- rc = Xsqlite3_create_function(tls, db, ts+29209, 1, utf8, uintptr(0), *(*uintptr)(unsafe.Pointer(&struct {
+ rc = Xsqlite3_create_function(tls, db, ts+29275, 1, utf8, uintptr(0), *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, int32, uintptr)
}{rtreedepth})), uintptr(0), uintptr(0))
}
if rc == SQLITE_OK {
- rc = Xsqlite3_create_function(tls, db, ts+29220, -1, utf8, uintptr(0), *(*uintptr)(unsafe.Pointer(&struct {
+ rc = Xsqlite3_create_function(tls, db, ts+29286, -1, utf8, uintptr(0), *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, int32, uintptr)
}{rtreecheck})), uintptr(0), uintptr(0))
}
if rc == SQLITE_OK {
var c uintptr = uintptr(RTREE_COORD_REAL32)
- rc = Xsqlite3_create_module_v2(tls, db, ts+28943, uintptr(unsafe.Pointer(&rtreeModule)), c, uintptr(0))
+ rc = Xsqlite3_create_module_v2(tls, db, ts+29009, uintptr(unsafe.Pointer(&rtreeModule)), c, uintptr(0))
}
if rc == SQLITE_OK {
var c uintptr = uintptr(RTREE_COORD_INT32)
- rc = Xsqlite3_create_module_v2(tls, db, ts+29231, uintptr(unsafe.Pointer(&rtreeModule)), c, uintptr(0))
+ rc = Xsqlite3_create_module_v2(tls, db, ts+29297, uintptr(unsafe.Pointer(&rtreeModule)), c, uintptr(0))
}
if rc == SQLITE_OK {
rc = sqlite3_geopoly_init(tls, db)
@@ -171109,7 +171171,7 @@ func geomCallback(tls *libc.TLS, ctx uintptr, nArg int32, aArg uintptr) {
Xsqlite3_result_error_nomem(tls, ctx)
rtreeMatchArgFree(tls, pBlob)
} else {
- Xsqlite3_result_pointer(tls, ctx, pBlob, ts+26519, *(*uintptr)(unsafe.Pointer(&struct{ f func(*libc.TLS, uintptr) }{rtreeMatchArgFree})))
+ Xsqlite3_result_pointer(tls, ctx, pBlob, ts+26585, *(*uintptr)(unsafe.Pointer(&struct{ f func(*libc.TLS, uintptr) }{rtreeMatchArgFree})))
}
}
}
@@ -171436,7 +171498,7 @@ func rbuFossilDeltaFunc(tls *libc.TLS, context uintptr, argc int32, argv uintptr
nOut = rbuDeltaOutputSize(tls, aDelta, nDelta)
if nOut < 0 {
- Xsqlite3_result_error(tls, context, ts+29241, -1)
+ Xsqlite3_result_error(tls, context, ts+29307, -1)
return
}
@@ -171447,7 +171509,7 @@ func rbuFossilDeltaFunc(tls *libc.TLS, context uintptr, argc int32, argv uintptr
nOut2 = rbuDeltaApply(tls, aOrig, nOrig, aDelta, nDelta, aOut)
if nOut2 != nOut {
Xsqlite3_free(tls, aOut)
- Xsqlite3_result_error(tls, context, ts+29241, -1)
+ Xsqlite3_result_error(tls, context, ts+29307, -1)
} else {
Xsqlite3_result_blob(tls, context, aOut, nOut, *(*uintptr)(unsafe.Pointer(&struct{ f func(*libc.TLS, uintptr) }{Xsqlite3_free})))
}
@@ -171460,7 +171522,7 @@ func prepareAndCollectError(tls *libc.TLS, db uintptr, ppStmt uintptr, pzErrmsg
var rc int32 = Xsqlite3_prepare_v2(tls, db, zSql, -1, ppStmt, uintptr(0))
if rc != SQLITE_OK {
- *(*uintptr)(unsafe.Pointer(pzErrmsg)) = Xsqlite3_mprintf(tls, ts+4493, libc.VaList(bp, Xsqlite3_errmsg(tls, db)))
+ *(*uintptr)(unsafe.Pointer(pzErrmsg)) = Xsqlite3_mprintf(tls, ts+4512, libc.VaList(bp, Xsqlite3_errmsg(tls, db)))
*(*uintptr)(unsafe.Pointer(ppStmt)) = uintptr(0)
}
return rc
@@ -171472,7 +171534,7 @@ func resetAndCollectError(tls *libc.TLS, pStmt uintptr, pzErrmsg uintptr) int32
var rc int32 = Xsqlite3_reset(tls, pStmt)
if rc != SQLITE_OK {
- *(*uintptr)(unsafe.Pointer(pzErrmsg)) = Xsqlite3_mprintf(tls, ts+4493, libc.VaList(bp, Xsqlite3_errmsg(tls, Xsqlite3_db_handle(tls, pStmt))))
+ *(*uintptr)(unsafe.Pointer(pzErrmsg)) = Xsqlite3_mprintf(tls, ts+4512, libc.VaList(bp, Xsqlite3_errmsg(tls, Xsqlite3_db_handle(tls, pStmt))))
}
return rc
}
@@ -171548,7 +171610,7 @@ func rbuObjIterNext(tls *libc.TLS, p uintptr, pIter uintptr) int32 {
rbuObjIterClearStatements(tls, pIter)
if (*RbuObjIter)(unsafe.Pointer(pIter)).FzIdx == uintptr(0) {
rc = Xsqlite3_exec(tls, (*Sqlite3rbu)(unsafe.Pointer(p)).FdbMain,
- ts+29262, uintptr(0), uintptr(0), p+64)
+ ts+29328, uintptr(0), uintptr(0), p+64)
}
if rc == SQLITE_OK {
@@ -171612,7 +171674,7 @@ func rbuTargetNameFunc(tls *libc.TLS, pCtx uintptr, argc int32, argv uintptr) {
Xsqlite3_result_text(tls, pCtx, zIn, -1, uintptr(0))
}
} else {
- if libc.Xstrlen(tls, zIn) > uint64(4) && libc.Xmemcmp(tls, ts+26432, zIn, uint64(4)) == 0 {
+ if libc.Xstrlen(tls, zIn) > uint64(4) && libc.Xmemcmp(tls, ts+26498, zIn, uint64(4)) == 0 {
var i int32
for i = 4; int32(*(*int8)(unsafe.Pointer(zIn + uintptr(i)))) >= '0' && int32(*(*int8)(unsafe.Pointer(zIn + uintptr(i)))) <= '9'; i++ {
}
@@ -171633,16 +171695,16 @@ func rbuObjIterFirst(tls *libc.TLS, p uintptr, pIter uintptr) int32 {
rc = prepareFreeAndCollectError(tls, (*Sqlite3rbu)(unsafe.Pointer(p)).FdbRbu, pIter, p+64,
Xsqlite3_mprintf(tls,
- ts+29433, libc.VaList(bp, func() uintptr {
+ ts+29499, libc.VaList(bp, func() uintptr {
if (*Sqlite3rbu)(unsafe.Pointer(p)).FzTarget == uintptr(0) {
- return ts + 29583
+ return ts + 29649
}
- return ts + 1544
+ return ts + 1563
}())))
if rc == SQLITE_OK {
rc = prepareAndCollectError(tls, (*Sqlite3rbu)(unsafe.Pointer(p)).FdbMain, pIter+8, p+64,
- ts+29624)
+ ts+29690)
}
(*RbuObjIter)(unsafe.Pointer(pIter)).FbCleanup = 1
@@ -171740,7 +171802,7 @@ func rbuFinalize(tls *libc.TLS, p uintptr, pStmt uintptr) {
var rc int32 = Xsqlite3_finalize(tls, pStmt)
if (*Sqlite3rbu)(unsafe.Pointer(p)).Frc == SQLITE_OK && rc != SQLITE_OK {
(*Sqlite3rbu)(unsafe.Pointer(p)).Frc = rc
- (*Sqlite3rbu)(unsafe.Pointer(p)).FzErrmsg = Xsqlite3_mprintf(tls, ts+4493, libc.VaList(bp, Xsqlite3_errmsg(tls, db)))
+ (*Sqlite3rbu)(unsafe.Pointer(p)).FzErrmsg = Xsqlite3_mprintf(tls, ts+4512, libc.VaList(bp, Xsqlite3_errmsg(tls, db)))
}
}
@@ -171758,7 +171820,7 @@ func rbuTableType(tls *libc.TLS, p uintptr, zTab uintptr, peType uintptr, piTnum
(*Sqlite3rbu)(unsafe.Pointer(p)).Frc = prepareFreeAndCollectError(tls, (*Sqlite3rbu)(unsafe.Pointer(p)).FdbMain, bp+32, p+64,
Xsqlite3_mprintf(tls,
- ts+29749, libc.VaList(bp, zTab)))
+ ts+29815, libc.VaList(bp, zTab)))
if !((*Sqlite3rbu)(unsafe.Pointer(p)).Frc != SQLITE_OK || Xsqlite3_step(tls, *(*uintptr)(unsafe.Pointer(bp + 32))) != SQLITE_ROW) {
goto __1
}
@@ -171776,7 +171838,7 @@ __2:
*(*int32)(unsafe.Pointer(piTnum)) = Xsqlite3_column_int(tls, *(*uintptr)(unsafe.Pointer(bp + 32)), 1)
(*Sqlite3rbu)(unsafe.Pointer(p)).Frc = prepareFreeAndCollectError(tls, (*Sqlite3rbu)(unsafe.Pointer(p)).FdbMain, bp+32+1*8, p+64,
- Xsqlite3_mprintf(tls, ts+29868, libc.VaList(bp+8, zTab)))
+ Xsqlite3_mprintf(tls, ts+29934, libc.VaList(bp+8, zTab)))
if !((*Sqlite3rbu)(unsafe.Pointer(p)).Frc != 0) {
goto __3
}
@@ -171794,7 +171856,7 @@ __4:
}
(*Sqlite3rbu)(unsafe.Pointer(p)).Frc = prepareFreeAndCollectError(tls, (*Sqlite3rbu)(unsafe.Pointer(p)).FdbMain, bp+32+2*8, p+64,
Xsqlite3_mprintf(tls,
- ts+29889, libc.VaList(bp+16, zIdx)))
+ ts+29955, libc.VaList(bp+16, zIdx)))
if !((*Sqlite3rbu)(unsafe.Pointer(p)).Frc == SQLITE_OK) {
goto __7
}
@@ -171817,7 +171879,7 @@ __6:
__5:
;
(*Sqlite3rbu)(unsafe.Pointer(p)).Frc = prepareFreeAndCollectError(tls, (*Sqlite3rbu)(unsafe.Pointer(p)).FdbMain, bp+32+3*8, p+64,
- Xsqlite3_mprintf(tls, ts+29940, libc.VaList(bp+24, zTab)))
+ Xsqlite3_mprintf(tls, ts+30006, libc.VaList(bp+24, zTab)))
if !((*Sqlite3rbu)(unsafe.Pointer(p)).Frc == SQLITE_OK) {
goto __10
}
@@ -171863,7 +171925,7 @@ func rbuObjIterCacheIndexedCols(tls *libc.TLS, p uintptr, pIter uintptr) {
if (*Sqlite3rbu)(unsafe.Pointer(p)).Frc == SQLITE_OK {
libc.Xmemcpy(tls, (*RbuObjIter)(unsafe.Pointer(pIter)).FabIndexed, (*RbuObjIter)(unsafe.Pointer(pIter)).FabTblPk, uint64(unsafe.Sizeof(U8(0)))*uint64((*RbuObjIter)(unsafe.Pointer(pIter)).FnTblCol))
(*Sqlite3rbu)(unsafe.Pointer(p)).Frc = prepareFreeAndCollectError(tls, (*Sqlite3rbu)(unsafe.Pointer(p)).FdbMain, bp+16, p+64,
- Xsqlite3_mprintf(tls, ts+29961, libc.VaList(bp, (*RbuObjIter)(unsafe.Pointer(pIter)).FzTbl)))
+ Xsqlite3_mprintf(tls, ts+30027, libc.VaList(bp, (*RbuObjIter)(unsafe.Pointer(pIter)).FzTbl)))
}
(*RbuObjIter)(unsafe.Pointer(pIter)).FnIndex = 0
@@ -171878,7 +171940,7 @@ func rbuObjIterCacheIndexedCols(tls *libc.TLS, p uintptr, pIter uintptr) {
libc.Xmemset(tls, (*RbuObjIter)(unsafe.Pointer(pIter)).FabIndexed, 0x01, uint64(unsafe.Sizeof(U8(0)))*uint64((*RbuObjIter)(unsafe.Pointer(pIter)).FnTblCol))
}
(*Sqlite3rbu)(unsafe.Pointer(p)).Frc = prepareFreeAndCollectError(tls, (*Sqlite3rbu)(unsafe.Pointer(p)).FdbMain, bp+24, p+64,
- Xsqlite3_mprintf(tls, ts+29989, libc.VaList(bp+8, zIdx)))
+ Xsqlite3_mprintf(tls, ts+30055, libc.VaList(bp+8, zIdx)))
for (*Sqlite3rbu)(unsafe.Pointer(p)).Frc == SQLITE_OK && SQLITE_ROW == Xsqlite3_step(tls, *(*uintptr)(unsafe.Pointer(bp + 24))) {
var iCid int32 = Xsqlite3_column_int(tls, *(*uintptr)(unsafe.Pointer(bp + 24)), 1)
if iCid >= 0 {
@@ -171918,7 +171980,7 @@ func rbuObjIterCacheTableInfo(tls *libc.TLS, p uintptr, pIter uintptr) int32 {
rbuTableType(tls, p, (*RbuObjIter)(unsafe.Pointer(pIter)).FzTbl, pIter+72, bp+56, pIter+108)
if (*Sqlite3rbu)(unsafe.Pointer(p)).Frc == SQLITE_OK && (*RbuObjIter)(unsafe.Pointer(pIter)).FeType == RBU_PK_NOTABLE {
(*Sqlite3rbu)(unsafe.Pointer(p)).Frc = SQLITE_ERROR
- (*Sqlite3rbu)(unsafe.Pointer(p)).FzErrmsg = Xsqlite3_mprintf(tls, ts+20858, libc.VaList(bp, (*RbuObjIter)(unsafe.Pointer(pIter)).FzTbl))
+ (*Sqlite3rbu)(unsafe.Pointer(p)).FzErrmsg = Xsqlite3_mprintf(tls, ts+20924, libc.VaList(bp, (*RbuObjIter)(unsafe.Pointer(pIter)).FzTbl))
}
if (*Sqlite3rbu)(unsafe.Pointer(p)).Frc != 0 {
return (*Sqlite3rbu)(unsafe.Pointer(p)).Frc
@@ -171928,18 +171990,18 @@ func rbuObjIterCacheTableInfo(tls *libc.TLS, p uintptr, pIter uintptr) int32 {
}
(*Sqlite3rbu)(unsafe.Pointer(p)).Frc = prepareFreeAndCollectError(tls, (*Sqlite3rbu)(unsafe.Pointer(p)).FdbRbu, bp+64, p+64,
- Xsqlite3_mprintf(tls, ts+30018, libc.VaList(bp+8, (*RbuObjIter)(unsafe.Pointer(pIter)).FzDataTbl)))
+ Xsqlite3_mprintf(tls, ts+30084, libc.VaList(bp+8, (*RbuObjIter)(unsafe.Pointer(pIter)).FzDataTbl)))
if (*Sqlite3rbu)(unsafe.Pointer(p)).Frc == SQLITE_OK {
nCol = Xsqlite3_column_count(tls, *(*uintptr)(unsafe.Pointer(bp + 64)))
rbuAllocateIterArrays(tls, p, pIter, nCol)
}
for i = 0; (*Sqlite3rbu)(unsafe.Pointer(p)).Frc == SQLITE_OK && i < nCol; i++ {
var zName uintptr = Xsqlite3_column_name(tls, *(*uintptr)(unsafe.Pointer(bp + 64)), i)
- if Xsqlite3_strnicmp(tls, ts+30037, zName, 4) != 0 {
+ if Xsqlite3_strnicmp(tls, ts+30103, zName, 4) != 0 {
var zCopy uintptr = rbuStrndup(tls, zName, p+56)
*(*int32)(unsafe.Pointer((*RbuObjIter)(unsafe.Pointer(pIter)).FaiSrcOrder + uintptr((*RbuObjIter)(unsafe.Pointer(pIter)).FnTblCol)*4)) = (*RbuObjIter)(unsafe.Pointer(pIter)).FnTblCol
*(*uintptr)(unsafe.Pointer((*RbuObjIter)(unsafe.Pointer(pIter)).FazTblCol + uintptr(libc.PostIncInt32(&(*RbuObjIter)(unsafe.Pointer(pIter)).FnTblCol, 1))*8)) = zCopy
- } else if 0 == Xsqlite3_stricmp(tls, ts+30042, zName) {
+ } else if 0 == Xsqlite3_stricmp(tls, ts+30108, zName) {
bRbuRowid = 1
}
}
@@ -171951,18 +172013,18 @@ func rbuObjIterCacheTableInfo(tls *libc.TLS, p uintptr, pIter uintptr) int32 {
bRbuRowid != libc.Bool32((*RbuObjIter)(unsafe.Pointer(pIter)).FeType == RBU_PK_VTAB || (*RbuObjIter)(unsafe.Pointer(pIter)).FeType == RBU_PK_NONE) {
(*Sqlite3rbu)(unsafe.Pointer(p)).Frc = SQLITE_ERROR
(*Sqlite3rbu)(unsafe.Pointer(p)).FzErrmsg = Xsqlite3_mprintf(tls,
- ts+30052, libc.VaList(bp+16, (*RbuObjIter)(unsafe.Pointer(pIter)).FzDataTbl,
+ ts+30118, libc.VaList(bp+16, (*RbuObjIter)(unsafe.Pointer(pIter)).FzDataTbl,
func() uintptr {
if bRbuRowid != 0 {
- return ts + 30081
+ return ts + 30147
}
- return ts + 30094
+ return ts + 30160
}()))
}
if (*Sqlite3rbu)(unsafe.Pointer(p)).Frc == SQLITE_OK {
(*Sqlite3rbu)(unsafe.Pointer(p)).Frc = prepareFreeAndCollectError(tls, (*Sqlite3rbu)(unsafe.Pointer(p)).FdbMain, bp+64, p+64,
- Xsqlite3_mprintf(tls, ts+30103, libc.VaList(bp+32, (*RbuObjIter)(unsafe.Pointer(pIter)).FzTbl)))
+ Xsqlite3_mprintf(tls, ts+30169, libc.VaList(bp+32, (*RbuObjIter)(unsafe.Pointer(pIter)).FzTbl)))
}
for (*Sqlite3rbu)(unsafe.Pointer(p)).Frc == SQLITE_OK && SQLITE_ROW == Xsqlite3_step(tls, *(*uintptr)(unsafe.Pointer(bp + 64))) {
var zName uintptr = Xsqlite3_column_text(tls, *(*uintptr)(unsafe.Pointer(bp + 64)), 1)
@@ -171976,7 +172038,7 @@ func rbuObjIterCacheTableInfo(tls *libc.TLS, p uintptr, pIter uintptr) int32 {
}
if i == (*RbuObjIter)(unsafe.Pointer(pIter)).FnTblCol {
(*Sqlite3rbu)(unsafe.Pointer(p)).Frc = SQLITE_ERROR
- (*Sqlite3rbu)(unsafe.Pointer(p)).FzErrmsg = Xsqlite3_mprintf(tls, ts+30125,
+ (*Sqlite3rbu)(unsafe.Pointer(p)).FzErrmsg = Xsqlite3_mprintf(tls, ts+30191,
libc.VaList(bp+40, (*RbuObjIter)(unsafe.Pointer(pIter)).FzDataTbl, zName))
} else {
var iPk int32 = Xsqlite3_column_int(tls, *(*uintptr)(unsafe.Pointer(bp + 64)), 5)
@@ -172019,12 +172081,12 @@ func rbuObjIterGetCollist(tls *libc.TLS, p uintptr, pIter uintptr) uintptr {
defer tls.Free(24)
var zList uintptr = uintptr(0)
- var zSep uintptr = ts + 1544
+ var zSep uintptr = ts + 1563
var i int32
for i = 0; i < (*RbuObjIter)(unsafe.Pointer(pIter)).FnTblCol; i++ {
var z uintptr = *(*uintptr)(unsafe.Pointer((*RbuObjIter)(unsafe.Pointer(pIter)).FazTblCol + uintptr(i)*8))
- zList = rbuMPrintf(tls, p, ts+30152, libc.VaList(bp, zList, zSep, z))
- zSep = ts + 15971
+ zList = rbuMPrintf(tls, p, ts+30218, libc.VaList(bp, zList, zSep, z))
+ zSep = ts + 15990
}
return zList
}
@@ -172035,13 +172097,13 @@ func rbuObjIterGetPkList(tls *libc.TLS, p uintptr, pIter uintptr, zPre uintptr,
var iPk int32 = 1
var zRet uintptr = uintptr(0)
- var zSep uintptr = ts + 1544
+ var zSep uintptr = ts + 1563
for 1 != 0 {
var i int32
for i = 0; i < (*RbuObjIter)(unsafe.Pointer(pIter)).FnTblCol; i++ {
if int32(*(*U8)(unsafe.Pointer((*RbuObjIter)(unsafe.Pointer(pIter)).FabTblPk + uintptr(i)))) == iPk {
var zCol uintptr = *(*uintptr)(unsafe.Pointer((*RbuObjIter)(unsafe.Pointer(pIter)).FazTblCol + uintptr(i)*8))
- zRet = rbuMPrintf(tls, p, ts+30161, libc.VaList(bp, zRet, zSep, zPre, zCol, zPost))
+ zRet = rbuMPrintf(tls, p, ts+30227, libc.VaList(bp, zRet, zSep, zPre, zCol, zPost))
zSep = zSeparator
break
}
@@ -172063,25 +172125,25 @@ func rbuVacuumTableStart(tls *libc.TLS, p uintptr, pIter uintptr, bRowid int32,
if bRowid != 0 {
(*Sqlite3rbu)(unsafe.Pointer(p)).Frc = prepareFreeAndCollectError(tls, (*Sqlite3rbu)(unsafe.Pointer(p)).FdbMain, bp+72, p+64,
Xsqlite3_mprintf(tls,
- ts+30174, libc.VaList(bp, zWrite, (*RbuObjIter)(unsafe.Pointer(pIter)).FzTbl)))
+ ts+30240, libc.VaList(bp, zWrite, (*RbuObjIter)(unsafe.Pointer(pIter)).FzTbl)))
if (*Sqlite3rbu)(unsafe.Pointer(p)).Frc == SQLITE_OK && SQLITE_ROW == Xsqlite3_step(tls, *(*uintptr)(unsafe.Pointer(bp + 72))) {
var iMax Sqlite3_int64 = Xsqlite3_column_int64(tls, *(*uintptr)(unsafe.Pointer(bp + 72)), 0)
- zRet = rbuMPrintf(tls, p, ts+30206, libc.VaList(bp+16, iMax))
+ zRet = rbuMPrintf(tls, p, ts+30272, libc.VaList(bp+16, iMax))
}
rbuFinalize(tls, p, *(*uintptr)(unsafe.Pointer(bp + 72)))
} else {
- var zOrder uintptr = rbuObjIterGetPkList(tls, p, pIter, ts+1544, ts+15971, ts+30229)
- var zSelect uintptr = rbuObjIterGetPkList(tls, p, pIter, ts+30235, ts+30242, ts+6309)
- var zList uintptr = rbuObjIterGetPkList(tls, p, pIter, ts+1544, ts+15971, ts+1544)
+ var zOrder uintptr = rbuObjIterGetPkList(tls, p, pIter, ts+1563, ts+15990, ts+30295)
+ var zSelect uintptr = rbuObjIterGetPkList(tls, p, pIter, ts+30301, ts+30308, ts+6328)
+ var zList uintptr = rbuObjIterGetPkList(tls, p, pIter, ts+1563, ts+15990, ts+1563)
if (*Sqlite3rbu)(unsafe.Pointer(p)).Frc == SQLITE_OK {
(*Sqlite3rbu)(unsafe.Pointer(p)).Frc = prepareFreeAndCollectError(tls, (*Sqlite3rbu)(unsafe.Pointer(p)).FdbMain, bp+72, p+64,
Xsqlite3_mprintf(tls,
- ts+30250,
+ ts+30316,
libc.VaList(bp+24, zSelect, zWrite, (*RbuObjIter)(unsafe.Pointer(pIter)).FzTbl, zOrder)))
if (*Sqlite3rbu)(unsafe.Pointer(p)).Frc == SQLITE_OK && SQLITE_ROW == Xsqlite3_step(tls, *(*uintptr)(unsafe.Pointer(bp + 72))) {
var zVal uintptr = Xsqlite3_column_text(tls, *(*uintptr)(unsafe.Pointer(bp + 72)), 0)
- zRet = rbuMPrintf(tls, p, ts+30292, libc.VaList(bp+56, zList, zVal))
+ zRet = rbuMPrintf(tls, p, ts+30358, libc.VaList(bp+56, zList, zVal))
}
rbuFinalize(tls, p, *(*uintptr)(unsafe.Pointer(bp + 72)))
}
@@ -172118,12 +172180,12 @@ func rbuVacuumIndexStart(tls *libc.TLS, p uintptr, pIter uintptr) uintptr {
zVector = uintptr(0)
zRet = uintptr(0)
bFailed = 0
- zSep = ts + 1544
+ zSep = ts + 1563
iCol = 0
*(*uintptr)(unsafe.Pointer(bp + 176)) = uintptr(0)
(*Sqlite3rbu)(unsafe.Pointer(p)).Frc = prepareFreeAndCollectError(tls, (*Sqlite3rbu)(unsafe.Pointer(p)).FdbMain, bp+176, p+64,
- Xsqlite3_mprintf(tls, ts+29989, libc.VaList(bp, (*RbuObjIter)(unsafe.Pointer(pIter)).FzIdx)))
+ Xsqlite3_mprintf(tls, ts+30055, libc.VaList(bp, (*RbuObjIter)(unsafe.Pointer(pIter)).FzIdx)))
__1:
if !((*Sqlite3rbu)(unsafe.Pointer(p)).Frc == SQLITE_OK && SQLITE_ROW == Xsqlite3_step(tls, *(*uintptr)(unsafe.Pointer(bp + 176)))) {
goto __2
@@ -172158,7 +172220,7 @@ __10:
zCol = *(*uintptr)(unsafe.Pointer((*RbuObjIter)(unsafe.Pointer(pIter)).FazTblCol + uintptr(i)*8))
goto __7
__6:
- zCol = ts + 30312
+ zCol = ts + 30378
__7:
;
goto __5
@@ -172166,13 +172228,13 @@ __4:
zCol = *(*uintptr)(unsafe.Pointer((*RbuObjIter)(unsafe.Pointer(pIter)).FazTblCol + uintptr(iCid)*8))
__5:
;
- zLhs = rbuMPrintf(tls, p, ts+30320,
+ zLhs = rbuMPrintf(tls, p, ts+30386,
libc.VaList(bp+8, zLhs, zSep, zCol, zCollate))
- zOrder = rbuMPrintf(tls, p, ts+30341,
+ zOrder = rbuMPrintf(tls, p, ts+30407,
libc.VaList(bp+40, zOrder, zSep, iCol, zCol, zCollate))
- zSelect = rbuMPrintf(tls, p, ts+30377,
+ zSelect = rbuMPrintf(tls, p, ts+30443,
libc.VaList(bp+80, zSelect, zSep, iCol, zCol))
- zSep = ts + 15971
+ zSep = ts + 15990
iCol++
goto __1
__2:
@@ -172190,12 +172252,12 @@ __11:
*(*uintptr)(unsafe.Pointer(bp + 184)) = uintptr(0)
(*Sqlite3rbu)(unsafe.Pointer(p)).Frc = prepareFreeAndCollectError(tls, (*Sqlite3rbu)(unsafe.Pointer(p)).FdbMain, bp+184, p+64,
- Xsqlite3_mprintf(tls, ts+30404,
+ Xsqlite3_mprintf(tls, ts+30470,
libc.VaList(bp+112, zSelect, (*RbuObjIter)(unsafe.Pointer(pIter)).FzTbl, zOrder)))
if !((*Sqlite3rbu)(unsafe.Pointer(p)).Frc == SQLITE_OK && SQLITE_ROW == Xsqlite3_step(tls, *(*uintptr)(unsafe.Pointer(bp + 184)))) {
goto __13
}
- zSep = ts + 1544
+ zSep = ts + 1563
iCol = 0
__14:
if !(iCol < (*RbuObjIter)(unsafe.Pointer(pIter)).FnCol) {
@@ -172217,8 +172279,8 @@ __19:
;
__18:
;
- zVector = rbuMPrintf(tls, p, ts+30452, libc.VaList(bp+136, zVector, zSep, zQuoted))
- zSep = ts + 15971
+ zVector = rbuMPrintf(tls, p, ts+30518, libc.VaList(bp+136, zVector, zSep, zQuoted))
+ zSep = ts + 15990
goto __15
__15:
iCol++
@@ -172229,7 +172291,7 @@ __16:
if !!(bFailed != 0) {
goto __20
}
- zRet = rbuMPrintf(tls, p, ts+30459, libc.VaList(bp+160, zLhs, zVector))
+ zRet = rbuMPrintf(tls, p, ts+30525, libc.VaList(bp+160, zLhs, zVector))
__20:
;
__13:
@@ -172256,13 +172318,13 @@ func rbuObjIterGetIndexCols(tls *libc.TLS, p uintptr, pIter uintptr, pzImposterC
var zImpPK uintptr = uintptr(0)
var zWhere uintptr = uintptr(0)
var nBind int32 = 0
- var zCom uintptr = ts + 1544
- var zAnd uintptr = ts + 1544
+ var zCom uintptr = ts + 1563
+ var zAnd uintptr = ts + 1563
*(*uintptr)(unsafe.Pointer(bp + 200)) = uintptr(0)
if rc == SQLITE_OK {
rc = prepareFreeAndCollectError(tls, (*Sqlite3rbu)(unsafe.Pointer(p)).FdbMain, bp+200, p+64,
- Xsqlite3_mprintf(tls, ts+29989, libc.VaList(bp, (*RbuObjIter)(unsafe.Pointer(pIter)).FzIdx)))
+ Xsqlite3_mprintf(tls, ts+30055, libc.VaList(bp, (*RbuObjIter)(unsafe.Pointer(pIter)).FzIdx)))
}
for rc == SQLITE_OK && SQLITE_ROW == Xsqlite3_step(tls, *(*uintptr)(unsafe.Pointer(bp + 200))) {
@@ -172274,9 +172336,9 @@ func rbuObjIterGetIndexCols(tls *libc.TLS, p uintptr, pIter uintptr, pzImposterC
if iCid == -2 {
var iSeq int32 = Xsqlite3_column_int(tls, *(*uintptr)(unsafe.Pointer(bp + 200)), 0)
- zRet = Xsqlite3_mprintf(tls, ts+30471, libc.VaList(bp+8, zRet, zCom,
+ zRet = Xsqlite3_mprintf(tls, ts+30537, libc.VaList(bp+8, zRet, zCom,
(*RbuSpan)(unsafe.Pointer((*RbuObjIter)(unsafe.Pointer(pIter)).FaIdxCol+uintptr(iSeq)*16)).FnSpan, (*RbuSpan)(unsafe.Pointer((*RbuObjIter)(unsafe.Pointer(pIter)).FaIdxCol+uintptr(iSeq)*16)).FzSpan, zCollate))
- zType = ts + 1544
+ zType = ts + 1563
} else {
if iCid < 0 {
if (*RbuObjIter)(unsafe.Pointer(pIter)).FeType == RBU_PK_IPK {
@@ -172286,37 +172348,37 @@ func rbuObjIterGetIndexCols(tls *libc.TLS, p uintptr, pIter uintptr, pzImposterC
zCol = *(*uintptr)(unsafe.Pointer((*RbuObjIter)(unsafe.Pointer(pIter)).FazTblCol + uintptr(i)*8))
} else if (*Sqlite3rbu)(unsafe.Pointer(p)).FzTarget == uintptr(0) {
- zCol = ts + 30312
+ zCol = ts + 30378
} else {
- zCol = ts + 30042
+ zCol = ts + 30108
}
- zType = ts + 1109
+ zType = ts + 1128
} else {
zCol = *(*uintptr)(unsafe.Pointer((*RbuObjIter)(unsafe.Pointer(pIter)).FazTblCol + uintptr(iCid)*8))
zType = *(*uintptr)(unsafe.Pointer((*RbuObjIter)(unsafe.Pointer(pIter)).FazTblType + uintptr(iCid)*8))
}
- zRet = Xsqlite3_mprintf(tls, ts+30493, libc.VaList(bp+48, zRet, zCom, zCol, zCollate))
+ zRet = Xsqlite3_mprintf(tls, ts+30559, libc.VaList(bp+48, zRet, zCom, zCol, zCollate))
}
if (*RbuObjIter)(unsafe.Pointer(pIter)).FbUnique == 0 || Xsqlite3_column_int(tls, *(*uintptr)(unsafe.Pointer(bp + 200)), 5) != 0 {
var zOrder uintptr = func() uintptr {
if bDesc != 0 {
- return ts + 30229
+ return ts + 30295
}
- return ts + 1544
+ return ts + 1563
}()
- zImpPK = Xsqlite3_mprintf(tls, ts+30513,
+ zImpPK = Xsqlite3_mprintf(tls, ts+30579,
libc.VaList(bp+80, zImpPK, zCom, nBind, zCol, zOrder))
}
- zImpCols = Xsqlite3_mprintf(tls, ts+30534,
+ zImpCols = Xsqlite3_mprintf(tls, ts+30600,
libc.VaList(bp+120, zImpCols, zCom, nBind, zCol, zType, zCollate))
zWhere = Xsqlite3_mprintf(tls,
- ts+30567, libc.VaList(bp+168, zWhere, zAnd, nBind, zCol))
+ ts+30633, libc.VaList(bp+168, zWhere, zAnd, nBind, zCol))
if zRet == uintptr(0) || zImpPK == uintptr(0) || zImpCols == uintptr(0) || zWhere == uintptr(0) {
rc = SQLITE_NOMEM
}
- zCom = ts + 15971
- zAnd = ts + 22894
+ zCom = ts + 15990
+ zAnd = ts + 22960
nBind++
}
@@ -172350,16 +172412,16 @@ func rbuObjIterGetOldlist(tls *libc.TLS, p uintptr, pIter uintptr, zObj uintptr)
var zList uintptr = uintptr(0)
if (*Sqlite3rbu)(unsafe.Pointer(p)).Frc == SQLITE_OK && (*RbuObjIter)(unsafe.Pointer(pIter)).FabIndexed != 0 {
- var zS uintptr = ts + 1544
+ var zS uintptr = ts + 1563
var i int32
for i = 0; i < (*RbuObjIter)(unsafe.Pointer(pIter)).FnTblCol; i++ {
if *(*U8)(unsafe.Pointer((*RbuObjIter)(unsafe.Pointer(pIter)).FabIndexed + uintptr(i))) != 0 {
var zCol uintptr = *(*uintptr)(unsafe.Pointer((*RbuObjIter)(unsafe.Pointer(pIter)).FazTblCol + uintptr(i)*8))
- zList = Xsqlite3_mprintf(tls, ts+30591, libc.VaList(bp, zList, zS, zObj, zCol))
+ zList = Xsqlite3_mprintf(tls, ts+30657, libc.VaList(bp, zList, zS, zObj, zCol))
} else {
- zList = Xsqlite3_mprintf(tls, ts+30603, libc.VaList(bp+32, zList, zS))
+ zList = Xsqlite3_mprintf(tls, ts+30669, libc.VaList(bp+32, zList, zS))
}
- zS = ts + 15971
+ zS = ts + 15990
if zList == uintptr(0) {
(*Sqlite3rbu)(unsafe.Pointer(p)).Frc = SQLITE_NOMEM
break
@@ -172367,7 +172429,7 @@ func rbuObjIterGetOldlist(tls *libc.TLS, p uintptr, pIter uintptr, zObj uintptr)
}
if (*RbuObjIter)(unsafe.Pointer(pIter)).FeType == RBU_PK_EXTERNAL || (*RbuObjIter)(unsafe.Pointer(pIter)).FeType == RBU_PK_NONE {
- zList = rbuMPrintf(tls, p, ts+30612, libc.VaList(bp+48, zList, zObj))
+ zList = rbuMPrintf(tls, p, ts+30678, libc.VaList(bp+48, zList, zObj))
}
}
return zList
@@ -172379,27 +172441,27 @@ func rbuObjIterGetWhere(tls *libc.TLS, p uintptr, pIter uintptr) uintptr {
var zList uintptr = uintptr(0)
if (*RbuObjIter)(unsafe.Pointer(pIter)).FeType == RBU_PK_VTAB || (*RbuObjIter)(unsafe.Pointer(pIter)).FeType == RBU_PK_NONE {
- zList = rbuMPrintf(tls, p, ts+30627, libc.VaList(bp, (*RbuObjIter)(unsafe.Pointer(pIter)).FnTblCol+1))
+ zList = rbuMPrintf(tls, p, ts+30693, libc.VaList(bp, (*RbuObjIter)(unsafe.Pointer(pIter)).FnTblCol+1))
} else if (*RbuObjIter)(unsafe.Pointer(pIter)).FeType == RBU_PK_EXTERNAL {
- var zSep uintptr = ts + 1544
+ var zSep uintptr = ts + 1563
var i int32
for i = 0; i < (*RbuObjIter)(unsafe.Pointer(pIter)).FnTblCol; i++ {
if *(*U8)(unsafe.Pointer((*RbuObjIter)(unsafe.Pointer(pIter)).FabTblPk + uintptr(i))) != 0 {
- zList = rbuMPrintf(tls, p, ts+30641, libc.VaList(bp+8, zList, zSep, i, i+1))
- zSep = ts + 22894
+ zList = rbuMPrintf(tls, p, ts+30707, libc.VaList(bp+8, zList, zSep, i, i+1))
+ zSep = ts + 22960
}
}
zList = rbuMPrintf(tls, p,
- ts+30653, libc.VaList(bp+40, zList))
+ ts+30719, libc.VaList(bp+40, zList))
} else {
- var zSep uintptr = ts + 1544
+ var zSep uintptr = ts + 1563
var i int32
for i = 0; i < (*RbuObjIter)(unsafe.Pointer(pIter)).FnTblCol; i++ {
if *(*U8)(unsafe.Pointer((*RbuObjIter)(unsafe.Pointer(pIter)).FabTblPk + uintptr(i))) != 0 {
var zCol uintptr = *(*uintptr)(unsafe.Pointer((*RbuObjIter)(unsafe.Pointer(pIter)).FazTblCol + uintptr(i)*8))
- zList = rbuMPrintf(tls, p, ts+30703, libc.VaList(bp+48, zList, zSep, zCol, i+1))
- zSep = ts + 22894
+ zList = rbuMPrintf(tls, p, ts+30769, libc.VaList(bp+48, zList, zSep, zCol, i+1))
+ zSep = ts + 22960
}
}
}
@@ -172408,7 +172470,7 @@ func rbuObjIterGetWhere(tls *libc.TLS, p uintptr, pIter uintptr) uintptr {
func rbuBadControlError(tls *libc.TLS, p uintptr) {
(*Sqlite3rbu)(unsafe.Pointer(p)).Frc = SQLITE_ERROR
- (*Sqlite3rbu)(unsafe.Pointer(p)).FzErrmsg = Xsqlite3_mprintf(tls, ts+30716, 0)
+ (*Sqlite3rbu)(unsafe.Pointer(p)).FzErrmsg = Xsqlite3_mprintf(tls, ts+30782, 0)
}
func rbuObjIterGetSetlist(tls *libc.TLS, p uintptr, pIter uintptr, zMask uintptr) uintptr {
@@ -172422,21 +172484,21 @@ func rbuObjIterGetSetlist(tls *libc.TLS, p uintptr, pIter uintptr, zMask uintptr
if int32(libc.Xstrlen(tls, zMask)) != (*RbuObjIter)(unsafe.Pointer(pIter)).FnTblCol {
rbuBadControlError(tls, p)
} else {
- var zSep uintptr = ts + 1544
+ var zSep uintptr = ts + 1563
for i = 0; i < (*RbuObjIter)(unsafe.Pointer(pIter)).FnTblCol; i++ {
var c int8 = *(*int8)(unsafe.Pointer(zMask + uintptr(*(*int32)(unsafe.Pointer((*RbuObjIter)(unsafe.Pointer(pIter)).FaiSrcOrder + uintptr(i)*4)))))
if int32(c) == 'x' {
- zList = rbuMPrintf(tls, p, ts+30703,
+ zList = rbuMPrintf(tls, p, ts+30769,
libc.VaList(bp, zList, zSep, *(*uintptr)(unsafe.Pointer((*RbuObjIter)(unsafe.Pointer(pIter)).FazTblCol + uintptr(i)*8)), i+1))
- zSep = ts + 15971
+ zSep = ts + 15990
} else if int32(c) == 'd' {
- zList = rbuMPrintf(tls, p, ts+30742,
+ zList = rbuMPrintf(tls, p, ts+30808,
libc.VaList(bp+32, zList, zSep, *(*uintptr)(unsafe.Pointer((*RbuObjIter)(unsafe.Pointer(pIter)).FazTblCol + uintptr(i)*8)), *(*uintptr)(unsafe.Pointer((*RbuObjIter)(unsafe.Pointer(pIter)).FazTblCol + uintptr(i)*8)), i+1))
- zSep = ts + 15971
+ zSep = ts + 15990
} else if int32(c) == 'f' {
- zList = rbuMPrintf(tls, p, ts+30772,
+ zList = rbuMPrintf(tls, p, ts+30838,
libc.VaList(bp+72, zList, zSep, *(*uintptr)(unsafe.Pointer((*RbuObjIter)(unsafe.Pointer(pIter)).FazTblCol + uintptr(i)*8)), *(*uintptr)(unsafe.Pointer((*RbuObjIter)(unsafe.Pointer(pIter)).FazTblCol + uintptr(i)*8)), i+1))
- zSep = ts + 15971
+ zSep = ts + 15990
}
}
}
@@ -172471,19 +172533,19 @@ func rbuWithoutRowidPK(tls *libc.TLS, p uintptr, pIter uintptr) uintptr {
var z uintptr = uintptr(0)
if (*Sqlite3rbu)(unsafe.Pointer(p)).Frc == SQLITE_OK {
- var zSep uintptr = ts + 30809
+ var zSep uintptr = ts + 30875
*(*uintptr)(unsafe.Pointer(bp + 56)) = uintptr(0)
*(*uintptr)(unsafe.Pointer(bp + 64)) = uintptr(0)
(*Sqlite3rbu)(unsafe.Pointer(p)).Frc = prepareFreeAndCollectError(tls, (*Sqlite3rbu)(unsafe.Pointer(p)).FdbMain, bp+56, p+64,
- Xsqlite3_mprintf(tls, ts+29961, libc.VaList(bp, (*RbuObjIter)(unsafe.Pointer(pIter)).FzTbl)))
+ Xsqlite3_mprintf(tls, ts+30027, libc.VaList(bp, (*RbuObjIter)(unsafe.Pointer(pIter)).FzTbl)))
for (*Sqlite3rbu)(unsafe.Pointer(p)).Frc == SQLITE_OK && SQLITE_ROW == Xsqlite3_step(tls, *(*uintptr)(unsafe.Pointer(bp + 56))) {
var zOrig uintptr = Xsqlite3_column_text(tls, *(*uintptr)(unsafe.Pointer(bp + 56)), 3)
- if zOrig != 0 && libc.Xstrcmp(tls, zOrig, ts+17513) == 0 {
+ if zOrig != 0 && libc.Xstrcmp(tls, zOrig, ts+17532) == 0 {
var zIdx uintptr = Xsqlite3_column_text(tls, *(*uintptr)(unsafe.Pointer(bp + 56)), 1)
if zIdx != 0 {
(*Sqlite3rbu)(unsafe.Pointer(p)).Frc = prepareFreeAndCollectError(tls, (*Sqlite3rbu)(unsafe.Pointer(p)).FdbMain, bp+64, p+64,
- Xsqlite3_mprintf(tls, ts+29989, libc.VaList(bp+8, zIdx)))
+ Xsqlite3_mprintf(tls, ts+30055, libc.VaList(bp+8, zIdx)))
}
break
}
@@ -172495,15 +172557,15 @@ func rbuWithoutRowidPK(tls *libc.TLS, p uintptr, pIter uintptr) uintptr {
var zCol uintptr = Xsqlite3_column_text(tls, *(*uintptr)(unsafe.Pointer(bp + 64)), 2)
var zDesc uintptr
if Xsqlite3_column_int(tls, *(*uintptr)(unsafe.Pointer(bp + 64)), 3) != 0 {
- zDesc = ts + 30229
+ zDesc = ts + 30295
} else {
- zDesc = ts + 1544
+ zDesc = ts + 1563
}
- z = rbuMPrintf(tls, p, ts+30822, libc.VaList(bp+16, z, zSep, zCol, zDesc))
- zSep = ts + 15971
+ z = rbuMPrintf(tls, p, ts+30888, libc.VaList(bp+16, z, zSep, zCol, zDesc))
+ zSep = ts + 15990
}
}
- z = rbuMPrintf(tls, p, ts+30833, libc.VaList(bp+48, z))
+ z = rbuMPrintf(tls, p, ts+30899, libc.VaList(bp+48, z))
rbuFinalize(tls, p, *(*uintptr)(unsafe.Pointer(bp + 64)))
}
return z
@@ -172518,12 +172580,12 @@ func rbuCreateImposterTable2(tls *libc.TLS, p uintptr, pIter uintptr) {
*(*uintptr)(unsafe.Pointer(bp + 168)) = uintptr(0)
var zIdx uintptr = uintptr(0)
*(*uintptr)(unsafe.Pointer(bp + 176)) = uintptr(0)
- var zComma uintptr = ts + 1544
+ var zComma uintptr = ts + 1563
var zCols uintptr = uintptr(0)
var zPk uintptr = uintptr(0)
(*Sqlite3rbu)(unsafe.Pointer(p)).Frc = prepareAndCollectError(tls, (*Sqlite3rbu)(unsafe.Pointer(p)).FdbMain, bp+168, p+64,
- ts+30837)
+ ts+30903)
if (*Sqlite3rbu)(unsafe.Pointer(p)).Frc == SQLITE_OK {
Xsqlite3_bind_int(tls, *(*uintptr)(unsafe.Pointer(bp + 168)), 1, tnum)
if SQLITE_ROW == Xsqlite3_step(tls, *(*uintptr)(unsafe.Pointer(bp + 168))) {
@@ -172532,7 +172594,7 @@ func rbuCreateImposterTable2(tls *libc.TLS, p uintptr, pIter uintptr) {
}
if zIdx != 0 {
(*Sqlite3rbu)(unsafe.Pointer(p)).Frc = prepareFreeAndCollectError(tls, (*Sqlite3rbu)(unsafe.Pointer(p)).FdbMain, bp+176, p+64,
- Xsqlite3_mprintf(tls, ts+29989, libc.VaList(bp, zIdx)))
+ Xsqlite3_mprintf(tls, ts+30055, libc.VaList(bp, zIdx)))
}
rbuFinalize(tls, p, *(*uintptr)(unsafe.Pointer(bp + 168)))
@@ -172542,25 +172604,25 @@ func rbuCreateImposterTable2(tls *libc.TLS, p uintptr, pIter uintptr) {
var iCid int32 = Xsqlite3_column_int(tls, *(*uintptr)(unsafe.Pointer(bp + 176)), 1)
var bDesc int32 = Xsqlite3_column_int(tls, *(*uintptr)(unsafe.Pointer(bp + 176)), 3)
var zCollate uintptr = Xsqlite3_column_text(tls, *(*uintptr)(unsafe.Pointer(bp + 176)), 4)
- zCols = rbuMPrintf(tls, p, ts+30887, libc.VaList(bp+8, zCols, zComma,
+ zCols = rbuMPrintf(tls, p, ts+30953, libc.VaList(bp+8, zCols, zComma,
iCid, *(*uintptr)(unsafe.Pointer((*RbuObjIter)(unsafe.Pointer(pIter)).FazTblType + uintptr(iCid)*8)), zCollate))
- zPk = rbuMPrintf(tls, p, ts+30909, libc.VaList(bp+48, zPk, zComma, iCid, func() uintptr {
+ zPk = rbuMPrintf(tls, p, ts+30975, libc.VaList(bp+48, zPk, zComma, iCid, func() uintptr {
if bDesc != 0 {
- return ts + 30229
+ return ts + 30295
}
- return ts + 1544
+ return ts + 1563
}()))
- zComma = ts + 15971
+ zComma = ts + 15990
}
}
- zCols = rbuMPrintf(tls, p, ts+30919, libc.VaList(bp+80, zCols))
+ zCols = rbuMPrintf(tls, p, ts+30985, libc.VaList(bp+80, zCols))
rbuFinalize(tls, p, *(*uintptr)(unsafe.Pointer(bp + 176)))
- Xsqlite3_test_control(tls, SQLITE_TESTCTRL_IMPOSTER, libc.VaList(bp+88, (*Sqlite3rbu)(unsafe.Pointer(p)).FdbMain, ts+7793, 1, tnum))
+ Xsqlite3_test_control(tls, SQLITE_TESTCTRL_IMPOSTER, libc.VaList(bp+88, (*Sqlite3rbu)(unsafe.Pointer(p)).FdbMain, ts+7812, 1, tnum))
rbuMPrintfExec(tls, p, (*Sqlite3rbu)(unsafe.Pointer(p)).FdbMain,
- ts+30934,
+ ts+31000,
libc.VaList(bp+120, zCols, zPk))
- Xsqlite3_test_control(tls, SQLITE_TESTCTRL_IMPOSTER, libc.VaList(bp+136, (*Sqlite3rbu)(unsafe.Pointer(p)).FdbMain, ts+7793, 0, 0))
+ Xsqlite3_test_control(tls, SQLITE_TESTCTRL_IMPOSTER, libc.VaList(bp+136, (*Sqlite3rbu)(unsafe.Pointer(p)).FdbMain, ts+7812, 0, 0))
}
}
@@ -172570,50 +172632,50 @@ func rbuCreateImposterTable(tls *libc.TLS, p uintptr, pIter uintptr) {
if (*Sqlite3rbu)(unsafe.Pointer(p)).Frc == SQLITE_OK && (*RbuObjIter)(unsafe.Pointer(pIter)).FeType != RBU_PK_VTAB {
var tnum int32 = (*RbuObjIter)(unsafe.Pointer(pIter)).FiTnum
- var zComma uintptr = ts + 1544
+ var zComma uintptr = ts + 1563
var zSql uintptr = uintptr(0)
var iCol int32
- Xsqlite3_test_control(tls, SQLITE_TESTCTRL_IMPOSTER, libc.VaList(bp, (*Sqlite3rbu)(unsafe.Pointer(p)).FdbMain, ts+7793, 0, 1))
+ Xsqlite3_test_control(tls, SQLITE_TESTCTRL_IMPOSTER, libc.VaList(bp, (*Sqlite3rbu)(unsafe.Pointer(p)).FdbMain, ts+7812, 0, 1))
for iCol = 0; (*Sqlite3rbu)(unsafe.Pointer(p)).Frc == SQLITE_OK && iCol < (*RbuObjIter)(unsafe.Pointer(pIter)).FnTblCol; iCol++ {
- var zPk uintptr = ts + 1544
+ var zPk uintptr = ts + 1563
var zCol uintptr = *(*uintptr)(unsafe.Pointer((*RbuObjIter)(unsafe.Pointer(pIter)).FazTblCol + uintptr(iCol)*8))
*(*uintptr)(unsafe.Pointer(bp + 192)) = uintptr(0)
(*Sqlite3rbu)(unsafe.Pointer(p)).Frc = Xsqlite3_table_column_metadata(tls,
- (*Sqlite3rbu)(unsafe.Pointer(p)).FdbMain, ts+7793, (*RbuObjIter)(unsafe.Pointer(pIter)).FzTbl, zCol, uintptr(0), bp+192, uintptr(0), uintptr(0), uintptr(0))
+ (*Sqlite3rbu)(unsafe.Pointer(p)).FdbMain, ts+7812, (*RbuObjIter)(unsafe.Pointer(pIter)).FzTbl, zCol, uintptr(0), bp+192, uintptr(0), uintptr(0), uintptr(0))
if (*RbuObjIter)(unsafe.Pointer(pIter)).FeType == RBU_PK_IPK && *(*U8)(unsafe.Pointer((*RbuObjIter)(unsafe.Pointer(pIter)).FabTblPk + uintptr(iCol))) != 0 {
- zPk = ts + 30996
+ zPk = ts + 31062
}
- zSql = rbuMPrintf(tls, p, ts+31009,
+ zSql = rbuMPrintf(tls, p, ts+31075,
libc.VaList(bp+32, zSql, zComma, zCol, *(*uintptr)(unsafe.Pointer((*RbuObjIter)(unsafe.Pointer(pIter)).FazTblType + uintptr(iCol)*8)), zPk, *(*uintptr)(unsafe.Pointer(bp + 192)),
func() uintptr {
if *(*U8)(unsafe.Pointer((*RbuObjIter)(unsafe.Pointer(pIter)).FabNotNull + uintptr(iCol))) != 0 {
- return ts + 31036
+ return ts + 31102
}
- return ts + 1544
+ return ts + 1563
}()))
- zComma = ts + 15971
+ zComma = ts + 15990
}
if (*RbuObjIter)(unsafe.Pointer(pIter)).FeType == RBU_PK_WITHOUT_ROWID {
var zPk uintptr = rbuWithoutRowidPK(tls, p, pIter)
if zPk != 0 {
- zSql = rbuMPrintf(tls, p, ts+31046, libc.VaList(bp+88, zSql, zPk))
+ zSql = rbuMPrintf(tls, p, ts+31112, libc.VaList(bp+88, zSql, zPk))
}
}
- Xsqlite3_test_control(tls, SQLITE_TESTCTRL_IMPOSTER, libc.VaList(bp+104, (*Sqlite3rbu)(unsafe.Pointer(p)).FdbMain, ts+7793, 1, tnum))
- rbuMPrintfExec(tls, p, (*Sqlite3rbu)(unsafe.Pointer(p)).FdbMain, ts+31053,
+ Xsqlite3_test_control(tls, SQLITE_TESTCTRL_IMPOSTER, libc.VaList(bp+104, (*Sqlite3rbu)(unsafe.Pointer(p)).FdbMain, ts+7812, 1, tnum))
+ rbuMPrintfExec(tls, p, (*Sqlite3rbu)(unsafe.Pointer(p)).FdbMain, ts+31119,
libc.VaList(bp+136, (*RbuObjIter)(unsafe.Pointer(pIter)).FzTbl, zSql,
func() uintptr {
if (*RbuObjIter)(unsafe.Pointer(pIter)).FeType == RBU_PK_WITHOUT_ROWID {
- return ts + 31085
+ return ts + 31151
}
- return ts + 1544
+ return ts + 1563
}()))
- Xsqlite3_test_control(tls, SQLITE_TESTCTRL_IMPOSTER, libc.VaList(bp+160, (*Sqlite3rbu)(unsafe.Pointer(p)).FdbMain, ts+7793, 0, 0))
+ Xsqlite3_test_control(tls, SQLITE_TESTCTRL_IMPOSTER, libc.VaList(bp+160, (*Sqlite3rbu)(unsafe.Pointer(p)).FdbMain, ts+7812, 0, 0))
}
}
@@ -172626,7 +172688,7 @@ func rbuObjIterPrepareTmpInsert(tls *libc.TLS, p uintptr, pIter uintptr, zCollis
if zBind != 0 {
(*Sqlite3rbu)(unsafe.Pointer(p)).Frc = prepareFreeAndCollectError(tls,
(*Sqlite3rbu)(unsafe.Pointer(p)).FdbRbu, pIter+152, p+64, Xsqlite3_mprintf(tls,
- ts+31100,
+ ts+31166,
libc.VaList(bp, p+48, (*RbuObjIter)(unsafe.Pointer(pIter)).FzDataTbl, zCollist, zRbuRowid, zBind)))
}
}
@@ -172663,7 +172725,7 @@ func rbuObjIterGetIndexWhere(tls *libc.TLS, p uintptr, pIter uintptr) uintptr {
if *(*int32)(unsafe.Pointer(bp + 8)) == SQLITE_OK {
*(*int32)(unsafe.Pointer(bp + 8)) = prepareAndCollectError(tls, (*Sqlite3rbu)(unsafe.Pointer(p)).FdbMain, bp, p+64,
- ts+31157)
+ ts+31223)
}
if *(*int32)(unsafe.Pointer(bp + 8)) == SQLITE_OK {
var rc2 int32
@@ -172768,7 +172830,7 @@ func rbuObjIterPrepareAll(tls *libc.TLS, p uintptr, pIter uintptr, nOffset int32
var zLimit uintptr = uintptr(0)
if nOffset != 0 {
- zLimit = Xsqlite3_mprintf(tls, ts+31223, libc.VaList(bp, nOffset))
+ zLimit = Xsqlite3_mprintf(tls, ts+31289, libc.VaList(bp, nOffset))
if !(zLimit != 0) {
(*Sqlite3rbu)(unsafe.Pointer(p)).Frc = SQLITE_NOMEM
}
@@ -172788,24 +172850,24 @@ func rbuObjIterPrepareAll(tls *libc.TLS, p uintptr, pIter uintptr, nOffset int32
p, pIter, bp+600, bp+608, bp+616, bp+624)
zBind = rbuObjIterGetBindlist(tls, p, *(*int32)(unsafe.Pointer(bp + 624)))
- Xsqlite3_test_control(tls, SQLITE_TESTCTRL_IMPOSTER, libc.VaList(bp+8, (*Sqlite3rbu)(unsafe.Pointer(p)).FdbMain, ts+7793, 0, 1))
- Xsqlite3_test_control(tls, SQLITE_TESTCTRL_IMPOSTER, libc.VaList(bp+40, (*Sqlite3rbu)(unsafe.Pointer(p)).FdbMain, ts+7793, 1, tnum))
+ Xsqlite3_test_control(tls, SQLITE_TESTCTRL_IMPOSTER, libc.VaList(bp+8, (*Sqlite3rbu)(unsafe.Pointer(p)).FdbMain, ts+7812, 0, 1))
+ Xsqlite3_test_control(tls, SQLITE_TESTCTRL_IMPOSTER, libc.VaList(bp+40, (*Sqlite3rbu)(unsafe.Pointer(p)).FdbMain, ts+7812, 1, tnum))
rbuMPrintfExec(tls, p, (*Sqlite3rbu)(unsafe.Pointer(p)).FdbMain,
- ts+31243,
+ ts+31309,
libc.VaList(bp+72, zTbl, *(*uintptr)(unsafe.Pointer(bp + 600)), *(*uintptr)(unsafe.Pointer(bp + 608))))
- Xsqlite3_test_control(tls, SQLITE_TESTCTRL_IMPOSTER, libc.VaList(bp+96, (*Sqlite3rbu)(unsafe.Pointer(p)).FdbMain, ts+7793, 0, 0))
+ Xsqlite3_test_control(tls, SQLITE_TESTCTRL_IMPOSTER, libc.VaList(bp+96, (*Sqlite3rbu)(unsafe.Pointer(p)).FdbMain, ts+7812, 0, 0))
(*RbuObjIter)(unsafe.Pointer(pIter)).FnCol = *(*int32)(unsafe.Pointer(bp + 624))
if (*Sqlite3rbu)(unsafe.Pointer(p)).Frc == SQLITE_OK {
(*Sqlite3rbu)(unsafe.Pointer(p)).Frc = prepareFreeAndCollectError(tls,
(*Sqlite3rbu)(unsafe.Pointer(p)).FdbMain, pIter+136, p+64,
- Xsqlite3_mprintf(tls, ts+31308, libc.VaList(bp+128, zTbl, zBind)))
+ Xsqlite3_mprintf(tls, ts+31374, libc.VaList(bp+128, zTbl, zBind)))
}
if libc.Bool32((*Sqlite3rbu)(unsafe.Pointer(p)).FzTarget == uintptr(0)) == 0 && (*Sqlite3rbu)(unsafe.Pointer(p)).Frc == SQLITE_OK {
(*Sqlite3rbu)(unsafe.Pointer(p)).Frc = prepareFreeAndCollectError(tls,
(*Sqlite3rbu)(unsafe.Pointer(p)).FdbMain, pIter+144, p+64,
- Xsqlite3_mprintf(tls, ts+31344, libc.VaList(bp+144, zTbl, *(*uintptr)(unsafe.Pointer(bp + 616)))))
+ Xsqlite3_mprintf(tls, ts+31410, libc.VaList(bp+144, zTbl, *(*uintptr)(unsafe.Pointer(bp + 616)))))
}
if (*Sqlite3rbu)(unsafe.Pointer(p)).Frc == SQLITE_OK {
@@ -172821,7 +172883,7 @@ func rbuObjIterPrepareAll(tls *libc.TLS, p uintptr, pIter uintptr, nOffset int32
}
zSql = Xsqlite3_mprintf(tls,
- ts+31378,
+ ts+31444,
libc.VaList(bp+160, zCollist,
(*RbuObjIter)(unsafe.Pointer(pIter)).FzDataTbl,
zPart,
@@ -172829,31 +172891,31 @@ func rbuObjIterPrepareAll(tls *libc.TLS, p uintptr, pIter uintptr, nOffset int32
if zStart != 0 {
return func() uintptr {
if zPart != 0 {
- return ts + 31439
+ return ts + 31505
}
- return ts + 31443
+ return ts + 31509
}()
}
- return ts + 1544
+ return ts + 1563
}(), zStart,
zCollist, zLimit))
Xsqlite3_free(tls, zStart)
} else if (*RbuObjIter)(unsafe.Pointer(pIter)).FeType == RBU_PK_EXTERNAL || (*RbuObjIter)(unsafe.Pointer(pIter)).FeType == RBU_PK_NONE {
zSql = Xsqlite3_mprintf(tls,
- ts+31449,
+ ts+31515,
libc.VaList(bp+216, zCollist, p+48, (*RbuObjIter)(unsafe.Pointer(pIter)).FzDataTbl,
zPart, zCollist, zLimit))
} else {
zSql = Xsqlite3_mprintf(tls,
- ts+31510,
+ ts+31576,
libc.VaList(bp+264, zCollist, p+48, (*RbuObjIter)(unsafe.Pointer(pIter)).FzDataTbl, zPart,
zCollist, (*RbuObjIter)(unsafe.Pointer(pIter)).FzDataTbl,
zPart,
func() uintptr {
if zPart != 0 {
- return ts + 31439
+ return ts + 31505
}
- return ts + 31443
+ return ts + 31509
}(),
zCollist, zLimit))
}
@@ -172878,8 +172940,8 @@ func rbuObjIterPrepareAll(tls *libc.TLS, p uintptr, pIter uintptr, nOffset int32
var zBindings uintptr = rbuObjIterGetBindlist(tls, p, (*RbuObjIter)(unsafe.Pointer(pIter)).FnTblCol+bRbuRowid)
var zWhere uintptr = rbuObjIterGetWhere(tls, p, pIter)
- var zOldlist uintptr = rbuObjIterGetOldlist(tls, p, pIter, ts+7804)
- var zNewlist uintptr = rbuObjIterGetOldlist(tls, p, pIter, ts+7800)
+ var zOldlist uintptr = rbuObjIterGetOldlist(tls, p, pIter, ts+7823)
+ var zNewlist uintptr = rbuObjIterGetOldlist(tls, p, pIter, ts+7819)
zCollist = rbuObjIterGetCollist(tls, p, pIter)
(*RbuObjIter)(unsafe.Pointer(pIter)).FnCol = (*RbuObjIter)(unsafe.Pointer(pIter)).FnTblCol
@@ -172888,52 +172950,52 @@ func rbuObjIterPrepareAll(tls *libc.TLS, p uintptr, pIter uintptr, nOffset int32
rbuCreateImposterTable2(tls, p, pIter)
zWrite = func() uintptr {
if (*RbuObjIter)(unsafe.Pointer(pIter)).FeType == RBU_PK_VTAB {
- return ts + 1544
+ return ts + 1563
}
- return ts + 31669
+ return ts + 31735
}()
if (*Sqlite3rbu)(unsafe.Pointer(p)).Frc == SQLITE_OK {
(*Sqlite3rbu)(unsafe.Pointer(p)).Frc = prepareFreeAndCollectError(tls, (*Sqlite3rbu)(unsafe.Pointer(p)).FdbMain, pIter+136, pz,
Xsqlite3_mprintf(tls,
- ts+31678,
+ ts+31744,
libc.VaList(bp+344, zWrite, zTbl, zCollist, func() uintptr {
if bRbuRowid != 0 {
- return ts + 31714
+ return ts + 31780
}
- return ts + 1544
+ return ts + 1563
}(), zBindings)))
}
if libc.Bool32((*Sqlite3rbu)(unsafe.Pointer(p)).FzTarget == uintptr(0)) == 0 && (*Sqlite3rbu)(unsafe.Pointer(p)).Frc == SQLITE_OK {
(*Sqlite3rbu)(unsafe.Pointer(p)).Frc = prepareFreeAndCollectError(tls, (*Sqlite3rbu)(unsafe.Pointer(p)).FdbMain, pIter+144, pz,
Xsqlite3_mprintf(tls,
- ts+31724, libc.VaList(bp+384, zWrite, zTbl, zWhere)))
+ ts+31790, libc.VaList(bp+384, zWrite, zTbl, zWhere)))
}
if libc.Bool32((*Sqlite3rbu)(unsafe.Pointer(p)).FzTarget == uintptr(0)) == 0 && (*RbuObjIter)(unsafe.Pointer(pIter)).FabIndexed != 0 {
- var zRbuRowid uintptr = ts + 1544
+ var zRbuRowid uintptr = ts + 1563
if (*RbuObjIter)(unsafe.Pointer(pIter)).FeType == RBU_PK_EXTERNAL || (*RbuObjIter)(unsafe.Pointer(pIter)).FeType == RBU_PK_NONE {
- zRbuRowid = ts + 31752
+ zRbuRowid = ts + 31818
}
rbuMPrintfExec(tls, p, (*Sqlite3rbu)(unsafe.Pointer(p)).FdbRbu,
- ts+31764, libc.VaList(bp+408, p+48, (*RbuObjIter)(unsafe.Pointer(pIter)).FzDataTbl, func() uintptr {
+ ts+31830, libc.VaList(bp+408, p+48, (*RbuObjIter)(unsafe.Pointer(pIter)).FzDataTbl, func() uintptr {
if (*RbuObjIter)(unsafe.Pointer(pIter)).FeType == RBU_PK_EXTERNAL {
- return ts + 31840
+ return ts + 31906
}
- return ts + 1544
+ return ts + 1563
}(), (*RbuObjIter)(unsafe.Pointer(pIter)).FzDataTbl))
rbuMPrintfExec(tls, p, (*Sqlite3rbu)(unsafe.Pointer(p)).FdbMain,
- ts+31857,
+ ts+31923,
libc.VaList(bp+440, zWrite, zTbl, zOldlist,
zWrite, zTbl, zOldlist,
zWrite, zTbl, zNewlist))
if (*RbuObjIter)(unsafe.Pointer(pIter)).FeType == RBU_PK_EXTERNAL || (*RbuObjIter)(unsafe.Pointer(pIter)).FeType == RBU_PK_NONE {
rbuMPrintfExec(tls, p, (*Sqlite3rbu)(unsafe.Pointer(p)).FdbMain,
- ts+32156,
+ ts+32222,
libc.VaList(bp+512, zWrite, zTbl, zNewlist))
}
@@ -172941,14 +173003,14 @@ func rbuObjIterPrepareAll(tls *libc.TLS, p uintptr, pIter uintptr, nOffset int32
}
if (*Sqlite3rbu)(unsafe.Pointer(p)).Frc == SQLITE_OK {
- var zRbuRowid uintptr = ts + 1544
+ var zRbuRowid uintptr = ts + 1563
var zStart uintptr = uintptr(0)
var zOrder uintptr = uintptr(0)
if bRbuRowid != 0 {
if (*Sqlite3rbu)(unsafe.Pointer(p)).FzTarget == uintptr(0) {
- zRbuRowid = ts + 32255
+ zRbuRowid = ts + 32321
} else {
- zRbuRowid = ts + 32265
+ zRbuRowid = ts + 32331
}
}
@@ -172961,35 +173023,35 @@ func rbuObjIterPrepareAll(tls *libc.TLS, p uintptr, pIter uintptr, nOffset int32
}
}
if bRbuRowid != 0 {
- zOrder = rbuMPrintf(tls, p, ts+30312, 0)
+ zOrder = rbuMPrintf(tls, p, ts+30378, 0)
} else {
- zOrder = rbuObjIterGetPkList(tls, p, pIter, ts+1544, ts+15971, ts+1544)
+ zOrder = rbuObjIterGetPkList(tls, p, pIter, ts+1563, ts+15990, ts+1563)
}
}
if (*Sqlite3rbu)(unsafe.Pointer(p)).Frc == SQLITE_OK {
(*Sqlite3rbu)(unsafe.Pointer(p)).Frc = prepareFreeAndCollectError(tls, (*Sqlite3rbu)(unsafe.Pointer(p)).FdbRbu, pIter+128, pz,
Xsqlite3_mprintf(tls,
- ts+32276,
+ ts+32342,
libc.VaList(bp+536, zCollist,
func() uintptr {
if (*Sqlite3rbu)(unsafe.Pointer(p)).FzTarget == uintptr(0) {
- return ts + 32324
+ return ts + 32390
}
- return ts + 1544
+ return ts + 1563
}(),
zRbuRowid,
(*RbuObjIter)(unsafe.Pointer(pIter)).FzDataTbl, func() uintptr {
if zStart != 0 {
return zStart
}
- return ts + 1544
+ return ts + 1563
}(),
func() uintptr {
if zOrder != 0 {
- return ts + 24228
+ return ts + 24294
}
- return ts + 1544
+ return ts + 1563
}(), zOrder,
zLimit)))
}
@@ -173052,12 +173114,12 @@ func rbuGetUpdateStmt(tls *libc.TLS, p uintptr, pIter uintptr, zMask uintptr, pp
(*RbuObjIter)(unsafe.Pointer(pIter)).FpRbuUpdate = pUp
if zSet != 0 {
- var zPrefix uintptr = ts + 1544
+ var zPrefix uintptr = ts + 1563
if (*RbuObjIter)(unsafe.Pointer(pIter)).FeType != RBU_PK_VTAB {
- zPrefix = ts + 31669
+ zPrefix = ts + 31735
}
- zUpdate = Xsqlite3_mprintf(tls, ts+32330,
+ zUpdate = Xsqlite3_mprintf(tls, ts+32396,
libc.VaList(bp, zPrefix, (*RbuObjIter)(unsafe.Pointer(pIter)).FzTbl, zSet, zWhere))
(*Sqlite3rbu)(unsafe.Pointer(p)).Frc = prepareFreeAndCollectError(tls,
(*Sqlite3rbu)(unsafe.Pointer(p)).FdbMain, pUp+8, p+64, zUpdate)
@@ -173084,7 +173146,7 @@ func rbuOpenDbhandle(tls *libc.TLS, p uintptr, zName uintptr, bUseVfs int32) uin
return uintptr(0)
}())
if (*Sqlite3rbu)(unsafe.Pointer(p)).Frc != 0 {
- (*Sqlite3rbu)(unsafe.Pointer(p)).FzErrmsg = Xsqlite3_mprintf(tls, ts+4493, libc.VaList(bp, Xsqlite3_errmsg(tls, *(*uintptr)(unsafe.Pointer(bp + 8)))))
+ (*Sqlite3rbu)(unsafe.Pointer(p)).FzErrmsg = Xsqlite3_mprintf(tls, ts+4512, libc.VaList(bp, Xsqlite3_errmsg(tls, *(*uintptr)(unsafe.Pointer(bp + 8)))))
Xsqlite3_close(tls, *(*uintptr)(unsafe.Pointer(bp + 8)))
*(*uintptr)(unsafe.Pointer(bp + 8)) = uintptr(0)
}
@@ -173116,7 +173178,7 @@ func rbuLoadState(tls *libc.TLS, p uintptr) uintptr {
}
*(*int32)(unsafe.Pointer(bp + 16)) = prepareFreeAndCollectError(tls, (*Sqlite3rbu)(unsafe.Pointer(p)).FdbRbu, bp+8, p+64,
- Xsqlite3_mprintf(tls, ts+32360, libc.VaList(bp, p+48)))
+ Xsqlite3_mprintf(tls, ts+32426, libc.VaList(bp, p+48)))
for *(*int32)(unsafe.Pointer(bp + 16)) == SQLITE_OK && SQLITE_ROW == Xsqlite3_step(tls, *(*uintptr)(unsafe.Pointer(bp + 8))) {
switch Xsqlite3_column_int(tls, *(*uintptr)(unsafe.Pointer(bp + 8)), 0) {
case RBU_STATE_STAGE:
@@ -173186,28 +173248,28 @@ func rbuOpenDatabase(tls *libc.TLS, p uintptr, dbMain uintptr, pbRetry uintptr)
(*Sqlite3rbu)(unsafe.Pointer(p)).FdbMain = dbMain
if (*Sqlite3rbu)(unsafe.Pointer(p)).Frc == SQLITE_OK && (*Sqlite3rbu)(unsafe.Pointer(p)).FzTarget == uintptr(0) {
- Xsqlite3_file_control(tls, (*Sqlite3rbu)(unsafe.Pointer(p)).FdbRbu, ts+7793, SQLITE_FCNTL_RBUCNT, p)
+ Xsqlite3_file_control(tls, (*Sqlite3rbu)(unsafe.Pointer(p)).FdbRbu, ts+7812, SQLITE_FCNTL_RBUCNT, p)
if (*Sqlite3rbu)(unsafe.Pointer(p)).FzState == uintptr(0) {
- var zFile uintptr = Xsqlite3_db_filename(tls, (*Sqlite3rbu)(unsafe.Pointer(p)).FdbRbu, ts+7793)
- (*Sqlite3rbu)(unsafe.Pointer(p)).FzState = rbuMPrintf(tls, p, ts+32390, libc.VaList(bp, zFile, zFile))
+ var zFile uintptr = Xsqlite3_db_filename(tls, (*Sqlite3rbu)(unsafe.Pointer(p)).FdbRbu, ts+7812)
+ (*Sqlite3rbu)(unsafe.Pointer(p)).FzState = rbuMPrintf(tls, p, ts+32456, libc.VaList(bp, zFile, zFile))
}
}
if (*Sqlite3rbu)(unsafe.Pointer(p)).FzState != 0 {
- rbuMPrintfExec(tls, p, (*Sqlite3rbu)(unsafe.Pointer(p)).FdbRbu, ts+32418, libc.VaList(bp+16, (*Sqlite3rbu)(unsafe.Pointer(p)).FzState))
- libc.Xmemcpy(tls, p+48, ts+14829, uint64(4))
+ rbuMPrintfExec(tls, p, (*Sqlite3rbu)(unsafe.Pointer(p)).FdbRbu, ts+32484, libc.VaList(bp+16, (*Sqlite3rbu)(unsafe.Pointer(p)).FzState))
+ libc.Xmemcpy(tls, p+48, ts+14848, uint64(4))
} else {
- libc.Xmemcpy(tls, p+48, ts+7793, uint64(4))
+ libc.Xmemcpy(tls, p+48, ts+7812, uint64(4))
}
- rbuMPrintfExec(tls, p, (*Sqlite3rbu)(unsafe.Pointer(p)).FdbRbu, ts+32436, libc.VaList(bp+24, p+48))
+ rbuMPrintfExec(tls, p, (*Sqlite3rbu)(unsafe.Pointer(p)).FdbRbu, ts+32502, libc.VaList(bp+24, p+48))
if (*Sqlite3rbu)(unsafe.Pointer(p)).Frc == SQLITE_OK && (*Sqlite3rbu)(unsafe.Pointer(p)).FzTarget == uintptr(0) {
var bOpen int32 = 0
var rc int32
(*Sqlite3rbu)(unsafe.Pointer(p)).FnRbu = 0
(*Sqlite3rbu)(unsafe.Pointer(p)).FpRbuFd = uintptr(0)
- rc = Xsqlite3_file_control(tls, (*Sqlite3rbu)(unsafe.Pointer(p)).FdbRbu, ts+7793, SQLITE_FCNTL_RBUCNT, p)
+ rc = Xsqlite3_file_control(tls, (*Sqlite3rbu)(unsafe.Pointer(p)).FdbRbu, ts+7812, SQLITE_FCNTL_RBUCNT, p)
if rc != SQLITE_NOTFOUND {
(*Sqlite3rbu)(unsafe.Pointer(p)).Frc = rc
}
@@ -173240,11 +173302,11 @@ func rbuOpenDatabase(tls *libc.TLS, p uintptr, dbMain uintptr, pbRetry uintptr)
return
}
(*Sqlite3rbu)(unsafe.Pointer(p)).Frc = SQLITE_ERROR
- (*Sqlite3rbu)(unsafe.Pointer(p)).FzErrmsg = Xsqlite3_mprintf(tls, ts+32502, 0)
+ (*Sqlite3rbu)(unsafe.Pointer(p)).FzErrmsg = Xsqlite3_mprintf(tls, ts+32568, 0)
} else {
var zTarget uintptr
var zExtra uintptr = uintptr(0)
- if libc.Xstrlen(tls, (*Sqlite3rbu)(unsafe.Pointer(p)).FzRbu) >= uint64(5) && 0 == libc.Xmemcmp(tls, ts+25575, (*Sqlite3rbu)(unsafe.Pointer(p)).FzRbu, uint64(5)) {
+ if libc.Xstrlen(tls, (*Sqlite3rbu)(unsafe.Pointer(p)).FzRbu) >= uint64(5) && 0 == libc.Xmemcmp(tls, ts+25641, (*Sqlite3rbu)(unsafe.Pointer(p)).FzRbu, uint64(5)) {
zExtra = (*Sqlite3rbu)(unsafe.Pointer(p)).FzRbu + 5
for *(*int8)(unsafe.Pointer(zExtra)) != 0 {
if int32(*(*int8)(unsafe.Pointer(libc.PostIncUintptr(&zExtra, 1)))) == '?' {
@@ -173256,16 +173318,16 @@ func rbuOpenDatabase(tls *libc.TLS, p uintptr, dbMain uintptr, pbRetry uintptr)
}
}
- zTarget = Xsqlite3_mprintf(tls, ts+32534,
- libc.VaList(bp+32, Xsqlite3_db_filename(tls, (*Sqlite3rbu)(unsafe.Pointer(p)).FdbRbu, ts+7793),
+ zTarget = Xsqlite3_mprintf(tls, ts+32600,
+ libc.VaList(bp+32, Xsqlite3_db_filename(tls, (*Sqlite3rbu)(unsafe.Pointer(p)).FdbRbu, ts+7812),
func() uintptr {
if zExtra == uintptr(0) {
- return ts + 1544
+ return ts + 1563
}
- return ts + 32566
+ return ts + 32632
}(), func() uintptr {
if zExtra == uintptr(0) {
- return ts + 1544
+ return ts + 1563
}
return zExtra
}()))
@@ -173281,37 +173343,37 @@ func rbuOpenDatabase(tls *libc.TLS, p uintptr, dbMain uintptr, pbRetry uintptr)
if (*Sqlite3rbu)(unsafe.Pointer(p)).Frc == SQLITE_OK {
(*Sqlite3rbu)(unsafe.Pointer(p)).Frc = Xsqlite3_create_function(tls, (*Sqlite3rbu)(unsafe.Pointer(p)).FdbMain,
- ts+32568, -1, SQLITE_UTF8, p, *(*uintptr)(unsafe.Pointer(&struct {
+ ts+32634, -1, SQLITE_UTF8, p, *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, int32, uintptr)
}{rbuTmpInsertFunc})), uintptr(0), uintptr(0))
}
if (*Sqlite3rbu)(unsafe.Pointer(p)).Frc == SQLITE_OK {
(*Sqlite3rbu)(unsafe.Pointer(p)).Frc = Xsqlite3_create_function(tls, (*Sqlite3rbu)(unsafe.Pointer(p)).FdbMain,
- ts+32583, 2, SQLITE_UTF8, uintptr(0), *(*uintptr)(unsafe.Pointer(&struct {
+ ts+32649, 2, SQLITE_UTF8, uintptr(0), *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, int32, uintptr)
}{rbuFossilDeltaFunc})), uintptr(0), uintptr(0))
}
if (*Sqlite3rbu)(unsafe.Pointer(p)).Frc == SQLITE_OK {
(*Sqlite3rbu)(unsafe.Pointer(p)).Frc = Xsqlite3_create_function(tls, (*Sqlite3rbu)(unsafe.Pointer(p)).FdbRbu,
- ts+32600, -1, SQLITE_UTF8, p, *(*uintptr)(unsafe.Pointer(&struct {
+ ts+32666, -1, SQLITE_UTF8, p, *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, int32, uintptr)
}{rbuTargetNameFunc})), uintptr(0), uintptr(0))
}
if (*Sqlite3rbu)(unsafe.Pointer(p)).Frc == SQLITE_OK {
- (*Sqlite3rbu)(unsafe.Pointer(p)).Frc = Xsqlite3_file_control(tls, (*Sqlite3rbu)(unsafe.Pointer(p)).FdbMain, ts+7793, SQLITE_FCNTL_RBU, p)
+ (*Sqlite3rbu)(unsafe.Pointer(p)).Frc = Xsqlite3_file_control(tls, (*Sqlite3rbu)(unsafe.Pointer(p)).FdbMain, ts+7812, SQLITE_FCNTL_RBU, p)
}
- rbuMPrintfExec(tls, p, (*Sqlite3rbu)(unsafe.Pointer(p)).FdbMain, ts+32616, 0)
+ rbuMPrintfExec(tls, p, (*Sqlite3rbu)(unsafe.Pointer(p)).FdbMain, ts+32682, 0)
if (*Sqlite3rbu)(unsafe.Pointer(p)).Frc == SQLITE_OK {
- (*Sqlite3rbu)(unsafe.Pointer(p)).Frc = Xsqlite3_file_control(tls, (*Sqlite3rbu)(unsafe.Pointer(p)).FdbMain, ts+7793, SQLITE_FCNTL_RBU, p)
+ (*Sqlite3rbu)(unsafe.Pointer(p)).Frc = Xsqlite3_file_control(tls, (*Sqlite3rbu)(unsafe.Pointer(p)).FdbMain, ts+7812, SQLITE_FCNTL_RBU, p)
}
if (*Sqlite3rbu)(unsafe.Pointer(p)).Frc == SQLITE_NOTFOUND {
(*Sqlite3rbu)(unsafe.Pointer(p)).Frc = SQLITE_ERROR
- (*Sqlite3rbu)(unsafe.Pointer(p)).FzErrmsg = Xsqlite3_mprintf(tls, ts+32644, 0)
+ (*Sqlite3rbu)(unsafe.Pointer(p)).FzErrmsg = Xsqlite3_mprintf(tls, ts+32710, 0)
}
}
@@ -173340,14 +173402,14 @@ func rbuSetupCheckpoint(tls *libc.TLS, p uintptr, pState uintptr) {
if pState == uintptr(0) {
(*Sqlite3rbu)(unsafe.Pointer(p)).FeStage = 0
if (*Sqlite3rbu)(unsafe.Pointer(p)).Frc == SQLITE_OK {
- (*Sqlite3rbu)(unsafe.Pointer(p)).Frc = Xsqlite3_exec(tls, (*Sqlite3rbu)(unsafe.Pointer(p)).FdbMain, ts+32616, uintptr(0), uintptr(0), uintptr(0))
+ (*Sqlite3rbu)(unsafe.Pointer(p)).Frc = Xsqlite3_exec(tls, (*Sqlite3rbu)(unsafe.Pointer(p)).FdbMain, ts+32682, uintptr(0), uintptr(0), uintptr(0))
}
}
if (*Sqlite3rbu)(unsafe.Pointer(p)).Frc == SQLITE_OK {
var rc2 int32
(*Sqlite3rbu)(unsafe.Pointer(p)).FeStage = RBU_STAGE_CAPTURE
- rc2 = Xsqlite3_exec(tls, (*Sqlite3rbu)(unsafe.Pointer(p)).FdbMain, ts+32662, uintptr(0), uintptr(0), uintptr(0))
+ rc2 = Xsqlite3_exec(tls, (*Sqlite3rbu)(unsafe.Pointer(p)).FdbMain, ts+32728, uintptr(0), uintptr(0), uintptr(0))
if rc2 != SQLITE_NOTICE {
(*Sqlite3rbu)(unsafe.Pointer(p)).Frc = rc2
}
@@ -173456,7 +173518,7 @@ func rbuLockDatabase(tls *libc.TLS, db uintptr) int32 {
var rc int32 = SQLITE_OK
*(*uintptr)(unsafe.Pointer(bp)) = uintptr(0)
- Xsqlite3_file_control(tls, db, ts+7793, SQLITE_FCNTL_FILE_POINTER, bp)
+ Xsqlite3_file_control(tls, db, ts+7812, SQLITE_FCNTL_FILE_POINTER, bp)
if (*Sqlite3_file)(unsafe.Pointer(*(*uintptr)(unsafe.Pointer(bp)))).FpMethods != 0 {
rc = (*struct {
@@ -173473,23 +173535,23 @@ func rbuLockDatabase(tls *libc.TLS, db uintptr) int32 {
func rbuExclusiveCheckpoint(tls *libc.TLS, db uintptr) int32 {
var zUri uintptr = Xsqlite3_db_filename(tls, db, uintptr(0))
- return Xsqlite3_uri_boolean(tls, zUri, ts+32697, 0)
+ return Xsqlite3_uri_boolean(tls, zUri, ts+32763, 0)
}
func rbuMoveOalFile(tls *libc.TLS, p uintptr) {
bp := tls.Alloc(16)
defer tls.Free(16)
- var zBase uintptr = Xsqlite3_db_filename(tls, (*Sqlite3rbu)(unsafe.Pointer(p)).FdbMain, ts+7793)
+ var zBase uintptr = Xsqlite3_db_filename(tls, (*Sqlite3rbu)(unsafe.Pointer(p)).FdbMain, ts+7812)
var zMove uintptr = zBase
var zOal uintptr
var zWal uintptr
if (*Sqlite3rbu)(unsafe.Pointer(p)).FzTarget == uintptr(0) {
- zMove = Xsqlite3_db_filename(tls, (*Sqlite3rbu)(unsafe.Pointer(p)).FdbRbu, ts+7793)
+ zMove = Xsqlite3_db_filename(tls, (*Sqlite3rbu)(unsafe.Pointer(p)).FdbRbu, ts+7812)
}
- zOal = Xsqlite3_mprintf(tls, ts+32722, libc.VaList(bp, zMove))
- zWal = Xsqlite3_mprintf(tls, ts+32729, libc.VaList(bp+8, zMove))
+ zOal = Xsqlite3_mprintf(tls, ts+32788, libc.VaList(bp, zMove))
+ zWal = Xsqlite3_mprintf(tls, ts+32795, libc.VaList(bp+8, zMove))
if zWal == uintptr(0) || zOal == uintptr(0) {
(*Sqlite3rbu)(unsafe.Pointer(p)).Frc = SQLITE_NOMEM
@@ -173606,7 +173668,7 @@ func rbuStepOneOp(tls *libc.TLS, p uintptr, eType int32) {
(*RbuObjIter)(unsafe.Pointer(pIter)).FzIdx == uintptr(0) && (*RbuObjIter)(unsafe.Pointer(pIter)).FeType == RBU_PK_IPK && *(*U8)(unsafe.Pointer((*RbuObjIter)(unsafe.Pointer(pIter)).FabTblPk + uintptr(i))) != 0 &&
Xsqlite3_column_type(tls, (*RbuObjIter)(unsafe.Pointer(pIter)).FpSelect, i) == SQLITE_NULL {
(*Sqlite3rbu)(unsafe.Pointer(p)).Frc = SQLITE_MISMATCH
- (*Sqlite3rbu)(unsafe.Pointer(p)).FzErrmsg = Xsqlite3_mprintf(tls, ts+25213, 0)
+ (*Sqlite3rbu)(unsafe.Pointer(p)).FzErrmsg = Xsqlite3_mprintf(tls, ts+25279, 0)
return
}
@@ -173699,7 +173761,7 @@ func rbuIncrSchemaCookie(tls *libc.TLS, p uintptr) {
var iCookie int32 = 1000000
(*Sqlite3rbu)(unsafe.Pointer(p)).Frc = prepareAndCollectError(tls, dbread, bp+8, p+64,
- ts+32736)
+ ts+32802)
if (*Sqlite3rbu)(unsafe.Pointer(p)).Frc == SQLITE_OK {
if SQLITE_ROW == Xsqlite3_step(tls, *(*uintptr)(unsafe.Pointer(bp + 8))) {
iCookie = Xsqlite3_column_int(tls, *(*uintptr)(unsafe.Pointer(bp + 8)), 0)
@@ -173707,7 +173769,7 @@ func rbuIncrSchemaCookie(tls *libc.TLS, p uintptr) {
rbuFinalize(tls, p, *(*uintptr)(unsafe.Pointer(bp + 8)))
}
if (*Sqlite3rbu)(unsafe.Pointer(p)).Frc == SQLITE_OK {
- rbuMPrintfExec(tls, p, (*Sqlite3rbu)(unsafe.Pointer(p)).FdbMain, ts+32758, libc.VaList(bp, iCookie+1))
+ rbuMPrintfExec(tls, p, (*Sqlite3rbu)(unsafe.Pointer(p)).FdbMain, ts+32824, libc.VaList(bp, iCookie+1))
}
}
}
@@ -173728,7 +173790,7 @@ func rbuSaveState(tls *libc.TLS, p uintptr, eStage int32) {
rc = prepareFreeAndCollectError(tls, (*Sqlite3rbu)(unsafe.Pointer(p)).FdbRbu, bp+168, p+64,
Xsqlite3_mprintf(tls,
- ts+32785,
+ ts+32851,
libc.VaList(bp, p+48,
RBU_STATE_STAGE, eStage,
RBU_STATE_TBL, (*Sqlite3rbu)(unsafe.Pointer(p)).Fobjiter.FzTbl,
@@ -173758,9 +173820,9 @@ func rbuCopyPragma(tls *libc.TLS, p uintptr, zPragma uintptr) {
if (*Sqlite3rbu)(unsafe.Pointer(p)).Frc == SQLITE_OK {
*(*uintptr)(unsafe.Pointer(bp + 24)) = uintptr(0)
(*Sqlite3rbu)(unsafe.Pointer(p)).Frc = prepareFreeAndCollectError(tls, (*Sqlite3rbu)(unsafe.Pointer(p)).FdbRbu, bp+24, p+64,
- Xsqlite3_mprintf(tls, ts+32943, libc.VaList(bp, zPragma)))
+ Xsqlite3_mprintf(tls, ts+33009, libc.VaList(bp, zPragma)))
if (*Sqlite3rbu)(unsafe.Pointer(p)).Frc == SQLITE_OK && SQLITE_ROW == Xsqlite3_step(tls, *(*uintptr)(unsafe.Pointer(bp + 24))) {
- (*Sqlite3rbu)(unsafe.Pointer(p)).Frc = rbuMPrintfExec(tls, p, (*Sqlite3rbu)(unsafe.Pointer(p)).FdbMain, ts+32958,
+ (*Sqlite3rbu)(unsafe.Pointer(p)).Frc = rbuMPrintfExec(tls, p, (*Sqlite3rbu)(unsafe.Pointer(p)).FdbMain, ts+33024,
libc.VaList(bp+8, zPragma, Xsqlite3_column_int(tls, *(*uintptr)(unsafe.Pointer(bp + 24)), 0)))
}
rbuFinalize(tls, p, *(*uintptr)(unsafe.Pointer(bp + 24)))
@@ -173774,10 +173836,10 @@ func rbuCreateTargetSchema(tls *libc.TLS, p uintptr) {
*(*uintptr)(unsafe.Pointer(bp)) = uintptr(0)
*(*uintptr)(unsafe.Pointer(bp + 8)) = uintptr(0)
- (*Sqlite3rbu)(unsafe.Pointer(p)).Frc = Xsqlite3_exec(tls, (*Sqlite3rbu)(unsafe.Pointer(p)).FdbMain, ts+32978, uintptr(0), uintptr(0), p+64)
+ (*Sqlite3rbu)(unsafe.Pointer(p)).Frc = Xsqlite3_exec(tls, (*Sqlite3rbu)(unsafe.Pointer(p)).FdbMain, ts+33044, uintptr(0), uintptr(0), p+64)
if (*Sqlite3rbu)(unsafe.Pointer(p)).Frc == SQLITE_OK {
(*Sqlite3rbu)(unsafe.Pointer(p)).Frc = prepareAndCollectError(tls, (*Sqlite3rbu)(unsafe.Pointer(p)).FdbRbu, bp, p+64,
- ts+33003)
+ ts+33069)
}
for (*Sqlite3rbu)(unsafe.Pointer(p)).Frc == SQLITE_OK && Xsqlite3_step(tls, *(*uintptr)(unsafe.Pointer(bp))) == SQLITE_ROW {
@@ -173791,12 +173853,12 @@ func rbuCreateTargetSchema(tls *libc.TLS, p uintptr) {
if (*Sqlite3rbu)(unsafe.Pointer(p)).Frc == SQLITE_OK {
(*Sqlite3rbu)(unsafe.Pointer(p)).Frc = prepareAndCollectError(tls, (*Sqlite3rbu)(unsafe.Pointer(p)).FdbRbu, bp, p+64,
- ts+33111)
+ ts+33177)
}
if (*Sqlite3rbu)(unsafe.Pointer(p)).Frc == SQLITE_OK {
(*Sqlite3rbu)(unsafe.Pointer(p)).Frc = prepareAndCollectError(tls, (*Sqlite3rbu)(unsafe.Pointer(p)).FdbMain, bp+8, p+64,
- ts+33176)
+ ts+33242)
}
for (*Sqlite3rbu)(unsafe.Pointer(p)).Frc == SQLITE_OK && Xsqlite3_step(tls, *(*uintptr)(unsafe.Pointer(bp))) == SQLITE_ROW {
@@ -173808,7 +173870,7 @@ func rbuCreateTargetSchema(tls *libc.TLS, p uintptr) {
(*Sqlite3rbu)(unsafe.Pointer(p)).Frc = Xsqlite3_reset(tls, *(*uintptr)(unsafe.Pointer(bp + 8)))
}
if (*Sqlite3rbu)(unsafe.Pointer(p)).Frc == SQLITE_OK {
- (*Sqlite3rbu)(unsafe.Pointer(p)).Frc = Xsqlite3_exec(tls, (*Sqlite3rbu)(unsafe.Pointer(p)).FdbMain, ts+33220, uintptr(0), uintptr(0), p+64)
+ (*Sqlite3rbu)(unsafe.Pointer(p)).Frc = Xsqlite3_exec(tls, (*Sqlite3rbu)(unsafe.Pointer(p)).FdbMain, ts+33286, uintptr(0), uintptr(0), p+64)
}
rbuFinalize(tls, p, *(*uintptr)(unsafe.Pointer(bp)))
@@ -173828,15 +173890,15 @@ func Xsqlite3rbu_step(tls *libc.TLS, p uintptr) int32 {
if (*Sqlite3rbu)(unsafe.Pointer(p)).FzTarget == uintptr(0) && (*Sqlite3rbu)(unsafe.Pointer(p)).FnProgress == 0 && (*Sqlite3rbu)(unsafe.Pointer(p)).Frc == SQLITE_OK {
rbuCreateTargetSchema(tls, p)
- rbuCopyPragma(tls, p, ts+18619)
- rbuCopyPragma(tls, p, ts+17709)
+ rbuCopyPragma(tls, p, ts+18638)
+ rbuCopyPragma(tls, p, ts+17728)
}
for (*Sqlite3rbu)(unsafe.Pointer(p)).Frc == SQLITE_OK && (*RbuObjIter)(unsafe.Pointer(pIter)).FzTbl != 0 {
if (*RbuObjIter)(unsafe.Pointer(pIter)).FbCleanup != 0 {
if libc.Bool32((*Sqlite3rbu)(unsafe.Pointer(p)).FzTarget == uintptr(0)) == 0 && (*RbuObjIter)(unsafe.Pointer(pIter)).FabIndexed != 0 {
rbuMPrintfExec(tls, p, (*Sqlite3rbu)(unsafe.Pointer(p)).FdbRbu,
- ts+33245, libc.VaList(bp, p+48, (*RbuObjIter)(unsafe.Pointer(pIter)).FzDataTbl))
+ ts+33311, libc.VaList(bp, p+48, (*RbuObjIter)(unsafe.Pointer(pIter)).FzDataTbl))
}
} else {
rbuObjIterPrepareAll(tls, p, pIter, 0)
@@ -173860,10 +173922,10 @@ func Xsqlite3rbu_step(tls *libc.TLS, p uintptr) int32 {
rbuSaveState(tls, p, RBU_STAGE_MOVE)
rbuIncrSchemaCookie(tls, p)
if (*Sqlite3rbu)(unsafe.Pointer(p)).Frc == SQLITE_OK {
- (*Sqlite3rbu)(unsafe.Pointer(p)).Frc = Xsqlite3_exec(tls, (*Sqlite3rbu)(unsafe.Pointer(p)).FdbMain, ts+15875, uintptr(0), uintptr(0), p+64)
+ (*Sqlite3rbu)(unsafe.Pointer(p)).Frc = Xsqlite3_exec(tls, (*Sqlite3rbu)(unsafe.Pointer(p)).FdbMain, ts+15894, uintptr(0), uintptr(0), p+64)
}
if (*Sqlite3rbu)(unsafe.Pointer(p)).Frc == SQLITE_OK {
- (*Sqlite3rbu)(unsafe.Pointer(p)).Frc = Xsqlite3_exec(tls, (*Sqlite3rbu)(unsafe.Pointer(p)).FdbRbu, ts+15875, uintptr(0), uintptr(0), p+64)
+ (*Sqlite3rbu)(unsafe.Pointer(p)).Frc = Xsqlite3_exec(tls, (*Sqlite3rbu)(unsafe.Pointer(p)).FdbRbu, ts+15894, uintptr(0), uintptr(0), p+64)
}
(*Sqlite3rbu)(unsafe.Pointer(p)).FeStage = RBU_STAGE_MOVE
}
@@ -173958,7 +174020,7 @@ func rbuSetupOal(tls *libc.TLS, p uintptr, pState uintptr) {
if rc == SQLITE_OK && !(int32((*RbuObjIter)(unsafe.Pointer(pIter)).FzTbl) != 0) {
rc = SQLITE_ERROR
- (*Sqlite3rbu)(unsafe.Pointer(p)).FzErrmsg = Xsqlite3_mprintf(tls, ts+33273, 0)
+ (*Sqlite3rbu)(unsafe.Pointer(p)).FzErrmsg = Xsqlite3_mprintf(tls, ts+33339, 0)
}
if rc == SQLITE_OK {
@@ -173974,10 +174036,10 @@ func rbuDeleteOalFile(tls *libc.TLS, p uintptr) {
bp := tls.Alloc(16)
defer tls.Free(16)
- var zOal uintptr = rbuMPrintf(tls, p, ts+32722, libc.VaList(bp, (*Sqlite3rbu)(unsafe.Pointer(p)).FzTarget))
+ var zOal uintptr = rbuMPrintf(tls, p, ts+32788, libc.VaList(bp, (*Sqlite3rbu)(unsafe.Pointer(p)).FzTarget))
if zOal != 0 {
*(*uintptr)(unsafe.Pointer(bp + 8)) = uintptr(0)
- Xsqlite3_file_control(tls, (*Sqlite3rbu)(unsafe.Pointer(p)).FdbMain, ts+7793, SQLITE_FCNTL_VFS_POINTER, bp+8)
+ Xsqlite3_file_control(tls, (*Sqlite3rbu)(unsafe.Pointer(p)).FdbMain, ts+7812, SQLITE_FCNTL_VFS_POINTER, bp+8)
(*struct {
f func(*libc.TLS, uintptr, uintptr, int32) int32
@@ -173991,7 +174053,7 @@ func rbuCreateVfs(tls *libc.TLS, p uintptr) {
defer tls.Free(76)
Xsqlite3_randomness(tls, int32(unsafe.Sizeof(int32(0))), bp+8)
- Xsqlite3_snprintf(tls, int32(unsafe.Sizeof([64]int8{})), bp+12, ts+33298, libc.VaList(bp, *(*int32)(unsafe.Pointer(bp + 8))))
+ Xsqlite3_snprintf(tls, int32(unsafe.Sizeof([64]int8{})), bp+12, ts+33364, libc.VaList(bp, *(*int32)(unsafe.Pointer(bp + 8))))
(*Sqlite3rbu)(unsafe.Pointer(p)).Frc = Xsqlite3rbu_create_vfs(tls, bp+12, uintptr(0))
if (*Sqlite3rbu)(unsafe.Pointer(p)).Frc == SQLITE_OK {
var pVfs uintptr = Xsqlite3_vfs_find(tls, bp+12)
@@ -174025,7 +174087,7 @@ func rbuIndexCntFunc(tls *libc.TLS, pCtx uintptr, nVal int32, apVal uintptr) {
rc = prepareFreeAndCollectError(tls, db, bp+8, bp+16,
Xsqlite3_mprintf(tls,
- ts+33309, libc.VaList(bp, Xsqlite3_value_text(tls, *(*uintptr)(unsafe.Pointer(apVal))))))
+ ts+33375, libc.VaList(bp, Xsqlite3_value_text(tls, *(*uintptr)(unsafe.Pointer(apVal))))))
if rc != SQLITE_OK {
Xsqlite3_result_error(tls, pCtx, *(*uintptr)(unsafe.Pointer(bp + 16)), -1)
} else {
@@ -174055,13 +174117,13 @@ func rbuInitPhaseOneSteps(tls *libc.TLS, p uintptr) {
(*Sqlite3rbu)(unsafe.Pointer(p)).FnPhaseOneStep = int64(-1)
(*Sqlite3rbu)(unsafe.Pointer(p)).Frc = Xsqlite3_create_function(tls, (*Sqlite3rbu)(unsafe.Pointer(p)).FdbRbu,
- ts+33381, 1, SQLITE_UTF8, p, *(*uintptr)(unsafe.Pointer(&struct {
+ ts+33447, 1, SQLITE_UTF8, p, *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, int32, uintptr)
}{rbuIndexCntFunc})), uintptr(0), uintptr(0))
if (*Sqlite3rbu)(unsafe.Pointer(p)).Frc == SQLITE_OK {
(*Sqlite3rbu)(unsafe.Pointer(p)).Frc = prepareAndCollectError(tls, (*Sqlite3rbu)(unsafe.Pointer(p)).FdbRbu, bp, p+64,
- ts+33395)
+ ts+33461)
}
if (*Sqlite3rbu)(unsafe.Pointer(p)).Frc == SQLITE_OK {
if SQLITE_ROW == Xsqlite3_step(tls, *(*uintptr)(unsafe.Pointer(bp))) {
@@ -174072,7 +174134,7 @@ func rbuInitPhaseOneSteps(tls *libc.TLS, p uintptr) {
if (*Sqlite3rbu)(unsafe.Pointer(p)).Frc == SQLITE_OK && bExists != 0 {
(*Sqlite3rbu)(unsafe.Pointer(p)).Frc = prepareAndCollectError(tls, (*Sqlite3rbu)(unsafe.Pointer(p)).FdbRbu, bp, p+64,
- ts+33452)
+ ts+33518)
if (*Sqlite3rbu)(unsafe.Pointer(p)).Frc == SQLITE_OK {
if SQLITE_ROW == Xsqlite3_step(tls, *(*uintptr)(unsafe.Pointer(bp))) {
(*Sqlite3rbu)(unsafe.Pointer(p)).FnPhaseOneStep = Xsqlite3_column_int64(tls, *(*uintptr)(unsafe.Pointer(bp)), 0)
@@ -174117,7 +174179,7 @@ func openRbuHandle(tls *libc.TLS, zTarget uintptr, zRbu uintptr, zState uintptr)
libc.Xmemcpy(tls, (*Sqlite3rbu)(unsafe.Pointer(p)).FzRbu, zRbu, nRbu+uint64(1))
pCsr += uintptr(nRbu + uint64(1))
if zState != 0 {
- (*Sqlite3rbu)(unsafe.Pointer(p)).FzState = rbuMPrintf(tls, p, ts+4493, libc.VaList(bp, zState))
+ (*Sqlite3rbu)(unsafe.Pointer(p)).FzState = rbuMPrintf(tls, p, ts+4512, libc.VaList(bp, zState))
}
rbuOpenDatabase(tls, p, uintptr(0), bp+16)
@@ -174146,7 +174208,7 @@ func openRbuHandle(tls *libc.TLS, zTarget uintptr, zRbu uintptr, zState uintptr)
if (*Sqlite3rbu)(unsafe.Pointer(p)).Frc == SQLITE_OK && (*Rbu_file)(unsafe.Pointer((*Sqlite3rbu)(unsafe.Pointer(p)).FpTargetFd)).FpWalFd != 0 {
if (*Sqlite3rbu)(unsafe.Pointer(p)).FeStage == RBU_STAGE_OAL {
(*Sqlite3rbu)(unsafe.Pointer(p)).Frc = SQLITE_ERROR
- (*Sqlite3rbu)(unsafe.Pointer(p)).FzErrmsg = Xsqlite3_mprintf(tls, ts+33526, 0)
+ (*Sqlite3rbu)(unsafe.Pointer(p)).FzErrmsg = Xsqlite3_mprintf(tls, ts+33592, 0)
} else if (*Sqlite3rbu)(unsafe.Pointer(p)).FeStage == RBU_STAGE_MOVE {
(*Sqlite3rbu)(unsafe.Pointer(p)).FeStage = RBU_STAGE_CKPT
(*Sqlite3rbu)(unsafe.Pointer(p)).FnStep = 0
@@ -174164,12 +174226,12 @@ func openRbuHandle(tls *libc.TLS, zTarget uintptr, zRbu uintptr, zState uintptr)
}()
if (*Rbu_file)(unsafe.Pointer(pFd)).FiCookie != (*RbuState)(unsafe.Pointer(pState)).FiCookie {
(*Sqlite3rbu)(unsafe.Pointer(p)).Frc = SQLITE_BUSY
- (*Sqlite3rbu)(unsafe.Pointer(p)).FzErrmsg = Xsqlite3_mprintf(tls, ts+33558,
+ (*Sqlite3rbu)(unsafe.Pointer(p)).FzErrmsg = Xsqlite3_mprintf(tls, ts+33624,
libc.VaList(bp+8, func() uintptr {
if (*Sqlite3rbu)(unsafe.Pointer(p)).FzTarget == uintptr(0) {
- return ts + 33590
+ return ts + 33656
}
- return ts + 33597
+ return ts + 33663
}()))
}
}
@@ -174177,7 +174239,7 @@ func openRbuHandle(tls *libc.TLS, zTarget uintptr, zRbu uintptr, zState uintptr)
if (*Sqlite3rbu)(unsafe.Pointer(p)).Frc == SQLITE_OK {
if (*Sqlite3rbu)(unsafe.Pointer(p)).FeStage == RBU_STAGE_OAL {
var db uintptr = (*Sqlite3rbu)(unsafe.Pointer(p)).FdbMain
- (*Sqlite3rbu)(unsafe.Pointer(p)).Frc = Xsqlite3_exec(tls, (*Sqlite3rbu)(unsafe.Pointer(p)).FdbRbu, ts+15860, uintptr(0), uintptr(0), p+64)
+ (*Sqlite3rbu)(unsafe.Pointer(p)).Frc = Xsqlite3_exec(tls, (*Sqlite3rbu)(unsafe.Pointer(p)).FdbRbu, ts+15879, uintptr(0), uintptr(0), p+64)
if (*Sqlite3rbu)(unsafe.Pointer(p)).Frc == SQLITE_OK {
(*Sqlite3rbu)(unsafe.Pointer(p)).Frc = rbuObjIterFirst(tls, p, p+80)
@@ -174188,19 +174250,19 @@ func openRbuHandle(tls *libc.TLS, zTarget uintptr, zRbu uintptr, zState uintptr)
(*Sqlite3rbu)(unsafe.Pointer(p)).FeStage = RBU_STAGE_DONE
} else {
if (*Sqlite3rbu)(unsafe.Pointer(p)).Frc == SQLITE_OK && (*RbuState)(unsafe.Pointer(pState)).FeStage == 0 && (*Sqlite3rbu)(unsafe.Pointer(p)).FzTarget == uintptr(0) {
- rbuCopyPragma(tls, p, ts+18333)
- rbuCopyPragma(tls, p, ts+17724)
+ rbuCopyPragma(tls, p, ts+18352)
+ rbuCopyPragma(tls, p, ts+17743)
}
if (*Sqlite3rbu)(unsafe.Pointer(p)).Frc == SQLITE_OK {
- (*Sqlite3rbu)(unsafe.Pointer(p)).Frc = Xsqlite3_exec(tls, db, ts+33604, uintptr(0), uintptr(0), p+64)
+ (*Sqlite3rbu)(unsafe.Pointer(p)).Frc = Xsqlite3_exec(tls, db, ts+33670, uintptr(0), uintptr(0), p+64)
}
if (*Sqlite3rbu)(unsafe.Pointer(p)).Frc == SQLITE_OK {
- var frc int32 = Xsqlite3_file_control(tls, db, ts+7793, SQLITE_FCNTL_ZIPVFS, uintptr(0))
+ var frc int32 = Xsqlite3_file_control(tls, db, ts+7812, SQLITE_FCNTL_ZIPVFS, uintptr(0))
if frc == SQLITE_OK {
(*Sqlite3rbu)(unsafe.Pointer(p)).Frc = Xsqlite3_exec(tls,
- db, ts+33620, uintptr(0), uintptr(0), p+64)
+ db, ts+33686, uintptr(0), uintptr(0), p+64)
}
}
@@ -174254,7 +174316,7 @@ func Xsqlite3rbu_vacuum(tls *libc.TLS, zTarget uintptr, zState uintptr) uintptr
}
if zState != 0 {
var n int32 = int32(libc.Xstrlen(tls, zState))
- if n >= 7 && 0 == libc.Xmemcmp(tls, ts+33644, zState+uintptr(n-7), uint64(7)) {
+ if n >= 7 && 0 == libc.Xmemcmp(tls, ts+33710, zState+uintptr(n-7), uint64(7)) {
return rbuMisuseError(tls)
}
}
@@ -174281,7 +174343,7 @@ func rbuEditErrmsg(tls *libc.TLS, p uintptr) {
var i uint32
var nErrmsg Size_t = libc.Xstrlen(tls, (*Sqlite3rbu)(unsafe.Pointer(p)).FzErrmsg)
for i = uint32(0); Size_t(i) < nErrmsg-uint64(8); i++ {
- if libc.Xmemcmp(tls, (*Sqlite3rbu)(unsafe.Pointer(p)).FzErrmsg+uintptr(i), ts+31669, uint64(8)) == 0 {
+ if libc.Xmemcmp(tls, (*Sqlite3rbu)(unsafe.Pointer(p)).FzErrmsg+uintptr(i), ts+31735, uint64(8)) == 0 {
var nDel int32 = 8
for int32(*(*int8)(unsafe.Pointer((*Sqlite3rbu)(unsafe.Pointer(p)).FzErrmsg + uintptr(i+uint32(nDel))))) >= '0' && int32(*(*int8)(unsafe.Pointer((*Sqlite3rbu)(unsafe.Pointer(p)).FzErrmsg + uintptr(i+uint32(nDel))))) <= '9' {
nDel++
@@ -174298,7 +174360,7 @@ func Xsqlite3rbu_close(tls *libc.TLS, p uintptr, pzErrmsg uintptr) int32 {
var rc int32
if p != 0 {
if (*Sqlite3rbu)(unsafe.Pointer(p)).Frc == SQLITE_OK && (*Sqlite3rbu)(unsafe.Pointer(p)).FeStage == RBU_STAGE_OAL {
- (*Sqlite3rbu)(unsafe.Pointer(p)).Frc = Xsqlite3_exec(tls, (*Sqlite3rbu)(unsafe.Pointer(p)).FdbMain, ts+15875, uintptr(0), uintptr(0), p+64)
+ (*Sqlite3rbu)(unsafe.Pointer(p)).Frc = Xsqlite3_exec(tls, (*Sqlite3rbu)(unsafe.Pointer(p)).FdbMain, ts+15894, uintptr(0), uintptr(0), p+64)
}
if (*Sqlite3rbu)(unsafe.Pointer(p)).Frc == SQLITE_OK && (*Sqlite3rbu)(unsafe.Pointer(p)).FeStage == RBU_STAGE_CKPT {
@@ -174311,13 +174373,13 @@ func Xsqlite3rbu_close(tls *libc.TLS, p uintptr, pzErrmsg uintptr) int32 {
rbuSaveState(tls, p, (*Sqlite3rbu)(unsafe.Pointer(p)).FeStage)
if (*Sqlite3rbu)(unsafe.Pointer(p)).Frc == SQLITE_OK && (*Sqlite3rbu)(unsafe.Pointer(p)).FeStage == RBU_STAGE_OAL {
- (*Sqlite3rbu)(unsafe.Pointer(p)).Frc = Xsqlite3_exec(tls, (*Sqlite3rbu)(unsafe.Pointer(p)).FdbRbu, ts+15875, uintptr(0), uintptr(0), p+64)
+ (*Sqlite3rbu)(unsafe.Pointer(p)).Frc = Xsqlite3_exec(tls, (*Sqlite3rbu)(unsafe.Pointer(p)).FdbRbu, ts+15894, uintptr(0), uintptr(0), p+64)
}
rbuObjIterFinalize(tls, p+80)
if (*Sqlite3rbu)(unsafe.Pointer(p)).FzTarget == uintptr(0) && (*Sqlite3rbu)(unsafe.Pointer(p)).Frc != SQLITE_OK && (*Sqlite3rbu)(unsafe.Pointer(p)).FdbRbu != 0 {
- var rc2 int32 = Xsqlite3_exec(tls, (*Sqlite3rbu)(unsafe.Pointer(p)).FdbRbu, ts+33652, uintptr(0), uintptr(0), uintptr(0))
+ var rc2 int32 = Xsqlite3_exec(tls, (*Sqlite3rbu)(unsafe.Pointer(p)).FdbRbu, ts+33718, uintptr(0), uintptr(0), uintptr(0))
if (*Sqlite3rbu)(unsafe.Pointer(p)).Frc == SQLITE_DONE && rc2 != SQLITE_OK {
(*Sqlite3rbu)(unsafe.Pointer(p)).Frc = rc2
}
@@ -174412,7 +174474,7 @@ func Xsqlite3rbu_savestate(tls *libc.TLS, p uintptr) int32 {
if (*Sqlite3rbu)(unsafe.Pointer(p)).FeStage == RBU_STAGE_OAL {
if rc == SQLITE_OK {
- rc = Xsqlite3_exec(tls, (*Sqlite3rbu)(unsafe.Pointer(p)).FdbMain, ts+15875, uintptr(0), uintptr(0), uintptr(0))
+ rc = Xsqlite3_exec(tls, (*Sqlite3rbu)(unsafe.Pointer(p)).FdbMain, ts+15894, uintptr(0), uintptr(0), uintptr(0))
}
}
@@ -174429,19 +174491,19 @@ func Xsqlite3rbu_savestate(tls *libc.TLS, p uintptr) int32 {
if (*Sqlite3rbu)(unsafe.Pointer(p)).FeStage == RBU_STAGE_OAL {
if rc == SQLITE_OK {
- rc = Xsqlite3_exec(tls, (*Sqlite3rbu)(unsafe.Pointer(p)).FdbRbu, ts+15875, uintptr(0), uintptr(0), uintptr(0))
+ rc = Xsqlite3_exec(tls, (*Sqlite3rbu)(unsafe.Pointer(p)).FdbRbu, ts+15894, uintptr(0), uintptr(0), uintptr(0))
}
if rc == SQLITE_OK {
var zBegin uintptr
if (*Sqlite3rbu)(unsafe.Pointer(p)).FzTarget == uintptr(0) {
- zBegin = ts + 15860
+ zBegin = ts + 15879
} else {
- zBegin = ts + 33604
+ zBegin = ts + 33670
}
rc = Xsqlite3_exec(tls, (*Sqlite3rbu)(unsafe.Pointer(p)).FdbRbu, zBegin, uintptr(0), uintptr(0), uintptr(0))
}
if rc == SQLITE_OK {
- rc = Xsqlite3_exec(tls, (*Sqlite3rbu)(unsafe.Pointer(p)).FdbMain, ts+33604, uintptr(0), uintptr(0), uintptr(0))
+ rc = Xsqlite3_exec(tls, (*Sqlite3rbu)(unsafe.Pointer(p)).FdbMain, ts+33670, uintptr(0), uintptr(0), uintptr(0))
}
}
@@ -174787,7 +174849,7 @@ func rbuVfsFileControl(tls *libc.TLS, pFile uintptr, op int32, pArg uintptr) int
})(unsafe.Pointer(&struct{ uintptr }{xControl})).f(tls, (*Rbu_file)(unsafe.Pointer(p)).FpReal, SQLITE_FCNTL_ZIPVFS, bp+16)
if rc == SQLITE_OK {
rc = SQLITE_ERROR
- (*Sqlite3rbu)(unsafe.Pointer(pRbu)).FzErrmsg = Xsqlite3_mprintf(tls, ts+33679, 0)
+ (*Sqlite3rbu)(unsafe.Pointer(pRbu)).FzErrmsg = Xsqlite3_mprintf(tls, ts+33745, 0)
} else if rc == SQLITE_NOTFOUND {
(*Sqlite3rbu)(unsafe.Pointer(pRbu)).FpTargetFd = p
(*Rbu_file)(unsafe.Pointer(p)).FpRbu = pRbu
@@ -174812,7 +174874,7 @@ func rbuVfsFileControl(tls *libc.TLS, pFile uintptr, op int32, pArg uintptr) int
if rc == SQLITE_OK && op == SQLITE_FCNTL_VFSNAME {
var pRbuVfs uintptr = (*Rbu_file)(unsafe.Pointer(p)).FpRbuVfs
var zIn uintptr = *(*uintptr)(unsafe.Pointer(pArg))
- var zOut uintptr = Xsqlite3_mprintf(tls, ts+33702, libc.VaList(bp, (*Rbu_vfs)(unsafe.Pointer(pRbuVfs)).Fbase.FzName, zIn))
+ var zOut uintptr = Xsqlite3_mprintf(tls, ts+33768, libc.VaList(bp, (*Rbu_vfs)(unsafe.Pointer(pRbuVfs)).Fbase.FzName, zIn))
*(*uintptr)(unsafe.Pointer(pArg)) = zOut
if zOut == uintptr(0) {
rc = SQLITE_NOMEM
@@ -174957,7 +175019,7 @@ func rbuVfsOpen(tls *libc.TLS, pVfs uintptr, zName uintptr, pFile uintptr, flags
if (*Rbu_file)(unsafe.Pointer(pDb)).FpRbu != 0 && (*Sqlite3rbu)(unsafe.Pointer((*Rbu_file)(unsafe.Pointer(pDb)).FpRbu)).FeStage == RBU_STAGE_OAL {
var nOpen Size_t
if (*Sqlite3rbu)(unsafe.Pointer((*Rbu_file)(unsafe.Pointer(pDb)).FpRbu)).FzTarget == uintptr(0) {
- zOpen = Xsqlite3_db_filename(tls, (*Sqlite3rbu)(unsafe.Pointer((*Rbu_file)(unsafe.Pointer(pDb)).FpRbu)).FdbRbu, ts+7793)
+ zOpen = Xsqlite3_db_filename(tls, (*Sqlite3rbu)(unsafe.Pointer((*Rbu_file)(unsafe.Pointer(pDb)).FpRbu)).FdbRbu, ts+7812)
zOpen = Xsqlite3_filename_wal(tls, zOpen)
}
nOpen = libc.Xstrlen(tls, zOpen)
@@ -174972,7 +175034,7 @@ func rbuVfsOpen(tls *libc.TLS, pVfs uintptr, zName uintptr, pFile uintptr, flags
}
if oflags&SQLITE_OPEN_MAIN_DB != 0 &&
- Xsqlite3_uri_boolean(tls, zName, ts+33713, 0) != 0 {
+ Xsqlite3_uri_boolean(tls, zName, ts+33779, 0) != 0 {
oflags = SQLITE_OPEN_TEMP_DB | SQLITE_OPEN_READWRITE | SQLITE_OPEN_CREATE | SQLITE_OPEN_EXCLUSIVE | SQLITE_OPEN_DELETEONCLOSE
zOpen = uintptr(0)
}
@@ -175217,6 +175279,970 @@ func Xsqlite3rbu_temp_size(tls *libc.TLS, pRbu uintptr) Sqlite3_int64 {
return (*Sqlite3rbu)(unsafe.Pointer(pRbu)).FszTemp
}
+var zDbstatSchema = *(*[258]int8)(unsafe.Pointer(ts + 33790))
+
+// Forward reference to data structured used in this module
+type StatTable1 = struct {
+ Fbase Sqlite3_vtab
+ Fdb uintptr
+ FiDb int32
+ F__ccgo_pad1 [4]byte
+}
+
+// Forward reference to data structured used in this module
+type StatTable = StatTable1
+type StatCursor1 = struct {
+ Fbase Sqlite3_vtab_cursor
+ FpStmt uintptr
+ FisEof U8
+ FisAgg U8
+ F__ccgo_pad1 [2]byte
+ FiDb int32
+ FaPage [32]StatPage
+ FiPage int32
+ FiPageno U32
+ FzName uintptr
+ FzPath uintptr
+ FzPagetype uintptr
+ FnPage int32
+ FnCell int32
+ FnMxPayload int32
+ F__ccgo_pad2 [4]byte
+ FnUnused I64
+ FnPayload I64
+ FiOffset I64
+ FszPage I64
+}
+
+type StatCursor = StatCursor1
+type StatPage1 = struct {
+ FiPgno U32
+ F__ccgo_pad1 [4]byte
+ FaPg uintptr
+ FiCell int32
+ F__ccgo_pad2 [4]byte
+ FzPath uintptr
+ Fflags U8
+ F__ccgo_pad3 [3]byte
+ FnCell int32
+ FnUnused int32
+ F__ccgo_pad4 [4]byte
+ FaCell uintptr
+ FiRightChildPg U32
+ FnMxPayload int32
+}
+
+type StatPage = StatPage1
+type StatCell1 = struct {
+ FnLocal int32
+ FiChildPg U32
+ FnOvfl int32
+ F__ccgo_pad1 [4]byte
+ FaOvfl uintptr
+ FnLastOvfl int32
+ FiOvfl int32
+}
+
+type StatCell = StatCell1
+
+func statConnect(tls *libc.TLS, db uintptr, pAux uintptr, argc int32, argv uintptr, ppVtab uintptr, pzErr uintptr) int32 {
+ bp := tls.Alloc(24)
+ defer tls.Free(24)
+
+ var pTab uintptr = uintptr(0)
+ var rc int32 = SQLITE_OK
+ var iDb int32
+ _ = pAux
+
+ if argc >= 4 {
+ Xsqlite3TokenInit(tls, bp+8, *(*uintptr)(unsafe.Pointer(argv + 3*8)))
+ iDb = Xsqlite3FindDb(tls, db, bp+8)
+ if iDb < 0 {
+ *(*uintptr)(unsafe.Pointer(pzErr)) = Xsqlite3_mprintf(tls, ts+13242, libc.VaList(bp, *(*uintptr)(unsafe.Pointer(argv + 3*8))))
+ return SQLITE_ERROR
+ }
+ } else {
+ iDb = 0
+ }
+ Xsqlite3_vtab_config(tls, db, SQLITE_VTAB_DIRECTONLY, 0)
+ rc = Xsqlite3_declare_vtab(tls, db, uintptr(unsafe.Pointer(&zDbstatSchema)))
+ if rc == SQLITE_OK {
+ pTab = Xsqlite3_malloc64(tls, uint64(unsafe.Sizeof(StatTable{})))
+ if pTab == uintptr(0) {
+ rc = SQLITE_NOMEM
+ }
+ }
+
+ if rc == SQLITE_OK {
+ libc.Xmemset(tls, pTab, 0, uint64(unsafe.Sizeof(StatTable{})))
+ (*StatTable)(unsafe.Pointer(pTab)).Fdb = db
+ (*StatTable)(unsafe.Pointer(pTab)).FiDb = iDb
+ }
+
+ *(*uintptr)(unsafe.Pointer(ppVtab)) = pTab
+ return rc
+}
+
+func statDisconnect(tls *libc.TLS, pVtab uintptr) int32 {
+ Xsqlite3_free(tls, pVtab)
+ return SQLITE_OK
+}
+
+func statBestIndex(tls *libc.TLS, tab uintptr, pIdxInfo uintptr) int32 {
+ var i int32
+ var iSchema int32 = -1
+ var iName int32 = -1
+ var iAgg int32 = -1
+ _ = tab
+
+ for i = 0; i < (*Sqlite3_index_info)(unsafe.Pointer(pIdxInfo)).FnConstraint; i++ {
+ if int32((*sqlite3_index_constraint)(unsafe.Pointer((*Sqlite3_index_info)(unsafe.Pointer(pIdxInfo)).FaConstraint+uintptr(i)*12)).Fop) != SQLITE_INDEX_CONSTRAINT_EQ {
+ continue
+ }
+ if int32((*sqlite3_index_constraint)(unsafe.Pointer((*Sqlite3_index_info)(unsafe.Pointer(pIdxInfo)).FaConstraint+uintptr(i)*12)).Fusable) == 0 {
+ return SQLITE_CONSTRAINT
+ }
+ switch (*sqlite3_index_constraint)(unsafe.Pointer((*Sqlite3_index_info)(unsafe.Pointer(pIdxInfo)).FaConstraint + uintptr(i)*12)).FiColumn {
+ case 0:
+ {
+ iName = i
+ break
+
+ }
+ case 10:
+ {
+ iSchema = i
+ break
+
+ }
+ case 11:
+ {
+ iAgg = i
+ break
+
+ }
+ }
+ }
+ i = 0
+ if iSchema >= 0 {
+ (*sqlite3_index_constraint_usage)(unsafe.Pointer((*Sqlite3_index_info)(unsafe.Pointer(pIdxInfo)).FaConstraintUsage + uintptr(iSchema)*8)).FargvIndex = libc.PreIncInt32(&i, 1)
+ (*sqlite3_index_constraint_usage)(unsafe.Pointer((*Sqlite3_index_info)(unsafe.Pointer(pIdxInfo)).FaConstraintUsage + uintptr(iSchema)*8)).Fomit = uint8(1)
+ *(*int32)(unsafe.Pointer(pIdxInfo + 40)) |= 0x01
+ }
+ if iName >= 0 {
+ (*sqlite3_index_constraint_usage)(unsafe.Pointer((*Sqlite3_index_info)(unsafe.Pointer(pIdxInfo)).FaConstraintUsage + uintptr(iName)*8)).FargvIndex = libc.PreIncInt32(&i, 1)
+ *(*int32)(unsafe.Pointer(pIdxInfo + 40)) |= 0x02
+ }
+ if iAgg >= 0 {
+ (*sqlite3_index_constraint_usage)(unsafe.Pointer((*Sqlite3_index_info)(unsafe.Pointer(pIdxInfo)).FaConstraintUsage + uintptr(iAgg)*8)).FargvIndex = libc.PreIncInt32(&i, 1)
+ *(*int32)(unsafe.Pointer(pIdxInfo + 40)) |= 0x04
+ }
+ (*Sqlite3_index_info)(unsafe.Pointer(pIdxInfo)).FestimatedCost = 1.0
+
+ if (*Sqlite3_index_info)(unsafe.Pointer(pIdxInfo)).FnOrderBy == 1 &&
+ (*sqlite3_index_orderby)(unsafe.Pointer((*Sqlite3_index_info)(unsafe.Pointer(pIdxInfo)).FaOrderBy)).FiColumn == 0 &&
+ int32((*sqlite3_index_orderby)(unsafe.Pointer((*Sqlite3_index_info)(unsafe.Pointer(pIdxInfo)).FaOrderBy)).Fdesc) == 0 || (*Sqlite3_index_info)(unsafe.Pointer(pIdxInfo)).FnOrderBy == 2 &&
+ (*sqlite3_index_orderby)(unsafe.Pointer((*Sqlite3_index_info)(unsafe.Pointer(pIdxInfo)).FaOrderBy)).FiColumn == 0 &&
+ int32((*sqlite3_index_orderby)(unsafe.Pointer((*Sqlite3_index_info)(unsafe.Pointer(pIdxInfo)).FaOrderBy)).Fdesc) == 0 &&
+ (*sqlite3_index_orderby)(unsafe.Pointer((*Sqlite3_index_info)(unsafe.Pointer(pIdxInfo)).FaOrderBy+1*8)).FiColumn == 1 &&
+ int32((*sqlite3_index_orderby)(unsafe.Pointer((*Sqlite3_index_info)(unsafe.Pointer(pIdxInfo)).FaOrderBy+1*8)).Fdesc) == 0 {
+ (*Sqlite3_index_info)(unsafe.Pointer(pIdxInfo)).ForderByConsumed = 1
+ *(*int32)(unsafe.Pointer(pIdxInfo + 40)) |= 0x08
+ }
+
+ return SQLITE_OK
+}
+
+func statOpen(tls *libc.TLS, pVTab uintptr, ppCursor uintptr) int32 {
+ var pTab uintptr = pVTab
+ var pCsr uintptr
+
+ pCsr = Xsqlite3_malloc64(tls, uint64(unsafe.Sizeof(StatCursor{})))
+ if pCsr == uintptr(0) {
+ return SQLITE_NOMEM
+ } else {
+ libc.Xmemset(tls, pCsr, 0, uint64(unsafe.Sizeof(StatCursor{})))
+ (*StatCursor)(unsafe.Pointer(pCsr)).Fbase.FpVtab = pVTab
+ (*StatCursor)(unsafe.Pointer(pCsr)).FiDb = (*StatTable)(unsafe.Pointer(pTab)).FiDb
+ }
+
+ *(*uintptr)(unsafe.Pointer(ppCursor)) = pCsr
+ return SQLITE_OK
+}
+
+func statClearCells(tls *libc.TLS, p uintptr) {
+ var i int32
+ if (*StatPage)(unsafe.Pointer(p)).FaCell != 0 {
+ for i = 0; i < (*StatPage)(unsafe.Pointer(p)).FnCell; i++ {
+ Xsqlite3_free(tls, (*StatCell)(unsafe.Pointer((*StatPage)(unsafe.Pointer(p)).FaCell+uintptr(i)*32)).FaOvfl)
+ }
+ Xsqlite3_free(tls, (*StatPage)(unsafe.Pointer(p)).FaCell)
+ }
+ (*StatPage)(unsafe.Pointer(p)).FnCell = 0
+ (*StatPage)(unsafe.Pointer(p)).FaCell = uintptr(0)
+}
+
+func statClearPage(tls *libc.TLS, p uintptr) {
+ var aPg uintptr = (*StatPage)(unsafe.Pointer(p)).FaPg
+ statClearCells(tls, p)
+ Xsqlite3_free(tls, (*StatPage)(unsafe.Pointer(p)).FzPath)
+ libc.Xmemset(tls, p, 0, uint64(unsafe.Sizeof(StatPage{})))
+ (*StatPage)(unsafe.Pointer(p)).FaPg = aPg
+}
+
+func statResetCsr(tls *libc.TLS, pCsr uintptr) {
+ var i int32
+
+ for i = 0; i < int32(uint64(unsafe.Sizeof([32]StatPage{}))/uint64(unsafe.Sizeof(StatPage{}))); i++ {
+ statClearPage(tls, pCsr+24+uintptr(i)*64)
+ Xsqlite3_free(tls, (*StatPage)(unsafe.Pointer(pCsr+24+uintptr(i)*64)).FaPg)
+ (*StatPage)(unsafe.Pointer(pCsr + 24 + uintptr(i)*64)).FaPg = uintptr(0)
+ }
+ Xsqlite3_reset(tls, (*StatCursor)(unsafe.Pointer(pCsr)).FpStmt)
+ (*StatCursor)(unsafe.Pointer(pCsr)).FiPage = 0
+ Xsqlite3_free(tls, (*StatCursor)(unsafe.Pointer(pCsr)).FzPath)
+ (*StatCursor)(unsafe.Pointer(pCsr)).FzPath = uintptr(0)
+ (*StatCursor)(unsafe.Pointer(pCsr)).FisEof = U8(0)
+}
+
+func statResetCounts(tls *libc.TLS, pCsr uintptr) {
+ (*StatCursor)(unsafe.Pointer(pCsr)).FnCell = 0
+ (*StatCursor)(unsafe.Pointer(pCsr)).FnMxPayload = 0
+ (*StatCursor)(unsafe.Pointer(pCsr)).FnUnused = int64(0)
+ (*StatCursor)(unsafe.Pointer(pCsr)).FnPayload = int64(0)
+ (*StatCursor)(unsafe.Pointer(pCsr)).FszPage = int64(0)
+ (*StatCursor)(unsafe.Pointer(pCsr)).FnPage = 0
+}
+
+func statClose(tls *libc.TLS, pCursor uintptr) int32 {
+ var pCsr uintptr = pCursor
+ statResetCsr(tls, pCsr)
+ Xsqlite3_finalize(tls, (*StatCursor)(unsafe.Pointer(pCsr)).FpStmt)
+ Xsqlite3_free(tls, pCsr)
+ return SQLITE_OK
+}
+
+func getLocalPayload(tls *libc.TLS, nUsable int32, flags U8, nTotal int32) int32 {
+ var nLocal int32
+ var nMinLocal int32
+ var nMaxLocal int32
+
+ if int32(flags) == 0x0D {
+ nMinLocal = (nUsable-12)*32/255 - 23
+ nMaxLocal = nUsable - 35
+ } else {
+ nMinLocal = (nUsable-12)*32/255 - 23
+ nMaxLocal = (nUsable-12)*64/255 - 23
+ }
+
+ nLocal = nMinLocal + (nTotal-nMinLocal)%(nUsable-4)
+ if nLocal > nMaxLocal {
+ nLocal = nMinLocal
+ }
+ return nLocal
+}
+
+func statDecodePage(tls *libc.TLS, pBt uintptr, p uintptr) int32 {
+ bp := tls.Alloc(24)
+ defer tls.Free(24)
+
+ var nUnused int32
+ var iOff int32
+ var nHdr int32
+ var isLeaf int32
+ var szPage int32
+ var aData uintptr
+ var aHdr uintptr
+ var iNext int32
+
+ var rc int32
+ var iPrev U32
+
+ var j int32
+ var nOvfl int32
+
+ var nLocal int32
+ var pCell uintptr
+ var i int32
+ var nUsable int32
+ aData = (*StatPage)(unsafe.Pointer(p)).FaPg
+ aHdr = aData + uintptr(func() int32 {
+ if (*StatPage)(unsafe.Pointer(p)).FiPgno == U32(1) {
+ return 100
+ }
+ return 0
+ }())
+
+ (*StatPage)(unsafe.Pointer(p)).Fflags = *(*U8)(unsafe.Pointer(aHdr))
+ if !(int32((*StatPage)(unsafe.Pointer(p)).Fflags) == 0x0A || int32((*StatPage)(unsafe.Pointer(p)).Fflags) == 0x0D) {
+ goto __1
+ }
+ isLeaf = 1
+ nHdr = 8
+ goto __2
+__1:
+ if !(int32((*StatPage)(unsafe.Pointer(p)).Fflags) == 0x05 || int32((*StatPage)(unsafe.Pointer(p)).Fflags) == 0x02) {
+ goto __3
+ }
+ isLeaf = 0
+ nHdr = 12
+ goto __4
+__3:
+ goto statPageIsCorrupt
+__4:
+ ;
+__2:
+ ;
+ if !((*StatPage)(unsafe.Pointer(p)).FiPgno == U32(1)) {
+ goto __5
+ }
+ nHdr = nHdr + 100
+__5:
+ ;
+ (*StatPage)(unsafe.Pointer(p)).FnCell = int32(*(*U8)(unsafe.Pointer(aHdr + 3)))<<8 | int32(*(*U8)(unsafe.Pointer(aHdr + 3 + 1)))
+ (*StatPage)(unsafe.Pointer(p)).FnMxPayload = 0
+ szPage = Xsqlite3BtreeGetPageSize(tls, pBt)
+
+ nUnused = int32(*(*U8)(unsafe.Pointer(aHdr + 5)))<<8 | int32(*(*U8)(unsafe.Pointer(aHdr + 5 + 1))) - nHdr - 2*(*StatPage)(unsafe.Pointer(p)).FnCell
+ nUnused = nUnused + int32(*(*U8)(unsafe.Pointer(aHdr + 7)))
+ iOff = int32(*(*U8)(unsafe.Pointer(aHdr + 1)))<<8 | int32(*(*U8)(unsafe.Pointer(aHdr + 1 + 1)))
+__6:
+ if !(iOff != 0) {
+ goto __7
+ }
+ if !(iOff >= szPage) {
+ goto __8
+ }
+ goto statPageIsCorrupt
+__8:
+ ;
+ nUnused = nUnused + (int32(*(*U8)(unsafe.Pointer(aData + uintptr(iOff+2))))<<8 | int32(*(*U8)(unsafe.Pointer(aData + uintptr(iOff+2) + 1))))
+ iNext = int32(*(*U8)(unsafe.Pointer(aData + uintptr(iOff))))<<8 | int32(*(*U8)(unsafe.Pointer(aData + uintptr(iOff) + 1)))
+ if !(iNext < iOff+4 && iNext > 0) {
+ goto __9
+ }
+ goto statPageIsCorrupt
+__9:
+ ;
+ iOff = iNext
+ goto __6
+__7:
+ ;
+ (*StatPage)(unsafe.Pointer(p)).FnUnused = nUnused
+ (*StatPage)(unsafe.Pointer(p)).FiRightChildPg = func() uint32 {
+ if isLeaf != 0 {
+ return uint32(0)
+ }
+ return Xsqlite3Get4byte(tls, aHdr+8)
+ }()
+
+ if !((*StatPage)(unsafe.Pointer(p)).FnCell != 0) {
+ goto __10
+ }
+
+ Xsqlite3BtreeEnter(tls, pBt)
+ nUsable = szPage - Xsqlite3BtreeGetReserveNoMutex(tls, pBt)
+ Xsqlite3BtreeLeave(tls, pBt)
+ (*StatPage)(unsafe.Pointer(p)).FaCell = Xsqlite3_malloc64(tls, uint64((*StatPage)(unsafe.Pointer(p)).FnCell+1)*uint64(unsafe.Sizeof(StatCell{})))
+ if !((*StatPage)(unsafe.Pointer(p)).FaCell == uintptr(0)) {
+ goto __11
+ }
+ return SQLITE_NOMEM
+__11:
+ ;
+ libc.Xmemset(tls, (*StatPage)(unsafe.Pointer(p)).FaCell, 0, uint64((*StatPage)(unsafe.Pointer(p)).FnCell+1)*uint64(unsafe.Sizeof(StatCell{})))
+
+ i = 0
+__12:
+ if !(i < (*StatPage)(unsafe.Pointer(p)).FnCell) {
+ goto __14
+ }
+ pCell = (*StatPage)(unsafe.Pointer(p)).FaCell + uintptr(i)*32
+
+ iOff = int32(*(*U8)(unsafe.Pointer(aData + uintptr(nHdr+i*2))))<<8 | int32(*(*U8)(unsafe.Pointer(aData + uintptr(nHdr+i*2) + 1)))
+ if !(iOff < nHdr || iOff >= szPage) {
+ goto __15
+ }
+ goto statPageIsCorrupt
+__15:
+ ;
+ if !!(isLeaf != 0) {
+ goto __16
+ }
+ (*StatCell)(unsafe.Pointer(pCell)).FiChildPg = Xsqlite3Get4byte(tls, aData+uintptr(iOff))
+ iOff = iOff + 4
+__16:
+ ;
+ if !(int32((*StatPage)(unsafe.Pointer(p)).Fflags) == 0x05) {
+ goto __17
+ }
+
+ goto __18
+__17:
+ iOff = iOff + int32(func() uint8 {
+ if int32(*(*U8)(unsafe.Pointer(aData + uintptr(iOff)))) < int32(U8(0x80)) {
+ return uint8(func() int32 {
+ *(*U32)(unsafe.Pointer(bp)) = U32(*(*U8)(unsafe.Pointer(aData + uintptr(iOff))))
+ return 1
+ }())
+ }
+ return Xsqlite3GetVarint32(tls, aData+uintptr(iOff), bp)
+ }())
+ if !(int32((*StatPage)(unsafe.Pointer(p)).Fflags) == 0x0D) {
+ goto __19
+ }
+ iOff = iOff + int32(Xsqlite3GetVarint(tls, aData+uintptr(iOff), bp+8))
+__19:
+ ;
+ if !(*(*U32)(unsafe.Pointer(bp)) > U32((*StatPage)(unsafe.Pointer(p)).FnMxPayload)) {
+ goto __20
+ }
+ (*StatPage)(unsafe.Pointer(p)).FnMxPayload = int32(*(*U32)(unsafe.Pointer(bp)))
+__20:
+ ;
+ nLocal = getLocalPayload(tls, nUsable, (*StatPage)(unsafe.Pointer(p)).Fflags, int32(*(*U32)(unsafe.Pointer(bp))))
+ if !(nLocal < 0) {
+ goto __21
+ }
+ goto statPageIsCorrupt
+__21:
+ ;
+ (*StatCell)(unsafe.Pointer(pCell)).FnLocal = nLocal
+
+ if !(*(*U32)(unsafe.Pointer(bp)) > U32(nLocal)) {
+ goto __22
+ }
+ nOvfl = int32((*(*U32)(unsafe.Pointer(bp)) - U32(nLocal) + U32(nUsable) - U32(4) - U32(1)) / U32(nUsable-4))
+ if !(iOff+nLocal+4 > nUsable || *(*U32)(unsafe.Pointer(bp)) > U32(0x7fffffff)) {
+ goto __23
+ }
+ goto statPageIsCorrupt
+__23:
+ ;
+ (*StatCell)(unsafe.Pointer(pCell)).FnLastOvfl = int32(*(*U32)(unsafe.Pointer(bp)) - U32(nLocal) - U32((nOvfl-1)*(nUsable-4)))
+ (*StatCell)(unsafe.Pointer(pCell)).FnOvfl = nOvfl
+ (*StatCell)(unsafe.Pointer(pCell)).FaOvfl = Xsqlite3_malloc64(tls, uint64(unsafe.Sizeof(U32(0)))*uint64(nOvfl))
+ if !((*StatCell)(unsafe.Pointer(pCell)).FaOvfl == uintptr(0)) {
+ goto __24
+ }
+ return SQLITE_NOMEM
+__24:
+ ;
+ *(*U32)(unsafe.Pointer((*StatCell)(unsafe.Pointer(pCell)).FaOvfl)) = Xsqlite3Get4byte(tls, aData+uintptr(iOff+nLocal))
+ j = 1
+__25:
+ if !(j < nOvfl) {
+ goto __27
+ }
+ iPrev = *(*U32)(unsafe.Pointer((*StatCell)(unsafe.Pointer(pCell)).FaOvfl + uintptr(j-1)*4))
+ *(*uintptr)(unsafe.Pointer(bp + 16)) = uintptr(0)
+ rc = Xsqlite3PagerGet(tls, Xsqlite3BtreePager(tls, pBt), iPrev, bp+16, 0)
+ if !(rc != SQLITE_OK) {
+ goto __28
+ }
+
+ return rc
+__28:
+ ;
+ *(*U32)(unsafe.Pointer((*StatCell)(unsafe.Pointer(pCell)).FaOvfl + uintptr(j)*4)) = Xsqlite3Get4byte(tls, Xsqlite3PagerGetData(tls, *(*uintptr)(unsafe.Pointer(bp + 16))))
+ Xsqlite3PagerUnref(tls, *(*uintptr)(unsafe.Pointer(bp + 16)))
+ goto __26
+__26:
+ j++
+ goto __25
+ goto __27
+__27:
+ ;
+__22:
+ ;
+__18:
+ ;
+ goto __13
+__13:
+ i++
+ goto __12
+ goto __14
+__14:
+ ;
+__10:
+ ;
+ return SQLITE_OK
+
+statPageIsCorrupt:
+ (*StatPage)(unsafe.Pointer(p)).Fflags = U8(0)
+ statClearCells(tls, p)
+ return SQLITE_OK
+}
+
+func statSizeAndOffset(tls *libc.TLS, pCsr uintptr) {
+ bp := tls.Alloc(16)
+ defer tls.Free(16)
+
+ var pTab uintptr = (*Sqlite3_vtab_cursor)(unsafe.Pointer(pCsr)).FpVtab
+ var pBt uintptr = (*Db)(unsafe.Pointer((*Sqlite3)(unsafe.Pointer((*StatTable)(unsafe.Pointer(pTab)).Fdb)).FaDb + uintptr((*StatTable)(unsafe.Pointer(pTab)).FiDb)*32)).FpBt
+ var pPager uintptr = Xsqlite3BtreePager(tls, pBt)
+ var fd uintptr
+
+ fd = Xsqlite3PagerFile(tls, pPager)
+ *(*Sqlite3_int64)(unsafe.Pointer(bp)) = Sqlite3_int64((*StatCursor)(unsafe.Pointer(pCsr)).FiPageno)
+ if Xsqlite3OsFileControl(tls, fd, 230440, bp) == SQLITE_OK {
+ (*StatCursor)(unsafe.Pointer(pCsr)).FiOffset = *(*Sqlite3_int64)(unsafe.Pointer(bp))
+ *(*I64)(unsafe.Pointer(pCsr + 2144)) += *(*Sqlite3_int64)(unsafe.Pointer(bp + 1*8))
+ } else {
+ *(*I64)(unsafe.Pointer(pCsr + 2144)) += I64(Xsqlite3BtreeGetPageSize(tls, pBt))
+ (*StatCursor)(unsafe.Pointer(pCsr)).FiOffset = (*StatCursor)(unsafe.Pointer(pCsr)).FszPage * I64((*StatCursor)(unsafe.Pointer(pCsr)).FiPageno-U32(1))
+ }
+}
+
+func statGetPage(tls *libc.TLS, pBt uintptr, iPg U32, pPg uintptr) int32 {
+ bp := tls.Alloc(8)
+ defer tls.Free(8)
+
+ var pgsz int32 = Xsqlite3BtreeGetPageSize(tls, pBt)
+ *(*uintptr)(unsafe.Pointer(bp)) = uintptr(0)
+ var rc int32
+
+ if (*StatPage)(unsafe.Pointer(pPg)).FaPg == uintptr(0) {
+ (*StatPage)(unsafe.Pointer(pPg)).FaPg = Xsqlite3_malloc(tls, pgsz+DBSTAT_PAGE_PADDING_BYTES)
+ if (*StatPage)(unsafe.Pointer(pPg)).FaPg == uintptr(0) {
+ return SQLITE_NOMEM
+ }
+ libc.Xmemset(tls, (*StatPage)(unsafe.Pointer(pPg)).FaPg+uintptr(pgsz), 0, uint64(DBSTAT_PAGE_PADDING_BYTES))
+ }
+
+ rc = Xsqlite3PagerGet(tls, Xsqlite3BtreePager(tls, pBt), iPg, bp, 0)
+ if rc == SQLITE_OK {
+ var a uintptr = Xsqlite3PagerGetData(tls, *(*uintptr)(unsafe.Pointer(bp)))
+ libc.Xmemcpy(tls, (*StatPage)(unsafe.Pointer(pPg)).FaPg, a, uint64(pgsz))
+ Xsqlite3PagerUnref(tls, *(*uintptr)(unsafe.Pointer(bp)))
+ }
+
+ return rc
+}
+
+func statNext(tls *libc.TLS, pCursor uintptr) int32 {
+ bp := tls.Alloc(52)
+ defer tls.Free(52)
+
+ var rc int32
+ var nPayload int32
+ var z uintptr
+ var pCsr uintptr
+ var pTab uintptr
+ var pBt uintptr
+ var pPager uintptr
+
+ var iRoot U32
+ var nUsable int32
+ var iOvfl int32
+ var pCell uintptr
+
+ var p uintptr
+ var i int32
+ var p1 uintptr
+ pCsr = pCursor
+ pTab = (*Sqlite3_vtab_cursor)(unsafe.Pointer(pCursor)).FpVtab
+ pBt = (*Db)(unsafe.Pointer((*Sqlite3)(unsafe.Pointer((*StatTable)(unsafe.Pointer(pTab)).Fdb)).FaDb + uintptr((*StatCursor)(unsafe.Pointer(pCsr)).FiDb)*32)).FpBt
+ pPager = Xsqlite3BtreePager(tls, pBt)
+
+ Xsqlite3_free(tls, (*StatCursor)(unsafe.Pointer(pCsr)).FzPath)
+ (*StatCursor)(unsafe.Pointer(pCsr)).FzPath = uintptr(0)
+
+statNextRestart:
+ if !((*StatCursor)(unsafe.Pointer(pCsr)).FiPage < 0) {
+ goto __1
+ }
+
+ statResetCounts(tls, pCsr)
+ rc = Xsqlite3_step(tls, (*StatCursor)(unsafe.Pointer(pCsr)).FpStmt)
+ if !(rc == SQLITE_ROW) {
+ goto __3
+ }
+ iRoot = U32(Xsqlite3_column_int64(tls, (*StatCursor)(unsafe.Pointer(pCsr)).FpStmt, 1))
+ Xsqlite3PagerPagecount(tls, pPager, bp+48)
+ if !(*(*int32)(unsafe.Pointer(bp + 48)) == 0) {
+ goto __5
+ }
+ (*StatCursor)(unsafe.Pointer(pCsr)).FisEof = U8(1)
+ return Xsqlite3_reset(tls, (*StatCursor)(unsafe.Pointer(pCsr)).FpStmt)
+__5:
+ ;
+ rc = statGetPage(tls, pBt, iRoot, pCsr+24)
+ (*StatPage)(unsafe.Pointer(pCsr + 24)).FiPgno = iRoot
+ (*StatPage)(unsafe.Pointer(pCsr + 24)).FiCell = 0
+ if !!(int32((*StatCursor)(unsafe.Pointer(pCsr)).FisAgg) != 0) {
+ goto __6
+ }
+ (*StatPage)(unsafe.Pointer(pCsr + 24)).FzPath = libc.AssignUintptr(&z, Xsqlite3_mprintf(tls, ts+34048, 0))
+ if !(z == uintptr(0)) {
+ goto __7
+ }
+ rc = SQLITE_NOMEM
+__7:
+ ;
+__6:
+ ;
+ (*StatCursor)(unsafe.Pointer(pCsr)).FiPage = 0
+ (*StatCursor)(unsafe.Pointer(pCsr)).FnPage = 1
+ goto __4
+__3:
+ (*StatCursor)(unsafe.Pointer(pCsr)).FisEof = U8(1)
+ return Xsqlite3_reset(tls, (*StatCursor)(unsafe.Pointer(pCsr)).FpStmt)
+__4:
+ ;
+ goto __2
+__1:
+ p = pCsr + 24 + uintptr((*StatCursor)(unsafe.Pointer(pCsr)).FiPage)*64
+ if !!(int32((*StatCursor)(unsafe.Pointer(pCsr)).FisAgg) != 0) {
+ goto __8
+ }
+ statResetCounts(tls, pCsr)
+__8:
+ ;
+__9:
+ if !((*StatPage)(unsafe.Pointer(p)).FiCell < (*StatPage)(unsafe.Pointer(p)).FnCell) {
+ goto __10
+ }
+ pCell = (*StatPage)(unsafe.Pointer(p)).FaCell + uintptr((*StatPage)(unsafe.Pointer(p)).FiCell)*32
+__11:
+ if !((*StatCell)(unsafe.Pointer(pCell)).FiOvfl < (*StatCell)(unsafe.Pointer(pCell)).FnOvfl) {
+ goto __12
+ }
+ Xsqlite3BtreeEnter(tls, pBt)
+ nUsable = Xsqlite3BtreeGetPageSize(tls, pBt) - Xsqlite3BtreeGetReserveNoMutex(tls, pBt)
+ Xsqlite3BtreeLeave(tls, pBt)
+ (*StatCursor)(unsafe.Pointer(pCsr)).FnPage++
+ statSizeAndOffset(tls, pCsr)
+ if !((*StatCell)(unsafe.Pointer(pCell)).FiOvfl < (*StatCell)(unsafe.Pointer(pCell)).FnOvfl-1) {
+ goto __13
+ }
+ *(*I64)(unsafe.Pointer(pCsr + 2128)) += I64(nUsable - 4)
+ goto __14
+__13:
+ *(*I64)(unsafe.Pointer(pCsr + 2128)) += I64((*StatCell)(unsafe.Pointer(pCell)).FnLastOvfl)
+ *(*I64)(unsafe.Pointer(pCsr + 2120)) += I64(nUsable - 4 - (*StatCell)(unsafe.Pointer(pCell)).FnLastOvfl)
+__14:
+ ;
+ iOvfl = (*StatCell)(unsafe.Pointer(pCell)).FiOvfl
+ (*StatCell)(unsafe.Pointer(pCell)).FiOvfl++
+ if !!(int32((*StatCursor)(unsafe.Pointer(pCsr)).FisAgg) != 0) {
+ goto __15
+ }
+ (*StatCursor)(unsafe.Pointer(pCsr)).FzName = Xsqlite3_column_text(tls, (*StatCursor)(unsafe.Pointer(pCsr)).FpStmt, 0)
+ (*StatCursor)(unsafe.Pointer(pCsr)).FiPageno = *(*U32)(unsafe.Pointer((*StatCell)(unsafe.Pointer(pCell)).FaOvfl + uintptr(iOvfl)*4))
+ (*StatCursor)(unsafe.Pointer(pCsr)).FzPagetype = ts + 34050
+ (*StatCursor)(unsafe.Pointer(pCsr)).FzPath = libc.AssignUintptr(&z, Xsqlite3_mprintf(tls,
+ ts+34059, libc.VaList(bp, (*StatPage)(unsafe.Pointer(p)).FzPath, (*StatPage)(unsafe.Pointer(p)).FiCell, iOvfl)))
+ if z == uintptr(0) {
+ return SQLITE_NOMEM
+ }
+ return SQLITE_OK
+__15:
+ ;
+ goto __11
+__12:
+ ;
+ if !((*StatPage)(unsafe.Pointer(p)).FiRightChildPg != 0) {
+ goto __16
+ }
+ goto __10
+__16:
+ ;
+ (*StatPage)(unsafe.Pointer(p)).FiCell++
+ goto __9
+__10:
+ ;
+ if !(!(int32((*StatPage)(unsafe.Pointer(p)).FiRightChildPg) != 0) || (*StatPage)(unsafe.Pointer(p)).FiCell > (*StatPage)(unsafe.Pointer(p)).FnCell) {
+ goto __17
+ }
+ statClearPage(tls, p)
+ (*StatCursor)(unsafe.Pointer(pCsr)).FiPage--
+ if !((*StatCursor)(unsafe.Pointer(pCsr)).FisAgg != 0 && (*StatCursor)(unsafe.Pointer(pCsr)).FiPage < 0) {
+ goto __18
+ }
+
+ return SQLITE_OK
+__18:
+ ;
+ goto statNextRestart
+__17:
+ ;
+ (*StatCursor)(unsafe.Pointer(pCsr)).FiPage++
+ if !((*StatCursor)(unsafe.Pointer(pCsr)).FiPage >= int32(uint64(unsafe.Sizeof([32]StatPage{}))/uint64(unsafe.Sizeof(StatPage{})))) {
+ goto __19
+ }
+ statResetCsr(tls, pCsr)
+ return Xsqlite3CorruptError(tls, 215455)
+__19:
+ ;
+ if !((*StatPage)(unsafe.Pointer(p)).FiCell == (*StatPage)(unsafe.Pointer(p)).FnCell) {
+ goto __20
+ }
+ (*StatPage)(unsafe.Pointer(p + 1*64)).FiPgno = (*StatPage)(unsafe.Pointer(p)).FiRightChildPg
+ goto __21
+__20:
+ (*StatPage)(unsafe.Pointer(p + 1*64)).FiPgno = (*StatCell)(unsafe.Pointer((*StatPage)(unsafe.Pointer(p)).FaCell + uintptr((*StatPage)(unsafe.Pointer(p)).FiCell)*32)).FiChildPg
+__21:
+ ;
+ rc = statGetPage(tls, pBt, (*StatPage)(unsafe.Pointer(p+1*64)).FiPgno, p+1*64)
+ (*StatCursor)(unsafe.Pointer(pCsr)).FnPage++
+ (*StatPage)(unsafe.Pointer(p + 1*64)).FiCell = 0
+ if !!(int32((*StatCursor)(unsafe.Pointer(pCsr)).FisAgg) != 0) {
+ goto __22
+ }
+ (*StatPage)(unsafe.Pointer(p + 1*64)).FzPath = libc.AssignUintptr(&z, Xsqlite3_mprintf(tls, ts+34071, libc.VaList(bp+24, (*StatPage)(unsafe.Pointer(p)).FzPath, (*StatPage)(unsafe.Pointer(p)).FiCell)))
+ if !(z == uintptr(0)) {
+ goto __23
+ }
+ rc = SQLITE_NOMEM
+__23:
+ ;
+__22:
+ ;
+ (*StatPage)(unsafe.Pointer(p)).FiCell++
+__2:
+ ;
+ if !(rc == SQLITE_OK) {
+ goto __24
+ }
+ p1 = pCsr + 24 + uintptr((*StatCursor)(unsafe.Pointer(pCsr)).FiPage)*64
+ (*StatCursor)(unsafe.Pointer(pCsr)).FzName = Xsqlite3_column_text(tls, (*StatCursor)(unsafe.Pointer(pCsr)).FpStmt, 0)
+ (*StatCursor)(unsafe.Pointer(pCsr)).FiPageno = (*StatPage)(unsafe.Pointer(p1)).FiPgno
+
+ rc = statDecodePage(tls, pBt, p1)
+ if !(rc == SQLITE_OK) {
+ goto __25
+ }
+ statSizeAndOffset(tls, pCsr)
+
+ switch int32((*StatPage)(unsafe.Pointer(p1)).Fflags) {
+ case 0x05:
+ goto __27
+ case 0x02:
+ goto __28
+ case 0x0D:
+ goto __29
+ case 0x0A:
+ goto __30
+ default:
+ goto __31
+ }
+ goto __26
+__27:
+__28:
+ (*StatCursor)(unsafe.Pointer(pCsr)).FzPagetype = ts + 34079
+ goto __26
+__29:
+__30:
+ (*StatCursor)(unsafe.Pointer(pCsr)).FzPagetype = ts + 34088
+ goto __26
+__31:
+ (*StatCursor)(unsafe.Pointer(pCsr)).FzPagetype = ts + 34093
+ goto __26
+__26:
+ ;
+ *(*int32)(unsafe.Pointer(pCsr + 2108)) += (*StatPage)(unsafe.Pointer(p1)).FnCell
+ *(*I64)(unsafe.Pointer(pCsr + 2120)) += I64((*StatPage)(unsafe.Pointer(p1)).FnUnused)
+ if !((*StatPage)(unsafe.Pointer(p1)).FnMxPayload > (*StatCursor)(unsafe.Pointer(pCsr)).FnMxPayload) {
+ goto __32
+ }
+ (*StatCursor)(unsafe.Pointer(pCsr)).FnMxPayload = (*StatPage)(unsafe.Pointer(p1)).FnMxPayload
+__32:
+ ;
+ if !!(int32((*StatCursor)(unsafe.Pointer(pCsr)).FisAgg) != 0) {
+ goto __33
+ }
+ (*StatCursor)(unsafe.Pointer(pCsr)).FzPath = libc.AssignUintptr(&z, Xsqlite3_mprintf(tls, ts+4512, libc.VaList(bp+40, (*StatPage)(unsafe.Pointer(p1)).FzPath)))
+ if !(z == uintptr(0)) {
+ goto __34
+ }
+ rc = SQLITE_NOMEM
+__34:
+ ;
+__33:
+ ;
+ nPayload = 0
+ i = 0
+__35:
+ if !(i < (*StatPage)(unsafe.Pointer(p1)).FnCell) {
+ goto __37
+ }
+ nPayload = nPayload + (*StatCell)(unsafe.Pointer((*StatPage)(unsafe.Pointer(p1)).FaCell+uintptr(i)*32)).FnLocal
+ goto __36
+__36:
+ i++
+ goto __35
+ goto __37
+__37:
+ ;
+ *(*I64)(unsafe.Pointer(pCsr + 2128)) += I64(nPayload)
+
+ if !((*StatCursor)(unsafe.Pointer(pCsr)).FisAgg != 0) {
+ goto __38
+ }
+ goto statNextRestart
+__38:
+ ;
+__25:
+ ;
+__24:
+ ;
+ return rc
+}
+
+func statEof(tls *libc.TLS, pCursor uintptr) int32 {
+ var pCsr uintptr = pCursor
+ return int32((*StatCursor)(unsafe.Pointer(pCsr)).FisEof)
+}
+
+func statFilter(tls *libc.TLS, pCursor uintptr, idxNum int32, idxStr uintptr, argc int32, argv uintptr) int32 {
+ bp := tls.Alloc(16)
+ defer tls.Free(16)
+
+ var pCsr uintptr = pCursor
+ var pTab uintptr = (*Sqlite3_vtab_cursor)(unsafe.Pointer(pCursor)).FpVtab
+ var pSql uintptr
+ var zSql uintptr
+ var iArg int32 = 0
+ var rc int32 = SQLITE_OK
+ var zName uintptr = uintptr(0)
+ _ = argc
+ _ = idxStr
+
+ statResetCsr(tls, pCsr)
+ Xsqlite3_finalize(tls, (*StatCursor)(unsafe.Pointer(pCsr)).FpStmt)
+ (*StatCursor)(unsafe.Pointer(pCsr)).FpStmt = uintptr(0)
+ if idxNum&0x01 != 0 {
+ var zDbase uintptr = Xsqlite3_value_text(tls, *(*uintptr)(unsafe.Pointer(argv + uintptr(libc.PostIncInt32(&iArg, 1))*8)))
+ (*StatCursor)(unsafe.Pointer(pCsr)).FiDb = Xsqlite3FindDbName(tls, (*StatTable)(unsafe.Pointer(pTab)).Fdb, zDbase)
+ if (*StatCursor)(unsafe.Pointer(pCsr)).FiDb < 0 {
+ (*StatCursor)(unsafe.Pointer(pCsr)).FiDb = 0
+ (*StatCursor)(unsafe.Pointer(pCsr)).FisEof = U8(1)
+ return SQLITE_OK
+ }
+ } else {
+ (*StatCursor)(unsafe.Pointer(pCsr)).FiDb = (*StatTable)(unsafe.Pointer(pTab)).FiDb
+ }
+ if idxNum&0x02 != 0 {
+ zName = Xsqlite3_value_text(tls, *(*uintptr)(unsafe.Pointer(argv + uintptr(libc.PostIncInt32(&iArg, 1))*8)))
+ }
+ if idxNum&0x04 != 0 {
+ (*StatCursor)(unsafe.Pointer(pCsr)).FisAgg = U8(libc.Bool32(Xsqlite3_value_double(tls, *(*uintptr)(unsafe.Pointer(argv + uintptr(libc.PostIncInt32(&iArg, 1))*8))) != 0.0))
+ } else {
+ (*StatCursor)(unsafe.Pointer(pCsr)).FisAgg = U8(0)
+ }
+ pSql = Xsqlite3_str_new(tls, (*StatTable)(unsafe.Pointer(pTab)).Fdb)
+ Xsqlite3_str_appendf(tls, pSql,
+ ts+34103,
+ libc.VaList(bp, (*Db)(unsafe.Pointer((*Sqlite3)(unsafe.Pointer((*StatTable)(unsafe.Pointer(pTab)).Fdb)).FaDb+uintptr((*StatCursor)(unsafe.Pointer(pCsr)).FiDb)*32)).FzDbSName))
+ if zName != 0 {
+ Xsqlite3_str_appendf(tls, pSql, ts+34258, libc.VaList(bp+8, zName))
+ }
+ if idxNum&0x08 != 0 {
+ Xsqlite3_str_appendf(tls, pSql, ts+34272, 0)
+ }
+ zSql = Xsqlite3_str_finish(tls, pSql)
+ if zSql == uintptr(0) {
+ return SQLITE_NOMEM
+ } else {
+ rc = Xsqlite3_prepare_v2(tls, (*StatTable)(unsafe.Pointer(pTab)).Fdb, zSql, -1, pCsr+8, uintptr(0))
+ Xsqlite3_free(tls, zSql)
+ }
+
+ if rc == SQLITE_OK {
+ (*StatCursor)(unsafe.Pointer(pCsr)).FiPage = -1
+ rc = statNext(tls, pCursor)
+ }
+ return rc
+}
+
+func statColumn(tls *libc.TLS, pCursor uintptr, ctx uintptr, i int32) int32 {
+ var pCsr uintptr = pCursor
+ switch i {
+ case 0:
+ Xsqlite3_result_text(tls, ctx, (*StatCursor)(unsafe.Pointer(pCsr)).FzName, -1, libc.UintptrFromInt32(-1))
+ break
+ case 1:
+ if !(int32((*StatCursor)(unsafe.Pointer(pCsr)).FisAgg) != 0) {
+ Xsqlite3_result_text(tls, ctx, (*StatCursor)(unsafe.Pointer(pCsr)).FzPath, -1, libc.UintptrFromInt32(-1))
+ }
+ break
+ case 2:
+ if (*StatCursor)(unsafe.Pointer(pCsr)).FisAgg != 0 {
+ Xsqlite3_result_int64(tls, ctx, int64((*StatCursor)(unsafe.Pointer(pCsr)).FnPage))
+ } else {
+ Xsqlite3_result_int64(tls, ctx, int64((*StatCursor)(unsafe.Pointer(pCsr)).FiPageno))
+ }
+ break
+ case 3:
+ if !(int32((*StatCursor)(unsafe.Pointer(pCsr)).FisAgg) != 0) {
+ Xsqlite3_result_text(tls, ctx, (*StatCursor)(unsafe.Pointer(pCsr)).FzPagetype, -1, uintptr(0))
+ }
+ break
+ case 4:
+ Xsqlite3_result_int64(tls, ctx, int64((*StatCursor)(unsafe.Pointer(pCsr)).FnCell))
+ break
+ case 5:
+ Xsqlite3_result_int64(tls, ctx, (*StatCursor)(unsafe.Pointer(pCsr)).FnPayload)
+ break
+ case 6:
+ Xsqlite3_result_int64(tls, ctx, (*StatCursor)(unsafe.Pointer(pCsr)).FnUnused)
+ break
+ case 7:
+ Xsqlite3_result_int64(tls, ctx, int64((*StatCursor)(unsafe.Pointer(pCsr)).FnMxPayload))
+ break
+ case 8:
+ if !(int32((*StatCursor)(unsafe.Pointer(pCsr)).FisAgg) != 0) {
+ Xsqlite3_result_int64(tls, ctx, (*StatCursor)(unsafe.Pointer(pCsr)).FiOffset)
+ }
+ break
+ case 9:
+ Xsqlite3_result_int64(tls, ctx, (*StatCursor)(unsafe.Pointer(pCsr)).FszPage)
+ break
+ case 10:
+ {
+ var db uintptr = Xsqlite3_context_db_handle(tls, ctx)
+ var iDb int32 = (*StatCursor)(unsafe.Pointer(pCsr)).FiDb
+ Xsqlite3_result_text(tls, ctx, (*Db)(unsafe.Pointer((*Sqlite3)(unsafe.Pointer(db)).FaDb+uintptr(iDb)*32)).FzDbSName, -1, uintptr(0))
+ break
+
+ }
+ default:
+ {
+ Xsqlite3_result_int(tls, ctx, int32((*StatCursor)(unsafe.Pointer(pCsr)).FisAgg))
+ break
+
+ }
+ }
+ return SQLITE_OK
+}
+
+func statRowid(tls *libc.TLS, pCursor uintptr, pRowid uintptr) int32 {
+ var pCsr uintptr = pCursor
+ *(*Sqlite_int64)(unsafe.Pointer(pRowid)) = Sqlite_int64((*StatCursor)(unsafe.Pointer(pCsr)).FiPageno)
+ return SQLITE_OK
+}
+
+// Invoke this routine to register the "dbstat" virtual table module
+func Xsqlite3DbstatRegister(tls *libc.TLS, db uintptr) int32 {
+ return Xsqlite3_create_module(tls, db, ts+34287, uintptr(unsafe.Pointer(&dbstat_module)), uintptr(0))
+}
+
+var dbstat_module = Sqlite3_module{
+ FxCreate: 0,
+ FxConnect: 0,
+ FxBestIndex: 0,
+ FxDisconnect: 0,
+ FxDestroy: 0,
+ FxOpen: 0,
+ FxClose: 0,
+ FxFilter: 0,
+ FxNext: 0,
+ FxEof: 0,
+ FxColumn: 0,
+ FxRowid: 0,
+}
+
type SessionTable1 = struct {
FpNext uintptr
FzName uintptr
@@ -175797,13 +176823,13 @@ func sessionTableInfo(tls *libc.TLS, pSession uintptr, db uintptr, zDb uintptr,
var abPK uintptr = uintptr(0)
nThis = Xsqlite3Strlen30(tls, zThis)
- if nThis == 12 && 0 == Xsqlite3_stricmp(tls, ts+12700, zThis) {
+ if nThis == 12 && 0 == Xsqlite3_stricmp(tls, ts+12719, zThis) {
rc = Xsqlite3_table_column_metadata(tls, db, zDb, zThis, uintptr(0), uintptr(0), uintptr(0), uintptr(0), uintptr(0), uintptr(0))
if rc == SQLITE_OK {
zPragma = Xsqlite3_mprintf(tls,
- ts+33724, 0)
+ ts+34294, 0)
} else if rc == SQLITE_ERROR {
- zPragma = Xsqlite3_mprintf(tls, ts+1544, 0)
+ zPragma = Xsqlite3_mprintf(tls, ts+1563, 0)
} else {
*(*uintptr)(unsafe.Pointer(pazCol)) = uintptr(0)
*(*uintptr)(unsafe.Pointer(pabPK)) = uintptr(0)
@@ -175814,7 +176840,7 @@ func sessionTableInfo(tls *libc.TLS, pSession uintptr, db uintptr, zDb uintptr,
return rc
}
} else {
- zPragma = Xsqlite3_mprintf(tls, ts+33845, libc.VaList(bp, zDb, zThis))
+ zPragma = Xsqlite3_mprintf(tls, ts+34415, libc.VaList(bp, zDb, zThis))
}
if !(zPragma != 0) {
*(*uintptr)(unsafe.Pointer(pazCol)) = uintptr(0)
@@ -175912,7 +176938,7 @@ func sessionInitTable(tls *libc.TLS, pSession uintptr, pTab uintptr) int32 {
break
}
}
- if 0 == Xsqlite3_stricmp(tls, ts+12700, (*SessionTable)(unsafe.Pointer(pTab)).FzName) {
+ if 0 == Xsqlite3_stricmp(tls, ts+12719, (*SessionTable)(unsafe.Pointer(pTab)).FzName) {
(*SessionTable)(unsafe.Pointer(pTab)).FbStat1 = 1
}
@@ -176161,7 +177187,7 @@ __4:
goto error_out
__7:
;
- Xsqlite3ValueSetStr(tls, p, 0, ts+1544, uint8(0), uintptr(0))
+ Xsqlite3ValueSetStr(tls, p, 0, ts+1563, uint8(0), uintptr(0))
(*Sqlite3_session)(unsafe.Pointer(pSession)).FpZeroBlob = p
__6:
;
@@ -176489,14 +177515,14 @@ func sessionExprComparePK(tls *libc.TLS, nCol int32, zDb1 uintptr, zDb2 uintptr,
defer tls.Free(64)
var i int32
- var zSep uintptr = ts + 1544
+ var zSep uintptr = ts + 1563
var zRet uintptr = uintptr(0)
for i = 0; i < nCol; i++ {
if *(*U8)(unsafe.Pointer(abPK + uintptr(i))) != 0 {
- zRet = Xsqlite3_mprintf(tls, ts+33874,
+ zRet = Xsqlite3_mprintf(tls, ts+34444,
libc.VaList(bp, zRet, zSep, zDb1, zTab, *(*uintptr)(unsafe.Pointer(azCol + uintptr(i)*8)), zDb2, zTab, *(*uintptr)(unsafe.Pointer(azCol + uintptr(i)*8))))
- zSep = ts + 22894
+ zSep = ts + 22960
if zRet == uintptr(0) {
break
}
@@ -176511,7 +177537,7 @@ func sessionExprCompareOther(tls *libc.TLS, nCol int32, zDb1 uintptr, zDb2 uintp
defer tls.Free(64)
var i int32
- var zSep uintptr = ts + 1544
+ var zSep uintptr = ts + 1563
var zRet uintptr = uintptr(0)
var bHave int32 = 0
@@ -176519,9 +177545,9 @@ func sessionExprCompareOther(tls *libc.TLS, nCol int32, zDb1 uintptr, zDb2 uintp
if int32(*(*U8)(unsafe.Pointer(abPK + uintptr(i)))) == 0 {
bHave = 1
zRet = Xsqlite3_mprintf(tls,
- ts+33908,
+ ts+34478,
libc.VaList(bp, zRet, zSep, zDb1, zTab, *(*uintptr)(unsafe.Pointer(azCol + uintptr(i)*8)), zDb2, zTab, *(*uintptr)(unsafe.Pointer(azCol + uintptr(i)*8))))
- zSep = ts + 33949
+ zSep = ts + 34519
if zRet == uintptr(0) {
break
}
@@ -176529,7 +177555,7 @@ func sessionExprCompareOther(tls *libc.TLS, nCol int32, zDb1 uintptr, zDb2 uintp
}
if bHave == 0 {
- zRet = Xsqlite3_mprintf(tls, ts+8882, 0)
+ zRet = Xsqlite3_mprintf(tls, ts+8890, 0)
}
return zRet
@@ -176540,7 +177566,7 @@ func sessionSelectFindNew(tls *libc.TLS, zDb1 uintptr, zDb2 uintptr, zTbl uintpt
defer tls.Free(40)
var zRet uintptr = Xsqlite3_mprintf(tls,
- ts+33954,
+ ts+34524,
libc.VaList(bp, zDb1, zTbl, zDb2, zTbl, zExpr))
return zRet
}
@@ -176583,7 +177609,7 @@ func sessionDiffFindModified(tls *libc.TLS, pSession uintptr, pTab uintptr, zFro
rc = SQLITE_NOMEM
} else {
var zStmt uintptr = Xsqlite3_mprintf(tls,
- ts+34032,
+ ts+34602,
libc.VaList(bp, (*Sqlite3_session)(unsafe.Pointer(pSession)).FzDb, (*SessionTable)(unsafe.Pointer(pTab)).FzName, zFrom, (*SessionTable)(unsafe.Pointer(pTab)).FzName, zExpr, zExpr2))
if zStmt == uintptr(0) {
rc = SQLITE_NOMEM
@@ -176710,7 +177736,7 @@ __6:
if !(pzErrMsg != 0) {
goto __16
}
- *(*uintptr)(unsafe.Pointer(pzErrMsg)) = Xsqlite3_mprintf(tls, ts+34085, 0)
+ *(*uintptr)(unsafe.Pointer(pzErrMsg)) = Xsqlite3_mprintf(tls, ts+34655, 0)
__16:
;
rc = SQLITE_SCHEMA
@@ -176975,7 +178001,7 @@ func sessionAppendInteger(tls *libc.TLS, p uintptr, iVal int32, pRc uintptr) {
bp := tls.Alloc(32)
defer tls.Free(32)
- Xsqlite3_snprintf(tls, int32(uint64(unsafe.Sizeof([24]int8{}))-uint64(1)), bp+8, ts+6327, libc.VaList(bp, iVal))
+ Xsqlite3_snprintf(tls, int32(uint64(unsafe.Sizeof([24]int8{}))-uint64(1)), bp+8, ts+6346, libc.VaList(bp, iVal))
sessionAppendStr(tls, p, bp+8, pRc)
}
@@ -177184,29 +178210,29 @@ func sessionSelectStmt(tls *libc.TLS, db uintptr, zDb uintptr, zTab uintptr, nCo
var zSql uintptr = uintptr(0)
var nSql int32 = -1
- if 0 == Xsqlite3_stricmp(tls, ts+12700, zTab) {
+ if 0 == Xsqlite3_stricmp(tls, ts+12719, zTab) {
zSql = Xsqlite3_mprintf(tls,
- ts+34112, libc.VaList(bp, zDb))
+ ts+34682, libc.VaList(bp, zDb))
if zSql == uintptr(0) {
*(*int32)(unsafe.Pointer(bp + 24)) = SQLITE_NOMEM
}
} else {
var i int32
- var zSep uintptr = ts + 1544
+ var zSep uintptr = ts + 1563
*(*SessionBuffer)(unsafe.Pointer(bp + 8)) = SessionBuffer{}
- sessionAppendStr(tls, bp+8, ts+34222, bp+24)
+ sessionAppendStr(tls, bp+8, ts+34792, bp+24)
sessionAppendIdent(tls, bp+8, zDb, bp+24)
- sessionAppendStr(tls, bp+8, ts+1557, bp+24)
+ sessionAppendStr(tls, bp+8, ts+1576, bp+24)
sessionAppendIdent(tls, bp+8, zTab, bp+24)
- sessionAppendStr(tls, bp+8, ts+34237, bp+24)
+ sessionAppendStr(tls, bp+8, ts+34807, bp+24)
for i = 0; i < nCol; i++ {
if *(*U8)(unsafe.Pointer(abPK + uintptr(i))) != 0 {
sessionAppendStr(tls, bp+8, zSep, bp+24)
sessionAppendIdent(tls, bp+8, *(*uintptr)(unsafe.Pointer(azCol + uintptr(i)*8)), bp+24)
- sessionAppendStr(tls, bp+8, ts+34245, bp+24)
+ sessionAppendStr(tls, bp+8, ts+34815, bp+24)
sessionAppendInteger(tls, bp+8, i+1, bp+24)
- zSep = ts + 22894
+ zSep = ts + 22960
}
}
zSql = (*SessionBuffer)(unsafe.Pointer(bp + 8)).FaBuf
@@ -177315,7 +178341,7 @@ func sessionGenerateChangeset(tls *libc.TLS, pSession uintptr, bPatchset int32,
if (*Sqlite3_session)(unsafe.Pointer(pSession)).Frc != 0 {
return (*Sqlite3_session)(unsafe.Pointer(pSession)).Frc
}
- *(*int32)(unsafe.Pointer(bp + 40)) = Xsqlite3_exec(tls, (*Sqlite3_session)(unsafe.Pointer(pSession)).Fdb, ts+34251, uintptr(0), uintptr(0), uintptr(0))
+ *(*int32)(unsafe.Pointer(bp + 40)) = Xsqlite3_exec(tls, (*Sqlite3_session)(unsafe.Pointer(pSession)).Fdb, ts+34821, uintptr(0), uintptr(0), uintptr(0))
if *(*int32)(unsafe.Pointer(bp + 40)) != SQLITE_OK {
return *(*int32)(unsafe.Pointer(bp + 40))
}
@@ -177407,7 +178433,7 @@ func sessionGenerateChangeset(tls *libc.TLS, pSession uintptr, bPatchset int32,
}
Xsqlite3_free(tls, (*SessionBuffer)(unsafe.Pointer(bp+24)).FaBuf)
- Xsqlite3_exec(tls, db, ts+34271, uintptr(0), uintptr(0), uintptr(0))
+ Xsqlite3_exec(tls, db, ts+34841, uintptr(0), uintptr(0), uintptr(0))
Xsqlite3_mutex_leave(tls, Xsqlite3_db_mutex(tls, db))
return *(*int32)(unsafe.Pointer(bp + 40))
}
@@ -177670,7 +178696,7 @@ func sessionReadRecord(tls *libc.TLS, pIn uintptr, nCol int32, abPK uintptr, apO
rc = sessionInputBuffer(tls, pIn, 9)
if rc == SQLITE_OK {
if (*SessionInput)(unsafe.Pointer(pIn)).FiNext >= (*SessionInput)(unsafe.Pointer(pIn)).FnData {
- rc = Xsqlite3CorruptError(tls, 219078)
+ rc = Xsqlite3CorruptError(tls, 219169)
} else {
eType = int32(*(*U8)(unsafe.Pointer((*SessionInput)(unsafe.Pointer(pIn)).FaData + uintptr(libc.PostIncInt32(&(*SessionInput)(unsafe.Pointer(pIn)).FiNext, 1)))))
@@ -177693,7 +178719,7 @@ func sessionReadRecord(tls *libc.TLS, pIn uintptr, nCol int32, abPK uintptr, apO
rc = sessionInputBuffer(tls, pIn, *(*int32)(unsafe.Pointer(bp)))
if rc == SQLITE_OK {
if *(*int32)(unsafe.Pointer(bp)) < 0 || *(*int32)(unsafe.Pointer(bp)) > (*SessionInput)(unsafe.Pointer(pIn)).FnData-(*SessionInput)(unsafe.Pointer(pIn)).FiNext {
- rc = Xsqlite3CorruptError(tls, 219098)
+ rc = Xsqlite3CorruptError(tls, 219189)
} else {
var enc U8 = func() uint8 {
if eType == SQLITE_TEXT {
@@ -177735,7 +178761,7 @@ func sessionChangesetBufferTblhdr(tls *libc.TLS, pIn uintptr, pnByte uintptr) in
nRead = nRead + sessionVarintGet(tls, (*SessionInput)(unsafe.Pointer(pIn)).FaData+uintptr((*SessionInput)(unsafe.Pointer(pIn)).FiNext+nRead), bp)
if *(*int32)(unsafe.Pointer(bp)) < 0 || *(*int32)(unsafe.Pointer(bp)) > 65536 {
- rc = Xsqlite3CorruptError(tls, 219152)
+ rc = Xsqlite3CorruptError(tls, 219243)
} else {
rc = sessionInputBuffer(tls, pIn, nRead+*(*int32)(unsafe.Pointer(bp))+100)
nRead = nRead + *(*int32)(unsafe.Pointer(bp))
@@ -177796,7 +178822,7 @@ func sessionChangesetReadTblhdr(tls *libc.TLS, p uintptr) int32 {
(*Sqlite3_changeset_iter)(unsafe.Pointer(p)).Ftblhdr.FnBuf = 0
sessionBufferGrow(tls, p+72, int64(nByte), bp+4)
} else {
- *(*int32)(unsafe.Pointer(bp + 4)) = Xsqlite3CorruptError(tls, 219240)
+ *(*int32)(unsafe.Pointer(bp + 4)) = Xsqlite3CorruptError(tls, 219331)
}
}
@@ -177870,13 +178896,13 @@ func sessionChangesetNextOne(tls *libc.TLS, p uintptr, paRec uintptr, pnRec uint
}
if (*Sqlite3_changeset_iter)(unsafe.Pointer(p)).FzTab == uintptr(0) || (*Sqlite3_changeset_iter)(unsafe.Pointer(p)).FbPatchset != 0 && (*Sqlite3_changeset_iter)(unsafe.Pointer(p)).FbInvert != 0 {
- return libc.AssignPtrInt32(p+100, Xsqlite3CorruptError(tls, 219326))
+ return libc.AssignPtrInt32(p+100, Xsqlite3CorruptError(tls, 219417))
}
(*Sqlite3_changeset_iter)(unsafe.Pointer(p)).Fop = int32(op)
(*Sqlite3_changeset_iter)(unsafe.Pointer(p)).FbIndirect = int32(*(*U8)(unsafe.Pointer((*Sqlite3_changeset_iter)(unsafe.Pointer(p)).Fin.FaData + uintptr(libc.PostIncInt32(&(*Sqlite3_changeset_iter)(unsafe.Pointer(p)).Fin.FiNext, 1)))))
if (*Sqlite3_changeset_iter)(unsafe.Pointer(p)).Fop != SQLITE_UPDATE && (*Sqlite3_changeset_iter)(unsafe.Pointer(p)).Fop != SQLITE_DELETE && (*Sqlite3_changeset_iter)(unsafe.Pointer(p)).Fop != SQLITE_INSERT {
- return libc.AssignPtrInt32(p+100, Xsqlite3CorruptError(tls, 219332))
+ return libc.AssignPtrInt32(p+100, Xsqlite3CorruptError(tls, 219423))
}
if paRec != 0 {
@@ -177938,7 +178964,7 @@ func sessionChangesetNextOne(tls *libc.TLS, p uintptr, paRec uintptr, pnRec uint
if *(*U8)(unsafe.Pointer((*Sqlite3_changeset_iter)(unsafe.Pointer(p)).FabPK + uintptr(i))) != 0 {
*(*uintptr)(unsafe.Pointer((*Sqlite3_changeset_iter)(unsafe.Pointer(p)).FapValue + uintptr(i)*8)) = *(*uintptr)(unsafe.Pointer((*Sqlite3_changeset_iter)(unsafe.Pointer(p)).FapValue + uintptr(i+(*Sqlite3_changeset_iter)(unsafe.Pointer(p)).FnCol)*8))
if *(*uintptr)(unsafe.Pointer((*Sqlite3_changeset_iter)(unsafe.Pointer(p)).FapValue + uintptr(i)*8)) == uintptr(0) {
- return libc.AssignPtrInt32(p+100, Xsqlite3CorruptError(tls, 219376))
+ return libc.AssignPtrInt32(p+100, Xsqlite3CorruptError(tls, 219467))
}
*(*uintptr)(unsafe.Pointer((*Sqlite3_changeset_iter)(unsafe.Pointer(p)).FapValue + uintptr(i+(*Sqlite3_changeset_iter)(unsafe.Pointer(p)).FnCol)*8)) = uintptr(0)
}
@@ -178311,7 +179337,7 @@ __27:
goto __6
__11:
- *(*int32)(unsafe.Pointer(bp + 40)) = Xsqlite3CorruptError(tls, 219741)
+ *(*int32)(unsafe.Pointer(bp + 40)) = Xsqlite3CorruptError(tls, 219832)
goto finished_invert
__6:
;
@@ -178479,45 +179505,45 @@ func sessionUpdateFind(tls *libc.TLS, pIter uintptr, p uintptr, bPatchset int32,
if pUp == uintptr(0) {
var nByte int32 = int32(uint64(unsafe.Sizeof(SessionUpdate{})) * uint64(nU32) * uint64(unsafe.Sizeof(U32(0))))
- var bStat1 int32 = libc.Bool32(Xsqlite3_stricmp(tls, (*Sqlite3_changeset_iter)(unsafe.Pointer(pIter)).FzTab, ts+12700) == 0)
+ var bStat1 int32 = libc.Bool32(Xsqlite3_stricmp(tls, (*Sqlite3_changeset_iter)(unsafe.Pointer(pIter)).FzTab, ts+12719) == 0)
pUp = Xsqlite3_malloc(tls, nByte)
if pUp == uintptr(0) {
*(*int32)(unsafe.Pointer(bp + 16)) = SQLITE_NOMEM
} else {
- var zSep uintptr = ts + 1544
+ var zSep uintptr = ts + 1563
libc.Xmemset(tls, bp, 0, uint64(unsafe.Sizeof(SessionBuffer{})))
(*SessionUpdate)(unsafe.Pointer(pUp)).FaMask = pUp + 1*24
libc.Xmemcpy(tls, (*SessionUpdate)(unsafe.Pointer(pUp)).FaMask, (*SessionApplyCtx)(unsafe.Pointer(p)).FaUpdateMask, uint64(nU32)*uint64(unsafe.Sizeof(U32(0))))
- sessionAppendStr(tls, bp, ts+34289, bp+16)
+ sessionAppendStr(tls, bp, ts+34859, bp+16)
sessionAppendIdent(tls, bp, (*Sqlite3_changeset_iter)(unsafe.Pointer(pIter)).FzTab, bp+16)
- sessionAppendStr(tls, bp, ts+34302, bp+16)
+ sessionAppendStr(tls, bp, ts+34872, bp+16)
for ii = 0; ii < (*Sqlite3_changeset_iter)(unsafe.Pointer(pIter)).FnCol; ii++ {
if int32(*(*U8)(unsafe.Pointer((*SessionApplyCtx)(unsafe.Pointer(p)).FabPK + uintptr(ii)))) == 0 && *(*uintptr)(unsafe.Pointer((*Sqlite3_changeset_iter)(unsafe.Pointer(pIter)).FapValue + uintptr((*Sqlite3_changeset_iter)(unsafe.Pointer(pIter)).FnCol+ii)*8)) != 0 {
sessionAppendStr(tls, bp, zSep, bp+16)
sessionAppendIdent(tls, bp, *(*uintptr)(unsafe.Pointer((*SessionApplyCtx)(unsafe.Pointer(p)).FazCol + uintptr(ii)*8)), bp+16)
- sessionAppendStr(tls, bp, ts+34308, bp+16)
+ sessionAppendStr(tls, bp, ts+34878, bp+16)
sessionAppendInteger(tls, bp, ii*2+1, bp+16)
- zSep = ts + 15971
+ zSep = ts + 15990
}
}
- zSep = ts + 1544
- sessionAppendStr(tls, bp, ts+34237, bp+16)
+ zSep = ts + 1563
+ sessionAppendStr(tls, bp, ts+34807, bp+16)
for ii = 0; ii < (*Sqlite3_changeset_iter)(unsafe.Pointer(pIter)).FnCol; ii++ {
if *(*U8)(unsafe.Pointer((*SessionApplyCtx)(unsafe.Pointer(p)).FabPK + uintptr(ii))) != 0 || bPatchset == 0 && *(*uintptr)(unsafe.Pointer((*Sqlite3_changeset_iter)(unsafe.Pointer(pIter)).FapValue + uintptr(ii)*8)) != 0 {
sessionAppendStr(tls, bp, zSep, bp+16)
if bStat1 != 0 && ii == 1 {
sessionAppendStr(tls, bp,
- ts+34313, bp+16)
+ ts+34883, bp+16)
} else {
sessionAppendIdent(tls, bp, *(*uintptr)(unsafe.Pointer((*SessionApplyCtx)(unsafe.Pointer(p)).FazCol + uintptr(ii)*8)), bp+16)
- sessionAppendStr(tls, bp, ts+34245, bp+16)
+ sessionAppendStr(tls, bp, ts+34815, bp+16)
sessionAppendInteger(tls, bp, ii*2+2, bp+16)
}
- zSep = ts + 22894
+ zSep = ts + 22960
}
}
@@ -178564,42 +179590,42 @@ func sessionDeleteRow(tls *libc.TLS, db uintptr, zTab uintptr, p uintptr) int32
defer tls.Free(20)
var i int32
- var zSep uintptr = ts + 1544
+ var zSep uintptr = ts + 1563
*(*int32)(unsafe.Pointer(bp + 16)) = SQLITE_OK
*(*SessionBuffer)(unsafe.Pointer(bp)) = SessionBuffer{}
var nPk int32 = 0
- sessionAppendStr(tls, bp, ts+34388, bp+16)
+ sessionAppendStr(tls, bp, ts+34958, bp+16)
sessionAppendIdent(tls, bp, zTab, bp+16)
- sessionAppendStr(tls, bp, ts+34237, bp+16)
+ sessionAppendStr(tls, bp, ts+34807, bp+16)
for i = 0; i < (*SessionApplyCtx)(unsafe.Pointer(p)).FnCol; i++ {
if *(*U8)(unsafe.Pointer((*SessionApplyCtx)(unsafe.Pointer(p)).FabPK + uintptr(i))) != 0 {
nPk++
sessionAppendStr(tls, bp, zSep, bp+16)
sessionAppendIdent(tls, bp, *(*uintptr)(unsafe.Pointer((*SessionApplyCtx)(unsafe.Pointer(p)).FazCol + uintptr(i)*8)), bp+16)
- sessionAppendStr(tls, bp, ts+34308, bp+16)
+ sessionAppendStr(tls, bp, ts+34878, bp+16)
sessionAppendInteger(tls, bp, i+1, bp+16)
- zSep = ts + 22894
+ zSep = ts + 22960
}
}
if nPk < (*SessionApplyCtx)(unsafe.Pointer(p)).FnCol {
- sessionAppendStr(tls, bp, ts+34406, bp+16)
+ sessionAppendStr(tls, bp, ts+34976, bp+16)
sessionAppendInteger(tls, bp, (*SessionApplyCtx)(unsafe.Pointer(p)).FnCol+1, bp+16)
- sessionAppendStr(tls, bp, ts+33949, bp+16)
+ sessionAppendStr(tls, bp, ts+34519, bp+16)
- zSep = ts + 1544
+ zSep = ts + 1563
for i = 0; i < (*SessionApplyCtx)(unsafe.Pointer(p)).FnCol; i++ {
if !(int32(*(*U8)(unsafe.Pointer((*SessionApplyCtx)(unsafe.Pointer(p)).FabPK + uintptr(i)))) != 0) {
sessionAppendStr(tls, bp, zSep, bp+16)
sessionAppendIdent(tls, bp, *(*uintptr)(unsafe.Pointer((*SessionApplyCtx)(unsafe.Pointer(p)).FazCol + uintptr(i)*8)), bp+16)
- sessionAppendStr(tls, bp, ts+34245, bp+16)
+ sessionAppendStr(tls, bp, ts+34815, bp+16)
sessionAppendInteger(tls, bp, i+1, bp+16)
- zSep = ts + 34414
+ zSep = ts + 34984
}
}
- sessionAppendStr(tls, bp, ts+6309, bp+16)
+ sessionAppendStr(tls, bp, ts+6328, bp+16)
}
if *(*int32)(unsafe.Pointer(bp + 16)) == SQLITE_OK {
@@ -178612,7 +179638,7 @@ func sessionDeleteRow(tls *libc.TLS, db uintptr, zTab uintptr, p uintptr) int32
func sessionSelectRow(tls *libc.TLS, db uintptr, zTab uintptr, p uintptr) int32 {
return sessionSelectStmt(tls,
- db, ts+7793, zTab, (*SessionApplyCtx)(unsafe.Pointer(p)).FnCol, (*SessionApplyCtx)(unsafe.Pointer(p)).FazCol, (*SessionApplyCtx)(unsafe.Pointer(p)).FabPK, p+24)
+ db, ts+7812, zTab, (*SessionApplyCtx)(unsafe.Pointer(p)).FnCol, (*SessionApplyCtx)(unsafe.Pointer(p)).FazCol, (*SessionApplyCtx)(unsafe.Pointer(p)).FabPK, p+24)
}
func sessionInsertRow(tls *libc.TLS, db uintptr, zTab uintptr, p uintptr) int32 {
@@ -178623,21 +179649,21 @@ func sessionInsertRow(tls *libc.TLS, db uintptr, zTab uintptr, p uintptr) int32
var i int32
*(*SessionBuffer)(unsafe.Pointer(bp)) = SessionBuffer{}
- sessionAppendStr(tls, bp, ts+34419, bp+16)
+ sessionAppendStr(tls, bp, ts+34989, bp+16)
sessionAppendIdent(tls, bp, zTab, bp+16)
- sessionAppendStr(tls, bp, ts+22900, bp+16)
+ sessionAppendStr(tls, bp, ts+22966, bp+16)
for i = 0; i < (*SessionApplyCtx)(unsafe.Pointer(p)).FnCol; i++ {
if i != 0 {
- sessionAppendStr(tls, bp, ts+15971, bp+16)
+ sessionAppendStr(tls, bp, ts+15990, bp+16)
}
sessionAppendIdent(tls, bp, *(*uintptr)(unsafe.Pointer((*SessionApplyCtx)(unsafe.Pointer(p)).FazCol + uintptr(i)*8)), bp+16)
}
- sessionAppendStr(tls, bp, ts+34437, bp+16)
+ sessionAppendStr(tls, bp, ts+35007, bp+16)
for i = 1; i < (*SessionApplyCtx)(unsafe.Pointer(p)).FnCol; i++ {
- sessionAppendStr(tls, bp, ts+34448, bp+16)
+ sessionAppendStr(tls, bp, ts+35018, bp+16)
}
- sessionAppendStr(tls, bp, ts+6309, bp+16)
+ sessionAppendStr(tls, bp, ts+6328, bp+16)
if *(*int32)(unsafe.Pointer(bp + 16)) == SQLITE_OK {
*(*int32)(unsafe.Pointer(bp + 16)) = Xsqlite3_prepare_v2(tls, db, (*SessionBuffer)(unsafe.Pointer(bp)).FaBuf, (*SessionBuffer)(unsafe.Pointer(bp)).FnBuf, p+16, uintptr(0))
@@ -178651,14 +179677,14 @@ func sessionPrepare(tls *libc.TLS, db uintptr, pp uintptr, zSql uintptr) int32 {
}
func sessionStat1Sql(tls *libc.TLS, db uintptr, p uintptr) int32 {
- var rc int32 = sessionSelectRow(tls, db, ts+12700, p)
+ var rc int32 = sessionSelectRow(tls, db, ts+12719, p)
if rc == SQLITE_OK {
rc = sessionPrepare(tls, db, p+16,
- ts+34452)
+ ts+35022)
}
if rc == SQLITE_OK {
rc = sessionPrepare(tls, db, p+8,
- ts+34565)
+ ts+35135)
}
return rc
}
@@ -178686,7 +179712,7 @@ func sessionBindRow(tls *libc.TLS, pIter uintptr, xValue uintptr, nCol int32, ab
f func(*libc.TLS, uintptr, int32, uintptr) int32
})(unsafe.Pointer(&struct{ uintptr }{xValue})).f(tls, pIter, i, bp)
if *(*uintptr)(unsafe.Pointer(bp)) == uintptr(0) {
- rc = Xsqlite3CorruptError(tls, 220219)
+ rc = Xsqlite3CorruptError(tls, 220310)
} else {
rc = sessionBindValue(tls, pStmt, i+1, *(*uintptr)(unsafe.Pointer(bp)))
}
@@ -178939,7 +179965,7 @@ func sessionApplyOneWithRetry(tls *libc.TLS, db uintptr, pIter uintptr, pApply u
if *(*int32)(unsafe.Pointer(bp + 4)) != 0 {
rc = sessionApplyOneOp(tls, pIter, pApply, xConflict, pCtx, uintptr(0), uintptr(0))
} else if *(*int32)(unsafe.Pointer(bp)) != 0 {
- rc = Xsqlite3_exec(tls, db, ts+34709, uintptr(0), uintptr(0), uintptr(0))
+ rc = Xsqlite3_exec(tls, db, ts+35279, uintptr(0), uintptr(0), uintptr(0))
if rc == SQLITE_OK {
rc = sessionBindRow(tls, pIter,
*(*uintptr)(unsafe.Pointer(&struct {
@@ -178955,7 +179981,7 @@ func sessionApplyOneWithRetry(tls *libc.TLS, db uintptr, pIter uintptr, pApply u
rc = sessionApplyOneOp(tls, pIter, pApply, xConflict, pCtx, uintptr(0), uintptr(0))
}
if rc == SQLITE_OK {
- rc = Xsqlite3_exec(tls, db, ts+34730, uintptr(0), uintptr(0), uintptr(0))
+ rc = Xsqlite3_exec(tls, db, ts+35300, uintptr(0), uintptr(0), uintptr(0))
}
}
}
@@ -179028,10 +180054,10 @@ func sessionChangesetApply(tls *libc.TLS, db uintptr, pIter uintptr, xFilter uin
(*SessionApplyCtx)(unsafe.Pointer(bp + 48)).FbInvertConstraints = libc.BoolInt32(!!(flags&SQLITE_CHANGESETAPPLY_INVERT != 0))
Xsqlite3_mutex_enter(tls, Xsqlite3_db_mutex(tls, db))
if flags&SQLITE_CHANGESETAPPLY_NOSAVEPOINT == 0 {
- rc = Xsqlite3_exec(tls, db, ts+34749, uintptr(0), uintptr(0), uintptr(0))
+ rc = Xsqlite3_exec(tls, db, ts+35319, uintptr(0), uintptr(0), uintptr(0))
}
if rc == SQLITE_OK {
- rc = Xsqlite3_exec(tls, db, ts+34775, uintptr(0), uintptr(0), uintptr(0))
+ rc = Xsqlite3_exec(tls, db, ts+35345, uintptr(0), uintptr(0), uintptr(0))
}
for rc == SQLITE_OK && SQLITE_ROW == Xsqlite3changeset_next(tls, pIter) {
Xsqlite3changeset_op(tls, pIter, bp+176, bp+184, bp+188, uintptr(0))
@@ -179064,7 +180090,7 @@ func sessionChangesetApply(tls *libc.TLS, db uintptr, pIter uintptr, xFilter uin
f func(*libc.TLS, uintptr, uintptr) int32
})(unsafe.Pointer(&struct{ uintptr }{xFilter})).f(tls, pCtx, *(*uintptr)(unsafe.Pointer(bp + 176))))
if schemaMismatch != 0 {
- *(*uintptr)(unsafe.Pointer(bp + 200)) = Xsqlite3_mprintf(tls, ts+4493, libc.VaList(bp, *(*uintptr)(unsafe.Pointer(bp + 176))))
+ *(*uintptr)(unsafe.Pointer(bp + 200)) = Xsqlite3_mprintf(tls, ts+4512, libc.VaList(bp, *(*uintptr)(unsafe.Pointer(bp + 176))))
if *(*uintptr)(unsafe.Pointer(bp + 200)) == uintptr(0) {
rc = SQLITE_NOMEM
break
@@ -179077,7 +180103,7 @@ func sessionChangesetApply(tls *libc.TLS, db uintptr, pIter uintptr, xFilter uin
Xsqlite3changeset_pk(tls, pIter, bp+192, uintptr(0))
rc = sessionTableInfo(tls, uintptr(0),
- db, ts+7793, *(*uintptr)(unsafe.Pointer(bp + 176)), bp+48+32, bp+200, bp+48+40, bp+48+48)
+ db, ts+7812, *(*uintptr)(unsafe.Pointer(bp + 176)), bp+48+32, bp+200, bp+48+40, bp+48+48)
if rc != SQLITE_OK {
break
}
@@ -179090,19 +180116,19 @@ func sessionChangesetApply(tls *libc.TLS, db uintptr, pIter uintptr, xFilter uin
if (*SessionApplyCtx)(unsafe.Pointer(bp+48)).FnCol == 0 {
schemaMismatch = 1
Xsqlite3_log(tls, SQLITE_SCHEMA,
- ts+34805, libc.VaList(bp+8, *(*uintptr)(unsafe.Pointer(bp + 200))))
+ ts+35375, libc.VaList(bp+8, *(*uintptr)(unsafe.Pointer(bp + 200))))
} else if (*SessionApplyCtx)(unsafe.Pointer(bp+48)).FnCol < *(*int32)(unsafe.Pointer(bp + 184)) {
schemaMismatch = 1
Xsqlite3_log(tls, SQLITE_SCHEMA,
- ts+34849,
+ ts+35419,
libc.VaList(bp+16, *(*uintptr)(unsafe.Pointer(bp + 200)), (*SessionApplyCtx)(unsafe.Pointer(bp+48)).FnCol, *(*int32)(unsafe.Pointer(bp + 184))))
} else if *(*int32)(unsafe.Pointer(bp + 184)) < nMinCol || libc.Xmemcmp(tls, (*SessionApplyCtx)(unsafe.Pointer(bp+48)).FabPK, *(*uintptr)(unsafe.Pointer(bp + 192)), uint64(*(*int32)(unsafe.Pointer(bp + 184)))) != 0 {
schemaMismatch = 1
Xsqlite3_log(tls, SQLITE_SCHEMA,
- ts+34920, libc.VaList(bp+40, *(*uintptr)(unsafe.Pointer(bp + 200))))
+ ts+35490, libc.VaList(bp+40, *(*uintptr)(unsafe.Pointer(bp + 200))))
} else {
(*SessionApplyCtx)(unsafe.Pointer(bp + 48)).FnCol = *(*int32)(unsafe.Pointer(bp + 184))
- if 0 == Xsqlite3_stricmp(tls, *(*uintptr)(unsafe.Pointer(bp + 200)), ts+12700) {
+ if 0 == Xsqlite3_stricmp(tls, *(*uintptr)(unsafe.Pointer(bp + 200)), ts+12719) {
if libc.AssignInt32(&rc, sessionStat1Sql(tls, db, bp+48)) != 0 {
break
}
@@ -179153,14 +180179,14 @@ func sessionChangesetApply(tls *libc.TLS, db uintptr, pIter uintptr, xFilter uin
}
}
}
- Xsqlite3_exec(tls, db, ts+34980, uintptr(0), uintptr(0), uintptr(0))
+ Xsqlite3_exec(tls, db, ts+35550, uintptr(0), uintptr(0), uintptr(0))
if flags&SQLITE_CHANGESETAPPLY_NOSAVEPOINT == 0 {
if rc == SQLITE_OK {
- rc = Xsqlite3_exec(tls, db, ts+35010, uintptr(0), uintptr(0), uintptr(0))
+ rc = Xsqlite3_exec(tls, db, ts+35580, uintptr(0), uintptr(0), uintptr(0))
} else {
- Xsqlite3_exec(tls, db, ts+35034, uintptr(0), uintptr(0), uintptr(0))
- Xsqlite3_exec(tls, db, ts+35010, uintptr(0), uintptr(0), uintptr(0))
+ Xsqlite3_exec(tls, db, ts+35604, uintptr(0), uintptr(0), uintptr(0))
+ Xsqlite3_exec(tls, db, ts+35580, uintptr(0), uintptr(0), uintptr(0))
}
}
@@ -180408,7 +181434,7 @@ func fts5yyStackOverflow(tls *libc.TLS, fts5yypParser uintptr) {
fts5yy_pop_parser_stack(tls, fts5yypParser)
}
- sqlite3Fts5ParseError(tls, pParse, ts+35062, 0)
+ sqlite3Fts5ParseError(tls, pParse, ts+35632, 0)
(*Fts5yyParser)(unsafe.Pointer(fts5yypParser)).FpParse = pParse
@@ -180696,7 +181722,7 @@ func fts5yy_syntax_error(tls *libc.TLS, fts5yypParser uintptr, fts5yymajor int32
_ = fts5yymajor
sqlite3Fts5ParseError(tls,
- pParse, ts+35090, libc.VaList(bp, fts5yyminor.Fn, fts5yyminor.Fp))
+ pParse, ts+35660, libc.VaList(bp, fts5yyminor.Fn, fts5yyminor.Fp))
(*Fts5yyParser)(unsafe.Pointer(fts5yypParser)).FpParse = pParse
@@ -180883,7 +181909,7 @@ func fts5HighlightAppend(tls *libc.TLS, pRc uintptr, p uintptr, z uintptr, n int
if n < 0 {
n = int32(libc.Xstrlen(tls, z))
}
- (*HighlightContext)(unsafe.Pointer(p)).FzOut = Xsqlite3_mprintf(tls, ts+35121, libc.VaList(bp, (*HighlightContext)(unsafe.Pointer(p)).FzOut, n, z))
+ (*HighlightContext)(unsafe.Pointer(p)).FzOut = Xsqlite3_mprintf(tls, ts+35691, libc.VaList(bp, (*HighlightContext)(unsafe.Pointer(p)).FzOut, n, z))
if (*HighlightContext)(unsafe.Pointer(p)).FzOut == uintptr(0) {
*(*int32)(unsafe.Pointer(pRc)) = SQLITE_NOMEM
}
@@ -180951,7 +181977,7 @@ func fts5HighlightFunction(tls *libc.TLS, pApi uintptr, pFts uintptr, pCtx uintp
var iCol int32
if nVal != 3 {
- var zErr uintptr = ts + 35128
+ var zErr uintptr = ts + 35698
Xsqlite3_result_error(tls, pCtx, zErr, -1)
return
}
@@ -181110,7 +182136,7 @@ func fts5ValueToText(tls *libc.TLS, pVal uintptr) uintptr {
if zRet != 0 {
return zRet
}
- return ts + 1544
+ return ts + 1563
}
func fts5SnippetFunction(tls *libc.TLS, pApi uintptr, pFts uintptr, pCtx uintptr, nVal int32, apVal uintptr) {
@@ -181133,7 +182159,7 @@ func fts5SnippetFunction(tls *libc.TLS, pApi uintptr, pFts uintptr, pCtx uintptr
var nCol int32
if nVal != 5 {
- var zErr uintptr = ts + 35178
+ var zErr uintptr = ts + 35748
Xsqlite3_result_error(tls, pCtx, zErr, -1)
return
}
@@ -181457,13 +182483,13 @@ func sqlite3Fts5AuxInit(tls *libc.TLS, pApi uintptr) int32 {
defer tls.Free(96)
*(*[3]Builtin)(unsafe.Pointer(bp)) = [3]Builtin{
- {FzFunc: ts + 35226, FxFunc: *(*uintptr)(unsafe.Pointer(&struct {
+ {FzFunc: ts + 35796, FxFunc: *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, uintptr, uintptr, int32, uintptr)
}{fts5SnippetFunction}))},
- {FzFunc: ts + 35234, FxFunc: *(*uintptr)(unsafe.Pointer(&struct {
+ {FzFunc: ts + 35804, FxFunc: *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, uintptr, uintptr, int32, uintptr)
}{fts5HighlightFunction}))},
- {FzFunc: ts + 35244, FxFunc: *(*uintptr)(unsafe.Pointer(&struct {
+ {FzFunc: ts + 35814, FxFunc: *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, uintptr, uintptr, int32, uintptr)
}{fts5Bm25Function}))},
}
@@ -181874,7 +182900,7 @@ func fts5ConfigSkipLiteral(tls *libc.TLS, pIn uintptr) uintptr {
case 'n':
fallthrough
case 'N':
- if Xsqlite3_strnicmp(tls, ts+7533, p, 4) == 0 {
+ if Xsqlite3_strnicmp(tls, ts+7552, p, 4) == 0 {
p = p + 4
} else {
p = uintptr(0)
@@ -182014,7 +183040,7 @@ func fts5ConfigParseSpecial(tls *libc.TLS, pGlobal uintptr, pConfig uintptr, zCm
*(*int32)(unsafe.Pointer(bp + 40)) = SQLITE_OK
var nCmd int32 = int32(libc.Xstrlen(tls, zCmd))
- if Xsqlite3_strnicmp(tls, ts+35249, zCmd, nCmd) == 0 {
+ if Xsqlite3_strnicmp(tls, ts+35819, zCmd, nCmd) == 0 {
var nByte int32 = int32(uint64(unsafe.Sizeof(int32(0))) * uint64(FTS5_MAX_PREFIX_INDEXES))
var p uintptr
var bFirst int32 = 1
@@ -182041,14 +183067,14 @@ func fts5ConfigParseSpecial(tls *libc.TLS, pGlobal uintptr, pConfig uintptr, zCm
break
}
if int32(*(*int8)(unsafe.Pointer(p))) < '0' || int32(*(*int8)(unsafe.Pointer(p))) > '9' {
- *(*uintptr)(unsafe.Pointer(pzErr)) = Xsqlite3_mprintf(tls, ts+35256, 0)
+ *(*uintptr)(unsafe.Pointer(pzErr)) = Xsqlite3_mprintf(tls, ts+35826, 0)
*(*int32)(unsafe.Pointer(bp + 40)) = SQLITE_ERROR
break
}
if (*Fts5Config)(unsafe.Pointer(pConfig)).FnPrefix == FTS5_MAX_PREFIX_INDEXES {
*(*uintptr)(unsafe.Pointer(pzErr)) = Xsqlite3_mprintf(tls,
- ts+35287, libc.VaList(bp, FTS5_MAX_PREFIX_INDEXES))
+ ts+35857, libc.VaList(bp, FTS5_MAX_PREFIX_INDEXES))
*(*int32)(unsafe.Pointer(bp + 40)) = SQLITE_ERROR
break
}
@@ -182059,7 +183085,7 @@ func fts5ConfigParseSpecial(tls *libc.TLS, pGlobal uintptr, pConfig uintptr, zCm
}
if nPre <= 0 || nPre >= 1000 {
- *(*uintptr)(unsafe.Pointer(pzErr)) = Xsqlite3_mprintf(tls, ts+35320, 0)
+ *(*uintptr)(unsafe.Pointer(pzErr)) = Xsqlite3_mprintf(tls, ts+35890, 0)
*(*int32)(unsafe.Pointer(bp + 40)) = SQLITE_ERROR
break
}
@@ -182072,7 +183098,7 @@ func fts5ConfigParseSpecial(tls *libc.TLS, pGlobal uintptr, pConfig uintptr, zCm
return *(*int32)(unsafe.Pointer(bp + 40))
}
- if Xsqlite3_strnicmp(tls, ts+35357, zCmd, nCmd) == 0 {
+ if Xsqlite3_strnicmp(tls, ts+35927, zCmd, nCmd) == 0 {
var p uintptr = zArg
var nArg Sqlite3_int64 = Sqlite3_int64(libc.Xstrlen(tls, zArg) + uint64(1))
var azArg uintptr = sqlite3Fts5MallocZero(tls, bp+40, int64(uint64(unsafe.Sizeof(uintptr(0)))*uint64(nArg)))
@@ -182081,7 +183107,7 @@ func fts5ConfigParseSpecial(tls *libc.TLS, pGlobal uintptr, pConfig uintptr, zCm
if azArg != 0 && pSpace != 0 {
if (*Fts5Config)(unsafe.Pointer(pConfig)).FpTok != 0 {
- *(*uintptr)(unsafe.Pointer(pzErr)) = Xsqlite3_mprintf(tls, ts+35366, 0)
+ *(*uintptr)(unsafe.Pointer(pzErr)) = Xsqlite3_mprintf(tls, ts+35936, 0)
*(*int32)(unsafe.Pointer(bp + 40)) = SQLITE_ERROR
} else {
for nArg = int64(0); p != 0 && *(*int8)(unsafe.Pointer(p)) != 0; nArg++ {
@@ -182100,7 +183126,7 @@ func fts5ConfigParseSpecial(tls *libc.TLS, pGlobal uintptr, pConfig uintptr, zCm
}
}
if p == uintptr(0) {
- *(*uintptr)(unsafe.Pointer(pzErr)) = Xsqlite3_mprintf(tls, ts+35399, 0)
+ *(*uintptr)(unsafe.Pointer(pzErr)) = Xsqlite3_mprintf(tls, ts+35969, 0)
*(*int32)(unsafe.Pointer(bp + 40)) = SQLITE_ERROR
} else {
*(*int32)(unsafe.Pointer(bp + 40)) = sqlite3Fts5GetTokenizer(tls, pGlobal,
@@ -182115,14 +183141,14 @@ func fts5ConfigParseSpecial(tls *libc.TLS, pGlobal uintptr, pConfig uintptr, zCm
return *(*int32)(unsafe.Pointer(bp + 40))
}
- if Xsqlite3_strnicmp(tls, ts+35433, zCmd, nCmd) == 0 {
+ if Xsqlite3_strnicmp(tls, ts+36003, zCmd, nCmd) == 0 {
if (*Fts5Config)(unsafe.Pointer(pConfig)).FeContent != FTS5_CONTENT_NORMAL {
- *(*uintptr)(unsafe.Pointer(pzErr)) = Xsqlite3_mprintf(tls, ts+35441, 0)
+ *(*uintptr)(unsafe.Pointer(pzErr)) = Xsqlite3_mprintf(tls, ts+36011, 0)
*(*int32)(unsafe.Pointer(bp + 40)) = SQLITE_ERROR
} else {
if *(*int8)(unsafe.Pointer(zArg)) != 0 {
(*Fts5Config)(unsafe.Pointer(pConfig)).FeContent = FTS5_CONTENT_EXTERNAL
- (*Fts5Config)(unsafe.Pointer(pConfig)).FzContent = sqlite3Fts5Mprintf(tls, bp+40, ts+35473, libc.VaList(bp+8, (*Fts5Config)(unsafe.Pointer(pConfig)).FzDb, zArg))
+ (*Fts5Config)(unsafe.Pointer(pConfig)).FzContent = sqlite3Fts5Mprintf(tls, bp+40, ts+36043, libc.VaList(bp+8, (*Fts5Config)(unsafe.Pointer(pConfig)).FzDb, zArg))
} else {
(*Fts5Config)(unsafe.Pointer(pConfig)).FeContent = FTS5_CONTENT_NONE
}
@@ -182130,9 +183156,9 @@ func fts5ConfigParseSpecial(tls *libc.TLS, pGlobal uintptr, pConfig uintptr, zCm
return *(*int32)(unsafe.Pointer(bp + 40))
}
- if Xsqlite3_strnicmp(tls, ts+35479, zCmd, nCmd) == 0 {
+ if Xsqlite3_strnicmp(tls, ts+36049, zCmd, nCmd) == 0 {
if (*Fts5Config)(unsafe.Pointer(pConfig)).FzContentRowid != 0 {
- *(*uintptr)(unsafe.Pointer(pzErr)) = Xsqlite3_mprintf(tls, ts+35493, 0)
+ *(*uintptr)(unsafe.Pointer(pzErr)) = Xsqlite3_mprintf(tls, ts+36063, 0)
*(*int32)(unsafe.Pointer(bp + 40)) = SQLITE_ERROR
} else {
(*Fts5Config)(unsafe.Pointer(pConfig)).FzContentRowid = sqlite3Fts5Strndup(tls, bp+40, zArg, -1)
@@ -182140,9 +183166,9 @@ func fts5ConfigParseSpecial(tls *libc.TLS, pGlobal uintptr, pConfig uintptr, zCm
return *(*int32)(unsafe.Pointer(bp + 40))
}
- if Xsqlite3_strnicmp(tls, ts+35531, zCmd, nCmd) == 0 {
+ if Xsqlite3_strnicmp(tls, ts+36101, zCmd, nCmd) == 0 {
if int32(*(*int8)(unsafe.Pointer(zArg))) != '0' && int32(*(*int8)(unsafe.Pointer(zArg))) != '1' || int32(*(*int8)(unsafe.Pointer(zArg + 1))) != 0 {
- *(*uintptr)(unsafe.Pointer(pzErr)) = Xsqlite3_mprintf(tls, ts+35542, 0)
+ *(*uintptr)(unsafe.Pointer(pzErr)) = Xsqlite3_mprintf(tls, ts+36112, 0)
*(*int32)(unsafe.Pointer(bp + 40)) = SQLITE_ERROR
} else {
(*Fts5Config)(unsafe.Pointer(pConfig)).FbColumnsize = libc.Bool32(int32(*(*int8)(unsafe.Pointer(zArg))) == '1')
@@ -182150,21 +183176,21 @@ func fts5ConfigParseSpecial(tls *libc.TLS, pGlobal uintptr, pConfig uintptr, zCm
return *(*int32)(unsafe.Pointer(bp + 40))
}
- if Xsqlite3_strnicmp(tls, ts+6427, zCmd, nCmd) == 0 {
+ if Xsqlite3_strnicmp(tls, ts+6446, zCmd, nCmd) == 0 {
*(*[4]Fts5Enum)(unsafe.Pointer(bp + 48)) = [4]Fts5Enum{
- {FzName: ts + 9378, FeVal: FTS5_DETAIL_NONE},
- {FzName: ts + 18714},
- {FzName: ts + 35577, FeVal: FTS5_DETAIL_COLUMNS},
+ {FzName: ts + 9397, FeVal: FTS5_DETAIL_NONE},
+ {FzName: ts + 18733},
+ {FzName: ts + 36147, FeVal: FTS5_DETAIL_COLUMNS},
{},
}
if libc.AssignPtrInt32(bp+40, fts5ConfigSetEnum(tls, bp+48, zArg, pConfig+92)) != 0 {
- *(*uintptr)(unsafe.Pointer(pzErr)) = Xsqlite3_mprintf(tls, ts+35585, 0)
+ *(*uintptr)(unsafe.Pointer(pzErr)) = Xsqlite3_mprintf(tls, ts+36155, 0)
}
return *(*int32)(unsafe.Pointer(bp + 40))
}
- *(*uintptr)(unsafe.Pointer(pzErr)) = Xsqlite3_mprintf(tls, ts+35616, libc.VaList(bp+24, nCmd, zCmd))
+ *(*uintptr)(unsafe.Pointer(pzErr)) = Xsqlite3_mprintf(tls, ts+36186, libc.VaList(bp+24, nCmd, zCmd))
return SQLITE_ERROR
}
@@ -182211,15 +183237,15 @@ func fts5ConfigParseColumn(tls *libc.TLS, p uintptr, zCol uintptr, zArg uintptr,
defer tls.Free(16)
var rc int32 = SQLITE_OK
- if 0 == Xsqlite3_stricmp(tls, zCol, ts+23560) ||
- 0 == Xsqlite3_stricmp(tls, zCol, ts+17625) {
- *(*uintptr)(unsafe.Pointer(pzErr)) = Xsqlite3_mprintf(tls, ts+35644, libc.VaList(bp, zCol))
+ if 0 == Xsqlite3_stricmp(tls, zCol, ts+23626) ||
+ 0 == Xsqlite3_stricmp(tls, zCol, ts+17644) {
+ *(*uintptr)(unsafe.Pointer(pzErr)) = Xsqlite3_mprintf(tls, ts+36214, libc.VaList(bp, zCol))
rc = SQLITE_ERROR
} else if zArg != 0 {
- if 0 == Xsqlite3_stricmp(tls, zArg, ts+35674) {
+ if 0 == Xsqlite3_stricmp(tls, zArg, ts+36244) {
*(*U8)(unsafe.Pointer((*Fts5Config)(unsafe.Pointer(p)).FabUnindexed + uintptr((*Fts5Config)(unsafe.Pointer(p)).FnCol))) = U8(1)
} else {
- *(*uintptr)(unsafe.Pointer(pzErr)) = Xsqlite3_mprintf(tls, ts+35684, libc.VaList(bp+8, zArg))
+ *(*uintptr)(unsafe.Pointer(pzErr)) = Xsqlite3_mprintf(tls, ts+36254, libc.VaList(bp+8, zArg))
rc = SQLITE_ERROR
}
}
@@ -182236,13 +183262,13 @@ func fts5ConfigMakeExprlist(tls *libc.TLS, p uintptr) int32 {
*(*int32)(unsafe.Pointer(bp + 24)) = SQLITE_OK
*(*Fts5Buffer)(unsafe.Pointer(bp + 32)) = Fts5Buffer{}
- sqlite3Fts5BufferAppendPrintf(tls, bp+24, bp+32, ts+35715, libc.VaList(bp, (*Fts5Config)(unsafe.Pointer(p)).FzContentRowid))
+ sqlite3Fts5BufferAppendPrintf(tls, bp+24, bp+32, ts+36285, libc.VaList(bp, (*Fts5Config)(unsafe.Pointer(p)).FzContentRowid))
if (*Fts5Config)(unsafe.Pointer(p)).FeContent != FTS5_CONTENT_NONE {
for i = 0; i < (*Fts5Config)(unsafe.Pointer(p)).FnCol; i++ {
if (*Fts5Config)(unsafe.Pointer(p)).FeContent == FTS5_CONTENT_EXTERNAL {
- sqlite3Fts5BufferAppendPrintf(tls, bp+24, bp+32, ts+35720, libc.VaList(bp+8, *(*uintptr)(unsafe.Pointer((*Fts5Config)(unsafe.Pointer(p)).FazCol + uintptr(i)*8))))
+ sqlite3Fts5BufferAppendPrintf(tls, bp+24, bp+32, ts+36290, libc.VaList(bp+8, *(*uintptr)(unsafe.Pointer((*Fts5Config)(unsafe.Pointer(p)).FazCol + uintptr(i)*8))))
} else {
- sqlite3Fts5BufferAppendPrintf(tls, bp+24, bp+32, ts+35727, libc.VaList(bp+16, i))
+ sqlite3Fts5BufferAppendPrintf(tls, bp+24, bp+32, ts+36297, libc.VaList(bp+16, i))
}
}
}
@@ -182280,8 +183306,8 @@ func sqlite3Fts5ConfigParse(tls *libc.TLS, pGlobal uintptr, db uintptr, nArg int
(*Fts5Config)(unsafe.Pointer(pRet)).FzName = sqlite3Fts5Strndup(tls, bp+40, *(*uintptr)(unsafe.Pointer(azArg + 2*8)), -1)
(*Fts5Config)(unsafe.Pointer(pRet)).FbColumnsize = 1
(*Fts5Config)(unsafe.Pointer(pRet)).FeDetail = FTS5_DETAIL_FULL
- if *(*int32)(unsafe.Pointer(bp + 40)) == SQLITE_OK && Xsqlite3_stricmp(tls, (*Fts5Config)(unsafe.Pointer(pRet)).FzName, ts+23560) == 0 {
- *(*uintptr)(unsafe.Pointer(pzErr)) = Xsqlite3_mprintf(tls, ts+35735, libc.VaList(bp, (*Fts5Config)(unsafe.Pointer(pRet)).FzName))
+ if *(*int32)(unsafe.Pointer(bp + 40)) == SQLITE_OK && Xsqlite3_stricmp(tls, (*Fts5Config)(unsafe.Pointer(pRet)).FzName, ts+23626) == 0 {
+ *(*uintptr)(unsafe.Pointer(pzErr)) = Xsqlite3_mprintf(tls, ts+36305, libc.VaList(bp, (*Fts5Config)(unsafe.Pointer(pRet)).FzName))
*(*int32)(unsafe.Pointer(bp + 40)) = SQLITE_ERROR
}
@@ -182313,7 +183339,7 @@ func sqlite3Fts5ConfigParse(tls *libc.TLS, pGlobal uintptr, db uintptr, nArg int
if *(*int32)(unsafe.Pointer(bp + 40)) == SQLITE_OK {
if z == uintptr(0) {
- *(*uintptr)(unsafe.Pointer(pzErr)) = Xsqlite3_mprintf(tls, ts+35764, libc.VaList(bp+8, zOrig))
+ *(*uintptr)(unsafe.Pointer(pzErr)) = Xsqlite3_mprintf(tls, ts+36334, libc.VaList(bp+8, zOrig))
*(*int32)(unsafe.Pointer(bp + 40)) = SQLITE_ERROR
} else {
if bOption != 0 {
@@ -182322,13 +183348,13 @@ func sqlite3Fts5ConfigParse(tls *libc.TLS, pGlobal uintptr, db uintptr, nArg int
if *(*uintptr)(unsafe.Pointer(bp + 48)) != 0 {
return *(*uintptr)(unsafe.Pointer(bp + 48))
}
- return ts + 1544
+ return ts + 1563
}(),
func() uintptr {
if *(*uintptr)(unsafe.Pointer(bp + 64)) != 0 {
return *(*uintptr)(unsafe.Pointer(bp + 64))
}
- return ts + 1544
+ return ts + 1563
}(),
pzErr)
} else {
@@ -182350,19 +183376,19 @@ func sqlite3Fts5ConfigParse(tls *libc.TLS, pGlobal uintptr, db uintptr, nArg int
var zTail uintptr = uintptr(0)
if (*Fts5Config)(unsafe.Pointer(pRet)).FeContent == FTS5_CONTENT_NORMAL {
- zTail = ts + 35433
+ zTail = ts + 36003
} else if (*Fts5Config)(unsafe.Pointer(pRet)).FbColumnsize != 0 {
- zTail = ts + 35784
+ zTail = ts + 36354
}
if zTail != 0 {
(*Fts5Config)(unsafe.Pointer(pRet)).FzContent = sqlite3Fts5Mprintf(tls,
- bp+40, ts+35792, libc.VaList(bp+16, (*Fts5Config)(unsafe.Pointer(pRet)).FzDb, (*Fts5Config)(unsafe.Pointer(pRet)).FzName, zTail))
+ bp+40, ts+36362, libc.VaList(bp+16, (*Fts5Config)(unsafe.Pointer(pRet)).FzDb, (*Fts5Config)(unsafe.Pointer(pRet)).FzName, zTail))
}
}
if *(*int32)(unsafe.Pointer(bp + 40)) == SQLITE_OK && (*Fts5Config)(unsafe.Pointer(pRet)).FzContentRowid == uintptr(0) {
- (*Fts5Config)(unsafe.Pointer(pRet)).FzContentRowid = sqlite3Fts5Strndup(tls, bp+40, ts+17625, -1)
+ (*Fts5Config)(unsafe.Pointer(pRet)).FzContentRowid = sqlite3Fts5Strndup(tls, bp+40, ts+17644, -1)
}
if *(*int32)(unsafe.Pointer(bp + 40)) == SQLITE_OK {
@@ -182406,18 +183432,18 @@ func sqlite3Fts5ConfigDeclareVtab(tls *libc.TLS, pConfig uintptr) int32 {
*(*int32)(unsafe.Pointer(bp + 48)) = SQLITE_OK
var zSql uintptr
- zSql = sqlite3Fts5Mprintf(tls, bp+48, ts+35803, 0)
+ zSql = sqlite3Fts5Mprintf(tls, bp+48, ts+36373, 0)
for i = 0; zSql != 0 && i < (*Fts5Config)(unsafe.Pointer(pConfig)).FnCol; i++ {
var zSep uintptr = func() uintptr {
if i == 0 {
- return ts + 1544
+ return ts + 1563
}
- return ts + 15971
+ return ts + 15990
}()
- zSql = sqlite3Fts5Mprintf(tls, bp+48, ts+35819, libc.VaList(bp, zSql, zSep, *(*uintptr)(unsafe.Pointer((*Fts5Config)(unsafe.Pointer(pConfig)).FazCol + uintptr(i)*8))))
+ zSql = sqlite3Fts5Mprintf(tls, bp+48, ts+36389, libc.VaList(bp, zSql, zSep, *(*uintptr)(unsafe.Pointer((*Fts5Config)(unsafe.Pointer(pConfig)).FazCol + uintptr(i)*8))))
}
- zSql = sqlite3Fts5Mprintf(tls, bp+48, ts+35826,
- libc.VaList(bp+24, zSql, (*Fts5Config)(unsafe.Pointer(pConfig)).FzName, ts+23560))
+ zSql = sqlite3Fts5Mprintf(tls, bp+48, ts+36396,
+ libc.VaList(bp+24, zSql, (*Fts5Config)(unsafe.Pointer(pConfig)).FzName, ts+23626))
if zSql != 0 {
*(*int32)(unsafe.Pointer(bp + 48)) = Xsqlite3_declare_vtab(tls, (*Fts5Config)(unsafe.Pointer(pConfig)).Fdb, zSql)
@@ -182527,7 +183553,7 @@ func sqlite3Fts5ConfigSetValue(tls *libc.TLS, pConfig uintptr, zKey uintptr, pVa
var rc int32 = SQLITE_OK
- if 0 == Xsqlite3_stricmp(tls, zKey, ts+35852) {
+ if 0 == Xsqlite3_stricmp(tls, zKey, ts+36422) {
var pgsz int32 = 0
if SQLITE_INTEGER == Xsqlite3_value_numeric_type(tls, pVal) {
pgsz = Xsqlite3_value_int(tls, pVal)
@@ -182537,7 +183563,7 @@ func sqlite3Fts5ConfigSetValue(tls *libc.TLS, pConfig uintptr, zKey uintptr, pVa
} else {
(*Fts5Config)(unsafe.Pointer(pConfig)).Fpgsz = pgsz
}
- } else if 0 == Xsqlite3_stricmp(tls, zKey, ts+35857) {
+ } else if 0 == Xsqlite3_stricmp(tls, zKey, ts+36427) {
var nHashSize int32 = -1
if SQLITE_INTEGER == Xsqlite3_value_numeric_type(tls, pVal) {
nHashSize = Xsqlite3_value_int(tls, pVal)
@@ -182547,7 +183573,7 @@ func sqlite3Fts5ConfigSetValue(tls *libc.TLS, pConfig uintptr, zKey uintptr, pVa
} else {
(*Fts5Config)(unsafe.Pointer(pConfig)).FnHashSize = nHashSize
}
- } else if 0 == Xsqlite3_stricmp(tls, zKey, ts+35866) {
+ } else if 0 == Xsqlite3_stricmp(tls, zKey, ts+36436) {
var nAutomerge int32 = -1
if SQLITE_INTEGER == Xsqlite3_value_numeric_type(tls, pVal) {
nAutomerge = Xsqlite3_value_int(tls, pVal)
@@ -182560,7 +183586,7 @@ func sqlite3Fts5ConfigSetValue(tls *libc.TLS, pConfig uintptr, zKey uintptr, pVa
}
(*Fts5Config)(unsafe.Pointer(pConfig)).FnAutomerge = nAutomerge
}
- } else if 0 == Xsqlite3_stricmp(tls, zKey, ts+35876) {
+ } else if 0 == Xsqlite3_stricmp(tls, zKey, ts+36446) {
var nUsermerge int32 = -1
if SQLITE_INTEGER == Xsqlite3_value_numeric_type(tls, pVal) {
nUsermerge = Xsqlite3_value_int(tls, pVal)
@@ -182570,7 +183596,7 @@ func sqlite3Fts5ConfigSetValue(tls *libc.TLS, pConfig uintptr, zKey uintptr, pVa
} else {
(*Fts5Config)(unsafe.Pointer(pConfig)).FnUsermerge = nUsermerge
}
- } else if 0 == Xsqlite3_stricmp(tls, zKey, ts+35886) {
+ } else if 0 == Xsqlite3_stricmp(tls, zKey, ts+36456) {
var nCrisisMerge int32 = -1
if SQLITE_INTEGER == Xsqlite3_value_numeric_type(tls, pVal) {
nCrisisMerge = Xsqlite3_value_int(tls, pVal)
@@ -182586,7 +183612,7 @@ func sqlite3Fts5ConfigSetValue(tls *libc.TLS, pConfig uintptr, zKey uintptr, pVa
}
(*Fts5Config)(unsafe.Pointer(pConfig)).FnCrisisMerge = nCrisisMerge
}
- } else if 0 == Xsqlite3_stricmp(tls, zKey, ts+23560) {
+ } else if 0 == Xsqlite3_stricmp(tls, zKey, ts+23626) {
var zIn uintptr = Xsqlite3_value_text(tls, pVal)
rc = sqlite3Fts5ConfigParseRank(tls, zIn, bp, bp+8)
@@ -182609,7 +183635,7 @@ func sqlite3Fts5ConfigLoad(tls *libc.TLS, pConfig uintptr, iCookie int32) int32
bp := tls.Alloc(52)
defer tls.Free(52)
- var zSelect uintptr = ts + 35898
+ var zSelect uintptr = ts + 36468
var zSql uintptr
*(*uintptr)(unsafe.Pointer(bp + 40)) = uintptr(0)
*(*int32)(unsafe.Pointer(bp + 32)) = SQLITE_OK
@@ -182631,7 +183657,7 @@ func sqlite3Fts5ConfigLoad(tls *libc.TLS, pConfig uintptr, iCookie int32) int32
for SQLITE_ROW == Xsqlite3_step(tls, *(*uintptr)(unsafe.Pointer(bp + 40))) {
var zK uintptr = Xsqlite3_column_text(tls, *(*uintptr)(unsafe.Pointer(bp + 40)), 0)
var pVal uintptr = Xsqlite3_column_value(tls, *(*uintptr)(unsafe.Pointer(bp + 40)), 1)
- if 0 == Xsqlite3_stricmp(tls, zK, ts+35930) {
+ if 0 == Xsqlite3_stricmp(tls, zK, ts+36500) {
iVersion = Xsqlite3_value_int(tls, pVal)
} else {
*(*int32)(unsafe.Pointer(bp + 48)) = 0
@@ -182645,7 +183671,7 @@ func sqlite3Fts5ConfigLoad(tls *libc.TLS, pConfig uintptr, iCookie int32) int32
*(*int32)(unsafe.Pointer(bp + 32)) = SQLITE_ERROR
if (*Fts5Config)(unsafe.Pointer(pConfig)).FpzErrmsg != 0 {
*(*uintptr)(unsafe.Pointer((*Fts5Config)(unsafe.Pointer(pConfig)).FpzErrmsg)) = Xsqlite3_mprintf(tls,
- ts+35938,
+ ts+36508,
libc.VaList(bp+16, iVersion, FTS5_CURRENT_VERSION))
}
}
@@ -182743,7 +183769,7 @@ func fts5ExprGetToken(tls *libc.TLS, pParse uintptr, pz uintptr, pToken uintptr)
}
}
if int32(*(*int8)(unsafe.Pointer(z2))) == 0 {
- sqlite3Fts5ParseError(tls, pParse, ts+36003, 0)
+ sqlite3Fts5ParseError(tls, pParse, ts+36573, 0)
return FTS5_EOF
}
}
@@ -182756,20 +183782,20 @@ func fts5ExprGetToken(tls *libc.TLS, pParse uintptr, pz uintptr, pToken uintptr)
{
var z2 uintptr
if sqlite3Fts5IsBareword(tls, *(*int8)(unsafe.Pointer(z))) == 0 {
- sqlite3Fts5ParseError(tls, pParse, ts+36023, libc.VaList(bp, z))
+ sqlite3Fts5ParseError(tls, pParse, ts+36593, libc.VaList(bp, z))
return FTS5_EOF
}
tok = FTS5_STRING
for z2 = z + 1; sqlite3Fts5IsBareword(tls, *(*int8)(unsafe.Pointer(z2))) != 0; z2++ {
}
(*Fts5Token)(unsafe.Pointer(pToken)).Fn = int32((int64(z2) - int64(z)) / 1)
- if (*Fts5Token)(unsafe.Pointer(pToken)).Fn == 2 && libc.Xmemcmp(tls, (*Fts5Token)(unsafe.Pointer(pToken)).Fp, ts+36054, uint64(2)) == 0 {
+ if (*Fts5Token)(unsafe.Pointer(pToken)).Fn == 2 && libc.Xmemcmp(tls, (*Fts5Token)(unsafe.Pointer(pToken)).Fp, ts+36624, uint64(2)) == 0 {
tok = FTS5_OR
}
- if (*Fts5Token)(unsafe.Pointer(pToken)).Fn == 3 && libc.Xmemcmp(tls, (*Fts5Token)(unsafe.Pointer(pToken)).Fp, ts+36057, uint64(3)) == 0 {
+ if (*Fts5Token)(unsafe.Pointer(pToken)).Fn == 3 && libc.Xmemcmp(tls, (*Fts5Token)(unsafe.Pointer(pToken)).Fp, ts+36627, uint64(3)) == 0 {
tok = FTS5_NOT
}
- if (*Fts5Token)(unsafe.Pointer(pToken)).Fn == 3 && libc.Xmemcmp(tls, (*Fts5Token)(unsafe.Pointer(pToken)).Fp, ts+31439, uint64(3)) == 0 {
+ if (*Fts5Token)(unsafe.Pointer(pToken)).Fn == 3 && libc.Xmemcmp(tls, (*Fts5Token)(unsafe.Pointer(pToken)).Fp, ts+31505, uint64(3)) == 0 {
tok = FTS5_AND
}
break
@@ -184547,9 +185573,9 @@ func sqlite3Fts5ParseNear(tls *libc.TLS, pParse uintptr, pTok uintptr) {
bp := tls.Alloc(16)
defer tls.Free(16)
- if (*Fts5Token)(unsafe.Pointer(pTok)).Fn != 4 || libc.Xmemcmp(tls, ts+36061, (*Fts5Token)(unsafe.Pointer(pTok)).Fp, uint64(4)) != 0 {
+ if (*Fts5Token)(unsafe.Pointer(pTok)).Fn != 4 || libc.Xmemcmp(tls, ts+36631, (*Fts5Token)(unsafe.Pointer(pTok)).Fp, uint64(4)) != 0 {
sqlite3Fts5ParseError(tls,
- pParse, ts+35090, libc.VaList(bp, (*Fts5Token)(unsafe.Pointer(pTok)).Fn, (*Fts5Token)(unsafe.Pointer(pTok)).Fp))
+ pParse, ts+35660, libc.VaList(bp, (*Fts5Token)(unsafe.Pointer(pTok)).Fn, (*Fts5Token)(unsafe.Pointer(pTok)).Fp))
}
}
@@ -184565,7 +185591,7 @@ func sqlite3Fts5ParseSetDistance(tls *libc.TLS, pParse uintptr, pNear uintptr, p
var c int8 = *(*int8)(unsafe.Pointer((*Fts5Token)(unsafe.Pointer(p)).Fp + uintptr(i)))
if int32(c) < '0' || int32(c) > '9' {
sqlite3Fts5ParseError(tls,
- pParse, ts+36066, libc.VaList(bp, (*Fts5Token)(unsafe.Pointer(p)).Fn, (*Fts5Token)(unsafe.Pointer(p)).Fp))
+ pParse, ts+36636, libc.VaList(bp, (*Fts5Token)(unsafe.Pointer(p)).Fn, (*Fts5Token)(unsafe.Pointer(p)).Fp))
return
}
nNear = nNear*10 + (int32(*(*int8)(unsafe.Pointer((*Fts5Token)(unsafe.Pointer(p)).Fp + uintptr(i)))) - '0')
@@ -184652,7 +185678,7 @@ func sqlite3Fts5ParseColset(tls *libc.TLS, pParse uintptr, pColset uintptr, p ui
}
}
if iCol == (*Fts5Config)(unsafe.Pointer(pConfig)).FnCol {
- sqlite3Fts5ParseError(tls, pParse, ts+21897, libc.VaList(bp, z))
+ sqlite3Fts5ParseError(tls, pParse, ts+21963, libc.VaList(bp, z))
} else {
pRet = fts5ParseColset(tls, pParse, pColset, iCol)
}
@@ -184733,7 +185759,7 @@ func sqlite3Fts5ParseSetColset(tls *libc.TLS, pParse uintptr, pExpr uintptr, pCo
*(*uintptr)(unsafe.Pointer(bp)) = pColset
if (*Fts5Config)(unsafe.Pointer((*Fts5Parse)(unsafe.Pointer(pParse)).FpConfig)).FeDetail == FTS5_DETAIL_NONE {
sqlite3Fts5ParseError(tls, pParse,
- ts+36095, 0)
+ ts+36665, 0)
} else {
fts5ParseSetColset(tls, pParse, pExpr, pColset, bp)
}
@@ -184903,12 +185929,12 @@ func sqlite3Fts5ParseNode(tls *libc.TLS, pParse uintptr, eType int32, pLeft uint
(*Fts5ExprPhrase)(unsafe.Pointer(pPhrase)).FnTerm > 1 ||
(*Fts5ExprPhrase)(unsafe.Pointer(pPhrase)).FnTerm > 0 && (*Fts5ExprTerm)(unsafe.Pointer(pPhrase+32)).FbFirst != 0 {
sqlite3Fts5ParseError(tls, pParse,
- ts+36148,
+ ts+36718,
libc.VaList(bp, func() uintptr {
if (*Fts5ExprNearset)(unsafe.Pointer(pNear)).FnPhrase == 1 {
- return ts + 36198
+ return ts + 36768
}
- return ts + 36061
+ return ts + 36631
}()))
Xsqlite3_free(tls, pRet)
pRet = uintptr(0)
@@ -185851,7 +186877,7 @@ func fts5DataRead(tls *libc.TLS, p uintptr, iRowid I64) uintptr {
if (*Fts5Index)(unsafe.Pointer(p)).FpReader == uintptr(0) && rc == SQLITE_OK {
var pConfig uintptr = (*Fts5Index)(unsafe.Pointer(p)).FpConfig
rc = Xsqlite3_blob_open(tls, (*Fts5Config)(unsafe.Pointer(pConfig)).Fdb,
- (*Fts5Config)(unsafe.Pointer(pConfig)).FzDb, (*Fts5Index)(unsafe.Pointer(p)).FzDataTbl, ts+36205, iRowid, 0, p+56)
+ (*Fts5Config)(unsafe.Pointer(pConfig)).FzDb, (*Fts5Index)(unsafe.Pointer(p)).FzDataTbl, ts+36775, iRowid, 0, p+56)
}
if rc == SQLITE_ERROR {
@@ -185930,7 +186956,7 @@ func fts5DataWrite(tls *libc.TLS, p uintptr, iRowid I64, pData uintptr, nData in
if (*Fts5Index)(unsafe.Pointer(p)).FpWriter == uintptr(0) {
var pConfig uintptr = (*Fts5Index)(unsafe.Pointer(p)).FpConfig
fts5IndexPrepareStmt(tls, p, p+64, Xsqlite3_mprintf(tls,
- ts+36211,
+ ts+36781,
libc.VaList(bp, (*Fts5Config)(unsafe.Pointer(pConfig)).FzDb, (*Fts5Config)(unsafe.Pointer(pConfig)).FzName)))
if (*Fts5Index)(unsafe.Pointer(p)).Frc != 0 {
return
@@ -185955,7 +186981,7 @@ func fts5DataDelete(tls *libc.TLS, p uintptr, iFirst I64, iLast I64) {
if (*Fts5Index)(unsafe.Pointer(p)).FpDeleter == uintptr(0) {
var pConfig uintptr = (*Fts5Index)(unsafe.Pointer(p)).FpConfig
var zSql uintptr = Xsqlite3_mprintf(tls,
- ts+36262,
+ ts+36832,
libc.VaList(bp, (*Fts5Config)(unsafe.Pointer(pConfig)).FzDb, (*Fts5Config)(unsafe.Pointer(pConfig)).FzName))
if fts5IndexPrepareStmt(tls, p, p+72, zSql) != 0 {
return
@@ -185978,7 +187004,7 @@ func fts5DataRemoveSegment(tls *libc.TLS, p uintptr, iSegid int32) {
if (*Fts5Index)(unsafe.Pointer(p)).FpIdxDeleter == uintptr(0) {
var pConfig uintptr = (*Fts5Index)(unsafe.Pointer(p)).FpConfig
fts5IndexPrepareStmt(tls, p, p+88, Xsqlite3_mprintf(tls,
- ts+36311,
+ ts+36881,
libc.VaList(bp, (*Fts5Config)(unsafe.Pointer(pConfig)).FzDb, (*Fts5Config)(unsafe.Pointer(pConfig)).FzName)))
}
if (*Fts5Index)(unsafe.Pointer(p)).Frc == SQLITE_OK {
@@ -186217,7 +187243,7 @@ func fts5IndexDataVersion(tls *libc.TLS, p uintptr) I64 {
if (*Fts5Index)(unsafe.Pointer(p)).Frc == SQLITE_OK {
if (*Fts5Index)(unsafe.Pointer(p)).FpDataVersion == uintptr(0) {
(*Fts5Index)(unsafe.Pointer(p)).Frc = fts5IndexPrepareStmt(tls, p, p+112,
- Xsqlite3_mprintf(tls, ts+36351, libc.VaList(bp, (*Fts5Config)(unsafe.Pointer((*Fts5Index)(unsafe.Pointer(p)).FpConfig)).FzDb)))
+ Xsqlite3_mprintf(tls, ts+36921, libc.VaList(bp, (*Fts5Config)(unsafe.Pointer((*Fts5Index)(unsafe.Pointer(p)).FpConfig)).FzDb)))
if (*Fts5Index)(unsafe.Pointer(p)).Frc != 0 {
return int64(0)
}
@@ -187416,7 +188442,7 @@ func fts5IdxSelectStmt(tls *libc.TLS, p uintptr) uintptr {
if (*Fts5Index)(unsafe.Pointer(p)).FpIdxSelect == uintptr(0) {
var pConfig uintptr = (*Fts5Index)(unsafe.Pointer(p)).FpConfig
fts5IndexPrepareStmt(tls, p, p+96, Xsqlite3_mprintf(tls,
- ts+36374,
+ ts+36944,
libc.VaList(bp, (*Fts5Config)(unsafe.Pointer(pConfig)).FzDb, (*Fts5Config)(unsafe.Pointer(pConfig)).FzName)))
}
return (*Fts5Index)(unsafe.Pointer(p)).FpIdxSelect
@@ -188609,7 +189635,7 @@ func fts5WriteFlushBtree(tls *libc.TLS, p uintptr, pWriter uintptr) {
if (*Fts5SegWriter)(unsafe.Pointer(pWriter)).Fbtterm.Fn > 0 {
return (*Fts5SegWriter)(unsafe.Pointer(pWriter)).Fbtterm.Fp
}
- return ts + 1544
+ return ts + 1563
}()
Xsqlite3_bind_blob(tls, (*Fts5Index)(unsafe.Pointer(p)).FpIdxWriter, 2, z, (*Fts5SegWriter)(unsafe.Pointer(pWriter)).Fbtterm.Fn, uintptr(0))
@@ -188882,7 +189908,7 @@ func fts5WriteInit(tls *libc.TLS, p uintptr, pWriter uintptr, iSegid int32) {
if (*Fts5Index)(unsafe.Pointer(p)).FpIdxWriter == uintptr(0) {
var pConfig uintptr = (*Fts5Index)(unsafe.Pointer(p)).FpConfig
fts5IndexPrepareStmt(tls, p, p+80, Xsqlite3_mprintf(tls,
- ts+36458,
+ ts+37028,
libc.VaList(bp, (*Fts5Config)(unsafe.Pointer(pConfig)).FzDb, (*Fts5Config)(unsafe.Pointer(pConfig)).FzName)))
}
@@ -189948,7 +190974,7 @@ func sqlite3Fts5IndexReinit(tls *libc.TLS, p uintptr) int32 {
fts5StructureInvalidate(tls, p)
fts5IndexDiscardData(tls, p)
libc.Xmemset(tls, bp, 0, uint64(unsafe.Sizeof(Fts5Structure{})))
- fts5DataWrite(tls, p, int64(FTS5_AVERAGES_ROWID), ts+1544, 0)
+ fts5DataWrite(tls, p, int64(FTS5_AVERAGES_ROWID), ts+1563, 0)
fts5StructureWrite(tls, p, bp)
return fts5IndexReturn(tls, p)
}
@@ -189964,13 +190990,13 @@ func sqlite3Fts5IndexOpen(tls *libc.TLS, pConfig uintptr, bCreate int32, pp uint
if *(*int32)(unsafe.Pointer(bp + 8)) == SQLITE_OK {
(*Fts5Index)(unsafe.Pointer(p)).FpConfig = pConfig
(*Fts5Index)(unsafe.Pointer(p)).FnWorkUnit = FTS5_WORK_UNIT
- (*Fts5Index)(unsafe.Pointer(p)).FzDataTbl = sqlite3Fts5Mprintf(tls, bp+8, ts+36515, libc.VaList(bp, (*Fts5Config)(unsafe.Pointer(pConfig)).FzName))
+ (*Fts5Index)(unsafe.Pointer(p)).FzDataTbl = sqlite3Fts5Mprintf(tls, bp+8, ts+37085, libc.VaList(bp, (*Fts5Config)(unsafe.Pointer(pConfig)).FzName))
if (*Fts5Index)(unsafe.Pointer(p)).FzDataTbl != 0 && bCreate != 0 {
*(*int32)(unsafe.Pointer(bp + 8)) = sqlite3Fts5CreateTable(tls,
- pConfig, ts+26432, ts+36523, 0, pzErr)
+ pConfig, ts+26498, ts+37093, 0, pzErr)
if *(*int32)(unsafe.Pointer(bp + 8)) == SQLITE_OK {
- *(*int32)(unsafe.Pointer(bp + 8)) = sqlite3Fts5CreateTable(tls, pConfig, ts+12840,
- ts+36558,
+ *(*int32)(unsafe.Pointer(bp + 8)) = sqlite3Fts5CreateTable(tls, pConfig, ts+12859,
+ ts+37128,
1, pzErr)
}
if *(*int32)(unsafe.Pointer(bp + 8)) == SQLITE_OK {
@@ -190223,7 +191249,7 @@ func sqlite3Fts5IndexSetCookie(tls *libc.TLS, p uintptr, iNew int32) int32 {
sqlite3Fts5Put32(tls, bp, iNew)
rc = Xsqlite3_blob_open(tls, (*Fts5Config)(unsafe.Pointer(pConfig)).Fdb, (*Fts5Config)(unsafe.Pointer(pConfig)).FzDb, (*Fts5Index)(unsafe.Pointer(p)).FzDataTbl,
- ts+36205, int64(FTS5_STRUCTURE_ROWID), 1, bp+8)
+ ts+36775, int64(FTS5_STRUCTURE_ROWID), 1, bp+8)
if rc == SQLITE_OK {
Xsqlite3_blob_write(tls, *(*uintptr)(unsafe.Pointer(bp + 8)), bp, 4, 0)
rc = Xsqlite3_blob_close(tls, *(*uintptr)(unsafe.Pointer(bp + 8)))
@@ -190337,7 +191363,7 @@ func fts5IndexIntegrityCheckSegment(tls *libc.TLS, p uintptr, pSeg uintptr) {
}
fts5IndexPrepareStmt(tls, p, bp+24, Xsqlite3_mprintf(tls,
- ts+36602,
+ ts+37172,
libc.VaList(bp, (*Fts5Config)(unsafe.Pointer(pConfig)).FzDb, (*Fts5Config)(unsafe.Pointer(pConfig)).FzName, (*Fts5StructureSegment)(unsafe.Pointer(pSeg)).FiSegid)))
for (*Fts5Index)(unsafe.Pointer(p)).Frc == SQLITE_OK && SQLITE_ROW == Xsqlite3_step(tls, *(*uintptr)(unsafe.Pointer(bp + 24))) {
@@ -190507,7 +191533,7 @@ func sqlite3Fts5IndexIntegrityCheck(tls *libc.TLS, p uintptr, cksum U64, bUseCks
} else {
(*Fts5Buffer)(unsafe.Pointer(bp + 16)).Fn = 0
fts5SegiterPoslist(tls, p, *(*uintptr)(unsafe.Pointer(bp))+96+uintptr((*Fts5CResult)(unsafe.Pointer((*Fts5Iter)(unsafe.Pointer(*(*uintptr)(unsafe.Pointer(bp)))).FaFirst+1*4)).FiFirst)*120, uintptr(0), bp+16)
- sqlite3Fts5BufferAppendBlob(tls, p+52, bp+16, uint32(4), ts+36688)
+ sqlite3Fts5BufferAppendBlob(tls, p+52, bp+16, uint32(4), ts+37258)
for 0 == sqlite3Fts5PoslistNext64(tls, (*Fts5Buffer)(unsafe.Pointer(bp+16)).Fp, (*Fts5Buffer)(unsafe.Pointer(bp+16)).Fn, bp+32, bp+40) {
var iCol int32 = int32(*(*I64)(unsafe.Pointer(bp + 40)) >> 32)
var iTokOff int32 = int32(*(*I64)(unsafe.Pointer(bp + 40)) & int64(0x7FFFFFFF))
@@ -190778,7 +191804,7 @@ func fts5BestIndexMethod(tls *libc.TLS, pVTab uintptr, pInfo uintptr) int32 {
if (*Fts5Config)(unsafe.Pointer(pConfig)).FbLock != 0 {
(*Fts5Table)(unsafe.Pointer(pTab)).Fbase.FzErrMsg = Xsqlite3_mprintf(tls,
- ts+36693, 0)
+ ts+37263, 0)
return SQLITE_ERROR
}
@@ -190809,7 +191835,7 @@ func fts5BestIndexMethod(tls *libc.TLS, pVTab uintptr, pInfo uintptr) int32 {
} else if iCol >= 0 {
bSeenMatch = 1
*(*int8)(unsafe.Pointer(idxStr + uintptr(libc.PostIncInt32(&iIdxStr, 1)))) = int8('M')
- Xsqlite3_snprintf(tls, 6, idxStr+uintptr(iIdxStr), ts+6327, libc.VaList(bp, iCol))
+ Xsqlite3_snprintf(tls, 6, idxStr+uintptr(iIdxStr), ts+6346, libc.VaList(bp, iCol))
idxStr += uintptr(libc.Xstrlen(tls, idxStr+uintptr(iIdxStr)))
}
@@ -190824,7 +191850,7 @@ func fts5BestIndexMethod(tls *libc.TLS, pVTab uintptr, pInfo uintptr) int32 {
}
return int8('G')
}()
- Xsqlite3_snprintf(tls, 6, idxStr+uintptr(iIdxStr), ts+6327, libc.VaList(bp+8, iCol))
+ Xsqlite3_snprintf(tls, 6, idxStr+uintptr(iIdxStr), ts+6346, libc.VaList(bp+8, iCol))
idxStr += uintptr(libc.Xstrlen(tls, idxStr+uintptr(iIdxStr)))
(*sqlite3_index_constraint_usage)(unsafe.Pointer((*Sqlite3_index_info)(unsafe.Pointer(pInfo)).FaConstraintUsage + uintptr(i)*8)).FargvIndex = libc.PreIncInt32(&iCons, 1)
@@ -191138,7 +192164,7 @@ func fts5NextMethod(tls *libc.TLS, pCursor uintptr) int32 {
rc = Xsqlite3_reset(tls, (*Fts5Cursor)(unsafe.Pointer(pCsr)).FpStmt)
if rc != SQLITE_OK {
(*Sqlite3_vtab)(unsafe.Pointer((*Sqlite3_vtab_cursor)(unsafe.Pointer(pCursor)).FpVtab)).FzErrMsg = Xsqlite3_mprintf(tls,
- ts+4493, libc.VaList(bp, Xsqlite3_errmsg(tls, (*Fts5Config)(unsafe.Pointer(pConfig)).Fdb)))
+ ts+4512, libc.VaList(bp, Xsqlite3_errmsg(tls, (*Fts5Config)(unsafe.Pointer(pConfig)).Fdb)))
}
} else {
rc = SQLITE_OK
@@ -191170,7 +192196,7 @@ func fts5PrepareStatement(tls *libc.TLS, ppStmt uintptr, pConfig uintptr, zFmt u
rc = Xsqlite3_prepare_v3(tls, (*Fts5Config)(unsafe.Pointer(pConfig)).Fdb, zSql, -1,
uint32(SQLITE_PREPARE_PERSISTENT), bp+8, uintptr(0))
if rc != SQLITE_OK {
- *(*uintptr)(unsafe.Pointer((*Fts5Config)(unsafe.Pointer(pConfig)).FpzErrmsg)) = Xsqlite3_mprintf(tls, ts+4493, libc.VaList(bp, Xsqlite3_errmsg(tls, (*Fts5Config)(unsafe.Pointer(pConfig)).Fdb)))
+ *(*uintptr)(unsafe.Pointer((*Fts5Config)(unsafe.Pointer(pConfig)).FpzErrmsg)) = Xsqlite3_mprintf(tls, ts+4512, libc.VaList(bp, Xsqlite3_errmsg(tls, (*Fts5Config)(unsafe.Pointer(pConfig)).Fdb)))
}
Xsqlite3_free(tls, zSql)
}
@@ -191202,25 +192228,25 @@ func fts5CursorFirstSorted(tls *libc.TLS, pTab uintptr, pCsr uintptr, bDesc int3
(*Fts5Sorter)(unsafe.Pointer(pSorter)).FnIdx = nPhrase
rc = fts5PrepareStatement(tls, pSorter, pConfig,
- ts+36732,
+ ts+37302,
libc.VaList(bp, (*Fts5Config)(unsafe.Pointer(pConfig)).FzDb, (*Fts5Config)(unsafe.Pointer(pConfig)).FzName, zRank, (*Fts5Config)(unsafe.Pointer(pConfig)).FzName,
func() uintptr {
if zRankArgs != 0 {
- return ts + 15971
+ return ts + 15990
}
- return ts + 1544
+ return ts + 1563
}(),
func() uintptr {
if zRankArgs != 0 {
return zRankArgs
}
- return ts + 1544
+ return ts + 1563
}(),
func() uintptr {
if bDesc != 0 {
- return ts + 36787
+ return ts + 37357
}
- return ts + 36792
+ return ts + 37362
}()))
(*Fts5Cursor)(unsafe.Pointer(pCsr)).FpSorter = pSorter
@@ -191266,12 +192292,12 @@ func fts5SpecialMatch(tls *libc.TLS, pTab uintptr, pCsr uintptr, zQuery uintptr)
(*Fts5Cursor)(unsafe.Pointer(pCsr)).FePlan = FTS5_PLAN_SPECIAL
- if n == 5 && 0 == Xsqlite3_strnicmp(tls, ts+36796, z, n) {
+ if n == 5 && 0 == Xsqlite3_strnicmp(tls, ts+37366, z, n) {
(*Fts5Cursor)(unsafe.Pointer(pCsr)).FiSpecial = I64(sqlite3Fts5IndexReads(tls, (*Fts5FullTable)(unsafe.Pointer(pTab)).Fp.FpIndex))
- } else if n == 2 && 0 == Xsqlite3_strnicmp(tls, ts+6409, z, n) {
+ } else if n == 2 && 0 == Xsqlite3_strnicmp(tls, ts+6428, z, n) {
(*Fts5Cursor)(unsafe.Pointer(pCsr)).FiSpecial = (*Fts5Cursor)(unsafe.Pointer(pCsr)).FiCsrId
} else {
- (*Fts5FullTable)(unsafe.Pointer(pTab)).Fp.Fbase.FzErrMsg = Xsqlite3_mprintf(tls, ts+36802, libc.VaList(bp, n, z))
+ (*Fts5FullTable)(unsafe.Pointer(pTab)).Fp.Fbase.FzErrMsg = Xsqlite3_mprintf(tls, ts+37372, libc.VaList(bp, n, z))
rc = SQLITE_ERROR
}
@@ -191302,7 +192328,7 @@ func fts5FindRankFunction(tls *libc.TLS, pCsr uintptr) int32 {
var zRankArgs uintptr = (*Fts5Cursor)(unsafe.Pointer(pCsr)).FzRankArgs
if zRankArgs != 0 {
- var zSql uintptr = sqlite3Fts5Mprintf(tls, bp+16, ts+36830, libc.VaList(bp, zRankArgs))
+ var zSql uintptr = sqlite3Fts5Mprintf(tls, bp+16, ts+37400, libc.VaList(bp, zRankArgs))
if zSql != 0 {
*(*uintptr)(unsafe.Pointer(bp + 24)) = uintptr(0)
*(*int32)(unsafe.Pointer(bp + 16)) = Xsqlite3_prepare_v3(tls, (*Fts5Config)(unsafe.Pointer(pConfig)).Fdb, zSql, -1,
@@ -191333,7 +192359,7 @@ func fts5FindRankFunction(tls *libc.TLS, pCsr uintptr) int32 {
if *(*int32)(unsafe.Pointer(bp + 16)) == SQLITE_OK {
pAux = fts5FindAuxiliary(tls, pTab, zRank)
if pAux == uintptr(0) {
- (*Fts5FullTable)(unsafe.Pointer(pTab)).Fp.Fbase.FzErrMsg = Xsqlite3_mprintf(tls, ts+36840, libc.VaList(bp+8, zRank))
+ (*Fts5FullTable)(unsafe.Pointer(pTab)).Fp.Fbase.FzErrMsg = Xsqlite3_mprintf(tls, ts+37410, libc.VaList(bp+8, zRank))
*(*int32)(unsafe.Pointer(bp + 16)) = SQLITE_ERROR
}
}
@@ -191365,14 +192391,14 @@ func fts5CursorParseRank(tls *libc.TLS, pConfig uintptr, pCsr uintptr, pRank uin
*(*int32)(unsafe.Pointer(pCsr + 80)) |= FTS5CSR_FREE_ZRANK
} else if rc == SQLITE_ERROR {
(*Sqlite3_vtab)(unsafe.Pointer((*Fts5Cursor)(unsafe.Pointer(pCsr)).Fbase.FpVtab)).FzErrMsg = Xsqlite3_mprintf(tls,
- ts+36861, libc.VaList(bp, z))
+ ts+37431, libc.VaList(bp, z))
}
} else {
if (*Fts5Config)(unsafe.Pointer(pConfig)).FzRank != 0 {
(*Fts5Cursor)(unsafe.Pointer(pCsr)).FzRank = (*Fts5Config)(unsafe.Pointer(pConfig)).FzRank
(*Fts5Cursor)(unsafe.Pointer(pCsr)).FzRankArgs = (*Fts5Config)(unsafe.Pointer(pConfig)).FzRankArgs
} else {
- (*Fts5Cursor)(unsafe.Pointer(pCsr)).FzRank = ts + 35244
+ (*Fts5Cursor)(unsafe.Pointer(pCsr)).FzRank = ts + 35814
(*Fts5Cursor)(unsafe.Pointer(pCsr)).FzRankArgs = uintptr(0)
}
}
@@ -191428,7 +192454,7 @@ func fts5FilterMethod(tls *libc.TLS, pCursor uintptr, idxNum int32, idxStr uintp
goto __1
}
(*Fts5FullTable)(unsafe.Pointer(pTab)).Fp.Fbase.FzErrMsg = Xsqlite3_mprintf(tls,
- ts+36693, 0)
+ ts+37263, 0)
return SQLITE_ERROR
__1:
;
@@ -191471,7 +192497,7 @@ __8:
if !(zText == uintptr(0)) {
goto __14
}
- zText = ts + 1544
+ zText = ts + 1563
__14:
;
iCol = 0
@@ -191645,7 +192671,7 @@ __35:
goto __40
}
*(*uintptr)(unsafe.Pointer((*Fts5Config)(unsafe.Pointer(pConfig)).FpzErrmsg)) = Xsqlite3_mprintf(tls,
- ts+36894, libc.VaList(bp, (*Fts5Config)(unsafe.Pointer(pConfig)).FzName))
+ ts+37464, libc.VaList(bp, (*Fts5Config)(unsafe.Pointer(pConfig)).FzName))
rc = SQLITE_ERROR
goto __41
__40:
@@ -191766,7 +192792,7 @@ func fts5SeekCursor(tls *libc.TLS, pCsr uintptr, bErrormsg int32) int32 {
rc = SQLITE_CORRUPT | int32(1)<<8
} else if (*Fts5Config)(unsafe.Pointer((*Fts5Table)(unsafe.Pointer(pTab)).FpConfig)).FpzErrmsg != 0 {
*(*uintptr)(unsafe.Pointer((*Fts5Config)(unsafe.Pointer((*Fts5Table)(unsafe.Pointer(pTab)).FpConfig)).FpzErrmsg)) = Xsqlite3_mprintf(tls,
- ts+4493, libc.VaList(bp, Xsqlite3_errmsg(tls, (*Fts5Config)(unsafe.Pointer((*Fts5Table)(unsafe.Pointer(pTab)).FpConfig)).Fdb)))
+ ts+4512, libc.VaList(bp, Xsqlite3_errmsg(tls, (*Fts5Config)(unsafe.Pointer((*Fts5Table)(unsafe.Pointer(pTab)).FpConfig)).Fdb)))
}
}
}
@@ -191790,28 +192816,28 @@ func fts5SpecialInsert(tls *libc.TLS, pTab uintptr, zCmd uintptr, pVal uintptr)
var rc int32 = SQLITE_OK
*(*int32)(unsafe.Pointer(bp)) = 0
- if 0 == Xsqlite3_stricmp(tls, ts+36930, zCmd) {
+ if 0 == Xsqlite3_stricmp(tls, ts+37500, zCmd) {
if (*Fts5Config)(unsafe.Pointer(pConfig)).FeContent == FTS5_CONTENT_NORMAL {
fts5SetVtabError(tls, pTab,
- ts+36941, 0)
+ ts+37511, 0)
rc = SQLITE_ERROR
} else {
rc = sqlite3Fts5StorageDeleteAll(tls, (*Fts5FullTable)(unsafe.Pointer(pTab)).FpStorage)
}
- } else if 0 == Xsqlite3_stricmp(tls, ts+37021, zCmd) {
+ } else if 0 == Xsqlite3_stricmp(tls, ts+37591, zCmd) {
if (*Fts5Config)(unsafe.Pointer(pConfig)).FeContent == FTS5_CONTENT_NONE {
fts5SetVtabError(tls, pTab,
- ts+37029, 0)
+ ts+37599, 0)
rc = SQLITE_ERROR
} else {
rc = sqlite3Fts5StorageRebuild(tls, (*Fts5FullTable)(unsafe.Pointer(pTab)).FpStorage)
}
- } else if 0 == Xsqlite3_stricmp(tls, ts+18313, zCmd) {
+ } else if 0 == Xsqlite3_stricmp(tls, ts+18332, zCmd) {
rc = sqlite3Fts5StorageOptimize(tls, (*Fts5FullTable)(unsafe.Pointer(pTab)).FpStorage)
- } else if 0 == Xsqlite3_stricmp(tls, ts+37085, zCmd) {
+ } else if 0 == Xsqlite3_stricmp(tls, ts+37655, zCmd) {
var nMerge int32 = Xsqlite3_value_int(tls, pVal)
rc = sqlite3Fts5StorageMerge(tls, (*Fts5FullTable)(unsafe.Pointer(pTab)).FpStorage, nMerge)
- } else if 0 == Xsqlite3_stricmp(tls, ts+37091, zCmd) {
+ } else if 0 == Xsqlite3_stricmp(tls, ts+37661, zCmd) {
var iArg int32 = Xsqlite3_value_int(tls, pVal)
rc = sqlite3Fts5StorageIntegrity(tls, (*Fts5FullTable)(unsafe.Pointer(pTab)).FpStorage, iArg)
} else {
@@ -191869,7 +192895,7 @@ func fts5UpdateMethod(tls *libc.TLS, pVtab uintptr, nArg int32, apVal uintptr, p
Xsqlite3_value_type(tls, *(*uintptr)(unsafe.Pointer(apVal + uintptr(2+(*Fts5Config)(unsafe.Pointer(pConfig)).FnCol)*8))) != SQLITE_NULL {
var z uintptr = Xsqlite3_value_text(tls, *(*uintptr)(unsafe.Pointer(apVal + uintptr(2+(*Fts5Config)(unsafe.Pointer(pConfig)).FnCol)*8)))
if (*Fts5Config)(unsafe.Pointer(pConfig)).FeContent != FTS5_CONTENT_NORMAL &&
- 0 == Xsqlite3_stricmp(tls, ts+18848, z) {
+ 0 == Xsqlite3_stricmp(tls, ts+18867, z) {
*(*int32)(unsafe.Pointer(bp + 16)) = fts5SpecialDelete(tls, pTab, apVal)
} else {
*(*int32)(unsafe.Pointer(bp + 16)) = fts5SpecialInsert(tls, pTab, z, *(*uintptr)(unsafe.Pointer(apVal + uintptr(2+(*Fts5Config)(unsafe.Pointer(pConfig)).FnCol+1)*8)))
@@ -191882,12 +192908,12 @@ func fts5UpdateMethod(tls *libc.TLS, pVtab uintptr, nArg int32, apVal uintptr, p
if eType0 == SQLITE_INTEGER && fts5IsContentless(tls, pTab) != 0 {
(*Fts5FullTable)(unsafe.Pointer(pTab)).Fp.Fbase.FzErrMsg = Xsqlite3_mprintf(tls,
- ts+37107,
+ ts+37677,
libc.VaList(bp, func() uintptr {
if nArg > 1 {
- return ts + 21798
+ return ts + 21864
}
- return ts + 37144
+ return ts + 37714
}(), (*Fts5Config)(unsafe.Pointer(pConfig)).FzName))
*(*int32)(unsafe.Pointer(bp + 16)) = SQLITE_ERROR
} else if nArg == 1 {
@@ -192517,7 +193543,7 @@ func fts5ApiCallback(tls *libc.TLS, context uintptr, argc int32, argv uintptr) {
pCsr = fts5CursorFromCsrid(tls, (*Fts5Auxiliary)(unsafe.Pointer(pAux)).FpGlobal, iCsrId)
if pCsr == uintptr(0) || (*Fts5Cursor)(unsafe.Pointer(pCsr)).FePlan == 0 {
- var zErr uintptr = Xsqlite3_mprintf(tls, ts+37156, libc.VaList(bp, iCsrId))
+ var zErr uintptr = Xsqlite3_mprintf(tls, ts+37726, libc.VaList(bp, iCsrId))
Xsqlite3_result_error(tls, context, zErr, -1)
Xsqlite3_free(tls, zErr)
} else {
@@ -192761,7 +193787,7 @@ func sqlite3Fts5GetTokenizer(tls *libc.TLS, pGlobal uintptr, azArg uintptr, nArg
}())
if pMod == uintptr(0) {
rc = SQLITE_ERROR
- *(*uintptr)(unsafe.Pointer(pzErr)) = Xsqlite3_mprintf(tls, ts+37177, libc.VaList(bp, *(*uintptr)(unsafe.Pointer(azArg))))
+ *(*uintptr)(unsafe.Pointer(pzErr)) = Xsqlite3_mprintf(tls, ts+37747, libc.VaList(bp, *(*uintptr)(unsafe.Pointer(azArg))))
} else {
rc = (*struct {
f func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32
@@ -192780,7 +193806,7 @@ func sqlite3Fts5GetTokenizer(tls *libc.TLS, pGlobal uintptr, azArg uintptr, nArg
(*Fts5Config)(unsafe.Pointer(pConfig)).FpTokApi = pMod + 16
if rc != SQLITE_OK {
if pzErr != 0 {
- *(*uintptr)(unsafe.Pointer(pzErr)) = Xsqlite3_mprintf(tls, ts+37199, 0)
+ *(*uintptr)(unsafe.Pointer(pzErr)) = Xsqlite3_mprintf(tls, ts+37769, 0)
}
} else {
(*Fts5Config)(unsafe.Pointer(pConfig)).FePattern = sqlite3Fts5TokenizerPattern(tls,
@@ -192827,7 +193853,7 @@ func fts5Fts5Func(tls *libc.TLS, pCtx uintptr, nArg int32, apArg uintptr) {
var ppApi uintptr
_ = nArg
- ppApi = Xsqlite3_value_pointer(tls, *(*uintptr)(unsafe.Pointer(apArg)), ts+37230)
+ ppApi = Xsqlite3_value_pointer(tls, *(*uintptr)(unsafe.Pointer(apArg)), ts+37800)
if ppApi != 0 {
*(*uintptr)(unsafe.Pointer(ppApi)) = pGlobal
}
@@ -192836,7 +193862,7 @@ func fts5Fts5Func(tls *libc.TLS, pCtx uintptr, nArg int32, apArg uintptr) {
func fts5SourceIdFunc(tls *libc.TLS, pCtx uintptr, nArg int32, apUnused uintptr) {
_ = nArg
_ = apUnused
- Xsqlite3_result_text(tls, pCtx, ts+37243, -1, libc.UintptrFromInt32(-1))
+ Xsqlite3_result_text(tls, pCtx, ts+37813, -1, libc.UintptrFromInt32(-1))
}
func fts5ShadowName(tls *libc.TLS, zName uintptr) int32 {
@@ -192850,7 +193876,7 @@ func fts5ShadowName(tls *libc.TLS, zName uintptr) int32 {
}
var azName2 = [5]uintptr{
- ts + 37334, ts + 35433, ts + 26432, ts + 35784, ts + 12840,
+ ts + 37904, ts + 36003, ts + 26498, ts + 36354, ts + 12859,
}
func fts5Init(tls *libc.TLS, db uintptr) int32 {
@@ -192874,7 +193900,7 @@ func fts5Init(tls *libc.TLS, db uintptr) int32 {
(*Fts5Global)(unsafe.Pointer(pGlobal)).Fapi.FxFindTokenizer = *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, uintptr, uintptr, uintptr) int32
}{fts5FindTokenizer}))
- rc = Xsqlite3_create_module_v2(tls, db, ts+37341, uintptr(unsafe.Pointer(&fts5Mod)), p, *(*uintptr)(unsafe.Pointer(&struct{ f func(*libc.TLS, uintptr) }{fts5ModuleDestroy})))
+ rc = Xsqlite3_create_module_v2(tls, db, ts+37911, uintptr(unsafe.Pointer(&fts5Mod)), p, *(*uintptr)(unsafe.Pointer(&struct{ f func(*libc.TLS, uintptr) }{fts5ModuleDestroy})))
if rc == SQLITE_OK {
rc = sqlite3Fts5IndexInit(tls, db)
}
@@ -192892,13 +193918,13 @@ func fts5Init(tls *libc.TLS, db uintptr) int32 {
}
if rc == SQLITE_OK {
rc = Xsqlite3_create_function(tls,
- db, ts+37341, 1, SQLITE_UTF8, p, *(*uintptr)(unsafe.Pointer(&struct {
+ db, ts+37911, 1, SQLITE_UTF8, p, *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, int32, uintptr)
}{fts5Fts5Func})), uintptr(0), uintptr(0))
}
if rc == SQLITE_OK {
rc = Xsqlite3_create_function(tls,
- db, ts+37346, 0,
+ db, ts+37916, 0,
SQLITE_UTF8|SQLITE_DETERMINISTIC|SQLITE_INNOCUOUS,
p, *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, int32, uintptr)
@@ -192955,17 +193981,17 @@ func fts5StorageGetStmt(tls *libc.TLS, p uintptr, eStmt int32, ppStmt uintptr, p
if *(*uintptr)(unsafe.Pointer(p + 40 + uintptr(eStmt)*8)) == uintptr(0) {
*(*[11]uintptr)(unsafe.Pointer(bp + 128)) = [11]uintptr{
- ts + 37361,
- ts + 37429,
- ts + 37498,
- ts + 37531,
- ts + 37570,
- ts + 37610,
- ts + 37649,
- ts + 37690,
- ts + 37729,
- ts + 37771,
- ts + 37811,
+ ts + 37931,
+ ts + 37999,
+ ts + 38068,
+ ts + 38101,
+ ts + 38140,
+ ts + 38180,
+ ts + 38219,
+ ts + 38260,
+ ts + 38299,
+ ts + 38341,
+ ts + 38381,
}
var pC uintptr = (*Fts5Storage)(unsafe.Pointer(p)).FpConfig
var zSql uintptr = uintptr(0)
@@ -193032,7 +194058,7 @@ func fts5StorageGetStmt(tls *libc.TLS, p uintptr, eStmt int32, ppStmt uintptr, p
(*Fts5Config)(unsafe.Pointer((*Fts5Storage)(unsafe.Pointer(p)).FpConfig)).FbLock--
Xsqlite3_free(tls, zSql)
if rc != SQLITE_OK && pzErrMsg != 0 {
- *(*uintptr)(unsafe.Pointer(pzErrMsg)) = Xsqlite3_mprintf(tls, ts+4493, libc.VaList(bp+120, Xsqlite3_errmsg(tls, (*Fts5Config)(unsafe.Pointer(pC)).Fdb)))
+ *(*uintptr)(unsafe.Pointer(pzErrMsg)) = Xsqlite3_mprintf(tls, ts+4512, libc.VaList(bp+120, Xsqlite3_errmsg(tls, (*Fts5Config)(unsafe.Pointer(pC)).Fdb)))
}
}
}
@@ -193067,18 +194093,18 @@ func sqlite3Fts5DropAll(tls *libc.TLS, pConfig uintptr) int32 {
defer tls.Free(80)
var rc int32 = fts5ExecPrintf(tls, (*Fts5Config)(unsafe.Pointer(pConfig)).Fdb, uintptr(0),
- ts+37834,
+ ts+38404,
libc.VaList(bp, (*Fts5Config)(unsafe.Pointer(pConfig)).FzDb, (*Fts5Config)(unsafe.Pointer(pConfig)).FzName,
(*Fts5Config)(unsafe.Pointer(pConfig)).FzDb, (*Fts5Config)(unsafe.Pointer(pConfig)).FzName,
(*Fts5Config)(unsafe.Pointer(pConfig)).FzDb, (*Fts5Config)(unsafe.Pointer(pConfig)).FzName))
if rc == SQLITE_OK && (*Fts5Config)(unsafe.Pointer(pConfig)).FbColumnsize != 0 {
rc = fts5ExecPrintf(tls, (*Fts5Config)(unsafe.Pointer(pConfig)).Fdb, uintptr(0),
- ts+37938,
+ ts+38508,
libc.VaList(bp+48, (*Fts5Config)(unsafe.Pointer(pConfig)).FzDb, (*Fts5Config)(unsafe.Pointer(pConfig)).FzName))
}
if rc == SQLITE_OK && (*Fts5Config)(unsafe.Pointer(pConfig)).FeContent == FTS5_CONTENT_NORMAL {
rc = fts5ExecPrintf(tls, (*Fts5Config)(unsafe.Pointer(pConfig)).Fdb, uintptr(0),
- ts+37976,
+ ts+38546,
libc.VaList(bp+64, (*Fts5Config)(unsafe.Pointer(pConfig)).FzDb, (*Fts5Config)(unsafe.Pointer(pConfig)).FzName))
}
return rc
@@ -193090,7 +194116,7 @@ func fts5StorageRenameOne(tls *libc.TLS, pConfig uintptr, pRc uintptr, zTail uin
if *(*int32)(unsafe.Pointer(pRc)) == SQLITE_OK {
*(*int32)(unsafe.Pointer(pRc)) = fts5ExecPrintf(tls, (*Fts5Config)(unsafe.Pointer(pConfig)).Fdb, uintptr(0),
- ts+38014,
+ ts+38584,
libc.VaList(bp, (*Fts5Config)(unsafe.Pointer(pConfig)).FzDb, (*Fts5Config)(unsafe.Pointer(pConfig)).FzName, zTail, zName, zTail))
}
}
@@ -193102,14 +194128,14 @@ func sqlite3Fts5StorageRename(tls *libc.TLS, pStorage uintptr, zName uintptr) in
var pConfig uintptr = (*Fts5Storage)(unsafe.Pointer(pStorage)).FpConfig
*(*int32)(unsafe.Pointer(bp)) = sqlite3Fts5StorageSync(tls, pStorage)
- fts5StorageRenameOne(tls, pConfig, bp, ts+26432, zName)
- fts5StorageRenameOne(tls, pConfig, bp, ts+12840, zName)
- fts5StorageRenameOne(tls, pConfig, bp, ts+37334, zName)
+ fts5StorageRenameOne(tls, pConfig, bp, ts+26498, zName)
+ fts5StorageRenameOne(tls, pConfig, bp, ts+12859, zName)
+ fts5StorageRenameOne(tls, pConfig, bp, ts+37904, zName)
if (*Fts5Config)(unsafe.Pointer(pConfig)).FbColumnsize != 0 {
- fts5StorageRenameOne(tls, pConfig, bp, ts+35784, zName)
+ fts5StorageRenameOne(tls, pConfig, bp, ts+36354, zName)
}
if (*Fts5Config)(unsafe.Pointer(pConfig)).FeContent == FTS5_CONTENT_NORMAL {
- fts5StorageRenameOne(tls, pConfig, bp, ts+35433, zName)
+ fts5StorageRenameOne(tls, pConfig, bp, ts+36003, zName)
}
return *(*int32)(unsafe.Pointer(bp))
}
@@ -193121,17 +194147,17 @@ func sqlite3Fts5CreateTable(tls *libc.TLS, pConfig uintptr, zPost uintptr, zDefn
var rc int32
*(*uintptr)(unsafe.Pointer(bp + 64)) = uintptr(0)
- rc = fts5ExecPrintf(tls, (*Fts5Config)(unsafe.Pointer(pConfig)).Fdb, bp+64, ts+38056,
+ rc = fts5ExecPrintf(tls, (*Fts5Config)(unsafe.Pointer(pConfig)).Fdb, bp+64, ts+38626,
libc.VaList(bp, (*Fts5Config)(unsafe.Pointer(pConfig)).FzDb, (*Fts5Config)(unsafe.Pointer(pConfig)).FzName, zPost, zDefn,
func() uintptr {
if bWithout != 0 {
- return ts + 31085
+ return ts + 31151
}
- return ts + 1544
+ return ts + 1563
}()))
if *(*uintptr)(unsafe.Pointer(bp + 64)) != 0 {
*(*uintptr)(unsafe.Pointer(pzErr)) = Xsqlite3_mprintf(tls,
- ts+38086,
+ ts+38656,
libc.VaList(bp+40, (*Fts5Config)(unsafe.Pointer(pConfig)).FzName, zPost, *(*uintptr)(unsafe.Pointer(bp + 64))))
Xsqlite3_free(tls, *(*uintptr)(unsafe.Pointer(bp + 64)))
}
@@ -193168,27 +194194,27 @@ func sqlite3Fts5StorageOpen(tls *libc.TLS, pConfig uintptr, pIndex uintptr, bCre
} else {
var i int32
var iOff int32
- Xsqlite3_snprintf(tls, nDefn, zDefn, ts+38130, 0)
+ Xsqlite3_snprintf(tls, nDefn, zDefn, ts+38700, 0)
iOff = int32(libc.Xstrlen(tls, zDefn))
for i = 0; i < (*Fts5Config)(unsafe.Pointer(pConfig)).FnCol; i++ {
- Xsqlite3_snprintf(tls, nDefn-iOff, zDefn+uintptr(iOff), ts+38153, libc.VaList(bp, i))
+ Xsqlite3_snprintf(tls, nDefn-iOff, zDefn+uintptr(iOff), ts+38723, libc.VaList(bp, i))
iOff = iOff + int32(libc.Xstrlen(tls, zDefn+uintptr(iOff)))
}
- rc = sqlite3Fts5CreateTable(tls, pConfig, ts+35433, zDefn, 0, pzErr)
+ rc = sqlite3Fts5CreateTable(tls, pConfig, ts+36003, zDefn, 0, pzErr)
}
Xsqlite3_free(tls, zDefn)
}
if rc == SQLITE_OK && (*Fts5Config)(unsafe.Pointer(pConfig)).FbColumnsize != 0 {
rc = sqlite3Fts5CreateTable(tls,
- pConfig, ts+35784, ts+38159, 0, pzErr)
+ pConfig, ts+36354, ts+38729, 0, pzErr)
}
if rc == SQLITE_OK {
rc = sqlite3Fts5CreateTable(tls,
- pConfig, ts+37334, ts+38191, 1, pzErr)
+ pConfig, ts+37904, ts+38761, 1, pzErr)
}
if rc == SQLITE_OK {
- rc = sqlite3Fts5StorageConfigValue(tls, p, ts+35930, uintptr(0), FTS5_CURRENT_VERSION)
+ rc = sqlite3Fts5StorageConfigValue(tls, p, ts+36500, uintptr(0), FTS5_CURRENT_VERSION)
}
}
@@ -193394,12 +194420,12 @@ func sqlite3Fts5StorageDeleteAll(tls *libc.TLS, p uintptr) int32 {
(*Fts5Storage)(unsafe.Pointer(p)).FbTotalsValid = 0
rc = fts5ExecPrintf(tls, (*Fts5Config)(unsafe.Pointer(pConfig)).Fdb, uintptr(0),
- ts+38208,
+ ts+38778,
libc.VaList(bp, (*Fts5Config)(unsafe.Pointer(pConfig)).FzDb, (*Fts5Config)(unsafe.Pointer(pConfig)).FzName,
(*Fts5Config)(unsafe.Pointer(pConfig)).FzDb, (*Fts5Config)(unsafe.Pointer(pConfig)).FzName))
if rc == SQLITE_OK && (*Fts5Config)(unsafe.Pointer(pConfig)).FbColumnsize != 0 {
rc = fts5ExecPrintf(tls, (*Fts5Config)(unsafe.Pointer(pConfig)).Fdb, uintptr(0),
- ts+38258,
+ ts+38828,
libc.VaList(bp+32, (*Fts5Config)(unsafe.Pointer(pConfig)).FzDb, (*Fts5Config)(unsafe.Pointer(pConfig)).FzName))
}
@@ -193407,7 +194433,7 @@ func sqlite3Fts5StorageDeleteAll(tls *libc.TLS, p uintptr) int32 {
rc = sqlite3Fts5IndexReinit(tls, (*Fts5Storage)(unsafe.Pointer(p)).FpIndex)
}
if rc == SQLITE_OK {
- rc = sqlite3Fts5StorageConfigValue(tls, p, ts+35930, uintptr(0), FTS5_CURRENT_VERSION)
+ rc = sqlite3Fts5StorageConfigValue(tls, p, ts+36500, uintptr(0), FTS5_CURRENT_VERSION)
}
return rc
}
@@ -193583,7 +194609,7 @@ func fts5StorageCount(tls *libc.TLS, p uintptr, zSuffix uintptr, pnRow uintptr)
var zSql uintptr
var rc int32
- zSql = Xsqlite3_mprintf(tls, ts+38287,
+ zSql = Xsqlite3_mprintf(tls, ts+38857,
libc.VaList(bp, (*Fts5Config)(unsafe.Pointer(pConfig)).FzDb, (*Fts5Config)(unsafe.Pointer(pConfig)).FzName, zSuffix))
if zSql == uintptr(0) {
rc = SQLITE_NOMEM
@@ -193765,14 +194791,14 @@ func sqlite3Fts5StorageIntegrity(tls *libc.TLS, p uintptr, iArg int32) int32 {
if rc == SQLITE_OK && (*Fts5Config)(unsafe.Pointer(pConfig)).FeContent == FTS5_CONTENT_NORMAL {
*(*I64)(unsafe.Pointer(bp + 48)) = int64(0)
- rc = fts5StorageCount(tls, p, ts+35433, bp+48)
+ rc = fts5StorageCount(tls, p, ts+36003, bp+48)
if rc == SQLITE_OK && *(*I64)(unsafe.Pointer(bp + 48)) != (*Fts5Storage)(unsafe.Pointer(p)).FnTotalRow {
rc = SQLITE_CORRUPT | int32(1)<<8
}
}
if rc == SQLITE_OK && (*Fts5Config)(unsafe.Pointer(pConfig)).FbColumnsize != 0 {
*(*I64)(unsafe.Pointer(bp + 56)) = int64(0)
- rc = fts5StorageCount(tls, p, ts+35784, bp+56)
+ rc = fts5StorageCount(tls, p, ts+36354, bp+56)
if rc == SQLITE_OK && *(*I64)(unsafe.Pointer(bp + 56)) != (*Fts5Storage)(unsafe.Pointer(p)).FnTotalRow {
rc = SQLITE_CORRUPT | int32(1)<<8
}
@@ -193967,9 +194993,9 @@ func fts5AsciiCreate(tls *libc.TLS, pUnused uintptr, azArg uintptr, nArg int32,
libc.Xmemcpy(tls, p, uintptr(unsafe.Pointer(&aAsciiTokenChar)), uint64(unsafe.Sizeof(aAsciiTokenChar)))
for i = 0; rc == SQLITE_OK && i < nArg; i = i + 2 {
var zArg uintptr = *(*uintptr)(unsafe.Pointer(azArg + uintptr(i+1)*8))
- if 0 == Xsqlite3_stricmp(tls, *(*uintptr)(unsafe.Pointer(azArg + uintptr(i)*8)), ts+38319) {
+ if 0 == Xsqlite3_stricmp(tls, *(*uintptr)(unsafe.Pointer(azArg + uintptr(i)*8)), ts+38889) {
fts5AsciiAddExceptions(tls, p, zArg, 1)
- } else if 0 == Xsqlite3_stricmp(tls, *(*uintptr)(unsafe.Pointer(azArg + uintptr(i)*8)), ts+38330) {
+ } else if 0 == Xsqlite3_stricmp(tls, *(*uintptr)(unsafe.Pointer(azArg + uintptr(i)*8)), ts+38900) {
fts5AsciiAddExceptions(tls, p, zArg, 0)
} else {
rc = SQLITE_ERROR
@@ -194184,7 +195210,7 @@ func fts5UnicodeCreate(tls *libc.TLS, pUnused uintptr, azArg uintptr, nArg int32
} else {
p = Xsqlite3_malloc(tls, int32(unsafe.Sizeof(Unicode61Tokenizer{})))
if p != 0 {
- var zCat uintptr = ts + 38341
+ var zCat uintptr = ts + 38911
var i int32
libc.Xmemset(tls, p, 0, uint64(unsafe.Sizeof(Unicode61Tokenizer{})))
@@ -194196,7 +195222,7 @@ func fts5UnicodeCreate(tls *libc.TLS, pUnused uintptr, azArg uintptr, nArg int32
}
for i = 0; rc == SQLITE_OK && i < nArg; i = i + 2 {
- if 0 == Xsqlite3_stricmp(tls, *(*uintptr)(unsafe.Pointer(azArg + uintptr(i)*8)), ts+38350) {
+ if 0 == Xsqlite3_stricmp(tls, *(*uintptr)(unsafe.Pointer(azArg + uintptr(i)*8)), ts+38920) {
zCat = *(*uintptr)(unsafe.Pointer(azArg + uintptr(i+1)*8))
}
}
@@ -194207,18 +195233,18 @@ func fts5UnicodeCreate(tls *libc.TLS, pUnused uintptr, azArg uintptr, nArg int32
for i = 0; rc == SQLITE_OK && i < nArg; i = i + 2 {
var zArg uintptr = *(*uintptr)(unsafe.Pointer(azArg + uintptr(i+1)*8))
- if 0 == Xsqlite3_stricmp(tls, *(*uintptr)(unsafe.Pointer(azArg + uintptr(i)*8)), ts+38361) {
+ if 0 == Xsqlite3_stricmp(tls, *(*uintptr)(unsafe.Pointer(azArg + uintptr(i)*8)), ts+38931) {
if int32(*(*int8)(unsafe.Pointer(zArg))) != '0' && int32(*(*int8)(unsafe.Pointer(zArg))) != '1' && int32(*(*int8)(unsafe.Pointer(zArg))) != '2' || *(*int8)(unsafe.Pointer(zArg + 1)) != 0 {
rc = SQLITE_ERROR
} else {
(*Unicode61Tokenizer)(unsafe.Pointer(p)).FeRemoveDiacritic = int32(*(*int8)(unsafe.Pointer(zArg))) - '0'
}
- } else if 0 == Xsqlite3_stricmp(tls, *(*uintptr)(unsafe.Pointer(azArg + uintptr(i)*8)), ts+38319) {
+ } else if 0 == Xsqlite3_stricmp(tls, *(*uintptr)(unsafe.Pointer(azArg + uintptr(i)*8)), ts+38889) {
rc = fts5UnicodeAddExceptions(tls, p, zArg, 1)
- } else if 0 == Xsqlite3_stricmp(tls, *(*uintptr)(unsafe.Pointer(azArg + uintptr(i)*8)), ts+38330) {
+ } else if 0 == Xsqlite3_stricmp(tls, *(*uintptr)(unsafe.Pointer(azArg + uintptr(i)*8)), ts+38900) {
rc = fts5UnicodeAddExceptions(tls, p, zArg, 0)
- } else if 0 == Xsqlite3_stricmp(tls, *(*uintptr)(unsafe.Pointer(azArg + uintptr(i)*8)), ts+38350) {
+ } else if 0 == Xsqlite3_stricmp(tls, *(*uintptr)(unsafe.Pointer(azArg + uintptr(i)*8)), ts+38920) {
} else {
rc = SQLITE_ERROR
}
@@ -194494,7 +195520,7 @@ func fts5PorterCreate(tls *libc.TLS, pCtx uintptr, azArg uintptr, nArg int32, pp
var rc int32 = SQLITE_OK
var pRet uintptr
*(*uintptr)(unsafe.Pointer(bp)) = uintptr(0)
- var zBase uintptr = ts + 38379
+ var zBase uintptr = ts + 38949
if nArg > 0 {
zBase = *(*uintptr)(unsafe.Pointer(azArg))
@@ -194636,7 +195662,7 @@ func fts5PorterStep4(tls *libc.TLS, aBuf uintptr, pnBuf uintptr) int32 {
var nBuf int32 = *(*int32)(unsafe.Pointer(pnBuf))
switch int32(*(*int8)(unsafe.Pointer(aBuf + uintptr(nBuf-2)))) {
case 'a':
- if nBuf > 2 && 0 == libc.Xmemcmp(tls, ts+38389, aBuf+uintptr(nBuf-2), uint64(2)) {
+ if nBuf > 2 && 0 == libc.Xmemcmp(tls, ts+38959, aBuf+uintptr(nBuf-2), uint64(2)) {
if fts5Porter_MGt1(tls, aBuf, nBuf-2) != 0 {
*(*int32)(unsafe.Pointer(pnBuf)) = nBuf - 2
}
@@ -194644,11 +195670,11 @@ func fts5PorterStep4(tls *libc.TLS, aBuf uintptr, pnBuf uintptr) int32 {
break
case 'c':
- if nBuf > 4 && 0 == libc.Xmemcmp(tls, ts+38392, aBuf+uintptr(nBuf-4), uint64(4)) {
+ if nBuf > 4 && 0 == libc.Xmemcmp(tls, ts+38962, aBuf+uintptr(nBuf-4), uint64(4)) {
if fts5Porter_MGt1(tls, aBuf, nBuf-4) != 0 {
*(*int32)(unsafe.Pointer(pnBuf)) = nBuf - 4
}
- } else if nBuf > 4 && 0 == libc.Xmemcmp(tls, ts+38397, aBuf+uintptr(nBuf-4), uint64(4)) {
+ } else if nBuf > 4 && 0 == libc.Xmemcmp(tls, ts+38967, aBuf+uintptr(nBuf-4), uint64(4)) {
if fts5Porter_MGt1(tls, aBuf, nBuf-4) != 0 {
*(*int32)(unsafe.Pointer(pnBuf)) = nBuf - 4
}
@@ -194656,7 +195682,7 @@ func fts5PorterStep4(tls *libc.TLS, aBuf uintptr, pnBuf uintptr) int32 {
break
case 'e':
- if nBuf > 2 && 0 == libc.Xmemcmp(tls, ts+38402, aBuf+uintptr(nBuf-2), uint64(2)) {
+ if nBuf > 2 && 0 == libc.Xmemcmp(tls, ts+38972, aBuf+uintptr(nBuf-2), uint64(2)) {
if fts5Porter_MGt1(tls, aBuf, nBuf-2) != 0 {
*(*int32)(unsafe.Pointer(pnBuf)) = nBuf - 2
}
@@ -194664,7 +195690,7 @@ func fts5PorterStep4(tls *libc.TLS, aBuf uintptr, pnBuf uintptr) int32 {
break
case 'i':
- if nBuf > 2 && 0 == libc.Xmemcmp(tls, ts+38405, aBuf+uintptr(nBuf-2), uint64(2)) {
+ if nBuf > 2 && 0 == libc.Xmemcmp(tls, ts+38975, aBuf+uintptr(nBuf-2), uint64(2)) {
if fts5Porter_MGt1(tls, aBuf, nBuf-2) != 0 {
*(*int32)(unsafe.Pointer(pnBuf)) = nBuf - 2
}
@@ -194672,11 +195698,11 @@ func fts5PorterStep4(tls *libc.TLS, aBuf uintptr, pnBuf uintptr) int32 {
break
case 'l':
- if nBuf > 4 && 0 == libc.Xmemcmp(tls, ts+38408, aBuf+uintptr(nBuf-4), uint64(4)) {
+ if nBuf > 4 && 0 == libc.Xmemcmp(tls, ts+38978, aBuf+uintptr(nBuf-4), uint64(4)) {
if fts5Porter_MGt1(tls, aBuf, nBuf-4) != 0 {
*(*int32)(unsafe.Pointer(pnBuf)) = nBuf - 4
}
- } else if nBuf > 4 && 0 == libc.Xmemcmp(tls, ts+38413, aBuf+uintptr(nBuf-4), uint64(4)) {
+ } else if nBuf > 4 && 0 == libc.Xmemcmp(tls, ts+38983, aBuf+uintptr(nBuf-4), uint64(4)) {
if fts5Porter_MGt1(tls, aBuf, nBuf-4) != 0 {
*(*int32)(unsafe.Pointer(pnBuf)) = nBuf - 4
}
@@ -194684,19 +195710,19 @@ func fts5PorterStep4(tls *libc.TLS, aBuf uintptr, pnBuf uintptr) int32 {
break
case 'n':
- if nBuf > 3 && 0 == libc.Xmemcmp(tls, ts+38418, aBuf+uintptr(nBuf-3), uint64(3)) {
+ if nBuf > 3 && 0 == libc.Xmemcmp(tls, ts+38988, aBuf+uintptr(nBuf-3), uint64(3)) {
if fts5Porter_MGt1(tls, aBuf, nBuf-3) != 0 {
*(*int32)(unsafe.Pointer(pnBuf)) = nBuf - 3
}
- } else if nBuf > 5 && 0 == libc.Xmemcmp(tls, ts+38422, aBuf+uintptr(nBuf-5), uint64(5)) {
+ } else if nBuf > 5 && 0 == libc.Xmemcmp(tls, ts+38992, aBuf+uintptr(nBuf-5), uint64(5)) {
if fts5Porter_MGt1(tls, aBuf, nBuf-5) != 0 {
*(*int32)(unsafe.Pointer(pnBuf)) = nBuf - 5
}
- } else if nBuf > 4 && 0 == libc.Xmemcmp(tls, ts+38428, aBuf+uintptr(nBuf-4), uint64(4)) {
+ } else if nBuf > 4 && 0 == libc.Xmemcmp(tls, ts+38998, aBuf+uintptr(nBuf-4), uint64(4)) {
if fts5Porter_MGt1(tls, aBuf, nBuf-4) != 0 {
*(*int32)(unsafe.Pointer(pnBuf)) = nBuf - 4
}
- } else if nBuf > 3 && 0 == libc.Xmemcmp(tls, ts+38433, aBuf+uintptr(nBuf-3), uint64(3)) {
+ } else if nBuf > 3 && 0 == libc.Xmemcmp(tls, ts+39003, aBuf+uintptr(nBuf-3), uint64(3)) {
if fts5Porter_MGt1(tls, aBuf, nBuf-3) != 0 {
*(*int32)(unsafe.Pointer(pnBuf)) = nBuf - 3
}
@@ -194704,11 +195730,11 @@ func fts5PorterStep4(tls *libc.TLS, aBuf uintptr, pnBuf uintptr) int32 {
break
case 'o':
- if nBuf > 3 && 0 == libc.Xmemcmp(tls, ts+38437, aBuf+uintptr(nBuf-3), uint64(3)) {
+ if nBuf > 3 && 0 == libc.Xmemcmp(tls, ts+39007, aBuf+uintptr(nBuf-3), uint64(3)) {
if fts5Porter_MGt1_and_S_or_T(tls, aBuf, nBuf-3) != 0 {
*(*int32)(unsafe.Pointer(pnBuf)) = nBuf - 3
}
- } else if nBuf > 2 && 0 == libc.Xmemcmp(tls, ts+38441, aBuf+uintptr(nBuf-2), uint64(2)) {
+ } else if nBuf > 2 && 0 == libc.Xmemcmp(tls, ts+39011, aBuf+uintptr(nBuf-2), uint64(2)) {
if fts5Porter_MGt1(tls, aBuf, nBuf-2) != 0 {
*(*int32)(unsafe.Pointer(pnBuf)) = nBuf - 2
}
@@ -194716,7 +195742,7 @@ func fts5PorterStep4(tls *libc.TLS, aBuf uintptr, pnBuf uintptr) int32 {
break
case 's':
- if nBuf > 3 && 0 == libc.Xmemcmp(tls, ts+38444, aBuf+uintptr(nBuf-3), uint64(3)) {
+ if nBuf > 3 && 0 == libc.Xmemcmp(tls, ts+39014, aBuf+uintptr(nBuf-3), uint64(3)) {
if fts5Porter_MGt1(tls, aBuf, nBuf-3) != 0 {
*(*int32)(unsafe.Pointer(pnBuf)) = nBuf - 3
}
@@ -194724,11 +195750,11 @@ func fts5PorterStep4(tls *libc.TLS, aBuf uintptr, pnBuf uintptr) int32 {
break
case 't':
- if nBuf > 3 && 0 == libc.Xmemcmp(tls, ts+38448, aBuf+uintptr(nBuf-3), uint64(3)) {
+ if nBuf > 3 && 0 == libc.Xmemcmp(tls, ts+39018, aBuf+uintptr(nBuf-3), uint64(3)) {
if fts5Porter_MGt1(tls, aBuf, nBuf-3) != 0 {
*(*int32)(unsafe.Pointer(pnBuf)) = nBuf - 3
}
- } else if nBuf > 3 && 0 == libc.Xmemcmp(tls, ts+38452, aBuf+uintptr(nBuf-3), uint64(3)) {
+ } else if nBuf > 3 && 0 == libc.Xmemcmp(tls, ts+39022, aBuf+uintptr(nBuf-3), uint64(3)) {
if fts5Porter_MGt1(tls, aBuf, nBuf-3) != 0 {
*(*int32)(unsafe.Pointer(pnBuf)) = nBuf - 3
}
@@ -194736,7 +195762,7 @@ func fts5PorterStep4(tls *libc.TLS, aBuf uintptr, pnBuf uintptr) int32 {
break
case 'u':
- if nBuf > 3 && 0 == libc.Xmemcmp(tls, ts+38456, aBuf+uintptr(nBuf-3), uint64(3)) {
+ if nBuf > 3 && 0 == libc.Xmemcmp(tls, ts+39026, aBuf+uintptr(nBuf-3), uint64(3)) {
if fts5Porter_MGt1(tls, aBuf, nBuf-3) != 0 {
*(*int32)(unsafe.Pointer(pnBuf)) = nBuf - 3
}
@@ -194744,7 +195770,7 @@ func fts5PorterStep4(tls *libc.TLS, aBuf uintptr, pnBuf uintptr) int32 {
break
case 'v':
- if nBuf > 3 && 0 == libc.Xmemcmp(tls, ts+38460, aBuf+uintptr(nBuf-3), uint64(3)) {
+ if nBuf > 3 && 0 == libc.Xmemcmp(tls, ts+39030, aBuf+uintptr(nBuf-3), uint64(3)) {
if fts5Porter_MGt1(tls, aBuf, nBuf-3) != 0 {
*(*int32)(unsafe.Pointer(pnBuf)) = nBuf - 3
}
@@ -194752,7 +195778,7 @@ func fts5PorterStep4(tls *libc.TLS, aBuf uintptr, pnBuf uintptr) int32 {
break
case 'z':
- if nBuf > 3 && 0 == libc.Xmemcmp(tls, ts+38464, aBuf+uintptr(nBuf-3), uint64(3)) {
+ if nBuf > 3 && 0 == libc.Xmemcmp(tls, ts+39034, aBuf+uintptr(nBuf-3), uint64(3)) {
if fts5Porter_MGt1(tls, aBuf, nBuf-3) != 0 {
*(*int32)(unsafe.Pointer(pnBuf)) = nBuf - 3
}
@@ -194768,24 +195794,24 @@ func fts5PorterStep1B2(tls *libc.TLS, aBuf uintptr, pnBuf uintptr) int32 {
var nBuf int32 = *(*int32)(unsafe.Pointer(pnBuf))
switch int32(*(*int8)(unsafe.Pointer(aBuf + uintptr(nBuf-2)))) {
case 'a':
- if nBuf > 2 && 0 == libc.Xmemcmp(tls, ts+38468, aBuf+uintptr(nBuf-2), uint64(2)) {
- libc.Xmemcpy(tls, aBuf+uintptr(nBuf-2), ts+38448, uint64(3))
+ if nBuf > 2 && 0 == libc.Xmemcmp(tls, ts+39038, aBuf+uintptr(nBuf-2), uint64(2)) {
+ libc.Xmemcpy(tls, aBuf+uintptr(nBuf-2), ts+39018, uint64(3))
*(*int32)(unsafe.Pointer(pnBuf)) = nBuf - 2 + 3
ret = 1
}
break
case 'b':
- if nBuf > 2 && 0 == libc.Xmemcmp(tls, ts+38471, aBuf+uintptr(nBuf-2), uint64(2)) {
- libc.Xmemcpy(tls, aBuf+uintptr(nBuf-2), ts+38474, uint64(3))
+ if nBuf > 2 && 0 == libc.Xmemcmp(tls, ts+39041, aBuf+uintptr(nBuf-2), uint64(2)) {
+ libc.Xmemcpy(tls, aBuf+uintptr(nBuf-2), ts+39044, uint64(3))
*(*int32)(unsafe.Pointer(pnBuf)) = nBuf - 2 + 3
ret = 1
}
break
case 'i':
- if nBuf > 2 && 0 == libc.Xmemcmp(tls, ts+38478, aBuf+uintptr(nBuf-2), uint64(2)) {
- libc.Xmemcpy(tls, aBuf+uintptr(nBuf-2), ts+38464, uint64(3))
+ if nBuf > 2 && 0 == libc.Xmemcmp(tls, ts+39048, aBuf+uintptr(nBuf-2), uint64(2)) {
+ libc.Xmemcpy(tls, aBuf+uintptr(nBuf-2), ts+39034, uint64(3))
*(*int32)(unsafe.Pointer(pnBuf)) = nBuf - 2 + 3
ret = 1
}
@@ -194800,137 +195826,137 @@ func fts5PorterStep2(tls *libc.TLS, aBuf uintptr, pnBuf uintptr) int32 {
var nBuf int32 = *(*int32)(unsafe.Pointer(pnBuf))
switch int32(*(*int8)(unsafe.Pointer(aBuf + uintptr(nBuf-2)))) {
case 'a':
- if nBuf > 7 && 0 == libc.Xmemcmp(tls, ts+38481, aBuf+uintptr(nBuf-7), uint64(7)) {
+ if nBuf > 7 && 0 == libc.Xmemcmp(tls, ts+39051, aBuf+uintptr(nBuf-7), uint64(7)) {
if fts5Porter_MGt0(tls, aBuf, nBuf-7) != 0 {
- libc.Xmemcpy(tls, aBuf+uintptr(nBuf-7), ts+38448, uint64(3))
+ libc.Xmemcpy(tls, aBuf+uintptr(nBuf-7), ts+39018, uint64(3))
*(*int32)(unsafe.Pointer(pnBuf)) = nBuf - 7 + 3
}
- } else if nBuf > 6 && 0 == libc.Xmemcmp(tls, ts+38489, aBuf+uintptr(nBuf-6), uint64(6)) {
+ } else if nBuf > 6 && 0 == libc.Xmemcmp(tls, ts+39059, aBuf+uintptr(nBuf-6), uint64(6)) {
if fts5Porter_MGt0(tls, aBuf, nBuf-6) != 0 {
- libc.Xmemcpy(tls, aBuf+uintptr(nBuf-6), ts+38496, uint64(4))
+ libc.Xmemcpy(tls, aBuf+uintptr(nBuf-6), ts+39066, uint64(4))
*(*int32)(unsafe.Pointer(pnBuf)) = nBuf - 6 + 4
}
}
break
case 'c':
- if nBuf > 4 && 0 == libc.Xmemcmp(tls, ts+38501, aBuf+uintptr(nBuf-4), uint64(4)) {
+ if nBuf > 4 && 0 == libc.Xmemcmp(tls, ts+39071, aBuf+uintptr(nBuf-4), uint64(4)) {
if fts5Porter_MGt0(tls, aBuf, nBuf-4) != 0 {
- libc.Xmemcpy(tls, aBuf+uintptr(nBuf-4), ts+38397, uint64(4))
+ libc.Xmemcpy(tls, aBuf+uintptr(nBuf-4), ts+38967, uint64(4))
*(*int32)(unsafe.Pointer(pnBuf)) = nBuf - 4 + 4
}
- } else if nBuf > 4 && 0 == libc.Xmemcmp(tls, ts+38506, aBuf+uintptr(nBuf-4), uint64(4)) {
+ } else if nBuf > 4 && 0 == libc.Xmemcmp(tls, ts+39076, aBuf+uintptr(nBuf-4), uint64(4)) {
if fts5Porter_MGt0(tls, aBuf, nBuf-4) != 0 {
- libc.Xmemcpy(tls, aBuf+uintptr(nBuf-4), ts+38392, uint64(4))
+ libc.Xmemcpy(tls, aBuf+uintptr(nBuf-4), ts+38962, uint64(4))
*(*int32)(unsafe.Pointer(pnBuf)) = nBuf - 4 + 4
}
}
break
case 'e':
- if nBuf > 4 && 0 == libc.Xmemcmp(tls, ts+38511, aBuf+uintptr(nBuf-4), uint64(4)) {
+ if nBuf > 4 && 0 == libc.Xmemcmp(tls, ts+39081, aBuf+uintptr(nBuf-4), uint64(4)) {
if fts5Porter_MGt0(tls, aBuf, nBuf-4) != 0 {
- libc.Xmemcpy(tls, aBuf+uintptr(nBuf-4), ts+38464, uint64(3))
+ libc.Xmemcpy(tls, aBuf+uintptr(nBuf-4), ts+39034, uint64(3))
*(*int32)(unsafe.Pointer(pnBuf)) = nBuf - 4 + 3
}
}
break
case 'g':
- if nBuf > 4 && 0 == libc.Xmemcmp(tls, ts+38516, aBuf+uintptr(nBuf-4), uint64(4)) {
+ if nBuf > 4 && 0 == libc.Xmemcmp(tls, ts+39086, aBuf+uintptr(nBuf-4), uint64(4)) {
if fts5Porter_MGt0(tls, aBuf, nBuf-4) != 0 {
- libc.Xmemcpy(tls, aBuf+uintptr(nBuf-4), ts+16837, uint64(3))
+ libc.Xmemcpy(tls, aBuf+uintptr(nBuf-4), ts+16856, uint64(3))
*(*int32)(unsafe.Pointer(pnBuf)) = nBuf - 4 + 3
}
}
break
case 'l':
- if nBuf > 3 && 0 == libc.Xmemcmp(tls, ts+38521, aBuf+uintptr(nBuf-3), uint64(3)) {
+ if nBuf > 3 && 0 == libc.Xmemcmp(tls, ts+39091, aBuf+uintptr(nBuf-3), uint64(3)) {
if fts5Porter_MGt0(tls, aBuf, nBuf-3) != 0 {
- libc.Xmemcpy(tls, aBuf+uintptr(nBuf-3), ts+38474, uint64(3))
+ libc.Xmemcpy(tls, aBuf+uintptr(nBuf-3), ts+39044, uint64(3))
*(*int32)(unsafe.Pointer(pnBuf)) = nBuf - 3 + 3
}
- } else if nBuf > 4 && 0 == libc.Xmemcmp(tls, ts+38525, aBuf+uintptr(nBuf-4), uint64(4)) {
+ } else if nBuf > 4 && 0 == libc.Xmemcmp(tls, ts+39095, aBuf+uintptr(nBuf-4), uint64(4)) {
if fts5Porter_MGt0(tls, aBuf, nBuf-4) != 0 {
- libc.Xmemcpy(tls, aBuf+uintptr(nBuf-4), ts+38389, uint64(2))
+ libc.Xmemcpy(tls, aBuf+uintptr(nBuf-4), ts+38959, uint64(2))
*(*int32)(unsafe.Pointer(pnBuf)) = nBuf - 4 + 2
}
- } else if nBuf > 5 && 0 == libc.Xmemcmp(tls, ts+38530, aBuf+uintptr(nBuf-5), uint64(5)) {
+ } else if nBuf > 5 && 0 == libc.Xmemcmp(tls, ts+39100, aBuf+uintptr(nBuf-5), uint64(5)) {
if fts5Porter_MGt0(tls, aBuf, nBuf-5) != 0 {
- libc.Xmemcpy(tls, aBuf+uintptr(nBuf-5), ts+38433, uint64(3))
+ libc.Xmemcpy(tls, aBuf+uintptr(nBuf-5), ts+39003, uint64(3))
*(*int32)(unsafe.Pointer(pnBuf)) = nBuf - 5 + 3
}
- } else if nBuf > 3 && 0 == libc.Xmemcmp(tls, ts+38536, aBuf+uintptr(nBuf-3), uint64(3)) {
+ } else if nBuf > 3 && 0 == libc.Xmemcmp(tls, ts+39106, aBuf+uintptr(nBuf-3), uint64(3)) {
if fts5Porter_MGt0(tls, aBuf, nBuf-3) != 0 {
- libc.Xmemcpy(tls, aBuf+uintptr(nBuf-3), ts+38540, uint64(1))
+ libc.Xmemcpy(tls, aBuf+uintptr(nBuf-3), ts+39110, uint64(1))
*(*int32)(unsafe.Pointer(pnBuf)) = nBuf - 3 + 1
}
- } else if nBuf > 5 && 0 == libc.Xmemcmp(tls, ts+38542, aBuf+uintptr(nBuf-5), uint64(5)) {
+ } else if nBuf > 5 && 0 == libc.Xmemcmp(tls, ts+39112, aBuf+uintptr(nBuf-5), uint64(5)) {
if fts5Porter_MGt0(tls, aBuf, nBuf-5) != 0 {
- libc.Xmemcpy(tls, aBuf+uintptr(nBuf-5), ts+38456, uint64(3))
+ libc.Xmemcpy(tls, aBuf+uintptr(nBuf-5), ts+39026, uint64(3))
*(*int32)(unsafe.Pointer(pnBuf)) = nBuf - 5 + 3
}
}
break
case 'o':
- if nBuf > 7 && 0 == libc.Xmemcmp(tls, ts+38548, aBuf+uintptr(nBuf-7), uint64(7)) {
+ if nBuf > 7 && 0 == libc.Xmemcmp(tls, ts+39118, aBuf+uintptr(nBuf-7), uint64(7)) {
if fts5Porter_MGt0(tls, aBuf, nBuf-7) != 0 {
- libc.Xmemcpy(tls, aBuf+uintptr(nBuf-7), ts+38464, uint64(3))
+ libc.Xmemcpy(tls, aBuf+uintptr(nBuf-7), ts+39034, uint64(3))
*(*int32)(unsafe.Pointer(pnBuf)) = nBuf - 7 + 3
}
- } else if nBuf > 5 && 0 == libc.Xmemcmp(tls, ts+38556, aBuf+uintptr(nBuf-5), uint64(5)) {
+ } else if nBuf > 5 && 0 == libc.Xmemcmp(tls, ts+39126, aBuf+uintptr(nBuf-5), uint64(5)) {
if fts5Porter_MGt0(tls, aBuf, nBuf-5) != 0 {
- libc.Xmemcpy(tls, aBuf+uintptr(nBuf-5), ts+38448, uint64(3))
+ libc.Xmemcpy(tls, aBuf+uintptr(nBuf-5), ts+39018, uint64(3))
*(*int32)(unsafe.Pointer(pnBuf)) = nBuf - 5 + 3
}
- } else if nBuf > 4 && 0 == libc.Xmemcmp(tls, ts+38562, aBuf+uintptr(nBuf-4), uint64(4)) {
+ } else if nBuf > 4 && 0 == libc.Xmemcmp(tls, ts+39132, aBuf+uintptr(nBuf-4), uint64(4)) {
if fts5Porter_MGt0(tls, aBuf, nBuf-4) != 0 {
- libc.Xmemcpy(tls, aBuf+uintptr(nBuf-4), ts+38448, uint64(3))
+ libc.Xmemcpy(tls, aBuf+uintptr(nBuf-4), ts+39018, uint64(3))
*(*int32)(unsafe.Pointer(pnBuf)) = nBuf - 4 + 3
}
}
break
case 's':
- if nBuf > 5 && 0 == libc.Xmemcmp(tls, ts+38567, aBuf+uintptr(nBuf-5), uint64(5)) {
+ if nBuf > 5 && 0 == libc.Xmemcmp(tls, ts+39137, aBuf+uintptr(nBuf-5), uint64(5)) {
if fts5Porter_MGt0(tls, aBuf, nBuf-5) != 0 {
- libc.Xmemcpy(tls, aBuf+uintptr(nBuf-5), ts+38389, uint64(2))
+ libc.Xmemcpy(tls, aBuf+uintptr(nBuf-5), ts+38959, uint64(2))
*(*int32)(unsafe.Pointer(pnBuf)) = nBuf - 5 + 2
}
- } else if nBuf > 7 && 0 == libc.Xmemcmp(tls, ts+38573, aBuf+uintptr(nBuf-7), uint64(7)) {
+ } else if nBuf > 7 && 0 == libc.Xmemcmp(tls, ts+39143, aBuf+uintptr(nBuf-7), uint64(7)) {
if fts5Porter_MGt0(tls, aBuf, nBuf-7) != 0 {
- libc.Xmemcpy(tls, aBuf+uintptr(nBuf-7), ts+38460, uint64(3))
+ libc.Xmemcpy(tls, aBuf+uintptr(nBuf-7), ts+39030, uint64(3))
*(*int32)(unsafe.Pointer(pnBuf)) = nBuf - 7 + 3
}
- } else if nBuf > 7 && 0 == libc.Xmemcmp(tls, ts+38581, aBuf+uintptr(nBuf-7), uint64(7)) {
+ } else if nBuf > 7 && 0 == libc.Xmemcmp(tls, ts+39151, aBuf+uintptr(nBuf-7), uint64(7)) {
if fts5Porter_MGt0(tls, aBuf, nBuf-7) != 0 {
- libc.Xmemcpy(tls, aBuf+uintptr(nBuf-7), ts+38589, uint64(3))
+ libc.Xmemcpy(tls, aBuf+uintptr(nBuf-7), ts+39159, uint64(3))
*(*int32)(unsafe.Pointer(pnBuf)) = nBuf - 7 + 3
}
- } else if nBuf > 7 && 0 == libc.Xmemcmp(tls, ts+38593, aBuf+uintptr(nBuf-7), uint64(7)) {
+ } else if nBuf > 7 && 0 == libc.Xmemcmp(tls, ts+39163, aBuf+uintptr(nBuf-7), uint64(7)) {
if fts5Porter_MGt0(tls, aBuf, nBuf-7) != 0 {
- libc.Xmemcpy(tls, aBuf+uintptr(nBuf-7), ts+38456, uint64(3))
+ libc.Xmemcpy(tls, aBuf+uintptr(nBuf-7), ts+39026, uint64(3))
*(*int32)(unsafe.Pointer(pnBuf)) = nBuf - 7 + 3
}
}
break
case 't':
- if nBuf > 5 && 0 == libc.Xmemcmp(tls, ts+38601, aBuf+uintptr(nBuf-5), uint64(5)) {
+ if nBuf > 5 && 0 == libc.Xmemcmp(tls, ts+39171, aBuf+uintptr(nBuf-5), uint64(5)) {
if fts5Porter_MGt0(tls, aBuf, nBuf-5) != 0 {
- libc.Xmemcpy(tls, aBuf+uintptr(nBuf-5), ts+38389, uint64(2))
+ libc.Xmemcpy(tls, aBuf+uintptr(nBuf-5), ts+38959, uint64(2))
*(*int32)(unsafe.Pointer(pnBuf)) = nBuf - 5 + 2
}
- } else if nBuf > 5 && 0 == libc.Xmemcmp(tls, ts+38607, aBuf+uintptr(nBuf-5), uint64(5)) {
+ } else if nBuf > 5 && 0 == libc.Xmemcmp(tls, ts+39177, aBuf+uintptr(nBuf-5), uint64(5)) {
if fts5Porter_MGt0(tls, aBuf, nBuf-5) != 0 {
- libc.Xmemcpy(tls, aBuf+uintptr(nBuf-5), ts+38460, uint64(3))
+ libc.Xmemcpy(tls, aBuf+uintptr(nBuf-5), ts+39030, uint64(3))
*(*int32)(unsafe.Pointer(pnBuf)) = nBuf - 5 + 3
}
- } else if nBuf > 6 && 0 == libc.Xmemcmp(tls, ts+38613, aBuf+uintptr(nBuf-6), uint64(6)) {
+ } else if nBuf > 6 && 0 == libc.Xmemcmp(tls, ts+39183, aBuf+uintptr(nBuf-6), uint64(6)) {
if fts5Porter_MGt0(tls, aBuf, nBuf-6) != 0 {
- libc.Xmemcpy(tls, aBuf+uintptr(nBuf-6), ts+38474, uint64(3))
+ libc.Xmemcpy(tls, aBuf+uintptr(nBuf-6), ts+39044, uint64(3))
*(*int32)(unsafe.Pointer(pnBuf)) = nBuf - 6 + 3
}
}
@@ -194945,16 +195971,16 @@ func fts5PorterStep3(tls *libc.TLS, aBuf uintptr, pnBuf uintptr) int32 {
var nBuf int32 = *(*int32)(unsafe.Pointer(pnBuf))
switch int32(*(*int8)(unsafe.Pointer(aBuf + uintptr(nBuf-2)))) {
case 'a':
- if nBuf > 4 && 0 == libc.Xmemcmp(tls, ts+38620, aBuf+uintptr(nBuf-4), uint64(4)) {
+ if nBuf > 4 && 0 == libc.Xmemcmp(tls, ts+39190, aBuf+uintptr(nBuf-4), uint64(4)) {
if fts5Porter_MGt0(tls, aBuf, nBuf-4) != 0 {
- libc.Xmemcpy(tls, aBuf+uintptr(nBuf-4), ts+38405, uint64(2))
+ libc.Xmemcpy(tls, aBuf+uintptr(nBuf-4), ts+38975, uint64(2))
*(*int32)(unsafe.Pointer(pnBuf)) = nBuf - 4 + 2
}
}
break
case 's':
- if nBuf > 4 && 0 == libc.Xmemcmp(tls, ts+38625, aBuf+uintptr(nBuf-4), uint64(4)) {
+ if nBuf > 4 && 0 == libc.Xmemcmp(tls, ts+39195, aBuf+uintptr(nBuf-4), uint64(4)) {
if fts5Porter_MGt0(tls, aBuf, nBuf-4) != 0 {
*(*int32)(unsafe.Pointer(pnBuf)) = nBuf - 4
}
@@ -194962,21 +195988,21 @@ func fts5PorterStep3(tls *libc.TLS, aBuf uintptr, pnBuf uintptr) int32 {
break
case 't':
- if nBuf > 5 && 0 == libc.Xmemcmp(tls, ts+38630, aBuf+uintptr(nBuf-5), uint64(5)) {
+ if nBuf > 5 && 0 == libc.Xmemcmp(tls, ts+39200, aBuf+uintptr(nBuf-5), uint64(5)) {
if fts5Porter_MGt0(tls, aBuf, nBuf-5) != 0 {
- libc.Xmemcpy(tls, aBuf+uintptr(nBuf-5), ts+38405, uint64(2))
+ libc.Xmemcpy(tls, aBuf+uintptr(nBuf-5), ts+38975, uint64(2))
*(*int32)(unsafe.Pointer(pnBuf)) = nBuf - 5 + 2
}
- } else if nBuf > 5 && 0 == libc.Xmemcmp(tls, ts+38636, aBuf+uintptr(nBuf-5), uint64(5)) {
+ } else if nBuf > 5 && 0 == libc.Xmemcmp(tls, ts+39206, aBuf+uintptr(nBuf-5), uint64(5)) {
if fts5Porter_MGt0(tls, aBuf, nBuf-5) != 0 {
- libc.Xmemcpy(tls, aBuf+uintptr(nBuf-5), ts+38405, uint64(2))
+ libc.Xmemcpy(tls, aBuf+uintptr(nBuf-5), ts+38975, uint64(2))
*(*int32)(unsafe.Pointer(pnBuf)) = nBuf - 5 + 2
}
}
break
case 'u':
- if nBuf > 3 && 0 == libc.Xmemcmp(tls, ts+38589, aBuf+uintptr(nBuf-3), uint64(3)) {
+ if nBuf > 3 && 0 == libc.Xmemcmp(tls, ts+39159, aBuf+uintptr(nBuf-3), uint64(3)) {
if fts5Porter_MGt0(tls, aBuf, nBuf-3) != 0 {
*(*int32)(unsafe.Pointer(pnBuf)) = nBuf - 3
}
@@ -194984,7 +196010,7 @@ func fts5PorterStep3(tls *libc.TLS, aBuf uintptr, pnBuf uintptr) int32 {
break
case 'v':
- if nBuf > 5 && 0 == libc.Xmemcmp(tls, ts+38642, aBuf+uintptr(nBuf-5), uint64(5)) {
+ if nBuf > 5 && 0 == libc.Xmemcmp(tls, ts+39212, aBuf+uintptr(nBuf-5), uint64(5)) {
if fts5Porter_MGt0(tls, aBuf, nBuf-5) != 0 {
*(*int32)(unsafe.Pointer(pnBuf)) = nBuf - 5
}
@@ -194992,9 +196018,9 @@ func fts5PorterStep3(tls *libc.TLS, aBuf uintptr, pnBuf uintptr) int32 {
break
case 'z':
- if nBuf > 5 && 0 == libc.Xmemcmp(tls, ts+38648, aBuf+uintptr(nBuf-5), uint64(5)) {
+ if nBuf > 5 && 0 == libc.Xmemcmp(tls, ts+39218, aBuf+uintptr(nBuf-5), uint64(5)) {
if fts5Porter_MGt0(tls, aBuf, nBuf-5) != 0 {
- libc.Xmemcpy(tls, aBuf+uintptr(nBuf-5), ts+38389, uint64(2))
+ libc.Xmemcpy(tls, aBuf+uintptr(nBuf-5), ts+38959, uint64(2))
*(*int32)(unsafe.Pointer(pnBuf)) = nBuf - 5 + 2
}
}
@@ -195009,12 +196035,12 @@ func fts5PorterStep1B(tls *libc.TLS, aBuf uintptr, pnBuf uintptr) int32 {
var nBuf int32 = *(*int32)(unsafe.Pointer(pnBuf))
switch int32(*(*int8)(unsafe.Pointer(aBuf + uintptr(nBuf-2)))) {
case 'e':
- if nBuf > 3 && 0 == libc.Xmemcmp(tls, ts+38654, aBuf+uintptr(nBuf-3), uint64(3)) {
+ if nBuf > 3 && 0 == libc.Xmemcmp(tls, ts+39224, aBuf+uintptr(nBuf-3), uint64(3)) {
if fts5Porter_MGt0(tls, aBuf, nBuf-3) != 0 {
- libc.Xmemcpy(tls, aBuf+uintptr(nBuf-3), ts+38658, uint64(2))
+ libc.Xmemcpy(tls, aBuf+uintptr(nBuf-3), ts+39228, uint64(2))
*(*int32)(unsafe.Pointer(pnBuf)) = nBuf - 3 + 2
}
- } else if nBuf > 2 && 0 == libc.Xmemcmp(tls, ts+38661, aBuf+uintptr(nBuf-2), uint64(2)) {
+ } else if nBuf > 2 && 0 == libc.Xmemcmp(tls, ts+39231, aBuf+uintptr(nBuf-2), uint64(2)) {
if fts5Porter_Vowel(tls, aBuf, nBuf-2) != 0 {
*(*int32)(unsafe.Pointer(pnBuf)) = nBuf - 2
ret = 1
@@ -195023,7 +196049,7 @@ func fts5PorterStep1B(tls *libc.TLS, aBuf uintptr, pnBuf uintptr) int32 {
break
case 'n':
- if nBuf > 3 && 0 == libc.Xmemcmp(tls, ts+38664, aBuf+uintptr(nBuf-3), uint64(3)) {
+ if nBuf > 3 && 0 == libc.Xmemcmp(tls, ts+39234, aBuf+uintptr(nBuf-3), uint64(3)) {
if fts5Porter_Vowel(tls, aBuf, nBuf-3) != 0 {
*(*int32)(unsafe.Pointer(pnBuf)) = nBuf - 3
ret = 1
@@ -195179,7 +196205,7 @@ func fts5TriCreate(tls *libc.TLS, pUnused uintptr, azArg uintptr, nArg int32, pp
(*TrigramTokenizer)(unsafe.Pointer(pNew)).FbFold = 1
for i = 0; rc == SQLITE_OK && i < nArg; i = i + 2 {
var zArg uintptr = *(*uintptr)(unsafe.Pointer(azArg + uintptr(i+1)*8))
- if 0 == Xsqlite3_stricmp(tls, *(*uintptr)(unsafe.Pointer(azArg + uintptr(i)*8)), ts+38668) {
+ if 0 == Xsqlite3_stricmp(tls, *(*uintptr)(unsafe.Pointer(azArg + uintptr(i)*8)), ts+39238) {
if int32(*(*int8)(unsafe.Pointer(zArg))) != '0' && int32(*(*int8)(unsafe.Pointer(zArg))) != '1' || *(*int8)(unsafe.Pointer(zArg + 1)) != 0 {
rc = SQLITE_ERROR
} else {
@@ -195359,22 +196385,22 @@ func sqlite3Fts5TokenizerInit(tls *libc.TLS, pApi uintptr) int32 {
defer tls.Free(128)
*(*[4]BuiltinTokenizer)(unsafe.Pointer(bp)) = [4]BuiltinTokenizer{
- {FzName: ts + 38379, Fx: Fts5_tokenizer{FxCreate: *(*uintptr)(unsafe.Pointer(&struct {
+ {FzName: ts + 38949, Fx: Fts5_tokenizer{FxCreate: *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32
}{fts5UnicodeCreate})), FxDelete: *(*uintptr)(unsafe.Pointer(&struct{ f func(*libc.TLS, uintptr) }{fts5UnicodeDelete})), FxTokenize: *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, uintptr, int32, uintptr, int32, uintptr) int32
}{fts5UnicodeTokenize}))}},
- {FzName: ts + 38683, Fx: Fts5_tokenizer{FxCreate: *(*uintptr)(unsafe.Pointer(&struct {
+ {FzName: ts + 39253, Fx: Fts5_tokenizer{FxCreate: *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32
}{fts5AsciiCreate})), FxDelete: *(*uintptr)(unsafe.Pointer(&struct{ f func(*libc.TLS, uintptr) }{fts5AsciiDelete})), FxTokenize: *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, uintptr, int32, uintptr, int32, uintptr) int32
}{fts5AsciiTokenize}))}},
- {FzName: ts + 38689, Fx: Fts5_tokenizer{FxCreate: *(*uintptr)(unsafe.Pointer(&struct {
+ {FzName: ts + 39259, Fx: Fts5_tokenizer{FxCreate: *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32
}{fts5PorterCreate})), FxDelete: *(*uintptr)(unsafe.Pointer(&struct{ f func(*libc.TLS, uintptr) }{fts5PorterDelete})), FxTokenize: *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, uintptr, int32, uintptr, int32, uintptr) int32
}{fts5PorterTokenize}))}},
- {FzName: ts + 38696, Fx: Fts5_tokenizer{FxCreate: *(*uintptr)(unsafe.Pointer(&struct {
+ {FzName: ts + 39266, Fx: Fts5_tokenizer{FxCreate: *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, uintptr, int32, uintptr) int32
}{fts5TriCreate})), FxDelete: *(*uintptr)(unsafe.Pointer(&struct{ f func(*libc.TLS, uintptr) }{fts5TriDelete})), FxTokenize: *(*uintptr)(unsafe.Pointer(&struct {
f func(*libc.TLS, uintptr, uintptr, int32, uintptr, int32, uintptr) int32
@@ -196517,14 +197543,14 @@ func fts5VocabTableType(tls *libc.TLS, zType uintptr, pzErr uintptr, peType uint
var zCopy uintptr = sqlite3Fts5Strndup(tls, bp+8, zType, -1)
if *(*int32)(unsafe.Pointer(bp + 8)) == SQLITE_OK {
sqlite3Fts5Dequote(tls, zCopy)
- if Xsqlite3_stricmp(tls, zCopy, ts+38704) == 0 {
+ if Xsqlite3_stricmp(tls, zCopy, ts+39274) == 0 {
*(*int32)(unsafe.Pointer(peType)) = FTS5_VOCAB_COL
- } else if Xsqlite3_stricmp(tls, zCopy, ts+38708) == 0 {
+ } else if Xsqlite3_stricmp(tls, zCopy, ts+39278) == 0 {
*(*int32)(unsafe.Pointer(peType)) = FTS5_VOCAB_ROW
- } else if Xsqlite3_stricmp(tls, zCopy, ts+38712) == 0 {
+ } else if Xsqlite3_stricmp(tls, zCopy, ts+39282) == 0 {
*(*int32)(unsafe.Pointer(peType)) = FTS5_VOCAB_INSTANCE
} else {
- *(*uintptr)(unsafe.Pointer(pzErr)) = Xsqlite3_mprintf(tls, ts+38721, libc.VaList(bp, zCopy))
+ *(*uintptr)(unsafe.Pointer(pzErr)) = Xsqlite3_mprintf(tls, ts+39291, libc.VaList(bp, zCopy))
*(*int32)(unsafe.Pointer(bp + 8)) = SQLITE_ERROR
}
Xsqlite3_free(tls, zCopy)
@@ -196550,19 +197576,19 @@ func fts5VocabInitVtab(tls *libc.TLS, db uintptr, pAux uintptr, argc int32, argv
defer tls.Free(36)
*(*[3]uintptr)(unsafe.Pointer(bp + 8)) = [3]uintptr{
- ts + 38755,
- ts + 38795,
- ts + 38830,
+ ts + 39325,
+ ts + 39365,
+ ts + 39400,
}
var pRet uintptr = uintptr(0)
*(*int32)(unsafe.Pointer(bp + 32)) = SQLITE_OK
var bDb int32
- bDb = libc.Bool32(argc == 6 && libc.Xstrlen(tls, *(*uintptr)(unsafe.Pointer(argv + 1*8))) == uint64(4) && libc.Xmemcmp(tls, ts+24721, *(*uintptr)(unsafe.Pointer(argv + 1*8)), uint64(4)) == 0)
+ bDb = libc.Bool32(argc == 6 && libc.Xstrlen(tls, *(*uintptr)(unsafe.Pointer(argv + 1*8))) == uint64(4) && libc.Xmemcmp(tls, ts+24787, *(*uintptr)(unsafe.Pointer(argv + 1*8)), uint64(4)) == 0)
if argc != 5 && bDb == 0 {
- *(*uintptr)(unsafe.Pointer(pzErr)) = Xsqlite3_mprintf(tls, ts+38873, 0)
+ *(*uintptr)(unsafe.Pointer(pzErr)) = Xsqlite3_mprintf(tls, ts+39443, 0)
*(*int32)(unsafe.Pointer(bp + 32)) = SQLITE_ERROR
} else {
var nByte int32
@@ -196695,11 +197721,11 @@ func fts5VocabOpenMethod(tls *libc.TLS, pVTab uintptr, ppCsr uintptr) int32 {
if (*Fts5VocabTable)(unsafe.Pointer(pTab)).FbBusy != 0 {
(*Sqlite3_vtab)(unsafe.Pointer(pVTab)).FzErrMsg = Xsqlite3_mprintf(tls,
- ts+38906, libc.VaList(bp, (*Fts5VocabTable)(unsafe.Pointer(pTab)).FzFts5Db, (*Fts5VocabTable)(unsafe.Pointer(pTab)).FzFts5Tbl))
+ ts+39476, libc.VaList(bp, (*Fts5VocabTable)(unsafe.Pointer(pTab)).FzFts5Db, (*Fts5VocabTable)(unsafe.Pointer(pTab)).FzFts5Tbl))
return SQLITE_ERROR
}
zSql = sqlite3Fts5Mprintf(tls, bp+64,
- ts+38937,
+ ts+39507,
libc.VaList(bp+16, (*Fts5VocabTable)(unsafe.Pointer(pTab)).FzFts5Tbl, (*Fts5VocabTable)(unsafe.Pointer(pTab)).FzFts5Db, (*Fts5VocabTable)(unsafe.Pointer(pTab)).FzFts5Tbl, (*Fts5VocabTable)(unsafe.Pointer(pTab)).FzFts5Tbl))
if zSql != 0 {
*(*int32)(unsafe.Pointer(bp + 64)) = Xsqlite3_prepare_v2(tls, (*Fts5VocabTable)(unsafe.Pointer(pTab)).Fdb, zSql, -1, bp+72, uintptr(0))
@@ -196723,7 +197749,7 @@ func fts5VocabOpenMethod(tls *libc.TLS, pVTab uintptr, ppCsr uintptr) int32 {
*(*uintptr)(unsafe.Pointer(bp + 72)) = uintptr(0)
if *(*int32)(unsafe.Pointer(bp + 64)) == SQLITE_OK {
(*Sqlite3_vtab)(unsafe.Pointer(pVTab)).FzErrMsg = Xsqlite3_mprintf(tls,
- ts+38988, libc.VaList(bp+48, (*Fts5VocabTable)(unsafe.Pointer(pTab)).FzFts5Db, (*Fts5VocabTable)(unsafe.Pointer(pTab)).FzFts5Tbl))
+ ts+39558, libc.VaList(bp+48, (*Fts5VocabTable)(unsafe.Pointer(pTab)).FzFts5Db, (*Fts5VocabTable)(unsafe.Pointer(pTab)).FzFts5Tbl))
*(*int32)(unsafe.Pointer(bp + 64)) = SQLITE_ERROR
}
} else {
@@ -197007,7 +198033,7 @@ func fts5VocabFilterMethod(tls *libc.TLS, pCursor uintptr, idxNum int32, zUnused
if pLe != 0 {
var zCopy uintptr = Xsqlite3_value_text(tls, pLe)
if zCopy == uintptr(0) {
- zCopy = ts + 1544
+ zCopy = ts + 1563
}
(*Fts5VocabCursor)(unsafe.Pointer(pCsr)).FnLeTerm = Xsqlite3_value_bytes(tls, pLe)
(*Fts5VocabCursor)(unsafe.Pointer(pCsr)).FzLeTerm = Xsqlite3_malloc(tls, (*Fts5VocabCursor)(unsafe.Pointer(pCsr)).FnLeTerm+1)
@@ -197118,7 +198144,7 @@ func fts5VocabRowidMethod(tls *libc.TLS, pCursor uintptr, pRowid uintptr) int32
func sqlite3Fts5VocabInit(tls *libc.TLS, pGlobal uintptr, db uintptr) int32 {
var p uintptr = pGlobal
- return Xsqlite3_create_module_v2(tls, db, ts+39014, uintptr(unsafe.Pointer(&fts5Vocab)), p, uintptr(0))
+ return Xsqlite3_create_module_v2(tls, db, ts+39584, uintptr(unsafe.Pointer(&fts5Vocab)), p, uintptr(0))
}
var fts5Vocab = Sqlite3_module{
@@ -197140,7 +198166,7 @@ var fts5Vocab = Sqlite3_module{
// ************* End of stmt.c ***********************************************
// Return the source-id for this library
func Xsqlite3_sourceid(tls *libc.TLS) uintptr {
- return ts + 39024
+ return ts + 39594
}
func init() {
@@ -197605,6 +198631,18 @@ func init() {
*(*func(*libc.TLS, uintptr, int32, uintptr))(unsafe.Pointer(uintptr(unsafe.Pointer(&aWindowFuncs)) + 1056)) = noopStepFunc
*(*uintptr)(unsafe.Pointer(uintptr(unsafe.Pointer(&aWindowFuncs)) + 1064)) = uintptr(unsafe.Pointer(&lagName))
*(*func(*libc.TLS, uintptr, int32, uintptr))(unsafe.Pointer(uintptr(unsafe.Pointer(&attach_func)) + 24)) = attachFunc
+ *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr, uintptr, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&dbstat_module)) + 8)) = statConnect
+ *(*func(*libc.TLS, uintptr, uintptr, int32, uintptr, uintptr, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&dbstat_module)) + 16)) = statConnect
+ *(*func(*libc.TLS, uintptr, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&dbstat_module)) + 24)) = statBestIndex
+ *(*func(*libc.TLS, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&dbstat_module)) + 32)) = statDisconnect
+ *(*func(*libc.TLS, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&dbstat_module)) + 40)) = statDisconnect
+ *(*func(*libc.TLS, uintptr, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&dbstat_module)) + 48)) = statOpen
+ *(*func(*libc.TLS, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&dbstat_module)) + 56)) = statClose
+ *(*func(*libc.TLS, uintptr, int32, uintptr, int32, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&dbstat_module)) + 64)) = statFilter
+ *(*func(*libc.TLS, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&dbstat_module)) + 72)) = statNext
+ *(*func(*libc.TLS, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&dbstat_module)) + 80)) = statEof
+ *(*func(*libc.TLS, uintptr, uintptr, int32) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&dbstat_module)) + 88)) = statColumn
+ *(*func(*libc.TLS, uintptr, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&dbstat_module)) + 96)) = statRowid
*(*func(*libc.TLS, int32) uintptr)(unsafe.Pointer(uintptr(unsafe.Pointer(&defaultMethods)) + 0)) = sqlite3MemMalloc
*(*func(*libc.TLS, uintptr))(unsafe.Pointer(uintptr(unsafe.Pointer(&defaultMethods)) + 8)) = sqlite3MemFree
*(*func(*libc.TLS, uintptr, int32) uintptr)(unsafe.Pointer(uintptr(unsafe.Pointer(&defaultMethods)) + 16)) = sqlite3MemRealloc
@@ -198082,8 +199120,9 @@ func init() {
*(*func(*libc.TLS, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&sqlite3Apis)) + 2128)) = Xsqlite3_is_interrupted
*(*func(*libc.TLS, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&sqlite3BuiltinExtensions)) + 0)) = Xsqlite3Fts5Init
*(*func(*libc.TLS, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&sqlite3BuiltinExtensions)) + 8)) = Xsqlite3RtreeInit
- *(*func(*libc.TLS, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&sqlite3BuiltinExtensions)) + 16)) = sqlite3TestExtInit
- *(*func(*libc.TLS, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&sqlite3BuiltinExtensions)) + 24)) = Xsqlite3JsonTableFunctions
+ *(*func(*libc.TLS, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&sqlite3BuiltinExtensions)) + 16)) = Xsqlite3DbstatRegister
+ *(*func(*libc.TLS, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&sqlite3BuiltinExtensions)) + 24)) = sqlite3TestExtInit
+ *(*func(*libc.TLS, uintptr) int32)(unsafe.Pointer(uintptr(unsafe.Pointer(&sqlite3BuiltinExtensions)) + 32)) = Xsqlite3JsonTableFunctions
*(*func(*libc.TLS, uintptr, int32, uintptr))(unsafe.Pointer(uintptr(unsafe.Pointer(&statGetFuncdef)) + 24)) = statGet
*(*func(*libc.TLS, uintptr, int32, uintptr))(unsafe.Pointer(uintptr(unsafe.Pointer(&statInitFuncdef)) + 24)) = statInit
*(*func(*libc.TLS, uintptr, int32, uintptr))(unsafe.Pointer(uintptr(unsafe.Pointer(&statPushFuncdef)) + 24)) = statPush
@@ -198207,5 +199246,5 @@ func init() {
*(*func(*libc.TLS, uintptr, uintptr) uintptr)(unsafe.Pointer(uintptr(unsafe.Pointer(&winVfs)) + 160)) = winNextSystemCall
}
-var ts1 = "3.41.0\x00ATOMIC_INTRINSICS=1\x00COMPILER=msvc-1900\x00DEFAULT_AUTOVACUUM\x00DEFAULT_CACHE_SIZE=-2000\x00DEFAULT_FILE_FORMAT=4\x00DEFAULT_JOURNAL_SIZE_LIMIT=-1\x00DEFAULT_MEMSTATUS=0\x00DEFAULT_MMAP_SIZE=0\x00DEFAULT_PAGE_SIZE=4096\x00DEFAULT_PCACHE_INITSZ=20\x00DEFAULT_RECURSIVE_TRIGGERS\x00DEFAULT_SECTOR_SIZE=4096\x00DEFAULT_SYNCHRONOUS=2\x00DEFAULT_WAL_AUTOCHECKPOINT=1000\x00DEFAULT_WAL_SYNCHRONOUS=2\x00DEFAULT_WORKER_THREADS=0\x00ENABLE_COLUMN_METADATA\x00ENABLE_FTS5\x00ENABLE_GEOPOLY\x00ENABLE_MATH_FUNCTIONS\x00ENABLE_MEMORY_MANAGEMENT\x00ENABLE_OFFSET_SQL_FUNC\x00ENABLE_PREUPDATE_HOOK\x00ENABLE_RBU\x00ENABLE_RTREE\x00ENABLE_SESSION\x00ENABLE_SNAPSHOT\x00ENABLE_STAT4\x00ENABLE_UNLOCK_NOTIFY\x00LIKE_DOESNT_MATCH_BLOBS\x00MALLOC_SOFT_LIMIT=1024\x00MAX_ATTACHED=10\x00MAX_COLUMN=2000\x00MAX_COMPOUND_SELECT=500\x00MAX_DEFAULT_PAGE_SIZE=8192\x00MAX_EXPR_DEPTH=1000\x00MAX_FUNCTION_ARG=127\x00MAX_LENGTH=1000000000\x00MAX_LIKE_PATTERN_LENGTH=50000\x00MAX_MMAP_SIZE=0x7fff0000\x00MAX_PAGE_COUNT=1073741823\x00MAX_PAGE_SIZE=65536\x00MAX_SQL_LENGTH=1000000000\x00MAX_TRIGGER_DEPTH=1000\x00MAX_VARIABLE_NUMBER=32766\x00MAX_VDBE_OP=250000000\x00MAX_WORKER_THREADS=8\x00MUTEX_NOOP\x00SOUNDEX\x00SYSTEM_MALLOC\x00TEMP_STORE=1\x00THREADSAFE=1\x00BINARY\x00ANY\x00BLOB\x00INT\x00INTEGER\x00REAL\x00TEXT\x0020b:20e\x0020c:20e\x0020e\x0040f-21a-21d\x00now\x00local time unavailable\x00second\x00minute\x00hour\x00\x00\x00day\x00\x00\x00\x00month\x00\x00year\x00\x00\x00auto\x00julianday\x00localtime\x00unixepoch\x00utc\x00weekday \x00start of \x00month\x00year\x00day\x00%02d\x00%06.3f\x00%03d\x00%.16g\x00%lld\x00%04d\x00date\x00time\x00datetime\x00strftime\x00current_time\x00current_timestamp\x00current_date\x00failed to allocate %u bytes of memory\x00failed memory resize %u to %u bytes\x00out of memory\x000123456789ABCDEF0123456789abcdef\x00-x0\x00X0\x00%\x00NaN\x00Inf\x00\x00NULL\x00(NULL)\x00.\x00(join-%u)\x00(subquery-%u)\x00thstndrd\x00922337203685477580\x00API call with %s database connection pointer\x00unopened\x00invalid\x00Savepoint\x00AutoCommit\x00Transaction\x00Checkpoint\x00JournalMode\x00Vacuum\x00VFilter\x00VUpdate\x00Init\x00Goto\x00Gosub\x00InitCoroutine\x00Yield\x00MustBeInt\x00Jump\x00Once\x00If\x00IfNot\x00IsType\x00Not\x00IfNullRow\x00SeekLT\x00SeekLE\x00SeekGE\x00SeekGT\x00IfNotOpen\x00IfNoHope\x00NoConflict\x00NotFound\x00Found\x00SeekRowid\x00NotExists\x00Last\x00IfSmaller\x00SorterSort\x00Sort\x00Rewind\x00SorterNext\x00Prev\x00Next\x00IdxLE\x00IdxGT\x00IdxLT\x00Or\x00And\x00IdxGE\x00RowSetRead\x00RowSetTest\x00Program\x00FkIfZero\x00IsNull\x00NotNull\x00Ne\x00Eq\x00Gt\x00Le\x00Lt\x00Ge\x00ElseEq\x00IfPos\x00IfNotZero\x00DecrJumpZero\x00IncrVacuum\x00VNext\x00Filter\x00PureFunc\x00Function\x00Return\x00EndCoroutine\x00HaltIfNull\x00Halt\x00Integer\x00Int64\x00String\x00BeginSubrtn\x00Null\x00SoftNull\x00Blob\x00Variable\x00Move\x00Copy\x00SCopy\x00IntCopy\x00FkCheck\x00ResultRow\x00CollSeq\x00AddImm\x00RealAffinity\x00Cast\x00Permutation\x00Compare\x00IsTrue\x00ZeroOrNull\x00Offset\x00Column\x00TypeCheck\x00Affinity\x00MakeRecord\x00Count\x00ReadCookie\x00SetCookie\x00ReopenIdx\x00BitAnd\x00BitOr\x00ShiftLeft\x00ShiftRight\x00Add\x00Subtract\x00Multiply\x00Divide\x00Remainder\x00Concat\x00OpenRead\x00OpenWrite\x00BitNot\x00OpenDup\x00OpenAutoindex\x00String8\x00OpenEphemeral\x00SorterOpen\x00SequenceTest\x00OpenPseudo\x00Close\x00ColumnsUsed\x00SeekScan\x00SeekHit\x00Sequence\x00NewRowid\x00Insert\x00RowCell\x00Delete\x00ResetCount\x00SorterCompare\x00SorterData\x00RowData\x00Rowid\x00NullRow\x00SeekEnd\x00IdxInsert\x00SorterInsert\x00IdxDelete\x00DeferredSeek\x00IdxRowid\x00FinishSeek\x00Destroy\x00Clear\x00ResetSorter\x00CreateBtree\x00SqlExec\x00ParseSchema\x00LoadAnalysis\x00DropTable\x00DropIndex\x00Real\x00DropTrigger\x00IntegrityCk\x00RowSetAdd\x00Param\x00FkCounter\x00MemMax\x00OffsetLimit\x00AggInverse\x00AggStep\x00AggStep1\x00AggValue\x00AggFinal\x00Expire\x00CursorLock\x00CursorUnlock\x00TableLock\x00VBegin\x00VCreate\x00VDestroy\x00VOpen\x00VInitIn\x00VColumn\x00VRename\x00Pagecount\x00MaxPgcnt\x00ClrSubtype\x00FilterAdd\x00Trace\x00CursorHint\x00ReleaseReg\x00Noop\x00Explain\x00Abortable\x00AreFileApisANSI\x00CharLowerW\x00CharUpperW\x00CloseHandle\x00CreateFileA\x00CreateFileW\x00CreateFileMappingA\x00CreateFileMappingW\x00CreateMutexW\x00DeleteFileA\x00DeleteFileW\x00FileTimeToLocalFileTime\x00FileTimeToSystemTime\x00FlushFileBuffers\x00FormatMessageA\x00FormatMessageW\x00FreeLibrary\x00GetCurrentProcessId\x00GetDiskFreeSpaceA\x00GetDiskFreeSpaceW\x00GetFileAttributesA\x00GetFileAttributesW\x00GetFileAttributesExW\x00GetFileSize\x00GetFullPathNameA\x00GetFullPathNameW\x00GetLastError\x00GetProcAddressA\x00GetSystemInfo\x00GetSystemTime\x00GetSystemTimeAsFileTime\x00GetTempPathA\x00GetTempPathW\x00GetTickCount\x00GetVersionExA\x00GetVersionExW\x00HeapAlloc\x00HeapCreate\x00HeapDestroy\x00HeapFree\x00HeapReAlloc\x00HeapSize\x00HeapValidate\x00HeapCompact\x00LoadLibraryA\x00LoadLibraryW\x00LocalFree\x00LockFile\x00LockFileEx\x00MapViewOfFile\x00MultiByteToWideChar\x00QueryPerformanceCounter\x00ReadFile\x00SetEndOfFile\x00SetFilePointer\x00Sleep\x00SystemTimeToFileTime\x00UnlockFile\x00UnlockFileEx\x00UnmapViewOfFile\x00WideCharToMultiByte\x00WriteFile\x00CreateEventExW\x00WaitForSingleObject\x00WaitForSingleObjectEx\x00SetFilePointerEx\x00GetFileInformationByHandleEx\x00MapViewOfFileFromApp\x00CreateFile2\x00LoadPackagedLibrary\x00GetTickCount64\x00GetNativeSystemInfo\x00OutputDebugStringA\x00OutputDebugStringW\x00GetProcessHeap\x00CreateFileMappingFromApp\x00InterlockedCompareExchange\x00UuidCreate\x00UuidCreateSequential\x00FlushViewOfFile\x00%s\x00OsError 0x%lx (%lu)\x00os_win.c:%d: (%lu) %s(%s) - %s\x00delayed %dms for lock/sharing conflict at line %d\x00winSeekFile\x00winClose\x00winRead\x00winWrite1\x00winWrite2\x00winTruncate1\x00winTruncate2\x00winSync1\x00winSync2\x00winFileSize\x00winUnlockReadLock\x00winUnlock\x00winLockSharedMemory\x00%s-shm\x00readonly_shm\x00winOpenShm\x00winShmMap1\x00winShmMap2\x00winShmMap3\x00winUnmapfile1\x00winUnmapfile2\x00winMapfile1\x00winMapfile2\x00etilqs_\x00winGetTempname1\x00winGetTempname2\x00winGetTempname3\x00winGetTempname4\x00winGetTempname5\x00abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789\x00exclusive\x00winOpen\x00psow\x00winDelete\x00winAccess\x00%s%c%s\x00winFullPathname1\x00winFullPathname2\x00winFullPathname3\x00winFullPathname4\x00win32\x00win32-longpath\x00win32-none\x00win32-longpath-none\x00memdb\x00memdb(%p,%lld)\x00PRAGMA \"%w\".page_count\x00ATTACH x AS %Q\x00recovered %d pages from %s\x00-journal\x00-wal\x00nolock\x00immutable\x00PRAGMA table_list\x00recovered %d frames from WAL file %s\x00cannot limit WAL size: %s\x00SQLite format 3\x00:memory:\x00@ \x00\n\x00invalid page number %d\x002nd reference to page %d\x00Failed to read ptrmap key=%d\x00Bad ptr map entry key=%d expected=(%d,%d) got=(%d,%d)\x00failed to get page %d\x00freelist leaf count too big on page %d\x00%s is %d but should be %d\x00size\x00overflow list length\x00Page %u: \x00unable to get the page. error code=%d\x00btreeInitPage() returns error code %d\x00free space corruption\x00On tree page %u cell %d: \x00On page %u at right child: \x00Offset %d out of range %d..%d\x00Extends off end of page\x00Rowid %lld out of order\x00Child page depth differs\x00Multiple uses for byte %u of page %u\x00Fragmentation of %d bytes reported as %d on page %u\x00Main freelist: \x00max rootpage (%d) disagrees with header (%d)\x00incremental_vacuum enabled with a max rootpage of zero\x00Page %d is never used\x00Pointer map page %d is referenced\x00unknown database %s\x00destination database is in use\x00source and destination must be distinct\x00%!.15g\x00-\x00%s%s\x00k(%d\x00B\x00,%s%s%s\x00N.\x00)\x00%.18s-%s\x00%s(%d)\x00%d\x00(blob)\x00vtab:%p\x00%c%u\x00]\x00program\x00?\x008\x0016LE\x0016BE\x00addr\x00opcode\x00p1\x00p2\x00p3\x00p4\x00p5\x00comment\x00id\x00parent\x00notused\x00detail\x00%.4c%s%.16c\x00MJ delete: %s\x00MJ collide: %s\x00-mj%06X9%02X\x00FOREIGN KEY constraint failed\x00a CHECK constraint\x00a generated column\x00an index\x00non-deterministic use of %s() in %s\x00API called with finalized prepared statement\x00API called with NULL prepared statement\x00string or blob too big\x00bind on a busy prepared statement: [%s]\x00-- \x00'%.*q'\x00zeroblob(%d)\x00x'\x00%02x\x00'\x00%s constraint failed\x00%z: %s\x00abort at %d in [%s]: %s\x00cannot store %s value in %s column %s.%s\x00cannot open savepoint - SQL statements in progress\x00no such savepoint: %s\x00cannot release savepoint - SQL statements in progress\x00cannot commit transaction - SQL statements in progress\x00cannot start a transaction within a transaction\x00cannot rollback - no transaction is active\x00cannot commit - no transaction is active\x00database schema has changed\x00index corruption\x00sqlite_master\x00SELECT*FROM\"%w\".%s WHERE %s ORDER BY rowid\x00too many levels of trigger recursion\x00cannot change %s wal mode from within a transaction\x00into\x00out of\x00database table is locked: %s\x00ValueList\x00-- %s\x00statement aborts at %d: [%s] %s\x00NOT NULL\x00UNIQUE\x00CHECK\x00FOREIGN KEY\x00cannot open value of type %s\x00null\x00real\x00integer\x00no such rowid: %lld\x00cannot open virtual table: %s\x00cannot open table without rowid: %s\x00cannot open view: %s\x00no such column: \"%s\"\x00foreign key\x00indexed\x00cannot open %s column for writing\x00sqlite_\x00sqlite_temp_master\x00sqlite_temp_schema\x00sqlite_schema\x00main\x00*\x00new\x00old\x00excluded\x00misuse of aliased aggregate %s\x00misuse of aliased window function %s\x00row value misused\x00double-quoted string literal: \"%w\"\x00coalesce\x00no such column\x00ambiguous column name\x00%s: %s.%s.%s\x00%s: %s.%s\x00%s: %s\x00partial index WHERE clauses\x00index expressions\x00CHECK constraints\x00generated columns\x00%s prohibited in %s\x00true\x00false\x00the \".\" operator\x00second argument to %#T() must be a constant between 0.0 and 1.0\x00not authorized to use function: %#T\x00non-deterministic functions\x00%#T() may not be used as a window function\x00window\x00aggregate\x00misuse of %s function %#T()\x00no such function: %#T\x00wrong number of arguments to function %#T()\x00FILTER may not be used with non-aggregate %#T()\x00subqueries\x00parameters\x00%r %s BY term out of range - should be between 1 and %d\x00too many terms in ORDER BY clause\x00ORDER\x00%r ORDER BY term does not match any column in the result set\x00too many terms in %s BY clause\x00HAVING clause on a non-aggregate query\x00GROUP\x00aggregate functions are not allowed in the GROUP BY clause\x00Expression tree is too large (maximum depth %d)\x00IN(...) element has %d term%s - expected %d\x00s\x000\x00too many arguments on function %T\x00unsafe use of %#T()\x00variable number must be between ?1 and ?%d\x00too many SQL variables\x00%d columns assigned %d values\x00too many columns in %s\x00_ROWID_\x00ROWID\x00OID\x00USING ROWID SEARCH ON TABLE %s FOR IN-OPERATOR\x00USING INDEX %s FOR IN-OPERATOR\x00sub-select returns %d columns - expected %d\x00REUSE LIST SUBQUERY %d\x00%sLIST SUBQUERY %d\x00CORRELATED \x00REUSE SUBQUERY %d\x00%sSCALAR SUBQUERY %d\x001\x000x\x00hex literal too big: %s%#T\x00generated column loop on \"%s\"\x00blob\x00text\x00numeric\x00flexnum\x00none\x00misuse of aggregate: %#T()\x00unknown function: %#T()\x00RAISE() may only be used within a trigger-program\x00B\x00C\x00D\x00E\x00F\x00table %s may not be altered\x00SELECT 1 FROM \"%w\".sqlite_master WHERE name NOT LIKE 'sqliteX_%%' ESCAPE 'X' AND sql NOT LIKE 'create virtual%%' AND sqlite_rename_test(%Q, sql, type, name, %d, %Q, %d)=NULL \x00SELECT 1 FROM temp.sqlite_master WHERE name NOT LIKE 'sqliteX_%%' ESCAPE 'X' AND sql NOT LIKE 'create virtual%%' AND sqlite_rename_test(%Q, sql, type, name, 1, %Q, %d)=NULL \x00UPDATE \"%w\".sqlite_master SET sql = sqlite_rename_quotefix(%Q, sql)WHERE name NOT LIKE 'sqliteX_%%' ESCAPE 'X' AND sql NOT LIKE 'create virtual%%'\x00UPDATE temp.sqlite_master SET sql = sqlite_rename_quotefix('temp', sql)WHERE name NOT LIKE 'sqliteX_%%' ESCAPE 'X' AND sql NOT LIKE 'create virtual%%'\x00there is already another table or index with this name: %s\x00table\x00view %s may not be altered\x00UPDATE \"%w\".sqlite_master SET sql = sqlite_rename_table(%Q, type, name, sql, %Q, %Q, %d) WHERE (type!='index' OR tbl_name=%Q COLLATE nocase)AND name NOT LIKE 'sqliteX_%%' ESCAPE 'X'\x00UPDATE %Q.sqlite_master SET tbl_name = %Q, name = CASE WHEN type='table' THEN %Q WHEN name LIKE 'sqliteX_autoindex%%' ESCAPE 'X' AND type='index' THEN 'sqlite_autoindex_' || %Q || substr(name,%d+18) ELSE name END WHERE tbl_name=%Q COLLATE nocase AND (type='table' OR type='index' OR type='trigger');\x00sqlite_sequence\x00UPDATE \"%w\".sqlite_sequence set name = %Q WHERE name = %Q\x00UPDATE sqlite_temp_schema SET sql = sqlite_rename_table(%Q, type, name, sql, %Q, %Q, 1), tbl_name = CASE WHEN tbl_name=%Q COLLATE nocase AND sqlite_rename_test(%Q, sql, type, name, 1, 'after rename', 0) THEN %Q ELSE tbl_name END WHERE type IN ('view', 'trigger')\x00after rename\x00SELECT raise(ABORT,%Q) FROM \"%w\".\"%w\"\x00Cannot add a PRIMARY KEY column\x00Cannot add a UNIQUE column\x00Cannot add a REFERENCES column with non-NULL default value\x00Cannot add a NOT NULL column with default value NULL\x00Cannot add a column with non-constant default\x00cannot add a STORED column\x00UPDATE \"%w\".sqlite_master SET sql = printf('%%.%ds, ',sql) || %Q || substr(sql,1+length(printf('%%.%ds',sql))) WHERE type = 'table' AND name = %Q\x00SELECT CASE WHEN quick_check GLOB 'CHECK*' THEN raise(ABORT,'CHECK constraint failed') ELSE raise(ABORT,'NOT NULL constraint failed') END FROM pragma_quick_check(%Q,%Q) WHERE quick_check GLOB 'CHECK*' OR quick_check GLOB 'NULL*'\x00virtual tables may not be altered\x00Cannot add a column to a view\x00sqlite_altertab_%s\x00view\x00virtual table\x00cannot %s %s \"%s\"\x00drop column from\x00rename columns of\x00no such column: \"%T\"\x00UPDATE \"%w\".sqlite_master SET sql = sqlite_rename_column(sql, type, name, %Q, %Q, %d, %Q, %d, %d) WHERE name NOT LIKE 'sqliteX_%%' ESCAPE 'X' AND (type != 'index' OR tbl_name = %Q)\x00UPDATE temp.sqlite_master SET sql = sqlite_rename_column(sql, type, name, %Q, %Q, %d, %Q, %d, 1) WHERE type IN ('trigger', 'view')\x00error in %s %s%s%s: %s\x00 \x00CREATE \x00\"%w\" \x00%Q%s\x00%.*s%s\x00cannot drop %s column: \"%s\"\x00PRIMARY KEY\x00cannot drop column \"%s\": no other columns exist\x00UPDATE \"%w\".sqlite_master SET sql = sqlite_drop_column(%d, sql, %d) WHERE (type=='table' AND tbl_name=%Q COLLATE nocase)\x00after drop column\x00sqlite_rename_column\x00sqlite_rename_table\x00sqlite_rename_test\x00sqlite_drop_column\x00sqlite_rename_quotefix\x00CREATE TABLE %Q.%s(%s)\x00DELETE FROM %Q.%s WHERE %s=%Q\x00DELETE FROM %Q.%s\x00sqlite_stat1\x00tbl,idx,stat\x00sqlite_stat4\x00tbl,idx,neq,nlt,ndlt,sample\x00sqlite_stat3\x00stat_init\x00stat_push\x00%llu\x00 %llu\x00%llu \x00stat_get\x00sqlite\\_%\x00BBB\x00idx\x00tbl\x00unordered*\x00sz=[0-9]*\x00noskipscan*\x00SELECT idx,count(*) FROM %Q.sqlite_stat4 GROUP BY idx\x00SELECT idx,neq,nlt,ndlt,sample FROM %Q.sqlite_stat4\x00SELECT tbl,idx,stat FROM %Q.sqlite_stat1\x00x\x00\x00too many attached databases - max %d\x00database %s is already in use\x00database is already attached\x00attached databases must use the same text encoding as main database\x00unable to open database: %s\x00no such database: %s\x00cannot detach database %s\x00database %s is locked\x00sqlite_detach\x00sqlite_attach\x00%s cannot use variables\x00%s %T cannot reference objects in database %s\x00authorizer malfunction\x00%s.%s\x00%s.%z\x00access to %z is prohibited\x00not authorized\x00pragma_\x00no such view\x00no such table\x00corrupt database\x00unknown database %T\x00object name reserved for internal use: %s\x00temporary table name must be unqualified\x00%s %T already exists\x00there is already an index named %s\x00sqlite_returning\x00cannot use RETURNING in a trigger\x00too many columns on %s\x00always\x00generated\x00duplicate column name: %s\x00default value of column [%s] is not constant\x00cannot use DEFAULT on a generated column\x00generated columns cannot be part of the PRIMARY KEY\x00table \"%s\" has more than one primary key\x00AUTOINCREMENT is only allowed on an INTEGER PRIMARY KEY\x00virtual tables cannot use computed columns\x00virtual\x00stored\x00error in generated column \"%s\"\x00,\x00\n \x00,\n \x00\n)\x00CREATE TABLE \x00 TEXT\x00 NUM\x00 INT\x00 REAL\x00unknown datatype for %s.%s: \"%s\"\x00missing datatype for %s.%s\x00AUTOINCREMENT not allowed on WITHOUT ROWID tables\x00PRIMARY KEY missing on table %s\x00must have at least one non-generated column\x00TABLE\x00VIEW\x00CREATE %s %.*s\x00UPDATE %Q.sqlite_master SET type='%s', name=%Q, tbl_name=%Q, rootpage=#%d, sql=%Q WHERE rowid=#%d\x00CREATE TABLE %Q.sqlite_sequence(name,seq)\x00tbl_name='%q' AND type!='trigger'\x00parameters are not allowed in views\x00view %s is circularly defined\x00corrupt schema\x00UPDATE %Q.sqlite_master SET rootpage=%d WHERE #%d AND rootpage=#%d\x00sqlite_stat%d\x00DELETE FROM %Q.sqlite_sequence WHERE name=%Q\x00DELETE FROM %Q.sqlite_master WHERE tbl_name=%Q and type!='trigger'\x00stat\x00table %s may not be dropped\x00use DROP TABLE to delete table %s\x00use DROP VIEW to delete view %s\x00foreign key on %s should reference only one column of table %T\x00number of columns in foreign key does not match the number of columns in the referenced table\x00unknown column \"%s\" in foreign key definition\x00unsupported use of NULLS %s\x00FIRST\x00LAST\x00index\x00cannot create a TEMP index on non-TEMP table \"%s\"\x00table %s may not be indexed\x00views may not be indexed\x00virtual tables may not be indexed\x00there is already a table named %s\x00index %s already exists\x00sqlite_autoindex_%s_%d\x00expressions prohibited in PRIMARY KEY and UNIQUE constraints\x00conflicting ON CONFLICT clauses specified\x00invalid rootpage\x00CREATE%s INDEX %.*s\x00 UNIQUE\x00INSERT INTO %Q.sqlite_master VALUES('index',%Q,%Q,#%d,%Q);\x00name='%q' AND type='index'\x00no such index: %S\x00index associated with UNIQUE or PRIMARY KEY constraint cannot be dropped\x00DELETE FROM %Q.sqlite_master WHERE name=%Q AND type='index'\x00too many FROM clause terms, max: %d\x00a JOIN clause is required before %s\x00ON\x00USING\x00BEGIN\x00ROLLBACK\x00COMMIT\x00RELEASE\x00unable to open a temporary database file for storing temporary tables\x00index '%q'\x00, \x00%s.rowid\x00unable to identify the object to be reindexed\x00duplicate WITH table name: %s\x00no such collation sequence: %s\x00unsafe use of virtual table \"%s\"\x00table %s may not be modified\x00cannot modify %s because it is a view\x00rows deleted\x00integer overflow\x00%.*f\x00LIKE or GLOB pattern too complex\x00ESCAPE expression must be a single character\x00%!.20e\x00%Q\x00?000\x00MATCH\x00like\x00implies_nonnull_row\x00expr_compare\x00expr_implies_expr\x00affinity\x00soundex\x00load_extension\x00sqlite_compileoption_used\x00sqlite_compileoption_get\x00unlikely\x00likelihood\x00likely\x00sqlite_offset\x00ltrim\x00rtrim\x00trim\x00min\x00max\x00typeof\x00subtype\x00length\x00instr\x00printf\x00format\x00unicode\x00char\x00abs\x00round\x00upper\x00lower\x00hex\x00unhex\x00ifnull\x00random\x00randomblob\x00nullif\x00sqlite_version\x00sqlite_source_id\x00sqlite_log\x00quote\x00last_insert_rowid\x00changes\x00total_changes\x00replace\x00zeroblob\x00substr\x00substring\x00sum\x00total\x00avg\x00count\x00group_concat\x00glob\x00ceil\x00ceiling\x00floor\x00trunc\x00ln\x00log\x00log10\x00log2\x00exp\x00pow\x00power\x00mod\x00acos\x00asin\x00atan\x00atan2\x00cos\x00sin\x00tan\x00cosh\x00sinh\x00tanh\x00acosh\x00asinh\x00atanh\x00sqrt\x00radians\x00degrees\x00pi\x00sign\x00iif\x00foreign key mismatch - \"%w\" referencing \"%w\"\x00cannot INSERT into generated column \"%s\"\x00table %S has no column named %s\x00table %S has %d columns but %d values were supplied\x00%d values for %d columns\x00UPSERT not implemented for virtual table \"%s\"\x00cannot UPSERT a view\x00rows inserted\x00sqlite3_extension_init\x00sqlite3_\x00lib\x00_init\x00no entry point [%s] in shared library [%s]\x00error during initialization: %s\x00unable to open shared library [%.*s]\x00dll\x00automatic extension loading failed: %s\x00seq\x00from\x00to\x00on_update\x00on_delete\x00match\x00cid\x00name\x00type\x00notnull\x00dflt_value\x00pk\x00hidden\x00schema\x00ncol\x00wr\x00strict\x00seqno\x00desc\x00coll\x00key\x00builtin\x00enc\x00narg\x00flags\x00wdth\x00hght\x00flgs\x00unique\x00origin\x00partial\x00rowid\x00fkid\x00file\x00busy\x00checkpointed\x00database\x00status\x00cache_size\x00timeout\x00analysis_limit\x00application_id\x00auto_vacuum\x00automatic_index\x00busy_timeout\x00cache_spill\x00case_sensitive_like\x00cell_size_check\x00checkpoint_fullfsync\x00collation_list\x00compile_options\x00count_changes\x00data_store_directory\x00data_version\x00database_list\x00default_cache_size\x00defer_foreign_keys\x00empty_result_callbacks\x00encoding\x00foreign_key_check\x00foreign_key_list\x00foreign_keys\x00freelist_count\x00full_column_names\x00fullfsync\x00function_list\x00hard_heap_limit\x00ignore_check_constraints\x00incremental_vacuum\x00index_info\x00index_list\x00index_xinfo\x00integrity_check\x00journal_mode\x00journal_size_limit\x00legacy_alter_table\x00locking_mode\x00max_page_count\x00mmap_size\x00module_list\x00optimize\x00page_count\x00page_size\x00pragma_list\x00query_only\x00quick_check\x00read_uncommitted\x00recursive_triggers\x00reverse_unordered_selects\x00schema_version\x00secure_delete\x00short_column_names\x00shrink_memory\x00soft_heap_limit\x00synchronous\x00table_info\x00table_list\x00table_xinfo\x00temp_store\x00temp_store_directory\x00threads\x00trusted_schema\x00user_version\x00wal_autocheckpoint\x00wal_checkpoint\x00writable_schema\x00onoffalseyestruextrafull\x00normal\x00full\x00incremental\x00memory\x00temporary storage cannot be changed from within a transaction\x00SET NULL\x00SET DEFAULT\x00CASCADE\x00RESTRICT\x00NO ACTION\x00delete\x00persist\x00off\x00truncate\x00wal\x00w\x00a\x00sissii\x00utf8\x00utf16le\x00utf16be\x00-%T\x00fast\x00not a writable directory\x00Safety level may not be changed inside a transaction\x00reset\x00issisii\x00issisi\x00SELECT*FROM\"%w\"\x00shadow\x00sssiii\x00iisX\x00isiX\x00c\x00u\x00isisi\x00iss\x00is\x00iissssss\x00NONE\x00siX\x00*** in database %s ***\n\x00row not in PRIMARY KEY order for %s\x00NULL value in %s.%s\x00non-%s value in %s.%s\x00NUMERIC value in %s.%s\x00C\x00TEXT value in %s.%s\x00CHECK constraint failed in %s\x00row \x00 missing from index \x00 values differ from index \x00non-unique entry in index \x00wrong # of entries in index \x00ok\x00unsupported encoding: %s\x00restart\x00ANALYZE \"%w\".\"%w\"\x00UTF8\x00UTF-8\x00UTF-16le\x00UTF-16be\x00UTF16le\x00UTF16be\x00UTF-16\x00UTF16\x00CREATE TABLE x\x00%c\"%s\"\x00(\"%s\"\x00,arg HIDDEN\x00,schema HIDDEN\x00PRAGMA \x00%Q.\x00=%Q\x00error in %s %s after %s: %s\x00malformed database schema (%s)\x00%z - %s\x00rename\x00drop column\x00add column\x00orphan index\x00CREATE TABLE x(type text,name text,tbl_name text,rootpage int,sql text)\x00unsupported file format\x00SELECT*FROM\"%w\".%s ORDER BY rowid\x00database schema is locked: %s\x00statement too long\x00unknown join type: %T%s%T%s%T\x00naturaleftouterightfullinnercross\x00a NATURAL join may not have an ON or USING clause\x00cannot join using column %s - column not present in both tables\x00ambiguous reference to %s in USING()\x00UNION ALL\x00INTERSECT\x00EXCEPT\x00UNION\x00USE TEMP B-TREE FOR %s\x00USE TEMP B-TREE FOR %sORDER BY\x00RIGHT PART OF \x00column%d\x00%.*z:%u\x00NUM\x00cannot use window functions in recursive queries\x00recursive aggregate queries not supported\x00SETUP\x00RECURSIVE STEP\x00SCAN %d CONSTANT ROW%s\x00S\x00COMPOUND QUERY\x00LEFT-MOST SUBQUERY\x00%s USING TEMP B-TREE\x00all VALUES must have the same number of terms\x00SELECTs to the left and right of %s do not have the same number of result columns\x00MERGE (%s)\x00LEFT\x00RIGHT\x00no such index: %s\x00'%s' is not a function\x00no such index: \"%s\"\x00multiple references to recursive table: %s\x00circular reference: %s\x00table %s has %d values for %d columns\x00multiple recursive references: %s\x00recursive reference in a subquery: %s\x00%!S\x00too many references to \"%s\": max 65535\x00access to view \"%s\" prohibited\x00..%s\x00%s.%s.%s\x00no such table: %s\x00no tables specified\x00too many columns in result set\x00DISTINCT aggregates must have exactly one argument\x00USE TEMP B-TREE FOR %s(DISTINCT)\x00SCAN %s%s%s\x00 USING COVERING INDEX \x00target object/alias may not appear in FROM clause: %s\x00expected %d columns for '%s' but got %d\x00CO-ROUTINE %!S\x00MATERIALIZE %!S\x00DISTINCT\x00GROUP BY\x00sqlite3_get_table() called with two or more incompatible queries\x00temporary trigger may not have qualified name\x00trigger\x00cannot create triggers on virtual tables\x00trigger %T already exists\x00cannot create trigger on system table\x00cannot create %s trigger on view: %S\x00BEFORE\x00AFTER\x00cannot create INSTEAD OF trigger on table: %S\x00trigger \"%s\" may not write to shadow table \"%s\"\x00INSERT INTO %Q.sqlite_master VALUES('trigger',%Q,%Q,0,'CREATE TRIGGER %q')\x00type='trigger' AND name='%q'\x00no such trigger: %S\x00DELETE FROM %Q.sqlite_master WHERE name=%Q AND type='trigger'\x00%s RETURNING is not available on virtual tables\x00DELETE\x00UPDATE\x00RETURNING may not use \"TABLE.*\" wildcards\x00-- TRIGGER %s\x00cannot UPDATE generated column \"%s\"\x00no such column: %s\x00rows updated\x00%r \x00%sON CONFLICT clause does not match any PRIMARY KEY or UNIQUE constraint\x00CRE\x00INS\x00cannot VACUUM from within a transaction\x00cannot VACUUM - SQL statements in progress\x00non-text filename\x00ATTACH %Q AS vacuum_db\x00output file already exists\x00SELECT sql FROM \"%w\".sqlite_schema WHERE type='table'AND name<>'sqlite_sequence' AND coalesce(rootpage,1)>0\x00SELECT sql FROM \"%w\".sqlite_schema WHERE type='index'\x00SELECT'INSERT INTO vacuum_db.'||quote(name)||' SELECT*FROM\"%w\".'||quote(name)FROM vacuum_db.sqlite_schema WHERE type='table'AND coalesce(rootpage,1)>0\x00INSERT INTO vacuum_db.sqlite_schema SELECT*FROM \"%w\".sqlite_schema WHERE type IN('view','trigger') OR(type='table'AND rootpage=0)\x00CREATE VIRTUAL TABLE %T\x00UPDATE %Q.sqlite_master SET type='table', name=%Q, tbl_name=%Q, rootpage=0, sql=%Q WHERE rowid=#%d\x00name=%Q AND sql=%Q\x00vtable constructor called recursively: %s\x00vtable constructor failed: %s\x00vtable constructor did not declare schema: %s\x00no such module: %s\x00<expr>\x00 AND \x00(\x00 (\x00%s=?\x00ANY(%s)\x00>\x00<\x00%s %S\x00SEARCH\x00SCAN\x00AUTOMATIC PARTIAL COVERING INDEX\x00AUTOMATIC COVERING INDEX\x00COVERING INDEX %s\x00INDEX %s\x00 USING \x00 USING INTEGER PRIMARY KEY (%s\x00>? AND %s\x00%c?)\x00 VIRTUAL TABLE INDEX %d:%s\x00 LEFT-JOIN\x00BLOOM FILTER ON %S (\x00rowid=?\x00MULTI-INDEX OR\x00INDEX %d\x00RIGHT-JOIN %s\x00regexp\x00ON clause references tables to its right\x00NOCASE\x00too many arguments on %s() - max %d\x00automatic index on %s(%s)\x00auto-index\x00%s.xBestIndex malfunction\x00abbreviated query algorithm search\x00no query solution\x00at most %d tables in a join\x00SCAN CONSTANT ROW\x00second argument to nth_value must be a positive integer\x00argument of ntile must be a positive integer\x00row_number\x00dense_rank\x00rank\x00percent_rank\x00cume_dist\x00ntile\x00last_value\x00nth_value\x00first_value\x00lead\x00lag\x00no such window: %s\x00RANGE with offset PRECEDING/FOLLOWING requires one ORDER BY expression\x00FILTER clause may only be used with aggregate window functions\x00misuse of aggregate: %s()\x00unsupported frame specification\x00PARTITION clause\x00ORDER BY clause\x00frame specification\x00cannot override %s of window: %s\x00DISTINCT is not supported for window functions\x00frame starting offset must be a non-negative integer\x00frame ending offset must be a non-negative integer\x00frame starting offset must be a non-negative number\x00frame ending offset must be a non-negative number\x00%s clause should come after %s not before\x00ORDER BY\x00LIMIT\x00too many terms in compound SELECT\x00syntax error after column name \"%.*s\"\x00parser stack overflow\x00unknown table option: %.*s\x00set list\x00near \"%T\": syntax error\x00qualified table names are not allowed on INSERT, UPDATE, and DELETE statements within triggers\x00the INDEXED BY clause is not allowed on UPDATE or DELETE statements within triggers\x00the NOT INDEXED clause is not allowed on UPDATE or DELETE statements within triggers\x00incomplete input\x00unrecognized token: \"%T\"\x00%s in \"%s\"\x00create\x00temp\x00temporary\x00end\x00explain\x00unable to close due to unfinalized statements or unfinished backups\x00unknown error\x00abort due to ROLLBACK\x00another row available\x00no more rows available\x00not an error\x00SQL logic error\x00access permission denied\x00query aborted\x00database is locked\x00database table is locked\x00attempt to write a readonly database\x00interrupted\x00disk I/O error\x00database disk image is malformed\x00unknown operation\x00database or disk is full\x00unable to open database file\x00locking protocol\x00constraint failed\x00datatype mismatch\x00bad parameter or other API misuse\x00authorization denied\x00column index out of range\x00file is not a database\x00notification message\x00warning message\x00unable to delete/modify user-function due to active statements\x00unable to use function %s in the requested context\x00unknown database: %s\x00unable to delete/modify collation sequence due to active statements\x00file:\x00localhost\x00invalid uri authority: %.*s\x00vfs\x00cache\x00mode\x00access\x00no such %s mode: %s\x00%s mode not allowed: %s\x00no such vfs: %s\x00shared\x00private\x00ro\x00rw\x00rwc\x00RTRIM\x00\x00\x00\x00%s at line %d of [%.10s]\x00database corruption\x00misuse\x00cannot open file\x00no such table column: %s.%s\x00SQLITE_\x00database is deadlocked\x00array\x00object\x000123456789abcdef\x00JSON cannot hold BLOB values\x00malformed JSON\x00[0]\x00JSON path error near '%q'\x00json_%s() needs an odd number of arguments\x00$[\x00$.\x00json_object() requires an even number of arguments\x00json_object() labels must be TEXT\x00set\x00insert\x00[]\x00{}\x00CREATE TABLE x(key,value,type,atom,id,parent,fullkey,path,json HIDDEN,root HIDDEN)\x00.%.*s\x00[%d]\x00$\x00json\x00json_array\x00json_array_length\x00json_extract\x00->\x00->>\x00json_insert\x00json_object\x00json_patch\x00json_quote\x00json_remove\x00json_replace\x00json_set\x00json_type\x00json_valid\x00json_group_array\x00json_group_object\x00json_each\x00json_tree\x00%s_node\x00data\x00DROP TABLE '%q'.'%q_node';DROP TABLE '%q'.'%q_rowid';DROP TABLE '%q'.'%q_parent';\x00RtreeMatchArg\x00SELECT * FROM %Q.%Q\x00UNIQUE constraint failed: %s.%s\x00rtree constraint failed: %s.(%s<=%s)\x00ALTER TABLE %Q.'%q_node' RENAME TO \"%w_node\";ALTER TABLE %Q.'%q_parent' RENAME TO \"%w_parent\";ALTER TABLE %Q.'%q_rowid' RENAME TO \"%w_rowid\";\x00SELECT stat FROM %Q.sqlite_stat1 WHERE tbl = '%q_rowid'\x00node\x00CREATE TABLE \"%w\".\"%w_rowid\"(rowid INTEGER PRIMARY KEY,nodeno\x00,a%d\x00);CREATE TABLE \"%w\".\"%w_node\"(nodeno INTEGER PRIMARY KEY,data);\x00CREATE TABLE \"%w\".\"%w_parent\"(nodeno INTEGER PRIMARY KEY,parentnode);\x00INSERT INTO \"%w\".\"%w_node\"VALUES(1,zeroblob(%d))\x00INSERT INTO\"%w\".\"%w_rowid\"(rowid,nodeno)VALUES(?1,?2)ON CONFLICT(rowid)DO UPDATE SET nodeno=excluded.nodeno\x00SELECT * FROM \"%w\".\"%w_rowid\" WHERE rowid=?1\x00UPDATE \"%w\".\"%w_rowid\"SET \x00a%d=coalesce(?%d,a%d)\x00a%d=?%d\x00 WHERE rowid=?1\x00INSERT OR REPLACE INTO '%q'.'%q_node' VALUES(?1, ?2)\x00DELETE FROM '%q'.'%q_node' WHERE nodeno = ?1\x00SELECT nodeno FROM '%q'.'%q_rowid' WHERE rowid = ?1\x00INSERT OR REPLACE INTO '%q'.'%q_rowid' VALUES(?1, ?2)\x00DELETE FROM '%q'.'%q_rowid' WHERE rowid = ?1\x00SELECT parentnode FROM '%q'.'%q_parent' WHERE nodeno = ?1\x00INSERT OR REPLACE INTO '%q'.'%q_parent' VALUES(?1, ?2)\x00DELETE FROM '%q'.'%q_parent' WHERE nodeno = ?1\x00PRAGMA %Q.page_size\x00SELECT length(data) FROM '%q'.'%q_node' WHERE nodeno = 1\x00undersize RTree blobs in \"%q_node\"\x00Wrong number of columns for an rtree table\x00Too few columns for an rtree table\x00Too many columns for an rtree table\x00Auxiliary rtree columns must be last\x00CREATE TABLE x(%.*s INT\x00,%.*s\x00);\x00,%.*s REAL\x00,%.*s INT\x00{%lld\x00 %g\x00}\x00Invalid argument to rtreedepth()\x00%z%s%z\x00SELECT data FROM %Q.'%q_node' WHERE nodeno=?\x00Node %lld missing from database\x00SELECT parentnode FROM %Q.'%q_parent' WHERE nodeno=?1\x00SELECT nodeno FROM %Q.'%q_rowid' WHERE rowid=?1\x00Mapping (%lld -> %lld) missing from %s table\x00%_rowid\x00%_parent\x00Found (%lld -> %lld) in %s table, expected (%lld -> %lld)\x00Dimension %d of cell %d on node %lld is corrupt\x00Dimension %d of cell %d on node %lld is corrupt relative to parent\x00Node %lld is too small (%d bytes)\x00Rtree depth out of range (%d)\x00Node %lld is too small for cell count of %d (%d bytes)\x00SELECT count(*) FROM %Q.'%q%s'\x00Wrong number of entries in %%%s table - expected %lld, actual %lld\x00SELECT * FROM %Q.'%q_rowid'\x00Schema corrupt or not an rtree\x00_rowid\x00_parent\x00END\x00wrong number of arguments to function rtreecheck()\x00[\x00[%!g,%!g],\x00[%!g,%!g]]\x00<polyline points=\x00%c%g,%g\x00 %g,%g'\x00 %s\x00></polyline>\x00CREATE TABLE x(_shape\x00,%s\x00rtree\x00fullscan\x00_shape does not contain a valid polygon\x00geopoly_overlap\x00geopoly_within\x00geopoly\x00geopoly_area\x00geopoly_blob\x00geopoly_json\x00geopoly_svg\x00geopoly_contains_point\x00geopoly_debug\x00geopoly_bbox\x00geopoly_xform\x00geopoly_regular\x00geopoly_ccw\x00geopoly_group_bbox\x00rtreenode\x00rtreedepth\x00rtreecheck\x00rtree_i32\x00corrupt fossil delta\x00DROP TRIGGER IF EXISTS temp.rbu_insert_tr;DROP TRIGGER IF EXISTS temp.rbu_update1_tr;DROP TRIGGER IF EXISTS temp.rbu_update2_tr;DROP TRIGGER IF EXISTS temp.rbu_delete_tr;\x00SELECT rbu_target_name(name, type='view') AS target, name FROM sqlite_schema WHERE type IN ('table', 'view') AND target IS NOT NULL %s ORDER BY name\x00AND rootpage!=0 AND rootpage IS NOT NULL\x00SELECT name, rootpage, sql IS NULL OR substr(8, 6)=='UNIQUE' FROM main.sqlite_schema WHERE type='index' AND tbl_name = ?\x00SELECT (sql COLLATE nocase BETWEEN 'CREATE VIRTUAL' AND 'CREATE VIRTUAM'), rootpage FROM sqlite_schema WHERE name=%Q\x00PRAGMA index_list=%Q\x00SELECT rootpage FROM sqlite_schema WHERE name = %Q\x00PRAGMA table_info=%Q\x00PRAGMA main.index_list = %Q\x00PRAGMA main.index_xinfo = %Q\x00SELECT * FROM '%q'\x00rbu_\x00rbu_rowid\x00table %q %s rbu_rowid column\x00may not have\x00requires\x00PRAGMA table_info(%Q)\x00column missing from %q: %s\x00%z%s\"%w\"\x00%z%s%s\"%w\"%s\x00SELECT max(_rowid_) FROM \"%s%w\"\x00 WHERE _rowid_ > %lld \x00 DESC\x00quote(\x00||','||\x00SELECT %s FROM \"%s%w\" ORDER BY %s LIMIT 1\x00 WHERE (%s) > (%s) \x00_rowid_\x00%z%s \"%w\" COLLATE %Q\x00%z%s \"rbu_imp_%d%w\" COLLATE %Q DESC\x00%z%s quote(\"rbu_imp_%d%w\")\x00SELECT %s FROM \"rbu_imp_%w\" ORDER BY %s LIMIT 1\x00%z%s%s\x00(%s) > (%s)\x00%z%s(%.*s) COLLATE %Q\x00%z%s\"%w\" COLLATE %Q\x00%z%s\"rbu_imp_%d%w\"%s\x00%z%s\"rbu_imp_%d%w\" %s COLLATE %Q\x00%z%s\"rbu_imp_%d%w\" IS ?\x00%z%s%s.\"%w\"\x00%z%sNULL\x00%z, %s._rowid_\x00_rowid_ = ?%d\x00%z%sc%d=?%d\x00_rowid_ = (SELECT id FROM rbu_imposter2 WHERE %z)\x00%z%s\"%w\"=?%d\x00invalid rbu_control value\x00%z%s\"%w\"=rbu_delta(\"%w\", ?%d)\x00%z%s\"%w\"=rbu_fossil_delta(\"%w\", ?%d)\x00PRIMARY KEY(\x00%z%s\"%w\"%s\x00%z)\x00SELECT name FROM sqlite_schema WHERE rootpage = ?\x00%z%sc%d %s COLLATE %Q\x00%z%sc%d%s\x00%z, id INTEGER\x00CREATE TABLE rbu_imposter2(%z, PRIMARY KEY(%z)) WITHOUT ROWID\x00PRIMARY KEY \x00%z%s\"%w\" %s %sCOLLATE %Q%s\x00 NOT NULL\x00%z, %z\x00CREATE TABLE \"rbu_imp_%w\"(%z)%s\x00 WITHOUT ROWID\x00INSERT INTO %s.'rbu_tmp_%q'(rbu_control,%s%s) VALUES(%z)\x00SELECT trim(sql) FROM sqlite_schema WHERE type='index' AND name=?\x00 LIMIT -1 OFFSET %d\x00CREATE TABLE \"rbu_imp_%w\"( %s, PRIMARY KEY( %s ) ) WITHOUT ROWID\x00INSERT INTO \"rbu_imp_%w\" VALUES(%s)\x00DELETE FROM \"rbu_imp_%w\" WHERE %s\x00SELECT %s, 0 AS rbu_control FROM '%q' %s %s %s ORDER BY %s%s\x00AND\x00WHERE\x00SELECT %s, rbu_control FROM %s.'rbu_tmp_%q' %s ORDER BY %s%s\x00SELECT %s, rbu_control FROM %s.'rbu_tmp_%q' %s UNION ALL SELECT %s, rbu_control FROM '%q' %s %s typeof(rbu_control)='integer' AND rbu_control!=1 ORDER BY %s%s\x00rbu_imp_\x00INSERT INTO \"%s%w\"(%s%s) VALUES(%s)\x00, _rowid_\x00DELETE FROM \"%s%w\" WHERE %s\x00, rbu_rowid\x00CREATE TABLE IF NOT EXISTS %s.'rbu_tmp_%q' AS SELECT *%s FROM '%q' WHERE 0;\x00, 0 AS rbu_rowid\x00CREATE TEMP TRIGGER rbu_delete_tr BEFORE DELETE ON \"%s%w\" BEGIN SELECT rbu_tmp_insert(3, %s);END;CREATE TEMP TRIGGER rbu_update1_tr BEFORE UPDATE ON \"%s%w\" BEGIN SELECT rbu_tmp_insert(3, %s);END;CREATE TEMP TRIGGER rbu_update2_tr AFTER UPDATE ON \"%s%w\" BEGIN SELECT rbu_tmp_insert(4, %s);END;\x00CREATE TEMP TRIGGER rbu_insert_tr AFTER INSERT ON \"%s%w\" BEGIN SELECT rbu_tmp_insert(0, %s);END;\x00,_rowid_ \x00,rbu_rowid\x00SELECT %s,%s rbu_control%s FROM '%q'%s %s %s %s\x000 AS \x00UPDATE \"%s%w\" SET %s WHERE %s\x00SELECT k, v FROM %s.rbu_state\x00file:///%s-vacuum?modeof=%s\x00ATTACH %Q AS stat\x00CREATE TABLE IF NOT EXISTS %s.rbu_state(k INTEGER PRIMARY KEY, v)\x00cannot vacuum wal mode database\x00file:%s-vactmp?rbu_memory=1%s%s\x00&\x00rbu_tmp_insert\x00rbu_fossil_delta\x00rbu_target_name\x00SELECT * FROM sqlite_schema\x00rbu vfs not found\x00PRAGMA main.wal_checkpoint=restart\x00rbu_exclusive_checkpoint\x00%s-oal\x00%s-wal\x00PRAGMA schema_version\x00PRAGMA schema_version = %d\x00INSERT OR REPLACE INTO %s.rbu_state(k, v) VALUES (%d, %d), (%d, %Q), (%d, %Q), (%d, %d), (%d, %d), (%d, %lld), (%d, %lld), (%d, %lld), (%d, %lld), (%d, %Q) \x00PRAGMA main.%s\x00PRAGMA main.%s = %d\x00PRAGMA writable_schema=1\x00SELECT sql FROM sqlite_schema WHERE sql!='' AND rootpage!=0 AND name!='sqlite_sequence' ORDER BY type DESC\x00SELECT * FROM sqlite_schema WHERE rootpage=0 OR rootpage IS NULL\x00INSERT INTO sqlite_schema VALUES(?,?,?,?,?)\x00PRAGMA writable_schema=0\x00DELETE FROM %s.'rbu_tmp_%q'\x00rbu_state mismatch error\x00rbu_vfs_%d\x00SELECT count(*) FROM sqlite_schema WHERE type='index' AND tbl_name = %Q\x00rbu_index_cnt\x00SELECT 1 FROM sqlite_schema WHERE tbl_name = 'rbu_count'\x00SELECT sum(cnt * (1 + rbu_index_cnt(rbu_target_name(tbl))))FROM rbu_count\x00cannot update wal mode database\x00database modified during rbu %s\x00vacuum\x00update\x00BEGIN IMMEDIATE\x00PRAGMA journal_mode=off\x00-vactmp\x00DELETE FROM stat.rbu_state\x00rbu/zipvfs setup error\x00rbu(%s)/%z\x00rbu_memory\x00SELECT 0, 'tbl', '', 0, '', 1 UNION ALL SELECT 1, 'idx', '', 0, '', 2 UNION ALL SELECT 2, 'stat', '', 0, '', 0\x00PRAGMA '%q'.table_info('%q')\x00%z%s\"%w\".\"%w\".\"%w\"=\"%w\".\"%w\".\"%w\"\x00%z%s\"%w\".\"%w\".\"%w\" IS NOT \"%w\".\"%w\".\"%w\"\x00 OR \x00SELECT * FROM \"%w\".\"%w\" WHERE NOT EXISTS ( SELECT 1 FROM \"%w\".\"%w\" WHERE %s)\x00SELECT * FROM \"%w\".\"%w\", \"%w\".\"%w\" WHERE %s AND (%z)\x00table schemas do not match\x00SELECT tbl, ?2, stat FROM %Q.sqlite_stat1 WHERE tbl IS ?1 AND idx IS (CASE WHEN ?2=X'' THEN NULL ELSE ?2 END)\x00SELECT * FROM \x00 WHERE \x00 IS ?\x00SAVEPOINT changeset\x00RELEASE changeset\x00UPDATE main.\x00 SET \x00 = ?\x00idx IS CASE WHEN length(?4)=0 AND typeof(?4)='blob' THEN NULL ELSE ?4 END \x00DELETE FROM main.\x00 AND (?\x00AND \x00INSERT INTO main.\x00) VALUES(?\x00, ?\x00INSERT INTO main.sqlite_stat1 VALUES(?1, CASE WHEN length(?2)=0 AND typeof(?2)='blob' THEN NULL ELSE ?2 END, ?3)\x00DELETE FROM main.sqlite_stat1 WHERE tbl=?1 AND idx IS CASE WHEN length(?2)=0 AND typeof(?2)='blob' THEN NULL ELSE ?2 END AND (?4 OR stat IS ?3)\x00SAVEPOINT replace_op\x00RELEASE replace_op\x00SAVEPOINT changeset_apply\x00PRAGMA defer_foreign_keys = 1\x00sqlite3changeset_apply(): no such table: %s\x00sqlite3changeset_apply(): table %s has %d columns, expected %d or more\x00sqlite3changeset_apply(): primary key mismatch for table %s\x00PRAGMA defer_foreign_keys = 0\x00RELEASE changeset_apply\x00ROLLBACK TO changeset_apply\x00fts5: parser stack overflow\x00fts5: syntax error near \"%.*s\"\x00%z%.*s\x00wrong number of arguments to function highlight()\x00wrong number of arguments to function snippet()\x00snippet\x00highlight\x00bm25\x00prefix\x00malformed prefix=... directive\x00too many prefix indexes (max %d)\x00prefix length out of range (max 999)\x00tokenize\x00multiple tokenize=... directives\x00parse error in tokenize directive\x00content\x00multiple content=... directives\x00%Q.%Q\x00content_rowid\x00multiple content_rowid=... directives\x00columnsize\x00malformed columnsize=... directive\x00columns\x00malformed detail=... directive\x00unrecognized option: \"%.*s\"\x00reserved fts5 column name: %s\x00unindexed\x00unrecognized column option: %s\x00T.%Q\x00, T.%Q\x00, T.c%d\x00reserved fts5 table name: %s\x00parse error in \"%s\"\x00docsize\x00%Q.'%q_%s'\x00CREATE TABLE x(\x00%z%s%Q\x00%z, %Q HIDDEN, %s HIDDEN)\x00pgsz\x00hashsize\x00automerge\x00usermerge\x00crisismerge\x00SELECT k, v FROM %Q.'%q_config'\x00version\x00invalid fts5 file format (found %d, expected %d) - run 'rebuild'\x00unterminated string\x00fts5: syntax error near \"%.1s\"\x00OR\x00NOT\x00NEAR\x00expected integer, got \"%.*s\"\x00fts5: column queries are not supported (detail=none)\x00fts5: %s queries are not supported (detail!=full)\x00phrase\x00block\x00REPLACE INTO '%q'.'%q_data'(id, block) VALUES(?,?)\x00DELETE FROM '%q'.'%q_data' WHERE id>=? AND id<=?\x00DELETE FROM '%q'.'%q_idx' WHERE segid=?\x00PRAGMA %Q.data_version\x00SELECT pgno FROM '%q'.'%q_idx' WHERE segid=? AND term<=? ORDER BY term DESC LIMIT 1\x00INSERT INTO '%q'.'%q_idx'(segid,term,pgno) VALUES(?,?,?)\x00%s_data\x00id INTEGER PRIMARY KEY, block BLOB\x00segid, term, pgno, PRIMARY KEY(segid, term)\x00SELECT segid, term, (pgno>>1), (pgno&1) FROM %Q.'%q_idx' WHERE segid=%d ORDER BY 1, 2\x00\x00\x00\x00\x00\x00recursively defined fts5 content table\x00SELECT rowid, rank FROM %Q.%Q ORDER BY %s(\"%w\"%s%s) %s\x00DESC\x00ASC\x00reads\x00unknown special query: %.*s\x00SELECT %s\x00no such function: %s\x00parse error in rank function: %s\x00%s: table does not support scanning\x00delete-all\x00'delete-all' may only be used with a contentless or external content fts5 table\x00rebuild\x00'rebuild' may not be used with a contentless fts5 table\x00merge\x00integrity-check\x00cannot %s contentless fts5 table: %s\x00DELETE from\x00no such cursor: %lld\x00no such tokenizer: %s\x00error in tokenizer constructor\x00fts5_api_ptr\x00fts5: 2023-02-21 18:09:37 05941c2a04037fc3ed2ffae11f5d2260706f89431f463518740f72ada350866d\x00config\x00fts5\x00fts5_source_id\x00SELECT %s FROM %s T WHERE T.%Q >= ? AND T.%Q <= ? ORDER BY T.%Q ASC\x00SELECT %s FROM %s T WHERE T.%Q <= ? AND T.%Q >= ? ORDER BY T.%Q DESC\x00SELECT %s FROM %s T WHERE T.%Q=?\x00INSERT INTO %Q.'%q_content' VALUES(%s)\x00REPLACE INTO %Q.'%q_content' VALUES(%s)\x00DELETE FROM %Q.'%q_content' WHERE id=?\x00REPLACE INTO %Q.'%q_docsize' VALUES(?,?)\x00DELETE FROM %Q.'%q_docsize' WHERE id=?\x00SELECT sz FROM %Q.'%q_docsize' WHERE id=?\x00REPLACE INTO %Q.'%q_config' VALUES(?,?)\x00SELECT %s FROM %s AS T\x00DROP TABLE IF EXISTS %Q.'%q_data';DROP TABLE IF EXISTS %Q.'%q_idx';DROP TABLE IF EXISTS %Q.'%q_config';\x00DROP TABLE IF EXISTS %Q.'%q_docsize';\x00DROP TABLE IF EXISTS %Q.'%q_content';\x00ALTER TABLE %Q.'%q_%s' RENAME TO '%q_%s';\x00CREATE TABLE %Q.'%q_%q'(%s)%s\x00fts5: error creating shadow table %q_%s: %s\x00id INTEGER PRIMARY KEY\x00, c%d\x00id INTEGER PRIMARY KEY, sz BLOB\x00k PRIMARY KEY, v\x00DELETE FROM %Q.'%q_data';DELETE FROM %Q.'%q_idx';\x00DELETE FROM %Q.'%q_docsize';\x00SELECT count(*) FROM %Q.'%q_%s'\x00tokenchars\x00separators\x00L* N* Co\x00categories\x00remove_diacritics\x00unicode61\x00al\x00ance\x00ence\x00er\x00ic\x00able\x00ible\x00ant\x00ement\x00ment\x00ent\x00ion\x00ou\x00ism\x00ate\x00iti\x00ous\x00ive\x00ize\x00at\x00bl\x00ble\x00iz\x00ational\x00tional\x00tion\x00enci\x00anci\x00izer\x00logi\x00bli\x00alli\x00entli\x00eli\x00e\x00ousli\x00ization\x00ation\x00ator\x00alism\x00iveness\x00fulness\x00ful\x00ousness\x00aliti\x00iviti\x00biliti\x00ical\x00ness\x00icate\x00iciti\x00ative\x00alize\x00eed\x00ee\x00ed\x00ing\x00case_sensitive\x00ascii\x00porter\x00trigram\x00col\x00row\x00instance\x00fts5vocab: unknown table type: %Q\x00CREATE TABlE vocab(term, col, doc, cnt)\x00CREATE TABlE vocab(term, doc, cnt)\x00CREATE TABlE vocab(term, doc, col, offset)\x00wrong number of vtable arguments\x00recursive definition for %s.%s\x00SELECT t.%Q FROM %Q.%Q AS t WHERE t.%Q MATCH '*id'\x00no such fts5 table: %s.%s\x00fts5vocab\x002023-02-21 18:09:37 05941c2a04037fc3ed2ffae11f5d2260706f89431f463518740f72ada350866d\x00"
+var ts1 = "3.41.2\x00ATOMIC_INTRINSICS=1\x00COMPILER=msvc-1900\x00DEFAULT_AUTOVACUUM\x00DEFAULT_CACHE_SIZE=-2000\x00DEFAULT_FILE_FORMAT=4\x00DEFAULT_JOURNAL_SIZE_LIMIT=-1\x00DEFAULT_MEMSTATUS=0\x00DEFAULT_MMAP_SIZE=0\x00DEFAULT_PAGE_SIZE=4096\x00DEFAULT_PCACHE_INITSZ=20\x00DEFAULT_RECURSIVE_TRIGGERS\x00DEFAULT_SECTOR_SIZE=4096\x00DEFAULT_SYNCHRONOUS=2\x00DEFAULT_WAL_AUTOCHECKPOINT=1000\x00DEFAULT_WAL_SYNCHRONOUS=2\x00DEFAULT_WORKER_THREADS=0\x00ENABLE_COLUMN_METADATA\x00ENABLE_DBSTAT_VTAB\x00ENABLE_FTS5\x00ENABLE_GEOPOLY\x00ENABLE_MATH_FUNCTIONS\x00ENABLE_MEMORY_MANAGEMENT\x00ENABLE_OFFSET_SQL_FUNC\x00ENABLE_PREUPDATE_HOOK\x00ENABLE_RBU\x00ENABLE_RTREE\x00ENABLE_SESSION\x00ENABLE_SNAPSHOT\x00ENABLE_STAT4\x00ENABLE_UNLOCK_NOTIFY\x00LIKE_DOESNT_MATCH_BLOBS\x00MALLOC_SOFT_LIMIT=1024\x00MAX_ATTACHED=10\x00MAX_COLUMN=2000\x00MAX_COMPOUND_SELECT=500\x00MAX_DEFAULT_PAGE_SIZE=8192\x00MAX_EXPR_DEPTH=1000\x00MAX_FUNCTION_ARG=127\x00MAX_LENGTH=1000000000\x00MAX_LIKE_PATTERN_LENGTH=50000\x00MAX_MMAP_SIZE=0x7fff0000\x00MAX_PAGE_COUNT=1073741823\x00MAX_PAGE_SIZE=65536\x00MAX_SQL_LENGTH=1000000000\x00MAX_TRIGGER_DEPTH=1000\x00MAX_VARIABLE_NUMBER=32766\x00MAX_VDBE_OP=250000000\x00MAX_WORKER_THREADS=8\x00MUTEX_NOOP\x00SOUNDEX\x00SYSTEM_MALLOC\x00TEMP_STORE=1\x00THREADSAFE=1\x00BINARY\x00ANY\x00BLOB\x00INT\x00INTEGER\x00REAL\x00TEXT\x0020b:20e\x0020c:20e\x0020e\x0040f-21a-21d\x00now\x00local time unavailable\x00second\x00minute\x00hour\x00\x00\x00day\x00\x00\x00\x00month\x00\x00year\x00\x00\x00auto\x00julianday\x00localtime\x00unixepoch\x00utc\x00weekday \x00start of \x00month\x00year\x00day\x00%02d\x00%06.3f\x00%03d\x00%.16g\x00%lld\x00%04d\x00date\x00time\x00datetime\x00strftime\x00current_time\x00current_timestamp\x00current_date\x00failed to allocate %u bytes of memory\x00failed memory resize %u to %u bytes\x00out of memory\x000123456789ABCDEF0123456789abcdef\x00-x0\x00X0\x00%\x00NaN\x00Inf\x00\x00NULL\x00(NULL)\x00.\x00(join-%u)\x00(subquery-%u)\x00thstndrd\x00922337203685477580\x00API call with %s database connection pointer\x00unopened\x00invalid\x00Savepoint\x00AutoCommit\x00Transaction\x00Checkpoint\x00JournalMode\x00Vacuum\x00VFilter\x00VUpdate\x00Init\x00Goto\x00Gosub\x00InitCoroutine\x00Yield\x00MustBeInt\x00Jump\x00Once\x00If\x00IfNot\x00IsType\x00Not\x00IfNullRow\x00SeekLT\x00SeekLE\x00SeekGE\x00SeekGT\x00IfNotOpen\x00IfNoHope\x00NoConflict\x00NotFound\x00Found\x00SeekRowid\x00NotExists\x00Last\x00IfSmaller\x00SorterSort\x00Sort\x00Rewind\x00SorterNext\x00Prev\x00Next\x00IdxLE\x00IdxGT\x00IdxLT\x00Or\x00And\x00IdxGE\x00RowSetRead\x00RowSetTest\x00Program\x00FkIfZero\x00IsNull\x00NotNull\x00Ne\x00Eq\x00Gt\x00Le\x00Lt\x00Ge\x00ElseEq\x00IfPos\x00IfNotZero\x00DecrJumpZero\x00IncrVacuum\x00VNext\x00Filter\x00PureFunc\x00Function\x00Return\x00EndCoroutine\x00HaltIfNull\x00Halt\x00Integer\x00Int64\x00String\x00BeginSubrtn\x00Null\x00SoftNull\x00Blob\x00Variable\x00Move\x00Copy\x00SCopy\x00IntCopy\x00FkCheck\x00ResultRow\x00CollSeq\x00AddImm\x00RealAffinity\x00Cast\x00Permutation\x00Compare\x00IsTrue\x00ZeroOrNull\x00Offset\x00Column\x00TypeCheck\x00Affinity\x00MakeRecord\x00Count\x00ReadCookie\x00SetCookie\x00ReopenIdx\x00BitAnd\x00BitOr\x00ShiftLeft\x00ShiftRight\x00Add\x00Subtract\x00Multiply\x00Divide\x00Remainder\x00Concat\x00OpenRead\x00OpenWrite\x00BitNot\x00OpenDup\x00OpenAutoindex\x00String8\x00OpenEphemeral\x00SorterOpen\x00SequenceTest\x00OpenPseudo\x00Close\x00ColumnsUsed\x00SeekScan\x00SeekHit\x00Sequence\x00NewRowid\x00Insert\x00RowCell\x00Delete\x00ResetCount\x00SorterCompare\x00SorterData\x00RowData\x00Rowid\x00NullRow\x00SeekEnd\x00IdxInsert\x00SorterInsert\x00IdxDelete\x00DeferredSeek\x00IdxRowid\x00FinishSeek\x00Destroy\x00Clear\x00ResetSorter\x00CreateBtree\x00SqlExec\x00ParseSchema\x00LoadAnalysis\x00DropTable\x00DropIndex\x00Real\x00DropTrigger\x00IntegrityCk\x00RowSetAdd\x00Param\x00FkCounter\x00MemMax\x00OffsetLimit\x00AggInverse\x00AggStep\x00AggStep1\x00AggValue\x00AggFinal\x00Expire\x00CursorLock\x00CursorUnlock\x00TableLock\x00VBegin\x00VCreate\x00VDestroy\x00VOpen\x00VInitIn\x00VColumn\x00VRename\x00Pagecount\x00MaxPgcnt\x00ClrSubtype\x00FilterAdd\x00Trace\x00CursorHint\x00ReleaseReg\x00Noop\x00Explain\x00Abortable\x00AreFileApisANSI\x00CharLowerW\x00CharUpperW\x00CloseHandle\x00CreateFileA\x00CreateFileW\x00CreateFileMappingA\x00CreateFileMappingW\x00CreateMutexW\x00DeleteFileA\x00DeleteFileW\x00FileTimeToLocalFileTime\x00FileTimeToSystemTime\x00FlushFileBuffers\x00FormatMessageA\x00FormatMessageW\x00FreeLibrary\x00GetCurrentProcessId\x00GetDiskFreeSpaceA\x00GetDiskFreeSpaceW\x00GetFileAttributesA\x00GetFileAttributesW\x00GetFileAttributesExW\x00GetFileSize\x00GetFullPathNameA\x00GetFullPathNameW\x00GetLastError\x00GetProcAddressA\x00GetSystemInfo\x00GetSystemTime\x00GetSystemTimeAsFileTime\x00GetTempPathA\x00GetTempPathW\x00GetTickCount\x00GetVersionExA\x00GetVersionExW\x00HeapAlloc\x00HeapCreate\x00HeapDestroy\x00HeapFree\x00HeapReAlloc\x00HeapSize\x00HeapValidate\x00HeapCompact\x00LoadLibraryA\x00LoadLibraryW\x00LocalFree\x00LockFile\x00LockFileEx\x00MapViewOfFile\x00MultiByteToWideChar\x00QueryPerformanceCounter\x00ReadFile\x00SetEndOfFile\x00SetFilePointer\x00Sleep\x00SystemTimeToFileTime\x00UnlockFile\x00UnlockFileEx\x00UnmapViewOfFile\x00WideCharToMultiByte\x00WriteFile\x00CreateEventExW\x00WaitForSingleObject\x00WaitForSingleObjectEx\x00SetFilePointerEx\x00GetFileInformationByHandleEx\x00MapViewOfFileFromApp\x00CreateFile2\x00LoadPackagedLibrary\x00GetTickCount64\x00GetNativeSystemInfo\x00OutputDebugStringA\x00OutputDebugStringW\x00GetProcessHeap\x00CreateFileMappingFromApp\x00InterlockedCompareExchange\x00UuidCreate\x00UuidCreateSequential\x00FlushViewOfFile\x00%s\x00OsError 0x%lx (%lu)\x00os_win.c:%d: (%lu) %s(%s) - %s\x00delayed %dms for lock/sharing conflict at line %d\x00winSeekFile\x00winClose\x00winRead\x00winWrite1\x00winWrite2\x00winTruncate1\x00winTruncate2\x00winSync1\x00winSync2\x00winFileSize\x00winUnlockReadLock\x00winUnlock\x00winLockSharedMemory\x00%s-shm\x00readonly_shm\x00winOpenShm\x00winShmMap1\x00winShmMap2\x00winShmMap3\x00winUnmapfile1\x00winUnmapfile2\x00winMapfile1\x00winMapfile2\x00etilqs_\x00winGetTempname1\x00winGetTempname2\x00winGetTempname3\x00winGetTempname4\x00winGetTempname5\x00abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789\x00exclusive\x00winOpen\x00psow\x00winDelete\x00winAccess\x00%s%c%s\x00winFullPathname1\x00winFullPathname2\x00winFullPathname3\x00winFullPathname4\x00win32\x00win32-longpath\x00win32-none\x00win32-longpath-none\x00memdb\x00memdb(%p,%lld)\x00PRAGMA \"%w\".page_count\x00ATTACH x AS %Q\x00recovered %d pages from %s\x00-journal\x00-wal\x00nolock\x00immutable\x00PRAGMA table_list\x00recovered %d frames from WAL file %s\x00cannot limit WAL size: %s\x00SQLite format 3\x00:memory:\x00@ \x00\n\x00invalid page number %d\x002nd reference to page %d\x00Failed to read ptrmap key=%d\x00Bad ptr map entry key=%d expected=(%d,%d) got=(%d,%d)\x00failed to get page %d\x00freelist leaf count too big on page %d\x00%s is %d but should be %d\x00size\x00overflow list length\x00Page %u: \x00unable to get the page. error code=%d\x00btreeInitPage() returns error code %d\x00free space corruption\x00On tree page %u cell %d: \x00On page %u at right child: \x00Offset %d out of range %d..%d\x00Extends off end of page\x00Rowid %lld out of order\x00Child page depth differs\x00Multiple uses for byte %u of page %u\x00Fragmentation of %d bytes reported as %d on page %u\x00Main freelist: \x00max rootpage (%d) disagrees with header (%d)\x00incremental_vacuum enabled with a max rootpage of zero\x00Page %d is never used\x00Pointer map page %d is referenced\x00unknown database %s\x00destination database is in use\x00source and destination must be distinct\x00%!.15g\x00-\x00%s%s\x00k(%d\x00B\x00,%s%s%s\x00N.\x00)\x00%.18s-%s\x00%s(%d)\x00%d\x00(blob)\x00vtab:%p\x00%c%u\x00]\x00program\x00?\x008\x0016LE\x0016BE\x00addr\x00opcode\x00p1\x00p2\x00p3\x00p4\x00p5\x00comment\x00id\x00parent\x00notused\x00detail\x00%.4c%s%.16c\x00MJ delete: %s\x00MJ collide: %s\x00-mj%06X9%02X\x00FOREIGN KEY constraint failed\x00a CHECK constraint\x00a generated column\x00an index\x00non-deterministic use of %s() in %s\x00API called with finalized prepared statement\x00API called with NULL prepared statement\x00string or blob too big\x00bind on a busy prepared statement: [%s]\x00-- \x00'%.*q'\x00zeroblob(%d)\x00x'\x00%02x\x00'\x00%s constraint failed\x00%z: %s\x00abort at %d in [%s]: %s\x00cannot store %s value in %s column %s.%s\x00cannot open savepoint - SQL statements in progress\x00no such savepoint: %s\x00cannot release savepoint - SQL statements in progress\x00cannot commit transaction - SQL statements in progress\x00cannot start a transaction within a transaction\x00cannot rollback - no transaction is active\x00cannot commit - no transaction is active\x00database schema has changed\x00index corruption\x00sqlite_master\x00SELECT*FROM\"%w\".%s WHERE %s ORDER BY rowid\x00too many levels of trigger recursion\x00cannot change %s wal mode from within a transaction\x00into\x00out of\x00database table is locked: %s\x00ValueList\x00-- %s\x00statement aborts at %d: [%s] %s\x00NOT NULL\x00UNIQUE\x00CHECK\x00FOREIGN KEY\x00cannot open value of type %s\x00null\x00real\x00integer\x00no such rowid: %lld\x00cannot open virtual table: %s\x00cannot open table without rowid: %s\x00cannot open view: %s\x00no such column: \"%s\"\x00foreign key\x00indexed\x00cannot open %s column for writing\x00sqlite_\x00sqlite_temp_master\x00sqlite_temp_schema\x00sqlite_schema\x00main\x00*\x00new\x00old\x00excluded\x00misuse of aliased aggregate %s\x00misuse of aliased window function %s\x00row value misused\x00double-quoted string literal: \"%w\"\x00coalesce\x00no such column\x00ambiguous column name\x00%s: %s.%s.%s\x00%s: %s.%s\x00%s: %s\x00partial index WHERE clauses\x00index expressions\x00CHECK constraints\x00generated columns\x00%s prohibited in %s\x00the \".\" operator\x00second argument to %#T() must be a constant between 0.0 and 1.0\x00not authorized to use function: %#T\x00non-deterministic functions\x00%#T() may not be used as a window function\x00window\x00aggregate\x00misuse of %s function %#T()\x00no such function: %#T\x00wrong number of arguments to function %#T()\x00FILTER may not be used with non-aggregate %#T()\x00subqueries\x00parameters\x00%r %s BY term out of range - should be between 1 and %d\x00too many terms in ORDER BY clause\x00ORDER\x00%r ORDER BY term does not match any column in the result set\x00too many terms in %s BY clause\x00HAVING clause on a non-aggregate query\x00GROUP\x00aggregate functions are not allowed in the GROUP BY clause\x00Expression tree is too large (maximum depth %d)\x00IN(...) element has %d term%s - expected %d\x00s\x000\x00too many arguments on function %T\x00unsafe use of %#T()\x00variable number must be between ?1 and ?%d\x00too many SQL variables\x00%d columns assigned %d values\x00too many columns in %s\x00true\x00false\x00_ROWID_\x00ROWID\x00OID\x00USING ROWID SEARCH ON TABLE %s FOR IN-OPERATOR\x00USING INDEX %s FOR IN-OPERATOR\x00sub-select returns %d columns - expected %d\x00REUSE LIST SUBQUERY %d\x00%sLIST SUBQUERY %d\x00CORRELATED \x00REUSE SUBQUERY %d\x00%sSCALAR SUBQUERY %d\x001\x000x\x00hex literal too big: %s%#T\x00generated column loop on \"%s\"\x00blob\x00text\x00numeric\x00flexnum\x00none\x00misuse of aggregate: %#T()\x00unknown function: %#T()\x00RAISE() may only be used within a trigger-program\x00B\x00C\x00D\x00E\x00F\x00table %s may not be altered\x00SELECT 1 FROM \"%w\".sqlite_master WHERE name NOT LIKE 'sqliteX_%%' ESCAPE 'X' AND sql NOT LIKE 'create virtual%%' AND sqlite_rename_test(%Q, sql, type, name, %d, %Q, %d)=NULL \x00SELECT 1 FROM temp.sqlite_master WHERE name NOT LIKE 'sqliteX_%%' ESCAPE 'X' AND sql NOT LIKE 'create virtual%%' AND sqlite_rename_test(%Q, sql, type, name, 1, %Q, %d)=NULL \x00UPDATE \"%w\".sqlite_master SET sql = sqlite_rename_quotefix(%Q, sql)WHERE name NOT LIKE 'sqliteX_%%' ESCAPE 'X' AND sql NOT LIKE 'create virtual%%'\x00UPDATE temp.sqlite_master SET sql = sqlite_rename_quotefix('temp', sql)WHERE name NOT LIKE 'sqliteX_%%' ESCAPE 'X' AND sql NOT LIKE 'create virtual%%'\x00there is already another table or index with this name: %s\x00table\x00view %s may not be altered\x00UPDATE \"%w\".sqlite_master SET sql = sqlite_rename_table(%Q, type, name, sql, %Q, %Q, %d) WHERE (type!='index' OR tbl_name=%Q COLLATE nocase)AND name NOT LIKE 'sqliteX_%%' ESCAPE 'X'\x00UPDATE %Q.sqlite_master SET tbl_name = %Q, name = CASE WHEN type='table' THEN %Q WHEN name LIKE 'sqliteX_autoindex%%' ESCAPE 'X' AND type='index' THEN 'sqlite_autoindex_' || %Q || substr(name,%d+18) ELSE name END WHERE tbl_name=%Q COLLATE nocase AND (type='table' OR type='index' OR type='trigger');\x00sqlite_sequence\x00UPDATE \"%w\".sqlite_sequence set name = %Q WHERE name = %Q\x00UPDATE sqlite_temp_schema SET sql = sqlite_rename_table(%Q, type, name, sql, %Q, %Q, 1), tbl_name = CASE WHEN tbl_name=%Q COLLATE nocase AND sqlite_rename_test(%Q, sql, type, name, 1, 'after rename', 0) THEN %Q ELSE tbl_name END WHERE type IN ('view', 'trigger')\x00after rename\x00SELECT raise(ABORT,%Q) FROM \"%w\".\"%w\"\x00Cannot add a PRIMARY KEY column\x00Cannot add a UNIQUE column\x00Cannot add a REFERENCES column with non-NULL default value\x00Cannot add a NOT NULL column with default value NULL\x00Cannot add a column with non-constant default\x00cannot add a STORED column\x00UPDATE \"%w\".sqlite_master SET sql = printf('%%.%ds, ',sql) || %Q || substr(sql,1+length(printf('%%.%ds',sql))) WHERE type = 'table' AND name = %Q\x00SELECT CASE WHEN quick_check GLOB 'CHECK*' THEN raise(ABORT,'CHECK constraint failed') ELSE raise(ABORT,'NOT NULL constraint failed') END FROM pragma_quick_check(%Q,%Q) WHERE quick_check GLOB 'CHECK*' OR quick_check GLOB 'NULL*'\x00virtual tables may not be altered\x00Cannot add a column to a view\x00sqlite_altertab_%s\x00view\x00virtual table\x00cannot %s %s \"%s\"\x00drop column from\x00rename columns of\x00no such column: \"%T\"\x00UPDATE \"%w\".sqlite_master SET sql = sqlite_rename_column(sql, type, name, %Q, %Q, %d, %Q, %d, %d) WHERE name NOT LIKE 'sqliteX_%%' ESCAPE 'X' AND (type != 'index' OR tbl_name = %Q)\x00UPDATE temp.sqlite_master SET sql = sqlite_rename_column(sql, type, name, %Q, %Q, %d, %Q, %d, 1) WHERE type IN ('trigger', 'view')\x00error in %s %s%s%s: %s\x00 \x00CREATE \x00\"%w\" \x00%Q%s\x00%.*s%s\x00cannot drop %s column: \"%s\"\x00PRIMARY KEY\x00cannot drop column \"%s\": no other columns exist\x00UPDATE \"%w\".sqlite_master SET sql = sqlite_drop_column(%d, sql, %d) WHERE (type=='table' AND tbl_name=%Q COLLATE nocase)\x00after drop column\x00sqlite_rename_column\x00sqlite_rename_table\x00sqlite_rename_test\x00sqlite_drop_column\x00sqlite_rename_quotefix\x00CREATE TABLE %Q.%s(%s)\x00DELETE FROM %Q.%s WHERE %s=%Q\x00DELETE FROM %Q.%s\x00sqlite_stat1\x00tbl,idx,stat\x00sqlite_stat4\x00tbl,idx,neq,nlt,ndlt,sample\x00sqlite_stat3\x00stat_init\x00stat_push\x00%llu\x00 %llu\x00%llu \x00stat_get\x00sqlite\\_%\x00BBB\x00idx\x00tbl\x00unordered*\x00sz=[0-9]*\x00noskipscan*\x00SELECT idx,count(*) FROM %Q.sqlite_stat4 GROUP BY idx\x00SELECT idx,neq,nlt,ndlt,sample FROM %Q.sqlite_stat4\x00SELECT tbl,idx,stat FROM %Q.sqlite_stat1\x00x\x00\x00too many attached databases - max %d\x00database %s is already in use\x00database is already attached\x00attached databases must use the same text encoding as main database\x00unable to open database: %s\x00no such database: %s\x00cannot detach database %s\x00database %s is locked\x00sqlite_detach\x00sqlite_attach\x00%s cannot use variables\x00%s %T cannot reference objects in database %s\x00authorizer malfunction\x00%s.%s\x00%s.%z\x00access to %z is prohibited\x00not authorized\x00pragma_\x00no such view\x00no such table\x00corrupt database\x00unknown database %T\x00object name reserved for internal use: %s\x00temporary table name must be unqualified\x00%s %T already exists\x00there is already an index named %s\x00sqlite_returning\x00cannot use RETURNING in a trigger\x00too many columns on %s\x00always\x00generated\x00duplicate column name: %s\x00default value of column [%s] is not constant\x00cannot use DEFAULT on a generated column\x00generated columns cannot be part of the PRIMARY KEY\x00table \"%s\" has more than one primary key\x00AUTOINCREMENT is only allowed on an INTEGER PRIMARY KEY\x00virtual tables cannot use computed columns\x00virtual\x00stored\x00error in generated column \"%s\"\x00,\x00\n \x00,\n \x00\n)\x00CREATE TABLE \x00 TEXT\x00 NUM\x00 INT\x00 REAL\x00unknown datatype for %s.%s: \"%s\"\x00missing datatype for %s.%s\x00AUTOINCREMENT not allowed on WITHOUT ROWID tables\x00PRIMARY KEY missing on table %s\x00must have at least one non-generated column\x00TABLE\x00VIEW\x00CREATE %s %.*s\x00UPDATE %Q.sqlite_master SET type='%s', name=%Q, tbl_name=%Q, rootpage=#%d, sql=%Q WHERE rowid=#%d\x00CREATE TABLE %Q.sqlite_sequence(name,seq)\x00tbl_name='%q' AND type!='trigger'\x00parameters are not allowed in views\x00view %s is circularly defined\x00corrupt schema\x00UPDATE %Q.sqlite_master SET rootpage=%d WHERE #%d AND rootpage=#%d\x00sqlite_stat%d\x00DELETE FROM %Q.sqlite_sequence WHERE name=%Q\x00DELETE FROM %Q.sqlite_master WHERE tbl_name=%Q and type!='trigger'\x00stat\x00table %s may not be dropped\x00use DROP TABLE to delete table %s\x00use DROP VIEW to delete view %s\x00foreign key on %s should reference only one column of table %T\x00number of columns in foreign key does not match the number of columns in the referenced table\x00unknown column \"%s\" in foreign key definition\x00unsupported use of NULLS %s\x00FIRST\x00LAST\x00index\x00cannot create a TEMP index on non-TEMP table \"%s\"\x00table %s may not be indexed\x00views may not be indexed\x00virtual tables may not be indexed\x00there is already a table named %s\x00index %s already exists\x00sqlite_autoindex_%s_%d\x00expressions prohibited in PRIMARY KEY and UNIQUE constraints\x00conflicting ON CONFLICT clauses specified\x00invalid rootpage\x00CREATE%s INDEX %.*s\x00 UNIQUE\x00INSERT INTO %Q.sqlite_master VALUES('index',%Q,%Q,#%d,%Q);\x00name='%q' AND type='index'\x00no such index: %S\x00index associated with UNIQUE or PRIMARY KEY constraint cannot be dropped\x00DELETE FROM %Q.sqlite_master WHERE name=%Q AND type='index'\x00too many FROM clause terms, max: %d\x00a JOIN clause is required before %s\x00ON\x00USING\x00BEGIN\x00ROLLBACK\x00COMMIT\x00RELEASE\x00unable to open a temporary database file for storing temporary tables\x00index '%q'\x00, \x00%s.rowid\x00unable to identify the object to be reindexed\x00duplicate WITH table name: %s\x00no such collation sequence: %s\x00unsafe use of virtual table \"%s\"\x00table %s may not be modified\x00cannot modify %s because it is a view\x00rows deleted\x00integer overflow\x00%.*f\x00LIKE or GLOB pattern too complex\x00ESCAPE expression must be a single character\x00%!.20e\x00%Q\x00?000\x00MATCH\x00like\x00implies_nonnull_row\x00expr_compare\x00expr_implies_expr\x00affinity\x00soundex\x00load_extension\x00sqlite_compileoption_used\x00sqlite_compileoption_get\x00unlikely\x00likelihood\x00likely\x00sqlite_offset\x00ltrim\x00rtrim\x00trim\x00min\x00max\x00typeof\x00subtype\x00length\x00instr\x00printf\x00format\x00unicode\x00char\x00abs\x00round\x00upper\x00lower\x00hex\x00unhex\x00ifnull\x00random\x00randomblob\x00nullif\x00sqlite_version\x00sqlite_source_id\x00sqlite_log\x00quote\x00last_insert_rowid\x00changes\x00total_changes\x00replace\x00zeroblob\x00substr\x00substring\x00sum\x00total\x00avg\x00count\x00group_concat\x00glob\x00ceil\x00ceiling\x00floor\x00trunc\x00ln\x00log\x00log10\x00log2\x00exp\x00pow\x00power\x00mod\x00acos\x00asin\x00atan\x00atan2\x00cos\x00sin\x00tan\x00cosh\x00sinh\x00tanh\x00acosh\x00asinh\x00atanh\x00sqrt\x00radians\x00degrees\x00pi\x00sign\x00iif\x00foreign key mismatch - \"%w\" referencing \"%w\"\x00cannot INSERT into generated column \"%s\"\x00table %S has no column named %s\x00table %S has %d columns but %d values were supplied\x00%d values for %d columns\x00UPSERT not implemented for virtual table \"%s\"\x00cannot UPSERT a view\x00rows inserted\x00sqlite3_extension_init\x00sqlite3_\x00lib\x00_init\x00no entry point [%s] in shared library [%s]\x00error during initialization: %s\x00unable to open shared library [%.*s]\x00dll\x00automatic extension loading failed: %s\x00seq\x00from\x00to\x00on_update\x00on_delete\x00match\x00cid\x00name\x00type\x00notnull\x00dflt_value\x00pk\x00hidden\x00schema\x00ncol\x00wr\x00strict\x00seqno\x00desc\x00coll\x00key\x00builtin\x00enc\x00narg\x00flags\x00wdth\x00hght\x00flgs\x00unique\x00origin\x00partial\x00rowid\x00fkid\x00file\x00busy\x00checkpointed\x00database\x00status\x00cache_size\x00timeout\x00analysis_limit\x00application_id\x00auto_vacuum\x00automatic_index\x00busy_timeout\x00cache_spill\x00case_sensitive_like\x00cell_size_check\x00checkpoint_fullfsync\x00collation_list\x00compile_options\x00count_changes\x00data_store_directory\x00data_version\x00database_list\x00default_cache_size\x00defer_foreign_keys\x00empty_result_callbacks\x00encoding\x00foreign_key_check\x00foreign_key_list\x00foreign_keys\x00freelist_count\x00full_column_names\x00fullfsync\x00function_list\x00hard_heap_limit\x00ignore_check_constraints\x00incremental_vacuum\x00index_info\x00index_list\x00index_xinfo\x00integrity_check\x00journal_mode\x00journal_size_limit\x00legacy_alter_table\x00locking_mode\x00max_page_count\x00mmap_size\x00module_list\x00optimize\x00page_count\x00page_size\x00pragma_list\x00query_only\x00quick_check\x00read_uncommitted\x00recursive_triggers\x00reverse_unordered_selects\x00schema_version\x00secure_delete\x00short_column_names\x00shrink_memory\x00soft_heap_limit\x00synchronous\x00table_info\x00table_list\x00table_xinfo\x00temp_store\x00temp_store_directory\x00threads\x00trusted_schema\x00user_version\x00wal_autocheckpoint\x00wal_checkpoint\x00writable_schema\x00onoffalseyestruextrafull\x00normal\x00full\x00incremental\x00memory\x00temporary storage cannot be changed from within a transaction\x00SET NULL\x00SET DEFAULT\x00CASCADE\x00RESTRICT\x00NO ACTION\x00delete\x00persist\x00off\x00truncate\x00wal\x00w\x00a\x00sissii\x00utf8\x00utf16le\x00utf16be\x00-%T\x00fast\x00not a writable directory\x00Safety level may not be changed inside a transaction\x00reset\x00issisii\x00issisi\x00SELECT*FROM\"%w\"\x00shadow\x00sssiii\x00iisX\x00isiX\x00c\x00u\x00isisi\x00iss\x00is\x00iissssss\x00NONE\x00siX\x00*** in database %s ***\n\x00row not in PRIMARY KEY order for %s\x00NULL value in %s.%s\x00non-%s value in %s.%s\x00NUMERIC value in %s.%s\x00C\x00TEXT value in %s.%s\x00CHECK constraint failed in %s\x00row \x00 missing from index \x00rowid not at end-of-record for row \x00 of index \x00 values differ from index \x00non-unique entry in index \x00wrong # of entries in index \x00ok\x00unsupported encoding: %s\x00restart\x00ANALYZE \"%w\".\"%w\"\x00UTF8\x00UTF-8\x00UTF-16le\x00UTF-16be\x00UTF16le\x00UTF16be\x00UTF-16\x00UTF16\x00CREATE TABLE x\x00%c\"%s\"\x00(\"%s\"\x00,arg HIDDEN\x00,schema HIDDEN\x00PRAGMA \x00%Q.\x00=%Q\x00error in %s %s after %s: %s\x00malformed database schema (%s)\x00%z - %s\x00rename\x00drop column\x00add column\x00orphan index\x00CREATE TABLE x(type text,name text,tbl_name text,rootpage int,sql text)\x00unsupported file format\x00SELECT*FROM\"%w\".%s ORDER BY rowid\x00database schema is locked: %s\x00statement too long\x00unknown join type: %T%s%T%s%T\x00naturaleftouterightfullinnercross\x00a NATURAL join may not have an ON or USING clause\x00cannot join using column %s - column not present in both tables\x00ambiguous reference to %s in USING()\x00UNION ALL\x00INTERSECT\x00EXCEPT\x00UNION\x00USE TEMP B-TREE FOR %s\x00USE TEMP B-TREE FOR %sORDER BY\x00RIGHT PART OF \x00column%d\x00%.*z:%u\x00NUM\x00cannot use window functions in recursive queries\x00recursive aggregate queries not supported\x00SETUP\x00RECURSIVE STEP\x00SCAN %d CONSTANT ROW%s\x00S\x00COMPOUND QUERY\x00LEFT-MOST SUBQUERY\x00%s USING TEMP B-TREE\x00all VALUES must have the same number of terms\x00SELECTs to the left and right of %s do not have the same number of result columns\x00MERGE (%s)\x00LEFT\x00RIGHT\x00no such index: %s\x00'%s' is not a function\x00no such index: \"%s\"\x00multiple references to recursive table: %s\x00circular reference: %s\x00table %s has %d values for %d columns\x00multiple recursive references: %s\x00recursive reference in a subquery: %s\x00%!S\x00too many references to \"%s\": max 65535\x00access to view \"%s\" prohibited\x00..%s\x00%s.%s.%s\x00no such table: %s\x00no tables specified\x00too many columns in result set\x00DISTINCT aggregates must have exactly one argument\x00USE TEMP B-TREE FOR %s(DISTINCT)\x00SCAN %s%s%s\x00 USING COVERING INDEX \x00target object/alias may not appear in FROM clause: %s\x00expected %d columns for '%s' but got %d\x00CO-ROUTINE %!S\x00MATERIALIZE %!S\x00DISTINCT\x00GROUP BY\x00sqlite3_get_table() called with two or more incompatible queries\x00temporary trigger may not have qualified name\x00trigger\x00cannot create triggers on virtual tables\x00trigger %T already exists\x00cannot create trigger on system table\x00cannot create %s trigger on view: %S\x00BEFORE\x00AFTER\x00cannot create INSTEAD OF trigger on table: %S\x00trigger \"%s\" may not write to shadow table \"%s\"\x00INSERT INTO %Q.sqlite_master VALUES('trigger',%Q,%Q,0,'CREATE TRIGGER %q')\x00type='trigger' AND name='%q'\x00no such trigger: %S\x00DELETE FROM %Q.sqlite_master WHERE name=%Q AND type='trigger'\x00%s RETURNING is not available on virtual tables\x00DELETE\x00UPDATE\x00RETURNING may not use \"TABLE.*\" wildcards\x00-- TRIGGER %s\x00cannot UPDATE generated column \"%s\"\x00no such column: %s\x00rows updated\x00%r \x00%sON CONFLICT clause does not match any PRIMARY KEY or UNIQUE constraint\x00CRE\x00INS\x00cannot VACUUM from within a transaction\x00cannot VACUUM - SQL statements in progress\x00non-text filename\x00ATTACH %Q AS vacuum_db\x00output file already exists\x00SELECT sql FROM \"%w\".sqlite_schema WHERE type='table'AND name<>'sqlite_sequence' AND coalesce(rootpage,1)>0\x00SELECT sql FROM \"%w\".sqlite_schema WHERE type='index'\x00SELECT'INSERT INTO vacuum_db.'||quote(name)||' SELECT*FROM\"%w\".'||quote(name)FROM vacuum_db.sqlite_schema WHERE type='table'AND coalesce(rootpage,1)>0\x00INSERT INTO vacuum_db.sqlite_schema SELECT*FROM \"%w\".sqlite_schema WHERE type IN('view','trigger') OR(type='table'AND rootpage=0)\x00CREATE VIRTUAL TABLE %T\x00UPDATE %Q.sqlite_master SET type='table', name=%Q, tbl_name=%Q, rootpage=0, sql=%Q WHERE rowid=#%d\x00name=%Q AND sql=%Q\x00vtable constructor called recursively: %s\x00vtable constructor failed: %s\x00vtable constructor did not declare schema: %s\x00no such module: %s\x00<expr>\x00 AND \x00(\x00 (\x00%s=?\x00ANY(%s)\x00>\x00<\x00%s %S\x00SEARCH\x00SCAN\x00AUTOMATIC PARTIAL COVERING INDEX\x00AUTOMATIC COVERING INDEX\x00COVERING INDEX %s\x00INDEX %s\x00 USING \x00 USING INTEGER PRIMARY KEY (%s\x00>? AND %s\x00%c?)\x00 VIRTUAL TABLE INDEX %d:%s\x00 LEFT-JOIN\x00BLOOM FILTER ON %S (\x00rowid=?\x00MULTI-INDEX OR\x00INDEX %d\x00RIGHT-JOIN %s\x00regexp\x00ON clause references tables to its right\x00NOCASE\x00too many arguments on %s() - max %d\x00automatic index on %s(%s)\x00auto-index\x00%s.xBestIndex malfunction\x00abbreviated query algorithm search\x00no query solution\x00at most %d tables in a join\x00SCAN CONSTANT ROW\x00second argument to nth_value must be a positive integer\x00argument of ntile must be a positive integer\x00row_number\x00dense_rank\x00rank\x00percent_rank\x00cume_dist\x00ntile\x00last_value\x00nth_value\x00first_value\x00lead\x00lag\x00no such window: %s\x00RANGE with offset PRECEDING/FOLLOWING requires one ORDER BY expression\x00FILTER clause may only be used with aggregate window functions\x00misuse of aggregate: %s()\x00unsupported frame specification\x00PARTITION clause\x00ORDER BY clause\x00frame specification\x00cannot override %s of window: %s\x00DISTINCT is not supported for window functions\x00frame starting offset must be a non-negative integer\x00frame ending offset must be a non-negative integer\x00frame starting offset must be a non-negative number\x00frame ending offset must be a non-negative number\x00%s clause should come after %s not before\x00ORDER BY\x00LIMIT\x00too many terms in compound SELECT\x00syntax error after column name \"%.*s\"\x00parser stack overflow\x00unknown table option: %.*s\x00set list\x00near \"%T\": syntax error\x00qualified table names are not allowed on INSERT, UPDATE, and DELETE statements within triggers\x00the INDEXED BY clause is not allowed on UPDATE or DELETE statements within triggers\x00the NOT INDEXED clause is not allowed on UPDATE or DELETE statements within triggers\x00incomplete input\x00unrecognized token: \"%T\"\x00%s in \"%s\"\x00create\x00temp\x00temporary\x00end\x00explain\x00unable to close due to unfinalized statements or unfinished backups\x00unknown error\x00abort due to ROLLBACK\x00another row available\x00no more rows available\x00not an error\x00SQL logic error\x00access permission denied\x00query aborted\x00database is locked\x00database table is locked\x00attempt to write a readonly database\x00interrupted\x00disk I/O error\x00database disk image is malformed\x00unknown operation\x00database or disk is full\x00unable to open database file\x00locking protocol\x00constraint failed\x00datatype mismatch\x00bad parameter or other API misuse\x00authorization denied\x00column index out of range\x00file is not a database\x00notification message\x00warning message\x00unable to delete/modify user-function due to active statements\x00unable to use function %s in the requested context\x00unknown database: %s\x00unable to delete/modify collation sequence due to active statements\x00file:\x00localhost\x00invalid uri authority: %.*s\x00vfs\x00cache\x00mode\x00access\x00no such %s mode: %s\x00%s mode not allowed: %s\x00no such vfs: %s\x00shared\x00private\x00ro\x00rw\x00rwc\x00RTRIM\x00\x00\x00\x00%s at line %d of [%.10s]\x00database corruption\x00misuse\x00cannot open file\x00no such table column: %s.%s\x00SQLITE_\x00database is deadlocked\x00array\x00object\x000123456789abcdef\x00JSON cannot hold BLOB values\x00malformed JSON\x00[0]\x00JSON path error near '%q'\x00json_%s() needs an odd number of arguments\x00$[\x00$.\x00json_object() requires an even number of arguments\x00json_object() labels must be TEXT\x00set\x00insert\x00[]\x00{}\x00CREATE TABLE x(key,value,type,atom,id,parent,fullkey,path,json HIDDEN,root HIDDEN)\x00.%.*s\x00[%d]\x00$\x00json\x00json_array\x00json_array_length\x00json_extract\x00->\x00->>\x00json_insert\x00json_object\x00json_patch\x00json_quote\x00json_remove\x00json_replace\x00json_set\x00json_type\x00json_valid\x00json_group_array\x00json_group_object\x00json_each\x00json_tree\x00%s_node\x00data\x00DROP TABLE '%q'.'%q_node';DROP TABLE '%q'.'%q_rowid';DROP TABLE '%q'.'%q_parent';\x00RtreeMatchArg\x00SELECT * FROM %Q.%Q\x00UNIQUE constraint failed: %s.%s\x00rtree constraint failed: %s.(%s<=%s)\x00ALTER TABLE %Q.'%q_node' RENAME TO \"%w_node\";ALTER TABLE %Q.'%q_parent' RENAME TO \"%w_parent\";ALTER TABLE %Q.'%q_rowid' RENAME TO \"%w_rowid\";\x00SELECT stat FROM %Q.sqlite_stat1 WHERE tbl = '%q_rowid'\x00node\x00CREATE TABLE \"%w\".\"%w_rowid\"(rowid INTEGER PRIMARY KEY,nodeno\x00,a%d\x00);CREATE TABLE \"%w\".\"%w_node\"(nodeno INTEGER PRIMARY KEY,data);\x00CREATE TABLE \"%w\".\"%w_parent\"(nodeno INTEGER PRIMARY KEY,parentnode);\x00INSERT INTO \"%w\".\"%w_node\"VALUES(1,zeroblob(%d))\x00INSERT INTO\"%w\".\"%w_rowid\"(rowid,nodeno)VALUES(?1,?2)ON CONFLICT(rowid)DO UPDATE SET nodeno=excluded.nodeno\x00SELECT * FROM \"%w\".\"%w_rowid\" WHERE rowid=?1\x00UPDATE \"%w\".\"%w_rowid\"SET \x00a%d=coalesce(?%d,a%d)\x00a%d=?%d\x00 WHERE rowid=?1\x00INSERT OR REPLACE INTO '%q'.'%q_node' VALUES(?1, ?2)\x00DELETE FROM '%q'.'%q_node' WHERE nodeno = ?1\x00SELECT nodeno FROM '%q'.'%q_rowid' WHERE rowid = ?1\x00INSERT OR REPLACE INTO '%q'.'%q_rowid' VALUES(?1, ?2)\x00DELETE FROM '%q'.'%q_rowid' WHERE rowid = ?1\x00SELECT parentnode FROM '%q'.'%q_parent' WHERE nodeno = ?1\x00INSERT OR REPLACE INTO '%q'.'%q_parent' VALUES(?1, ?2)\x00DELETE FROM '%q'.'%q_parent' WHERE nodeno = ?1\x00PRAGMA %Q.page_size\x00SELECT length(data) FROM '%q'.'%q_node' WHERE nodeno = 1\x00undersize RTree blobs in \"%q_node\"\x00Wrong number of columns for an rtree table\x00Too few columns for an rtree table\x00Too many columns for an rtree table\x00Auxiliary rtree columns must be last\x00CREATE TABLE x(%.*s INT\x00,%.*s\x00);\x00,%.*s REAL\x00,%.*s INT\x00{%lld\x00 %g\x00}\x00Invalid argument to rtreedepth()\x00%z%s%z\x00SELECT data FROM %Q.'%q_node' WHERE nodeno=?\x00Node %lld missing from database\x00SELECT parentnode FROM %Q.'%q_parent' WHERE nodeno=?1\x00SELECT nodeno FROM %Q.'%q_rowid' WHERE rowid=?1\x00Mapping (%lld -> %lld) missing from %s table\x00%_rowid\x00%_parent\x00Found (%lld -> %lld) in %s table, expected (%lld -> %lld)\x00Dimension %d of cell %d on node %lld is corrupt\x00Dimension %d of cell %d on node %lld is corrupt relative to parent\x00Node %lld is too small (%d bytes)\x00Rtree depth out of range (%d)\x00Node %lld is too small for cell count of %d (%d bytes)\x00SELECT count(*) FROM %Q.'%q%s'\x00Wrong number of entries in %%%s table - expected %lld, actual %lld\x00SELECT * FROM %Q.'%q_rowid'\x00Schema corrupt or not an rtree\x00_rowid\x00_parent\x00END\x00wrong number of arguments to function rtreecheck()\x00[\x00[%!g,%!g],\x00[%!g,%!g]]\x00<polyline points=\x00%c%g,%g\x00 %g,%g'\x00 %s\x00></polyline>\x00CREATE TABLE x(_shape\x00,%s\x00rtree\x00fullscan\x00_shape does not contain a valid polygon\x00geopoly_overlap\x00geopoly_within\x00geopoly\x00geopoly_area\x00geopoly_blob\x00geopoly_json\x00geopoly_svg\x00geopoly_contains_point\x00geopoly_debug\x00geopoly_bbox\x00geopoly_xform\x00geopoly_regular\x00geopoly_ccw\x00geopoly_group_bbox\x00rtreenode\x00rtreedepth\x00rtreecheck\x00rtree_i32\x00corrupt fossil delta\x00DROP TRIGGER IF EXISTS temp.rbu_insert_tr;DROP TRIGGER IF EXISTS temp.rbu_update1_tr;DROP TRIGGER IF EXISTS temp.rbu_update2_tr;DROP TRIGGER IF EXISTS temp.rbu_delete_tr;\x00SELECT rbu_target_name(name, type='view') AS target, name FROM sqlite_schema WHERE type IN ('table', 'view') AND target IS NOT NULL %s ORDER BY name\x00AND rootpage!=0 AND rootpage IS NOT NULL\x00SELECT name, rootpage, sql IS NULL OR substr(8, 6)=='UNIQUE' FROM main.sqlite_schema WHERE type='index' AND tbl_name = ?\x00SELECT (sql COLLATE nocase BETWEEN 'CREATE VIRTUAL' AND 'CREATE VIRTUAM'), rootpage FROM sqlite_schema WHERE name=%Q\x00PRAGMA index_list=%Q\x00SELECT rootpage FROM sqlite_schema WHERE name = %Q\x00PRAGMA table_info=%Q\x00PRAGMA main.index_list = %Q\x00PRAGMA main.index_xinfo = %Q\x00SELECT * FROM '%q'\x00rbu_\x00rbu_rowid\x00table %q %s rbu_rowid column\x00may not have\x00requires\x00PRAGMA table_info(%Q)\x00column missing from %q: %s\x00%z%s\"%w\"\x00%z%s%s\"%w\"%s\x00SELECT max(_rowid_) FROM \"%s%w\"\x00 WHERE _rowid_ > %lld \x00 DESC\x00quote(\x00||','||\x00SELECT %s FROM \"%s%w\" ORDER BY %s LIMIT 1\x00 WHERE (%s) > (%s) \x00_rowid_\x00%z%s \"%w\" COLLATE %Q\x00%z%s \"rbu_imp_%d%w\" COLLATE %Q DESC\x00%z%s quote(\"rbu_imp_%d%w\")\x00SELECT %s FROM \"rbu_imp_%w\" ORDER BY %s LIMIT 1\x00%z%s%s\x00(%s) > (%s)\x00%z%s(%.*s) COLLATE %Q\x00%z%s\"%w\" COLLATE %Q\x00%z%s\"rbu_imp_%d%w\"%s\x00%z%s\"rbu_imp_%d%w\" %s COLLATE %Q\x00%z%s\"rbu_imp_%d%w\" IS ?\x00%z%s%s.\"%w\"\x00%z%sNULL\x00%z, %s._rowid_\x00_rowid_ = ?%d\x00%z%sc%d=?%d\x00_rowid_ = (SELECT id FROM rbu_imposter2 WHERE %z)\x00%z%s\"%w\"=?%d\x00invalid rbu_control value\x00%z%s\"%w\"=rbu_delta(\"%w\", ?%d)\x00%z%s\"%w\"=rbu_fossil_delta(\"%w\", ?%d)\x00PRIMARY KEY(\x00%z%s\"%w\"%s\x00%z)\x00SELECT name FROM sqlite_schema WHERE rootpage = ?\x00%z%sc%d %s COLLATE %Q\x00%z%sc%d%s\x00%z, id INTEGER\x00CREATE TABLE rbu_imposter2(%z, PRIMARY KEY(%z)) WITHOUT ROWID\x00PRIMARY KEY \x00%z%s\"%w\" %s %sCOLLATE %Q%s\x00 NOT NULL\x00%z, %z\x00CREATE TABLE \"rbu_imp_%w\"(%z)%s\x00 WITHOUT ROWID\x00INSERT INTO %s.'rbu_tmp_%q'(rbu_control,%s%s) VALUES(%z)\x00SELECT trim(sql) FROM sqlite_schema WHERE type='index' AND name=?\x00 LIMIT -1 OFFSET %d\x00CREATE TABLE \"rbu_imp_%w\"( %s, PRIMARY KEY( %s ) ) WITHOUT ROWID\x00INSERT INTO \"rbu_imp_%w\" VALUES(%s)\x00DELETE FROM \"rbu_imp_%w\" WHERE %s\x00SELECT %s, 0 AS rbu_control FROM '%q' %s %s %s ORDER BY %s%s\x00AND\x00WHERE\x00SELECT %s, rbu_control FROM %s.'rbu_tmp_%q' %s ORDER BY %s%s\x00SELECT %s, rbu_control FROM %s.'rbu_tmp_%q' %s UNION ALL SELECT %s, rbu_control FROM '%q' %s %s typeof(rbu_control)='integer' AND rbu_control!=1 ORDER BY %s%s\x00rbu_imp_\x00INSERT INTO \"%s%w\"(%s%s) VALUES(%s)\x00, _rowid_\x00DELETE FROM \"%s%w\" WHERE %s\x00, rbu_rowid\x00CREATE TABLE IF NOT EXISTS %s.'rbu_tmp_%q' AS SELECT *%s FROM '%q' WHERE 0;\x00, 0 AS rbu_rowid\x00CREATE TEMP TRIGGER rbu_delete_tr BEFORE DELETE ON \"%s%w\" BEGIN SELECT rbu_tmp_insert(3, %s);END;CREATE TEMP TRIGGER rbu_update1_tr BEFORE UPDATE ON \"%s%w\" BEGIN SELECT rbu_tmp_insert(3, %s);END;CREATE TEMP TRIGGER rbu_update2_tr AFTER UPDATE ON \"%s%w\" BEGIN SELECT rbu_tmp_insert(4, %s);END;\x00CREATE TEMP TRIGGER rbu_insert_tr AFTER INSERT ON \"%s%w\" BEGIN SELECT rbu_tmp_insert(0, %s);END;\x00,_rowid_ \x00,rbu_rowid\x00SELECT %s,%s rbu_control%s FROM '%q'%s %s %s %s\x000 AS \x00UPDATE \"%s%w\" SET %s WHERE %s\x00SELECT k, v FROM %s.rbu_state\x00file:///%s-vacuum?modeof=%s\x00ATTACH %Q AS stat\x00CREATE TABLE IF NOT EXISTS %s.rbu_state(k INTEGER PRIMARY KEY, v)\x00cannot vacuum wal mode database\x00file:%s-vactmp?rbu_memory=1%s%s\x00&\x00rbu_tmp_insert\x00rbu_fossil_delta\x00rbu_target_name\x00SELECT * FROM sqlite_schema\x00rbu vfs not found\x00PRAGMA main.wal_checkpoint=restart\x00rbu_exclusive_checkpoint\x00%s-oal\x00%s-wal\x00PRAGMA schema_version\x00PRAGMA schema_version = %d\x00INSERT OR REPLACE INTO %s.rbu_state(k, v) VALUES (%d, %d), (%d, %Q), (%d, %Q), (%d, %d), (%d, %d), (%d, %lld), (%d, %lld), (%d, %lld), (%d, %lld), (%d, %Q) \x00PRAGMA main.%s\x00PRAGMA main.%s = %d\x00PRAGMA writable_schema=1\x00SELECT sql FROM sqlite_schema WHERE sql!='' AND rootpage!=0 AND name!='sqlite_sequence' ORDER BY type DESC\x00SELECT * FROM sqlite_schema WHERE rootpage=0 OR rootpage IS NULL\x00INSERT INTO sqlite_schema VALUES(?,?,?,?,?)\x00PRAGMA writable_schema=0\x00DELETE FROM %s.'rbu_tmp_%q'\x00rbu_state mismatch error\x00rbu_vfs_%d\x00SELECT count(*) FROM sqlite_schema WHERE type='index' AND tbl_name = %Q\x00rbu_index_cnt\x00SELECT 1 FROM sqlite_schema WHERE tbl_name = 'rbu_count'\x00SELECT sum(cnt * (1 + rbu_index_cnt(rbu_target_name(tbl))))FROM rbu_count\x00cannot update wal mode database\x00database modified during rbu %s\x00vacuum\x00update\x00BEGIN IMMEDIATE\x00PRAGMA journal_mode=off\x00-vactmp\x00DELETE FROM stat.rbu_state\x00rbu/zipvfs setup error\x00rbu(%s)/%z\x00rbu_memory\x00CREATE TABLE x( name TEXT, path TEXT, pageno INTEGER, pagetype TEXT, ncell INTEGER, payload INTEGER, unused INTEGER, mx_payload INTEGER, pgoffset INTEGER, pgsize INTEGER, schema TEXT HIDDEN, aggregate BOOLEAN HIDDEN)\x00/\x00overflow\x00%s%.3x+%.6x\x00%s%.3x/\x00internal\x00leaf\x00corrupted\x00SELECT * FROM (SELECT 'sqlite_schema' AS name,1 AS rootpage,'table' AS type UNION ALL SELECT name,rootpage,type FROM \"%w\".sqlite_schema WHERE rootpage!=0)\x00WHERE name=%Q\x00 ORDER BY name\x00dbstat\x00SELECT 0, 'tbl', '', 0, '', 1 UNION ALL SELECT 1, 'idx', '', 0, '', 2 UNION ALL SELECT 2, 'stat', '', 0, '', 0\x00PRAGMA '%q'.table_info('%q')\x00%z%s\"%w\".\"%w\".\"%w\"=\"%w\".\"%w\".\"%w\"\x00%z%s\"%w\".\"%w\".\"%w\" IS NOT \"%w\".\"%w\".\"%w\"\x00 OR \x00SELECT * FROM \"%w\".\"%w\" WHERE NOT EXISTS ( SELECT 1 FROM \"%w\".\"%w\" WHERE %s)\x00SELECT * FROM \"%w\".\"%w\", \"%w\".\"%w\" WHERE %s AND (%z)\x00table schemas do not match\x00SELECT tbl, ?2, stat FROM %Q.sqlite_stat1 WHERE tbl IS ?1 AND idx IS (CASE WHEN ?2=X'' THEN NULL ELSE ?2 END)\x00SELECT * FROM \x00 WHERE \x00 IS ?\x00SAVEPOINT changeset\x00RELEASE changeset\x00UPDATE main.\x00 SET \x00 = ?\x00idx IS CASE WHEN length(?4)=0 AND typeof(?4)='blob' THEN NULL ELSE ?4 END \x00DELETE FROM main.\x00 AND (?\x00AND \x00INSERT INTO main.\x00) VALUES(?\x00, ?\x00INSERT INTO main.sqlite_stat1 VALUES(?1, CASE WHEN length(?2)=0 AND typeof(?2)='blob' THEN NULL ELSE ?2 END, ?3)\x00DELETE FROM main.sqlite_stat1 WHERE tbl=?1 AND idx IS CASE WHEN length(?2)=0 AND typeof(?2)='blob' THEN NULL ELSE ?2 END AND (?4 OR stat IS ?3)\x00SAVEPOINT replace_op\x00RELEASE replace_op\x00SAVEPOINT changeset_apply\x00PRAGMA defer_foreign_keys = 1\x00sqlite3changeset_apply(): no such table: %s\x00sqlite3changeset_apply(): table %s has %d columns, expected %d or more\x00sqlite3changeset_apply(): primary key mismatch for table %s\x00PRAGMA defer_foreign_keys = 0\x00RELEASE changeset_apply\x00ROLLBACK TO changeset_apply\x00fts5: parser stack overflow\x00fts5: syntax error near \"%.*s\"\x00%z%.*s\x00wrong number of arguments to function highlight()\x00wrong number of arguments to function snippet()\x00snippet\x00highlight\x00bm25\x00prefix\x00malformed prefix=... directive\x00too many prefix indexes (max %d)\x00prefix length out of range (max 999)\x00tokenize\x00multiple tokenize=... directives\x00parse error in tokenize directive\x00content\x00multiple content=... directives\x00%Q.%Q\x00content_rowid\x00multiple content_rowid=... directives\x00columnsize\x00malformed columnsize=... directive\x00columns\x00malformed detail=... directive\x00unrecognized option: \"%.*s\"\x00reserved fts5 column name: %s\x00unindexed\x00unrecognized column option: %s\x00T.%Q\x00, T.%Q\x00, T.c%d\x00reserved fts5 table name: %s\x00parse error in \"%s\"\x00docsize\x00%Q.'%q_%s'\x00CREATE TABLE x(\x00%z%s%Q\x00%z, %Q HIDDEN, %s HIDDEN)\x00pgsz\x00hashsize\x00automerge\x00usermerge\x00crisismerge\x00SELECT k, v FROM %Q.'%q_config'\x00version\x00invalid fts5 file format (found %d, expected %d) - run 'rebuild'\x00unterminated string\x00fts5: syntax error near \"%.1s\"\x00OR\x00NOT\x00NEAR\x00expected integer, got \"%.*s\"\x00fts5: column queries are not supported (detail=none)\x00fts5: %s queries are not supported (detail!=full)\x00phrase\x00block\x00REPLACE INTO '%q'.'%q_data'(id, block) VALUES(?,?)\x00DELETE FROM '%q'.'%q_data' WHERE id>=? AND id<=?\x00DELETE FROM '%q'.'%q_idx' WHERE segid=?\x00PRAGMA %Q.data_version\x00SELECT pgno FROM '%q'.'%q_idx' WHERE segid=? AND term<=? ORDER BY term DESC LIMIT 1\x00INSERT INTO '%q'.'%q_idx'(segid,term,pgno) VALUES(?,?,?)\x00%s_data\x00id INTEGER PRIMARY KEY, block BLOB\x00segid, term, pgno, PRIMARY KEY(segid, term)\x00SELECT segid, term, (pgno>>1), (pgno&1) FROM %Q.'%q_idx' WHERE segid=%d ORDER BY 1, 2\x00\x00\x00\x00\x00\x00recursively defined fts5 content table\x00SELECT rowid, rank FROM %Q.%Q ORDER BY %s(\"%w\"%s%s) %s\x00DESC\x00ASC\x00reads\x00unknown special query: %.*s\x00SELECT %s\x00no such function: %s\x00parse error in rank function: %s\x00%s: table does not support scanning\x00delete-all\x00'delete-all' may only be used with a contentless or external content fts5 table\x00rebuild\x00'rebuild' may not be used with a contentless fts5 table\x00merge\x00integrity-check\x00cannot %s contentless fts5 table: %s\x00DELETE from\x00no such cursor: %lld\x00no such tokenizer: %s\x00error in tokenizer constructor\x00fts5_api_ptr\x00fts5: 2023-03-22 11:56:21 0d1fc92f94cb6b76bffe3ec34d69cffde2924203304e8ffc4155597af0c191da\x00config\x00fts5\x00fts5_source_id\x00SELECT %s FROM %s T WHERE T.%Q >= ? AND T.%Q <= ? ORDER BY T.%Q ASC\x00SELECT %s FROM %s T WHERE T.%Q <= ? AND T.%Q >= ? ORDER BY T.%Q DESC\x00SELECT %s FROM %s T WHERE T.%Q=?\x00INSERT INTO %Q.'%q_content' VALUES(%s)\x00REPLACE INTO %Q.'%q_content' VALUES(%s)\x00DELETE FROM %Q.'%q_content' WHERE id=?\x00REPLACE INTO %Q.'%q_docsize' VALUES(?,?)\x00DELETE FROM %Q.'%q_docsize' WHERE id=?\x00SELECT sz FROM %Q.'%q_docsize' WHERE id=?\x00REPLACE INTO %Q.'%q_config' VALUES(?,?)\x00SELECT %s FROM %s AS T\x00DROP TABLE IF EXISTS %Q.'%q_data';DROP TABLE IF EXISTS %Q.'%q_idx';DROP TABLE IF EXISTS %Q.'%q_config';\x00DROP TABLE IF EXISTS %Q.'%q_docsize';\x00DROP TABLE IF EXISTS %Q.'%q_content';\x00ALTER TABLE %Q.'%q_%s' RENAME TO '%q_%s';\x00CREATE TABLE %Q.'%q_%q'(%s)%s\x00fts5: error creating shadow table %q_%s: %s\x00id INTEGER PRIMARY KEY\x00, c%d\x00id INTEGER PRIMARY KEY, sz BLOB\x00k PRIMARY KEY, v\x00DELETE FROM %Q.'%q_data';DELETE FROM %Q.'%q_idx';\x00DELETE FROM %Q.'%q_docsize';\x00SELECT count(*) FROM %Q.'%q_%s'\x00tokenchars\x00separators\x00L* N* Co\x00categories\x00remove_diacritics\x00unicode61\x00al\x00ance\x00ence\x00er\x00ic\x00able\x00ible\x00ant\x00ement\x00ment\x00ent\x00ion\x00ou\x00ism\x00ate\x00iti\x00ous\x00ive\x00ize\x00at\x00bl\x00ble\x00iz\x00ational\x00tional\x00tion\x00enci\x00anci\x00izer\x00logi\x00bli\x00alli\x00entli\x00eli\x00e\x00ousli\x00ization\x00ation\x00ator\x00alism\x00iveness\x00fulness\x00ful\x00ousness\x00aliti\x00iviti\x00biliti\x00ical\x00ness\x00icate\x00iciti\x00ative\x00alize\x00eed\x00ee\x00ed\x00ing\x00case_sensitive\x00ascii\x00porter\x00trigram\x00col\x00row\x00instance\x00fts5vocab: unknown table type: %Q\x00CREATE TABlE vocab(term, col, doc, cnt)\x00CREATE TABlE vocab(term, doc, cnt)\x00CREATE TABlE vocab(term, doc, col, offset)\x00wrong number of vtable arguments\x00recursive definition for %s.%s\x00SELECT t.%Q FROM %Q.%Q AS t WHERE t.%Q MATCH '*id'\x00no such fts5 table: %s.%s\x00fts5vocab\x002023-03-22 11:56:21 0d1fc92f94cb6b76bffe3ec34d69cffde2924203304e8ffc4155597af0c191da\x00"
var ts = (*reflect.StringHeader)(unsafe.Pointer(&ts1)).Data