Index: trunk/psLib/src/db/psDB.c
===================================================================
--- trunk/psLib/src/db/psDB.c	(revision 17837)
+++ trunk/psLib/src/db/psDB.c	(revision 17838)
@@ -23,5 +23,5 @@
  * 4.1.2 or newer is required.
  *
- * $Id: psDB.c,v 1.153 2008-05-29 02:26:51 bills Exp $
+ * $Id: psDB.c,v 1.154 2008-05-29 02:35:34 jhoblitt Exp $
  */
 
@@ -1701,5 +1701,5 @@
     while ((item = psListGetAndIncrement(cursor))) {
         // don't compile a regex unless we have too
-        if (psStrcasestr(item->comment, "UNIQUE") == NULL) {
+        if (psStrcasestr(item->comment, "UINDEX") == NULL) {
             continue;
         }
@@ -1709,5 +1709,5 @@
         int             errbuf_size = 1024;
         char            errbuf[errbuf_size];
-        char            *pattern = "UNIQUE[:space:]*[(]([^)]*)";
+        char            *pattern = "UINDEX[:space:]*[(]([^)]*)";
 
         int status = regcomp(&myregex, pattern, REG_EXTENDED|REG_ICASE);
@@ -1732,5 +1732,5 @@
         regfree(&myregex);
 
-        // sub string 1: unique(.*)
+        // sub string 1: uindex(.*)
         size_t matchStart = (size_t)mymatch[1].rm_so;
         size_t matchEnd   = (size_t)mymatch[1].rm_eo;
