Add missing comas in sql statement (#1219)
This commit is contained in:
parent
4a49dfecf3
commit
a9c6748ec7
|
@ -77,9 +77,9 @@ set_node(Record) when is_record(Record, pubsub_node) ->
|
||||||
catch
|
catch
|
||||||
ejabberd_sql:sql_query_t(
|
ejabberd_sql:sql_query_t(
|
||||||
?SQL("update pubsub_node set"
|
?SQL("update pubsub_node set"
|
||||||
" host=%(H)s"
|
" host=%(H)s,"
|
||||||
" node=%(Node)s"
|
" node=%(Node)s,"
|
||||||
" parent=%(Parent)s"
|
" parent=%(Parent)s,"
|
||||||
" type=%(Type)s "
|
" type=%(Type)s "
|
||||||
"where nodeid=%(OldNidx)d")),
|
"where nodeid=%(OldNidx)d")),
|
||||||
OldNidx;
|
OldNidx;
|
||||||
|
|
Loading…
Reference in New Issue