Lines Matching refs:errcode
65 einfo->errcode = mysql_stmt_errno(S->stmt); in _pdo_mysql_error()
67 einfo->errcode = mysql_errno(H->server); in _pdo_mysql_error()
78 if (einfo->errcode) { in _pdo_mysql_error()
79 if (einfo->errcode == 2014) { in _pdo_mysql_error()
86 } else if (einfo->errcode == 2057) { in _pdo_mysql_error()
108 zend_throw_exception_ex(php_pdo_get_exception(), einfo->errcode TSRMLS_CC, "SQLSTATE[%s] [%d] %s", in _pdo_mysql_error()
109 *pdo_err, einfo->errcode, einfo->errmsg); in _pdo_mysql_error()
112 PDO_DBG_RETURN(einfo->errcode); in _pdo_mysql_error()
131 if (einfo->errcode) { in pdo_mysql_fetch_error_func()
132 add_next_index_long(info, einfo->errcode); in pdo_mysql_fetch_error_func()
270 PDO_DBG_RETURN(H->einfo.errcode ? -1 : 0); in mysql_handle_doer()
579 H->einfo.errcode = 0;