[78960] branches/gsoc11-rev-upgrade/base/src/cregistry/util.c

cal at macports.org cal at macports.org
Fri May 27 17:14:17 PDT 2011


Revision: 78960
          http://trac.macports.org/changeset/78960
Author:   cal at macports.org
Date:     2011-05-27 17:14:17 -0700 (Fri, 27 May 2011)
Log Message:
-----------
rev-upgrade: SQLite knows "= NULL" from "IS NULL"

Modified Paths:
--------------
    branches/gsoc11-rev-upgrade/base/src/cregistry/util.c

Modified: branches/gsoc11-rev-upgrade/base/src/cregistry/util.c
===================================================================
--- branches/gsoc11-rev-upgrade/base/src/cregistry/util.c	2011-05-28 00:14:02 UTC (rev 78959)
+++ branches/gsoc11-rev-upgrade/base/src/cregistry/util.c	2011-05-28 00:14:17 UTC (rev 78960)
@@ -104,7 +104,7 @@
         case reg_strategy_regexp:
             return "REGEXP(%q, '%q')";
         case reg_strategy_null:
-            return "%q = NULL";
+            return "%q IS NULL";
         default:
             errPtr->code = REG_INVALID;
             errPtr->description = "invalid matching strategy specified";
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110527/d583425e/attachment.html>


More information about the macports-changes mailing list