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

jmr at macports.org jmr at macports.org
Tue May 18 14:06:51 PDT 2010


Revision: 67812
          http://trac.macports.org/changeset/67812
Author:   jmr at macports.org
Date:     2010-05-18 14:06:48 -0700 (Tue, 18 May 2010)
Log Message:
-----------
comment out creation of temp tables that aren't used currently

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

Modified: trunk/base/src/cregistry/sql.c
===================================================================
--- trunk/base/src/cregistry/sql.c	2010-05-18 20:48:25 UTC (rev 67811)
+++ trunk/base/src/cregistry/sql.c	2010-05-18 21:06:48 UTC (rev 67812)
@@ -155,17 +155,18 @@
  * @return             true if success; false if failure
  */
 int init_db(sqlite3* db, reg_error* errPtr) {
+    /* no code that uses these tables is being built at this time */
     static char* queries[] = {
-        "BEGIN",
+        /*"BEGIN",*/
 
         /* items cache */
-        "CREATE TEMPORARY TABLE items (refcount, proc UNIQUE, name, url, path, "
-            "worker, options, variants)",
+        /*"CREATE TEMPORARY TABLE items (refcount, proc UNIQUE, name, url, path, "
+            "worker, options, variants)",*/
 
         /* indexes list */
-        "CREATE TEMPORARY TABLE indexes (file, name, attached)",
+        /*"CREATE TEMPORARY TABLE indexes (file, name, attached)",
 
-        "COMMIT",
+        "COMMIT",*/
         NULL
     };
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100518/58fff2e9/attachment.html>


More information about the macports-changes mailing list