connect master,127.0.0.1,root,,test,$MASTER_MYPORT,;
connect slave,127.0.0.1,root,,test,$SLAVE_MYPORT,;
connection master;
CREATE DATABASE federated;
connection slave;
CREATE DATABASE federated;
connection master;
#
# MDEV-388 Creating a federated table with a non-existing server returns a random error code
#
CREATE TABLE t1 (a INT) ENGINE=FEDERATED CONNECTION='non_existing'; ERROR HY000: server name: 'non_existing' doesn't exist!
SHOW WARNINGS;
Level Code Message Error1 server name: 'non_existing' doesn't exist! Error1 Can't create/write to file 'non_existing' (Errcode: 14 "Bad address")
Warning 1030 Got error1"Operation not permitted" from storage engine FEDERATED
#
# MDEV-4468 Assertion `error != 0' fails or timeout occurs on select from a FEDERATED table which points at a non-existent table
#
create table t1 (a int);
create table fed (a int) engine=Federated CONNECTION='mysql://root@127.0.0.1:MASTER_PORT/test/t1';
drop table t1;
select * from fed;
Got one of the listed errors
drop table fed;
# End of 5.5 tests
#
# MDEV-38039 SIGSEGV in parse_url on CREATE TABLE ... FEDERATED with empty CONNECTION
#
create table t1 (id int) engine=federated; ERROR HY000: server name: '' doesn't exist!
# End of 12.3 tests
connection master;
DROP TABLE IF EXISTS federated.t1;
DROP DATABASE IF EXISTS federated;
connection slave;
DROP TABLE IF EXISTS federated.t1;
DROP DATABASE IF EXISTS federated;
Messung V0.5 in Prozent
¤ Dauer der Verarbeitung: 0.18 Sekunden
(vorverarbeitet am 2026-10-08)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.