In the interest of no needless log messages; suppress the standard "(I

analyzed the table and it was) OK" message.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@1673 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
mdb
2005-07-07 06:44:26 +00:00
parent 7afde07fb6
commit 0525ca17e9
@@ -278,11 +278,13 @@ public class SimpleRepository extends Repository
Statement stmt = null;
try {
stmt = conn.createStatement();
ResultSet rs = stmt.executeQuery(action + " table " + table);
ResultSet rs = stmt.executeQuery(
action + " table " + table);
while (rs.next()) {
String result = rs.getString("Msg_text");
if (result == null ||
result.indexOf("up to date") == -1) {
result.indexOf("up to date") == -1 &&
!result.equals("OK")) {
Log.info("Table maintenance [" +
SimpleRepository.toString(rs) + "].");
}