summaryrefslogtreecommitdiff
path: root/mysql-test/r
diff options
context:
space:
mode:
authorunknown <antony@ltantony.mysql.com>2005-05-08 23:24:33 +0100
committerunknown <antony@ltantony.mysql.com>2005-05-08 23:24:33 +0100
commit4d1c68f8d1100239b10aa7cfa08fe60d642c1424 (patch)
treeafbac4f8450273b17337ddd8bef00048ca7e3986 /mysql-test/r
parent1cdcc4f6b1a3241cdc71d8b648828741220a0733 (diff)
parentcdfc786f693f83396d1588859ee698b27ad1a4f9 (diff)
downloadmariadb-git-4d1c68f8d1100239b10aa7cfa08fe60d642c1424.tar.gz
Merge acurtis@bk-internal.mysql.com:/home/bk/mysql-4.0
into ltantony.mysql.com:/usr/home/antony/work2/megapatch-4.0 BitKeeper/etc/logging_ok: auto-union
Diffstat (limited to 'mysql-test/r')
-rw-r--r--mysql-test/r/alter_table.result20
-rw-r--r--mysql-test/r/have_outfile.require3
-rw-r--r--mysql-test/r/outfile.resultbin0 -> 953 bytes
3 files changed, 23 insertions, 0 deletions
diff --git a/mysql-test/r/alter_table.result b/mysql-test/r/alter_table.result
index 78925a64e93..80d3ef5e0a5 100644
--- a/mysql-test/r/alter_table.result
+++ b/mysql-test/r/alter_table.result
@@ -386,3 +386,23 @@ Incorrect table name 't1\\'
rename table t1 to `t1\\`;
Incorrect table name 't1\\'
drop table t1;
+drop table if exists t1, t2;
+create table t1 ( a varchar(10) not null primary key ) engine=myisam;
+create table t2 ( a varchar(10) not null primary key ) engine=merge union=(t1);
+flush tables;
+alter table t1 modify a varchar(10);
+show create table t2;
+Table Create Table
+t2 CREATE TABLE `t2` (
+ `a` varchar(10) NOT NULL default '',
+ PRIMARY KEY (`a`)
+) TYPE=MRG_MyISAM UNION=(t1)
+flush tables;
+alter table t1 modify a varchar(10) not null;
+show create table t2;
+Table Create Table
+t2 CREATE TABLE `t2` (
+ `a` varchar(10) NOT NULL default '',
+ PRIMARY KEY (`a`)
+) TYPE=MRG_MyISAM UNION=(t1)
+drop table if exists t1, t2;
diff --git a/mysql-test/r/have_outfile.require b/mysql-test/r/have_outfile.require
new file mode 100644
index 00000000000..9fc2f8fdb5a
--- /dev/null
+++ b/mysql-test/r/have_outfile.require
@@ -0,0 +1,3 @@
+load_file(concat(@tmpdir,"/outfile.test"))
+Outfile OK
+
diff --git a/mysql-test/r/outfile.result b/mysql-test/r/outfile.result
new file mode 100644
index 00000000000..a2720be075a
--- /dev/null
+++ b/mysql-test/r/outfile.result
Binary files differ