Strabon

changeset 530:dcfff8c3fe37

reverted calls of flushManagers functions that were used to handle concurrency issues of MonetDB. Branch to be created for this reason.
author Konstantina Mpereta <grad1110@di.uoa.gr>
date Fri Aug 24 13:18:44 2012 +0300 (2012-08-24)
parents d9e6882ac11a
children 231fd548f331 8378166a5669
files generaldb/src/main/java/org/openrdf/sail/generaldb/managers/TransTableManager.java generaldb/src/main/java/org/openrdf/sail/generaldb/managers/TripleTableManager.java
line diff
     1.1 --- a/generaldb/src/main/java/org/openrdf/sail/generaldb/managers/TransTableManager.java	Mon Jul 30 23:09:39 2012 +0300
     1.2 +++ b/generaldb/src/main/java/org/openrdf/sail/generaldb/managers/TransTableManager.java	Fri Aug 24 13:18:44 2012 +0300
     1.3 @@ -246,7 +246,7 @@
     1.4  		synchronized (tables) {
     1.5  			TransactionTable table = tables.get(pred);
     1.6  			if (table == null) {
     1.7 -				triples.flushManagers();// charnik's addition (see flushManagers() method for details)
     1.8 +				//triples.flushManagers();// charnik's addition (see flushManagers() method for details)
     1.9  				TripleTable predicate = triples.getPredicateTable(pred);
    1.10  				Number key = pred;
    1.11  				if (predicate.isPredColumnPresent()) {
     2.1 --- a/generaldb/src/main/java/org/openrdf/sail/generaldb/managers/TripleTableManager.java	Mon Jul 30 23:09:39 2012 +0300
     2.2 +++ b/generaldb/src/main/java/org/openrdf/sail/generaldb/managers/TripleTableManager.java	Fri Aug 24 13:18:44 2012 +0300
     2.3 @@ -248,7 +248,7 @@
     2.4  	public synchronized String getTableName(Number pred)
     2.5  		throws SQLException
     2.6  	{
     2.7 -		flushManagers(); // charnik's addition
     2.8 +		//flushManagers(); // charnik's addition
     2.9  		if (tables.containsKey(pred))
    2.10  			return tables.get(pred).getNameWhenReady();
    2.11  		if (tables.containsKey(OTHER_PRED))