Revision
117412
Author
cal@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

Diff

Modified: trunk/base/src/cregistry/sql.c (117411 => 117412)


--- 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 */