~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/innobase/setup.sh

Tags: innodb-plugin-1.0.3
InnoDB Plugin 1.0.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/bin/sh
2
2
#
 
3
# Copyright (c) 1995, 2009, Innobase Oy. All Rights Reserved.
 
4
 
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.
 
8
 
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.
 
12
 
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
 
16
#
3
17
# Prepare the MySQL source code tree for building
4
18
# with checked-out InnoDB Subversion directory.
5
19
 
21
35
ln -sf ../$TARGETDIR/mysql-test/*.result .
22
36
cd ../include
23
37
ln -sf ../$TARGETDIR/mysql-test/*.inc .
 
38
 
 
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.
 
42
cd ../..
 
43
for patch in storage/innobase/mysql-test/patches/*.diff ; do
 
44
        if [ "${patch}" != "storage/innobase/mysql-test/patches/*.diff" ] ; then
 
45
                patch -p0 < ${patch}
 
46
        fi
 
47
done