mirror of
				https://github.com/MariaDB/server.git
				synced 2025-11-03 14:33:32 +03:00 
			
		
		
		
	Bug #26817: mysqldump fails to backup database containing view with invalid definer
manual merge 5.0->5.1
This commit is contained in:
		@@ -4514,8 +4514,8 @@ find_field_in_tables(THD *thd, Item_ident *item,
 | 
				
			|||||||
        {
 | 
					        {
 | 
				
			||||||
          Field *nf=new Field_null(NULL,0,Field::NONE,
 | 
					          Field *nf=new Field_null(NULL,0,Field::NONE,
 | 
				
			||||||
                                   cur_field->field_name,
 | 
					                                   cur_field->field_name,
 | 
				
			||||||
                                   cur_field->table,
 | 
					 | 
				
			||||||
                                   &my_charset_bin);
 | 
					                                   &my_charset_bin);
 | 
				
			||||||
 | 
					          nf->init(cur_table->table);
 | 
				
			||||||
          cur_field= nf;
 | 
					          cur_field= nf;
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user