Mailinglist Archive: zypp-commit (149 mails)

< Previous Next >
[zypp-commit] r5351 - /branches/SuSE-Linux-10_2-Branch/backend/src/dbsource/DbAccess.cc
  • From: dmacvicar@xxxxxxxxxxxxxxxx
  • Date: Thu, 12 Apr 2007 10:14:43 -0000
  • Message-id: <20070412101443.A738C236A6@xxxxxxxxxxxxxxxx>
Author: dmacvicar
Date: Thu Apr 12 12:14:43 2007
New Revision: 5351

URL: http://svn.opensuse.org/viewcvs/zypp?rev=5351&view=rev
Log:
fix sql statement

Modified:
    branches/SuSE-Linux-10_2-Branch/backend/src/dbsource/DbAccess.cc

Modified: branches/SuSE-Linux-10_2-Branch/backend/src/dbsource/DbAccess.cc
URL: http://svn.opensuse.org/viewcvs/zypp/branches/SuSE-Linux-10_2-Branch/backend/src/dbsource/DbAccess.cc?rev=5351&r1=5350&r2=5351&view=diff
==============================================================================
--- branches/SuSE-Linux-10_2-Branch/backend/src/dbsource/DbAccess.cc (original)
+++ branches/SuSE-Linux-10_2-Branch/backend/src/dbsource/DbAccess.cc Thu Apr 12 12:14:43 2007
@@ -411,13 +411,13 @@
 prepare_product_insert (sqlite3 *db)
 {
   string query (
-    //                       1
+    //                               1
     "INSERT INTO product_details (resolvable_id, "
-    //                       2        3
+    //                               2        3
     "                             summary, description,"
     //                            4                  5                     6                     7
-    "                             distribution_name, distribution_version, distribution_release, distribution_epoch"
-    "VALUES (?, ?, ?)"
+    "                             distribution_name, distribution_version, distribution_release, distribution_epoch)"
+    " VALUES (?, ?, ?, ?, ?, ?, ?)"
     "");
 
   return prepare_handle( db, query );

--
To unsubscribe, e-mail: zypp-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages