Lines Matching refs:single_error
435 zval single_error; local
436 array_init(&single_error);
437 add_assoc_long_ex(&single_error, "errno", sizeof("errno") - 1, message->error_no);
438 add_assoc_string_ex(&single_error, "sqlstate", sizeof("sqlstate") - 1, message->sqlstate);
439 add_assoc_string_ex(&single_error, "error", sizeof("error") - 1, message->error);
440 add_next_index_zval(return_value, &single_error);
445 zval single_error; local
446 array_init(&single_error);
447 add_assoc_long_ex(&single_error, "errno", sizeof("errno") - 1, mysql_errno(mysql->mysql));
448 …add_assoc_string_ex(&single_error, "sqlstate", sizeof("sqlstate") - 1, mysql_sqlstate(mysql->mysql…
449 add_assoc_string_ex(&single_error, "error", sizeof("error") - 1, mysql_error(mysql->mysql));
450 add_next_index_zval(return_value, &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);
486 zval single_error; local
487 array_init(&single_error);
488 add_assoc_long_ex(&single_error, "errno", sizeof("errno") - 1, mysql_stmt_errno(stmt->stmt));
489 …add_assoc_string_ex(&single_error, "sqlstate", sizeof("sqlstate") - 1, mysql_stmt_sqlstate(stmt->s…
490 add_assoc_string_ex(&single_error, "error", sizeof("error") - 1, mysql_stmt_error(stmt->stmt));
491 add_next_index_zval(return_value, &single_error);