[ Avaa Bypassed ]




Upload:

Command:

hmhc3928@18.226.163.23: ~ $
source include/have_archive.inc;
source suite/federated/include/federated.inc;


connection slave;
--disable_warnings
DROP TABLE IF EXISTS federated.archive_table;
--enable_warnings

CREATE TABLE federated.archive_table (
  `id` int(4) NOT NULL,
  `name` varchar(54) default NULL
  ) ENGINE=ARCHIVE DEFAULT CHARSET=latin1;


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(4) NOT NULL,
    `name` varchar(54) default NULL,
    PRIMARY KEY (`id`)
    )
  ENGINE="FEDERATED" DEFAULT CHARSET=latin1
  CONNECTION='mysql://root@127.0.0.1:$SLAVE_MYPORT/federated/archive_table';

INSERT INTO federated.t1 (id, name) VALUES (1, 'foo');
INSERT INTO federated.t1 (id, name) VALUES (2, 'bar');

SELECT * FROM federated.t1;

--error 1296
DELETE FROM federated.t1 WHERE id = 1;

SELECT * FROM federated.t1;


--error 1296
UPDATE federated.t1 SET name='baz' WHERE id = 1;

SELECT * FROM federated.t1;


# --error 1296
# TRUNCATE federated.t1;
#
# SELECT * from federated.t1;

DROP TABLE federated.t1;
connection slave;
DROP TABLE federated.archive_table;


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