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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user