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

« back to all changes in this revision

Viewing changes to tests/suite/ipv6_type/r/primary_key.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:
 
1
CREATE TABLE t1 (a IPV6, PRIMARY KEY(a));
 
2
INSERT INTO t1 VALUES ("fe8::b3ff:fe1a:8329");
 
3
INSERT INTO t1 VALUES ("::1");
 
4
INSERT INTO t1 VALUES ("::192.168.100.10");
 
5
INSERT INTO t1 VALUES ("2001:db8:85a3::8a2e:370:7334");
 
6
INSERT INTO t1 VALUES ("2001:db8:85a3::8a2e:370:7334");
 
7
ERROR 23000: Duplicate entry '2001:0db8:85a3:0000:0000:8a2e:0370:7334' for key 'PRIMARY'
 
8
SELECT a FROM t1 ORDER BY a;
 
9
a
 
10
0000:0000:0000:0000:0000:0000:0000:0001
 
11
000:000:000:000:000:000:192.168.100.010
 
12
2001:0db8:85a3:0000:0000:8a2e:0370:7334
 
13
0fe8:0000:0000:0000:0000:b3ff:fe1a:8329
 
14
DROP TABLE t1;