25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-22 16:20:52 +01:00

Fix a bug introduced in the previous commit in ejabberd_sql_pt

This commit is contained in:
Alexey Shchepin 2017-11-20 15:13:26 +03:00
parent 6a0e24fb14
commit 19975962ea

View File

@ -713,7 +713,7 @@ set_pos(Tree, Pos) ->
filter_upsert_sh(Table, ParseRes) -> filter_upsert_sh(Table, ParseRes) ->
case ?USE_NEW_SCHEMA of case ?USE_NEW_SCHEMA of
true -> true ->
ParseRes; {ParseRes, []};
false -> false ->
lists:foldr( lists:foldr(
fun({Field, _Match, ST} = P, {Acc, Vars}) -> fun({Field, _Match, ST} = P, {Acc, Vars}) ->