Commit 1960fbcf authored by unknown's avatar unknown
Browse files

Bug#10178 - failure to find a row in heap table by concurrent UPDATEs

After merge fixes of test result.

parent 2e6d41d1
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -367,13 +367,13 @@ count(*)
9
explain select count(*) from t1 where v='a  ';
id	select_type	table	type	possible_keys	key	key_len	ref	rows	Extra
1	SIMPLE	t1	ref	v	v	13	const	9	Using where
1	SIMPLE	t1	ref	v	v	13	const	10	Using where
explain select count(*) from t1 where c='a  ';
id	select_type	table	type	possible_keys	key	key_len	ref	rows	Extra
1	SIMPLE	t1	ref	c	c	11	const	9	Using where
1	SIMPLE	t1	ref	c	c	11	const	10	Using where
explain select count(*) from t1 where t='a  ';
id	select_type	table	type	possible_keys	key	key_len	ref	rows	Extra
1	SIMPLE	t1	ref	t	t	13	const	9	Using where
1	SIMPLE	t1	ref	t	t	13	const	10	Using where
explain select count(*) from t1 where v like 'a%';
id	select_type	table	type	possible_keys	key	key_len	ref	rows	Extra
1	SIMPLE	t1	ALL	v	NULL	NULL	NULL	271	Using where
@@ -399,7 +399,7 @@ qq
*a         *a*a         *
explain select * from t1 where v='a';
id	select_type	table	type	possible_keys	key	key_len	ref	rows	Extra
1	SIMPLE	t1	ref	v	v	13	const	9	Using where
1	SIMPLE	t1	ref	v	v	13	const	10	Using where
select v,count(*) from t1 group by v limit 10;
v	count(*)
a	1
+1 −1
Original line number Diff line number Diff line
@@ -353,8 +353,8 @@ t3 1 a 1 a NULL NULL NULL NULL HASH
t3	1	a	2	b	NULL	13	NULL	NULL		HASH	
explain select * from t1 ignore key(btree_idx), t3 where t1.name='matt' and t3.a = concat('',t1.name) and t3.b=t1.name;
id	select_type	table	type	possible_keys	key	key_len	ref	rows	Extra
1	SIMPLE	t3	ref	a	a	44	const,const	7	Using where
1	SIMPLE	t1	ref	heap_idx	heap_idx	22	const	7	Using where
1	SIMPLE	t3	ref	a	a	44	const,const	7	Using where
drop table t1, t2, t3;
create temporary table t1 ( a int, index (a) ) engine=memory;
insert into t1 values (1),(2),(3),(4),(5);