aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Shchepin <alexey@process-one.net>2017-11-20 15:13:26 +0300
committerAlexey Shchepin <alexey@process-one.net>2017-11-20 15:14:44 +0300
commit19975962ea9520f848c017981ebdafb1a48adcf5 (patch)
tree84ce2fcf56bcb31354041aaa9ab53d7c9dc43810
parentUpdate URL to IM Observatory (diff)
Fix a bug introduced in the previous commit in ejabberd_sql_pt17.11
-rw-r--r--src/ejabberd_sql_pt.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ejabberd_sql_pt.erl b/src/ejabberd_sql_pt.erl
index f59e0abe4..09c84d1e9 100644
--- a/src/ejabberd_sql_pt.erl
+++ b/src/ejabberd_sql_pt.erl
@@ -713,7 +713,7 @@ set_pos(Tree, Pos) ->
filter_upsert_sh(Table, ParseRes) ->
case ?USE_NEW_SCHEMA of
true ->
- ParseRes;
+ {ParseRes, []};
false ->
lists:foldr(
fun({Field, _Match, ST} = P, {Acc, Vars}) ->