1. 02 Aug, 2006 1 commit
  2. 29 Jul, 2006 2 commits
  3. 28 Jul, 2006 4 commits
  4. 27 Jul, 2006 1 commit
  5. 26 Jul, 2006 5 commits
    • gkodinov/kgeorge@rakia.(none)'s avatar
      Merge gkodinov@bk-internal.mysql.com:/home/bk/mysql-4.1-opt · e2a082aa
      gkodinov/kgeorge@rakia.(none) authored
      into  rakia.(none):/home/kgeorge/mysql/autopush/B20792-4.1-opt
      e2a082aa
    • gkodinov/kgeorge@macbook.gmz's avatar
      * Bug #20792: Incorrect results from aggregate subquery · 565d4959
      gkodinov/kgeorge@macbook.gmz authored
      When processing aggregate functions all tables values are reset
      to NULLs at the end of each group. 
      When doing that if there are no rows found for a group
      the const tables must not be reset as they are not recalculated 
      by do_select()/sub_select() for each group.
      565d4959
    • gkodinov/kgeorge@rakia.(none)'s avatar
      Merge gkodinov@bk-internal.mysql.com:/home/bk/mysql-4.1-opt · 49f8ec4c
      gkodinov/kgeorge@rakia.(none) authored
      into  rakia.(none):/home/kgeorge/mysql/autopush/B21019-4.1-opt
      49f8ec4c
    • kroki/tomash@moonlight.intranet's avatar
      BUG#21206: memory corruption when too many cursors are opened at once · 4e845ccc
      kroki/tomash@moonlight.intranet authored
      Too many cursors (more than 1024) could lead to memory corruption.
      This affects both, stored routines and C API cursors, and the
      threshold is per-server, not per-connection.  Similarly, the
      corruption could happen when the server was under heavy load
      (executing more than 1024 simultaneous complex queries), and this is
      the reason why this bug is fixed in 4.1, which doesn't support
      cursors.
      
      The corruption was caused by a bug in the temporary tables code, when
      an attempt to create a table could lead to a write beyond allocated
      space.  Note, that only internal tables were affected (the tables
      created internally by the server to resolve the query), not tables
      created with CREATE TEMPORARY TABLE.  Another pre-condition for the
      bug is TRUE value of --temp-pool startup option, which, however, is a
      default.
      
      The cause of a bug was that random memory was overwritten in
      bitmap_set_next() due to out-of-bound memory access.
      4e845ccc
    • gkodinov/kgeorge@macbook.gmz's avatar
      Bug #21019: First result of SELECT COUNT(*) different than consecutive runs · 6766cfcd
      gkodinov/kgeorge@macbook.gmz authored
       When optimizing conditions like 'a = <some_val> OR a IS NULL' so that they're
       united into a single condition on the key and checked together the server must 
       check which value is the NULL value in a correct way : not only using ->is_null 
       but also check if the expression doesn't depend on any tables referenced in the 
       current statement. 
       This additional check must be performed because that optimization takes place 
       before the actual execution of the statement, so if the field was initialized 
       to NULL from a previous statement the optimization would be applied incorrectly.
      6766cfcd
  6. 25 Jul, 2006 2 commits
  7. 24 Jul, 2006 5 commits
  8. 23 Jul, 2006 1 commit
  9. 21 Jul, 2006 1 commit
  10. 20 Jul, 2006 2 commits
  11. 19 Jul, 2006 3 commits
    • igor@olga.mysql.com's avatar
      Fixed bug #17526: incorrect print method · f201828d
      igor@olga.mysql.com authored
      for class Item_func_trim. 
      For 4.1 it caused wrong output for EXPLAIN EXTENDED commands
      if expressions with the TRIM function of two arguments were used.
      For 5.0 it caused an error message when trying to select
      from a view with the TRIM function of two arguments.
      This unexpected error message was due to the fact that the
      print method for the class Item_func_trim was inherited from
      the class Item_func. Yet the TRIM function does not take a list
      of its arguments. Rather it takes the arguments in the form:
        [{BOTH | LEADING | TRAILING} [remstr] FROM] str) |
        [remstr FROM] str
      f201828d
    • msvensson@neptunus.(none)'s avatar
      Bug #21135 Crash in test "func_time" · 9a7d888a
      msvensson@neptunus.(none) authored
       - backport patch from 5.0
       - "table" can be NULL in temporary fields used for type conversion
      9a7d888a
    • kent@mysql.com/c-4b4072d5.010-2112-6f72651.cust.bredbandsbolaget.se's avatar
      mysql.spec.sh: · 2eacb14d
        Added new "mysql_explain_log" man page
        Added missing install of "myisam_ftdump" man page
        Added missing install of "mysqlman" man page
      2eacb14d
  12. 18 Jul, 2006 3 commits
  13. 17 Jul, 2006 2 commits
  14. 15 Jul, 2006 1 commit
  15. 14 Jul, 2006 5 commits
  16. 13 Jul, 2006 2 commits