1. 29 Mar, 2007 40 commits
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.1-new-maint · 13f25e1c
      unknown authored
      into  pilot.blaudden:/home/msvensson/mysql/mysql-5.1-maint
      
      13f25e1c
    • unknown's avatar
      Merge quadxeon.mysql.com:/benchmarks/ext3/TOSAVE/tsmith/bk/maint/50 · fa7be984
      unknown authored
      into  quadxeon.mysql.com:/benchmarks/ext3/TOSAVE/tsmith/bk/maint/51
      
      fa7be984
    • unknown's avatar
      Merge pilot.blaudden:/home/msvensson/mysql/bug24121/my51-bug24121 · 1030e174
      unknown authored
      into  pilot.blaudden:/home/msvensson/mysql/mysql-5.1-maint
      
      1030e174
    • unknown's avatar
      Merge tsmith@bk-internal.mysql.com:/home/bk/mysql-5.0-maint · 77ace23b
      unknown authored
      into  quadxeon.mysql.com:/benchmarks/ext3/TOSAVE/tsmith/bk/maint/50
      
      77ace23b
    • unknown's avatar
      Merge tsmith@bk-internal.mysql.com:/home/bk/mysql-5.1-maint · ba766f01
      unknown authored
      into  quadxeon.mysql.com:/benchmarks/ext3/TOSAVE/tsmith/bk/maint/51
      
      
      mysql-test/r/strict.result:
        Auto merged
      mysql-test/t/openssl_1.test:
        Auto merged
      mysql-test/t/strict.test:
        Auto merged
      sql/field.cc:
        Auto merged
      sql/field.h:
        Auto merged
      ba766f01
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.0-maint · 71598e5b
      unknown authored
      into  pilot.blaudden:/home/msvensson/mysql/mysql-5.0-maint
      
      71598e5b
    • unknown's avatar
      Merge quadxeon.mysql.com:/benchmarks/ext3/TOSAVE/tsmith/bk/maint/50 · 8248d756
      unknown authored
      into  quadxeon.mysql.com:/benchmarks/ext3/TOSAVE/tsmith/bk/maint/51
      
      
      mysql-test/r/func_group.result:
        Auto merged
      mysql-test/t/func_group.test:
        Auto merged
      sql/item.h:
        Auto merged
      sql/item_sum.cc:
        Auto merged
      8248d756
    • unknown's avatar
      create.result: · f13c7a10
      unknown authored
        post-merge test result fixup
      
      
      mysql-test/r/create.result:
        post-merge test result fixup
      f13c7a10
    • unknown's avatar
      Merge tsmith@bk-internal.mysql.com:/home/bk/mysql-5.0-maint · 42c2aec1
      unknown authored
      into  quadxeon.mysql.com:/benchmarks/ext3/TOSAVE/tsmith/bk/maint/50
      
      42c2aec1
    • unknown's avatar
      Merge tsmith@bk-internal.mysql.com:/home/bk/mysql-5.1-maint · 5a6ddf71
      unknown authored
      into  quadxeon.mysql.com:/benchmarks/ext3/TOSAVE/tsmith/bk/maint/51
      
      5a6ddf71
    • unknown's avatar
      Merge quadxeon.mysql.com:/benchmarks/ext3/TOSAVE/tsmith/bk/maint/50 · 93a7bdb9
      unknown authored
      into  quadxeon.mysql.com:/benchmarks/ext3/TOSAVE/tsmith/bk/maint/51
      
      
      mysql-test/t/openssl_1.test:
        Auto merged
      sql-common/my_time.c:
        Auto merged
      sql/table.cc:
        Auto merged
      storage/myisam/mi_open.c:
        Auto merged
      mysql-test/r/create.result:
        Manual merge
      mysql-test/t/create.test:
        Manual merge
      93a7bdb9
    • unknown's avatar
      Merge pilot.blaudden:/home/msvensson/mysql/mysql-5.0-maint · 9a75e353
      unknown authored
      into  pilot.blaudden:/home/msvensson/mysql/mysql-5.1-maint
      
      
      mysql-test/r/strict.result:
        Auto merged
      mysql-test/t/openssl_1.test:
        Auto merged
      mysql-test/t/strict.test:
        Auto merged
      sql/field.cc:
        Auto merged
      sql/field.h:
        Auto merged
      9a75e353
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.1-new-maint · 62b45223
      unknown authored
      into  pilot.blaudden:/home/msvensson/mysql/mysql-5.1-maint
      
      62b45223
    • unknown's avatar
      Merge quadxeon.mysql.com:/benchmarks/ext3/TOSAVE/tsmith/bk/maint/41 · 4e7a041e
      unknown authored
      into  quadxeon.mysql.com:/benchmarks/ext3/TOSAVE/tsmith/bk/maint/50
      
      
      myisam/mi_open.c:
        Auto merged
      sql-common/my_time.c:
        Auto merged
      sql/table.cc:
        Auto merged
      mysql-test/r/create.result:
        Manual merge
      mysql-test/t/create.test:
        Manual merge
      4e7a041e
    • unknown's avatar
      Merge pilot.blaudden:/home/msvensson/mysql/bug26837/my51-bug26837 · 8ecdabe9
      unknown authored
      into  pilot.blaudden:/home/msvensson/mysql/mysql-5.1-maint
      
      8ecdabe9
    • unknown's avatar
      ndb_gis.result: · 38ecf991
      unknown authored
        post-merge fixup of test result
      
      
      mysql-test/r/ndb_gis.result:
        post-merge fixup of test result
      38ecf991
    • unknown's avatar
      Merge tsmith@bk-internal.mysql.com:/home/bk/mysql-5.1-maint · 5d2de6eb
      unknown authored
      into  quadxeon.mysql.com:/benchmarks/ext3/TOSAVE/tsmith/bk/maint/51
      
      
      mysql-test/r/strict.result:
        Auto merged
      mysql-test/r/type_date.result:
        Auto merged
      mysql-test/t/strict.test:
        Auto merged
      sql/field.cc:
        Auto merged
      sql/field.h:
        Auto merged
      5d2de6eb
    • unknown's avatar
      Merge tsmith@bk-internal.mysql.com:/home/bk/mysql-5.0-maint · f50183ab
      unknown authored
      into  quadxeon.mysql.com:/benchmarks/ext3/TOSAVE/tsmith/bk/maint/50
      
      f50183ab
    • unknown's avatar
      Merge pilot.blaudden:/home/msvensson/mysql/bug26837/my50-bug26837 · 6e752918
      unknown authored
      into  pilot.blaudden:/home/msvensson/mysql/mysql-5.0-maint
      
      6e752918
    • unknown's avatar
      Merge pilot.blaudden:/home/msvensson/mysql/bug26837/my50-bug26837 · 43160551
      unknown authored
      into  pilot.blaudden:/home/msvensson/mysql/bug26837/my51-bug26837
      
      
      sql/log_event.cc:
        Auto merged
      43160551
    • unknown's avatar
      Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-5.0-maint · a1c7d83f
      unknown authored
      into  mysql.com:/home/ram/work/b21976/my50-b21976
      
      a1c7d83f
    • unknown's avatar
      Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-5.1-maint · 2880f10b
      unknown authored
      into  mysql.com:/home/ram/work/b21976/my51-b21976
      
      2880f10b
    • unknown's avatar
      Merge quadxeon.mysql.com:/benchmarks/ext3/TOSAVE/tsmith/bk/maint/50 · 00f6ec7c
      unknown authored
      into  quadxeon.mysql.com:/benchmarks/ext3/TOSAVE/tsmith/bk/maint/51
      
      
      BitKeeper/deleted/.del-bdb_gis.result:
        Auto merge
      mysql-test/include/gis_generic.inc:
        Auto merge
      mysql-test/r/archive_gis.result:
        ?
        Auto merge
      mysql-test/r/innodb_gis.result:
        Auto merge
      mysql-test/r/ndb_gis.result:
        Manual merge
      mysql-test/r/strict.result:
        Auto merge
      mysql-test/r/type_date.result:
        Auto merge
      mysql-test/t/strict.test:
        Auto merge
      sql/field.cc:
        Auto merge
      sql/field.h:
        Auto merge
      00f6ec7c
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.1-new-maint · 8d3dc813
      unknown authored
      into  pilot.blaudden:/home/msvensson/mysql/mysql-5.1-maint
      
      
      sql/log.cc:
        Auto merged
      8d3dc813
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.0-maint · 0d40d051
      unknown authored
      into  pilot.blaudden:/home/msvensson/mysql/mysql-5.0-maint
      
      0d40d051
    • unknown's avatar
      Merge pilot.blaudden:/home/msvensson/mysql/bug25309/my51-bug25309 · b83aec02
      unknown authored
      into  pilot.blaudden:/home/msvensson/mysql/mysql-5.1-maint
      
      
      mysql-test/t/openssl_1.test:
        Auto merged
      vio/viosslfactories.c:
        Auto merged
      b83aec02
    • unknown's avatar
      Merge pilot.blaudden:/home/msvensson/mysql/bug25309/my50-bug25309 · b1e17c0c
      unknown authored
      into  pilot.blaudden:/home/msvensson/mysql/mysql-5.0-maint
      
      
      mysql-test/t/openssl_1.test:
        Auto merged
      b1e17c0c
    • unknown's avatar
      Merge pilot.blaudden:/home/msvensson/mysql/bug25309/my50-bug25309 · f8321e26
      unknown authored
      into  pilot.blaudden:/home/msvensson/mysql/bug25309/my51-bug25309
      
      
      vio/viosslfactories.c:
        Auto merged
      f8321e26
    • unknown's avatar
      Merge pilot.blaudden:/home/msvensson/mysql/mysql-5.0-maint · 78aa49d1
      unknown authored
      into  pilot.blaudden:/home/msvensson/mysql/mysql-5.1-maint
      
      
      mysql-test/lib/mtr_cases.pl:
        Auto merged
      mysql-test/mysql-test-run.pl:
        Merge 5.0->5.1
      78aa49d1
    • unknown's avatar
      Make the script detect --default-storage-engine=x and · 73d1a711
      unknown authored
      mark the test as requiring that storage engine(if we need to do that)
      Make --ndb and --with-ndbcluster and alias for
      --mysqld=--default-storage-engine=ndbcluster
      
      73d1a711
    • unknown's avatar
      gis_generic test cases: · 341f6151
      unknown authored
        Revert test case to NOT define any keys; the NDB warning can be handled, and ARCHIVE does not allow indexes
      
      
      mysql-test/include/gis_generic.inc:
        Revert test case to NOT define any keys; the NDB warning can be handled, and ARCHIVE does not allow indexes
      mysql-test/r/archive_gis.result:
        Revert test case to NOT define any keys; the NDB warning can be handled, and ARCHIVE does not allow indexes
      mysql-test/r/bdb_gis.result:
        Revert test case to NOT define any keys; the NDB warning can be handled, and ARCHIVE does not allow indexes
      mysql-test/r/innodb_gis.result:
        Revert test case to NOT define any keys; the NDB warning can be handled, and ARCHIVE does not allow indexes
      mysql-test/r/ndb_gis.result:
        Revert test case to NOT define any keys; the NDB warning can be handled, and ARCHIVE does not allow indexes
      341f6151
    • unknown's avatar
      Merge tsmith@bk-internal.mysql.com:/home/bk/mysql-5.0-maint · 88994bcf
      unknown authored
      into  quadxeon.mysql.com:/benchmarks/ext3/TOSAVE/tsmith/bk/maint/50
      
      88994bcf
    • unknown's avatar
      Merge mysql.com:/home/ram/work/mysql-5.0-maint · ebefadff
      unknown authored
      into  mysql.com:/home/ram/work/b21976/my50-b21976
      
      
      sql/item.h:
        Auto merged
      mysql-test/r/func_group.result:
        merging
      mysql-test/t/func_group.test:
        merging
      sql/item_sum.cc:
        merging
      ebefadff
    • unknown's avatar
      Merge mysql.com:/home/ram/work/b21976/my50-b21976 · e8c46094
      unknown authored
      into  mysql.com:/home/ram/work/b21976/my51-b21976
      
      
      sql/item.h:
        Auto merged
      mysql-test/r/func_group.result:
        merging
      mysql-test/t/func_group.test:
        merging
      sql/item_sum.cc:
        merging
      e8c46094
    • unknown's avatar
      Merge mysql.com:/home/ram/work/mysql-5.0-maint · 68453b77
      unknown authored
      into  mysql.com:/home/ram/work/b26359/b26359.5.0
      
      
      mysql-test/r/strict.result:
        Auto merged
      mysql-test/t/strict.test:
        Auto merged
      sql/field.cc:
        Auto merged
      sql/field.h:
        Auto merged
      68453b77
    • unknown's avatar
      Merge tsmith.mysql.internal:/home/tsmith/m/inno/mar28/51 · 1c457067
      unknown authored
      into  quadxeon.mysql.com:/benchmarks/ext3/TOSAVE/tsmith/bk/maint/51
      
      1c457067
    • unknown's avatar
      Merge siva.hindu.god:/home/tsmith/m/inno/mar28/50 · 98aebe44
      unknown authored
      into  siva.hindu.god:/home/tsmith/m/inno/mar28/51
      
      
      storage/innobase/dict/dict0dict.c:
        null merge
      storage/innobase/os/os0file.c:
        null merge
      storage/innobase/row/row0undo.c:
        null merge
      98aebe44
    • unknown's avatar
      Applied innodb-5.1-ss1381 snapshot · f034778e
      unknown authored
      Bug #27381: InnoDB exits when attempting to rename table to non-existant database
        Fix Bug#27381 by calling os_file_handle_error_no_exit() instead of
        os_file_handle_error().
      
      
      mysql-test/t/innodb.test:
        Applied innodb-5.1-ss1381 snapshot
        
        Revision r1373:
        Port r1372 from branches/5.0: Merge a change from MySQL AB, and remove
        the innodb_gis test case.
        
        ChangeSet
          2007/02/19 13:57:06+03:00 kaa@polly.local
          Bug#18743: Several test cases fails if "classic" configuration in 5.0
          The problem happened because those tests were using "cp932" and "ucs2"
          without checking whether these character sets are available.
          This fix moves test parts to make character set specific parts be
          tested only if they are:
          - some parts were moved to "ctype_ucs.test" and "ctype_cp932.test"
          - some parts were moved to the newly added tests "innodb-ucs2.test",
          "mysqlbinglog-cp932.test" and "sp-ucs2.test"
        
        mysql-test/t/innodb.test
          2007/02/19 13:57:02+03:00 kaa@polly.local +0 -222
          Moved ucs2-specific test cases to innodb-ucs2.test
      storage/innobase/Makefile.am:
        Applied innodb-5.1-ss1381 snapshot
        
        Revision r1353:
        Makefile.am: EXTRA_DIST: Add the grammar source files to the
        source distribution of MySQL.
      storage/innobase/dict/dict0dict.c:
        Applied innodb-5.1-ss1381 snapshot
        
        Revision r1350:
        Lock the data dictionary during rollback.  This removes the rare
        debug assertion failure ut_ad(mutex_own(&(dict_sys->mutex))) in
        dict_table_get_on_id() after the rollback following crash recovery.
      storage/innobase/handler/ha_innodb.cc:
        Applied innodb-5.1-ss1381 snapshot
        
        Revision r1377:
        Add static qualifiers to some symbols in ha_innodb.cc that are not
        referenced from other modules.
        
        
        Revision r1380:
        Remove ha_innobase::last_query_id and references to thd->query_id.
        
        MySQL calls external_lock at the beginning and end of a statement
        when it is not calling start_stmt or commit or rollback.  Thus,
        statement boundaries can be (and are already) detected without
        monitoring thd->query_id.
        
        The function innobase_commit() seemingly lacks the call to
        innobase_release_stat_resources(), which should be called at
        the end of every SQL statement.  The call was replaced by
        equivalent statements by Vadim Tkachenko when he implemented
        innodb_commit_concurrency in MySQL 5.0:
        
        http://mysql.bkbits.net:8080/mysql-5.0/?PAGE=patch&REV=1.1886.70.1
        
        
        Revision r1355:
        class ha_innobase: Replace statistic_increment() with ha_statistic_increment().
        
        ha_innobase::change_active_index(): Do not call current_thd unless
        UNIV_DEBUG is defined.
        
        
        Revision r1369:
        Merge a change from MySQL AB:
        
        ChangeSet@1.2409.1.83  2007-03-06 10:36:15-07:00  tsmith@hindu.god
        Bug #26598: Create variable to allow turning off of statistic gathering
        on metadata commands
        
        Add innodb_stats_on_metadata option, which enables gathering
        index statistics when processing metadata commands such as
        SHOW TABLE STATUS.  Default behavior of the server does not
        change (this option is enabled by default).
        
        
        Revision r1342:
        Minor cleanup in ha_innodb.cc.
        
        Remove the unused constants HA_INNOBASE_ROWS_IN_TABLE and
        HA_INNOBASE_RANGE_COUNT.  Declare innobase_active_counter static.
        
        
        Revision r1381:
        innobase_commit(): Correct the comments and formatting that were broken when
        innodb_commit_concurrency was implemented.
        
        
        Revision r1360:
        Minor cleanup.
        
        innobase_query_caching_of_table_permitted(): Make static.
        
        ha_innobase::register_query_cache_table(): Move the function
        definition from ha_innodb.h to ha_innodb.cc.  Add comments.
      storage/innobase/handler/ha_innodb.h:
        Applied innodb-5.1-ss1381 snapshot
        
        Revision r1377:
        Add static qualifiers to some symbols in ha_innodb.cc that are not
        referenced from other modules.
        
        
        Revision r1380:
        Remove ha_innobase::last_query_id and references to thd->query_id.
        
        MySQL calls external_lock at the beginning and end of a statement
        when it is not calling start_stmt or commit or rollback.  Thus,
        statement boundaries can be (and are already) detected without
        monitoring thd->query_id.
        
        The function innobase_commit() seemingly lacks the call to
        innobase_release_stat_resources(), which should be called at
        the end of every SQL statement.  The call was replaced by
        equivalent statements by Vadim Tkachenko when he implemented
        innodb_commit_concurrency in MySQL 5.0:
        
        http://mysql.bkbits.net:8080/mysql-5.0/?PAGE=patch&REV=1.1886.70.1
        
        
        Revision r1369:
        Merge a change from MySQL AB:
        
        ChangeSet@1.2409.1.83  2007-03-06 10:36:15-07:00  tsmith@hindu.god
        Bug #26598: Create variable to allow turning off of statistic gathering
        on metadata commands
        
        Add innodb_stats_on_metadata option, which enables gathering
        index statistics when processing metadata commands such as
        SHOW TABLE STATUS.  Default behavior of the server does not
        change (this option is enabled by default).
        
        
        Revision r1360:
        Minor cleanup.
        
        innobase_query_caching_of_table_permitted(): Make static.
        
        ha_innobase::register_query_cache_table(): Move the function
        definition from ha_innodb.h to ha_innodb.cc.  Add comments.
      storage/innobase/include/trx0trx.h:
        Applied innodb-5.1-ss1381 snapshot
        
        Revision r1344:
        Rename the Boolean field trx->type to trx->is_purge
        and remove the constants TRX_USER and TRX_PURGE.
        
        
        Revision r1343:
        trx_sig_struct: Remove state.  It is always assigned to TRX_SIG_WAITING
        and never tested.
      storage/innobase/os/os0file.c:
        Applied innodb-5.1-ss1381 snapshot
        
        Revision r1352:
        Fix typo in comment in os/os0file.c
        
        Approved by:	heikki
        
        
        
        Revision r1366:
        Fix Bug#27381 by calling os_file_handle_error_no_exit() instead of
        os_file_handle_error().
        
        Approved by:	Heikki
      storage/innobase/row/row0undo.c:
        Applied innodb-5.1-ss1381 snapshot
        
        Revision r1350:
        Lock the data dictionary during rollback.  This removes the rare
        debug assertion failure ut_ad(mutex_own(&(dict_sys->mutex))) in
        dict_table_get_on_id() after the rollback following crash recovery.
      storage/innobase/trx/trx0purge.c:
        Applied innodb-5.1-ss1381 snapshot
        
        Revision r1344:
        Rename the Boolean field trx->type to trx->is_purge
        and remove the constants TRX_USER and TRX_PURGE.
      storage/innobase/trx/trx0trx.c:
        Applied innodb-5.1-ss1381 snapshot
        
        Revision r1344:
        Rename the Boolean field trx->type to trx->is_purge
        and remove the constants TRX_USER and TRX_PURGE.
        
        
        Revision r1343:
        trx_sig_struct: Remove state.  It is always assigned to TRX_SIG_WAITING
        and never tested.
      f034778e
    • unknown's avatar
      Apply innodb-5.0-ss1372 snapshot · db340b7a
      unknown authored
      Bug #27381: InnoDB exits when attempting to rename table to non-existant database
        Fix Bug#27381 by calling os_file_handle_error_no_exit() instead of
        os_file_handle_error().
      
      
      innobase/dict/dict0dict.c:
        Apply innodb-5.0-ss1372 snapshot
        
        Revision r1351:
        branches/5.0: Merge r1350 from trunk:
        
        Lock the data dictionary during rollback.  This removes the rare
        debug assertion failure ut_ad(mutex_own(&(dict_sys->mutex))) in
        dict_table_get_on_id() after the rollback following crash recovery.
      innobase/os/os0file.c:
        Apply innodb-5.0-ss1372 snapshot
        
        Revision r1354:
        branches/5.0: Merge r1352 from trunk:
        (also make indentation the same as in 5.1 to ease further merges)
        
        Fix typo in comment in os/os0file.c
        
        
        
        Revision r1370:
        branches/5.0: Merge r1366 from trunk:
        
        Fix Bug#27381 by calling os_file_handle_error_no_exit() instead of
        os_file_handle_error().
      innobase/row/row0undo.c:
        Apply innodb-5.0-ss1372 snapshot
        
        Revision r1351:
        branches/5.0: Merge r1350 from trunk:
        
        Lock the data dictionary during rollback.  This removes the rare
        debug assertion failure ut_ad(mutex_own(&(dict_sys->mutex))) in
        dict_table_get_on_id() after the rollback following crash recovery.
      db340b7a
    • unknown's avatar
      Merge mysql.com:/home/ram/work/b26359/b26359.5.0 · b31495dd
      unknown authored
      into  mysql.com:/home/ram/work/b26359/b26359.5.1
      
      
      mysql-test/r/strict.result:
        Auto merged
      mysql-test/t/strict.test:
        Auto merged
      mysql-test/r/type_date.result:
        merging
      sql/field.cc:
        merging
      sql/field.h:
        merging
      b31495dd