| 1 | # Copyright 1999-2009 Gentoo Foundation |
1 | # Copyright 1999-2009 Gentoo Foundation |
| 2 | # Distributed under the terms of the GNU General Public License v2 |
2 | # Distributed under the terms of the GNU General Public License v2 |
| 3 | # $Header: /var/cvsroot/gentoo-x86/eclass/mysql.eclass,v 1.128 2010/02/01 19:16:06 hanno Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/mysql.eclass,v 1.129 2010/02/02 02:46:52 robbat2 Exp $ |
| 4 | |
4 | |
| 5 | # @ECLASS: mysql.eclass |
5 | # @ECLASS: mysql.eclass |
| 6 | # @MAINTAINER: |
6 | # @MAINTAINER: |
| 7 | # Author: Francesco Riosa (Retired) <vivo@gentoo.org> |
7 | # Author: Francesco Riosa (Retired) <vivo@gentoo.org> |
| 8 | # Maintainers: MySQL Team <mysql-bugs@gentoo.org> |
8 | # Maintainers: MySQL Team <mysql-bugs@gentoo.org> |
| … | |
… | |
| 487 | # 5.1 introduces a new way to manage storage engines (plugins) |
487 | # 5.1 introduces a new way to manage storage engines (plugins) |
| 488 | # like configuration=none |
488 | # like configuration=none |
| 489 | local plugins="csv,myisam,myisammrg,heap" |
489 | local plugins="csv,myisam,myisammrg,heap" |
| 490 | if use extraengine ; then |
490 | if use extraengine ; then |
| 491 | # like configuration=max-no-ndb, archive and example removed in 5.1.11 |
491 | # like configuration=max-no-ndb, archive and example removed in 5.1.11 |
|
|
492 | # not added yet: ibmdb2i |
|
|
493 | # Not supporting as examples: example,daemon_example,ftexample |
| 492 | plugins="${plugins},archive,blackhole,example,federated,partition" |
494 | plugins="${plugins},archive,blackhole,federated,partition" |
| 493 | |
495 | |
| 494 | elog "Before using the Federated storage engine, please be sure to read" |
496 | elog "Before using the Federated storage engine, please be sure to read" |
| 495 | elog "http://dev.mysql.com/doc/refman/5.1/en/federated-limitations.html" |
497 | elog "http://dev.mysql.com/doc/refman/5.1/en/federated-limitations.html" |
| 496 | fi |
498 | fi |
| 497 | |
499 | |
| 498 | # Upstream specifically requests that InnoDB always be built. |
500 | # Upstream specifically requests that InnoDB always be built. |
| 499 | plugins="${plugins},innobase" |
501 | plugins="${plugins},innobase,innodb_plugin" |
| 500 | |
502 | |
| 501 | # like configuration=max-no-ndb |
503 | # like configuration=max-no-ndb |
| 502 | if use cluster ; then |
504 | if use cluster ; then |
| 503 | plugins="${plugins},ndbcluster" |
505 | plugins="${plugins},ndbcluster" |
| 504 | myconf="${myconf} --with-ndb-binlog" |
506 | myconf="${myconf} --with-ndb-binlog" |