Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 572754 - dev-db/percona-server-5.6.28.76.1 - main.ctype_ucs test fails
Summary: dev-db/percona-server-5.6.28.76.1 - main.ctype_ucs test fails
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux MySQL bugs team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-01-24 11:21 UTC by Thomas Deutschmann (RETIRED)
Modified: 2016-01-24 14:25 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Deutschmann (RETIRED) gentoo-dev 2016-01-24 11:21:09 UTC
Hi,

in dev-db/percona-server-5.6.28.76.1 the "main.ctype_ucs" test is failing:

main.ctype_ucs                           w1 [ fail ]
        Test ended at 2016-01-24 11:35:06

CURRENT_TEST: main.ctype_ucs
--- /var/tmp/portage/dev-db/percona-server-5.6.28.76.1/work/mysql/mysql-test/r/ctype_ucs.result 2016-01-09 01:12:24.000000000 +0300
+++ /var/tmp/portage/dev-db/percona-server-5.6.28.76.1/temp/var-tests/1/log/ctype_ucs.reject    2016-01-24 13:35:05.9534
59808 +0300
@@ -200,11 +200,14 @@
 CREATE TABLE t1(a INT);
 LOAD DATA INFILE 'tmpp.txt' INTO TABLE t1 CHARACTER SET ucs2
 (@b) SET a=REVERSE(@b);
+Warnings:
+Warning        1366    Incorrect integer value: '?' for column 'a' at row 1
+Warning        1366    Incorrect integer value: '?' for column 'a' at row 2
 # should return 2 zeroes (as the value is truncated)
 SELECT * FROM t1;
 a
 0
-1
+0
 DROP TABLE t1;
 # Problem # 2 : if you write and read ucs2 data to a file they're lost
 SELECT '00' UNION SELECT '10' INTO OUTFILE 'tmpp2.txt' CHARACTER SET ucs2;

mysqltest: Result content mismatch

 - saving '/var/tmp/portage/dev-db/percona-server-5.6.28.76.1/temp/var-tests/1/log/main.ctype_ucs/' to '/var/tmp/portage/dev-db/percona-server-5.6.28.76.1/temp/var-tests/log/main.ctype_ucs/'



This is upstream issue https://bugs.launchpad.net/percona-server/+bug/1534246

Fixed with https://patch-diff.githubusercontent.com/raw/percona/percona-server/pull/315.patch