I thought it would be somewhat trivial to write a test case for this, at least when all tables are on the same server, but I'm getting mysqltest: At line 27: query 'SELECT a FROM tbl_a' failed: <Unknown> (12720): Host:localhost and Socket:/home/ycp/source/mariadb-server/mdev-30542/build/mysql-test/var/tmp/mysqld.1.1.sock aim self server. Please change spider_same_server_link parameter if this link is required. despite spider_same_server_link is on for the following case.
--disable_query_log
|
--disable_result_log
|
--source ../../t/test_init.inc
|
--enable_result_log
|
--enable_query_log
|
|
--connection master_1
|
CREATE DATABASE auto_test_local;
|
USE auto_test_local;
|
SET spider_same_server_link= on;
|
eval CREATE TABLE tbl_a (
|
a INT
|
) $MASTER_1_ENGINE COMMENT='table "tbl_b", srv "s_1"';
|
eval CREATE TABLE tbl_b (
|
a INT
|
) $MASTER_1_ENGINE COMMENT='table "tbl_c", srv "s_1"';
|
eval CREATE TABLE tbl_c (
|
a INT
|
) $MASTER_1_ENGINE COMMENT='table "tbl_a", srv "s_1"';
|
|
--error 12719
|
SELECT a FROM tbl_a;
|
|
--connection master_1
|
DROP DATABASE IF EXISTS auto_test_local;
|
|
--disable_query_log
|
--disable_result_log
|
--source ../t/test_deinit.inc
|
--enable_query_log
|
--enable_result_log
|
I thought it would be somewhat trivial to write a test case for this, at least when all tables are on the same server, but I'm getting mysqltest: At line 27: query 'SELECT a FROM tbl_a' failed: <Unknown> (12720): Host:localhost and Socket:/home/ycp/source/mariadb-server/mdev-30542/build/mysql-test/var/tmp/mysqld.1.1.sock aim self server. Please change spider_same_server_link parameter if this link is required. despite spider_same_server_link is on for the following case.
--disable_query_log
--disable_result_log
--source ../../t/test_init.inc
--enable_result_log
--enable_query_log
--connection master_1
--error 12719
--connection master_1
--disable_query_log
--disable_result_log
--source ../t/test_deinit.inc
--enable_query_log