1. 07 Oct, 2010 2 commits
    • Evgeny Potemkin's avatar
      Auto-merged. · 5dc76bfa
      Evgeny Potemkin authored
      5dc76bfa
    • Evgeny Potemkin's avatar
      Bug#57039: constant subtime expression returns incorrect result. · 3c9c7efb
      Evgeny Potemkin authored
      The subtime function wasn't able to produce correct int representation of
      its result. For constant expressions the Item_datetime_cache is used to
      speedup evaluation and Item_datetime_cache expects underlying item to return
      correct int representation of DATETIME value. These two factors combined led
      to a wrong query result.
      
      Now the Item_func_add_time has function val_datetime which performs the
      calculation and saves result into given MYSQL_TIME struct, it also sets
      null_value to appropriate value. val_int and val_str member functions
      convert the result obtained from val_datetime to int or string respectively
      and returns it.
      
      mysql-test/r/func_time.result:
        Added a test case for the bug#57039.
      mysql-test/t/func_time.test:
        Added a test case for the bug#57039.
      sql/item_timefunc.cc:
        Bug#57039: constant subtime expression returns incorrect result.
        Now the Item_func_add_time has function val_datetime which performs the
        calculation and saves result into given MYSQL_TIME struct, it also sets
        null_value to appropriate value. val_int and val_str member functions
        convert the result obtained from val_datetime to int or string respectively
        and returns it.
      sql/item_timefunc.h:
        Bug#57039: constant subtime expression returns incorrect result.
      3c9c7efb
  2. 06 Oct, 2010 4 commits
    • Alexander Nozdrin's avatar
      Fix for Bug#57094 (Copyright notice incorrect?). · 985fa88f
      Alexander Nozdrin authored
      The fix is to:
        - introduce ORACLE_WELCOME_COPYRIGHT_NOTICE define to have a single place
          to specify copyright notice;
        - replace custom copyright notices with ORACLE_WELCOME_COPYRIGHT_NOTICE
          in programs.
      985fa88f
    • Alexander Barkov's avatar
      Bug#55744 GROUP_CONCAT + CASE + ucs return garbage · 401e6c90
      Alexander Barkov authored
      Problem: CASE didn't work with a mixture of different character
      sets in THEN/ELSE in some cases.
      This happened because after character set aggregation
      newly created Item_func_conv_charset items corresponding
      to THEN/ELSE arguments were not put back to args[] array.
      
      Fix:
      put all Item_func_conv_charset back to args[].
      
      
        @ mysql-test/include/ctype_numconv.inc
        @ mysql-test/r/ctype_ucs.result
        Adding tests
      
        @ sql/item_cmpfunc.cc
        Put "agg" back to args[] after character set aggregation.
      401e6c90
    • Vladislav Vaintroub's avatar
      merge · 48b46075
      Vladislav Vaintroub authored
      48b46075
    • Luis Soares's avatar
      BUG#52202: mysqlbinlog_row* fail in daily-trunk on Sol10 · 6c97cdf3
      Luis Soares authored
                 x86_64 debug_max
            
      Removed test cases affected by this bug from experimental 
      list.
      6c97cdf3
  3. 05 Oct, 2010 13 commits
  4. 04 Oct, 2010 21 commits