1. 11 Jan, 2007 4 commits
    • unknown's avatar
      Merge siva.hindu.god:/home/tsmith/m/bk/mysql-5.0-build · 44318bbb
      unknown authored
      into  siva.hindu.god:/home/tsmith/m/bk/mysql-5.1-build
      
      
      BitKeeper/deleted/.del-CMakeLists.txt~3:
        Auto merged
      BitKeeper/deleted/.del-README~1:
        Auto merged
      BitKeeper/deleted/.del-configure.js:
        Auto merged
      BitKeeper/deleted/.del-mysql_test_run_new.c~a23ab2c4b28b25ad:
        Auto merged
      mysql-test/mysql-test-run.pl:
        Auto merged
      scripts/mysql_install_db.sh:
        Auto merged
      configure.in:
        Manual merge
      mysql-test/install_test_db.sh:
        Manual merge
      sql/mysqld.cc:
        Manual merge
      44318bbb
    • unknown's avatar
      Merge trift2.:/MySQL/M50/tmp-5.0 · e64f4fde
      unknown authored
      into  trift2.:/MySQL/M51/push-5.1
      
      
      mysys/my_read.c:
        Auto merged
      BitKeeper/deleted/.del-mysqldmax.dsp~5d213fe1c204142e:
        Auto merged
      BitKeeper/deleted/.del-libmysqld.dsp~78dc6a589e5a4149:
        Null merge.
      BitKeeper/deleted/.del-mysql.dsw~7ea9e16395f139f4:
        Null merge.
      BitKeeper/deleted/.del-mysqld.dsp~ffdbf2d234e23e56:
        Null merge.
      BitKeeper/deleted/.del-mysqldemb.dsp~1baf8c0e59ee9f7e:
        Null merge.
      BitKeeper/deleted/.del-mysqlserver.dsp~d99cfb2d291e3785:
        Null merge.
      scripts/make_binary_distribution.sh:
        Null merge, this change is already suppressed in 4.1.
      support-files/MySQL-shared-compat.spec.sh:
        Null merge, this change is already suppressed in 4.1.
      e64f4fde
    • unknown's avatar
      Merge trift2.:/MySQL/M50/tmp1-5.0 · 98cd24b3
      unknown authored
      into  trift2.:/MySQL/M51/push-5.1
      
      
      configure.in:
        Auto merged
      98cd24b3
    • unknown's avatar
      Merge trift2.:/MySQL/M51/mysql-5.1 · 32c535e2
      unknown authored
      into  trift2.:/MySQL/M51/push-5.1
      
      
      mysql-test/mysql-test-run.pl:
        Auto merged
      32c535e2
  2. 10 Jan, 2007 6 commits
    • unknown's avatar
      configure.in: · a4817ace
      unknown authored
        Corrected default for --disable-grant-options
      
      
      configure.in:
        Corrected default for --disable-grant-options
      a4817ace
    • unknown's avatar
      Merge bk@192.168.21.1:mysql-5.0 · c11c3b08
      unknown authored
      into  mysql.com:/d2/hf/mr10/my50-mr10
      
      
      c11c3b08
    • unknown's avatar
      configure.in: · 4ffd49d3
      unknown authored
        Removed line accidently inserted when correcting bug#18526
      
      
      configure.in:
        Removed line accidently inserted when correcting bug#18526
      4ffd49d3
    • unknown's avatar
      Merge mysql.com:/d2/hf/common/my51-common · bd27fcf8
      unknown authored
      into  mysql.com:/d2/hf/mr10/my51-mr10
      
      
      mysql-test/t/csv.test:
        Auto merged
      bd27fcf8
    • unknown's avatar
      Merge mysql.com:/d2/hf/common/my50-common · 380ad35c
      unknown authored
      into  mysql.com:/d2/hf/mr10/my50-mr10
      
      
      380ad35c
    • unknown's avatar
      WL #3670: Compile-time option to remove GRANT-related startup options · c2e9a4af
      unknown authored
      - configure --disable-grant-options defines DISABLE_GRANT_OPTIONS
      - configure.js/cmake also updated
      - if DISABLE_GRANT_OPTIONS is defined, mysqld no longer recognizes:
        --bootstrap
        --init-file
        --skip-grant-tables
      
      Scripts which rely on those three options are modified to check the environment for MYSQLD_BOOTSTRAP; it should be set to the full path of a mysqld which does handle those options.
      
      For example:
      
      $ export MYSQLD_BOOTSTRAP
      $ MYSQLD_BOOTSTRAP=/path/to/full/MySQL/bin/mysqld
      $ mysql_install_db
      $ make test
      
      
      configure.in:
        WL#3670
        
        Add --disable-grant-options
      mysql-test/install_test_db.sh:
        Add MYSQLD_BOOTSTRAP env variable, to enable test suite to work even if mysqld does not accept --bootstrap or --skip-grant-tables.
      mysql-test/mysql-test-run.pl:
        Add MYSQLD_BOOTSTRAP env variable, to enable test suite to work even if mysqld does not accept --bootstrap or --skip-grant-tables.
      mysql-test/mysql_test_run_new.c:
        Mention need for MYSQLD_BOOTSTRAP in a comment, in case this needs to be used with a mysqld which does not accept the --bootstrap option.
      scripts/mysql_install_db.sh:
        Add MYSQLD_BOOTSTRAP env variable, to enable mysqld_install_db to work even if mysqld does not accept --bootstrap or --skip-grant-tables.
      sql/CMakeLists.txt:
        Add DISABLE_GRANT_OPTIONS define
      sql/mysqld.cc:
        Add DISABLE_GRANT_OPTIONS define, which removes the --bootstrap, --init-file, and --skip-grant-tables options
      win/README:
        Document the DISABLE_GRANT_OPTIONS define
      win/configure.js:
        Handle DISABLE_GRANT_OPTIONS
      c2e9a4af
  3. 09 Jan, 2007 9 commits
  4. 08 Jan, 2007 2 commits
    • unknown's avatar
      Changes necessary to build version 4.0.28: · e6e7d0cf
      unknown authored
      - "make_binary_distribution" accepts a dummy "--platform=" argument.
      
      - "MySQL-shared-compat.spec" uses a "version40" define symbol internally.
      
      
      scripts/make_binary_distribution.sh:
        Newer versions of the release build tools call this with a "--platform=" argument
        which we seem not to need in 4.0, but which makes the tool crash (happened on SCO).
        
        Rather than add another version check into the build tools, just accept a "--platform="
        argument and ignore it, just give a message.
      support-files/MySQL-shared-compat.spec.sh:
        The current version of "Do-shared-compat" needs two digits to identify the release families
        (to differ between 4.0 and 4.1), so the variable "version4" must get renamed to "version40".
      e6e7d0cf
    • unknown's avatar
      Merge mjorgensen@bk-internal.mysql.com:/home/bk/mysql-5.1 · d7c7060d
      unknown authored
      into  thorsen-consulting.dk:/Users/mmj/bktrees/mysql-5.1-build
      
      
      d7c7060d
  5. 06 Jan, 2007 2 commits
  6. 05 Jan, 2007 5 commits
    • unknown's avatar
      Merge siva.hindu.god:/home/tsmith/m/inno/jan04/51 · 0e415583
      unknown authored
      into  siva.hindu.god:/home/tsmith/m/bk/51-build
      
      
      storage/innobase/buf/buf0buf.c:
        Auto merged
      storage/innobase/dict/dict0dict.c:
        Auto merged
      storage/innobase/ha/ha0ha.c:
        Auto merged
      storage/innobase/ha/hash0hash.c:
        Auto merged
      storage/innobase/include/hash0hash.h:
        Auto merged
      storage/innobase/lock/lock0lock.c:
        Auto merged
      storage/innobase/log/log0recv.c:
        Auto merged
      0e415583
    • unknown's avatar
      Merge mysql.com:/home/kent/bk/tmp/mysql-5.0-build · 0275fa0e
      unknown authored
      into  mysql.com:/home/kent/bk/tmp/mysql-5.1-build
      
      
      scripts/make_binary_distribution.sh:
        Auto merged
      support-files/mysql.spec.sh:
        - Put back "libmygcc.a", found no real reason it was removed.
        - Add CFLAGS to gcc call with --print-libgcc-file, to make sure the
          correct "libgcc.a" path is returned for the 32/64 bit architecture.
      0275fa0e
    • unknown's avatar
      Merge mysql.com:/home/kent/bk/tmp/mysql-4.1-build · 6f3343ee
      unknown authored
      into  mysql.com:/home/kent/bk/tmp/mysql-5.0-build
      
      
      scripts/make_binary_distribution.sh:
        Auto merged
      6f3343ee
    • unknown's avatar
      mysql.spec.sh, make_binary_distribution.sh: · 7fb6aa34
      unknown authored
        Add CFLAGS to gcc call with --print-libgcc-file, to make sure the
        correct "libgcc.a" path is returned for the 32/64 bit architecture
      
      
      scripts/make_binary_distribution.sh:
        Add CFLAGS to gcc call with --print-libgcc-file, to make sure the
        correct "libgcc.a" path is returned for the 32/64 bit architecture
      support-files/mysql.spec.sh:
        Add CFLAGS to gcc call with --print-libgcc-file, to make sure the
        correct "libgcc.a" path is returned for the 32/64 bit architecture
      7fb6aa34
    • unknown's avatar
      Applied innodb-5.1-ss1039 and innodb-5.1-ss1134 snapshots. · a5868736
      unknown authored
      Fixes:
      - Bug #24712: SHOW TABLE STATUS for file-per-table showing incorrect time fields
      - Bug #24386: Performance degradation caused by instrumentation in mutex_struct
      - Bug #24190: many exportable definitions of field_in_record_is_null
      - Bug #21468: InnoDB crash during recovery with corrupted data pages: XA bug?
      
      
      storage/innobase/buf/buf0buf.c:
        Applied innodb-5.1-ss1039 and innodb-5.1-ss1134 snapshots.
        
        Revision r1045:
        buf_page_init_for_read(): Correct the indentation.
      storage/innobase/buf/buf0flu.c:
        Applied innodb-5.1-ss1039 and innodb-5.1-ss1134 snapshots.
        
        Revision r1038:
        Port r983 from branches/zip: Enclose some more debug code in
        #ifdef UNIV_SYNC_DEBUG to allow the code to be built
        with UNIV_DEBUG but without UNIV_SYNC_DEBUG.
      storage/innobase/dict/dict0dict.c:
        Applied innodb-5.1-ss1039 and innodb-5.1-ss1134 snapshots.
        
        Revision r1124:
        Unify dict_table_get_and_increment_handle_count() with dict_table_get() by
        adding a second parameter, adjust callers.
      storage/innobase/ha/ha0ha.c:
        Applied innodb-5.1-ss1039 and innodb-5.1-ss1134 snapshots.
        
        Revision r1039:
        Port r1034 from branches/zip: Remove some instrumentation and reduce
        the output of SHOW MUTEX STATUS in non-debug builds.  (Bug #24386)
      storage/innobase/ha/hash0hash.c:
        Applied innodb-5.1-ss1039 and innodb-5.1-ss1134 snapshots.
        
        Revision r1039:
        Port r1034 from branches/zip: Remove some instrumentation and reduce
        the output of SHOW MUTEX STATUS in non-debug builds.  (Bug #24386)
      storage/innobase/handler/ha_innodb.cc:
        Applied innodb-5.1-ss1039 and innodb-5.1-ss1134 snapshots.
        
        Revision r1028:
        Merge a change from MySQL AB.
        
        ChangeSet
          2006/11/10 17:22:43+02:00 aelkin@dsl-hkibras-fe30f900-107.dhcp.inet.fi 
          Bug #24190  many exportable definitions of field_in_record_is_null
          
          mysql had several(2) exportable definitions of field_in_record_is_null function.
          
          Fixed with adding static.
        
        storage/innobase/handler/ha_innodb.cc
          2006/11/10 17:22:36+02:00 aelkin@dsl-hkibras-fe30f900-107.dhcp.inet.fi +1 -1
          made static
        
        
        Revision r1008:
        Minor cleanup.
        
        ha_innobase::rnd_pos(): Use correct format in DBUG_PRINT statements.
        
        buf_page_release(): Remove the local variable buf_fix_count.
        
        
        Revision r1039:
        Port r1034 from branches/zip: Remove some instrumentation and reduce
        the output of SHOW MUTEX STATUS in non-debug builds.  (Bug #24386)
        
        
        Revision r1124:
        Unify dict_table_get_and_increment_handle_count() with dict_table_get() by
        adding a second parameter, adjust callers.
        
        Revision r1134:
        Fix a potential bug in ha_innodb.cc:innobase_query_is_update() where the
        function can be called with "current_thd == NULL". Minor non-functional fix
        in log0recv.c
        
        
        Revision r1098:
        Fix bug #24712: SHOW TABLE STATUS for file-per-table showing incorrect
        time fields
        
        
        Revision r1109:
        ha_innodb.cc: Remove unused define MAX_ULONG_BIT.
      storage/innobase/include/btr0sea.h:
        Applied innodb-5.1-ss1039 and innodb-5.1-ss1134 snapshots.
        
        Revision r1088:
        Replace the Latin abbreviation "cf." in comments.
      storage/innobase/include/buf0buf.ic:
        Applied innodb-5.1-ss1039 and innodb-5.1-ss1134 snapshots.
        
        Revision r1008:
        Minor cleanup.
        
        ha_innobase::rnd_pos(): Use correct format in DBUG_PRINT statements.
        
        buf_page_release(): Remove the local variable buf_fix_count.
      storage/innobase/include/data0type.ic:
        Applied innodb-5.1-ss1039 and innodb-5.1-ss1134 snapshots.
        
        Revision r1088:
        Replace the Latin abbreviation "cf." in comments.
      storage/innobase/include/dict0dict.h:
        Applied innodb-5.1-ss1039 and innodb-5.1-ss1134 snapshots.
        
        Revision r1124:
        Unify dict_table_get_and_increment_handle_count() with dict_table_get() by
        adding a second parameter, adjust callers.
      storage/innobase/include/ha0ha.h:
        Applied innodb-5.1-ss1039 and innodb-5.1-ss1134 snapshots.
        
        Revision r1039:
        Port r1034 from branches/zip: Remove some instrumentation and reduce
        the output of SHOW MUTEX STATUS in non-debug builds.  (Bug #24386)
      storage/innobase/include/hash0hash.h:
        Applied innodb-5.1-ss1039 and innodb-5.1-ss1134 snapshots.
        
        Revision r1039:
        Port r1034 from branches/zip: Remove some instrumentation and reduce
        the output of SHOW MUTEX STATUS in non-debug builds.  (Bug #24386)
      storage/innobase/include/sync0rw.h:
        Applied innodb-5.1-ss1039 and innodb-5.1-ss1134 snapshots.
        
        Revision r1039:
        Port r1034 from branches/zip: Remove some instrumentation and reduce
        the output of SHOW MUTEX STATUS in non-debug builds.  (Bug #24386)
      storage/innobase/include/sync0sync.h:
        Applied innodb-5.1-ss1039 and innodb-5.1-ss1134 snapshots.
        
        Revision r1038:
        Port r983 from branches/zip: Enclose some more debug code in
        #ifdef UNIV_SYNC_DEBUG to allow the code to be built
        with UNIV_DEBUG but without UNIV_SYNC_DEBUG.
        
        
        Revision r1037:
        Port r972 from branches/zip: Enclose some debug code in #ifdef UNIV_SYNC_DEBUG.
        The code was previously unused in non-debug builds.
        
        
        Revision r1039:
        Port r1034 from branches/zip: Remove some instrumentation and reduce
        the output of SHOW MUTEX STATUS in non-debug builds.  (Bug #24386)
        
        
        Revision r1084:
        Remove the unused constants SYNC_INFINITE_TIME and SYNC_TIME_EXCEEDED.
      storage/innobase/include/sync0sync.ic:
        Applied innodb-5.1-ss1039 and innodb-5.1-ss1134 snapshots.
        
        Revision r1039:
        Port r1034 from branches/zip: Remove some instrumentation and reduce
        the output of SHOW MUTEX STATUS in non-debug builds.  (Bug #24386)
      storage/innobase/include/univ.i:
        Applied innodb-5.1-ss1039 and innodb-5.1-ss1134 snapshots.
        
        Revision r1006:
        Introduce #define UNIV_LIST_DEBUG for enabling the debug code in
        UT_LIST_REMOVE_CLEAR().
        
        
        Revision r1088:
        Replace the Latin abbreviation "cf." in comments.
        
        
        Revision r1083:
        univ.i: Document the debug flags (UNIV_DEBUG et al).
      storage/innobase/include/ut0lst.h:
        Applied innodb-5.1-ss1039 and innodb-5.1-ss1134 snapshots.
        
        Revision r1006:
        Introduce #define UNIV_LIST_DEBUG for enabling the debug code in
        UT_LIST_REMOVE_CLEAR().
      storage/innobase/lock/lock0lock.c:
        Applied innodb-5.1-ss1039 and innodb-5.1-ss1134 snapshots.
        
        Revision r1009:
        Remove duplicate printing of row lock counts in SHOW INNODB STATUS, and in
        the remaining print, add a comma so it doesn't get combined with the heap
        size. Both problems were introduced in r383.
      storage/innobase/log/log0recv.c:
        Applied innodb-5.1-ss1039 and innodb-5.1-ss1134 snapshots.
        
        Revision r1134:
        Fix a potential bug in ha_innodb.cc:innobase_query_is_update() where the
        function can be called with "current_thd == NULL". Minor non-functional fix
        in log0recv.c
        
        
        Revision r1078:
        Merge r1067:1077 from branches/5.0:
        
        innobase_start_or_create_for_mysql(): Remove unnecessary delay now that
        we moved the setting sync_order_checks_on=TRUE to log0recv.c,
        to the start of the rollback phase in crash recovery.
        
        Fix assertion failure sync0sync.c line 1239
        (the latter ut_error in sync_thread_reset_level())
        in crash recovery when UNIV_SYNC_DEBUG is enabled.
        
        
        Revision r1080:
        Merge r1079 from branches/5.0:
        
        recv_recovery_from_checkpoint_finish(): Add 1 sec delay
        before switching on the sync order checks in crash recovery, so that
        file I/O threads have time to suspend themselves.
      storage/innobase/row/row0ins.c:
        Applied innodb-5.1-ss1039 and innodb-5.1-ss1134 snapshots.
        
        Revision r1124:
        Unify dict_table_get_and_increment_handle_count() with dict_table_get() by
        adding a second parameter, adjust callers.
      storage/innobase/row/row0sel.c:
        Applied innodb-5.1-ss1039 and innodb-5.1-ss1134 snapshots.
        
        Revision r1038:
        Port r983 from branches/zip: Enclose some more debug code in
        #ifdef UNIV_SYNC_DEBUG to allow the code to be built
        with UNIV_DEBUG but without UNIV_SYNC_DEBUG.
        
        
        Revision r1124:
        Unify dict_table_get_and_increment_handle_count() with dict_table_get() by
        adding a second parameter, adjust callers.
      storage/innobase/row/row0upd.c:
        Applied innodb-5.1-ss1039 and innodb-5.1-ss1134 snapshots.
        
        Revision r1124:
        Unify dict_table_get_and_increment_handle_count() with dict_table_get() by
        adding a second parameter, adjust callers.
      storage/innobase/srv/srv0start.c:
        Applied innodb-5.1-ss1039 and innodb-5.1-ss1134 snapshots.
        
        Revision r1038:
        Port r983 from branches/zip: Enclose some more debug code in
        #ifdef UNIV_SYNC_DEBUG to allow the code to be built
        with UNIV_DEBUG but without UNIV_SYNC_DEBUG.
        
        
        Revision r1078:
        Merge r1067:1077 from branches/5.0:
        
        innobase_start_or_create_for_mysql(): Remove unnecessary delay now that
        we moved the setting sync_order_checks_on=TRUE to log0recv.c,
        to the start of the rollback phase in crash recovery.
        
        Fix assertion failure sync0sync.c line 1239
        (the latter ut_error in sync_thread_reset_level())
        in crash recovery when UNIV_SYNC_DEBUG is enabled.
        
        
        Revision r1070:
        Remove another accidentally committed change to srv0start.c.
        The change was accidentally committed with the merge in r1068.
        This revision corresponds to r1051 with a properly merged
        r1067 of branches/5.0.
        
        
        Revision r1068:
        Merge r1067 from branches/5.0:
        
        trx_rollback_for_mysql(), trx_commit_for_mysql():
        Protect the creation of trx_dummy_sess with kernel_mutex.
        This error was introduced in r1046 and r1050.
        
        
        Revision r1069:
        Remove an accidentally committed change to srv0start.c.
        The change was accidentally committed with the merge in r1068.
      storage/innobase/sync/sync0rw.c:
        Applied innodb-5.1-ss1039 and innodb-5.1-ss1134 snapshots.
        
        Revision r1039:
        Port r1034 from branches/zip: Remove some instrumentation and reduce
        the output of SHOW MUTEX STATUS in non-debug builds.  (Bug #24386)
      storage/innobase/sync/sync0sync.c:
        Applied innodb-5.1-ss1039 and innodb-5.1-ss1134 snapshots.
        
        Revision r1038:
        Port r983 from branches/zip: Enclose some more debug code in
        #ifdef UNIV_SYNC_DEBUG to allow the code to be built
        with UNIV_DEBUG but without UNIV_SYNC_DEBUG.
        
        
        Revision r1037:
        Port r972 from branches/zip: Enclose some debug code in #ifdef UNIV_SYNC_DEBUG.
        The code was previously unused in non-debug builds.
        
        
        Revision r1039:
        Port r1034 from branches/zip: Remove some instrumentation and reduce
        the output of SHOW MUTEX STATUS in non-debug builds.  (Bug #24386)
      storage/innobase/trx/trx0roll.c:
        Applied innodb-5.1-ss1039 and innodb-5.1-ss1134 snapshots.
        
        Revision r1049:
        Merge r1048 from branches/5.0:
        
        trx_rollback_for_mysql(): Do not set trx->sess back to NULL.
        This bug was introduced in r1046.
        
        
        Revision r1047:
        Merge r1046 from branches/5.0:
        
        branches/5.0: trx_rollback_for_mysql(): Ensure that trx->sess is non-NULL
        when calling trx_general_rollback_for_mysql().  This removes a segmentation
        fault when rolling back a prepared transaction in XA recovery.  (Bug #21468)
        
        
        Revision r1068:
        Merge r1067 from branches/5.0:
        
        trx_rollback_for_mysql(), trx_commit_for_mysql():
        Protect the creation of trx_dummy_sess with kernel_mutex.
        This error was introduced in r1046 and r1050.
        
        
        Revision r1051:
        Merge r1050 from branches/5.0:
        
        trx_rollback_for_mysql(): Fix the comment introduced in r1046.
        
        trx_commit_for_mysql(): Use the dummy trx->sess also for committing a prepared
        transaction in XA recovery, just in case our code would need the session
        object also in that case (does not seem to need it right now).
      storage/innobase/trx/trx0trx.c:
        Applied innodb-5.1-ss1039 and innodb-5.1-ss1134 snapshots.
        
        Revision r1009:
        Remove duplicate printing of row lock counts in SHOW INNODB STATUS, and in
        the remaining print, add a comma so it doesn't get combined with the heap
        size. Both problems were introduced in r383.
        
        Revision r1068:
        Merge r1067 from branches/5.0:
        
        trx_rollback_for_mysql(), trx_commit_for_mysql():
        Protect the creation of trx_dummy_sess with kernel_mutex.
        This error was introduced in r1046 and r1050.
        
        
        Revision r1051:
        Merge r1050 from branches/5.0:
        
        trx_rollback_for_mysql(): Fix the comment introduced in r1046.
        
        trx_commit_for_mysql(): Use the dummy trx->sess also for committing a prepared
        transaction in XA recovery, just in case our code would need the session
        object also in that case (does not seem to need it right now).
      a5868736
  7. 04 Jan, 2007 10 commits
  8. 02 Jan, 2007 2 commits
    • unknown's avatar
      Merge mysql.com:/d2/hf/common/my50-common · d9ec5a4e
      unknown authored
      into  mysql.com:/d2/hf/common/my51-common
      
      
      mysql-test/r/flush_block_commit_notembedded.result:
        merging
      d9ec5a4e
    • unknown's avatar
      merging · 42a7506d
      unknown authored
      
      mysql-test/r/flush_block_commit_notembedded.result:
        result fixed
      42a7506d