• 's avatar
    WL#5370 Keep forward-compatibility when changing · b766a51f
    authored
            'CREATE TABLE IF NOT EXISTS ... SELECT' behaviour
    BUG#55474, BUG#55499, BUG#55598, BUG#55616 and BUG#55777 are fixed
    in this patch too.
    
    This is the 5.1 part.
    It implements:
    - if the table exists, binlog two events: CREATE TABLE IF NOT EXISTS
      and INSERT ... SELECT
    
    - Insert nothing and binlog nothing on master if the existing object
      is a view. It only generates a warning that table already exists.
    b766a51f
rpl_diff_tables.inc 1.09 KB