1. 19 Apr, 2006 1 commit
    • unknown's avatar
      BUG#18160 - Memory-/HEAP Table endless growing indexes · 4441e34e
      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.
      4441e34e
  2. 13 Apr, 2006 5 commits
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0 · 8077c693
      unknown authored
      into  mysql.com:/home/MySQL/5.0-Bug-17248a
      
      
      8077c693
    • unknown's avatar
      Merge spetrunia@bk-internal.mysql.com:/home/bk/mysql-5.0 · 93409ee7
      unknown authored
      into  mysql.com:/home/psergey/mysql-5.0-csc9139
      
      
      93409ee7
    • unknown's avatar
      BUG#19021, Crash in ROR-index_merge optimizer: · c89555ed
      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, ...)
      c89555ed
    • unknown's avatar
      foo2 · 365f6f6f
      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
      365f6f6f
    • unknown's avatar
      foo1 · ce335550
      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
      ce335550
  3. 12 Apr, 2006 4 commits
    • unknown's avatar
      Merge rurik.mysql.com:/home/igor/mysql-5.0 · c16b9dfc
      unknown authored
      into  rurik.mysql.com:/home/igor/dev/mysql-5.0-0
      
      
      c16b9dfc
    • unknown's avatar
      Post-merge fixes. Add a new error message for max_prepared_stmt_count · c5ed5c4b
      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.
      c5ed5c4b
    • unknown's avatar
      Merge mysql.com:/opt/local/work/mysql-4.1-16365 · e46a193b
      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.
      e46a193b
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.0 · 10633fd8
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/mysql-5.0
      
      
      10633fd8
  4. 11 Apr, 2006 12 commits
  5. 10 Apr, 2006 18 commits