Bug #36597 | Testsuite "jp": Suspicious results for some tests using sjis | ||
---|---|---|---|
Submitted: | 8 May 2008 15:17 | Modified: | 16 Sep 2008 4:50 |
Reporter: | Matthias Leich | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Charsets | Severity: | S3 (Non-critical) |
Version: | 5.1 | OS: | Any |
Assigned to: | Alexander Barkov | CPU Architecture: | Any |
[8 May 2008 15:17]
Matthias Leich
[15 May 2008 14:14]
Matthias Leich
I rerun the tests with mysql-5.1-bugteam last ChangeSet@1.2639, 2008-05-15 and all warnings during LOAD DATA disappeared.
[22 May 2008 17:19]
Matthias Leich
All queries with result set differences share the following properties: 1. They work on a table which was filled via LOAD DATA LOCAL INFILE 'suite/jp/std_data/jisx0208_sjis2.dat' ... All other INFILES are harmless. 2. Number of recorded result set lines old: 1 new: 2 An additional SELECT COUNT(*) shows that we have now two result rows and not just an additional line break within column values. The difference between recorded old and new result set is only this additional row with column values = empty string. 3. There is only one line within the INFILE. It starts with (copied from my editor, I guess the font used does not contain the corresponding japanese characters) <83>\<8f>\<95>\<97>\<8d>\<89>\<8e>\<90> The line being in the recorded old and new result sets starts with <83>\<8f>\<95>\<97>\<8d>\<89>\<8e>\<90> Experiments: 1. Add a line with 'A' at the beginning of the infile --> We get an additional result set line with 'A', but the suspicious line with values = empty string does not disappear. 2. Modify the line within the infile to 'A<83>\<8f>\<95>\<97>\....' --> Protocol line is now 'A<83>\<8f>\<95>\<97>\...' but the suspicious line with values = empty string does not disappear. So it looks like LOAD DATA misinterprets now the data within the INFILE and generates the suspicious row. How to reproduce the bug: ------------------------- The 'jp' testsuite with fixes for Bug#28563 Test suite "jp" fails completely is since 2008-05-19 in 5.1.25-rc. ./mysql-test-run.pl --enable-disabled --skip-ndb \ --testcase-timeout=20 --suite=jp jp_convert_sjis or ./mysql-test-run.pl --enable-disabled --skip-ndb \ --testcase-timeout=20 --suite=jp jp_select_sjis
[29 Jul 2008 5:50]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/commits/50623 2681 Alexander Barkov 2008-07-29 Bug#36597 Testsuite "jp": Suspicious results for some tests using sjis Problem: Extra new line appeared in jisx0208_sjis2.dat in a mistake, which broke jp_convert_sjis and jp_select_sjis tests. Fix: removing extra line mysql-test/suite/jp/std_data/jisx0208_sjis2.dat: removing wrong extra new line mysql-test/suite/jp/t/disabled.def: activating disabled tests
[26 Aug 2008 10:45]
Alexander Barkov
Pushed into 5.1.28-bugteam and 6.0.7-bugteam.
[26 Aug 2008 19:13]
Bugs System
Pushed into 5.1.28 (revid:bar@mysql.com-20080729054357-nsz5lb0blzvz0w6h) (version source revid:davi.arnaut@sun.com-20080826183817-r22ie0hgagpcn6su) (pib:3)
[26 Aug 2008 19:39]
Paul DuBois
Test case changes. No changelog entry needed. Setting report to NDI pending push into 6.0.x.
[13 Sep 2008 20:47]
Bugs System
Pushed into 6.0.7-alpha (revid:bar@mysql.com-20080729054357-nsz5lb0blzvz0w6h) (version source revid:hakan@mysql.com-20080725175322-8wgujj5xuzrjz3ke) (pib:3)
[16 Sep 2008 4:50]
Paul DuBois
No changelog entry needed.