summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorunknown <georg@lmy002.wdf.sap.corp>2005-04-12 08:51:26 +0200
committerunknown <georg@lmy002.wdf.sap.corp>2005-04-12 08:51:26 +0200
commit62be4f5ede50bd542156deef40ddb4af97270334 (patch)
tree4ff6d60a96aa018c1bdd24dd268275f9cfbebdc5 /tests
parentb3a2a3d6d9c7a5af17f4d7fa3fb7e72f64edf3d0 (diff)
downloadmariadb-git-62be4f5ede50bd542156deef40ddb4af97270334.tar.gz
Fix for verification tests: loss of decimal places should not
return an error
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);