mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 20:42:30 +01:00
Some minor fixes.
mysql-test/mysql-test-run.sh: Less restricted permissions. mysql-test/r/rpl_rotate_logs.result: If the path where mysql-test-run was run was symlinked, this test could fail. This is a fix. mysql-test/t/rpl_rotate_logs.test: If the path where mysql-test-run was run was symlinked, this test could fail. This is a fix.
This commit is contained in:
parent
082ea84824
commit
026dacc1ac
3 changed files with 9 additions and 2 deletions
|
@ -198,6 +198,13 @@ LD_LIBRARY_PATH="$BASEDIR/lib:$BASEDIR/libmysql/.libs:$LD_LIBRARY_PATH"
|
|||
DYLD_LIBRARY_PATH="$BASEDIR/lib:$BASEDIR/libmysql/.libs:$DYLD_LIBRARY_PATH"
|
||||
export LD_LIBRARY_PATH DYLD_LIBRARY_PATH
|
||||
|
||||
#
|
||||
# Allow anyone in the group to see the generated database files
|
||||
#
|
||||
UMASK=0660
|
||||
UMASK_DIR=0770
|
||||
export UMASK UMASK_DIR
|
||||
|
||||
MASTER_RUNNING=0
|
||||
MASTER1_RUNNING=0
|
||||
MASTER_MYPORT=9306
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
drop table if exists t1, t2, t3, t4;
|
||||
drop table if exists t1, t2, t3, t4;
|
||||
start slave;
|
||||
ERROR HY000: File 'TESTDIR/var/slave-data/master.info' not found (Errcode: 13)
|
||||
Got one of the listed errors
|
||||
start slave;
|
||||
ERROR HY000: Could not initialize master info structure; more error messages can be found in the MySQL error log
|
||||
change master to master_host='127.0.0.1',master_port=MASTER_PORT, master_user='root';
|
||||
|
|
|
@ -24,7 +24,7 @@ drop table if exists t1, t2, t3, t4;
|
|||
# START SLAVE will fail because it can't read the file (mode 000)
|
||||
# (system error 13)
|
||||
--replace_result $MYSQL_TEST_DIR TESTDIR
|
||||
--error 1105
|
||||
--error 1105,1105
|
||||
start slave;
|
||||
system chmod 600 var/slave-data/master.info;
|
||||
# It will fail again because the file is empty so the slave cannot get valuable
|
||||
|
|
Loading…
Reference in a new issue