1. 09 Nov, 2006 2 commits
    • unknown's avatar
      Fix for bug #23653: Crash if last_day('0000-00-00') · 3a75e8bc
      unknown authored
      As get_arg0_date() in the Item_func_last_day::get_date() returns 
      0000-00-00 date sometimes, we have to check ltime->month for 0 after the call.
      
      
      mysql-test/r/func_time.result:
        Fix for bug #23653: Crash if last_day('0000-00-00')
          - test result.
      mysql-test/t/func_time.test:
        Fix for bug #23653: Crash if last_day('0000-00-00')
          - test case.
      sql/item_timefunc.cc:
        Fix for bug #23653: Crash if last_day('0000-00-00')
          - return error if month is 0.
      3a75e8bc
    • unknown's avatar
      This ChangeSet must be null-merged to 5.0. Applied innodb-4.1-ss33 · bfccf21d
      unknown authored
      Fixes:
      - Bug #24089: Race condition in fil_flush_file_spaces()
      
      
      innobase/fil/fil0fil.c:
        Applied innodb-4.1-ss33
        
        Revision r33:
        innodb-4.1: Merge r1002 from innodb/trunk:
        
        fil_flush_file_spaces(): Copy the system->unflushed_spaces list to an
        array while holding the mutex.  This removes the crash-triggering
        race condition that was introduced when fixing Bug 15653.  (Bug #24089)
      bfccf21d
  2. 08 Nov, 2006 5 commits
  3. 07 Nov, 2006 7 commits
  4. 06 Nov, 2006 2 commits
  5. 03 Nov, 2006 1 commit
  6. 02 Nov, 2006 8 commits
  7. 01 Nov, 2006 4 commits
  8. 31 Oct, 2006 5 commits
  9. 30 Oct, 2006 4 commits
    • unknown's avatar
      Merge moonlight.intranet:/home/tomash/src/mysql_ab/mysql-4.1-runtime · 9280d334
      unknown authored
      into  moonlight.intranet:/home/tomash/src/mysql_ab/mysql-4.1-bug21915
      
      9280d334
    • unknown's avatar
      BUG#21915: Changing limits of table_cache when setting max_connections · 96002dcc
      unknown authored
      If the user has specified --max-connections=N or --table-open-cache=M
      options to the server, a warning could be given that some values were
      recalculated, and table-open-cache could be assigned greater value.
      
      Note that both warning and increase of table-open-cache were totally
      harmless.
      
      This patch fixes recalculation code to ensure that table-open-cache will
      be never increased automatically and that a warning will be given only if
      some values had to be decreased due to operating system limits.
      
      No test case is provided because we neither can't predict nor control
      operating system limits for maximal number of open files.
      
      
      sql/mysql_priv.h:
        Add constants for table_cache minimum and default values.
      sql/mysqld.cc:
        Fix max_connections and table_cache_size re-computation.
      96002dcc
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-4.1-maint · 96ac9ff6
      unknown authored
      into  shellback.(none):/home/msvensson/mysql/mysql-4.1-maint
      
      96ac9ff6
    • unknown's avatar
      Bug#18654 Test is timing-dependent and fails from scheduling effects (?) · 5d6e9c5a
      unknown authored
       - Wait in loop with small sleep until tables has been renamed
      
      
      mysql-test/t/rename.test:
        To avoid scheduling effects wait for the tables to be renamed in a loop with small sleeps
        before continuing with tests
      mysql-test/include/wait_for_query_to_suceed.inc:
        New BitKeeper file ``mysql-test/include/wait_for_query_to_suceed.inc''
      5d6e9c5a
  10. 27 Oct, 2006 2 commits