• unknown's avatar
    Merge of ha_innobase.cc from 4.0; This fixes that MySQL doesn't allocate too... · d9602ac7
    unknown authored
    Merge of ha_innobase.cc from 4.0; This fixes that MySQL doesn't allocate too big buffers when sorting innobase rows
    Changed name of variables
    NO_FOREIGN_KEY_CHECKS -> FOREIGN_KEY_CHECKS
    RELAXED_UNIQUE_CHECKS -> UNIQUE_CHECKS
    to avoid confusion with 'not...' variables.
    Write name of adminstrator command to slow log.
    Added mysqldumpslow to RPM
    
    
    Docs/manual.texi:
      Changelog
    sql/gen_lex_hash.cc:
      Updated values
    sql/ha_innobase.cc:
      Remove return value of sprintf
      Merged back optimizations done in 4.0
      Fixed ref_length;  Caused MySQL to use big buffers when using InnoDB
    sql/lex.h:
      Changed name of variables
      NO_FOREIGN_KEY_CHECKS -> FOREIGN_KEY_CHECKS
      RELAXED_UNIQUE_CHECKS -> UNIQUE_CHECKS
    sql/log.cc:
      Write name of adminstrator command to slow log
    sql/sql_yacc.yy:
      Changed name of variables
      NO_FOREIGN_KEY_CHECKS -> FOREIGN_KEY_CHECKS
      RELAXED_UNIQUE_CHECKS -> UNIQUE_CHECKS
    support-files/mysql.spec.sh:
      Added mysqldumpslow to RPM
    d9602ac7
log.cc 27.5 KB