mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-22 16:20:52 +01:00
Fix tests related to MAM
This commit is contained in:
parent
1db65e3614
commit
0dfc8ade68
@ -788,8 +788,9 @@ make_sql_query(LUser, _LServer, Start, End, With, RSM) ->
|
||||
% ID can be empty because of
|
||||
% XEP-0059: Result Set Management
|
||||
% 2.5 Requesting the Last Page in a Result Set
|
||||
[<<"(">>, Query, <<" ORDER BY timestamp DESC ">>,
|
||||
LimitClause, <<") ORDER BY timestamp ASC;">>];
|
||||
[<<"SELECT timestamp, xml, peer FROM (">>, Query,
|
||||
<<" ORDER BY timestamp DESC ">>,
|
||||
LimitClause, <<") AS t ORDER BY timestamp ASC;">>];
|
||||
_ ->
|
||||
[Query, <<" ORDER BY timestamp ASC ">>,
|
||||
LimitClause, <<";">>]
|
||||
|
Loading…
Reference in New Issue
Block a user