Commit 394a1083 authored by cznic's avatar cznic
Browse files

attempt to fix test build broken by bc68721f

parent bc68721f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -757,7 +757,7 @@ func (m *overflowIdxModule) Connect(ctx vtab.Context, args []string) (vtab.Table
}
func (t *overflowIdxTable) BestIndex(info *vtab.IndexInfo) error {
	// Force IdxNum to exceed int32 to trigger trampoline guard.
	info.IdxNum = math.MaxInt32 + 1
	info.IdxNum = int64(math.MaxInt32) + 1
	return nil
}
func (t *overflowIdxTable) Open() (vtab.Cursor, error) { return &overflowIdxCursor{}, nil }
+1 −1
Original line number Diff line number Diff line
@@ -215,7 +215,7 @@ type IndexInfo struct {
	// integer (int32). Implementations must ensure IdxNum fits within the
	// int32 range; values outside of int32 will cause an error in the driver
	// to avoid silent truncation.
	IdxNum int
	IdxNum int64
	IdxStr string
	// IdxFlags provides extra information about the chosen plan.
	// Set to IndexScanUnique to indicate the plan visits at most one row.