← Back to team overview

maria-developers team mailing list archive

bzr commit into MariaDB 5.1, with Maria 1.5:maria branch (psergey:2709)

 

#At lp:maria based on revid:psergey@xxxxxxxxxxxx-20090603182330-ll3gc91iowhtgb23

 2709 Sergey Petrunia	2009-06-07 [merge]
      Merge MWL#17: Table elimination
      modified:
        sql/sql_select.cc

=== modified file 'sql/sql_select.cc'
--- a/sql/sql_select.cc	2009-06-03 13:10:45 +0000
+++ b/sql/sql_select.cc	2009-06-07 18:24:03 +0000
@@ -2586,7 +2586,7 @@ eliminate_tables_for_join_list(JOIN *joi
     table_map tables_used_outside= used_tables_on_left |
                                    used_tables_on_right[i] |
                                    used_tables_elsewhere;
-    table_map cur_tables;
+    table_map cur_tables= 0;
 
     if (tbl->nested_join)
     {