GNOME Bugzilla – Bug 638884
Use --debug-sql to log all sql queries to the console
Last modified: 2011-02-10 13:14:05 UTC
Created attachment 177716 [details] [review] Enable sql query logging Summary pretty much sums it up.
Review of attachment 177716 [details] [review]: It matches what we do in Banshee[1]. It applies to git master, compiles and functions as expected: david@sagan:~$ f-spot --debug-sql [1 Info 23:43:54.987] Initializing Mono.Addins [1 Debug 23:44:03.546] Mono.Addins Initialization took 8,52306 [2 Debug 23:44:08.239] Executed in 139ms SELECT COUNT(*) FROM sqlite_master WHERE Type='table' AND Name='meta' [2 Debug 23:44:08.466] Executed in 222ms SELECT id, name, data FROM meta Looks good to me. [1] http://git.gnome.org/browse/banshee/tree/src/Core/Banshee.Services/Banshee.Database/BansheeDbConnection.cs#n80
Review of attachment 177716 [details] [review]: Excellent, merge!