1. 28 Nov, 2008 3 commits
  2. 27 Nov, 2008 24 commits
  3. 26 Nov, 2008 7 commits
    • Patrick Crews's avatar
      merge · 12758f9d
      Patrick Crews authored
      12758f9d
    • Patrick Crews's avatar
      merge · 6fb5957f
      Patrick Crews authored
      6fb5957f
    • Ingo Struewing's avatar
      merge · fd06e3e2
      Ingo Struewing authored
      fd06e3e2
    • Matthias Leich's avatar
      Merge latest Pushes into the GCA tree · ee660618
      Matthias Leich authored
      (no conflicts)
      ee660618
    • Ingo Struewing's avatar
      merge · 3fb68b5f
      Ingo Struewing authored
      3fb68b5f
    • Horst Hunger's avatar
    • Tatiana A. Nurnberg's avatar
      Bug#37553: MySql Error Compare TimeDiff & Time · d096079d
      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
      d096079d
  4. 25 Nov, 2008 6 commits
    • Vladislav Vaintroub's avatar
      merge · bc08b158
      Vladislav Vaintroub authored
      bc08b158
    • Matthias Leich's avatar
      Merge of fix for bug 40889 into GCA tree · 525dccb2
      Matthias Leich authored
      525dccb2
    • Matthias Leich's avatar
      Merge fix for bug 39854 into GCA tree · aa819d1b
      Matthias Leich authored
      aa819d1b
    • Ingo Struewing's avatar
      Bug#41002 - symlink.test fails on symlinked datadir · a8d3f032
      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.
      a8d3f032
    • Matthias Leich's avatar
      Merge of fix for bug 40644 into GCA tree · 1a19341c
      Matthias Leich authored
      1a19341c
    • Matthias Leich's avatar
      Merge of fix for bug 39979 into GCA tree · 53b9d626
      Matthias Leich authored
      53b9d626