Gentoo Archives: gentoo-commits

From: "Robin H. Johnson" <robbat2@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/mysql:master commit in: dev-db/mysql/
Date: Mon, 02 Apr 2012 00:21:26
Message-Id: 1333316864.fd950345d9b322507c93bd7223b16af5ccd5e28e.robbat2@gentoo
1 commit: fd950345d9b322507c93bd7223b16af5ccd5e28e
2 Author: Robin H. Johnson <robbat2 <AT> orbis-terrarum <DOT> net>
3 AuthorDate: Sun Apr 1 21:47:44 2012 +0000
4 Commit: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
5 CommitDate: Sun Apr 1 21:47:44 2012 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/mysql.git;a=commit;h=fd950345
7
8 Updated versions, with patchsets, and pass tests (5.0.96 is a upgrade-path release only, many tests were disabled. Should not be used in production).
9
10 (Portage version: 2.2.0_alpha93/git/Linux x86_64, RepoMan options: --force, unsigned Manifest commit)
11
12 ---
13 dev-db/mysql/Manifest | 9 +-
14 dev-db/mysql/mysql-5.0.92.ebuild | 8 +-
15 .../{mysql-5.0.92.ebuild => mysql-5.0.96.ebuild} | 31 ++++-
16 .../{mysql-5.0.92.ebuild => mysql-5.1.62.ebuild} | 137 +++++++++++++++-----
17 dev-db/mysql/mysql-5.5.22.ebuild | 2 +-
18 5 files changed, 137 insertions(+), 50 deletions(-)
19
20 diff --git a/dev-db/mysql/Manifest b/dev-db/mysql/Manifest
21 index 4b7d280..5afc44a 100644
22 --- a/dev-db/mysql/Manifest
23 +++ b/dev-db/mysql/Manifest
24 @@ -4,7 +4,9 @@ AUX my.cnf-4.1 4235 RMD160 ca04e2e667322e99c29be59064c7a6ecaa4e1e4c SHA1 babc799
25 AUX my.cnf-5.1 4308 RMD160 9f833986c42b9879881f3b6f233e7ffc8f16d6ec SHA1 80b86608e508dfc348ec7976f6d42a2331c7b150 SHA256 3718047d2e07b63668fd0ea90eea8e3284b7a2621c054c6d999a9745b119ff97
26 AUX mysql.init 886 RMD160 26b8aa45af3f930db01f0db731865b9293626fb1 SHA1 d7d99a3f45fa807d1fb57ab04b35800a69cae430 SHA256 2d7faf6d88fd13e5c10368a20074fdb59554635f8b1fd17e088d82208e611c12
27 DIST mysql-5.0.92.tar.gz 22440590 RMD160 24a373a1b124acf39d0c0726e5cb6f47dc1bef08 SHA1 10fffc7672a469af4a7fd980922b04d7ba0143ba SHA256 223530c4cd6d45e2906e6c7d33615c5824816dfdb772d104f4165a483ea78a55
28 +DIST mysql-5.0.96.tar.gz 22686667 RMD160 b7c500f5aa82ab7189acc3c184db25616645e3ec SHA1 b28a82dccaa8a9d708f49ec5d0d0c3762d4010c8 SHA256 43853814775158aa1650f483530a7dde153957579e3349e3ec780b89d741fc84
29 DIST mysql-5.1.61.tar.gz 24462261 RMD160 392b7394a0f7821134f177a3ba4580a29d60e3f4 SHA1 a528cf822af84601dd95d3e1cb3277815685ac65 SHA256 879c6424282e38eb1ba9b1910db98b378a5574ceed431a69e344643a5524f918
30 +DIST mysql-5.1.62.tar.gz 24503313 RMD160 c5720deee2b04a40a20f56a3b305b37fecb343fe SHA1 06c7b3742f21fee6faf46224de2221230f943f63 SHA256 97c07b2478e25892fe915b2c46e99083973f541ecdf06672241f0c22f79fead3
31 DIST mysql-5.5.19.tar.gz 24296942 RMD160 cae5bbea6d527ffb899eeeced8fc411375c285ae SHA1 f6a3b5fb5a10f8110fd85463e1a25fb314e60c24 SHA256 7f3643b378101de19205d133e6fb5ce03d8394e183f4e9ac2b0de59ba57fc34f
32 DIST mysql-5.5.20.tar.gz 24305842 RMD160 2bdecbe6f61497f3d8c9255610d713f6f4e1164b SHA1 d5066327c41ac5a338ca0bb748e50bc4e1902442 SHA256 d07a84152ad3131ca63c20068be6192b0d212462e6cfedd092a1e9fc2b30540e
33 DIST mysql-5.5.21.tar.gz 24341768 RMD160 d31c1be22ac80f1c95e8f28c41ec1c82cba995cd SHA1 682e9f82566fa9dc25b0f32d979f102445a52f38 SHA256 2471fedc42bafb8210f7ff132172f6f57933f9727cc61d98197a91cfbfdf78cd
34 @@ -12,14 +14,17 @@ DIST mysql-5.5.22.tar.gz 24475686 RMD160 1404660a07a9eac4f6a4f25d7e8836edcaaee70
35 DIST mysql-5.6.2-m5.tar.gz 26137314 RMD160 e333a001e087b9fdf179c4e9f6a1927f2bd0fc6d SHA1 6b82c973b2c203909357e7100741b6030426fa67 SHA256 84b4f83b3eeff43fb9a282c03a252ee3ace1cea43ddebdfeb0ea940a687e427f
36 DIST mysql-extras-20110713-0702Z.tar.bz2 1723462 RMD160 24127c9d9bd053259fb1d9793b944d4447c21cae SHA1 4d03151f26af1ad522e1f0f0ed5eddebd665fc5c SHA256 2b0e1ce0bf5a2bcb543e631f27bf1d6bcb15da0a966112dfe64b2591945cd605
37 DIST mysql-extras-20111118-2347Z.tar.bz2 1780751 RMD160 590ad649c6221d461f96466d83a3c15b1a80a3a9 SHA1 495fd4f43364fd86aed746cfb6f870d35c9c4987 SHA256 db380436ad13231245c02c2e36d4a1d5b3d27fa39c19e844507736a8ba69b6f5
38 +DIST mysql-extras-20120401-2131Z.tar.bz2 1835097 RMD160 99b71ba2d567aef06fceda962d5d8d3ae8150b61 SHA1 91c28858bd3585ff7e1b3a5f199fdf2b28729d5b SHA256 95e531799ed267c566da8b0759da78d0351d6004c7c8a45018054e287a989495
39 DIST pbxt-1.0.11-6-pre-ga.tar.gz 3156307 RMD160 835c401b8503f1c1bef4b50f7a7815493f95acc1 SHA1 22eeffe0e38e0a0c2731a2c97fe00ce7d1ab2dfc SHA256 71ff3d86e9e5691f3efe541bf31f55a7ec2a88af27df6ad853b65902e00e6d12
40 DIST percona-xtradb-1.0.6-10.tar.gz 1676716 RMD160 772947fe67725c55751f3ec349711c05ba23c39b SHA1 07de0fd126e684aa045a8b941002f7634cd9a604 SHA256 e3aa818f13cf669412e59ad194eae8eada7a857bf7a4260e4bb41cab4d7ae39c
41 -EBUILD mysql-5.0.92.ebuild 6584 RMD160 2bd8c049fca18eb04f3e641018824d714926ed65 SHA1 7a7d895df18909e8c5a2e293edd44ebe540ded29 SHA256 316ed800c11ea60ddaa3339cdd4db28101e8b35551f7bee63c32c8f9c9b15947
42 +EBUILD mysql-5.0.92.ebuild 6498 RMD160 c4c093dcab2b00c754069e3bd5f931056a4d055a SHA1 bc066addd75e3df51e972a93f08c83f5fd9c6535 SHA256 ff447b9379cbdfbe0310cff1248cfd9eb829c325fd6b3d54da8caae0d0be4d0d
43 +EBUILD mysql-5.0.96.ebuild 7192 RMD160 87650fdb019e313dcdcff83eb064c100f811bf95 SHA1 6211a192ca7a12189bc6a4b1671142436b93e740 SHA256 16bd83cacc711ebc91dbc041db0a8b87692764c83d5d54ddc3cb1d0a99874ed2
44 EBUILD mysql-5.1.61.ebuild 8888 RMD160 418f097cc87e03c678872dd95ecdc2b44a2140b2 SHA1 abfaf4fa5bb10551db7b742e792e0f6c2d118c88 SHA256 0ea0d451bdd94314896fa8dbe167e38a37aafc7462807c6ede137c5b5e938708
45 +EBUILD mysql-5.1.62.ebuild 8888 RMD160 5f35028da02dddcba36f9e7a22ad508b38192a85 SHA1 7605b7e82df44e9790a9c643a5f221cc2730adc6 SHA256 01421f2f6a9ee7c0ea80c520cc9d207f0021fcdf8adb0141cfeb96cf69fb07c0
46 EBUILD mysql-5.5.19.ebuild 4234 RMD160 24933ce6a8d4e778ae1c06eac4804068714b610f SHA1 dcf95ba85ad7ea27421adabbfd73b8e4e51c611a SHA256 31a9962b85f68baf3ff780f56a006a1e3293d304452b33afff0e24a66e032e01
47 EBUILD mysql-5.5.20.ebuild 4234 RMD160 81a54015551e03cd18b99f3681955b191340d5b5 SHA1 9391d3cd4215fda934674cc4174c2bb52b5c6116 SHA256 a48e3a462de8effa3a8bfc2e8bdc80045de54027379056c15c79def8e62737c3
48 EBUILD mysql-5.5.21.ebuild 4234 RMD160 81a54015551e03cd18b99f3681955b191340d5b5 SHA1 9391d3cd4215fda934674cc4174c2bb52b5c6116 SHA256 a48e3a462de8effa3a8bfc2e8bdc80045de54027379056c15c79def8e62737c3
49 -EBUILD mysql-5.5.22.ebuild 4234 RMD160 81a54015551e03cd18b99f3681955b191340d5b5 SHA1 9391d3cd4215fda934674cc4174c2bb52b5c6116 SHA256 a48e3a462de8effa3a8bfc2e8bdc80045de54027379056c15c79def8e62737c3
50 +EBUILD mysql-5.5.22.ebuild 4234 RMD160 1c839260104afb85ea60a731802aaa9eff56f33c SHA1 bf8a2e7566399b13204d121f6bf87c7d8510d1a2 SHA256 f07d9403b4267b6d5a379a141771e237baf027e99d2cbb600e10167b2e58d634
51 EBUILD mysql-5.6.2_alpha_pre5.ebuild 3851 RMD160 acdea00ab14deb95ba74704627d7bf3c86cb7dc8 SHA1 a18ab55f074e23da30e505b10fd66ce97b80fcfb SHA256 f308eceb7cc0b3126fc532ffa8304464276a21adef738fcd92a62cf4d4ed38dd
52 MISC ChangeLog 8999 RMD160 02f15cba6ce1bfad393db1fff1f8d13eb0f98631 SHA1 93793fe6994fdd1c8757e0ba902ec55f07db9cfc SHA256 e7489f2f6162f63da24f07d1883736148d3ab3692a4b4c42f0483de3a37ddea3
53 MISC metadata.xml 1252 RMD160 bb7f7acf92051eba2261f50021af2edd12bd87f4 SHA1 84a869403a9a1f201f369680e48284bf069fa3f4 SHA256 2859b3010d1f2b59600ba9c41c79f0ff53f9bcc8d0ef282d552a768a076c1503
54
55 diff --git a/dev-db/mysql/mysql-5.0.92.ebuild b/dev-db/mysql/mysql-5.0.92.ebuild
56 index 7906c6c..d252f9e 100644
57 --- a/dev-db/mysql/mysql-5.0.92.ebuild
58 +++ b/dev-db/mysql/mysql-5.0.92.ebuild
59 @@ -1,11 +1,9 @@
60 -# Copyright 1999-2011 Gentoo Foundation
61 +# Copyright 1999-2012 Gentoo Foundation
62 # Distributed under the terms of the GNU General Public License v2
63 -# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql/mysql-5.0.90-r1.ebuild,v 1.1 2010/01/31 06:20:28 robbat2 Exp $
64 +# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql/mysql-5.0.92.ebuild,v 1.2 2012/01/08 23:40:20 jmbsvicetto Exp $
65
66 MY_EXTRAS_VER="live"
67 -EAPI=2
68 -# 5.0.91 tarball has wrong version number in the directory.
69 -#MY_SOURCEDIR='mysql-5.0.90'
70 +EAPI="4"
71
72 inherit toolchain-funcs mysql
73 # only to make repoman happy. it is really set in the eclass
74
75 diff --git a/dev-db/mysql/mysql-5.0.92.ebuild b/dev-db/mysql/mysql-5.0.96.ebuild
76 similarity index 87%
77 copy from dev-db/mysql/mysql-5.0.92.ebuild
78 copy to dev-db/mysql/mysql-5.0.96.ebuild
79 index 7906c6c..ff19fe3 100644
80 --- a/dev-db/mysql/mysql-5.0.92.ebuild
81 +++ b/dev-db/mysql/mysql-5.0.96.ebuild
82 @@ -1,11 +1,9 @@
83 -# Copyright 1999-2011 Gentoo Foundation
84 +# Copyright 1999-2012 Gentoo Foundation
85 # Distributed under the terms of the GNU General Public License v2
86 -# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql/mysql-5.0.90-r1.ebuild,v 1.1 2010/01/31 06:20:28 robbat2 Exp $
87 +# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql/mysql-5.0.92.ebuild,v 1.2 2012/01/08 23:40:20 jmbsvicetto Exp $
88
89 -MY_EXTRAS_VER="live"
90 -EAPI=2
91 -# 5.0.91 tarball has wrong version number in the directory.
92 -#MY_SOURCEDIR='mysql-5.0.90'
93 +MY_EXTRAS_VER="20120401-2131Z"
94 +EAPI="4"
95
96 inherit toolchain-funcs mysql
97 # only to make repoman happy. it is really set in the eclass
98 @@ -164,11 +162,30 @@ src_test() {
99 for t in archive archive_gis archive-big \
100 federated_archive mysqldump-max \
101 ; do
102 - mysql_disable_test $t "Broken in 5.0.91"
103 + mysql_disable_test $t "Broken in $PV"
104 + done
105 + ;;
106 + 5.0.96)
107 + for t in \
108 + client_xml compress connect ctype_recoding drop \
109 + federated grant information_schema \
110 + information_schema_db innodb lowercase_table \
111 + lowercase_utf8 mysql-bug41486 mysql-bug45236 mysql \
112 + mysqlcheck mysqldump-max mysqldump mysqldump_restore \
113 + mysqlshow ps ps_1general rename rpl000009 rpl_ddl \
114 + rpl_delete_all rpl_drop_db rpl_dual_pos_advance \
115 + rpl_error_ignored_table rpl_filter_tables_not_exist \
116 + rpl_replicate_do rpl_trigger_not_windows select \
117 + show_check sp system_mysql_db system_mysql_db_fix30020 \
118 + system_mysql_db_fix40123 view \
119 + ; do
120 + mysql_disable_test $t "Broken in $PV"
121 done
122 ;;
123 esac
124
125 +
126 +
127 # create directories because mysqladmin might make out of order
128 mkdir -p "${S}"/mysql-test/var-{ps,ns}{,/log}
129
130
131 diff --git a/dev-db/mysql/mysql-5.0.92.ebuild b/dev-db/mysql/mysql-5.1.62.ebuild
132 similarity index 58%
133 copy from dev-db/mysql/mysql-5.0.92.ebuild
134 copy to dev-db/mysql/mysql-5.1.62.ebuild
135 index 7906c6c..90ca29a 100644
136 --- a/dev-db/mysql/mysql-5.0.92.ebuild
137 +++ b/dev-db/mysql/mysql-5.1.62.ebuild
138 @@ -1,28 +1,44 @@
139 -# Copyright 1999-2011 Gentoo Foundation
140 +# Copyright 1999-2012 Gentoo Foundation
141 # Distributed under the terms of the GNU General Public License v2
142 -# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql/mysql-5.0.90-r1.ebuild,v 1.1 2010/01/31 06:20:28 robbat2 Exp $
143 +# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql/mysql-5.1.61.ebuild,v 1.2 2012/01/31 20:23:03 robbat2 Exp $
144
145 -MY_EXTRAS_VER="live"
146 -EAPI=2
147 -# 5.0.91 tarball has wrong version number in the directory.
148 -#MY_SOURCEDIR='mysql-5.0.90'
149 +EAPI="4"
150 +
151 +MY_EXTRAS_VER="20120401-2131Z"
152 +# PBXT
153 +PBXT_VERSION='1.0.11-6-pre-ga'
154 +# XtraDB
155 +PERCONA_VER='5.1.45-10' XTRADB_VER='1.0.6-10'
156 +
157 +# Build type
158 +BUILD="autotools"
159 +
160 +inherit toolchain-funcs mysql-v2
161
162 -inherit toolchain-funcs mysql
163 # only to make repoman happy. it is really set in the eclass
164 IUSE="$IUSE"
165
166 # REMEMBER: also update eclass/mysql*.eclass before committing!
167 -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris"
168 +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~amd64-linux ~ppc-macos ~x64-macos ~x86-solaris"
169
170 # When MY_EXTRAS is bumped, the index should be revised to exclude these.
171 +# This is often broken still
172 EPATCH_EXCLUDE=''
173
174 -DEPEND="|| ( >=sys-devel/gcc-3.4.6 >=sys-devel/gcc-apple-4.0 )"
175 -RDEPEND=""
176 +# Most of these are in the eclass
177 +DEPEND="|| ( >=sys-devel/gcc-3.4.6 >=sys-devel/gcc-apple-4.0 )
178 + >=sys-devel/libtool-2.2.10"
179 +RDEPEND="${RDEPEND}"
180
181 # Please do not add a naive src_unpack to this ebuild
182 # If you want to add a single patch, copy the ebuild to an overlay
183 # and create your own mysql-extras tarball, looking at 000_index.txt
184 +src_prepare() {
185 + sed -i \
186 + -e '/^noinst_PROGRAMS/s/basic-t//g' \
187 + "${S}"/unittest/mytap/t/Makefile.am
188 + mysql-v2_src_prepare
189 +}
190
191 # Official test instructions:
192 # USE='berkdb -cluster embedded extraengine perl ssl community' \
193 @@ -42,6 +58,7 @@ src_test() {
194 has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
195 cd "${S}"
196 einfo ">>> Test phase [test]: ${CATEGORY}/${PF}"
197 + local retstatus_unit
198 local retstatus_ns
199 local retstatus_ps
200 local t
201 @@ -54,12 +71,12 @@ src_test() {
202 # USE=extraengines case
203 case ${PV} in
204 5.0.42)
205 - mysql_disable_test "archive_gis" "Totally broken in 5.0.42"
206 + mysql-v2_disable_test "archive_gis" "Totally broken in 5.0.42"
207 ;;
208
209 5.0.4[3-9]|5.0.[56]*|5.0.70|5.0.87)
210 [ "$(tc-endian)" == "big" ] && \
211 - mysql_disable_test \
212 + mysql-v2_disable_test \
213 "archive_gis" \
214 "Broken in 5.0.43-70 and 5.0.87 on big-endian boxes only"
215 ;;
216 @@ -69,7 +86,7 @@ src_test() {
217 # was fixed.
218 case ${PV} in
219 5.0.54|5.0.51*)
220 - mysql_disable_test \
221 + mysql-v2_disable_test \
222 "read_only" \
223 "Broken in 5.0.51-54, output in wrong order"
224 ;;
225 @@ -77,14 +94,14 @@ src_test() {
226
227 # Ditto to read_only
228 [ "${PV}" == "5.0.51a" ] && \
229 - mysql_disable_test \
230 + mysql-v2_disable_test \
231 "view" \
232 "Broken in 5.0.51, output in wrong order"
233
234 # x86-specific, OOM issue with some subselects on low memory servers
235 [ "${PV}" == "5.0.54" ] && \
236 [ "${ARCH/x86}" != "${ARCH}" ] && \
237 - mysql_disable_test \
238 + mysql-v2_disable_test \
239 "subselect" \
240 "Testcase needs tuning on x86 for oom condition"
241
242 @@ -92,7 +109,7 @@ src_test() {
243 [ "${PV}" == "5.0.56" ] && \
244 for t in openssl_1 rpl_openssl rpl_ssl ssl \
245 ssl_8k_key ssl_compress ssl_connect ; do \
246 - mysql_disable_test \
247 + mysql-v2_disable_test \
248 "$t" \
249 "OpenSSL tests broken on 5.0.56"
250 done
251 @@ -101,7 +118,7 @@ src_test() {
252 # Upstream bug 41066
253 # http://bugs.mysql.com/bug.php?id=41066
254 [ "${PV}" == "5.0.72" ] && \
255 - mysql_disable_test \
256 + mysql-v2_disable_test \
257 "status2" \
258 "Broken in 5.0.72, new test is broken, upstream bug #41066"
259
260 @@ -121,58 +138,104 @@ src_test() {
261 # mysql-test/std_data/untrusted-cacert.pem is MEANT to be
262 # expired/invalid.
263 case ${PV} in
264 - 5.0.*|5.1.*)
265 + 5.0.*|5.1.*|5.4.*|5.5.*)
266 for t in openssl_1 rpl_openssl rpl.rpl_ssl rpl.rpl_ssl1 ssl ssl_8k_key \
267 - ssl_compress ssl_connect ; do \
268 - mysql_disable_test \
269 + ssl_compress ssl_connect rpl.rpl_heartbeat_ssl ; do \
270 + mysql-v2_disable_test \
271 "$t" \
272 "These OpenSSL tests break due to expired certificates"
273 done
274 ;;
275 esac
276
277 - # These are also failing in MySQL 5.0 for now, and are believed to be
278 + # These are also failing in MySQL 5.1 for now, and are believed to be
279 # false positives:
280 #
281 - # main.mysql_comment, main.mysql_upgrade:
282 + # main.mysql_comment, main.mysql_upgrade, main.information_schema,
283 + # funcs_1.is_columns_mysql funcs_1.is_tables_mysql funcs_1.is_triggers:
284 # fails due to USE=-latin1 / utf8 default
285 #
286 # main.mysql_client_test:
287 # segfaults at random under Portage only, suspect resource limits.
288 + #
289 + # main.not_partition:
290 + # Failure reason unknown at this time, must resolve before package.mask
291 + # removal FIXME
292 case ${PV} in
293 - 5.0.*)
294 - for t in main.mysql_client_test main.mysql_comments main.mysql_upgrade; do
295 - mysql_disable_test "$t" "False positives in Gentoo"
296 + 5.1.*|5.4.*|5.5.*)
297 + for t in main.mysql_client_test main.mysql_comments \
298 + main.mysql_upgrade \
299 + main.information_schema \
300 + main.not_partition funcs_1.is_columns_mysql \
301 + funcs_1.is_tables_mysql funcs_1.is_triggers; do
302 + mysql-v2_disable_test "$t" "False positives in Gentoo"
303 + done
304 + ;;
305 + esac
306 +
307 + # New failures in 5.1.50/5.1.51, reported by jmbsvicetto.
308 + # These tests are picking up a 'connect-timeout' config from somewhere,
309 + # which is not valid, and since it does not have 'loose-' in front of
310 + # it, it's causing a failure
311 + case ${PV} in
312 + 5.1.5*|5.4.*|5.5.*|6*)
313 + for t in rpl.rpl_mysql_upgrade main.log_tables_upgrade ; do
314 + mysql-v2_disable_test "$t" \
315 + "False positives in Gentoo: connect-timeout"
316 done
317 ;;
318 esac
319
320 use profiling && use community \
321 - || mysql_disable_test main.profiling \
322 + || mysql-v2_disable_test main.profiling \
323 "Profiling test needs profiling support"
324
325 if [ "${PN}" == "mariadb" ]; then
326 for t in \
327 parts.part_supported_sql_func_ndb \
328 parts.partition_auto_increment_ndb ; do
329 - mysql_disable_test $t "ndb not supported in mariadb"
330 + mysql-v2_disable_test $t "ndb not supported in mariadb"
331 done
332 fi
333
334 - case $PV in
335 - 5.0.91)
336 - for t in archive archive_gis archive-big \
337 - federated_archive mysqldump-max \
338 + # This fail with XtraDB in place of normal InnoDB
339 + # TODO: test if they are broken with the rest of the Percona patches
340 + if xtradb_patch_available && use xtradb ; then
341 + for t in main.innodb innodb.innodb_bug51378 \
342 + main.information_schema_db main.mysqlshow \
343 + main.innodb-autoinc main.innodb_bug21704 \
344 + main.innodb_bug44369 main.innodb_bug46000 \
345 + main.index_merge_innodb \
346 + innodb.innodb innodb.innodb_misc1 innodb.innodb_bug52663 \
347 + innodb.innodb-autoinc innodb.innodb-autoinc-44030 \
348 + innodb.innodb_bug21704 innodb.innodb_bug44369 \
349 + innodb.innodb_bug46000 innodb.innodb_bug48024 \
350 + innodb.innodb_bug49164 innodb.innodb_bug51920 \
351 + innodb.innodb_bug54044 \
352 ; do
353 - mysql_disable_test $t "Broken in 5.0.91"
354 - done
355 - ;;
356 - esac
357 + mysql-v2_disable_test $t "tests broken in xtradb"
358 + done
359 + fi
360 +
361 + if ! use extraengine ; then
362 + # bug 332565
363 + for t in main.range ; do
364 + mysql-v2_disable_test $t "Test $t requires USE=extraengine"
365 + done
366 + # bug 401673
367 + for t in federated.federated_plugin ; do
368 + mysql-v2_disable_test $t "Test $t requires USE=extraengine (Need federated engine)"
369 + done
370 + fi
371
372 # create directories because mysqladmin might make out of order
373 mkdir -p "${S}"/mysql-test/var-{ps,ns}{,/log}
374
375 # We run the test protocols seperately
376 + emake test-unit
377 + retstatus_unit=$?
378 + [[ $retstatus_unit -eq 0 ]] || eerror "test-unit failed"
379 +
380 emake test-ns force="--force --vardir=${S}/mysql-test/var-ns"
381 retstatus_ns=$?
382 [[ $retstatus_ns -eq 0 ]] || eerror "test-ns failed"
383 @@ -183,10 +246,14 @@ src_test() {
384 [[ $retstatus_ps -eq 0 ]] || eerror "test-ps failed"
385 has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
386
387 + # TODO:
388 + # When upstream enables the pr and nr testsuites, we need those as well.
389 +
390 # Cleanup is important for these testcases.
391 pkill -9 -f "${S}/ndb" 2>/dev/null
392 pkill -9 -f "${S}/sql" 2>/dev/null
393 failures=""
394 + [[ $retstatus_unit -eq 0 ]] || failures="${failures} test-unit"
395 [[ $retstatus_ns -eq 0 ]] || failures="${failures} test-ns"
396 [[ $retstatus_ps -eq 0 ]] || failures="${failures} test-ps"
397 has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
398
399 diff --git a/dev-db/mysql/mysql-5.5.22.ebuild b/dev-db/mysql/mysql-5.5.22.ebuild
400 index 18ef035..1dad757 100644
401 --- a/dev-db/mysql/mysql-5.5.22.ebuild
402 +++ b/dev-db/mysql/mysql-5.5.22.ebuild
403 @@ -4,7 +4,7 @@
404
405 EAPI="4"
406
407 -MY_EXTRAS_VER="20111118-2347Z"
408 +MY_EXTRAS_VER="20120401-2131Z"
409 MY_PV="${PV//_alpha_pre/-m}"
410 MY_PV="${MY_PV//_/-}"