• vasil's avatar
    branches/5.1: · 81db7e57
    vasil authored
    Fix formatting of the autoinc-lock-mode command line parameter.
    
    Old view (./mysqld --help --verbose):
    
      --innodb-autoinc-lock-mode=#
                          The AUTOINC lock modes supported by InnoDB:
      0 => Old
                          style AUTOINC locking (for backward compatibility)
      1 =>
                          New style AUTOINC locking
      2 => No AUTOINC locking
                          (unsafe for SBR)
    
    New view:
    
      --innodb-autoinc-lock-mode=#
                          The AUTOINC lock modes supported by InnoDB:
                          0 => Old style AUTOINC locking (for backward
                          compatibility)
                          1 => New style AUTOINC locking
                          2 => No AUTOINC locking (unsafe for SBR)
    
    Looks like these strings are "automatically" wrapped by MySQL in the
    following way:
    * newlines (\n) in the string are ignored
    * newline separator (\n) is inserted every 57 or so characters.
    * lots of white space is appended to each inserted new line.
    
    Approved by:	Heikki
    81db7e57
ha_innodb.cc 233 KB