MySQL Lists are EOL. Please join:

List:Internals« Previous MessageNext Message »
From:Eric Herman Date:September 16 2005 11:17pm
Subject:bk commit into 5.0 tree (eric:1.1974) BUG#13118
View as plain text  
Below is the list of changes that have just been committed into a local
5.0 repository of eric. When eric does a push these changes will
be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html

ChangeSet
  1.1974 05/09/16 16:17:44 eric@stripped +2 -0
  Added testcase for BUG#13118

  mysql-test/t/federated_bug_13118.test
    1.1 05/09/16 16:17:33 eric@stripped +42 -0

  mysql-test/t/federated_bug_13118.test
    1.0 05/09/16 16:17:33 eric@stripped +0 -0
    BitKeeper file /Users/eric/dev/mysql-5.0/mysql-test/t/federated_bug_13118.test

  mysql-test/r/federated_bug_13118.result
    1.1 05/09/16 16:17:30 eric@stripped +39 -0

  mysql-test/r/federated_bug_13118.result
    1.0 05/09/16 16:17:30 eric@stripped +0 -0
    BitKeeper file /Users/eric/dev/mysql-5.0/mysql-test/r/federated_bug_13118.result

# This is a BitKeeper patch.  What follows are the unified diffs for the
# set of deltas contained in the patch.  The rest of the patch, the part
# that BitKeeper cares about, is below these diffs.
# User:	eric
# Host:	sleek.local
# Root:	/Users/eric/dev/mysql-5.0
--- New file ---
+++ mysql-test/r/federated_bug_13118.result	05/09/16 16:17:30
stop slave;
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
reset master;
reset slave;
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
start slave;
stop slave;
DROP DATABASE IF EXISTS federated;
CREATE DATABASE federated;
DROP DATABASE IF EXISTS federated;
CREATE DATABASE federated;
DROP TABLE IF EXISTS federated.bug_13118_table;
CREATE TABLE federated.bug_13118_table (
`foo` integer,
`bar` integer
);
DROP TABLE IF EXISTS federated.t1;
CREATE TABLE federated.t1 (
`foo` integer,
`bar` integer
) ENGINE="FEDERATED"
    CONNECTION='mysql://root@stripped:SLAVE_PORT/federated/bug_13118_table';
SELECT * from federated.t1;
foo	bar
INSERT INTO federated.t1 VALUES (1,1);
SELECT * FROM federated.t1;
foo	bar
1	1
INSERT INTO federated.t1 VALUES (1,1);
SELECT * FROM federated.t1;
foo	bar
1	1
1	1
DROP TABLE federated.t1;
DROP TABLE federated.bug_13118_table;
DROP TABLE IF EXISTS federated.t1;
DROP DATABASE IF EXISTS federated;
DROP TABLE IF EXISTS federated.t1;
DROP DATABASE IF EXISTS federated;

--- New file ---
+++ mysql-test/t/federated_bug_13118.test	05/09/16 16:17:33
source include/federated.inc;


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

CREATE TABLE federated.bug_13118_table (
  `foo` integer,
  `bar` integer
  );


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

--replace_result $SLAVE_MYPORT SLAVE_PORT
eval CREATE TABLE federated.t1 (
    `foo` integer,
    `bar` integer
    ) ENGINE="FEDERATED"
    CONNECTION='mysql://root@stripped:$SLAVE_MYPORT/federated/bug_13118_table';

SELECT * from federated.t1;

INSERT INTO federated.t1 VALUES (1,1);
SELECT * FROM federated.t1;

INSERT INTO federated.t1 VALUES (1,1);
SELECT * FROM federated.t1;


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


source include/federated_cleanup.inc;


Thread
bk commit into 5.0 tree (eric:1.1974) BUG#13118Eric Herman17 Sep