1. 05 Nov, 2008 1 commit
    • Evgeny Potemkin's avatar
      Bug#37870: Usage of uninitialized value caused failed assertion. · d0c490e5
      Evgeny Potemkin authored
      The convert_constant_item function converts a constant to integer using
      field for condition like 'field = a_constant'. In some cases the
      convert_constant_item is called for a subquery when outer select is already
      being executed, so convert_constant_item saves field's value to prevent its
      corruption. For EXPLAIN and at the prepare phase field's value isn't
      initialized yet, thus when convert_constant_item tries to restore saved
      value it fails assertion.
      
      Now the convert_constant_item doesn't save/restore field's value if it's
      haven't been read yet. Outer constant values are always saved.
      d0c490e5
  2. 04 Nov, 2008 8 commits
  3. 03 Nov, 2008 6 commits
  4. 31 Oct, 2008 2 commits
  5. 30 Oct, 2008 1 commit
  6. 29 Oct, 2008 2 commits
  7. 27 Oct, 2008 10 commits
  8. 26 Oct, 2008 3 commits
  9. 24 Oct, 2008 5 commits
  10. 23 Oct, 2008 2 commits