1. 10 Jun, 2007 1 commit
  2. 09 Jun, 2007 3 commits
  3. 08 Jun, 2007 2 commits
  4. 07 Jun, 2007 8 commits
  5. 06 Jun, 2007 7 commits
  6. 05 Jun, 2007 3 commits
    • evgen@moonbone.local's avatar
      Bug#28778: Wrong result of BETWEEN when comparing a DATETIME field with an · 0a91c7cc
      evgen@moonbone.local authored
      integer constants.
      
      This bug is introduced by the fix for bug#16377. Before the fix the 
      Item_func_between::fix_length_and_dec method converted the second and third
      arguments to the type of the first argument if they were constant and the first
      argument is of the DATE/DATETIME type. That approach worked well for integer
      constants and sometimes produced bad result for string constants. The fix for
      the bug#16377 wrongly removed that code at all and as a result of this the
      comparison of a DATETIME field and an integer constant was carried out in a
      wrong way and sometimes led to wrong result sets.
      
      Now the Item_func_between::fix_length_and_dec method converts the second and
      third arguments to the type of the first argument if they are constant, the
      first argument is of the DATE/DATETIME type and the DATETIME comparator isn't
      applicable.
      0a91c7cc
    • holyfoot/hf@hfmain.(none)'s avatar
      Merge bk@192.168.21.1:mysql-5.1-opt · c571b6e0
      holyfoot/hf@hfmain.(none) authored
      into  mysql.com:/home/hf/work/28477/my51-28477
      c571b6e0
    • gkodinov/kgeorge@magare.gmz's avatar
      Merge gkodinov@bk-internal.mysql.com:/home/bk/mysql-5.1-opt · 0c0201c9
      gkodinov/kgeorge@magare.gmz authored
      into  magare.gmz:/home/kgeorge/mysql/autopush/B28488-5.1-opt
      0c0201c9
  7. 04 Jun, 2007 7 commits
  8. 03 Jun, 2007 9 commits