1. 26 Aug, 2006 1 commit
  2. 24 Aug, 2006 2 commits
  3. 15 Aug, 2006 1 commit
    • sergefp@mysql.com's avatar
      BUG#21077: Possible crash caused by invalid sequence of handler::* calls: ... · 86c5cad4
      sergefp@mysql.com authored
      BUG#21077: Possible crash caused by invalid sequence of handler::* calls:                                                
      The crash was caused by invalid sequence of handler::** calls:                                                           
        ha_smth->index_init();                                                                                                 
        ha_smth->index_next_same(); (2)                                                                                        
      (2) is an invalid call as it was not preceeded by any 'scan setup' call
      like index_first() or index_read(). The cause was that QUICK_SELECT::reset()
      didn't "fully reset" the quick select- current QUICK_RANGE wasn't forgotten,
      and quick select might attempt to continue reading the range, which would
      result in the above mentioned invalid sequence of handler calls.
      
      5.x versions are not affected by the bug - they already have the missing
      "range=NULL" clause.                                                    
                                                             
      86c5cad4
  4. 10 Aug, 2006 1 commit
  5. 09 Aug, 2006 3 commits
  6. 07 Aug, 2006 1 commit
  7. 03 Aug, 2006 5 commits
  8. 02 Aug, 2006 7 commits
  9. 01 Aug, 2006 2 commits
  10. 31 Jul, 2006 5 commits
  11. 30 Jul, 2006 1 commit
  12. 29 Jul, 2006 2 commits
  13. 28 Jul, 2006 4 commits
  14. 27 Jul, 2006 1 commit
  15. 26 Jul, 2006 4 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