• hezx@hezx.(none)'s avatar
    Bug#30998 Drop View breaks replication if view does not exist · 0e0f2feb
    hezx@hezx.(none) authored
    When executing drop view statement on the master, the statement is not written into bin-log if any error occurs, this could cause master slave inconsistence if any view has been dropped. 
    
    If some error occured and no view has been dropped, don't bin-log the statement, if at least one view has been dropped the query is bin-logged possible with an error.
    0e0f2feb
sql_view.cc 55.9 KB