1. 19 Dec, 2006 2 commits
  2. 15 Dec, 2006 1 commit
  3. 14 Dec, 2006 1 commit
    • kaa@polly.local's avatar
      Fix for bug #24117 "server crash on a FETCH with a cursor on a table which is... · 4162e009
      kaa@polly.local authored
      Fix for bug #24117 "server crash on a FETCH with a cursor on a table which is not in the table cache"
      
      Problem:
      When creating a temporary field for a temporary table in create_tmp_field_from_field(), a resulting field is created as an exact copy of an original one (in Field::new_field()). However, Field_enum and Field_set contain a pointer (typelib) to memory allocated in the parent table's MEM_ROOT, which under some circumstances may be deallocated later by the time a temporary table is used.
      
      Solution:
      Override the new_field() method for Field_enum and Field_set and create a separate copy of the typelib structure in there.
      4162e009
  4. 27 Nov, 2006 7 commits
  5. 24 Nov, 2006 5 commits
  6. 23 Nov, 2006 19 commits
  7. 22 Nov, 2006 5 commits