[yum-cvs] yum-metadata-parser db.c,1.4,1.5

Paul Nasrat pnasrat at linux.duke.edu
Wed Jun 14 20:03:57 UTC 2006


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

Modified Files:
	db.c 
Log Message:
Fix the order to correspond with the schema

Index: db.c
===================================================================
RCS file: /home/groups/yum/cvs/yum-metadata-parser/db.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- db.c	24 May 2006 20:03:11 -0000	1.4
+++ db.c	14 Jun 2006 20:03:55 -0000	1.5
@@ -585,8 +585,8 @@
 {
     int rc;
 
-    sqlite3_bind_text (handle, 1, file->type, -1, SQLITE_STATIC);
-    sqlite3_bind_text (handle, 2, file->name, -1, SQLITE_STATIC);
+    sqlite3_bind_text (handle, 1, file->name, -1, SQLITE_STATIC);
+    sqlite3_bind_text (handle, 2, file->type, -1, SQLITE_STATIC);
     sqlite3_bind_int  (handle, 3, pkgKey);
 
     rc = sqlite3_step (handle);




More information about the Yum-cvs-commits mailing list