Below is the list of changes that have just been committed into a local
5.1 repository of jonas. When jonas 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@stripped, 2007-08-14 12:55:33+02:00, jonas@stripped +2 -0
post merge fix
mysql-test/r/ndb_alter_table.result@stripped, 2007-08-14 12:55:30+02:00, jonas@stripped +2 -0
post merge fix
mysql-test/r/ndb_alter_table_online.result@stripped, 2007-08-14 12:55:30+02:00, jonas@stripped +63 -0
post merge fix
# 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: jonas
# Host: perch.ndb.mysql.com
# Root: /home/jonas/src/telco-6.2
--- 1.46/mysql-test/r/ndb_alter_table.result 2007-08-14 12:55:38 +02:00
+++ 1.47/mysql-test/r/ndb_alter_table.result 2007-08-14 12:55:38 +02:00
@@ -297,6 +297,8 @@
a b
6 203
alter table t2 add c int;
+Warnings:
+Warning 1466 Converted FIXED field to DYNAMIC to enable on-line ADD COLUMN
insert into t2 (b) values (301),(302),(303);
select * from t2 where a = 9;
a b c
--- 1.5/mysql-test/r/ndb_alter_table_online.result 2007-08-14 12:55:38 +02:00
+++ 1.6/mysql-test/r/ndb_alter_table_online.result 2007-08-14 12:55:38 +02:00
@@ -55,6 +55,69 @@
1 1 NULL
2 1 1
DROP TABLE t1;
+CREATE TABLE t1 (a INT UNSIGNED KEY, b INT UNSIGNED) ENGINE NDB;
+insert into t1 values (1,1);
+insert into t1 values (2,2);
+insert into t1 values (3,3);
+insert into t1 values (4,4);
+begin;
+update t1 set b = 0 where a = 1;
+update t1 set b = 1 where a = 2;
+delete from t1 where a = 3;
+insert into t1 values (5,5);
+insert into t1 values (6,6);
+update t1 set b = 0 where a = 6;
+ALTER TABLE t1 ADD c CHAR(19), ADD d VARCHAR(255), ADD e char(255);
+Warnings:
+Warning 1466 Converted FIXED field to DYNAMIC to enable on-line ADD COLUMN
+Warning 1466 Converted FIXED field to DYNAMIC to enable on-line ADD COLUMN
+Warning 1466 Converted FIXED field to DYNAMIC to enable on-line ADD COLUMN
+update t1 set b = 0 where a = 2;
+update t1 set b = 0 where a = 4;
+update t1 set b = 0 where a = 5;
+insert into t1 values (7,0,null,null,null);
+insert into t1 values (8,0,'8','8','8');
+commit;
+SELECT * FROM t1 ORDER BY a;
+a b c d e
+1 0 NULL NULL NULL
+2 0 NULL NULL NULL
+4 0 NULL NULL NULL
+5 0 NULL NULL NULL
+6 0 NULL NULL NULL
+7 0 NULL NULL NULL
+8 0 8 8 8
+DROP TABLE t1;
+CREATE TABLE t1 (a INT UNSIGNED KEY, b INT UNSIGNED) ENGINE NDB;
+INSERT INTO t1 values (1,1);
+insert into t1 values (2,2);
+insert into t1 values (3,3);
+insert into t1 values (4,4);
+begin;
+update t1 set b = 0 where a = 1;
+update t1 set b = 1 where a = 2;
+delete from t1 where a = 3;
+insert into t1 values (5,5);
+insert into t1 values (6,6);
+update t1 set b = 0 where a = 6;
+ALTER TABLE t1 ADD c CHAR(19), ADD d VARCHAR(255), ADD e char(255);
+Warnings:
+Warning 1466 Converted FIXED field to DYNAMIC to enable on-line ADD COLUMN
+Warning 1466 Converted FIXED field to DYNAMIC to enable on-line ADD COLUMN
+Warning 1466 Converted FIXED field to DYNAMIC to enable on-line ADD COLUMN
+update t1 set b = 0 where a = 2;
+update t1 set b = 0 where a = 4;
+update t1 set b = 0 where a = 5;
+insert into t1 values (7,0,null,null,null);
+insert into t1 values (8,0,'8','8','8');
+rollback;
+SELECT * FROM t1 ORDER BY a;
+a b c d e
+1 1 NULL NULL NULL
+2 2 NULL NULL NULL
+3 3 NULL NULL NULL
+4 4 NULL NULL NULL
+DROP TABLE t1;
CREATE TABLE t1 (a INT UNSIGNED KEY, b INT UNSIGNED) ROW_FORMAT=DYNAMIC ENGINE NDB;
INSERT INTO t1 values (1,1);
LOAD DATA INFILE 'tmp.dat' INTO TABLE ndb_show_tables;
| Thread |
|---|
| • bk commit into 5.1 tree (jonas:1.2610) | jonas | 14 Aug |