| 1 | # Copyright 1999-2006 Gentoo Foundation |
1 | # Copyright 1999-2006 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.65 2007/01/08 09:12:45 vivo Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/mysql.eclass,v 1.66 2007/01/08 20:38:58 vivo Exp $ |
| 4 | # kate: encoding utf-8; eol unix; |
4 | # kate: encoding utf-8; eol unix; |
| 5 | # kate: indent-width 4; mixedindent off; remove-trailing-space on; space-indent off; |
5 | # kate: indent-width 4; mixedindent off; remove-trailing-space on; space-indent off; |
| 6 | # kate: word-wrap-column 80; word-wrap off; |
6 | # kate: word-wrap-column 80; word-wrap off; |
| 7 | |
7 | |
| 8 | # Author: Francesco Riosa (Retired) <vivo@gentoo.org> |
8 | # Author: Francesco Riosa (Retired) <vivo@gentoo.org> |
| … | |
… | |
| 799 | [[ "${script%.sh}" == "${script}" ]] && dodoc "${script}" |
799 | [[ "${script%.sh}" == "${script}" ]] && dodoc "${script}" |
| 800 | done |
800 | done |
| 801 | fi |
801 | fi |
| 802 | |
802 | |
| 803 | #einfo "you may want to read slotting upgrade documents in the overlay" |
803 | #einfo "you may want to read slotting upgrade documents in the overlay" |
| 804 | if useq "pbxt" && mysql_version_is_at_least "5.1" ; then |
804 | if mysql_version_is_at_least "5.1" && useq "pbxt" ; then |
| 805 | # TODO tell it better ;-) |
805 | # TODO tell it better ;-) |
| 806 | elog "mysql> INSTALL PLUGIN pbxt SONAME 'libpbxt.so';" |
806 | elog "mysql> INSTALL PLUGIN pbxt SONAME 'libpbxt.so';" |
| 807 | elog "CREATE TABLE t1 (c1 int, c2 text) ENGINE=pbxt;" |
807 | elog "CREATE TABLE t1 (c1 int, c2 text) ENGINE=pbxt;" |
| 808 | elog "if, after that you cannot start the mysql server" |
808 | elog "if, after that you cannot start the mysql server" |
| 809 | elog "remove the ${MY_DATADIR}/mysql/plugin.* files, then" |
809 | elog "remove the ${MY_DATADIR}/mysql/plugin.* files, then" |