mirror of
https://github.com/processone/ejabberd
synced 2025-10-03 09:49:18 +02:00
Make sql query in testsuite compatible with pg9.1
This commit is contained in:
parent
6c2dfd3d31
commit
35042ebc6a
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue