Skip to content

Commit ada212a

Browse files
committed
Bug #19498327 : M_I_DB FAILS WHEN BUILDING IN A SOURCE DIRECTORY
Merge of cset 8786 from trunk
1 parent 53f7d59 commit ada212a

File tree

3 files changed

+8
-9
lines changed

3 files changed

+8
-9
lines changed

mysql-test/include/m_i_db_startsvr.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ rmtree([ "$DDIR" ]);
99
EOF
1010

1111
--echo # Execution of mysql_install_db starts............
12-
--exec $MYSQL_INSTALL_DB --no-defaults --datadir=$DDIR --basedir=$BASEDIR --extra-sql-file=$MYSQL_TEST_DIR/t/m_i_db_createschema.sql --defaults-file=$MYSQL_TEST_DIR/t/m_i_db_config.cnf $midparam
12+
--exec $MYSQL_INSTALL_DB --no-defaults --mysqld-file=$MYSQLD --datadir=$DDIR --basedir=$BASEDIR --lc_messages_dir=$MYSQL_SHAREDIR --extra-sql-file=$MYSQL_TEST_DIR/t/m_i_db_createschema.sql --defaults-file=$MYSQL_TEST_DIR/t/m_i_db_config.cnf $midparam
1313
--echo # Execution of mysql_install_db ends..............
1414
--exec echo "restart:--datadir=$DDIR " > $MYSQLTEST_VARDIR/tmp/mysqld.1.expect
1515
--enable_reconnect

mysql-test/t/disabled.def

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,3 @@ archive-big : Bug#11817185 2011-03-10 Anitha Disabled since this le
1616
ds_mrr-big @solaris : Bug#14168107 2012-04-03 Hemant disabled new test added by Olav Sandstå,since this leads to timeout on Solaris on slow sparc servers
1717
mysql_embedded_client_test : Bug#13964673 2012-04-16 amitbha since most of the test cases are failing
1818
mysql_client_test_embedded : Bug#16084066 2013-01-08 Disabled since this test is failing
19-
m_i_db : Bug#19498327 2014-09-03 prabprad Disabled till the test issue is fixed

mysql-test/t/m_i_db.test

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
#############################################################
55

66
# This test takes around 300 seconds. So let us run it only in --big-test mode
7-
#--source include/big_test.inc
8-
-- source include/not_embedded.inc
7+
--source include/big_test.inc
8+
--source include/not_embedded.inc
99
--source include/not_windows.inc
1010

1111
--echo # Basic cases related to mysql_install_db
@@ -61,8 +61,8 @@ EOF
6161
--echo # Check the behavior of the option --login-path when passed with --login-file
6262
let adminuser=test_user2;
6363
let MYSQL_TEST_LOGIN_FILE=$MYSQL_TMP_DIR/m_i_db1.cnf;
64-
--exec $BASEDIR/bin/mysql_config_editor set --login-path=credential1 --user=$adminuser --host=localhost
65-
--exec $BASEDIR/bin/mysql_config_editor set --login-path=credential2 --user=test_user3 --host=127.0.0.1
64+
--exec $MYSQL_CONFIG_EDITOR set --login-path=credential1 --user=$adminuser --host=localhost
65+
--exec $MYSQL_CONFIG_EDITOR set --login-path=credential2 --user=test_user3 --host=127.0.0.1
6666

6767
let midparam=--admin-user=test_user1 --login-file=$MYSQL_TMP_DIR/m_i_db1.cnf --login-path=credential1 --insecure;
6868
--source include/m_i_db_startsvr.inc
@@ -72,8 +72,8 @@ disconnect conn_root;
7272
--echo # Check the behavior when login-path is not passed, but only --login-file
7373
let adminuser=test_user2;
7474
let MYSQL_TEST_LOGIN_FILE=$MYSQL_TMP_DIR/m_i_db2.cnf;
75-
--exec $BASEDIR/bin/mysql_config_editor set --login-path=client --user=$adminuser --host=localhost
76-
--exec $BASEDIR/bin/mysql_config_editor set --login-path=credential2 --user=test_user3 --host=127.0.0.1
75+
--exec $MYSQL_CONFIG_EDITOR set --login-path=client --user=$adminuser --host=localhost
76+
--exec $MYSQL_CONFIG_EDITOR set --login-path=credential2 --user=test_user3 --host=127.0.0.1
7777

7878
let midparam=--admin-user=test_user1 --login-file=$MYSQL_TMP_DIR/m_i_db2.cnf --insecure;
7979
--source include/m_i_db_startsvr.inc
@@ -121,7 +121,7 @@ disconnect conn_root;
121121
let adminuser=root;
122122
let adminhost=localhost;
123123
let MYSQL_TEST_LOGIN_FILE=$MYSQL_TMP_DIR/m_i_db3.cnf;
124-
--exec $BASEDIR/bin/mysql_config_editor set --login-path=credential1 --host=$adminhost
124+
--exec $MYSQL_CONFIG_EDITOR set --login-path=credential1 --host=$adminhost
125125
let midparam=--admin-host=invalidhost --login-file=$MYSQL_TMP_DIR/m_i_db3.cnf --login-path=credential1 --insecure;
126126
--source include/m_i_db_startsvr.inc
127127
disconnect conn_root;

0 commit comments

Comments
 (0)