1. 05 Dec, 2006 1 commit
  2. 28 Nov, 2006 1 commit
    • unknown's avatar
      Bug#20836 Selecting into variables results in wrong results being returned · 88121bce
      unknown authored
      This error is displayed anytime the SELECT statement needs a temp table to
      return correct results because the object (select_dumpvar) that represents
      variables named in the INTO clause stored the results before the temp
      table was considered.  The problem was fixed by creating the necessary
      Item_func_set_user_var objects once the correct data is ready.
      
      
      mysql-test/r/distinct.result:
        Bug#20836 Selecting into variables results in wrong results being returned
        - Added results
      mysql-test/t/distinct.test:
        Bug#20836 Selecting into variables results in wrong results being returned
        - Added various Selects that use the INTO statement and a temp table.
        - Added Select Into Outfile variant tests also.
      sql/sql_class.cc:
        Bug#20836 Selecting into variables results in wrong results being returned
        - The select_dumpvar variable created a Item_func_set_user_var too early
        and once set, it was not possible to change.  The Item_func_set_user_var
        is now created once the final results are available.
      sql/sql_class.h:
        Bug#20836 Selecting into variables results in wrong results being returned
        - Removed unnecessary object members.
      88121bce
  3. 09 Nov, 2006 1 commit
    • 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
  4. 08 Nov, 2006 5 commits
  5. 07 Nov, 2006 7 commits
  6. 06 Nov, 2006 2 commits
  7. 03 Nov, 2006 1 commit
  8. 02 Nov, 2006 8 commits
  9. 01 Nov, 2006 4 commits
  10. 31 Oct, 2006 5 commits
  11. 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
  12. 27 Oct, 2006 1 commit