Commit c59dba87 authored by unknown's avatar unknown

Bug #26817: mysqldump fails to backup database containing view with invalid definer

manual merge 5.0->5.1

parent 24f5f4b4
......@@ -4514,8 +4514,8 @@ find_field_in_tables(THD *thd, Item_ident *item,
{
Field *nf=new Field_null(NULL,0,Field::NONE,
cur_field->field_name,
cur_field->table,
&my_charset_bin);
nf->init(cur_table->table);
cur_field= nf;
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment