Range test fails randomly
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Drizzle |
Fix Released
|
Medium
|
Monty Taylor |
Bug Description
We are getting random failures with the range test, sometimes with the valgrind run, somes on regular test runs.
See http://
main.range [ fail ] ==21353== Memcheck, a memory error detector.
==21353== Copyright (C) 2002-2008, and GNU GPL'd, by Julian Seward et al.
==21353== Using LibVEX rev 1884, a library for dynamic binary translation.
==21353== Copyright (C) 2004-2008, and GNU GPL'd, by OpenWorks LLP.
==21353== Using valgrind-
==21353== Copyright (C) 2000-2008, and GNU GPL'd, by Julian Seward et al.
==21353== For more details, rerun with: -v
==21353==
--- /home/drizzle/
+++ /home/drizzle/
@@ -418,20 +418,20 @@
test.t2 analyze status OK
explain select * from t1, t2 where t1.uid=t2.uid AND t1.uid > 0;
id select_type table type possible_keys key key_len ref rows Extra
-1 SIMPLE t1 range uid_index uid_index 4 NULL # Using where
-1 SIMPLE t2 ref uid_index uid_index 4 test.t1.uid #
+1 SIMPLE t2 range uid_index uid_index 4 NULL # Using where
+1 SIMPLE t1 ref uid_index uid_index 4 test.t2.uid #
explain select * from t1, t2 where t1.uid=t2.uid AND t2.uid > 0;
id select_type table type possible_keys key key_len ref rows Extra
-1 SIMPLE t1 range uid_index uid_index 4 NULL # Using where
-1 SIMPLE t2 ref uid_index uid_index 4 test.t1.uid #
+1 SIMPLE t2 range uid_index uid_index 4 NULL # Using where
+1 SIMPLE t1 ref uid_index uid_index 4 test.t2.uid #
explain select * from t1, t2 where t1.uid=t2.uid AND t1.uid != 0;
id select_type table type possible_keys key key_len ref rows Extra
-1 SIMPLE t1 range uid_index uid_index 4 NULL # Using where
-1 SIMPLE t2 ref uid_index uid_index 4 test.t1.uid #
+1 SIMPLE t2 range uid_index uid_index 4 NULL # Using where
+1 SIMPLE t1 ref uid_index uid_index 4 test.t2.uid #
explain select * from t1, t2 where t1.uid=t2.uid AND t2.uid != 0;
id select_type table type possible_keys key key_len ref rows Extra
-1 SIMPLE t1 range uid_index uid_index 4 NULL # Using where
-1 SIMPLE t2 ref uid_index uid_index 4 test.t1.uid #
+1 SIMPLE t2 range uid_index uid_index 4 NULL # Using where
+1 SIMPLE t1 ref uid_index uid_index 4 test.t2.uid #
select * from t1, t2 where t1.uid=t2.uid AND t1.uid > 0;
id name uid id name uid
1001 A 1 1001 A 1
drizzletest: Result content mismatch
Changed in drizzle: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
milestone: | none → bell |
assignee: | nobody → Monty Taylor (mordred) |
Changed in drizzle: | |
status: | Confirmed → Fix Released |