1. 14 Sep, 2007 10 commits
  2. 13 Sep, 2007 9 commits
    • unknown's avatar
      Merge trift2.:/MySQL/M50/tmp-5.0 · c51f1e1b
      unknown authored
      into  trift2.:/MySQL/M51/tmp-5.1
      
      
      c51f1e1b
    • unknown's avatar
      Merge trift2.:/MySQL/M51/push-5.1 · fc670a82
      unknown authored
      into  trift2.:/MySQL/M51/tmp-5.1
      
      
      config/ac-macros/misc.m4:
        Auto merged
      fc670a82
    • unknown's avatar
      Merge trift2.:/MySQL/M50/push-5.0 · f2dd535b
      unknown authored
      into  trift2.:/MySQL/M50/tmp-5.0
      
      
      f2dd535b
    • unknown's avatar
      Merge mysql.com:/home/svoj/devel/mysql/BUG30590/mysql-5.0-engines · 8d90ac58
      unknown authored
      into  mysql.com:/home/svoj/devel/mysql/BUG30590/mysql-5.1-engines
      
      
      mysql-test/r/heap_btree.result:
        Auto merged
      mysql-test/t/heap_btree.test:
        Auto merged
      storage/heap/hp_delete.c:
        Auto merged
      storage/heap/hp_rfirst.c:
        Auto merged
      storage/heap/hp_rnext.c:
        Auto merged
      8d90ac58
    • unknown's avatar
      Merge mysql.com:/home/svoj/devel/mysql/BUG30590/mysql-4.1-engines · 47758284
      unknown authored
      into  mysql.com:/home/svoj/devel/mysql/BUG30590/mysql-5.0-engines
      
      
      heap/hp_delete.c:
        Auto merged
      heap/hp_rfirst.c:
        Auto merged
      heap/hp_rnext.c:
        Auto merged
      mysql-test/r/heap_btree.result:
        Auto merged
      mysql-test/t/heap_btree.test:
        Manual merge.
      47758284
    • unknown's avatar
      BUG#30590 - delete from memory table with composite btree primary key · cf5762b4
      unknown authored
      DELETE query against memory table with btree index may remove
      not all matching rows. This happens only when DELETE uses
      index read method to find matching rows. E.g. for queries
      like DELETE FROM t1 WHERE a=1.
      
      Fixed by reverting fix for BUG9719 and applying proper solution.
      
      
      heap/hp_delete.c:
        Reverted fix for BUG9719 as it makes queries like
        DELETE FROM t1 WHERE a=1 to remove not all matching
        rows (assuming this is memory table and there is btree
        key over `a`).
        
        This happens because we calculate info->lastkey_len in
        heap_rkey(). When we enter heap_rnext(), info->lastkey_len
        is 0 (set by hp_rb_delete_key()). We need to preserve
        info->lastkey_len in this situation, otherwise
        tree_search_key() will always return smallest value in
        a tree.
      heap/hp_rfirst.c:
        If we're performing index_first on a table that was taken from
        table cache, info->lastkey_len is initialized to previous query.
        Thus we set info->lastkey_len to proper value for subsequent
        heap_rnext() calls.
        This is needed for DELETE queries only, otherwise this variable is
        not used.
        Note that the same workaround may be needed for heap_rlast(), but
        for now heap_rlast() is never used for DELETE queries.
      heap/hp_rnext.c:
        An optimization for DELETE queries that use index_first()/index_next().
        Use faster tree_search_edge() instead of tree_search_key().
      mysql-test/r/heap_btree.result:
        A test case for BUG#30590.
      mysql-test/t/heap_btree.test:
        A test case for BUG#30590.
      cf5762b4
    • unknown's avatar
      Merge gleb.loc:/home/uchum/work/bk/5.0-opt · 35ed02ba
      unknown authored
      into  gleb.loc:/home/uchum/work/bk/5.1-opt
      
      
      sql/opt_range.cc:
        Auto merged
      35ed02ba
    • unknown's avatar
      Merge gshchepa@bk-internal.mysql.com:/home/bk/mysql-5.0-opt · aa5da0fc
      unknown authored
      into  gleb.loc:/home/uchum/work/bk/5.0-opt
      
      
      aa5da0fc
    • unknown's avatar
      Merge gleb.loc:/home/uchum/work/bk/5.0-opt · fa09f667
      unknown authored
      into  gleb.loc:/home/uchum/work/bk/5.1-opt
      
      
      mysql-test/r/sp.result:
        Auto merged
      mysql-test/t/sp.test:
        Auto merged
      sql/sql_yacc.yy:
        Auto merged
      fa09f667
  3. 12 Sep, 2007 5 commits
  4. 11 Sep, 2007 2 commits
  5. 10 Sep, 2007 4 commits
  6. 07 Sep, 2007 1 commit
    • unknown's avatar
      Bug #28430 Failure in replication of innodb partitioned tables on row/mixed format. · afd34c69
      unknown authored
      In the ha_partition::position() we don't calculate the number
      of the partition of the record, but use m_last_part value instead,
      relying on that it's previously set by some other call like ::write_row().
      Delete_rows_log_event::do_exec_row() calls find_and_fetch_row(),
      where we used position() + rnd_pos() call for the InnoDB-based PARTITION-ed
      table as there HA_PRIMARY_KEY_REQUIRED_FOR_POSITION enabled.
      
      fixed by introducing new handler::rnd_pos_by_record() method to be
      used for random record-based positioning
      
      
      sql/ha_partition.cc:
        Bug #28430 Failure in replication of innodb partitioned tables on row/mixed format.
        
        ha_partition::rnd_pos_by_record() implemented
      sql/ha_partition.h:
        Bug #28430 Failure in replication of innodb partitioned tables on row/mixed format.
        
        ha_partition::rnd_pos_by_record() declared
      sql/handler.h:
        Bug #28430 Failure in replication of innodb partitioned tables on row/mixed format.
        
        handler::rnd_pos_by_record() introduced
      sql/log_event.cc:
        Bug #28430 Failure in replication of innodb partitioned tables on row/mixed format.
        
        handler::rnd_pos_by_record used instead of position() + rnd_pos() call
      afd34c69
  7. 06 Sep, 2007 9 commits
    • unknown's avatar
      0e1cdf8d
    • unknown's avatar
      Merge gleb.loc:/home/uchum/work/bk/5.0-opt · 9d016335
      unknown authored
      into  gleb.loc:/home/uchum/work/bk/5.1-opt
      
      
      mysql-test/r/sp.result:
        Auto merged
      mysql-test/t/sp.test:
        Auto merged
      9d016335
    • unknown's avatar
      Merge gleb.loc:/home/uchum/work/bk/5.1 · e763095f
      unknown authored
      into  gleb.loc:/home/uchum/work/bk/5.1-opt
      
      
      mysql-test/r/sp.result:
        Auto merged
      mysql-test/t/sp.test:
        Auto merged
      sql/sql_lex.h:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      sql/sql_view.cc:
        Auto merged
      e763095f
    • unknown's avatar
      Merge gleb.loc:/home/uchum/work/bk/5.0 · 76e37a32
      unknown authored
      into  gleb.loc:/home/uchum/work/bk/5.0-opt
      
      
      mysql-test/r/sp.result:
        Auto merged
      mysql-test/t/sp.test:
        Auto merged
      76e37a32
    • unknown's avatar
      sql_parse.cc: · d7262773
      unknown authored
        Post-merge fix.
      
      
      sql/sql_parse.cc:
        Post-merge fix.
      d7262773
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.1-runtime · 9179dc33
      unknown authored
      into  moksha.local:/Users/davi/mysql/push/mysql-5.1-runtime
      
      
      9179dc33
    • unknown's avatar
      The test case for bug 28587 doesn't work with the embedded version, · 16c32805
      unknown authored
      the first query is not running while we are doing wait queries on
      a second connection.
      
      
      mysql-test/r/insert_notembedded.result:
        Test case result for bug 28587 moved from insert_update.result
      mysql-test/r/insert_update.result:
        Remove test case result for bug 28587, moving to insert_notembedded.result
      mysql-test/t/insert_notembedded.test:
        Test case result for bug 28587, moved from insert_update.test
      mysql-test/t/insert_update.test:
        Remove test case for bug 28587, moving to insert_notembedded.test
      16c32805
    • unknown's avatar
      sp.result: · d9a7fd12
      unknown authored
        Post-merge fix.
      
      
      mysql-test/r/sp.result:
        Post-merge fix.
      d9a7fd12
    • unknown's avatar
      Merge gleb.loc:/home/uchum/work/bk/5.0-opt · 414d3450
      unknown authored
      into  gleb.loc:/home/uchum/work/bk/5.1-opt
      
      
      BitKeeper/etc/ignore:
        auto-union
      mysql-test/r/distinct.result:
        Auto merged
      sql/sql_yacc.yy:
        Auto merged
      mysql-test/include/mix1.inc:
        Merge with 5.0-opt.
      mysql-test/r/group_by.result:
        Merge with 5.0-opt.
      mysql-test/r/innodb_mysql.result:
        Merge with 5.0-opt.
      mysql-test/r/sp.result:
        Merge with 5.0-opt.
      mysql-test/t/group_by.test:
        Merge with 5.0-opt.
      mysql-test/t/sp.test:
        Merge with 5.0-opt.
      sql/sql_parse.cc:
        Merge with 5.0-opt.
      sql/sql_select.cc:
        Merge with 5.0-opt.
      sql/sql_view.cc:
        Merge with 5.0-opt.
      414d3450