Lines Matching refs:single_error
476 zval single_error; local
477 array_init(&single_error);
478 add_assoc_long_ex(&single_error, "errno", sizeof("errno") - 1, message->error_no);
479 add_assoc_string_ex(&single_error, "sqlstate", sizeof("sqlstate") - 1, message->sqlstate);
480 add_assoc_string_ex(&single_error, "error", sizeof("error") - 1, message->error);
481 add_next_index_zval(return_value, &single_error);
488 zval single_error; local
490 array_init(&single_error);
491 add_assoc_long_ex(&single_error, "errno", sizeof("errno") - 1, mysql_errno(mysql->mysql));
492 …add_assoc_string_ex(&single_error, "sqlstate", sizeof("sqlstate") - 1, mysql_sqlstate(mysql->mysql…
493 add_assoc_string_ex(&single_error, "error", sizeof("error") - 1, mysql_error(mysql->mysql));
494 add_next_index_zval(return_value, &single_error);
522 zval single_error; local
523 array_init(&single_error);
524 add_assoc_long_ex(&single_error, "errno", sizeof("errno") - 1, message->error_no);
525 add_assoc_string_ex(&single_error, "sqlstate", sizeof("sqlstate") - 1, message->sqlstate);
526 add_assoc_string_ex(&single_error, "error", sizeof("error") - 1, message->error);
527 add_next_index_zval(return_value, &single_error);
534 zval single_error; local
536 array_init(&single_error);
537 add_assoc_long_ex(&single_error, "errno", sizeof("errno") - 1, mysql_stmt_errno(stmt->stmt));
538 …add_assoc_string_ex(&single_error, "sqlstate", sizeof("sqlstate") - 1, mysql_stmt_sqlstate(stmt->s…
539 add_assoc_string_ex(&single_error, "error", sizeof("error") - 1, mysql_stmt_error(stmt->stmt));
540 add_next_index_zval(return_value, &single_error);