← Back to team overview

maria-developers team mailing list archive

Rev 2723: Fix trivial typo in file:///home/psergey/dev/maria-5.1-table-elim-r10/

 

At file:///home/psergey/dev/maria-5.1-table-elim-r10/

------------------------------------------------------------
revno: 2723
revision-id: psergey@xxxxxxxxxxxx-20090815121442-706m9ujn8km4u4y1
parent: psergey@xxxxxxxxxxxx-20090815102953-7s0jb470ibwq58qz
committer: Sergey Petrunya <psergey@xxxxxxxxxxxx>
branch nick: maria-5.1-table-elim-r10
timestamp: Sat 2009-08-15 16:14:42 +0400
message:
  Fix trivial typo
=== modified file 'sql/opt_table_elimination.cc'
--- a/sql/opt_table_elimination.cc	2009-08-15 10:29:53 +0000
+++ b/sql/opt_table_elimination.cc	2009-08-15 12:14:42 +0000
@@ -841,7 +841,7 @@
                                 *eliminable_tables);
       }
 
-      if (eliminable && get_outer_join_dep(te, tbl, cur_map))
+      if (eliminable && !get_outer_join_dep(te, tbl, cur_map))
         return TRUE;
 
       tables_used_on_left |= tbl->on_expr->used_tables();