1. 19 May, 2009 8 commits
  2. 18 May, 2009 3 commits
  3. 14 May, 2009 2 commits
    • vasil's avatar
      branches/zip: · 5c2c89e3
      vasil authored
      Add ChangeLog entry for r4994.
      5c2c89e3
    • marko's avatar
      branches/zip: Merge revisions 4976:4994 from branches/5.1: · bc48ebd8
      marko authored
        ------------------------------------------------------------------------
        r4994 | marko | 2009-05-14 15:04:55 +0300 (Thu, 14 May 2009) | 18 lines
      
        branches/5.1: Prevent a race condition in innobase_commit() by ensuring
        that innodb_commit_concurrency>0 remains constant at run time. (Bug #42101)
      
        srv_commit_concurrency: Make this a static variable in ha_innodb.cc.
      
        innobase_commit_concurrency_validate(): Check that innodb_commit_concurrency
        is not changed from or to 0 at run time.  This is needed, because
        innobase_commit() assumes that innodb_commit_concurrency>0 remains constant.
        Without this limitation, the checks for innodb_commit_concurrency>0
        in innobase_commit() should be removed and that function would have to
        acquire and release commit_cond_m at least twice per invocation.
        Normally, innodb_commit_concurrency=0, and introducing the mutex operations
        would mean significant overhead.
      
        innodb_bug42101.test, innodb_bug42101-nonzero.test: Test cases.
      
        rb://123 approved by Heikki Tuuri
        ------------------------------------------------------------------------
      bc48ebd8
  4. 13 May, 2009 2 commits
    • vasil's avatar
      branches/zip: · f42bc56e
      vasil authored
      Add ChangeLog entry for r4977.
      f42bc56e
    • marko's avatar
      branches/zip: Merge revisions 4746:4976 from branches/5.1: · 6ec131d6
      marko authored
        ------------------------------------------------------------------------
        r4976 | marko | 2009-05-13 15:44:54 +0300 (Wed, 13 May 2009) | 6 lines
      
        branches/5.1: Display DB_ROLL_PTR in the COLUMNS section of the
        innodb_table_monitor output.  It was accidentally omitted due to an
        off-by-one loop condition.  (Bug #44320)
      
        rb://116 approved by Heikki Tuuri
        ------------------------------------------------------------------------
      6ec131d6
  5. 29 Apr, 2009 2 commits
    • marko's avatar
      branches/zip: Distinguish temporary tables in MLOG_FILE_CREATE. · bd237c4b
      marko authored
      This addresses Mantis Issue #23 in InnoDB Hot Backup and some
      of MySQL Bug #41609.
      
      In MLOG_FILE_CREATE, we need to distinguish temporary tables, so that
      InnoDB Hot Backup can work correctly.  It turns out that we can do this
      easily, by using a bit of the previously unused parameter for page number.
      (The page number parameter of MLOG_FILE_CREATE has been written as 0 
      ever since MySQL 4.1, which introduced MLOG_FILE_CREATE.)
      
      MLOG_FILE_FLAG_TEMP: A flag for indicating a temporary table in
      the page number parameter of MLOG_FILE_ operations.
      
      fil_op_write_log(): Add the parameter log_flags.
      
      fil_op_log_parse_or_replay(): Add the parameter log_flags.
      Do not replay MLOG_FILE_CREATE when MLOG_FILE_FLAG_TEMP is set in log_flags.
      This only affects ibbackup --apply-log.  InnoDB itself never replays file
      operations.
      
      rb://117 approved by Heikki Tuuri
      bd237c4b
    • marko's avatar
      branches/zip: btr_cur_optimistic_insert(): Remove a redundant condition. · 04dd96ae
      marko authored
      The insert buffer tree is a clustered index.
      04dd96ae
  6. 27 Apr, 2009 1 commit
  7. 23 Apr, 2009 6 commits
  8. 20 Apr, 2009 1 commit
    • marko's avatar
      branches/zip: Cosmetic fixes. · 4718ddd5
      marko authored
      row_unlock_for_mysql(): Add a const qualifier to read-only rec_t*.
      Use dict_index_is_clust().
      
      CMakeLists.txt: svn propset svn:eol-style native.
      4718ddd5
  9. 17 Apr, 2009 9 commits
    • vasil's avatar
      branches/zip: · e6081cf1
      vasil authored
      Add aux config programs to emulate the newly added checks in plug.in
      (from r4678).
      e6081cf1
    • vasil's avatar
      branches/zip: · 25aea25a
      vasil authored
      Add comment and copyright notice to the aux config program.
      25aea25a
    • vasil's avatar
      branches/zip: · 55501722
      vasil authored
      Rename the aux config program and give it a more specific name because
      more are coming.
      55501722
    • vasil's avatar
      branches/zip: · 3b5ac76b
      vasil authored
      Silence a compiler warning.
      3b5ac76b
    • vasil's avatar
      branches/zip: · dd554ccf
      vasil authored
      Include the needed header for memset().
      dd554ccf
    • vasil's avatar
      branches/zip: · 1cf2c958
      vasil authored
      Silence warning about unused variables.
      1cf2c958
    • vasil's avatar
      branches/zip: · 177ccaca
      vasil authored
      Add ChangeLog entry for t4748.
      177ccaca
    • vasil's avatar
      branches/zip: Merge revisions 4710:4746 from branches/5.1: · 06e8e00e
      vasil authored
        ------------------------------------------------------------------------
        r4746 | vasil | 2009-04-18 00:32:08 +0300 (Sat, 18 Apr 2009) | 110 lines
        Changed paths:
           M /branches/5.1/handler/ha_innodb.cc
           M /branches/5.1/include/pars0pars.h
        
        branches/5.1:
        
        Merge a change from MySQL:
        
          ------------------------------------------------------------
          revno: 2728.10.2
          committer: Ignacio Galarza <iggy@mysql.com>
          branch nick: mysql-5.1-bugteam-bug29125
          timestamp: Fri 2009-02-13 11:41:47 -0500
          message:
            Bug#29125 Windows Server X64: so many compiler warnings
            - Remove bothersome warning messages.  This change focuses on the warnings 
            that are covered by the ignore file: support-files/compiler_warnings.supp.
            - Strings are guaranteed to be max uint in length
          modified:
            client/mysql_upgrade.c
            client/mysqladmin.cc
            client/mysqlbinlog.cc
            client/mysqlcheck.c
            client/mysqldump.c
            client/mysqlslap.c
            client/mysqltest.cc
            client/sql_string.cc
            extra/comp_err.c
            extra/yassl/src/buffer.cpp
            extra/yassl/taocrypt/include/block.hpp
            extra/yassl/taocrypt/src/algebra.cpp
            extra/yassl/taocrypt/src/asn.cpp
            include/config-win.h
            libmysql/libmysql.c
            mysys/array.c
            mysys/base64.c
            mysys/charset.c
            mysys/checksum.c
            mysys/default.c
            mysys/default_modify.c
            mysys/hash.c
            mysys/mf_keycache.c
            mysys/mf_tempdir.c
            mysys/my_append.c
            mysys/my_compress.c
            mysys/my_conio.c
            mysys/my_copy.c
            mysys/my_getwd.c
            mysys/my_pread.c
            mysys/my_quick.c
            mysys/my_read.c
            mysys/safemalloc.c
            mysys/string.c
            server-tools/instance-manager/buffer.cc
            server-tools/instance-manager/instance.cc
            server-tools/instance-manager/options.cc
            server-tools/instance-manager/parse.h
            sql-common/client.c
            sql-common/my_user.c
            sql/event_data_objects.cc
            sql/event_parse_data.cc
            sql/events.cc
            sql/gen_lex_hash.cc
            sql/item.h
            sql/item_func.cc
            sql/item_strfunc.cc
            sql/item_timefunc.cc
            sql/lock.cc
            sql/log_event.cc
            sql/log_event.h
            sql/log_event_old.cc
            sql/net_serv.cc
            sql/sp_head.h
            sql/spatial.h
            sql/sql_class.h
            sql/sql_connect.cc
            sql/sql_crypt.cc
            sql/sql_error.cc
            sql/sql_insert.cc
            sql/sql_lex.cc
            sql/sql_lex.h
            sql/sql_load.cc
            sql/sql_prepare.cc
            sql/sql_profile.cc
            sql/sql_repl.cc
            sql/sql_servers.cc
            sql/sql_string.cc
            sql/sql_table.cc
            sql/sql_trigger.cc
            sql/sql_udf.cc
            sql/sql_view.cc
            sql/udf_example.c
            sql/uniques.cc
            storage/archive/azio.c
            storage/archive/azlib.h
            storage/csv/ha_tina.cc
            storage/csv/ha_tina.h
            storage/csv/transparent_file.h
            storage/federated/ha_federated.cc
            storage/federated/ha_federated.h
            storage/heap/hp_write.c
            storage/innobase/handler/ha_innodb.cc
            storage/innobase/include/pars0pars.h
            storage/myisam/ha_myisam.cc
            storage/myisam/mi_check.c
            storage/myisam/mi_packrec.c
            storage/myisam/mi_search.c
            storage/myisam/rt_index.c
            storage/myisammrg/ha_myisammrg.cc
            strings/ctype.c
            strings/my_vsnprintf.c
            tests/bug25714.c
            tests/mysql_client_test.c
      06e8e00e
    • calvin's avatar
      branches/zip: minor changes to CMakeLists.txt · b9c56a17
      calvin authored
      All are non-functional changes:
      - should check for long (not int), spotted by Sunny
      - comment out the project definition, avoiding to generate another
        .sln file.
      b9c56a17
  10. 16 Apr, 2009 3 commits
  11. 15 Apr, 2009 3 commits
    • calvin's avatar
      branches/zip: Use the Windows Interlocked functions for atomic memory · 6fd7b63c
      calvin authored
      access
      
      Mapping the atomic operations to Windows Interlocked functions:
      
      os_compare_and_swap_* to InterlockedCompareExchange(64)
      os_atomic_increment_* to InterlockedExchangeAdd(64)
      os_atomic_test_and_set_byte to InterlockedExchange
      
      In this patch, the legacy code under UNIV_CAN_USE_X86_ASSEMBLER is
      removed all together, and add HAVE_WINDOWS_ATOMICS and
      INNODB_RW_LOCKS_USE_ATOMICS to CMakeLists.txt
      
      This is to address mantis issue#194.
      
      rb://113
      
      Approved by: Marko
      6fd7b63c
    • vasil's avatar
      branches/zip: · 124945b4
      vasil authored
      Add ChangeLog entry for r4543.
      124945b4
    • vasil's avatar
      branches/zip: · f946e6f4
      vasil authored
      Whitespace cleanup in ChangeLog
      f946e6f4