1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

Fix for verification tests: loss of decimal places should not

return an error
This commit is contained in:
georg@lmy002.wdf.sap.corp
2005-04-12 08:51:26 +02:00
parent 698399dc98
commit 1cbe701d78
2 changed files with 8 additions and 10 deletions

View File

@@ -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);