mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-22 16:20:52 +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;
|
undefined;
|
||||||
select_sql_query([], _Type, _Version, Query) ->
|
select_sql_query([], _Type, _Version, Query) ->
|
||||||
Query;
|
Query;
|
||||||
|
select_sql_query([{any, Query} | _], _Type, _Version, _) ->
|
||||||
|
Query;
|
||||||
select_sql_query([{Type, Query} | _], Type, _Version, _) ->
|
select_sql_query([{Type, Query} | _], Type, _Version, _) ->
|
||||||
Query;
|
Query;
|
||||||
select_sql_query([{{Type, _Version1}, Query1} | Rest], Type, undefined, _) ->
|
select_sql_query([{{Type, _Version1}, Query1} | Rest], Type, undefined, _) ->
|
||||||
|
Loading…
Reference in New Issue
Block a user