~ubuntu-branches/ubuntu/precise/mysql-5.1/precise

« back to all changes in this revision

Viewing changes to mysql-test/r/error_simulation.result

  • Committer: Bazaar Package Importer
  • Author(s): Norbert Tretkowski
  • Date: 2010-03-17 14:56:02 UTC
  • Revision ID: james.westby@ubuntu.com-20100317145602-x7e30l1b2sb5s6w6
Tags: upstream-5.1.45
ImportĀ upstreamĀ versionĀ 5.1.45

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
DROP TABLE IF EXISTS t1;
 
2
Warnings:
 
3
Note    1051    Unknown table 't1'
 
4
CREATE TABLE t1 (
 
5
a varchar(32) character set utf8 collate utf8_bin NOT NULL,
 
6
b varchar(32) character set utf8 collate utf8_bin NOT NULL )
 
7
ENGINE=MyISAM DEFAULT CHARSET=utf8;
 
8
INSERT INTO t1 VALUES
 
9
('AAAAAAAAAA','AAAAAAAAAA'), ('AAAAAAAAAB','AAAAAAAAAB '),
 
10
('AAAAAAAAAB','AAAAAAAAAB'), ('AAAAAAAAAC','AAAAAAAAAC'),
 
11
('AAAAAAAAAD','AAAAAAAAAD'), ('AAAAAAAAAE','AAAAAAAAAE'),
 
12
('AAAAAAAAAF','AAAAAAAAAF'), ('AAAAAAAAAG','AAAAAAAAAG'),
 
13
('AAAAAAAAAH','AAAAAAAAAH'), ('AAAAAAAAAI','AAAAAAAAAI'),
 
14
('AAAAAAAAAJ','AAAAAAAAAJ'), ('AAAAAAAAAK','AAAAAAAAAK');
 
15
set tmp_table_size=1024;
 
16
set session debug="d,raise_error";
 
17
SELECT MAX(a) FROM t1 GROUP BY a,b;
 
18
ERROR 23000: Can't write; duplicate key in table 'tmp_table'
 
19
set tmp_table_size=default;
 
20
DROP TABLE t1;