Skip to content

Commit 2572c76

Browse files
authored
Fix getDueItems in auctionmark/CloseAuctions (#308)
1 parent c23894b commit 2572c76

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/com/oltpbenchmark/benchmarks/auctionmark/procedures/CloseAuctions.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public class CloseAuctions extends Procedure {
4747
"SELECT " + AuctionMarkConstants.ITEM_COLUMNS_STR +
4848
" FROM " + AuctionMarkConstants.TABLENAME_ITEM + " " +
4949
"WHERE (i_start_date BETWEEN ? AND ?) " +
50-
"AND ? " +
50+
"AND i_status = ? " +
5151
"ORDER BY i_id ASC " +
5252
"LIMIT " + AuctionMarkConstants.CLOSE_AUCTIONS_ITEMS_PER_ROUND
5353
);
@@ -194,4 +194,4 @@ public List<Object[]> run(Connection conn, Timestamp[] benchmarkTimes,
194194

195195
return (output_rows);
196196
}
197-
}
197+
}

0 commit comments

Comments
 (0)