beagle r3354 - in trunk/beagle/beagled: . FileSystemQueryable



Author: joeshaw
Date: 2007-01-31 19:56:27 +0000 (Wed, 31 Jan 2007)
New Revision: 3354
ViewCVS link: http://svn.gnome.org/viewcvs/beagle?rev=3354&view=rev

Modified:
   trunk/beagle/beagled/FileAttributesStore.cs
   trunk/beagle/beagled/FileAttributesStore_Sqlite.cs
   trunk/beagle/beagled/FileSystemQueryable/FileSystemQueryable.cs
Log:
Put the looping bug out to pasture once and for all.

In FSQ.DoneCrawlingOneDirectory(), in the event that we get a null file
attribute back -- which should no longer happen -- complain loudly but 
still mark the directory as clean.  This will prevent the daemon from
looping on that one directory.

Fix our sqlite schema for our fallback FileAttributesStore.  We were
declaring our columns as STRING -- which isn't valid -- instead of TEXT.
This meant that fields were defaulting to being integer-like.  Filenames
like "0009" became "9" in the database.  Bump up the schema version and
fix that.  Also make our file_path index unique, so we don't have to
deal with potential multiple entries in the database.

Add debugging output to the FileAttributesStore.






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