~jaypipes/drizzle/bug551075

« back to all changes in this revision

Viewing changes to tests/r/alter_table.result

  • Committer: Brian Aker
  • Date: 2010-03-25 01:22:58 UTC
  • mfrom: (1395.1.4 build)
  • Revision ID: brian@gaz-20100325012258-cg51yq2yiuldvgxw
Merge of ALTER TABLE code.

Show diffs side-by-side

added added

removed removed

Lines of Context:
99
99
name
100
100
mysqltest
101
101
alter table t1 rename mysqltest.t1;
102
 
ERROR 42S01: Table 't1' already exists
 
102
ERROR 42S01: Table 'mysqltest.t1' already exists
103
103
select * from t1;
104
104
name
105
105
current
789
789
ALTER TABLE  `t+1` RENAME `t+2`;
790
790
CREATE TABLE `t+1` (c1 INT);
791
791
ALTER TABLE  `t+1` RENAME `t+2`;
792
 
ERROR 42S01: Table 't+2' already exists
 
792
ERROR 42S01: Table 'test.t+2' already exists
793
793
DROP TABLE   `t+1`, `t+2`;
794
794
CREATE TEMPORARY TABLE `tt+1` (c1 INT);
795
795
ALTER TABLE  `tt+1` RENAME `tt+2`;
796
796
CREATE TEMPORARY TABLE `tt+1` (c1 INT);
797
797
ALTER TABLE  `tt+1` RENAME `tt+2`;
798
 
ERROR 42S01: Table 'tt+2' already exists
 
798
ERROR 42S01: Table 'temporary.tt+2' already exists
799
799
SHOW CREATE TABLE `tt+1`;
800
800
Table   Create Table
801
801
tt+1    CREATE TEMPORARY TABLE `tt+1` (