diff options
author | Matthew Wild <mwild1@gmail.com> | 2013-11-09 18:37:13 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2013-11-09 18:37:13 +0000 |
commit | 36c5b9e1e93fc4966b323dfb09d97ecf58b16eda (patch) | |
tree | e3dab93899e69c3342f06ebd3ef65bda4c11915d /plugins | |
parent | c6d12b1a102ee760b7d5a567e3346124589e29e3 (diff) | |
parent | 85289e8c7d1f592a65ba13d1c117d34cefc6e3ad (diff) | |
download | prosody-36c5b9e1e93fc4966b323dfb09d97ecf58b16eda.tar.gz prosody-36c5b9e1e93fc4966b323dfb09d97ecf58b16eda.zip |
Merge 0.10->trunk
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/mod_storage_sql2.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_storage_sql2.lua b/plugins/mod_storage_sql2.lua index 9b365a1e..824ab859 100644 --- a/plugins/mod_storage_sql2.lua +++ b/plugins/mod_storage_sql2.lua @@ -239,7 +239,7 @@ local function archive_where(query, args, where) if query.start then where[#where] = "`when` BETWEEN ? AND ?" -- is this inclusive? else - where[#where+1] = "`when` >= ?" + where[#where+1] = "`when` <= ?" end end |