Commit a6eb6efe authored by Daniel Henninger's avatar Daniel Henninger Committed by dhenninger

Switching to select 1. Minimalize amount of data transferred.

git-svn-id: http://svn.igniterealtime.org/svn/repos/openfire/branches@10190 b35dd754-fafc-0310-a699-88a17e54d16e
parent 4823c0bb
...@@ -818,7 +818,7 @@ public class DbConnectionManager { ...@@ -818,7 +818,7 @@ public class DbConnectionManager {
public static String getTestSQL(String driver) { public static String getTestSQL(String driver) {
if (driver.contains("db2")) { if (driver.contains("db2")) {
return "select current_timestamp from sysibm.sysdummy1"; return "select 1 from sysibm.sysdummy1";
} }
else if (driver.contains("oracle")) { else if (driver.contains("oracle")) {
return "select 1 from dual"; return "select 1 from dual";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment