aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristophe Romain <christophe.romain@process-one.net>2017-09-27 20:40:07 +0200
committerChristophe Romain <christophe.romain@process-one.net>2017-09-27 20:40:07 +0200
commitce7acafe378b7c06ef11795ede0478183b541eb5 (patch)
treeb147a02c6215e9ce9e792f1fbaa3d0903cebc751 /src
parentPubSub: add RSM support for mnesia backend (diff)
Remove useless condition
Diffstat (limited to 'src')
-rw-r--r--src/node_flat_sql.erl2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/node_flat_sql.erl b/src/node_flat_sql.erl
index 2ea5b0bab..8057cf2e1 100644
--- a/src/node_flat_sql.erl
+++ b/src/node_flat_sql.erl
@@ -1035,9 +1035,7 @@ rsm_filters(SNidx, undefined, After) ->
" order by creation asc">>;
rsm_filters(SNidx, <<>>, undefined) ->
%% 2.5 Requesting the Last Page in a Result Set
- Now = p1_time_compat:timestamp(),
<<" where nodeid='", SNidx/binary, "'",
- " and creation<'", (encode_now(Now))/binary, "'",
" order by creation desc">>;
rsm_filters(SNidx, Before, undefined) ->
<<" where nodeid='", SNidx/binary, "'",