1. 09 Oct, 2007 1 commit
    • ramil/ram@mysql.com/ramil.myoffice.izhnet.ru's avatar
      Fix for bug #31249: Assertion `!table || (!table->write_set || · 47923851
      bitmap_is_set(table->write_set, fiel
      
      Problem: creating a temporary table we allocate the group buffer if needed
      followed by table bitmaps (see create_tmp_table()). Reserving less memory for 
      the group buffer than actually needed (used) for values retrieval may lead 
      to overlapping with followed bitmaps in the memory pool that in turn leads 
      to unpredictable consequences.
      
      As we use Item->max_length sometimes to calculate group buffer size,
      it must be set to proper value. In this particular case 
      Item_datetime_typecast::max_length is too small.
      
      Another problem is that we use max_length to calculate the group buffer
      key length for items represented as DATE/TIME fields which is superfluous.
      
      Fix: set Item_datetime_typecast::max_length properly,
      accurately calculate the group buffer key length for items 
      represented as DATE/TIME fields in the buffer.
      47923851
  2. 04 Oct, 2007 3 commits
  3. 28 Sep, 2007 1 commit
  4. 27 Sep, 2007 2 commits
  5. 26 Sep, 2007 1 commit
  6. 25 Sep, 2007 1 commit
  7. 24 Sep, 2007 3 commits
  8. 22 Sep, 2007 3 commits
  9. 21 Sep, 2007 5 commits
  10. 20 Sep, 2007 2 commits
  11. 19 Sep, 2007 1 commit
  12. 15 Sep, 2007 2 commits
  13. 14 Sep, 2007 13 commits
  14. 13 Sep, 2007 2 commits