Lines Matching refs:single_error
502 zval single_error; local
503 array_init(&single_error);
504 add_assoc_long_ex(&single_error, "errno", sizeof("errno") - 1, message->error_no);
505 add_assoc_string_ex(&single_error, "sqlstate", sizeof("sqlstate") - 1, message->sqlstate);
506 add_assoc_string_ex(&single_error, "error", sizeof("error") - 1, message->error);
507 add_next_index_zval(return_value, &single_error);
514 zval single_error; local
516 array_init(&single_error);
517 add_assoc_long_ex(&single_error, "errno", sizeof("errno") - 1, mysql_errno(mysql->mysql));
518 …add_assoc_string_ex(&single_error, "sqlstate", sizeof("sqlstate") - 1, mysql_sqlstate(mysql->mysql…
519 add_assoc_string_ex(&single_error, "error", sizeof("error") - 1, mysql_error(mysql->mysql));
520 add_next_index_zval(return_value, &single_error);
547 zval single_error; local
548 array_init(&single_error);
549 add_assoc_long_ex(&single_error, "errno", sizeof("errno") - 1, message->error_no);
550 add_assoc_string_ex(&single_error, "sqlstate", sizeof("sqlstate") - 1, message->sqlstate);
551 add_assoc_string_ex(&single_error, "error", sizeof("error") - 1, message->error);
552 add_next_index_zval(return_value, &single_error);
559 zval single_error; local
561 array_init(&single_error);
562 add_assoc_long_ex(&single_error, "errno", sizeof("errno") - 1, mysql_stmt_errno(stmt->stmt));
563 …add_assoc_string_ex(&single_error, "sqlstate", sizeof("sqlstate") - 1, mysql_stmt_sqlstate(stmt->s…
564 add_assoc_string_ex(&single_error, "error", sizeof("error") - 1, mysql_stmt_error(stmt->stmt));
565 add_next_index_zval(return_value, &single_error);