Skip to content

Commit

Permalink
bugfix: add missing "then"
Browse files Browse the repository at this point in the history
  • Loading branch information
rockeet committed Sep 21, 2022
1 parent 6f71b25 commit f9458f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lua/select_random_ranges.lua
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ function thread_init()
sysbench.opt.number_of_ranges - 1) ..
"k BETWEEN ? AND ?"

if (sysbench.opt.secondary_ranges == 0)
if (sysbench.opt.secondary_ranges == 0) then
stmt = con:prepare(string.format([[
SELECT count(k)
FROM sbtest1
Expand Down

0 comments on commit f9458f4

Please sign in to comment.