1. 19 Apr, 2006 1 commit
    • unknown's avatar
      BUG#18160 - Memory-/HEAP Table endless growing indexes · 5aec225b
      unknown authored
      Updating data in HEAP table with BTREE index results in wrong index_length
      counter value, which keeps growing after each update.
      
      When inserting new record into tree counter is incremented by:
      sizeof(TREE_ELEMENT) + key_size + tree->size_of_element
      But when deleting element from tree it doesn't decrement counter by key_size:
      sizeof(TREE_ELEMENT) + tree->size_of_element
      
      This fix makes accurate allocated memory counter for tree. That is
      decrease counter by key_size when deleting tree element.
      
      
      heap/hp_delete.c:
        Added size of the key to tree_delete() for accurate allocated memory counter.
      include/my_tree.h:
        Added size of the key to tree_delete() for accurate allocated memory counter.
      myisam/myisamlog.c:
        Added size of the key to tree_delete() for accurate allocated memory counter.
      mysql-test/r/heap_btree.result:
        Testcase for BUG#18160.
      mysql-test/t/heap_btree.test:
        Testcase for BUG#18160.
      mysys/tree.c:
        Added size of the key to tree_delete() for accurate allocated memory counter.
        Note that this size is optional. If one doesn't need precise counter it is safe
        to pass 0 as key_size.
      5aec225b
  2. 13 Apr, 2006 5 commits
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · 14e143e3
      unknown authored
      into  mysql.com:/home/MySQL/5.0-Bug-17248a
      
      14e143e3
    • unknown's avatar
      Merge spetrunia@bk-internal.mysql.com:/home/bk/mysql-5.0 · 9d18d549
      unknown authored
      into  mysql.com:/home/psergey/mysql-5.0-csc9139
      
      9d18d549
    • unknown's avatar
      BUG#19021, Crash in ROR-index_merge optimizer: · 44ed1179
      unknown authored
      get_best_covering_ror_intersect() was copying ror_scans starting from the 
      end of the array and not from its beginning.
      
      
      mysql-test/r/index_merge_innodb.result:
        Testcase for BUG#19021
      mysql-test/t/index_merge_innodb.test:
        Testcase for BUG#19021
      sql/opt_range.cc:
        BUG#19021: In get_best_covering_ror_intersect(), the array of pointers to
        scans to be used is [tree->ror_scans, ror_scan_mark), and not
        [ror_scan_mark, ...)
      44ed1179
    • unknown's avatar
      foo2 · 7c3056fc
      unknown authored
      
      sql/ha_innodb.cc:
        Import patch foo2
      sql/ha_innodb.h:
        Import patch foo2
      sql/handler.cc:
        Import patch foo2
      sql/handler.h:
        Import patch foo2
      sql/mysqld.cc:
        Import patch foo2
      sql/set_var.cc:
        Import patch foo2
      sql/sql_class.h:
        Import patch foo2
      sql/sql_repl.cc:
        Import patch foo2
      7c3056fc
    • unknown's avatar
      foo1 · 0d58b499
      unknown authored
      
      sql/ha_innodb.cc:
        Import patch foo1
      sql/ha_innodb.h:
        Import patch foo1
      sql/handler.cc:
        Import patch foo1
      sql/handler.h:
        Import patch foo1
      sql/mysqld.cc:
        Import patch foo1
      sql/set_var.cc:
        Import patch foo1
      sql/sql_class.h:
        Import patch foo1
      sql/sql_repl.cc:
        Import patch foo1
      0d58b499
  3. 12 Apr, 2006 4 commits
    • unknown's avatar
      Merge rurik.mysql.com:/home/igor/mysql-5.0 · 231d932a
      unknown authored
      into  rurik.mysql.com:/home/igor/dev/mysql-5.0-0
      
      231d932a
    • unknown's avatar
      Post-merge fixes. Add a new error message for max_prepared_stmt_count · e3ae0951
      unknown authored
      limit.
      
      
      mysql-test/r/ps.result:
        Post-merge fixes.
      mysql-test/t/ps.test:
        Post-merge fixes.
      sql/share/errmsg.txt:
        Add a new error message for max_prepared_stmt_count limit,
        we can do it in 5.0
      sql/sql_class.cc:
        Post-merge fixes.
      sql/sql_class.h:
        Post-merge fixes.
      sql/sql_prepare.cc:
        Post-merge fixes.
      e3ae0951
    • unknown's avatar
      Merge mysql.com:/opt/local/work/mysql-4.1-16365 · f65489f8
      unknown authored
      into  mysql.com:/opt/local/work/mysql-5.0-merge
      
      
      sql/set_var.cc:
        Auto merged
      mysql-test/r/ps.result:
        Manual merge.
      mysql-test/t/ps.test:
        Manual merge.
      sql/item_row.cc:
        Manual merge.
      sql/item_row.h:
        Manual merge.
      sql/mysql_priv.h:
        Manual merge.
      sql/mysqld.cc:
        Manual merge.
      sql/set_var.h:
        Manual merge.
      sql/sql_class.cc:
        Manual merge.
      sql/sql_class.h:
        Manual merge.
      sql/sql_prepare.cc:
        Manual merge.
      f65489f8
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.0 · f4e5a77d
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/mysql-5.0
      
      f4e5a77d
  4. 11 Apr, 2006 12 commits
  5. 10 Apr, 2006 18 commits