Lines Matching refs:single_error
213 zval single_error; in link_error_list_read() local
214 array_init(&single_error); in link_error_list_read()
215 add_assoc_long_ex(&single_error, "errno", sizeof("errno") - 1, message->error_no); in link_error_list_read()
216 add_assoc_string_ex(&single_error, "sqlstate", sizeof("sqlstate") - 1, message->sqlstate); in link_error_list_read()
217 add_assoc_string_ex(&single_error, "error", sizeof("error") - 1, message->error); in link_error_list_read()
218 add_next_index_zval(retval, &single_error); in link_error_list_read()
352 zval single_error; in stmt_error_list_read() local
353 array_init(&single_error); in stmt_error_list_read()
354 add_assoc_long_ex(&single_error, "errno", sizeof("errno") - 1, message->error_no); in stmt_error_list_read()
355 add_assoc_string_ex(&single_error, "sqlstate", sizeof("sqlstate") - 1, message->sqlstate); in stmt_error_list_read()
356 add_assoc_string_ex(&single_error, "error", sizeof("error") - 1, message->error); in stmt_error_list_read()
357 add_next_index_zval(retval, &single_error); in stmt_error_list_read()