Home
last modified time | relevance | path

Searched refs:lasterrormsg (Results 1 – 2 of 2) sorted by relevance

/PHP-8.1/ext/odbc/
H A Dphp_odbc_includes.h187 char lasterrormsg[SQL_MAX_MESSAGE_LENGTH]; member
236 char lasterrormsg[SQL_MAX_MESSAGE_LENGTH]; variable
H A Dphp_odbc.c493 memset(ODBCG(lasterrormsg), '\0', SQL_MAX_MESSAGE_LENGTH); in PHP_RINIT_FUNCTION()
563 …(SQLCHAR *) ODBCG(laststate), &error, (SQLCHAR *) ODBCG(lasterrormsg), sizeof(ODBCG(lasterrormsg))… in odbc_sql_error()
566 snprintf(ODBCG(lasterrormsg), sizeof(ODBCG(lasterrormsg)), "Failed to fetch error message"); in odbc_sql_error()
570 memcpy(conn_resource->lasterrormsg, ODBCG(lasterrormsg), sizeof(ODBCG(lasterrormsg))); in odbc_sql_error()
573 …php_error_docref(NULL, E_WARNING, "SQL error: %s, SQL state %s in %s", ODBCG(lasterrormsg), ODBCG(… in odbc_sql_error()
575 …php_error_docref(NULL, E_WARNING, "SQL error: %s, SQL state %s", ODBCG(lasterrormsg), ODBCG(lastst… in odbc_sql_error()
2655 ret = conn->lasterrormsg; in php_odbc_lasterror()
2661 ret = ODBCG(lasterrormsg); in php_odbc_lasterror()

Completed in 17 milliseconds