mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-22 17:28:25 +01:00
Make sql query in testsuite compatible with pg9.1
This commit is contained in:
parent
6c2dfd3d31
commit
35042ebc6a
@ -186,7 +186,7 @@ end_per_group(mssql, Config) ->
|
||||
end,
|
||||
ok;
|
||||
end_per_group(pgsql, Config) ->
|
||||
Query = "SELECT EXISTS (SELECT FROM information_schema.tables WHERE table_name = 'mqtt_pub');",
|
||||
Query = "SELECT EXISTS (SELECT 0 FROM information_schema.tables WHERE table_name = 'mqtt_pub');",
|
||||
case catch ejabberd_sql:sql_query(?PGSQL_VHOST, [Query]) of
|
||||
{selected, [t]} ->
|
||||
clear_sql_tables(pgsql, Config);
|
||||
|
Loading…
Reference in New Issue
Block a user