• Satya B's avatar
    Applying InnoDB snashot 5.0-ss5406, part 2. Fixes BUG#40565 · faaa9e08
    Satya B authored
    BUG#40565 - Update Query Results in "1 Row Affected" But Should Be "Zero Rows"
    
    Detailed revision comments:
    
    r5232 | marko | 2009-06-03 14:31:04 +0300 (Wed, 03 Jun 2009) | 21 lines
    branches/5.0: Merge r3590 from branches/5.1 in order to fix Bug #40565
    (Update Query Results in "1 Row Affected" But Should Be "Zero Rows").
    
    Also, add a test case for Bug #40565.
    
    rb://128 approved by Heikki Tuuri
      ------------------------------------------------------------------------
      r3590 | marko | 2008-12-18 15:33:36 +0200 (Thu, 18 Dec 2008) | 11 lines
    
      branches/5.1: When converting a record to MySQL format, copy the default
      column values for columns that are SQL NULL.  This addresses failures in
      row-based replication (Bug #39648).
    
      row_prebuilt_t: Add default_rec, for the default values of the columns in
      MySQL format.
    
      row_sel_store_mysql_rec(): Use prebuilt->default_rec instead of
      padding columns.
    
      rb://64 approved by Heikki Tuuri
      ------------------------------------------------------------------------
    faaa9e08
row0sel.c 109 KB