1. 28 Nov, 2008 3 commits
  2. 27 Nov, 2008 24 commits
  3. 26 Nov, 2008 7 commits
    • Patrick Crews's avatar
      merge · 29c4a9ca
      Patrick Crews authored
      29c4a9ca
    • Patrick Crews's avatar
      merge · 56620916
      Patrick Crews authored
      56620916
    • Ingo Struewing's avatar
      merge · f2a81664
      Ingo Struewing authored
      f2a81664
    • Matthias Leich's avatar
      Merge latest Pushes into the GCA tree · 0a314d28
      Matthias Leich authored
      (no conflicts)
      0a314d28
    • Ingo Struewing's avatar
      merge · d53224da
      Ingo Struewing authored
      d53224da
    • Horst Hunger's avatar
    • Tatiana A. Nurnberg's avatar
      Bug#37553: MySql Error Compare TimeDiff & Time · 9910b867
      Tatiana A. Nurnberg authored
      We pretended that TIMEDIFF() would always return positive results;
      this gave strange results in comparisons of the TIMEDIFF(low,hi)<TIME(0)
      type that rendered a negative result, but still gave false in comparison.
      We also inadvertantly dropped the sign when converting times to
      decimal.
      
      CAST(time AS DECIMAL) handles signs of the times correctly.
      TIMEDIFF() marked up as signed. Time/date comparison code switched to
      signed for clarity.
      
      mysql-test/r/func_sapdb.result:
        show that time-related comparisons work with negative
        time values now.
        show that converting time to DECIMAL no longer drops sign.
      mysql-test/t/func_sapdb.test:
        show that time-related comparisons work with negative
        time values now.
        show that converting time to DECIMAL no longer drops sign.
      sql/item_cmpfunc.cc:
        signed returns
      sql/item_cmpfunc.h:
        signed now (time/date < > =)
      sql/item_func.cc:
        signed now
      sql/item_timefunc.h:
        Functions such as TIMEDIFF() return signed results!
        The file-comments pretended we were doing that all along, anyway...
      sql/my_decimal.cc:
        heed sign when converting time to my_decimal;
        times may actually be negative!
        Needed for SELECT CAST(time('-73:42:12') AS DECIMAL);
      sql/mysql_priv.h:
        using signed for dates and times now
      9910b867
  4. 25 Nov, 2008 6 commits
    • Vladislav Vaintroub's avatar
      merge · ae64e904
      Vladislav Vaintroub authored
      ae64e904
    • Matthias Leich's avatar
      Merge of fix for bug 40889 into GCA tree · 9b7f982e
      Matthias Leich authored
      9b7f982e
    • Matthias Leich's avatar
      Merge fix for bug 39854 into GCA tree · 66e1ba8a
      Matthias Leich authored
      66e1ba8a
    • Ingo Struewing's avatar
      Bug#41002 - symlink.test fails on symlinked datadir · db628089
      Ingo Struewing authored
      symlink.test failed when run in an environment that has mysql-test/var
      symlinked to elsewhere, e.g. a memory file system. This is the case
      when running mysql-test-run --mem.
      
      In this case the server does not detect that the directory specified
      with a DATA/INDEX DIRECTORY clause is within its data home directory.
      This problem was reported as Bug#39277 (Creation of table with data
      and/or index files in data home directory succeeds). It was decided
      that it will not be fixed in 5.1. Hence, the current behavior is
      accepted for 5.1. It will be fixed in 6.0 though.
      
      Fixed the test case so that it works in both environments. 1. When no
      symbolic link is involved, the server notices that the data/index
      directory is in its data hone directory and rejects the CREATE/ALTER
      TABLE statement. 2. When the data home directory is symlinked, it
      does not notice the problem and executes the statement sucessfully.
      
      
      mysql-test/r/symlink.result:
        Bug#41002 - symlink.test fails on symlinked datadir
        Updated test result.
      mysql-test/t/symlink.test:
        Bug#41002 - symlink.test fails on symlinked datadir
        Adjusted the test case to the accepted behavior.
        It needs to accept success and failure of some statements.
      db628089
    • Matthias Leich's avatar
      Merge of fix for bug 40644 into GCA tree · 57fec26b
      Matthias Leich authored
      57fec26b
    • Matthias Leich's avatar
      Merge of fix for bug 39979 into GCA tree · 3dd8f23a
      Matthias Leich authored
      3dd8f23a