Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
10.0.9
-
None
-
None
Description
Test case for MySQL "Bug #13500371 63704: CONVERSION OF '1.' TO A NUMBER GIVES ERROR 1265 (WARN_DATA_TRUNCATED)" fails in 10.0.
Test diff attached. Please try to apply test case as is unless it is applicable.
Attachments
Issue Links
- is part of
-
MDEV-4784 merge test cases from 5.6
-
- Stalled
-
Activity
Assignee | Oleksandr Byelkin [ sanja ] |
Status | Open [ 1 ] | In Progress [ 3 ] |
Status | In Progress [ 3 ] | Stalled [ 10000 ] |
Resolution | Fixed [ 1 ] | |
Status | Stalled [ 10000 ] | Closed [ 6 ] |
Workflow | defaullt [ 36411 ] | MariaDB v2 [ 43338 ] |
Workflow | MariaDB v2 [ 43338 ] | MariaDB v3 [ 62420 ] |
Workflow | MariaDB v3 [ 62420 ] | MariaDB v4 [ 147605 ] |
=== modified file 'strings/dtoa.c'
— a/strings/dtoa.c 2013-09-14 01:09:36 +0000
+++ b/strings/dtoa.c 2014-03-14 07:31:16 +0000
@@ -1410,7 +1410,7 @@ static double my_strtod_int(const char *
else if (nd < 16)
z= 10*z + c - '0';
nd0= nd;
+ if (s < end && c == '.')
{
++s;
if (!nd)
above is fix by MySQL