Home
last modified time | relevance | path

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

/PHP-8.1/ext/pdo/
H A Dpdo_sqlstate.c32 static HashTable err_hash; variable
305 zend_hash_destroy(&err_hash); in pdo_sqlstate_fini_error_table()
313 zend_hash_init(&err_hash, sizeof(err_initializer)/sizeof(err_initializer[0]), NULL, NULL, 1); in pdo_sqlstate_init_error_table()
318 zend_hash_str_add_ptr(&err_hash, info->state, sizeof(info->state), (void *)info); in pdo_sqlstate_init_error_table()
325 if ((info = zend_hash_str_find_ptr(&err_hash, state, sizeof(err_initializer[0].state))) != NULL) { in pdo_sqlstate_state_to_description()

Completed in 4 milliseconds