IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 22, 2006, 3:51:48 PM (20 years ago)
Author:
jhoblitt
Message:
  • rework the way MYSQL_BIND arrays are handled so that they are wrapped in a structure that keeps track of how many elements are in the array. This allows a custom free function to iterate through the array and free allocated buffers.
  • preliminary psTime support
  • add p_psDBRunQueryPrepared() (not yet used)
File:
1 edited

Legend:

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

    r7386 r7644  
    1010 *  @author Joshua Hoblitt
    1111 *
    12  *  @version $Revision: 1.18 $ $Name: not supported by cvs2svn $
    13  *  @date $Date: 2006-06-07 03:40:43 $
     12 *  @version $Revision: 1.19 $ $Name: not supported by cvs2svn $
     13 *  @date $Date: 2006-06-23 01:51:48 $
    1414 *
    1515 *  Copyright 2005 Joshua Hoblitt, University of Hawaii
     
    9494    const char *format,                ///< SQL string to execute
    9595    ...                                ///< Arguments for name formatting and metadata item data.
     96);
     97
     98/** Executes a SQL query as a prepared statement
     99 *
     100 * This function will execute a string as a raw SQL query.  No additional
     101 * processing of the string or abstraction of the underlying database's SQL
     102 * dialect is provided.  Caveat emptor.
     103 *
     104 * @return long:    the number of database rows affected
     105 */
     106long p_psDBRunQueryPrepared(
     107    psDB *dbh,                          ///< Database handle
     108    const psArray *rowSet,              ///< row data as psArray of psMetadata
     109    const char *format,                 ///< SQL string to execute
     110    ...
    96111);
    97112
Note: See TracChangeset for help on using the changeset viewer.