1. 01 Nov, 2007 4 commits
  2. 31 Oct, 2007 3 commits
  3. 30 Oct, 2007 1 commit
  4. 29 Oct, 2007 3 commits
  5. 26 Oct, 2007 1 commit
  6. 25 Oct, 2007 2 commits
  7. 24 Oct, 2007 6 commits
  8. 23 Oct, 2007 7 commits
  9. 22 Oct, 2007 2 commits
  10. 19 Oct, 2007 4 commits
  11. 18 Oct, 2007 4 commits
  12. 17 Oct, 2007 3 commits
    • dkatz@damien-katzs-computer.local's avatar
      Bug #29804 UDF parameters don't contain correct string length · 86082dfc
      dkatz@damien-katzs-computer.local authored
          
      Previously, UDF *_init functions were passed constant strings with erroneous lengths. The length came from the containing variable's size, not the length of the value itself.
          
      Now the *_init functions get the constant as a null terminated string with the correct length supplied too.
      86082dfc
    • tsmith@ramayana.hindu.god's avatar
      3d203e55
    • kaa@polly.(none)'s avatar
      Fix for bug #31207: Test "join_nested" shows different strategy on IA64 · 6d1f3e8d
      kaa@polly.(none) authored
      CPUs / Intel's ICC compile
      
      The bug is a combination of two problems:
      
      1. IA64/ICC MySQL binaries use glibc's qsort(), not the one in mysys.
      
      2. The order relation implemented by join_tab_cmp() is not transitive,
      i.e. it is possible to choose such a, b and c that (a < b) && (b < c)
      but (c < a). This implies that result of a sort using the relation
      implemented by join_tab_cmp() depends on the order in which
      elements are compared, i.e. the result is implementation-specific. Since
      choose_plan() uses qsort() to pre-sort the
      join tables using join_tab_cmp() as a compare function, the results of
      the sorting may vary depending on qsort() implementation.
      
      It is neither possible nor important to implement a better ordering
      algorithm in join_tab_cmp(). Therefore the only way to fix it is to
      force our own qsort() to be used by renaming it to my_qsort(), so we don't depend
      on linker to decide that.
      
      This patch also "fixes" bug #20530: qsort redefinition violates the
      standard.
      6d1f3e8d