1. 13 Sep, 2007 3 commits
    • 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
  2. 28 Aug, 2007 1 commit
  3. 16 Aug, 2007 1 commit
    • unknown's avatar
      Bug#30359 · 7e9e0efd
      unknown authored
        "Test federated_bug_25714 issues non-existing shell command"
        Problem caused by missing '$' symbol in eval statement causing it
        to always attempt to run test even if the test was not compiled.
      
      
      mysql-test/include/have_bug25714.inc:
        bug30359
          missing '$' in eval statement
      7e9e0efd
  4. 14 Aug, 2007 3 commits
  5. 13 Aug, 2007 5 commits
  6. 10 Aug, 2007 4 commits
  7. 08 Aug, 2007 5 commits
  8. 06 Aug, 2007 18 commits