Fixes for make_binary_distribution and mysql_config for OpenSuse 12.1
BUILD/SETUP.sh: By default, build also with innodb-plugin mysql-test/mysql-test-run.pl: Also search in lib64 directory for plugins (This is used at least on OpenSuse 12.1 when using default build scripts) mysql-test/r/lock_multi.result: Allow test to be re-run even if it crashed. mysql-test/t/lock_multi.test: Allow test to be re-run even if it crashed. scripts/make_binary_distribution.sh: Ensure that libexecdir is named libexec (was not on OpenSuse 12.1) scripts/mysql_config.sh: Fixed detection of lib64 was used.
This commit is contained in:
parent
2b625ac3e0
commit
d395d2514d
@ -178,7 +178,7 @@ base_configs="--prefix=$prefix --enable-assembler "
|
|||||||
base_configs="$base_configs --with-extra-charsets=complex "
|
base_configs="$base_configs --with-extra-charsets=complex "
|
||||||
base_configs="$base_configs --enable-thread-safe-client "
|
base_configs="$base_configs --enable-thread-safe-client "
|
||||||
base_configs="$base_configs --with-big-tables"
|
base_configs="$base_configs --with-big-tables"
|
||||||
base_configs="$base_configs --with-plugin-aria --with-aria-tmp-tables --without-plugin-innodb_plugin"
|
base_configs="$base_configs --with-plugin-aria --with-aria-tmp-tables"
|
||||||
# Compile our client programs with static libraries to allow them to be moved
|
# Compile our client programs with static libraries to allow them to be moved
|
||||||
base_configs="$base_configs --with-mysqld-ldflags=-static --with-client-ldflags=-static"
|
base_configs="$base_configs --with-mysqld-ldflags=-static --with-client-ldflags=-static"
|
||||||
|
|
||||||
|
@ -2518,7 +2518,8 @@ sub setup_vardir() {
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
# hm, what paths work for debs and for rpms ?
|
# hm, what paths work for debs and for rpms ?
|
||||||
for (<$bindir/lib/mysql/plugin/*.so>,
|
for (<$bindir/lib64/mysql/plugin/*.so>,
|
||||||
|
<$bindir/lib/mysql/plugin/*.so>,
|
||||||
<$bindir/lib/plugin/*.dll>)
|
<$bindir/lib/plugin/*.dll>)
|
||||||
{
|
{
|
||||||
my $pname=basename($_);
|
my $pname=basename($_);
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
drop table if exists t1,t2;
|
drop table if exists t1,t2;
|
||||||
|
drop DATABASE if exists mysqltest_1;
|
||||||
create table t1(n int);
|
create table t1(n int);
|
||||||
insert into t1 values (1);
|
insert into t1 values (1);
|
||||||
lock tables t1 write;
|
lock tables t1 write;
|
||||||
|
@ -5,6 +5,7 @@
|
|||||||
|
|
||||||
--disable_warnings
|
--disable_warnings
|
||||||
drop table if exists t1,t2;
|
drop table if exists t1,t2;
|
||||||
|
drop DATABASE if exists mysqltest_1;
|
||||||
--enable_warnings
|
--enable_warnings
|
||||||
|
|
||||||
# Test to see if select will get the lock ahead of low priority update
|
# Test to see if select will get the lock ahead of low priority update
|
||||||
|
@ -285,7 +285,8 @@ if [ x"$BASE_SYSTEM" != x"netware" ] ; then
|
|||||||
pkgplugindir=@pkgplugindir@ \
|
pkgplugindir=@pkgplugindir@ \
|
||||||
pkgsuppdir=@pkgsuppdir@ \
|
pkgsuppdir=@pkgsuppdir@ \
|
||||||
mandir=@mandir@ \
|
mandir=@mandir@ \
|
||||||
infodir=@infodir@
|
infodir=@infodir@ \
|
||||||
|
libexecdir=@prefix@/libexec
|
||||||
|
|
||||||
# ----------------------------------------------------------------------
|
# ----------------------------------------------------------------------
|
||||||
# Rename top directory, and set DEST to the new directory
|
# Rename top directory, and set DEST to the new directory
|
||||||
@ -301,7 +302,10 @@ if [ x"$BASE_SYSTEM" != x"netware" ] ; then
|
|||||||
if [ -z "$gcclib" ] ; then
|
if [ -z "$gcclib" ] ; then
|
||||||
echo "Warning: Compiler doesn't tell libgcc.a!"
|
echo "Warning: Compiler doesn't tell libgcc.a!"
|
||||||
elif [ -f "$gcclib" ] ; then
|
elif [ -f "$gcclib" ] ; then
|
||||||
|
{
|
||||||
|
mkdir -p $DEST/lib
|
||||||
$CP $gcclib $DEST/lib/libmygcc.a
|
$CP $gcclib $DEST/lib/libmygcc.a
|
||||||
|
}
|
||||||
else
|
else
|
||||||
echo "Warning: Compiler result '$gcclib' not found / no file!"
|
echo "Warning: Compiler result '$gcclib' not found / no file!"
|
||||||
fi
|
fi
|
||||||
|
@ -86,7 +86,7 @@ bindir='@bindir@'
|
|||||||
# If installed, search for the compiled in directory first (might be "lib64")
|
# If installed, search for the compiled in directory first (might be "lib64")
|
||||||
pkglibdir='@pkglibdir@'
|
pkglibdir='@pkglibdir@'
|
||||||
pkglibdir_rel=`echo $pkglibdir | sed -e "s;^$basedir/;;"`
|
pkglibdir_rel=`echo $pkglibdir | sed -e "s;^$basedir/;;"`
|
||||||
fix_path pkglibdir $pkglibdir_rel lib/mysql lib
|
fix_path pkglibdir $pkglibdir_rel lib64/mysql lib64 lib/mysql lib
|
||||||
|
|
||||||
plugindir='@pkgplugindir@'
|
plugindir='@pkgplugindir@'
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user