diff options
| author | Nikolay Perfilov <[email protected]> | 2025-04-17 12:40:04 +0300 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-04-17 12:40:04 +0300 |
| commit | 358dbeb59e2fb1c7d6a1ae620bf3f41ea7bd8b74 (patch) | |
| tree | c17219260eff7a0cf0a72e604fcd1ccdc3758ea4 | |
| parent | 93c8c7f6cfe69d9202146aee9e70a2e6bab60578 (diff) | |
Fix 102916 OVERRUN (#17320)
| -rw-r--r-- | ydb/library/benchmarks/gen/tpcds-dbgen/tdefs.c | 2 |
1 files changed, 1 insertions, 1 deletions
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]); } } |
