Lines Matching refs:single_error
203 zval single_error; in link_error_list_read() local
204 array_init(&single_error); in link_error_list_read()
205 add_assoc_long_ex(&single_error, "errno", sizeof("errno") - 1, message->error_no); in link_error_list_read()
206 add_assoc_string_ex(&single_error, "sqlstate", sizeof("sqlstate") - 1, message->sqlstate); in link_error_list_read()
207 add_assoc_string_ex(&single_error, "error", sizeof("error") - 1, message->error); in link_error_list_read()
208 add_next_index_zval(retval, &single_error); in link_error_list_read()
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, mysql_errno(mysql->mysql)); in link_error_list_read()
216 …add_assoc_string_ex(&single_error, "sqlstate", sizeof("sqlstate") - 1, mysql_sqlstate(mysql->mysql… in link_error_list_read()
217 add_assoc_string_ex(&single_error, "error", sizeof("error") - 1, mysql_error(mysql->mysql)); in link_error_list_read()
218 add_next_index_zval(retval, &single_error); in link_error_list_read()
367 zval single_error; in stmt_error_list_read() local
368 array_init(&single_error); in stmt_error_list_read()
369 add_assoc_long_ex(&single_error, "errno", sizeof("errno") - 1, message->error_no); in stmt_error_list_read()
370 add_assoc_string_ex(&single_error, "sqlstate", sizeof("sqlstate") - 1, message->sqlstate); in stmt_error_list_read()
371 add_assoc_string_ex(&single_error, "error", sizeof("error") - 1, message->error); in stmt_error_list_read()
372 add_next_index_zval(retval, &single_error); in stmt_error_list_read()
377 zval single_error; in stmt_error_list_read() local
378 array_init(&single_error); in stmt_error_list_read()
379 add_assoc_long_ex(&single_error, "errno", sizeof("errno") - 1, mysql_stmt_errno(stmt->stmt)); in stmt_error_list_read()
380 …add_assoc_string_ex(&single_error, "sqlstate", sizeof("sqlstate") - 1, mysql_stmt_sqlstate(stmt->s… in stmt_error_list_read()
381 add_assoc_string_ex(&single_error, "error", sizeof("error") - 1, mysql_stmt_error(stmt->stmt)); in stmt_error_list_read()
382 add_next_index_zval(retval, &single_error); in stmt_error_list_read()