1. 02 Apr, 2007 6 commits
  2. 31 Mar, 2007 1 commit
  3. 30 Mar, 2007 4 commits
    • sergefp@mysql.com's avatar
      dd7e39f4
    • sergefp@mysql.com's avatar
      BUG#26624: high mem usage (crash) in range optimizer · dcb25513
      sergefp@mysql.com authored
      Pushbuild fixes: 
       - Make MAX_SEL_ARGS smaller (even 16K records_in_range() calls is 
         more than it makes sense to do in typical cases)
       - Don't call sel_arg->test_use_count() if we've already allocated 
         more than MAX_SEL_ARGs elements. The test will succeed but will take
         too much time for the test suite (and not provide much value).
      dcb25513
    • evgen@sunlight.local's avatar
      Bug#23233: 0 as LAST_INSERT_ID() after INSERT .. ON DUPLICATE in the · 7c42232d
      evgen@sunlight.local authored
      NO_AUTO_VALUE_ON_ZERO mode.
      
      In the NO_AUTO_VALUE_ON_ZERO mode the table->auto_increment_field_not_null
      variable is used to indicate that a non-NULL value was specified by the user
      for an auto_increment column. When an INSERT .. ON DUPLICATE updates the
      auto_increment field this variable is set to true and stays unchanged for the
      next insert operation. This makes the next inserted row sometimes wrongly have
      0 as the value of the auto_increment field.
      
      Now the fill_record() function resets the table->auto_increment_field_not_null
      variable before filling the record.
      The table->auto_increment_field_not_null variable is also reset by the
      open_table() function for a case if we missed some auto_increment_field_not_null
      handling bug.
      Now the table->auto_increment_field_not_null is reset at the end of the
      mysql_load() function.
      
      Reset the table->auto_increment_field_not_null variable after each
      write_row() call in the copy_data_between_tables() function.
      
      7c42232d
    • istruewing@chilla.local's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · dd13c383
      istruewing@chilla.local authored
      into  chilla.local:/home/mydev/mysql-5.0-axmrg
      dd13c383
  4. 29 Mar, 2007 10 commits
  5. 28 Mar, 2007 18 commits
  6. 27 Mar, 2007 1 commit