Skip to content

Commit bc80ce4

Browse files
author
Alexey Botchkov
committed
Keep --cursor-protocol happy.
1 parent f32dc93 commit bc80ce4

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

storage/spider/mysql-test/spider/bugfix/r/mdev_26540.result

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,6 @@ t CREATE TABLE `t` (
3434
) ENGINE=SPIDER DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
3535
PARTITION BY LIST (`c1`)
3636
(PARTITION `p` VALUES IN (1,2) ENGINE = SPIDER)
37-
Warnings:
38-
Error 1429 Unable to connect to foreign data source: localhost
39-
Error 1429 Unable to connect to foreign data source: localhost
4037
DELETE FROM t;
4138
ERROR HY000: Unable to connect to foreign data source: localhost
4239
DROP TABLE t;

storage/spider/mysql-test/spider/bugfix/t/mdev_26540.test

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,12 @@ DELETE FROM t2 WHERE pk=2;
2020

2121
DROP TABLE t, t2;
2222

23+
--disable_warnings
2324
CREATE TABLE t (c1 INT,c2 INT,c3 INT,c4 DATE,c5 DATE,c6 TIME,c7 TIME,c8 DATE,c9 DATE,c10 CHAR(1),c11 VARCHAR(1),KEY(c1),KEY(c3),KEY(c4),KEY(c6),KEY(c8),KEY(c10,c3)) ENGINE=Spider PARTITION BY LIST (c1) (PARTITION p VALUES IN (1,2));
2425
SHOW CREATE TABLE t;
2526
--error ER_CONNECT_TO_FOREIGN_DATA_SOURCE
2627
DELETE FROM t;
28+
--enable_warnings
2729
DROP TABLE t;
2830

2931
DROP SERVER srv;

0 commit comments

Comments
 (0)