Browse Source
XtraDB after-merge fixes.
XtraDB after-merge fixes.
Fixes to get the test suite to run without failures. mysql-test/r/information_schema.result: Additional variables available now. Sort output to avoid depending on engine order. mysql-test/r/information_schema_all_engines.result: More variables now. mysql-test/r/innodb-autoinc.result: Avoid picking up pbxt variables in result mysql-test/r/innodb-index.result: Save state to not corrupt following testcases. Suppress an expected warning. mysql-test/r/innodb-zip.result: Work around a problem with dependency on zlib version mysql-test/r/innodb.result: Checksums have changed in Maria. Save and restore server state to not corrupt following testcases. mysql-test/r/innodb_bug36169.result: Save and restore server state to not corrupt following testcases. mysql-test/r/innodb_xtradb_bug317074.result: Save and restore server state to not corrupt following testcases. mysql-test/r/row-checksum-old.result: Update result file mysql-test/r/row-checksum.result: Update result file mysql-test/t/information_schema.test: Sort output to avoid depending on engine order. mysql-test/t/innodb-analyze.test: Save and restore server state to not corrupt following testcases. mysql-test/t/innodb-autoinc.test: Save and restore server state to not corrupt following testcases. mysql-test/t/innodb-index.test: Save state to not corrupt following testcases. Suppress an expected warning. mysql-test/t/innodb-zip.test: Work around a problem with dependency on zlib version mysql-test/t/innodb.test: Save and restore server state to not corrupt following testcases. Update --replace statements for new mysql-test-run mysql-test/t/innodb_bug34300.test: Save and restore server state to not corrupt following testcases. mysql-test/t/innodb_bug36169.test: Save and restore server state to not corrupt following testcases. mysql-test/t/innodb_bug36172.test: Save and restore server state to not corrupt following testcases. mysql-test/t/innodb_xtradb_bug317074.test: Save and restore server state to not corrupt following testcases. mysql-test/t/partition_innodb.test: Fix regexps to work with new SHOW INNODB STATUS output. mysys/thr_mutex.c: Initialize mutex deadlock detection lazily. This allows to test XtraDB, which initializes huge amounts of mutexes without using any but a few of them. storage/xtradb/ibuf/ibuf0ibuf.c: Fix problem where value of INNODB_IBUF_MAX_SIZE would depend on the alignment of memory allocated by the buffer pool. storage/xtradb/include/sync0rw.h: Fix XtraDB to compile without GCC atomic operation intrinsics (performance may suffer when they are not available though). storage/xtradb/include/sync0rw.ic: Fix XtraDB to compile without GCC atomic operation intrinsics (performance may suffer when they are not available though). storage/xtradb/include/univ.i: Fix for MariaDB storage/xtradb/setup.sh: Remove no longer needed file from XtraDB. storage/xtradb/srv/srv0start.c: Fix for MariaDBpull/843/head
28 changed files with 295 additions and 169 deletions
-
31mysql-test/r/information_schema.result
-
74mysql-test/r/information_schema_all_engines.result
-
38mysql-test/r/innodb-autoinc.result
-
3mysql-test/r/innodb-index.result
-
2mysql-test/r/innodb-zip.result
-
16mysql-test/r/innodb.result
-
3mysql-test/r/innodb_bug36169.result
-
3mysql-test/r/innodb_xtradb_bug317074.result
-
2mysql-test/r/row-checksum-old.result
-
2mysql-test/r/row-checksum.result
-
2mysql-test/t/information_schema.test
-
2mysql-test/t/innodb-analyze.test
-
38mysql-test/t/innodb-autoinc.test
-
5mysql-test/t/innodb-index.test
-
6mysql-test/t/innodb-zip.test
-
14mysql-test/t/innodb.test
-
4mysql-test/t/innodb_bug34300.test
-
7mysql-test/t/innodb_bug36169.test
-
7mysql-test/t/innodb_bug36172.test
-
7mysql-test/t/innodb_xtradb_bug317074.test
-
4mysql-test/t/partition_innodb.test
-
63mysys/thr_mutex.c
-
7storage/xtradb/ibuf/ibuf0ibuf.c
-
12storage/xtradb/include/sync0rw.h
-
61storage/xtradb/include/sync0rw.ic
-
2storage/xtradb/include/univ.i
-
47storage/xtradb/setup.sh
-
2storage/xtradb/srv/srv0start.c
@ -1,2 +1,5 @@ |
|||
SET @save_innodb_file_format=@@global.innodb_file_format; |
|||
SET @save_innodb_file_format_check=@@global.innodb_file_format_check; |
|||
SET @save_innodb_file_per_table=@@global.innodb_file_per_table; |
|||
SET GLOBAL innodb_file_format='Barracuda'; |
|||
SET GLOBAL innodb_file_per_table=ON; |
@ -1,2 +1,5 @@ |
|||
SET @save_innodb_file_format=@@global.innodb_file_format; |
|||
SET @save_innodb_file_format_check=@@global.innodb_file_format_check; |
|||
SET @save_innodb_file_per_table=@@global.innodb_file_per_table; |
|||
SET GLOBAL innodb_file_format='Barracuda'; |
|||
SET GLOBAL innodb_file_per_table=ON; |
@ -1,47 +0,0 @@ |
|||
#!/bin/sh |
|||
# |
|||
# Copyright (c) 1995, 2009, Innobase Oy. All Rights Reserved. |
|||
# |
|||
# This program is free software; you can redistribute it and/or modify it under |
|||
# the terms of the GNU General Public License as published by the Free Software |
|||
# Foundation; version 2 of the License. |
|||
# |
|||
# This program is distributed in the hope that it will be useful, but WITHOUT |
|||
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS |
|||
# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. |
|||
# |
|||
# You should have received a copy of the GNU General Public License along with |
|||
# this program; if not, write to the Free Software Foundation, Inc., 59 Temple |
|||
# Place, Suite 330, Boston, MA 02111-1307 USA |
|||
# |
|||
# Prepare the MySQL source code tree for building |
|||
# with checked-out InnoDB Subversion directory. |
|||
|
|||
# This script assumes that the current directory is storage/innobase. |
|||
|
|||
set -eu |
|||
|
|||
TARGETDIR=../storage/innobase |
|||
|
|||
# link the build scripts |
|||
BUILDSCRIPTS="compile-innodb compile-innodb-debug" |
|||
for script in $BUILDSCRIPTS ; do |
|||
ln -sf $TARGETDIR/$script ../../BUILD/ |
|||
done |
|||
|
|||
cd ../../mysql-test/t |
|||
ln -sf ../$TARGETDIR/mysql-test/*.test ../$TARGETDIR/mysql-test/*.opt . |
|||
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 |
Write
Preview
Loading…
Cancel
Save
Reference in new issue