Comparison

plugins/mod_storage_sql2.lua @ 5905:91b48772b27b

Merge 0.10->trunk
author Matthew Wild <mwild1@gmail.com>
date Sat, 09 Nov 2013 18:37:13 +0000
parent 5903:0e0aab930e10
child 5913:6865eecaf5a5
comparison
equal deleted inserted replaced
5900:cb1103423aa7 5905:91b48772b27b
237 if query["end"] then 237 if query["end"] then
238 args[#args+1] = query["end"]; 238 args[#args+1] = query["end"];
239 if query.start then 239 if query.start then
240 where[#where] = "`when` BETWEEN ? AND ?" -- is this inclusive? 240 where[#where] = "`when` BETWEEN ? AND ?" -- is this inclusive?
241 else 241 else
242 where[#where+1] = "`when` >= ?" 242 where[#where+1] = "`when` <= ?"
243 end 243 end
244 end 244 end
245 245
246 -- Related name 246 -- Related name
247 if query.with then 247 if query.with then