From 358dbeb59e2fb1c7d6a1ae620bf3f41ea7bd8b74 Mon Sep 17 00:00:00 2001 From: Nikolay Perfilov Date: Thu, 17 Apr 2025 12:40:04 +0300 Subject: Fix 102916 OVERRUN (#17320) --- ydb/library/benchmarks/gen/tpcds-dbgen/tdefs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ydb/library/benchmarks/gen/tpcds-dbgen/tdefs.c b/ydb/library/benchmarks/gen/tpcds-dbgen/tdefs.c index 64482245090..366e910d744 100644 --- a/ydb/library/benchmarks/gen/tpcds-dbgen/tdefs.c +++ b/ydb/library/benchmarks/gen/tpcds-dbgen/tdefs.c @@ -185,7 +185,7 @@ getTdefsByNumber(int nTable) } // Use w_tdefs only if we decreased the index if (wtdefsIndex != -1) { - return(&w_tdefs[nTable]); + return(&w_tdefs[wtdefsIndex]); } } -- cgit v1.3