You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-commits@db.apache.org by Apache Wiki <wi...@apache.org> on 2013/11/15 18:12:43 UTC

[Db-derby Wiki] Update of "DatabaseConsistencyCheck" by KatheyMarsden

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Db-derby Wiki" for change notification.

The "DatabaseConsistencyCheck" page has been changed by KatheyMarsden:
https://wiki.apache.org/db-derby/DatabaseConsistencyCheck?action=diff&rev1=6&rev2=7

  	    DriverManager.getConnection(url +";shutdown=true");
  	}
  	catch (SQLException se) {
- 	    if (! se.getSQLState().equals("08006")) {
+ 	    if (se.getSQLState().equals("08006")) {
  		System.out.println("Compress and shutdown complete");
- 	    }
+ 	    } else throw se;
  	}
      }
  }