IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 25, 2011, 9:39:58 AM (15 years ago)
Author:
rhenders
Message:

now uses column as part of index name

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippToPsps/jython/mysql.py

    r31343 r31366  
    7272        self.logger.debug("Creating index on column '"+column+"' for table '"+table+"'")
    7373
    74         sql = "CREATE INDEX "+table+"_index ON "+table+" ("+column+")"
     74        sql = "CREATE INDEX "+table+"_"+column+"_index ON "+table+" ("+column+")"
    7575        try:
    7676            self.stmt.execute(sql)
Note: See TracChangeset for help on using the changeset viewer.