mirror of
https://github.com/processone/ejabberd.git
synced 2024-06-04 21:27:16 +02: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