@Override protected ISqlJetCursor openCursor() throws SVNException { try { return getTable().scope(getIndexName(), null, getWhere()).reverse(); } catch (SqlJetException e) { SVNSqlJetDb.createSqlJetError(e); return null; } }
@Override protected ISqlJetCursor openCursor() throws SVNException { try { return getTable().scope(getIndexName(), null, getWhere()).reverse(); } catch (SqlJetException e) { SVNSqlJetDb.createSqlJetError(e); return null; } }
protected ISqlJetCursor openCursor() throws SVNException { try { Object[] where = getWhere(); if (isPathScoped() && isPathScopeInIndex()) { where = new Object[] {where[0], getPathScope()}; return getTable().scope(getIndexName(), where, null); } return getTable().lookup(getIndexName(), where); } catch (SqlJetException e) { SVNSqlJetDb.createSqlJetError(e); return null; } }
String parentRelPath = null; Map<String, String> parents = new HashMap<String, String>(); cursor = nodesTable.scope(null, new Object[] {wcId, localRelPathStr}, null); if ("".equals(localRelPathStr)) { if (!cursor.eof()) {
sqljetDb.beginTransaction(SqlJetTransactionMode.READ_ONLY); ISqlJetTable nodesTable = sqljetDb.getTable(SVNWCDbSchema.NODES.toString()); cursor = nodesTable.scope(null, new Object[] {wcId, localRelPathStr}, null); cursor = actualNodesTable.scope(null, new Object[] {wcId, localRelPathStr}, null); while(!cursor.eof()) { String rowRelPath = cursor.getString(SVNWCDbSchema.NODES__Fields.local_relpath.toString()); cursor = nodesTable.scope(null, new Object[] {wcId, localRelPathStr}, null); while(!cursor.eof()) { String rowRelPath = cursor.getString(SVNWCDbSchema.NODES__Fields.local_relpath.toString());
sqljetDb.beginTransaction(SqlJetTransactionMode.READ_ONLY); ISqlJetTable nodesTable = sqljetDb.getTable(SVNWCDbSchema.NODES.toString()); cursor = nodesTable.scope(null, new Object[] {wcId, localRelPathStr}, null); boolean matched = false; while(!cursor.eof()) {