1. 11 May, 2007 3 commits
  2. 10 May, 2007 2 commits
    • gshchepa/uchum@gleb.loc's avatar
      Fixed bug #28000. · 848f56b0
      gshchepa/uchum@gleb.loc authored
      Bug occurs in INSERT IGNORE ... SELECT ... ON DUPLICATE KEY UPDATE
      statements, when SELECT returns duplicated values and UPDATE clause
      tries to assign NULL values to NOT NULL fields.
      NOTE: By current design MySQL server treats INSERT IGNORE ... ON
      DUPLICATE statements as INSERT ... ON DUPLICATE with update of
      duplicated records, but MySQL manual lacks this information.
      After this fix such behaviour becomes legalized.
      
      The write_record() function was returning error values even within
      INSERT IGNORE, because ignore_errors parameter of
      the fill_record_n_invoke_before_triggers() function call was
      always set to FALSE. FALSE is replaced by info->ignore.
      848f56b0
    • igor@olga.mysql.com's avatar
      Fixed bug #28189: in some rare cases optimizer preferred a more expensive · 53888b42
      igor@olga.mysql.com authored
      ref access to a less expensive range access. 
      This occurred only with InnoDB tables.
      53888b42
  3. 09 May, 2007 1 commit
  4. 08 May, 2007 2 commits
    • evgen@moonbone.local's avatar
      Merge epotemkin@bk-internal.mysql.com:/home/bk/mysql-5.0-opt · b45ef06e
      evgen@moonbone.local authored
      into  moonbone.local:/mnt/gentoo64/work/27670-bug-5.0-opt-mysql
      b45ef06e
    • evgen@moonbone.local's avatar
      Bug#27670: LOAD DATA does not set CURRENT_TIMESTAMP default value for a · 98fa542a
      evgen@moonbone.local authored
      TIMESTAMP field when no value has been provided.
      
      The LOAD DATA sets the current time in the TIMESTAMP field with
      CURRENT_TIMESTAMP default value when the field is detected as a null.
      But when the LOAD DATA command loads data from a file that doesn't contain
      enough data for all fields then the rest of fields are simply set to null
      without any check. This leads to no value being inserted to such TIMESTAMP
      field.
      
      Now the read_sep_field() and the read_fixed_length() functions set current
      time to the TIMESTAMP field with CURRENT_TIMESTAMP default value in all cases
      when a NULL value is loaded to the field.
      98fa542a
  5. 07 May, 2007 12 commits
  6. 04 May, 2007 11 commits
  7. 03 May, 2007 2 commits
  8. 02 May, 2007 7 commits