[yum-cvs] yum/yum sqlitecache.py,1.18,1.19

James Bowes jbowes at linux.duke.edu
Tue Apr 3 15:18:36 UTC 2007


Update of /home/groups/yum/cvs/yum/yum
In directory login1.linux.duke.edu:/tmp/cvs-serv23682/yum

Modified Files:
	sqlitecache.py 
Log Message:
Create pkgKey index on PRCO data, as suggested by Florian Festi

Index: sqlitecache.py
===================================================================
RCS file: /home/groups/yum/cvs/yum/yum/sqlitecache.py,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- sqlitecache.py	4 Mar 2007 16:32:16 -0000	1.18
+++ sqlitecache.py	3 Apr 2007 15:18:34 -0000	1.19
@@ -189,6 +189,8 @@
               release TEXT,
               pkgKey TEXT %s)
             """ % (t, extraCol))
+            executeSQL(cur, "CREATE INDEX IF NOT EXISTS pkg%s on %s (pkgKey)"
+                    % (t, t))
         # Create the files table to hold all the file information
         executeSQL(cur, """CREATE TABLE files (
             name TEXT,




More information about the Yum-cvs-commits mailing list