summaryrefslogtreecommitdiff
path: root/storage/connect/mysql-test/connect/r
diff options
context:
space:
mode:
authorOlivier Bertrand <bertrandop@gmail.com>2016-03-24 23:18:54 +0100
committerOlivier Bertrand <bertrandop@gmail.com>2016-03-24 23:24:33 +0100
commitd681c50a701127cedc72dbd9f0898f7bb257f555 (patch)
treee9996f3a195ff76037f25045c2744b85e7cda8e8 /storage/connect/mysql-test/connect/r
parent59c4675c6b50bd0df60b56a2e34f37c6f616fc3f (diff)
downloadmariadb-git-d681c50a701127cedc72dbd9f0898f7bb257f555.tar.gz
- Fix MDEV-9779. Connection was not recognized in the option list.
This was a regression bug. modified: storage/connect/ha_connect.cc modified: storage/connect/mysql-test/connect/r/part_table.result modified: storage/connect/mysql-test/connect/t/part_table.test
Diffstat (limited to 'storage/connect/mysql-test/connect/r')
-rw-r--r--storage/connect/mysql-test/connect/r/part_table.result25
1 files changed, 25 insertions, 0 deletions
diff --git a/storage/connect/mysql-test/connect/r/part_table.result b/storage/connect/mysql-test/connect/r/part_table.result
index 122c328fa59..f3a556ae784 100644
--- a/storage/connect/mysql-test/connect/r/part_table.result
+++ b/storage/connect/mysql-test/connect/r/part_table.result
@@ -191,6 +191,31 @@ id msg
35 thirty five
81 big
DROP TABLE t1;
+CREATE TABLE t1 (
+id INT KEY NOT NULL,
+msg VARCHAR(32))
+ENGINE=CONNECT TABLE_TYPE=MYSQL
+OPTION_LIST='connect=mysql://root@localhost/test/xt%s'
+PARTITION BY RANGE COLUMNS(id) (
+PARTITION `1` VALUES LESS THAN(10),
+PARTITION `2` VALUES LESS THAN(50),
+PARTITION `3` VALUES LESS THAN(MAXVALUE));
+Warnings:
+Warning 1105 Data repartition in 1 is unchecked
+Warning 1105 Data repartition in 2 is unchecked
+Warning 1105 Data repartition in 3 is unchecked
+SELECT * FROM t1;
+id msg
+4 four
+7 sept
+1 one
+8 eight
+40 forty
+10 ten
+11 eleven
+35 thirty five
+81 big
+DROP TABLE t1;
DROP TABLE xt1;
DROP TABLE xt2;
DROP TABLE xt3;