Skip to content

Commit 358dbeb

Browse files
authored
Fix 102916 OVERRUN (#17320)
1 parent 93c8c7f commit 358dbeb

File tree

1 file changed

+1
-1
lines changed
  • ydb/library/benchmarks/gen/tpcds-dbgen

1 file changed

+1
-1
lines changed

ydb/library/benchmarks/gen/tpcds-dbgen/tdefs.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ getTdefsByNumber(int nTable)
185185
}
186186
// Use w_tdefs only if we decreased the index
187187
if (wtdefsIndex != -1) {
188-
return(&w_tdefs[nTable]);
188+
return(&w_tdefs[wtdefsIndex]);
189189
}
190190
}
191191

0 commit comments

Comments
 (0)