[79281] branches/gsoc11-rev-upgrade/base/src/cregistry/file.c
cal at macports.org
cal at macports.org
Wed Jun 8 01:33:26 PDT 2011
Revision: 79281
http://trac.macports.org/changeset/79281
Author: cal at macports.org
Date: 2011-06-08 01:33:26 -0700 (Wed, 08 Jun 2011)
Log Message:
-----------
rev-upgrade: Corrected typo in query
Modified Paths:
--------------
branches/gsoc11-rev-upgrade/base/src/cregistry/file.c
Modified: branches/gsoc11-rev-upgrade/base/src/cregistry/file.c
===================================================================
--- branches/gsoc11-rev-upgrade/base/src/cregistry/file.c 2011-06-08 07:31:43 UTC (rev 79280)
+++ branches/gsoc11-rev-upgrade/base/src/cregistry/file.c 2011-06-08 08:33:26 UTC (rev 79281)
@@ -106,7 +106,7 @@
reg_error* errPtr) {
sqlite3_stmt* stmt = NULL;
reg_file* file = NULL;
- char* query = "SELECT id, path FORM registry.files WHERE id=? AND version=?";
+ char* query = "SELECT id, path FROM registry.files WHERE id=? AND path=?";
int lower_bound = 0;
if ((sqlite3_prepare(reg->db, query, -1, &stmt, NULL) == SQLITE_OK)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110608/1c25c19f/attachment-0001.html>
More information about the macports-changes
mailing list