From 119d0f4c3875f131e92cbcf757dfd61aba727cb0 Mon Sep 17 00:00:00 2001 From: vasil Date: Thu, 26 Feb 2009 07:21:20 +0000 Subject: [PATCH] branches/zip: Apply any necessary patches to the mysql tree at the end of setup.sh This step was previously done manually (and sometimes forgotten). --- setup.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/setup.sh b/setup.sh index 6844d9d48b3..23fe729a406 100755 --- a/setup.sh +++ b/setup.sh @@ -35,3 +35,13 @@ cd ../r ln -sf ../$TARGETDIR/mysql-test/*.result . cd ../include ln -sf ../$TARGETDIR/mysql-test/*.inc . + +# Apply any patches that are needed to make the mysql-test suite successful. +# These patches are usually needed because of deviations of behavior between +# the stock InnoDB and the InnoDB Plugin. +cd ../.. +for patch in storage/innobase/mysql-test/patches/*.diff ; do + if [ "${patch}" != "storage/innobase/mysql-test/patches/*.diff" ] ; then + patch -p0 < ${patch} + fi +done