Commit efc7ab51 authored by unknown's avatar unknown

Merge mysql.com:/usr/home/ram/work/4.1.heap

into  mysql.com:/usr/home/ram/work/mysql-5.0


mysql-test/t/heap.test:
  Auto merged
mysql-test/r/heap.result:
  merge
parents 57621cae 8aae11e7
...@@ -702,11 +702,11 @@ insert into t1 values ("abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcd ...@@ -702,11 +702,11 @@ insert into t1 values ("abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcd
ERROR 23000: Duplicate entry 'abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijkl' for key 1 ERROR 23000: Duplicate entry 'abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijkl' for key 1
drop table t1; drop table t1;
CREATE TABLE t1 (a int, key(a)) engine=heap; CREATE TABLE t1 (a int, key(a)) engine=heap;
insert delayed into t1 values (0); insert into t1 values (0);
delete from t1; delete from t1;
select * from t1; select * from t1;
a a
insert delayed into t1 values (0), (1); insert into t1 values (0), (1);
select * from t1 where a = 0; select * from t1 where a = 0;
a a
0 0
......
...@@ -440,10 +440,10 @@ drop table t1; ...@@ -440,10 +440,10 @@ drop table t1;
# Bug 12796: Record doesn't show when selecting through index # Bug 12796: Record doesn't show when selecting through index
# #
CREATE TABLE t1 (a int, key(a)) engine=heap; CREATE TABLE t1 (a int, key(a)) engine=heap;
insert delayed into t1 values (0); insert into t1 values (0);
delete from t1; delete from t1;
select * from t1; select * from t1;
insert delayed into t1 values (0), (1); insert into t1 values (0), (1);
select * from t1 where a = 0; select * from t1 where a = 0;
drop table t1; drop table t1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment