anjuta r3834 - in trunk: . plugins/symbol-db



Author: jhs
Date: Tue Apr  8 15:50:05 2008
New Revision: 3834
URL: http://svn.gnome.org/viewvc/anjuta?rev=3834&view=rev

Log:
2008-04-08  Johannes Schmid  <jhs gnome org>

	* plugins/symbol-db/symbol-db-engine.c
	(sdb_engine_populate_db_by_tags):
	Don\'t use transactions - uses only half of the time now!

Modified:
   trunk/ChangeLog
   trunk/plugins/symbol-db/symbol-db-engine.c

Modified: trunk/plugins/symbol-db/symbol-db-engine.c
==============================================================================
--- trunk/plugins/symbol-db/symbol-db-engine.c	(original)
+++ trunk/plugins/symbol-db/symbol-db-engine.c	Tue Apr  8 15:50:05 2008
@@ -1126,10 +1126,6 @@
 		g_warning ("error in opening ctags file");
 	}
 
-	gda_connection_begin_transaction (priv->db_connection, NULL, 
-									  GDA_TRANSACTION_ISOLATION_READ_UNCOMMITTED, 
-									  NULL);
-
 	if (sym_timer_DEBUG == NULL)
 		sym_timer_DEBUG = g_timer_new ();
 	else
@@ -1182,8 +1178,6 @@
 	DEBUG_PRINT ("EMITTING single-file-scan-end");
 	/* notify listeners that another file has been scanned */
 	g_async_queue_push (priv->signals_queue, (gpointer)(SINGLE_FILE_SCAN_END +1));
-	
-	gda_connection_commit_transaction (priv->db_connection, NULL, NULL);
 }
 
 static gpointer



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]