#At file:///home/spetrunia/dev/mysql-6.0-opt/ based on
revid:sergefp@stripped
2707 Sergey Petrunia 2008-12-28 [merge]
Merge mysql-6.0 -> mysql-6.0-opt
modified:
sql/sql_base.cc
=== modified file 'sql/sql_base.cc'
--- a/sql/sql_base.cc 2008-12-24 21:07:30 +0000
+++ b/sql/sql_base.cc 2008-12-28 15:02:51 +0000
@@ -6525,6 +6525,11 @@ int setup_wild(THD *thd, TABLE_LIST *tab
SELECT_LEX *select_lex= thd->lex->current_select;
select_lex->with_wild= 0;
+ /*
+ The assignment below is translated to memcpy() call (at least on some
+ platforms). memcpy() expects that source and destination areas do not
+ overlap. That problem was detected by valgrind.
+ */
if (&select_lex->item_list != &fields)
select_lex->item_list= fields;
| Thread |
|---|
| • bzr commit into mysql-6.0 branch (sergefp:2707) | Sergey Petrunia | 28 Dec |