1. 20 Dec, 2007 2 commits
  2. 11 Dec, 2007 1 commit
    • mhansson/martin@linux-st28.site's avatar
      Bug#32848: Data type conversion bug in union subselects in MySQL 5.0.38 · 867a7865
      mhansson/martin@linux-st28.site authored
      There were two problems when inferring the correct field types resulting from
      UNION queries.
      - If the type is NULL for all corresponding fields in the UNION, the resulting 
        type would be NULL, while the type is BINARY(0) if there is just a single 
        SELECT NULL.
      - If one SELECT in the UNION uses a subselect, a temporary table is created
        to represent the subselect, and the result type defaults to a STRING type,
        hiding the fact that the type was unknown(just a NULL value).
      Fixed by remembering whenever a field was created from a NULL value and pass
      type NULL to the type coercion if that is the case, and creating a string field
      as result of UNION only if the type would otherwise be NULL.
      867a7865
  3. 17 Oct, 2007 3 commits
  4. 16 Oct, 2007 2 commits
  5. 15 Oct, 2007 3 commits
  6. 14 Oct, 2007 2 commits
  7. 13 Oct, 2007 4 commits
  8. 12 Oct, 2007 8 commits
  9. 11 Oct, 2007 6 commits
  10. 10 Oct, 2007 8 commits
  11. 09 Oct, 2007 1 commit