From 06eaf7232e9a920468c0f8d74dcf2fe8b555501c Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 13 Apr 2024 14:24:36 +0200 Subject: Adding upstream version 1:10.11.6. Signed-off-by: Daniel Baumann --- mysql-test/suite/federated/include/federated.inc | 10 ++++++++++ mysql-test/suite/federated/include/federated_cleanup.inc | 9 +++++++++ 2 files changed, 19 insertions(+) create mode 100644 mysql-test/suite/federated/include/federated.inc create mode 100644 mysql-test/suite/federated/include/federated_cleanup.inc (limited to 'mysql-test/suite/federated/include') diff --git a/mysql-test/suite/federated/include/federated.inc b/mysql-test/suite/federated/include/federated.inc new file mode 100644 index 00000000..17410846 --- /dev/null +++ b/mysql-test/suite/federated/include/federated.inc @@ -0,0 +1,10 @@ +--source include/not_embedded.inc + +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; diff --git a/mysql-test/suite/federated/include/federated_cleanup.inc b/mysql-test/suite/federated/include/federated_cleanup.inc new file mode 100644 index 00000000..06fd7f67 --- /dev/null +++ b/mysql-test/suite/federated/include/federated_cleanup.inc @@ -0,0 +1,9 @@ +connection master; +--disable_warnings +DROP TABLE IF EXISTS federated.t1; +DROP DATABASE IF EXISTS federated; + +connection slave; +DROP TABLE IF EXISTS federated.t1; +DROP DATABASE IF EXISTS federated; +--enable_warnings -- cgit v1.2.3