Skip to content

Commit 2faf768

Browse files
Fix ensure_collection_table query_stats column types (#547)
Missed the third copy of the query_stats schema in 06_ensure_collection_table.sql — same smallint/integer -> bigint fix for min_dop, max_dop, and thread columns. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent c47e6f3 commit 2faf768

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

install/06_ensure_collection_table.sql

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -216,18 +216,18 @@ BEGIN
216216
max_rows bigint NOT NULL,
217217
statement_sql_handle varbinary(64) NULL,
218218
statement_context_id bigint NULL,
219-
min_dop smallint NOT NULL,
220-
max_dop smallint NOT NULL,
219+
min_dop bigint NOT NULL,
220+
max_dop bigint NOT NULL,
221221
min_grant_kb bigint NOT NULL,
222222
max_grant_kb bigint NOT NULL,
223223
min_used_grant_kb bigint NOT NULL,
224224
max_used_grant_kb bigint NOT NULL,
225225
min_ideal_grant_kb bigint NOT NULL,
226226
max_ideal_grant_kb bigint NOT NULL,
227-
min_reserved_threads integer NOT NULL,
228-
max_reserved_threads integer NOT NULL,
229-
min_used_threads integer NOT NULL,
230-
max_used_threads integer NOT NULL,
227+
min_reserved_threads bigint NOT NULL,
228+
max_reserved_threads bigint NOT NULL,
229+
min_used_threads bigint NOT NULL,
230+
max_used_threads bigint NOT NULL,
231231
total_spills bigint NOT NULL,
232232
min_spills bigint NOT NULL,
233233
max_spills bigint NOT NULL,

0 commit comments

Comments
 (0)