summaryrefslogtreecommitdiff
path: root/mysql-test/r/alter_table.result
diff options
context:
space:
mode:
authorunknown <konstantin@mysql.com>2004-02-06 16:40:44 +0300
committerunknown <konstantin@mysql.com>2004-02-06 16:40:44 +0300
commit854076da62146f6cb4861e5c5f49fe245d3efe08 (patch)
tree71cbf4afe56f4f0914a675c7786799534444b3c0 /mysql-test/r/alter_table.result
parent5db2d195a653d913b4b0adf741df79151ca2a5a6 (diff)
downloadmariadb-git-854076da62146f6cb4861e5c5f49fe245d3efe08.tar.gz
3.23 -> 4.0 merge: after merge fixes
Diffstat (limited to 'mysql-test/r/alter_table.result')
-rw-r--r--mysql-test/r/alter_table.result13
1 files changed, 13 insertions, 0 deletions
diff --git a/mysql-test/r/alter_table.result b/mysql-test/r/alter_table.result
index b32e100df55..037d3420f76 100644
--- a/mysql-test/r/alter_table.result
+++ b/mysql-test/r/alter_table.result
@@ -350,11 +350,24 @@ t1 0 PRIMARY 1 Host A NULL NULL NULL BTREE
t1 0 PRIMARY 2 User A 0 NULL NULL BTREE
t1 1 Host 1 Host A NULL NULL NULL BTREE disabled
DROP TABLE t1;
+create table t1 (name char(15));
+insert into t1 (name) values ("current");
+create database mysqltest;
+create table mysqltest.t1 (name char(15));
+insert into mysqltest.t1 (name) values ("mysqltest");
+select * from t1;
name
current
+select * from mysqltest.t1;
name
mysqltest
+alter table t1 rename mysqltest.t1;
+Table 't1' already exists
+select * from t1;
name
current
+select * from mysqltest.t1;
name
mysqltest
+drop table t1;
+drop database mysqltest;