Skip to content

Commit

Permalink
Make sql query in testsuite compatible with pg9.1
Browse files Browse the repository at this point in the history
  • Loading branch information
prefiks committed Jul 3, 2024
1 parent 6c2dfd3 commit 35042eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/ejabberd_SUITE.erl
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 35042eb

Please sign in to comment.