1. 17 Oct, 2006 1 commit
    • unknown's avatar
      Fix for bug #22229: Bug in DATE_ADD() · 4c02f402
      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.
      4c02f402
  2. 13 Oct, 2006 2 commits
    • unknown's avatar
      Merge mysql.com:/usr/home/ram/work/bug23254/my41-bug23254 · 0ace2b44
      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
      0ace2b44
    • unknown's avatar
      Fix for bug #23254: COMPRESS(NULL) makes all futher COMPRESS() calls on same Item return NULL · 60a21d16
      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.
      60a21d16
  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 · e5c2eda4
      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
      e5c2eda4
    • unknown's avatar
      Fixes for embedded server test · d6d46923
      unknown authored
      
      client/mysqltest.c:
        Fix typo
      d6d46923
    • unknown's avatar
      Check that TERM has been set to avoid problem "Error opening · 576fd5a5
      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
      576fd5a5
    • unknown's avatar
      Merge shellback.(none):/home/msvensson/mysql/mysql-4.1-maint · 8b1f416b
      unknown authored
      into  shellback.(none):/home/msvensson/mysql/mysql-5.0-maint
      
      
      mysql-test/mysql-test-run.pl:
        Auto merged
      8b1f416b
    • unknown's avatar
      mtr_im_stop returns 1 if all is well · 6c0ad741
      unknown authored
      6c0ad741
    • unknown's avatar
      Merge shellback.(none):/home/msvensson/mysql/mysql-4.1-maint · 88820b41
      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
      88820b41
    • unknown's avatar
      Improve restart logic all code to detect restart is now in the functions · a0081378
      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
      a0081378
    • unknown's avatar
      Merge shellback.(none):/home/msvensson/mysql/mysql-4.1-maint · ba1f194f
      unknown authored
      into  shellback.(none):/home/msvensson/mysql/mysql-5.0-maint
      
      
      client/mysqltest.c:
        Auto merged
      ba1f194f
    • unknown's avatar
      Fix some bad code in mysqltest.c which cause segfault · 3caef95e
      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.
      3caef95e
  5. 08 Oct, 2006 10 commits
  6. 07 Oct, 2006 4 commits