3
# Copyright (c) 1995, 2009, Innobase Oy. All Rights Reserved.
5
# This program is free software; you can redistribute it and/or modify it under
6
# the terms of the GNU General Public License as published by the Free Software
7
# Foundation; version 2 of the License.
9
# This program is distributed in the hope that it will be useful, but WITHOUT
10
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11
# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
13
# You should have received a copy of the GNU General Public License along with
14
# this program; if not, write to the Free Software Foundation, Inc., 59 Temple
15
# Place, Suite 330, Boston, MA 02111-1307 USA
17
# Prepare the MySQL source code tree for building
18
# with checked-out InnoDB Subversion directory.
20
# This script assumes that the current directory is storage/innobase.
24
TARGETDIR=../storage/innobase
26
# link the build scripts
27
BUILDSCRIPTS="compile-innodb compile-innodb-debug"
28
for script in $BUILDSCRIPTS ; do
29
ln -sf $TARGETDIR/$script ../../BUILD/
33
ln -sf ../$TARGETDIR/mysql-test/*.test ../$TARGETDIR/mysql-test/*.opt .
35
ln -sf ../$TARGETDIR/mysql-test/*.result .
37
ln -sf ../$TARGETDIR/mysql-test/*.inc .
39
# Apply any patches that are needed to make the mysql-test suite successful.
40
# These patches are usually needed because of deviations of behavior between
41
# the stock InnoDB and the InnoDB Plugin.
43
for patch in storage/innobase/mysql-test/patches/*.diff ; do
44
if [ "${patch}" != "storage/innobase/mysql-test/patches/*.diff" ] ; then