From 19975962ea9520f848c017981ebdafb1a48adcf5 Mon Sep 17 00:00:00 2001 From: Alexey Shchepin Date: Mon, 20 Nov 2017 15:13:26 +0300 Subject: [PATCH] Fix a bug introduced in the previous commit in ejabberd_sql_pt --- src/ejabberd_sql_pt.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}) ->