mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-20 16:15:59 +01:00
Use 'any' to match any DBMS in sql_query
This commit is contained in:
parent
437e768e4a
commit
ba35c1ed9d
@ -563,6 +563,8 @@ select_sql_query([], _Type, _Version, undefined) ->
|
||||
undefined;
|
||||
select_sql_query([], _Type, _Version, Query) ->
|
||||
Query;
|
||||
select_sql_query([{any, Query} | _], _Type, _Version, _) ->
|
||||
Query;
|
||||
select_sql_query([{Type, Query} | _], Type, _Version, _) ->
|
||||
Query;
|
||||
select_sql_query([{{Type, _Version1}, Query1} | Rest], Type, undefined, _) ->
|
||||
|
Loading…
Reference in New Issue
Block a user