1. 11 Jan, 2007 1 commit
    • unknown's avatar
      Bug#24751 - Possible infinit loop in init_io_cache() when insufficient memory · 9466d6e6
      unknown authored
      - When cache memory can't be allocated size is recaclulated using 3/4 of
        the requested memory. This number is rounded up to the nearest 
        min_cache step. 
        However with the previous implementation the new cache size might
        become bigger than requested because of this rounding and thus we get
        an infinit loop.
      - This patch fixes this problem by ensuring that the new cache size
        always will be smaller on the second and subsequent iterations until
        we reach min_cache.
      
      
      mysys/mf_iocache.c:
        - Added mask to cachesize to ensure that algorithm always produce a 
          smaller cache size than current, until we reach 'min_cache' size.
      9466d6e6
  2. 11 Dec, 2006 1 commit
  3. 08 Dec, 2006 5 commits
    • unknown's avatar
      Bug#19410 Test 'kill' fails on Windows + SCO · 569166d4
      unknown authored
      
      mysql-test/t/kill.test:
        Move the connect of second connection to just before the query to be killed are sent.
        This introduces less variance since the connect time is not included in the delay
        we want between send of query and kill.
      569166d4
    • unknown's avatar
      Add missing space · ead07276
      unknown authored
      ead07276
    • unknown's avatar
      Bug#19410 Test 'kill' fails on Windows + SCO · d7e559dd
      unknown authored
       - Use "mysql_field_count" to determine if there is a need to
         call "mysql_store_result"
      
      
      client/mysqltest.c:
        Only call 'mysql_store_result' if 'mysql_field_count' is greater than 0
        indicating that this query has a result set.  This change is mainly since
        if mysql_store_result fails the value returned by mysql_field_count will be reset.
      d7e559dd
    • unknown's avatar
      Bug#24498 Stack overflow in mysqltest · ecba2302
      unknown authored
       - Thanks to Vasil Dimov for the patch!
      
      
      client/mysqltest.c:
        Use my_snprintf to protect against exceeding size of buff
        Since variable name and valu might not be null terminated it's necessary to
        provide the length of the format specifiers.
      ecba2302
    • unknown's avatar
      0c81ee81
  4. 05 Dec, 2006 6 commits
  5. 04 Dec, 2006 4 commits
  6. 01 Dec, 2006 2 commits
  7. 30 Nov, 2006 4 commits
  8. 29 Nov, 2006 9 commits
  9. 28 Nov, 2006 8 commits
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1 · a61be9aa
      unknown authored
      into  bodhi.local:/opt/local/work/mysql-4.1-runtime
      
      
      libmysql/libmysql.c:
        Auto merged
      libmysqld/lib_sql.cc:
        Auto merged
      sql/item_sum.cc:
        Auto merged
      a61be9aa
    • 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
    • unknown's avatar
      Move the check that $opt_vardir could be created and was writable to the function · 08ff137e
      unknown authored
      where we know how to creat the vardir 
      Remove unused variable
      
      08ff137e
    • unknown's avatar
      Merge neptunus.(none):/home/msvensson/mysql/work/my41-work · 72339228
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/mysql-4.1-maint
      
      
      mysql-test/mysql-test-run.pl:
        Auto merged
      72339228
    • unknown's avatar
      Bug#24335 mysql-test-run.pl fails with ActiveState Perl on Windows · 58fb56bf
      unknown authored
       - Avoid use of mtr_run when executing "mysqld --verbose --help" to find
         version and supported features
      
      
      mysql-test/mysql-test-run.pl:
        Don't use mtr_run when executing "mysqld --verbose --help" to find
        version and supported features.
      58fb56bf
    • unknown's avatar
      Merge neptunus.(none):/home/msvensson/mysql/mysql-4.1 · 542e2d70
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/mysql-4.1-maint
      
      
      client/mysqltest.c:
        Auto merged
      Makefile.am:
        Manual merge
      mysql-test/mysql-test-run.pl:
        Manual merge
      542e2d70
    • unknown's avatar
      Merge neptunus.(none):/home/msvensson/mysql/work/my41-work · 40c0948c
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/mysql-4.1-maint
      
      
      mysql-test/mysql-test-run.pl:
        Auto merged
      40c0948c
    • unknown's avatar
      Look for client binaries also in bin/ directory · ecf04231
      unknown authored
      ecf04231