~ubuntu-branches/ubuntu/hardy/mysql-dfsg-5.0/hardy-updates

« back to all changes in this revision

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

  • Committer: Bazaar Package Importer
  • Author(s): sean finney
  • Date: 2007-05-13 12:32:45 UTC
  • mfrom: (1.1.11 upstream)
  • Revision ID: james.westby@ubuntu.com-20070513123245-8c3l187dk34cz2ar
Tags: 5.0.41-2
the previous "translation changes" inadvertently introduced unrelated
changes in the package control file.

Show diffs side-by-side

added added

removed removed

Lines of Context:
280
280
1
281
281
1
282
282
drop table t1;
 
283
CREATE TABLE t1 (
 
284
c1 CHAR(3),
 
285
c2 INTEGER,
 
286
KEY USING BTREE(c1),
 
287
KEY USING BTREE(c2)
 
288
) ENGINE= MEMORY;
 
289
INSERT INTO t1 VALUES ('ABC',0), ('A',0), ('B',0), ('C',0);
 
290
UPDATE t1 SET c2= c2 + 1 WHERE c1 = 'A';
 
291
SELECT * FROM t1;
 
292
c1      c2
 
293
ABC     0
 
294
A       1
 
295
B       0
 
296
C       0
 
297
DROP TABLE t1;
 
298
CREATE TABLE t1 (
 
299
c1 ENUM('1', '2'),
 
300
UNIQUE USING BTREE(c1)
 
301
) ENGINE= MEMORY DEFAULT CHARSET= utf8;
 
302
INSERT INTO t1 VALUES('1'), ('2');
 
303
DROP TABLE t1;
 
304
CREATE TABLE t1 (
 
305
c1 SET('1', '2'),
 
306
UNIQUE USING BTREE(c1)
 
307
) ENGINE= MEMORY DEFAULT CHARSET= utf8;
 
308
INSERT INTO t1 VALUES('1'), ('2');
 
309
DROP TABLE t1;
283
310
End of 4.1 tests
284
311
CREATE TABLE t1(val INT, KEY USING BTREE(val)) ENGINE=memory;
285
312
INSERT INTO t1 VALUES(0);