summaryrefslogtreecommitdiff
path: root/mysql-test
diff options
context:
space:
mode:
authorunknown <monty@narttu.mysql.fi>2003-10-07 21:41:06 +0300
committerunknown <monty@narttu.mysql.fi>2003-10-07 21:41:06 +0300
commit60e4f7d5066d549f782b975fdf695dbdab074f1b (patch)
treebf601fee6c541afffad83ed4281c9c9a1aae15fc /mysql-test
parentf16887c59c7e896c6504008f6cbea337a5cb3fff (diff)
parent19e954d2f8ae119cbaf60c2ff74cdff7a35b051a (diff)
downloadmariadb-git-60e4f7d5066d549f782b975fdf695dbdab074f1b.tar.gz
Merge with 4.0 to get fix for mysqlbinlog
client/mysqlbinlog.cc: Auto merged mysql-test/r/create.result: Auto merged scripts/Makefile.am: Auto merged sql/sql_select.cc: Auto merged mysql-test/mysql-test-run.sh: Cleaned up argument handling for external programs
Diffstat (limited to 'mysql-test')
-rw-r--r--mysql-test/mysql-test-run.sh15
-rw-r--r--mysql-test/r/create.result2
2 files changed, 9 insertions, 8 deletions
diff --git a/mysql-test/mysql-test-run.sh b/mysql-test/mysql-test-run.sh
index 4a34d65e025..c4e97d0c92b 100644
--- a/mysql-test/mysql-test-run.sh
+++ b/mysql-test/mysql-test-run.sh
@@ -429,15 +429,14 @@ if [ x$SOURCE_DIST = x1 ] ; then
MYSQL_TEST="$BASEDIR/client/mysqltest"
fi
if [ -f "$BASEDIR/client/.libs/mysqldump" ] ; then
- MYSQL_DUMP="$BASEDIR/client/.libs/mysqldump --no-defaults -uroot --socket=$MASTER_MYSOCK"
+ MYSQL_DUMP="$BASEDIR/client/.libs/mysqldump"
else
- MYSQL_DUMP="$BASEDIR/client/mysqldump --no-defaults -uroot --socket=$MASTER_MYSOCK"
+ MYSQL_DUMP="$BASEDIR/client/mysqldump"
fi
if [ -f "$BASEDIR/client/.libs/mysqlbinlog" ] ; then
- MYSQL_BINLOG="$BASEDIR/client/.libs/mysqlbinlog --no-defaults --local-load=$MYSQL_TMP_DIR"
+ MYSQL_BINLOG="$BASEDIR/client/.libs/mysqlbinlog"
else
- MYSQL_BINLOG="$BASEDIR/client/mysqlbinlog --no-defaults --local-load=$MYSQL_TMP_DIR"
- fi
+ MYSQL_BINLOG="$BASEDIR/client/mysqlbinlog"
if [ -n "$STRACE_CLIENT" ]; then
MYSQL_TEST="strace -o $MYSQL_TEST_DIR/var/log/mysqltest.strace $MYSQL_TEST"
fi
@@ -459,8 +458,8 @@ else
MYSQLD="$VALGRIND $BASEDIR/bin/mysqld"
fi
MYSQL_TEST="$BASEDIR/bin/mysqltest"
- MYSQL_DUMP="$BASEDIR/bin/mysqldump --no-defaults -uroot --socket=$MASTER_MYSOCK"
- MYSQL_BINLOG="$BASEDIR/bin/mysqlbinlog --no-defaults --local-load=$MYSQL_TMP_DIR"
+ MYSQL_DUMP="$BASEDIR/bin/mysqldump"
+ MYSQL_BINLOG="$BASEDIR/bin/mysqlbinlog"
MYSQLADMIN="$BASEDIR/bin/mysqladmin"
WAIT_PID="$BASEDIR/bin/mysql_waitpid"
MYSQL_MANAGER="$BASEDIR/bin/mysqlmanager"
@@ -478,6 +477,8 @@ else
fi
fi
+MYSQL_DUMP="$MYSQL_DUMP --no-defaults -uroot --socket=$MASTER_MYSOCK"
+MYSQL_BINLOG="$MYSQL_BINLOG --no-defaults --local-load=$MYSQL_TMP_DIR"
export MYSQL_DUMP
export MYSQL_BINLOG
diff --git a/mysql-test/r/create.result b/mysql-test/r/create.result
index 06ddd5e2280..8eff870e855 100644
--- a/mysql-test/r/create.result
+++ b/mysql-test/r/create.result
@@ -86,7 +86,7 @@ Field Type Null Key Default Extra
x varchar(50) YES NULL
describe t2;
Field Type Null Key Default Extra
-x char(50) YES NULL
+x varchar(50) YES NULL
drop table t2;
create table t2 select now() as a , curtime() as b, curdate() as c , 1+1 as d , 1.0 + 1 as e , 33333333333333333 + 3 as f;
describe t2;