1. 28 Nov, 2006 1 commit
    • unknown's avatar
      Bug#20836 Selecting into variables results in wrong results being returned · b4aab152
      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.
      b4aab152
  2. 09 Nov, 2006 1 commit
    • unknown's avatar
      This ChangeSet must be null-merged to 5.0. Applied innodb-4.1-ss33 · 870b2e0a
      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)
      870b2e0a
  3. 08 Nov, 2006 5 commits
  4. 07 Nov, 2006 7 commits
  5. 06 Nov, 2006 2 commits
  6. 03 Nov, 2006 1 commit
  7. 02 Nov, 2006 8 commits
  8. 01 Nov, 2006 4 commits
  9. 31 Oct, 2006 5 commits
  10. 30 Oct, 2006 4 commits
    • unknown's avatar
      Merge moonlight.intranet:/home/tomash/src/mysql_ab/mysql-4.1-runtime · 49c9509a
      unknown authored
      into  moonlight.intranet:/home/tomash/src/mysql_ab/mysql-4.1-bug21915
      
      
      49c9509a
    • unknown's avatar
      BUG#21915: Changing limits of table_cache when setting max_connections · 885dc1cb
      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.
      885dc1cb
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-4.1-maint · 9711d722
      unknown authored
      into  shellback.(none):/home/msvensson/mysql/mysql-4.1-maint
      
      
      9711d722
    • unknown's avatar
      Bug#18654 Test is timing-dependent and fails from scheduling effects (?) · c2b8a63c
      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''
      c2b8a63c
  11. 27 Oct, 2006 2 commits