start the setup.sh script of the storage engine if present

git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/mysql@1733 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
geos_one 2009-12-23 19:57:31 +00:00
parent 4e7d84395b
commit 8d3fd5d681

View File

@ -473,6 +473,11 @@ configure_51() {
[[ ${str} = "innodb" ]] && str="innobase" [[ ${str} = "innodb" ]] && str="innobase"
[[ ${str} = "xtradb" ]] && str="innobase" [[ ${str} = "xtradb" ]] && str="innobase"
[[ ! -d storage/${str} ]] && eerror "use ${str} but no ${str} plugin" [[ ! -d storage/${str} ]] && eerror "use ${str} but no ${str} plugin"
if [ -e storage/${str}/setup.sh ]; then
pushd storage/${str}
sh setup.sh
popd
fi
fi fi
done done