Lines Matching refs:errormsg
872 char errormsg[SQL_MAX_MESSAGE_LENGTH]; in odbc_sql_error() local
892 rc = SQLError(henv, conn, stmt, state, &error, errormsg, sizeof(errormsg)-1, &errormsgsize); in odbc_sql_error()
895 snprintf(errormsg, sizeof(errormsg), "Failed to fetch error message"); in odbc_sql_error()
899 memcpy(conn_resource->lasterrormsg, errormsg, sizeof(errormsg)); in odbc_sql_error()
902 memcpy(ODBCG(lasterrormsg), errormsg, sizeof(errormsg)); in odbc_sql_error()
904 …php_error_docref(NULL TSRMLS_CC, E_WARNING, "SQL error: %s, SQL state %s in %s", errormsg, state, … in odbc_sql_error()
906 php_error_docref(NULL TSRMLS_CC, E_WARNING, "SQL error: %s, SQL state %s", errormsg, state); in odbc_sql_error()
1519 char errormsg[SQL_MAX_MESSAGE_LENGTH]; in PHP_FUNCTION() local
1523 result->stmt, state, &error, errormsg, in PHP_FUNCTION()
1524 sizeof(errormsg)-1, &errormsgsize); in PHP_FUNCTION()
1534 php_error_docref(NULL TSRMLS_CC, E_WARNING, "SQL error: %s, SQL state %s", errormsg, state); in PHP_FUNCTION()