mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-24 16:23:40 +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
|
% ID can be empty because of
|
||||||
% XEP-0059: Result Set Management
|
% XEP-0059: Result Set Management
|
||||||
% 2.5 Requesting the Last Page in a Result Set
|
% 2.5 Requesting the Last Page in a Result Set
|
||||||
[<<"(">>, Query, <<" ORDER BY timestamp DESC ">>,
|
[<<"SELECT timestamp, xml, peer FROM (">>, Query,
|
||||||
LimitClause, <<") ORDER BY timestamp ASC;">>];
|
<<" ORDER BY timestamp DESC ">>,
|
||||||
|
LimitClause, <<") AS t ORDER BY timestamp ASC;">>];
|
||||||
_ ->
|
_ ->
|
||||||
[Query, <<" ORDER BY timestamp ASC ">>,
|
[Query, <<" ORDER BY timestamp ASC ">>,
|
||||||
LimitClause, <<";">>]
|
LimitClause, <<";">>]
|
||||||
|
Loading…
Reference in New Issue
Block a user