• marko's avatar
    branches/zip: Merge revisions 2854:2929 from branches/5.1, · bd3514db
    marko authored
    except r2924, which was merged from branches/zip r2866 to branches/5.1
    and except r2879 which was merged separately by Calvin:
    
      ------------------------------------------------------------------------
      r2902 | vasil | 2008-10-28 12:10:25 +0200 (Tue, 28 Oct 2008) | 10 lines
    
      branches/5.1:
    
      Fix Bug#38189 innodb_stats_on_metadata missing
    
      Make the variable innodb_stats_on_metadata visible to the users and
      also settable at runtime. Previously it was only "visible" as a command
      line startup option to mysqld.
    
      Approved by:    Marko (https://svn.innodb.com/rb/r/36)
      ------------------------------------------------------------------------
      r2929 | marko | 2008-10-29 21:26:14 +0200 (Wed, 29 Oct 2008) | 13 lines
    
      branches/5.1: dtype_get_sql_null_size(): return the correct storage
      size of a SQL NULL column. (Bug #40369)
    
      When MySQL Bug #20877 was fixed in r834, this function was
      accidentally modified to return 0 or 1. Apparently, the only impact of
      this bug is that fixed-length columns cannot be updated in-place from
      or to SQL NULL, even in ROW_FORMAT=REDUNDANT.  After this fix,
      fixed-length columns in ROW_FORMAT=REDUNDANT will have a constant
      storage size as they should, no matter if NULL or non-NULL.  The bug
      caused fixed-length NULL columns to occupy 1 byte.
    
      rb://37 approved by Heikki over IM.
      ------------------------------------------------------------------------
    bd3514db
srv0srv.c 74.6 KB