1. 31 May, 2007 1 commit
    • unknown's avatar
      Bug#28478 - Improper key_cache_block_size corrupts MyISAM tables · 489a3fe4
      unknown authored
      Setting a key_cache_block_size which is not a power of 2
      could corrupt MyISAM tables.
      
      A couple of computations in the key cache code use bit
      operations which do only work if key_cache_block_size
      is a power of 2.
      
      Replaced bit operations by arithmetic operations
      to make key cache able to handle block sizes that are
      not a power of 2.
      
      
      include/keycache.h:
        Bug#28478 - Improper key_cache_block_size corrupts MyISAM tables
        Removed element 'key_cache_shift' from KEY_CACHE after
        the changes in mf_keycache.c made it unused.
      mysql-test/r/key_cache.result:
        Bug#28478 - Improper key_cache_block_size corrupts MyISAM tables
        Added test result
      mysql-test/t/key_cache.test:
        Bug#28478 - Improper key_cache_block_size corrupts MyISAM tables
        Added test
      mysys/mf_keycache.c:
        Bug#28478 - Improper key_cache_block_size corrupts MyISAM tables
        Replaced bit operations by arithmetic operations
        to make key cache able to handle block sizes that are
        not a power of 2.
      489a3fe4
  2. 16 May, 2007 1 commit
    • unknown's avatar
      Bug#23068 - key_cache_block_size is not set or displayes correctly · b9ec849b
      unknown authored
      Command line and configuration file option 'key_cache_block_size'
      was reduced by MALLOC_OVERHEAD (8 in a production server, 36 in a
      debug server) from the user supplied value and restricted it to
      the greatest multiple of 512 less or equal to the reduced value.
      
      This patch changes option 'key_cache_block_size' to not deduce
      MALLOC_OVERHEAD from the input value. However, the restriction
      to a multiple of 512 is still done.
      
      
      sql/mysqld.cc:
        Bug#23068 - key_cache_block_size is not set or displayes correctly
        Changed option 'key_cache_block_size' to not deduce
        MALLOC_OVERHEAD from the input value.
      b9ec849b
  3. 10 May, 2007 1 commit
  4. 28 Apr, 2007 1 commit
    • unknown's avatar
      BUG#27998 - mysqld crashed when executing INSERT DELAYED · 0eaf9739
      unknown authored
                  on a BLACKHOLE table
      
      Using INSERT DELAYED on BLACKHOLE tables could lead to server
      crash.
      
      This happens because delayed thread wants to upgrade a lock,
      but BLACKHOLE tables do not have locks at all.
      
      This patch rejects attempts to use INSERT DELAYED on MERGE
      tables.
      
      
      mysql-test/r/blackhole.result:
        A test case for BUG#27998.
      mysql-test/t/blackhole.test:
        A test case for BUG#27998.
      sql/ha_blackhole.h:
        Removed HA_CAN_INSERT_DELAYED flag from table_flags().
        The insert delayed thread upgrades the lock. Hence it is
        incapable to handle BLACKHOLE tables, which do not have
        locks at all.
      0eaf9739
  5. 26 Apr, 2007 7 commits
  6. 25 Apr, 2007 2 commits
  7. 24 Apr, 2007 15 commits
  8. 23 Apr, 2007 12 commits
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0-maint · 7f439708
      unknown authored
      into  recycle.(none):/src/bug24732/my50-bug24732
      
      
      7f439708
    • unknown's avatar
      Bug#24732 Executables do not include Vista manifests · 1ce0d7c6
      unknown authored
      - Added script to generate application specific manifest.
      - Added new CMake MACRO to add customer build events which will first
      generate a manifest and then embeds that manifest into an executable.
      
      
      BitKeeper/etc/ignore:
        Bug#24732 Executables do not include Vista manifests
        - Revise ignore rules to disallow auto-generated cmake files but to allow
        custom macros defined in a .cmake file.
      CMakeLists.txt:
        Bug#24732 Executables do not include Vista manifests
        - Added logic for EMBED_MANIFESTS configuration option.
      client/CMakeLists.txt:
        Bug#24732 Executables do not include Vista manifests
        - Embed manifest with custom CMake MACRO for client executables.
      extra/CMakeLists.txt:
        Bug#24732 Executables do not include Vista manifests
        - Embed manifest with custom CMake MACRO for my_print_default executable.
      libmysql/CMakeLists.txt:
        Bug#24732 Executables do not include Vista manifests
        - Embed manifest with custom CMake MACRO for myTest executable.
      myisam/CMakeLists.txt:
        Bug#24732 Executables do not include Vista manifests
        - Embed manifest with custom CMake MACRO for myisam executables.
      server-tools/instance-manager/CMakeLists.txt:
        Bug#24732 Executables do not include Vista manifests
        - Embed manifest with custom CMake MACRO for mysqlmanager executable.
      sql/CMakeLists.txt:
        Bug#24732 Executables do not include Vista manifests
        - Embed manifest with custom CMake MACRO for mysqld executable.
      win/README:
        Bug#24732 Executables do not include Vista manifests
        - Added new configuration option documentation.
      win/configure.js:
        Bug#24732 Executables do not include Vista manifests
        - Added new EMBED_MANIFESTS configuration option.
      win/create_manifest.js:
        Bug#24732 Executables do not include Vista manifests
        - Manifest generator.  This script generates a basic manifest.
      win/mysql_manifest.cmake:
        Bug#24732 Executables do not include Vista manifests
        - Define new CMake MACRO for adding Windows manifests to executables.
      1ce0d7c6
    • unknown's avatar
      Merge quadxeon.mysql.com:/benchmarks/ext3/TOSAVE/tsmith/bk/41 · 31b48d64
      unknown authored
      into  quadxeon.mysql.com:/benchmarks/ext3/TOSAVE/tsmith/bk/maint/41
      
      
      31b48d64
    • unknown's avatar
      mysql_upgrade.test: · 68d4ee62
      unknown authored
        Fix minor merge "oopsie"
      
      
      mysql-test/t/mysql_upgrade.test:
        Fix minor merge "oopsie"
      68d4ee62
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-5.0-maint · dc5dd7a2
      unknown authored
      into  recycle.(none):/src/bug25621/my50-bug25621
      
      
      sql/mysqld.cc:
        Auto merged
      dc5dd7a2
    • unknown's avatar
      Bug#25621 Error in my_thread_global_end(): 1 threads didn't exit · 800d74f2
      unknown authored
      - On Windows, connection handlers while exiting properly did not 
      decrement the server's thread count.
      
      
      sql/mysqld.cc:
        Bug#25621 Error in my_thread_global_end(): 1 threads didn't exit
        - Make sure that connection handlers decrement number of threads
        and handlers on Windows.
        - Signal condition variable before unlocking mutex.
      800d74f2
    • unknown's avatar
      Merge debian.(none):/M41/push-4.1 · cc80e5ac
      unknown authored
      into  debian.(none):/M50/push-5.0
      
      
      cc80e5ac
    • unknown's avatar
      Merge debian.(none):/M50/bug14685-5.0 · 08cb8481
      unknown authored
      into  debian.(none):/M50/push-5.0
      
      
      08cb8481
    • unknown's avatar
      Don't copy any subdirs in scripts/ · 83689eb0
      unknown authored
      83689eb0
    • unknown's avatar
      Merge pilot.blaudden:/home/msvensson/mysql/mysql-5.0 · 20b22b40
      unknown authored
      into  pilot.blaudden:/home/msvensson/mysql/mysql-5.0-maint
      
      
      client/mysql.cc:
        Auto merged
      sql/item_cmpfunc.cc:
        Auto merged
      sql/mysql_priv.h:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      20b22b40
    • unknown's avatar
      Add "name of struct" as first arg to comp_sql · b44eee2a
      unknown authored
      Fix "make distcheck"
      
      
      scripts/CMakeLists.txt:
        Add "name of struct" as first arg to comp_sql
      scripts/comp_sql.c:
        Add "name of struct" as first arg to comp_sql
      b44eee2a
    • unknown's avatar
      dbug/dbug_analyze.c : Avoid the unresolved symbol "my_thread_global_init()" · e67c28ca
      unknown authored
                              in a build "--without-server".
      
      Fix for bug#14685
      
      
      dbug/dbug_analyze.c:
        In a build "--without-server", the libraries will be built without threading.
        In this case, "my_thread_global_init()" is missing in the libraries, and the 
        linker will report an unresolved symbol.
        
        Avoid this error by making the call to "my_thread_global_init()" depend on 
        "#ifdef THREAD".
        
        Fix for bug#14685
      e67c28ca