[MDEV-4718] Test "outfile_loaddata" fails on bigendian arches (ppc64) Created: 2013-06-26 Updated: 2013-07-02 Resolved: 2013-07-02 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | 5.5.31 |
| Fix Version/s: | 5.5.32 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Honza Horak | Assignee: | Sergei Golubchik |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Linux, ppc64 |
||
| Description |
|
I'm experiencing this problem with mariadb-5.5.31 on ppc64:
I'm reporting this issue mostly because I think that ppc64 actually behaves correctly, while all other architectures don't and what's more – even .result file is generated incorrectly. The reason why I'm assuming that is straightly visible from the diff above – we have a valid cvs file (just generated) with multi-byte character as a separator. But we are not possible to load the data back – we get errors "Warning 1261 Row 1 doesn't contain data for all columns" and similar, which shouldn't be there at all in .results file. |
| Comments |
| Comment by Elena Stepanova [ 2013-06-28 ] |
|
To my understanding, the excuse for the "usual" (non-ppc64) behavior is given in the very first warning "Non-ASCII separator arguments are not fully supported", and the remaining oddities are caused by this partial support. Test creators expected "main" platforms to behave like that, that's why the result file is written with these results and warnings. So, it seems our options aren't great: 1) to implement the rest of support for non-ascii separator arguments – frankly i doubt we have resources for that, unless of course it's a 10-min work; I'm passing it over to Sergei to decide. Sergei, |