Commit ea9ea952 authored by unknown's avatar unknown

Remove 'delayed' to make the test deterministic (already

fixed in 5.0).
A post-review fix (Bug#13134)


mysql-test/r/heap.result:
  Remove 'delayed' to make the test deterministic.
mysql-test/r/ps.result:
  Remove an unneeded drop table (test case for Bug#13134)
mysql-test/t/heap.test:
  Remove 'delayed' to make the test deterministic.
mysql-test/t/ps.test:
  A post-review fix (Bug#13134)
parent 9cf3f255
...@@ -297,11 +297,11 @@ insert into t1 values ("abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcd ...@@ -297,11 +297,11 @@ insert into t1 values ("abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcd
ERROR 23000: Duplicate entry 'abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijkl' for key 1 ERROR 23000: Duplicate entry 'abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijkl' 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
......
...@@ -733,9 +733,6 @@ count(*) ...@@ -733,9 +733,6 @@ count(*)
5 5
deallocate prepare stmt; deallocate prepare stmt;
drop table t1; drop table t1;
drop table if exists t1;
Warnings:
Note 1051 Unknown table 't1'
prepare stmt from 'create table t1 (a varchar(10) character set utf8)'; prepare stmt from 'create table t1 (a varchar(10) character set utf8)';
execute stmt; execute stmt;
insert into t1 (a) values (repeat('a', 20)); insert into t1 (a) values (repeat('a', 20));
......
...@@ -238,10 +238,10 @@ drop table t1; ...@@ -238,10 +238,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;
......
...@@ -769,7 +769,6 @@ drop table t1; ...@@ -769,7 +769,6 @@ drop table t1;
# recreated with PS/SP" # recreated with PS/SP"
# #
drop table if exists t1;
prepare stmt from 'create table t1 (a varchar(10) character set utf8)'; prepare stmt from 'create table t1 (a varchar(10) character set utf8)';
execute stmt; execute stmt;
--disable_warnings --disable_warnings
......
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