pike.git / lib / modules / Sql.pmod / pgsql_util.pmod

version» Context lines:

pike.git/lib/modules/Sql.pmod/pgsql_util.pmod:651:    c->closecallbacks+=(<_destruct>);    transtype = _transtype;    }       //! Returns the command-complete status for this query.    //!    //! @seealso    //! @[affected_rows()]    //!    //! @note -  //! This function is PostgreSQL-specific, and thus it is not available -  //! through the generic SQL-interface. +  //! This function is PostgreSQL-specific.    /*semi*/final string status_command_complete() {    return statuscmdcomplete;    }       //! Returns the number of affected rows by this query.    //!    //! @seealso    //! @[status_command_complete()]    //!    //! @note -  //! This function is PostgreSQL-specific, and thus it is not available -  //! through the generic SQL-interface. +  //! This function is PostgreSQL-specific.    /*semi*/final int affected_rows() {    int rows;    if(statuscmdcomplete)    sscanf(statuscmdcomplete,"%*s %d",rows);    return rows;    }       final void _storetiming() {    if(_tprepared) {    _tprepared.trun=gethrtime()-_tprepared.trunstart;