public void bumpTo(SVNWCDb db, SVNSqlJetDb sDb, File wcRootAbsPath) throws SVNException { /*-- STMT_UPGRADE_TO_26 * DROP VIEW IF EXISTS NODES_BASE; * CREATE VIEW NODES_BASE AS * SELECT * FROM nodes * WHERE op_depth = 0; */ try { if (sDb.getDb().getSchema().getViewNames().contains("NODES_BASE")) { sDb.getDb().dropView("NODES_BASE"); } sDb.getDb().createView("CREATE VIEW NODES_BASE AS SELECT * FROM nodes WHERE op_depth = 0;"); } catch (SqlJetException e) { SVNSqlJetDb.createSqlJetError(e); } setVersion(sDb, (int)26); } }