mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-24 16:23:40 +01:00
Fix issue with family field on cockroachdb
This commit is contained in:
parent
82074190fb
commit
1e456065f6
@ -648,7 +648,11 @@ make_sql_upsert_insert(Table, ParseRes) ->
|
|||||||
]),
|
]),
|
||||||
State.
|
State.
|
||||||
|
|
||||||
make_sql_upsert_pgsql901(Table, ParseRes) ->
|
make_sql_upsert_pgsql901(Table, ParseRes0) ->
|
||||||
|
ParseRes = lists:map(
|
||||||
|
fun({"family", A2, A3}) -> {"\"family\"", A2, A3};
|
||||||
|
(Other) -> Other
|
||||||
|
end, ParseRes0),
|
||||||
Update = make_sql_upsert_update(Table, ParseRes),
|
Update = make_sql_upsert_update(Table, ParseRes),
|
||||||
Vals =
|
Vals =
|
||||||
lists:map(
|
lists:map(
|
||||||
|
Loading…
Reference in New Issue
Block a user