[MDEV-11866] main.analyze_format_json, main.analyze_stmt_orderby can fail with a mismatch Created: 2017-01-21 Updated: 2017-11-02 Resolved: 2017-11-02 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Tests |
| Affects Version/s: | 10.1, 10.2 |
| Fix Version/s: | 10.1.22 |
| Type: | Bug | Priority: | Major |
| Reporter: | Elena Stepanova | Assignee: | Varun Gupta (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | contribution, patch | ||
| Sprint: | 10.1.29 |
| Description |
|
Reported in the email thread.
|
| Comments |
| Comment by Daniel Black [ 2017-01-23 ] | ||||||||||||||||||
|
from 10.2 only:
added commit to pr 292 | ||||||||||||||||||
| Comment by Elena Stepanova [ 2017-01-23 ] | ||||||||||||||||||
|
Yeah that's an easy fix, but I'm not quite sure that's what we need. Do we really want the exponent format in ANALYZE output to begin with? Assigning to psergey to decide. | ||||||||||||||||||
| Comment by Sergei Petrunia [ 2017-01-24 ] | ||||||||||||||||||
|
I don't see an issue with exponent format, it's actually good for very big/small values. | ||||||||||||||||||
| Comment by Elena Stepanova [ 2017-01-30 ] | ||||||||||||||||||
|
Restoring previously removed comment. The failure in main.cte_recursive is mentioned above in the comments (which is why I deleted my comment earlier), but it turns out that the conversation on github suggests that it is currently considered not reproducible – incorrectly, because it does happen in buildbot:
| ||||||||||||||||||
| Comment by Elena Stepanova [ 2017-01-30 ] | ||||||||||||||||||
|
serg has fixed cte_recursive in 10.2, so you can ignore this one | ||||||||||||||||||
| Comment by Sergei Petrunia [ 2017-01-30 ] | ||||||||||||||||||
|
Ok serg has fixed the 10.2 part https://github.com/MariaDB/server/commit/9f918b9cf48989a9c1fedbd3fd8849d4d6892690. his fix is not using include/analyze-format.inc but it also works. (pull request #292 has not yet been merged from 10.1 so it's not possible to change) | ||||||||||||||||||
| Comment by Sergei Golubchik [ 2017-01-30 ] | ||||||||||||||||||
|
yes, I remember that pull request, and I checked that include/analyze-format.inc wasn't in 10.2 yet. | ||||||||||||||||||
| Comment by Varun Gupta (Inactive) [ 2017-11-02 ] | ||||||||||||||||||
|
Fixed with include/analyze-format.inc in 10.1.22 |