~ubuntu-branches/ubuntu/saucy/drizzle/saucy

« back to all changes in this revision

Viewing changes to tests/suite/ipv6_type/r/bad_conversions.result

  • Committer: Package Import Robot
  • Author(s): Clint Byrum
  • Date: 2012-06-19 10:46:49 UTC
  • mfrom: (1.2.11) (2.1.16 sid)
  • Revision ID: package-import@ubuntu.com-20120619104649-9ij634mxm4x8pp4l
Tags: 1:7.1.36-stable-1ubuntu1
* Merge from Debian unstable. (LP: #987575)
  Remaining changes:
  - Added upstart script.
* debian/drizzle.upstart: dropped logger since upstart logs job
  output now.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
CREATE TABLE t1 (a IPV6, PRIMARY KEY(a));
 
2
show create table t1;
 
3
Table   Create Table
 
4
t1      CREATE TABLE `t1` (
 
5
  `a` IPV6 NOT NULL,
 
6
  PRIMARY KEY (`a`) USING BTREE
 
7
) ENGINE=InnoDB COLLATE = utf8_general_ci
 
8
INSERT INTO t1 VALUES ("10FB::C:ABC:1F0C:44DA");
 
9
SELECT a FROM t1;
 
10
a
 
11
10fb:0000:0000:0000:000c:0abc:1f0c:44da
 
12
CREATE TABLE t2 (a REAL);
 
13
INSERT INTO t2 SELECT a FROM t1 LIMIT 1;
 
14
ERROR 01000: Data truncated for column 'a' at row 1
 
15
SELECT a FROM t2;
 
16
a
 
17
CREATE TABLE t3 (a REAL);
 
18
INSERT INTO t3 SELECT a FROM t1 LIMIT 1;
 
19
ERROR 01000: Data truncated for column 'a' at row 1
 
20
SELECT a FROM t3;
 
21
a
 
22
DROP TABLE t3;
 
23
DROP TABLE t2;
 
24
DROP TABLE t1;