]> granicus.if.org Git - ejabberd/commitdiff
Fix a bug introduced in the previous commit in ejabberd_sql_pt 17.11
authorAlexey Shchepin <alexey@process-one.net>
Mon, 20 Nov 2017 12:13:26 +0000 (15:13 +0300)
committerAlexey Shchepin <alexey@process-one.net>
Mon, 20 Nov 2017 12:14:44 +0000 (15:14 +0300)
src/ejabberd_sql_pt.erl

index f59e0abe4ef7305372202418a49e9b8788528cc0..09c84d1e9284e4a1037405e9c6d6a780ec81995a 100644 (file)
@@ -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}) ->