IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 17837 for trunk/psLib


Ignore:
Timestamp:
May 28, 2008, 4:26:51 PM (18 years ago)
Author:
bills
Message:

fix unique key string generation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/db/psDB.c

    r17775 r17837  
    2323 * 4.1.2 or newer is required.
    2424 *
    25  * $Id: psDB.c,v 1.152 2008-05-22 21:16:55 jhoblitt Exp $
     25 * $Id: psDB.c,v 1.153 2008-05-29 02:26:51 bills Exp $
    2626 */
    2727
     
    17461746        psString index = psStringNCopy(item->comment + matchStart, matchLength);
    17471747        psTrace("psLib.db", 10, "regex $1 matched: %s", index);
    1748         psStringAppend(&query, ", INDEX UNIQUE(%s)", index);
     1748        psStringAppend(&query, ", UNIQUE KEY(%s)", index);
    17491749        psFree(index);
    17501750    }
Note: See TracChangeset for help on using the changeset viewer.