Lines Matching refs:state
870 char state[6]; in odbc_sql_error() local
892 rc = SQLError(henv, conn, stmt, state, &error, errormsg, sizeof(errormsg)-1, &errormsgsize); in odbc_sql_error()
894 snprintf(state, sizeof(state), "HY000"); in odbc_sql_error()
898 memcpy(conn_resource->laststate, state, sizeof(state)); in odbc_sql_error()
901 memcpy(ODBCG(laststate), state, sizeof(state)); 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()
1517 char state[6]; /* Not used */ in PHP_FUNCTION() local
1523 result->stmt, state, &error, errormsg, in PHP_FUNCTION()
1525 if (!strncmp(state,"S1015",5)) { in PHP_FUNCTION()
1534 php_error_docref(NULL TSRMLS_CC, E_WARNING, "SQL error: %s, SQL state %s", errormsg, state); in PHP_FUNCTION()