Diff

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
line wrap: on
line diff
--- a/plugins/mod_storage_sql2.lua	Wed Nov 06 14:38:51 2013 -0500
+++ b/plugins/mod_storage_sql2.lua	Sat Nov 09 18:37:13 2013 +0000
@@ -239,7 +239,7 @@
 		if query.start then
 			where[#where] = "`when` BETWEEN ? AND ?" -- is this inclusive?
 		else
-			where[#where+1] = "`when` >= ?"
+			where[#where+1] = "`when` <= ?"
 		end
 	end