summaryrefslogtreecommitdiff
path: root/mysql-test/suite/federated/federated.test
diff options
context:
space:
mode:
authorSergei Golubchik <sergii@pisem.net>2013-05-21 13:03:37 +0200
committerSergei Golubchik <sergii@pisem.net>2013-05-21 13:03:37 +0200
commitd6315e29c8a1d6a28f1d61184ff2e907494210e7 (patch)
treeb0c3de52d62e0223165139bd29eb00008e1bf574 /mysql-test/suite/federated/federated.test
parentec043aced0d34b96c7b7d92ce0cf199d6361eaa8 (diff)
downloadmariadb-git-d6315e29c8a1d6a28f1d61184ff2e907494210e7.tar.gz
MDEV-388 Creating a federated table with a non-existing server returns a random error code
(part 2)
Diffstat (limited to 'mysql-test/suite/federated/federated.test')
-rw-r--r--mysql-test/suite/federated/federated.test12
1 files changed, 12 insertions, 0 deletions
diff --git a/mysql-test/suite/federated/federated.test b/mysql-test/suite/federated/federated.test
new file mode 100644
index 00000000000..ab0cfc4b36c
--- /dev/null
+++ b/mysql-test/suite/federated/federated.test
@@ -0,0 +1,12 @@
+source include/federated.inc;
+
+
+#
+# MDEV-388 Creating a federated table with a non-existing server returns a random error code
+#
+--error 1
+CREATE TABLE t1 (a INT) ENGINE=FEDERATED CONNECTION='non_existing';
+SHOW WARNINGS;
+
+source include/federated_cleanup.inc;
+