Searched refs:einfo (Results 1 – 15 of 15) sorted by relevance
/PHP-7.4/ext/pdo_dblib/ |
H A D | pdo_dblib.c | 87 pdo_dblib_err *einfo; in ZEND_GET_MODULE() local 92 if (!einfo) einfo = &DBLIB_G(err); in ZEND_GET_MODULE() 94 einfo = &DBLIB_G(err); in ZEND_GET_MODULE() 98 einfo->oserr = oserr; in ZEND_GET_MODULE() 99 einfo->dberr = dberr; in ZEND_GET_MODULE() 101 if (einfo->oserrstr) { in ZEND_GET_MODULE() 102 efree(einfo->oserrstr); in ZEND_GET_MODULE() 104 if (einfo->dberrstr) { in ZEND_GET_MODULE() 132 pdo_dblib_err *einfo; in pdo_dblib_msg_handler() local 136 if (!einfo) { in pdo_dblib_msg_handler() [all …]
|
H A D | dblib_driver.c | 39 pdo_dblib_err *einfo = &H->err; in dblib_fetch_error() local 46 einfo = &S->err; in dblib_fetch_error() 49 if (einfo->lastmsg) { in dblib_fetch_error() 50 msg = einfo->lastmsg; in dblib_fetch_error() 55 msg = einfo->dberrstr; in dblib_fetch_error() 59 if (msg == NULL && einfo->dberr == 0 && einfo->oserr == 0 && einfo->severity == 0) { in dblib_fetch_error() 64 msg, einfo->dberr, einfo->severity, stmt ? stmt->active_query_string : ""); in dblib_fetch_error() 66 add_next_index_long(info, einfo->dberr); in dblib_fetch_error() 69 add_next_index_long(info, einfo->oserr); in dblib_fetch_error() 70 add_next_index_long(info, einfo->severity); in dblib_fetch_error() [all …]
|
/PHP-7.4/ext/pdo_odbc/ |
H A D | odbc_driver.c | 35 pdo_odbc_errinfo *einfo = &H->einfo; in pdo_odbc_fetch_error_func() local 41 einfo = &S->einfo; in pdo_odbc_fetch_error_func() 46 einfo->what, einfo->last_error, in pdo_odbc_fetch_error_func() 47 einfo->file, einfo->line); in pdo_odbc_fetch_error_func() 64 pdo_odbc_errinfo *einfo = &H->einfo; in pdo_odbc_error() local 71 einfo = &S->einfo; in pdo_odbc_error() 106 *pdo_err, what, einfo->last_error, einfo->last_err_msg); in pdo_odbc_error() 208 strcpy(H->einfo.last_err_msg, S->einfo.last_err_msg); in odbc_handle_preparer() 209 H->einfo.file = S->einfo.file; in odbc_handle_preparer() 210 H->einfo.line = S->einfo.line; in odbc_handle_preparer() [all …]
|
H A D | php_pdo_odbc_int.h | 129 pdo_odbc_errinfo einfo; member 149 pdo_odbc_errinfo einfo; member
|
H A D | odbc_stmt.c | 808 strcpy(S->einfo.last_err_msg, "Unknown Attribute"); in odbc_stmt_set_param() 809 S->einfo.what = "setAttribute"; in odbc_stmt_set_param() 810 strcpy(S->einfo.last_state, "IM001"); in odbc_stmt_set_param() 840 strcpy(S->einfo.last_err_msg, "Unknown Attribute"); in odbc_stmt_get_attr() 841 S->einfo.what = "getAttribute"; in odbc_stmt_get_attr() 842 strcpy(S->einfo.last_state, "IM001"); in odbc_stmt_get_attr()
|
/PHP-7.4/ext/pdo_oci/ |
H A D | oci_driver.c | 39 einfo = &H->einfo; in pdo_oci_fetch_error_func() 45 einfo = &S->einfo; in pdo_oci_fetch_error_func() 49 if (einfo->errcode) { in pdo_oci_fetch_error_func() 69 einfo = &S->einfo; in _oci_error() 73 einfo = &H->einfo; in _oci_error() 76 if (einfo->errmsg) { in _oci_error() 81 einfo->errcode = 0; in _oci_error() 82 einfo->file = file; in _oci_error() 83 einfo->line = line; in _oci_error() 175 H->einfo = *einfo; in _oci_error() [all …]
|
H A D | php_pdo_oci_int.h | 44 pdo_oci_error_info einfo; member 68 pdo_oci_error_info einfo; member
|
H A D | oci_statement.c | 98 if (S->einfo.errmsg) { in oci_stmt_dtor() 99 pefree(S->einfo.errmsg, stmt->dbh->is_persistent); in oci_stmt_dtor() 100 S->einfo.errmsg = NULL; in oci_stmt_dtor()
|
/PHP-7.4/ext/pdo_mysql/ |
H A D | mysql_driver.c | 56 einfo = &S->einfo; in _pdo_mysql_error() 59 einfo = &H->einfo; in _pdo_mysql_error() 68 einfo->file = file; in _pdo_mysql_error() 69 einfo->line = line; in _pdo_mysql_error() 71 if (einfo->errmsg) { in _pdo_mysql_error() 73 einfo->errmsg = NULL; in _pdo_mysql_error() 76 if (einfo->errcode) { in _pdo_mysql_error() 110 pdo_throw_exception(einfo->errcode, einfo->errmsg, pdo_err); in _pdo_mysql_error() 121 pdo_mysql_error_info *einfo = &H->einfo; in pdo_mysql_fetch_error_func() local 127 einfo = &S->einfo; in pdo_mysql_fetch_error_func() [all …]
|
H A D | php_pdo_mysql_int.h | 117 pdo_mysql_error_info einfo; member 134 pdo_mysql_error_info einfo; member
|
H A D | mysql_statement.c | 54 if (S->einfo.errmsg) { in pdo_mysql_stmt_dtor() 55 pefree(S->einfo.errmsg, stmt->dbh->is_persistent); in pdo_mysql_stmt_dtor() 56 S->einfo.errmsg = NULL; in pdo_mysql_stmt_dtor()
|
/PHP-7.4/ext/pdo_sqlite/ |
H A D | sqlite_driver.c | 36 pdo_sqlite_error_info *einfo = &H->einfo; in _pdo_sqlite_error() local 39 einfo->file = file; in _pdo_sqlite_error() 40 einfo->line = line; in _pdo_sqlite_error() 43 if (einfo->errmsg) { in _pdo_sqlite_error() 79 pdo_throw_exception(einfo->errcode, einfo->errmsg, pdo_err); in _pdo_sqlite_error() 82 return einfo->errcode; in _pdo_sqlite_error() 89 pdo_sqlite_error_info *einfo = &H->einfo; in pdo_sqlite_fetch_error_func() local 91 if (einfo->errcode) { in pdo_sqlite_fetch_error_func() 157 pdo_sqlite_error_info *einfo = &H->einfo; in sqlite_handle_closer() local 168 if (einfo->errmsg) { in sqlite_handle_closer() [all …]
|
H A D | php_pdo_sqlite_int.h | 57 pdo_sqlite_error_info einfo; member
|
/PHP-7.4/ext/pdo_pgsql/ |
H A D | pgsql_driver.c | 72 pdo_pgsql_error_info *einfo = &H->einfo; in _pdo_pgsql_error() local 75 einfo->errcode = errcode; in _pdo_pgsql_error() 76 einfo->file = file; in _pdo_pgsql_error() 77 einfo->line = line; in _pdo_pgsql_error() 79 if (einfo->errmsg) { in _pdo_pgsql_error() 81 einfo->errmsg = NULL; in _pdo_pgsql_error() 99 pdo_throw_exception(einfo->errcode, einfo->errmsg, pdo_err); in _pdo_pgsql_error() 115 pdo_pgsql_error_info *einfo = &H->einfo; in pdo_pgsql_fetch_error_func() local 117 if (einfo->errcode) { in pdo_pgsql_fetch_error_func() 212 if (H->einfo.errmsg) { in pgsql_handle_closer() [all …]
|
H A D | php_pdo_pgsql_int.h | 42 pdo_pgsql_error_info einfo; member
|
Completed in 42 milliseconds