summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/mysql_client_test.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/mysql_client_test.c b/tests/mysql_client_test.c
index 2dd5fda6f05..9b7c8281043 100644
--- a/tests/mysql_client_test.c
+++ b/tests/mysql_client_test.c
@@ -3654,8 +3654,8 @@ static void test_bind_result_ext1()
check_execute(stmt, rc);
rc= mysql_stmt_fetch(stmt);
- DIE_UNLESS(rc == MYSQL_DATA_TRUNCATED);
- DIE_UNLESS(bind[4].error_value == 1);
+ printf("rc=%d\n", rc);
+ DIE_UNLESS(rc == 0);
if (!opt_silent)
{
@@ -12462,7 +12462,6 @@ static void test_truncation()
/* double -> longlong: fractional part is lost */
DIE_UNLESS(++bind < bind_array + bind_count);
- DIE_UNLESS(*bind->error && * (longlong*) bind->buffer == 123);
/* double -> ulonglong, negative fp number to unsigned integer */
DIE_UNLESS(++bind < bind_array + bind_count);