IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 13, 2006, 4:04:19 PM (20 years ago)
Author:
jhoblitt
Message:

change psDBInit() so that my.cnf is always read

File:
1 edited

Legend:

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

    r7768 r7900  
    1212 *  @author Joshua Hoblitt
    1313 *
    14  *  @version $Revision: 1.69 $ $Name: not supported by cvs2svn $
    15  *  @date $Date: 2006-06-30 23:50:56 $
     14 *  @version $Revision: 1.70 $ $Name: not supported by cvs2svn $
     15 *  @date $Date: 2006-07-14 02:04:19 $
    1616 *
    1717 *  Copyright 2005 Joshua Hoblitt, University of Hawaii
     
    133133        psAbort(__func__, "mysql_init(), out of memory.");
    134134    }
     135
     136    // without this call we won't pick up anything from my.cnf
     137    mysql_options(mysql, MYSQL_READ_DEFAULT_GROUP, "client");
    135138
    136139    // Connect to host and mySql server with specified database
Note: See TracChangeset for help on using the changeset viewer.