[ Avaa Bypassed ]




Upload:

Command:

hmhc3928@3.147.140.217: ~ $
 # Check that path to the specific test program has been setup
if (!$MYSQL_BUG25714)
{
  skip Need bug25714 test program;
}

source suite/federated/include/federated.inc;

connection master;
# Disable concurrent inserts to avoid test failures when reading
# data from concurrent connections (insert might return before
# the data is actually in the table).
SET @OLD_MASTER_CONCURRENT_INSERT= @@GLOBAL.CONCURRENT_INSERT;
SET @@GLOBAL.CONCURRENT_INSERT= 0;

connection slave;
SET @OLD_SLAVE_CONCURRENT_INSERT= @@GLOBAL.CONCURRENT_INSERT;
SET @@GLOBAL.CONCURRENT_INSERT= 0;
--disable_warnings
DROP TABLE IF EXISTS federated.bug_13118_table;
--enable_warnings

CREATE TABLE federated.t1 (
    `id` int auto_increment primary key, 
	`value` int
    ) ENGINE=MyISAM;
INSERT INTO federated.t1 SET value=1;
INSERT INTO federated.t1 SET value=2;
INSERT INTO federated.t1 SET value=2;

connection master;
--disable_warnings
DROP TABLE IF EXISTS federated.t1;
--enable_warnings

--replace_result $SLAVE_MYPORT SLAVE_PORT
eval CREATE TABLE federated.t1 (
    `id` int auto_increment primary key, 
	`value` int
    ) ENGINE=FEDERATED
    CONNECTION='mysql://root@127.0.0.1:$SLAVE_MYPORT/federated/t1';

SELECT * from federated.t1;

INSERT INTO federated.t1 SET value=4;

SELECT LAST_INSERT_ID();

--exec $MYSQL_BUG25714 $SLAVE_MYPORT
--exec $MYSQL_BUG25714 $MASTER_MYPORT

SELECT * from federated.t1;

DROP TABLE federated.t1;
SET @@GLOBAL.CONCURRENT_INSERT= @OLD_MASTER_CONCURRENT_INSERT;
connection slave;
DROP TABLE federated.t1;
SET @@GLOBAL.CONCURRENT_INSERT= @OLD_SLAVE_CONCURRENT_INSERT;



source suite/federated/include/federated_cleanup.inc;

Filemanager

Name Type Size Permission Actions
include Folder 0755
disabled.def File 440 B 0644
federated.result File 112.49 KB 0644
federated.test File 81.74 KB 0644
federated_archive.result File 1.26 KB 0644
federated_archive.test File 1.2 KB 0644
federated_bug_13118.result File 747 B 0644
federated_bug_13118.test File 847 B 0644
federated_bug_25714.result File 1.21 KB 0644
federated_bug_25714.test File 1.6 KB 0644
federated_bug_35333.result File 2.78 KB 0644
federated_bug_35333.test File 2.48 KB 0644
federated_debug-master.opt File 49 B 0644
federated_debug.result File 701 B 0644
federated_debug.test File 1.03 KB 0644
federated_innodb-slave.opt File 9 B 0644
federated_innodb.result File 828 B 0644
federated_innodb.test File 1.15 KB 0644
federated_plugin-master.opt File 56 B 0644
federated_plugin.result File 717 B 0644
federated_plugin.test File 1.04 KB 0644
federated_server.result File 8.57 KB 0644
federated_server.test File 8.71 KB 0644
federated_transactions-slave.opt File 15 B 0644
federated_transactions.result File 1.34 KB 0644
federated_transactions.test File 1.12 KB 0644
my.cnf File 348 B 0644