Lines Matching refs:single_error
197 zval single_error; in link_error_list_read() local
198 array_init(&single_error); in link_error_list_read()
199 add_assoc_long_ex(&single_error, "errno", sizeof("errno") - 1, message->error_no); in link_error_list_read()
200 add_assoc_string_ex(&single_error, "sqlstate", sizeof("sqlstate") - 1, message->sqlstate); in link_error_list_read()
201 add_assoc_string_ex(&single_error, "error", sizeof("error") - 1, message->error); in link_error_list_read()
202 add_next_index_zval(retval, &single_error); in link_error_list_read()
207 zval single_error; in link_error_list_read()
208 array_init(&single_error); in link_error_list_read()
209 add_assoc_long_ex(&single_error, "errno", sizeof("errno") - 1, mysql_errno(mysql->mysql)); in link_error_list_read()
210 …add_assoc_string_ex(&single_error, "sqlstate", sizeof("sqlstate") - 1, mysql_sqlstate(mysql->mysql… in link_error_list_read()
211 add_assoc_string_ex(&single_error, "error", sizeof("error") - 1, mysql_error(mysql->mysql)); in link_error_list_read()
212 add_next_index_zval(retval, &single_error); in link_error_list_read()
387 zval single_error; in stmt_error_list_read() local
388 array_init(&single_error); in stmt_error_list_read()
389 add_assoc_long_ex(&single_error, "errno", sizeof("errno") - 1, message->error_no); in stmt_error_list_read()
390 add_assoc_string_ex(&single_error, "sqlstate", sizeof("sqlstate") - 1, message->sqlstate); in stmt_error_list_read()
391 add_assoc_string_ex(&single_error, "error", sizeof("error") - 1, message->error); in stmt_error_list_read()
392 add_next_index_zval(retval, &single_error); in stmt_error_list_read()
397 zval single_error; in stmt_error_list_read()
398 array_init(&single_error); in stmt_error_list_read()
399 add_assoc_long_ex(&single_error, "errno", sizeof("errno") - 1, mysql_stmt_errno(stmt->stmt)); in stmt_error_list_read()
400 …add_assoc_string_ex(&single_error, "sqlstate", sizeof("sqlstate") - 1, mysql_stmt_sqlstate(stmt->s… in stmt_error_list_read()
401 add_assoc_string_ex(&single_error, "error", sizeof("error") - 1, mysql_stmt_error(stmt->stmt)); in stmt_error_list_read()
402 add_next_index_zval(retval, &single_error); in stmt_error_list_read()