summaryrefslogtreecommitdiff
path: root/mysql-test/t/mysql_upgrade.test
diff options
context:
space:
mode:
authorunknown <msvensson@pilot.blaudden>2007-04-19 21:30:46 +0200
committerunknown <msvensson@pilot.blaudden>2007-04-19 21:30:46 +0200
commit36cd228af11ab85df1dbab55138316933107f8bd (patch)
tree21ba3b2425c7c4650f26c45bb531d691c3780770 /mysql-test/t/mysql_upgrade.test
parentffd062f7c7073e3f082e8cd35a25acd10c38d1ae (diff)
downloadmariadb-git-36cd228af11ab85df1dbab55138316933107f8bd.tar.gz
mysql_upgrade portability fixes
client/mysql_upgrade.c: Add defines for WEXITSTATUS Pass arguments on command line instead of --defaults-file=<temp file> mysql-test/r/mysql_upgrade.result: When testing that mysql_upgrade detect if mysqlcheck fails, use an option that is used on all platforms. mysql-test/t/mysql_upgrade.test: When testing that mysql_upgrade detect if mysqlcheck fails, use an option that is used on all platforms. scripts/comp_sql.c: Some compilers have a max string length, insert a newline at every 512th char in long strings
Diffstat (limited to 'mysql-test/t/mysql_upgrade.test')
-rw-r--r--mysql-test/t/mysql_upgrade.test2
1 files changed, 1 insertions, 1 deletions
diff --git a/mysql-test/t/mysql_upgrade.test b/mysql-test/t/mysql_upgrade.test
index 973e9157987..7ac7aecb838 100644
--- a/mysql-test/t/mysql_upgrade.test
+++ b/mysql-test/t/mysql_upgrade.test
@@ -58,4 +58,4 @@ DROP USER mysqltest1@'%';
--replace_result $MYSQLTEST_VARDIR var
--replace_regex /.*mysqlcheck.*: Got/mysqlcheck: Got/
--error 1
---exec $MYSQL_UPGRADE --skip-verbose --force --socket=$MYSQLTEST_VARDIR/tmp/no_sock_here 2>&1
+--exec $MYSQL_UPGRADE --skip-verbose --force --host=not_existing_host 2>&1