summaryrefslogtreecommitdiff
path: root/mysql-test/t/connect.test
diff options
context:
space:
mode:
authorSergei Golubchik <sergii@pisem.net>2010-04-06 20:36:06 +0200
committerSergei Golubchik <sergii@pisem.net>2010-04-06 20:36:06 +0200
commit0b23966fe2b5f2147271b690e41f2e671f89d9fd (patch)
tree5b44b79cea9cc305c04d8ce03b0bea10fd0884f0 /mysql-test/t/connect.test
parentfd3e6e376e3a92c46365d169fe77218c154170d5 (diff)
downloadmariadb-git-0b23966fe2b5f2147271b690e41f2e671f89d9fd.tar.gz
fixes for builbot failures
mysql-test/t/connect.test: replace the port correctly sql/set_var.cc: opensolaris gcc (or just an old gcc ?) does not like offsetof() as a case label.
Diffstat (limited to 'mysql-test/t/connect.test')
-rw-r--r--mysql-test/t/connect.test12
1 files changed, 6 insertions, 6 deletions
diff --git a/mysql-test/t/connect.test b/mysql-test/t/connect.test
index 13008b67312..a8c8b659c3c 100644
--- a/mysql-test/t/connect.test
+++ b/mysql-test/t/connect.test
@@ -336,18 +336,18 @@ CREATE USER mysqltest_up2 IDENTIFIED VIA mysql_old_password using '09301740536db
--replace_result $MASTER_MYSOCK MASTER_SOCKET $MASTER_MYPORT MASTER_PORT
--error ER_ACCESS_DENIED_ERROR
-connect(pcon1,localhost,mysqltest_up1,foo,,$MASTER_EXTRA_PORT,);
-
-connect(pcon2,localhost,mysqltest_up1,bar,,$MASTER_EXTRA_PORT,);
+connect(pcon1,localhost,mysqltest_up1,foo,,$MASTER_MYPORT,);
+--replace_result $MASTER_MYSOCK MASTER_SOCKET $MASTER_MYPORT MASTER_PORT
+connect(pcon2,localhost,mysqltest_up1,bar,,$MASTER_MYPORT,);
connection pcon2;
select user(), current_user();
disconnect pcon2;
--replace_result $MASTER_MYSOCK MASTER_SOCKET $MASTER_MYPORT MASTER_PORT
--error ER_ACCESS_DENIED_ERROR
-connect(pcon3,localhost,mysqltest_up2,newpw,,$MASTER_EXTRA_PORT,);
-
-connect(pcon4,localhost,mysqltest_up2,oldpw,,$MASTER_EXTRA_PORT,);
+connect(pcon3,localhost,mysqltest_up2,newpw,,$MASTER_MYPORT,);
+--replace_result $MASTER_MYSOCK MASTER_SOCKET $MASTER_MYPORT MASTER_PORT
+connect(pcon4,localhost,mysqltest_up2,oldpw,,$MASTER_MYPORT,);
connection pcon4;
select user(), current_user();
disconnect pcon4;