1. 11 Jan, 2007 3 commits
    • unknown's avatar
      Merge naruto.:C:/cpp/bug24751/my50-bug24751 · c3f67752
      unknown authored
      into  naruto.:C:/cpp/bug24751/my51-bug24751
      
      
      mysys/mf_iocache.c:
        Auto merged
      c3f67752
    • unknown's avatar
      Merge naruto.:C:/cpp/bug24751/my41-bug24751 · 029d6cf9
      unknown authored
      into  naruto.:C:/cpp/bug24751/my50-bug24751
      
      
      mysys/mf_iocache.c:
        Auto merged
      029d6cf9
    • unknown's avatar
      Bug#24751 - Possible infinit loop in init_io_cache() when insufficient memory · 2cbccbfb
      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.
      2cbccbfb
  2. 11 Dec, 2006 10 commits
  3. 10 Dec, 2006 2 commits
  4. 08 Dec, 2006 16 commits
  5. 07 Dec, 2006 7 commits
    • unknown's avatar
      Having MYSQL_VERSION_ID defined correctly made this KILL_QUERY enum item visible. This is a · 8b5787fa
      unknown authored
      forwards-incompatible change.
      
      
      8b5787fa
    • unknown's avatar
      Bug#17498 failed to put data file in custom directory use "data directory" option · 1267a7fb
      unknown authored
      - Using DATA/INDEX DIRECTORY option on Windows put data/index file into
        default directory because the OS doesn't support readlink().
      - The procedure for changing data/index file directory is 
        different under Windows.
      - With this fix we report a warning if DATA/INDEX option is used,
        but OS doesn't support readlink().
      
      
      mysql-test/r/windows.result:
        - updated result file.
      mysql-test/t/windows.test:
        - Added test case to verify we get warnings if we specify DATA/INDEX
          DIRECTORY on a platform which doesn't support readlink().
      sql/sql_parse.cc:
        - Added warnings if DATA/INDEX DIRECTORY option is used but not supported
          by the target platform.
      1267a7fb
    • unknown's avatar
      Merge jpipes@bk-internal:/home/bk/mysql-5.0-maint · ae9596ad
      unknown authored
      into  shakedown.(none):/home/jpipes/dev/mysql-5.0-maint
      
      
      ae9596ad
    • unknown's avatar
      Merge shakedown.(none):/home/jpipes/dev/bug20246/my41-bug20246 · dae79371
      unknown authored
      into  shakedown.(none):/home/jpipes/dev/mysql-5.0-maint
      
      
      include/mysql.h:
        Auto merged
      dae79371
    • unknown's avatar
      Merge ahristov@bk-internal.mysql.com:/home/bk/mysql-5.1-maint · e54bbaa3
      unknown authored
      into  example.com:/work/mysql-5.1-maint
      
      
      e54bbaa3
    • unknown's avatar
      Additional fix for bug#22369 · 0a22a1b9
      unknown authored
      
      mysql-test/t/events_bugs.test:
        let events_bugs not fail because of timing
      sql/sql_table.cc:
        if the db or name has been changed ALTER_RENAME,
        then fix table_list
        Solution by having the second table added in the parser to the
        list of used tables, won't work because checking of rights of merge
        tables goes over table_list->next_local and checks the rights, so
        we will fail there.
      sql/sql_yacc.yy:
        fix name - prevents ddd from correct working
      0a22a1b9
    • unknown's avatar
      Fix for Bug #20246 (enum mysql_enum_shutdown_level not well-defined in mysql_com.h) · 9e48e73f
      unknown authored
      MYSQL_VERSION_ID is tested before it has been defined.  This leads to
      a warning when compiling with -Wundef and it also will break the
      internal logic of mysql_com.h as soon as MYSQL_VERSION_ID exceeds
      50000.
      
      The fix entailed a simple re-ordering of included files in mysql.h
      
      
      include/mysql.h:
        Fix for Bug #20246 (enum mysql_enum_shutdown_level not well-defined in mysql_com.h)
        
        MYSQL_VERSION_ID is tested before it has been defined.  This leads to
        a warning when compiling with -Wundef and it also will break the
        internal logic of mysql_com.h as soon as MYSQL_VERSION_ID exceeds
        50000.
        
        Placed the #include for mysql_version.h above mysql_com.h to resolve conflict
      9e48e73f
  6. 06 Dec, 2006 2 commits
    • unknown's avatar
      Merge neptunus.(none):/home/msvensson/mysql/mysql-5.0-maint · 1fb5bd37
      unknown authored
      into  neptunus.(none):/home/msvensson/mysql/mysql-5.1-maint
      
      
      client/mysqltest.c:
        Auto merged
      mysys/my_getopt.c:
        Auto merged
      sql/sql_class.cc:
        Auto merged
      sql/sql_class.h:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      mysql-test/t/disabled.def:
        Manual merge
      1fb5bd37
    • unknown's avatar
      Only call mysql_server_end if mysql_server_init has been called. · d5e094d7
      unknown authored
      Remove DBUG_ENTER in my_end
      
      
      client/mysqltest.c:
        Call 'mysql_server_end' as last function in 'free_used_memory'
        Don't use DBUG_VOID_RETURN after mysql_server_end in free_used_memory
        Only call mysql_server_end if mysql_server_init has been called
      d5e094d7