And after I have disabled table elimination, it has been running for half an hour without crashes.
Hakan, could you please try running with this patch? Do you still observe the crash? (we need to patch the source as table_elimination has @@optimizer_switch flag only in debug builds)
And after I have disabled table elimination, it has been running for half an hour without crashes.
Hakan, could you please try running with this patch? Do you still observe the crash? (we need to patch the source as table_elimination has @@optimizer_switch flag only in debug builds)
=== modified file 'sql/sql_select.cc' statistics( JOIN *join, TABLE_L
--- sql/sql_select.cc 2010-01-15 15:27:55 +0000
+++ sql/sql_select.cc 2010-02-18 09:58:30 +0000
@@ -2705,7 +2705,7 @@ make_join_
join- >const_ table_map= 0; >const_ tables= const_count; tables( join); tables( join); const_table_ map= join->const_ table_map;
join-
- eliminate_
+ // eliminate_
const_count= join->const_tables;
found_