[117412] trunk/base/src/cregistry/sql.c

cal at macports.org cal at macports.org
Tue Feb 25 12:26:21 PST 2014


Revision: 117412
          https://trac.macports.org/changeset/117412
Author:   cal at macports.org
Date:     2014-02-25 12:26:21 -0800 (Tue, 25 Feb 2014)
Log Message:
-----------
cregistry/sql.c: the db version should be 1.200 on creation; omitting the quotes will make it 1.2, though.

Modified Paths:
--------------
    trunk/base/src/cregistry/sql.c

Modified: trunk/base/src/cregistry/sql.c
===================================================================
--- trunk/base/src/cregistry/sql.c	2014-02-25 20:20:21 UTC (rev 117411)
+++ trunk/base/src/cregistry/sql.c	2014-02-25 20:26:21 UTC (rev 117412)
@@ -129,7 +129,7 @@
 
         /* metadata table */
         "CREATE TABLE registry.metadata (key UNIQUE, value)",
-        "INSERT INTO registry.metadata (key, value) VALUES ('version', 1.200)",
+        "INSERT INTO registry.metadata (key, value) VALUES ('version', '1.200')",
         "INSERT INTO registry.metadata (key, value) VALUES ('created', strftime('%s', 'now'))",
 
         /* ports table */
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140225/d08b8e3c/attachment.html>


More information about the macports-changes mailing list