List:Commits« Previous MessageNext Message »
From:reggie Date:January 23 2006 4:39pm
Subject:bk commit into 5.1 tree (reggie:1.2068) BUG#15523
View as plain text  
Below is the list of changes that have just been committed into a local
5.1 repository of reggie. When reggie 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.2068 06/01/23 10:39:32 reggie@stripped +2 -0
  BUG# 15523 - ALTER TABLE ... PARTITION BY does not work
  this was fixed by WL 2604

  mysql-test/t/partition_mgm_err.test
    1.5 06/01/23 10:39:26 reggie@stripped +9 -0
    test block for bug #15523

  mysql-test/r/partition_mgm_err.result
    1.5 06/01/23 10:39:26 reggie@stripped +13 -0
    result block for bug#15523

# 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:	reggie
# Host:	linux.site
# Root:	/home/reggie/work/mysql-5.1

--- 1.4/mysql-test/r/partition_mgm_err.result	2006-01-23 09:44:06 -06:00
+++ 1.5/mysql-test/r/partition_mgm_err.result	2006-01-23 10:39:26 -06:00
@@ -125,3 +125,16 @@
 PARTITION p5 VALUES LESS THAN (2010),
 PARTITION p6 VALUES LESS THAN MAXVALUE);
 DROP TABLE t1;
+CREATE TABLE t1 (a INT);
+SHOW CREATE TABLE t1;
+Table	Create Table
+t1	CREATE TABLE `t1` (
+  `a` int(11) default NULL
+) ENGINE=MyISAM DEFAULT CHARSET=latin1
+ALTER TABLE t1 PARTITION BY KEY(a) PARTITIONS 2;
+SHOW CREATE TABLE t1;
+Table	Create Table
+t1	CREATE TABLE `t1` (
+  `a` int(11) default NULL
+) ENGINE=MyISAM DEFAULT CHARSET=latin1 PARTITION BY KEY (a) PARTITIONS 2 
+DROP TABLE t1;

--- 1.4/mysql-test/t/partition_mgm_err.test	2006-01-23 09:44:06 -06:00
+++ 1.5/mysql-test/t/partition_mgm_err.test	2006-01-23 10:39:26 -06:00
@@ -184,3 +184,12 @@
   PARTITION p5 VALUES LESS THAN (2010),
   PARTITION p6 VALUES LESS THAN MAXVALUE);
 DROP TABLE t1;
+
+#
+#BUG 15523 ALTER TABLE ... PARTITION BY does not work
+#
+CREATE TABLE t1 (a INT);
+SHOW CREATE TABLE t1;
+ALTER TABLE t1 PARTITION BY KEY(a) PARTITIONS 2;
+SHOW CREATE TABLE t1;
+DROP TABLE t1;
Thread
bk commit into 5.1 tree (reggie:1.2068) BUG#15523reggie23 Jan