1. 01 Feb, 2007 2 commits
  2. 31 Jan, 2007 1 commit
    • unknown's avatar
      Bug#25341: "init.d/mysql stop" may timeout too quickly · f50bf872
      unknown authored
      Thirty five seconds is entirely too short of a period to wait for a server 
      to exit.  Instead, make a valliant effort to make sure it exits, and only
      give up after a very long period (arbitrarily chosen as 15 minutes).
      
      In addition, if we're being asked to restart the server, then don't try
      to start again if trying to stop the server failed.
      ---
      Return zero by default, when the script exits.
      ---
      Set return-/exit-value based on whether we successfully dealt with the 
      PID-file.
      ---
      Don't wait that long if the program we're waiting on exits.  It 
      should only exit if the server is not going to be started.
      
      
      support-files/mysql.server.sh:
        Raise timeout to a pessimistic value, 15 minutes.  We should only be willing
        to give up and exit after an extraordinary effort.
        ---
        Return zero by default, when the script exits.
        ---
        Set return-/exit-value based on whether we successfully dealt with the 
        PID-file.
        ---
        Don't wait that long if the program we're waiting on exits.  It 
        should only exit if the server is not going to be started.
      f50bf872
  3. 26 Dec, 2006 1 commit
    • unknown's avatar
      In func_group.test, round the results of std() for some calls, because... · 1fdda689
      unknown authored
      In func_group.test, round the results of std() for some calls, because Windows' sqrt() function appears to return fewer "significant" digits than the Unix implementations.
      This is for bug #22555.
      
      
      mysql-test/r/func_group.result:
        Round the results of std() for some calls, because Windows' sqrt() function appears to return fewer "significant" digits than the Unix implementations.
        This is for bug #22555.
      mysql-test/t/func_group.test:
        Round the results of std() for some calls, because Windows' sqrt() function appears to return fewer "significant" digits than the Unix implementations.
        This is for bug #22555.
      1fdda689
  4. 22 Dec, 2006 17 commits
  5. 21 Dec, 2006 4 commits
    • unknown's avatar
      Merge neptunus:mysql/mysql-4.1-maint · 2218cbb0
      unknown authored
      into  pilot.mysql.com:/home/msvensson/mysql/mysql-4.1-maint
      
      
      2218cbb0
    • unknown's avatar
      Bug #23125 [patch] trigger test fails when run as root · b461c41c
      unknown authored
       - Skip tests using chmod when running as root
      
      
      mysql-test/t/information_schema_chmod.test:
        Use mysqltest builtin "chmode"
      mysql-test/t/mysqltest.test:
        Dont run as root - test chmod
      mysql-test/t/rpl_rotate_logs.test:
        Use mysqltest builtin "chmode"
        Use 'write_file' and 'chmod' instead of system
      mysql-test/t/trigger.test:
        Don't run as root
        Use 'write_file' and 'chmod'
      mysql-test/t/varbinary.test:
        Don't run as root
      b461c41c
    • unknown's avatar
      Bug#24148 regression tests hang with SSL enabled · fd988f5b
      unknown authored
       - Don't call SSL_shutdown a second time
      
      
      vio/viossl.c:
        SSL_shutdown might return 0 indicating that it should be called once
        again for a graceful shutdown. Since the socket are going to be closed
        anyway ther is no need for the second call.
      fd988f5b
    • unknown's avatar
      configure.in : Update of the NDB version number was missing, do it. · 377cfb8b
      unknown authored
      
      configure.in:
        Fix an omission: Version number for NDB is still kept separate (up to 5.0)
        and must be changed in sync with the general version number in AM_INIT_AUTOMAKE.
      377cfb8b
  6. 20 Dec, 2006 13 commits
  7. 19 Dec, 2006 2 commits
    • unknown's avatar
      Added innodb_rollback_on_timeout option to restore the 4.1 · 47b0a0b0
      unknown authored
      InnoDB timeout behavior (Bug #24200)
      
      
      mysql-test/t/innodb_mysql-master.opt:
        Set --innodb-lock-wait-timeout=2, since test for bug #24200 times out.
        
        This *could* cause random test failures if some long-running transaction concurrency is being tested.  However, such a test really should go in innodb-big or some other test file.
      47b0a0b0
    • unknown's avatar
      Bug #24947: REPEAT function returns NULL when passed a field as the count parameter · f8920dd5
      unknown authored
      Handling of large signed/unsigned values was not consistent, so some string functions could return bogus results.
      The current fix is to simply patch up the val_str() methods for those string items.
      It would be good clean this code up in general, to make similar problems much harder to make.  This is left as an exercise for the reader.
      
      
      mysql-test/r/func_str.result:
        Update test results for bug #24947
      mysql-test/t/func_str.test:
        Add test case for bug #24947
      sql/item_strfunc.cc:
        Adjust some string function Items' val_str() methods to handle large signed/unsigned arguments properly
      f8920dd5