~ubuntu-branches/ubuntu/trusty/drizzle/trusty

« back to all changes in this revision

Viewing changes to tests/r/type_blob.result

  • Committer: Package Import Robot
  • Author(s): Clint Byrum
  • Date: 2012-06-19 10:46:49 UTC
  • mfrom: (1.1.6)
  • mto: This revision was merged to the branch mainline in revision 29.
  • Revision ID: package-import@ubuntu.com-20120619104649-e2l0ggd4oz3um0f4
Tags: upstream-7.1.36-stable
ImportĀ upstreamĀ versionĀ 7.1.36-stable

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
CREATE TABLE t2 (a varchar(256));
33
33
drop table t2;
34
34
CREATE TABLE t1 (a varchar(70000) default "hello");
35
 
ERROR 42000: Column length too big for column 'a' (max = 65535); use BLOB or TEXT instead
 
35
ERROR 42000: Column length too big for column 'a' (max = 16383); use BLOB or TEXT instead
36
36
CREATE TABLE t2 (a blob default "hello");
37
37
ERROR 42000: BLOB/TEXT column 'a' can't have a default value
38
38
drop table if exists t1,t2;
343
343
Table   Create Table
344
344
t1      CREATE TABLE `t1` (
345
345
  `a` TEXT COLLATE utf8_general_ci,
346
 
  KEY `a` (`a`(255))
 
346
  KEY `a` (`a`(255)) USING BTREE
347
347
) ENGINE=DEFAULT COLLATE = utf8_general_ci
348
348
drop table t1;
349
349
CREATE TABLE t1 (
590
590
  `c` BLOB NOT NULL,
591
591
  `d` INT NOT NULL,
592
592
  `e` INT DEFAULT NULL,
593
 
  PRIMARY KEY (`a`,`b`,`c`(255),`d`),
594
 
  KEY `a` (`a`,`b`,`d`,`e`)
 
593
  PRIMARY KEY (`a`,`b`,`c`(255),`d`) USING BTREE,
 
594
  KEY `a` (`a`,`b`,`d`,`e`) USING BTREE
595
595
) ENGINE=DEFAULT COLLATE = utf8_general_ci
596
596
drop table t1;
597
597
CREATE table t1 (a blob);