rev 10538 - in kde-extras/amarok/trunk/debian: . patches

Modestas Vainius modax-guest at alioth.debian.org
Sun May 11 02:37:25 UTC 2008


Author: modax-guest
Date: 2008-05-11 02:37:25 +0000 (Sun, 11 May 2008)
New Revision: 10538

Added:
   kde-extras/amarok/trunk/debian/patches/15_temptables_more_indices.diff
Modified:
   kde-extras/amarok/trunk/debian/changelog
   kde-extras/amarok/trunk/debian/patches/series
Log:
Fix for #479068, 1.4.9.1-2 upload

Modified: kde-extras/amarok/trunk/debian/changelog
===================================================================
--- kde-extras/amarok/trunk/debian/changelog	2008-05-11 00:20:45 UTC (rev 10537)
+++ kde-extras/amarok/trunk/debian/changelog	2008-05-11 02:37:25 UTC (rev 10538)
@@ -1,3 +1,15 @@
+amarok (1.4.9.1-2) unstable; urgency=medium
+
+  * Add 15_temptables_more_indices.diff patch which creates more indices for
+    some temporary tables that are used extensively while building collection
+    database. Apparently, SQLite 3.5.x is slower than 3.4.x when doing
+    matches on unindexed temporary table fields. This should solve (or improve
+    situation significantly) major performance problems with SQLite 3.5.x
+    (Closes: #479068). Urgency medium because this problem affects many 
+    lenny and sid Amarok users having rather large (15k+ songs) collections.
+
+ -- Modestas Vainius <modestas at vainius.eu>  Sun, 11 May 2008 04:07:01 +0300
+
 amarok (1.4.9.1-1) unstable; urgency=low
 
   * New upstream bugfix release:

Added: kde-extras/amarok/trunk/debian/patches/15_temptables_more_indices.diff
===================================================================
--- kde-extras/amarok/trunk/debian/patches/15_temptables_more_indices.diff	                        (rev 0)
+++ kde-extras/amarok/trunk/debian/patches/15_temptables_more_indices.diff	2008-05-11 02:37:25 UTC (rev 10538)
@@ -0,0 +1,14 @@
+--- amarok-1.4.9.1.orig/amarok/src/collectiondb.cpp
++++ amarok-1.4.9.1/amarok/src/collectiondb.cpp
+@@ -701,6 +701,11 @@
+         query( "CREATE UNIQUE INDEX url_tagtemp ON tags_temp( url, deviceid );" );
+         query( "CREATE UNIQUE INDEX embed_urltemp ON embed_temp( url, deviceid );" );
+         query( "CREATE UNIQUE INDEX dir_temp_dir ON directories_temp( dir, deviceid );" );
++        query( "CREATE INDEX album_tagtemp ON tags_temp( album );" );
++        query( "CREATE INDEX artist_tagtemp ON tags_temp( artist );" );
++        query( "CREATE INDEX sampler_tagtemp ON tags_temp( sampler );" );
++        query( "CREATE INDEX uniqueidtemp_uniqueid ON uniqueid_temp( uniqueid );");
++        query( "CREATE INDEX uniqueidtemp_url ON uniqueid_temp( url, deviceid );");
+     }
+ }
+ 

Modified: kde-extras/amarok/trunk/debian/patches/series
===================================================================
--- kde-extras/amarok/trunk/debian/patches/series	2008-05-11 00:20:45 UTC (rev 10537)
+++ kde-extras/amarok/trunk/debian/patches/series	2008-05-11 02:37:25 UTC (rev 10538)
@@ -9,4 +9,5 @@
 12_devicemanager_dcopcall_no_timeout.diff
 13_lastfm_crash_434835.diff
 14_ruby_libs_not_scripts.diff
+15_temptables_more_indices.diff
 97_automake_cleanup.diff




More information about the pkg-kde-commits mailing list