1. 17 Oct, 2006 1 commit
    • unknown's avatar
      Fix for bug #22229: Bug in DATE_ADD() · 67053b2e
      unknown authored
      From the manual:
      date arithmetic operations require complete dates and do not work with
      incomplete dates such as '2006-07-00' or badly malformed dates.
      
      
      mysql-test/r/func_time.result:
        Fix for bug #22229: Bug in DATE_ADD()
          - test result.
      mysql-test/t/func_time.test:
        Fix for bug #22229: Bug in DATE_ADD()
          - test case.
      sql/item_timefunc.cc:
        Fix for bug #22229: Bug in DATE_ADD()
          - Item_func_str_to_date::get_date() should return NULL if TIME_NO_ZERO_DATE 
            flag is set and year||month||day is 0.
      67053b2e
  2. 13 Oct, 2006 2 commits
    • unknown's avatar
      Merge mysql.com:/usr/home/ram/work/bug23254/my41-bug23254 · 47fc7ad6
      unknown authored
      into  mysql.com:/usr/home/ram/work/bug23254/my50-bug23254
      
      
      sql/item_strfunc.cc:
        Auto merged
      mysql-test/r/func_compress.result:
        SCCS merged
      mysql-test/t/func_compress.test:
        SCCS merged
      47fc7ad6
    • unknown's avatar
      Fix for bug #23254: COMPRESS(NULL) makes all futher COMPRESS() calls on same Item return NULL · 1dcb5963
      unknown authored
      We don't set null_value to 0 in the Item_func_compress::val_str() for 
      not-NULL results.
      
      
      mysql-test/r/func_compress.result:
        Fix for bug #23254: COMPRESS(NULL) makes all futher COMPRESS() calls on same Item return NULL
          - test result.
      mysql-test/t/func_compress.test:
        Fix for bug #23254: COMPRESS(NULL) makes all futher COMPRESS() calls on same Item return NULL
          - test case.
      sql/item_strfunc.cc:
        Fix for bug #23254: COMPRESS(NULL) makes all futher COMPRESS() calls on same Item return NULL
          - set null_value.
      1dcb5963
  3. 12 Oct, 2006 14 commits
  4. 11 Oct, 2006 9 commits
    • unknown's avatar
      Merge shellback.(none):/home/msvensson/mysql/mysql-4.1-maint · a181e59e
      unknown authored
      into  shellback.(none):/home/msvensson/mysql/mysql-5.0-maint
      
      
      client/mysqltest.c:
        Auto merged
      mysql-test/mysql-test-run.pl:
        Auto merged
      a181e59e
    • unknown's avatar
      Fixes for embedded server test · 6efe4250
      unknown authored
      
      client/mysqltest.c:
        Fix typo
      6efe4250
    • unknown's avatar
      Check that TERM has been set to avoid problem "Error opening · ad4b32a9
      unknown authored
      terminal: unknown" when the script is executed using non interactive ssh
      Set TERM to "linux" as default
      
      
      netware/BUILD/mwenv:
        Check that TERM has been set to avoid problem "Error opening
        terminal: unknown" when the script is executed using non interactive ssh
      ad4b32a9
    • unknown's avatar
      Merge shellback.(none):/home/msvensson/mysql/mysql-4.1-maint · 6b6a3f51
      unknown authored
      into  shellback.(none):/home/msvensson/mysql/mysql-5.0-maint
      
      
      mysql-test/mysql-test-run.pl:
        Auto merged
      6b6a3f51
    • unknown's avatar
      mtr_im_stop returns 1 if all is well · 326f9df2
      unknown authored
      326f9df2
    • unknown's avatar
      Merge shellback.(none):/home/msvensson/mysql/mysql-4.1-maint · cd26c322
      unknown authored
      into  shellback.(none):/home/msvensson/mysql/mysql-5.0-maint
      
      
      mysql-test/lib/mtr_cases.pl:
        Auto merged
      mysql-test/mysql-test-run.pl:
        Auto merged
      cd26c322
    • unknown's avatar
      Improve restart logic all code to detect restart is now in the functions · d19cb6dd
      unknown authored
      'run_testcase_need_master/slave_restart'
      Remove the faulty qw
      Only look for mysql_fix_privilege_tables if not windows
      
      
      mysql-test/lib/mtr_cases.pl:
        Move all code to determine when to restart into 'run_testcase_need_master/slave_restart' 
        Add possibility to wite --force-restart in -master.opt file, this will force a restart and
        since master is not started with any special options there is no need to restart
        again afterwards.
      mysql-test/mysql-test-run.pl:
        Remove the qw surrounding ENV{'LD_LIBRARY_PATH'}
        Only look for the sh script mysql_fix_privileges when not on windows
        Remove warnings about using unitialized variables
        Improve the restart logic, eall code to determine when to restart is
        now in run_testcase_need_master_restart and run_testcase_need_slave_restart
      mysql-test/t/bdb-alter-table-2-master.opt:
        Use --force-restart
      mysql-test/t/not_embedded_server-master.opt:
        Use --force-restart
      d19cb6dd
    • unknown's avatar
      Merge shellback.(none):/home/msvensson/mysql/mysql-4.1-maint · 36f2a1ac
      unknown authored
      into  shellback.(none):/home/msvensson/mysql/mysql-5.0-maint
      
      
      client/mysqltest.c:
        Auto merged
      36f2a1ac
    • unknown's avatar
      Fix some bad code in mysqltest.c which cause segfault · 389e04b6
      unknown authored
      
      client/mysqltest.c:
        Remove vsnprintf() and DBUG_PRINT from die() function, as it's not portable to Windows, and it's not allowed to
        call vsnprintf() and then vfprintf() with the same args.
        Can't just print the buffer here, because the buffer is a fixed size.
        If the message is longer than will fit int he buffer, it would get
        truncated on Unix, and the full thing would be printed on Windows.
        This DBUG_PRINT isn't important enough for this hassle, so just get rid
        of it.
      389e04b6
  5. 08 Oct, 2006 10 commits
  6. 07 Oct, 2006 4 commits