nemo r28 - trunk/metadata



Author: arj
Date: Mon Jan  7 10:42:41 2008
New Revision: 28
URL: http://svn.gnome.org/viewvc/nemo?rev=28&view=rev

Log:
Evil hack for wierd mono.sqlite.data bug



Modified:
   trunk/metadata/MetadataStore.cs

Modified: trunk/metadata/MetadataStore.cs
==============================================================================
--- trunk/metadata/MetadataStore.cs	(original)
+++ trunk/metadata/MetadataStore.cs	Mon Jan  7 10:42:41 2008
@@ -828,6 +828,10 @@
             string str = "Data Source=" + database_dir + "nemo.db";
 
             db_connection = new SqliteConnection(str);
+
+			// mono is buggy so we need this evil hack
+			System.Threading.Thread.Sleep(250);
+
             db_connection.Open();
 
             using (IDbCommand cmd = get_command()) {



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