Home
last modified time | relevance | path

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

/PHP-7.0/ext/pdo/
H A Dpdo_sqlstate.c36 static HashTable err_hash; variable
309 zend_hash_destroy(&err_hash); in pdo_sqlstate_fini_error_table()
317 zend_hash_init(&err_hash, sizeof(err_initializer)/sizeof(err_initializer[0]), NULL, NULL, 1); in pdo_sqlstate_init_error_table()
322 zend_hash_str_add_ptr(&err_hash, info->state, sizeof(info->state), (void *)info); in pdo_sqlstate_init_error_table()
331 if ((info = zend_hash_str_find_ptr(&err_hash, state, sizeof(err_initializer[0].state))) != NULL) { in pdo_sqlstate_state_to_description()

Completed in 10 milliseconds