1. 23 Jul, 2007 1 commit
  2. 22 Jul, 2007 3 commits
  3. 21 Jul, 2007 8 commits
  4. 20 Jul, 2007 4 commits
    • gshchepa/uchum@gleb.loc's avatar
      Fixed bug #29788. · c3e925ee
      gshchepa/uchum@gleb.loc authored
      After dumping triggers mysqldump copied 
      the value of the OLD_SQL_MODE variable to the SQL_MODE
      variable. If the --compact option of the mysqldump was
      not set the OLD_SQL_MODE variable had the value
      of the uninitialized SQL_MODE variable. So
      usually the NO_AUTO_VALUE_ON_ZERO option of the
      SQL_MODE variable was discarded.
      
      This fix is for non-"--compact" mode of the mysqldump,
      because mysqldump --compact never set SQL_MODE to the
      value of NO_AUTO_VALUE_ON_ZERO.
      
      The dump_triggers_for_table function has been modified
      to restore previous value of the SQL_MODE variable after
      dumping triggers using the SAVE_SQL_MODE temporary
      variable.
      c3e925ee
    • gkodinov/kgeorge@magare.gmz's avatar
      Bug #28591: MySQL need not sort the records in case of · 8fc401e2
      gkodinov/kgeorge@magare.gmz authored
      ORDER BY primary_key on InnoDB table
      
      Queries that use an InnoDB secondary index to retrieve
      data don't need to sort in case of ORDER BY primary key
      if the secondary index is compared to constant(s).
      They can also skip sorting if ORDER BY contains both the
      the secondary key parts and the primary key parts (in
      that order).
      This is because InnoDB returns the rows in order of the
      primary key for rows with the same values of the secondary
      key columns.
      Fixed by preventing temp table sort for the qualifying 
      queries.
      8fc401e2
    • evgen@moonbone.local's avatar
      Merge epotemkin@bk-internal.mysql.com:/home/bk/mysql-5.0-opt · e50e8c94
      evgen@moonbone.local authored
      into  moonbone.local:/mnt/gentoo64/work/29898-bug-5.0-opt-mysql
      e50e8c94
    • holyfoot/hf@mysql.com/hfmain.(none)'s avatar
      Bug #29494 Field packet with NULL fields crashes libmysqlclient. · 40fb6443
      holyfoot/hf@mysql.com/hfmain.(none) authored
      unpack_fields() didn't expect NULL_LENGHT in the field's descriptions.
      In this case we get NULL in the resulting string so cannot use
      strdup_root to make a copy of it.
      strdup_root changed with strmake_root as it's NULL-safe
      40fb6443
  5. 19 Jul, 2007 10 commits
  6. 18 Jul, 2007 3 commits
    • gshchepa/uchum@gleb.loc's avatar
      Fixed bug #28524. · 3f91aeda
      gshchepa/uchum@gleb.loc authored
      For each view the mysqldump utility creates a temporary table
      with the same name and the same columns as the view 
      in order to satisfy views that depend on this view.
      After the creation of all tables, mysqldump drops all
      temporary tables and creates actual views.
      However, --skip-add-drop-table and --compact flags disable
      DROP TABLE statements for those temporary tables. Thus, it was
      impossible to create the views because of existence of the
      temporary tables with the same names.
      3f91aeda
    • gkodinov/kgeorge@magare.gmz's avatar
      Bug #29325: create table overwrites .MYD file of other · 94535ca8
      gkodinov/kgeorge@magare.gmz authored
      table (datadir)
      Set errno when retunring an error in my_create_with_symlink.
      94535ca8
    • sergefp@mysql.com's avatar
      Mark deadcode for gcov · 4f579b8d
      sergefp@mysql.com authored
      4f579b8d
  7. 17 Jul, 2007 9 commits
  8. 16 Jul, 2007 2 commits