MDEV-32046 Adding ER_NET_READ_ERROR to spider/bugfix.mdev_27240

This commit is contained in:
Yuchen Pei 2023-10-06 10:12:57 +11:00
parent a60cf9c7ae
commit ef14d6d6a4
No known key found for this signature in database
GPG key ID: 3DD1B35105743563
2 changed files with 3 additions and 2 deletions

View file

@ -9,7 +9,7 @@ ERROR 42S22: Unknown column 'a.z' in 'field list'
ALTER TABLE tbl_a CHANGE c c INT;
ERROR 42S22: Unknown column 'c' in 'tbl_a'
LOCK TABLE tbl_a READ;
ERROR HY000: Unable to connect to foreign data source: localhost
Got one of the listed errors
DROP DATABASE auto_test_local;
for master_1
for child2

View file

@ -14,7 +14,8 @@ CREATE TABLE tbl_a (a INT KEY) ENGINE=SPIDER;
SELECT a.z FROM tbl_a AS a,tbl_a b WHERE a.z=b.z;
--error ER_BAD_FIELD_ERROR
ALTER TABLE tbl_a CHANGE c c INT;
--error ER_CONNECT_TO_FOREIGN_DATA_SOURCE
# FIXME: MDEV-32046
--error ER_CONNECT_TO_FOREIGN_DATA_SOURCE,ER_NET_READ_ERROR
LOCK TABLE tbl_a READ;
DROP DATABASE auto_test_local;