Skip to content

Commit b3e4300

Browse files
committed
sql/hints: use hints cache size zero metamorphically
This might be interesting for testing the scenario when the hints cache is disabled (which is allowed by the cluster setting). Release note: None
1 parent da6d6d9 commit b3e4300

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/sql/hints/hint_cache.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,8 +109,8 @@ var cacheSize = settings.RegisterIntSetting(
109109
"number of hint entries to store in the LRU",
110110
metamorphic.ConstantWithTestChoice[int64](
111111
"sql.hints.statement_hints_cache_size",
112-
1024, /* defaultValue */
113-
1, 2, 3, 8, 128, 4096, /* otherValues */
112+
1024, /* defaultValue */
113+
0, 1, 2, 3, 8, 128, 4096, /* otherValues */
114114
),
115115
settings.NonNegativeInt,
116116
)

0 commit comments

Comments
 (0)