MySQL Lists are EOL. Please join:

List:Commits« Previous MessageNext Message »
From:Mikael Ronstrom Date:July 29 2009 2:57pm
Subject:bzr commit into mysql-5.4 branch (mikael:3478) Bug#32115
View as plain text  
#At file:///home/mikael/mysql_clones/mysql-6.0-bugteam-bug32115/

 3478 Mikael Ronstrom	2009-07-29
      Bug#32115, added an extra test in debug builds to ensure no dangling pointers to the old lex object is still around
      modified:
        sql/sql_partition.cc

=== modified file 'sql/sql_partition.cc'
--- a/sql/sql_partition.cc	2009-07-29 14:06:35 +0000
+++ b/sql/sql_partition.cc	2009-07-29 14:57:47 +0000
@@ -1043,6 +1043,10 @@ bool fix_fields_part_func(THD *thd, Item
     part_info->fixed= TRUE;
 end:
   end_lex_with_single_table(thd, table, old_lex);
+#if !defined(DBUG_OFF)
+  func_expr->walk(&Item::change_context_processor, 0,
+                  (uchar*) 0);
+#endif
   DBUG_RETURN(result);
 }
 

Thread
bzr commit into mysql-5.4 branch (mikael:3478) Bug#32115Mikael Ronstrom29 Jul