~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/r/alter_table.result

  • Committer: Brian Aker
  • Date: 2008-09-05 22:16:26 UTC
  • mto: This revision was merged to the branch mainline in revision 383.
  • Revision ID: brian@tangent.org-20080905221626-nc631ypag04am60c
Big, fat, UTF-8 patch. This fixes some of the oddities around only one
charset.

Show diffs side-by-side

added added

removed removed

Lines of Context:
416
416
  `a` int NOT NULL,
417
417
  `b` int,
418
418
  UNIQUE KEY `b` (`b`)
419
 
) ENGINE=InnoDB DEFAULT CHARSET=latin1
 
419
) ENGINE=InnoDB
420
420
ALTER TABLE t1 DROP PRIMARY KEY;
421
421
ERROR 42000: Can't DROP 'PRIMARY'; check that column/key exists
422
422
DROP TABLE t1;
587
587
t1      CREATE TABLE `t1` (
588
588
  `a` int,
589
589
  KEY `i1` (`a`)
590
 
) ENGINE=InnoDB DEFAULT CHARSET=latin1 ROW_FORMAT=FIXED
 
590
) ENGINE=InnoDB ROW_FORMAT=FIXED
591
591
DROP INDEX i1 ON t1;
592
592
SHOW CREATE TABLE t1;
593
593
Table   Create Table
594
594
t1      CREATE TABLE `t1` (
595
595
  `a` int
596
 
) ENGINE=InnoDB DEFAULT CHARSET=latin1 ROW_FORMAT=FIXED
 
596
) ENGINE=InnoDB ROW_FORMAT=FIXED
597
597
DROP TABLE t1;
598
598
DROP TABLE IF EXISTS bug24219;
599
599
DROP TABLE IF EXISTS bug24219_2;
804
804
i       v
805
805
4       3r4f
806
806
drop table t1;
807
 
create table t1 (t varchar(255) default null, key t (t(80)))
808
 
engine=myisam default charset=latin1;
 
807
create table t1 (t varchar(255) default null, key t (t(80))) engine=myisam;
809
808
alter table t1 change t t text;
810
809
drop table t1;
811
810
CREATE TABLE t1 (s CHAR(8) BINARY);
915
914
Table   Create Table
916
915
tt+1    CREATE TEMPORARY TABLE `tt+1` (
917
916
  `c1` int
918
 
) ENGINE=InnoDB DEFAULT CHARSET=latin1
 
917
) ENGINE=InnoDB
919
918
SHOW CREATE TABLE `tt+2`;
920
919
Table   Create Table
921
920
tt+2    CREATE TEMPORARY TABLE `tt+2` (
922
921
  `c1` int
923
 
) ENGINE=InnoDB DEFAULT CHARSET=latin1
 
922
) ENGINE=InnoDB
924
923
DROP TABLE   `tt+1`, `tt+2`;
925
924
CREATE TEMPORARY TABLE `#sql1` (c1 INT);
926
925
CREATE TEMPORARY TABLE `@0023sql2` (c1 INT);
936
935
Table   Create Table
937
936
#sql2   CREATE TEMPORARY TABLE `#sql2` (
938
937
  `c1` int
939
 
) ENGINE=InnoDB DEFAULT CHARSET=latin1
 
938
) ENGINE=InnoDB
940
939
SHOW CREATE TABLE `@0023sql1`;
941
940
Table   Create Table
942
941
@0023sql1       CREATE TEMPORARY TABLE `@0023sql1` (
943
942
  `c1` int
944
 
) ENGINE=InnoDB DEFAULT CHARSET=latin1
 
943
) ENGINE=InnoDB
945
944
DROP TABLE `#sql2`, `@0023sql1`;
946
945
DROP TABLE IF EXISTS t1;
947
946
DROP TABLE IF EXISTS t2;