Ooops! There was a typo in the first version of the patch. Herre is the fix!

Florian
>From d79e5a0828d04e888c03e5bc68f7f538a4d97dd6 Mon Sep 17 00:00:00 2001
From: Florian Festi <[EMAIL PROTECTED]>
Date: Fri, 24 Aug 2007 15:11:08 +0200
Subject: [PATCH] fix copy/paste error in PRname index creation

---
 db.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/db.c b/db.c
index e69ebc5..d2b51d6 100644
--- a/db.c
+++ b/db.c
@@ -437,7 +437,7 @@ yum_db_create_primary_tables (sqlite3 *db, GError **err)
 
         if (i < 2) {
             query = g_strdup_printf(nameindexsql, deps[i], deps[i]);
-            rc = sqlite3_exec (db, sql, NULL, NULL, NULL);
+            rc = sqlite3_exec (db, query, NULL, NULL, NULL);
             if (rc != SQLITE_OK) {
                 g_set_error (err, YUM_DB_ERROR, YUM_DB_ERROR,
                              "Can not create %sname index: %s",
-- 
1.5.2.2

_______________________________________________
Yum-devel mailing list
[email protected]
https://lists.dulug.duke.edu/mailman/listinfo/yum-devel

Reply via email to