Skip to content

Commit 3af16c0

Browse files
committed
Delivery transaction must use all the districts (#360)
1 parent 386a0e1 commit 3af16c0

File tree

1 file changed

+1
-1
lines changed
  • src/main/java/com/oltpbenchmark/benchmarks/tpcc/procedures

1 file changed

+1
-1
lines changed

src/main/java/com/oltpbenchmark/benchmarks/tpcc/procedures/Delivery.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ public void run(Connection conn, Random gen, int w_id, int numWarehouses, int te
104104

105105
int[] orderIDs = new int[10];
106106

107-
for (d_id = 1; d_id <= terminalDistrictUpperID; d_id++) {
107+
for (d_id = 1; d_id <= TPCCConfig.configDistPerWhse; d_id++) {
108108
Integer no_o_id = getOrderId(conn, w_id, d_id);
109109

110110
if (no_o_id == null) {

0 commit comments

Comments
 (0)