summaryrefslogtreecommitdiff
path: root/mysql-test/suite/federated/federated_server.test
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2014-11-16 13:15:35 +0100
committerSergei Golubchik <serg@mariadb.org>2014-12-04 10:41:51 +0100
commit20c3b2ff807b07610ed9012f31fce0ba68d522b0 (patch)
tree5133874c82e30bc8a7277589f2f62aceeb53ca45 /mysql-test/suite/federated/federated_server.test
parent97a913e31c161dbd18f4fcb9cc00f23640497e03 (diff)
downloadmariadb-git-20c3b2ff807b07610ed9012f31fce0ba68d522b0.tar.gz
MDEV-6311 Add errors on CREATE SERVER
fail CREATE SERVER foreign data wrapper is "mysql" and neither HOST nor SOCKET are specified. Also default PORT to 3306 (again, only for foreign data wrapper "mysql")
Diffstat (limited to 'mysql-test/suite/federated/federated_server.test')
-rw-r--r--mysql-test/suite/federated/federated_server.test2
1 files changed, 1 insertions, 1 deletions
diff --git a/mysql-test/suite/federated/federated_server.test b/mysql-test/suite/federated/federated_server.test
index c47a1acf2a3..3d491b1dfdf 100644
--- a/mysql-test/suite/federated/federated_server.test
+++ b/mysql-test/suite/federated/federated_server.test
@@ -292,7 +292,7 @@ drop server 's1';
#
# Bug#30671 - ALTER SERVER causes the server to crash
#
-create server 's1' foreign data wrapper 'mysql' options (port 3306);
+create server 's1' foreign data wrapper 'mysql' options (host 'foo');
alter server 's1' options
(host 'localhost', database '', user '',
password '', socket '', owner '', port 3306);