1. 16 May, 2006 10 commits
    • unknown's avatar
      Merge poseidon.ndb.mysql.com:/home/tomas/mysql-5.0 · 0f404366
      unknown authored
      into  poseidon.ndb.mysql.com:/home/tomas/mysql-5.1-new-ndb
      
      
      storage/ndb/src/mgmsrv/MgmtSrvr.cpp:
        Auto merged
      storage/ndb/src/ndbapi/SignalSender.cpp:
        Auto merged
      support-files/mysql.spec.sh:
        Auto merged
      storage/ndb/src/mgmsrv/Services.cpp:
        manual merge
      0f404366
    • unknown's avatar
      Merge poseidon.ndb.mysql.com:/home/tomas/mysql-4.1 · f5afd233
      unknown authored
      into  poseidon.ndb.mysql.com:/home/tomas/mysql-5.0
      
      
      ndb/src/mgmsrv/MgmtSrvr.cpp:
        Auto merged
      ndb/src/ndbapi/SignalSender.cpp:
        Auto merged
      support-files/mysql.spec.sh:
        Auto merged
      f5afd233
    • unknown's avatar
      Bug #18591 Repeated "show" and "all status" calls to ndb_mgm causes mgmd to crash · 976deafb
      unknown authored
      - not having lock can cause "block number list" to become corrupt => crash
      - also may result in 2 threads receiving same block no => possble cause of
      Bug #13987 Cluster: Loss of data nodes can cause high CPU usage from ndb_mgmd
      
      
      ndb/src/mgmsrv/MgmtSrvr.cpp:
        ndb: added missing lock of mutex
      976deafb
    • unknown's avatar
      corrected merge · 7cb13aec
      unknown authored
      7cb13aec
    • unknown's avatar
      Merge jonas@perch:src/mysql-4.1 · 9f46b3b5
      unknown authored
      into  poseidon.ndb.mysql.com:/home/tomas/mysql-4.1
      
      
      support-files/mysql.spec.sh:
        Auto merged
      9f46b3b5
    • unknown's avatar
      Merge jonas@perch:src/mysql-5.0 · c1a28709
      unknown authored
      into  poseidon.ndb.mysql.com:/home/tomas/mysql-5.0
      
      
      support-files/mysql.spec.sh:
        Auto merged
      c1a28709
    • unknown's avatar
      Merge poseidon.ndb.mysql.com:/home/tomas/mysql-5.0 · 37b79d90
      unknown authored
      into  poseidon.ndb.mysql.com:/home/tomas/mysql-5.1-new-ndb
      
      
      client/mysql.cc:
        Auto merged
      mysql-test/r/func_str.result:
        Auto merged
      mysql-test/r/rpl_temporary.result:
        Auto merged
      mysql-test/r/select.result:
        Auto merged
      mysql-test/t/rpl_temporary.test:
        Auto merged
      sql/item_strfunc.cc:
        Auto merged
      sql/sql_show.cc:
        Auto merged
      storage/ndb/src/ndbapi/ClusterMgr.cpp:
        Auto merged
      storage/ndb/src/ndbapi/ClusterMgr.hpp:
        Auto merged
      storage/ndb/src/ndbapi/DictCache.hpp:
        Auto merged
      storage/ndb/src/ndbapi/TransporterFacade.hpp:
        Auto merged
      storage/ndb/src/ndbapi/ndb_cluster_connection.cpp:
        Auto merged
      storage/ndb/src/ndbapi/ndb_cluster_connection_impl.hpp:
        Auto merged
      mysql-test/r/information_schema.result:
        manual merge
      mysql-test/t/information_schema.test:
        manual merge
      sql/ha_ndbcluster.cc:
        manual merge
      storage/ndb/include/ndbapi/ndb_cluster_connection.hpp:
        manual merge
      storage/ndb/src/ndbapi/DictCache.cpp:
        manual merge
      37b79d90
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-5.1-new · 17c95456
      unknown authored
      into  poseidon.ndb.mysql.com:/home/tomas/mysql-5.1-new-ndb
      
      
      mysql-test/t/disabled.def:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      sql/set_var.cc:
        Auto merged
      sql/sql_class.cc:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      17c95456
    • unknown's avatar
      Merge mysql.com:/home/tmp_merge · c6b8d346
      unknown authored
      into  mysql.com:/home/mysql-5.1-18997e
      
      
      mysql-test/r/variables.result:
        Auto merged
      mysql-test/t/variables.test:
        Auto merged
      c6b8d346
    • unknown's avatar
      Bug#18997: DATE_ADD and DATE_SUB perform year2K autoconversion magic on 4-digit year value · b41b0fd6
      unknown authored
      if input year for date_add() / date_sub() with INTERVAL is low enough for
      calc_daynr() to possibly return incorrect results (calc_daynr() has no information
      on whether the year is low because it was a two-digit year ('77) or because it
      was a really low four-digit year (0077) and will indiscriminately try to turn the
      value into a four-digit year by adding 1900 or 2000 respectively), the functions
      will now throw NULL.
      
      
      include/my_time.h:
        new define YY_MAGIC_BELOW: if year is below this threshold, magic kicks in in
        calc_daynr(). the idea is to convert two-digit years to four-digit ones, adding
        1900 to values >= YY_PART_YEAR or adding 2000 otherwise.
        current value of YY_MAGIC_BELOW derived from original code in calc_daynr()
      mysql-test/r/func_time.result:
        test where 2 digit -> 4 digit year magic kicks in, and whether we throw NULL when
        it happens
      mysql-test/t/func_time.test:
        test where 2 digit -> 4 digit year magic kicks in, and whether we throw NULL when
        it happens
      sql-common/my_time.c:
        use new const YY_MAGIC_BELOW, apply 2-digit -> 4-digit magic only to years
        below this threshold.
      sql/item_timefunc.cc:
        throw NULL when year in date_add() / date_sub() would be affected by
        2 digit -> 4 digit magic.
      b41b0fd6
  2. 15 May, 2006 20 commits
    • unknown's avatar
      Merge mysql.com:/data0/mysqldev/my/tmp_merge · e8c981c7
      unknown authored
      into  mysql.com:/data0/mysqldev/my/mysql-5.1-new
      
      
      e8c981c7
    • unknown's avatar
      Merge zippy.(none):/home/cmiller/work/mysql/merge/tmp_merge · 10661041
      unknown authored
      into  zippy.(none):/home/cmiller/work/mysql/merge/mysql-5.1-new
      
      
      client/mysql.cc:
        Auto merged
      mysql-test/r/func_time.result:
        Auto merged
      mysql-test/t/mysql.test:
        Auto merged
      sql/item_timefunc.cc:
        Auto merged
      10661041
    • unknown's avatar
      Removed double enum value. · 67bd43b3
      unknown authored
      67bd43b3
    • unknown's avatar
      Merge jamppa@bk-internal.mysql.com:/home/bk/mysql-5.1-new · 650b886b
      unknown authored
      into  a193-229-222-105.elisa-laajakaista.fi:/home/my/bk/mysql-5.1-new
      
      
      650b886b
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-5.1-new · ad32d855
      unknown authored
      into  poseidon.ndb.mysql.com:/home/tomas/mysql-5.1-new-ndb
      
      
      mysql-test/t/disabled.def:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      sql/set_var.cc:
        Auto merged
      sql/sql_parse.cc:
        Auto merged
      ad32d855
    • unknown's avatar
      Merge jamppa@bk-internal.mysql.com:/home/bk/mysql-5.1-new · 781e22d7
      unknown authored
      into  a193-229-222-105.elisa-laajakaista.fi:/home/my/bk/mysql-5.1-new-merge_060509
      
      
      sql/sql_select.cc:
        Auto merged
      781e22d7
    • unknown's avatar
      correction of merge · 326ebe4c
      unknown authored
      326ebe4c
    • unknown's avatar
      ndb: dict cache reference not released as it should · 32b3a9fe
      unknown authored
      
      storage/ndb/src/ndbapi/DictCache.cpp:
        changed dbug printout
      32b3a9fe
    • unknown's avatar
      Merge poseidon.ndb.mysql.com:/home/tomas/mysql-4.1 · 84b8f111
      unknown authored
      into  poseidon.ndb.mysql.com:/home/tomas/mysql-5.0
      
      
      ndb/src/ndbapi/DictCache.cpp:
        Auto merged
      ndb/src/ndbapi/DictCache.hpp:
        Auto merged
      ndb/src/ndbapi/TransporterFacade.hpp:
        Auto merged
      ndb/src/ndbapi/ndb_cluster_connection.cpp:
        Auto merged
      ndb/src/ndbapi/ndb_cluster_connection_impl.hpp:
        Auto merged
      sql/ha_ndbcluster.cc:
        Auto merged
      ndb/include/ndbapi/ndb_cluster_connection.hpp:
        manual merge
      ndb/src/ndbapi/ClusterMgr.cpp:
        manual merge
      ndb/src/ndbapi/ClusterMgr.hpp:
        manual merge
      84b8f111
    • unknown's avatar
      After-merge fixes. · 2e76d50a
      unknown authored
      2e76d50a
    • unknown's avatar
      Fix, or a workaround for Bug#19386 "Multiple alter causes crashed table" · ad7b9569
      unknown authored
      The problem is that in a MyISAM table the following column
      after a varchar field gets corrupted, if varchar field is
      extended.
      
      This should be made to work without a copy in the future, but
      I'm not sure if this code is ready yet. This fix will force copy
      in this case. It will not do any harm to have it here, only makes
      alter table a bit slower in this case. If this should work for
      MyISAM, then the bug is somewhere else in that code.
      
      Until it works, I propose this as a temporary fix or a workaround.
      Test case for the bug has been added.
      
      
      mysql-test/r/alter_table.result:
        Added test case for Bug#19386: Multiple alter causes crashed table.
      mysql-test/t/alter_table.test:
        Added test case for Bug#19386: Multiple alter causes crashed table.
      sql/ha_myisam.cc:
        For MyISAM type, if varchar column is extended, it should return not
        compatible for now. In other words, it forces a copy of the table during
        alter table.
      ad7b9569
    • unknown's avatar
      Merge mysql.com:/usr/local/mysql/mysql-5.0-bug19633 · 049a5800
      unknown authored
      into  mysql.com:/usr/local/mysql/tmp-5.1
      
      
      sql/sp_head.h:
        Auto merged
      sql/sql_class.cc:
        Auto merged
      sql/sp_head.cc:
        SCCS merged
      049a5800
    • unknown's avatar
      Merge mysql.com:/home/alexi/innodb/mysql-5.0-ss547-work · cccd302c
      unknown authored
      into  mysql.com:/home/alexi/innodb/mysql-5.1-ss547
       Null merge
      
      
      sql/ha_innodb.cc:
        Null merge
      storage/innobase/os/os0file.c:
        Null merge
      cccd302c
    • unknown's avatar
      Bug #16875 , correction of previous patch · e3996585
      unknown authored
      e3996585
    • unknown's avatar
      Merge mysql.com:/home/alexi/innodb/mysql-4.1-ss29-work · 889e60da
      unknown authored
      into  mysql.com:/home/alexi/innodb/mysql-5.0-ss547-work
       Null merge
      
      
      innobase/os/os0file.c:
        Null merge
      sql/ha_innodb.cc:
        Null merge
      889e60da
    • unknown's avatar
      Bug #16875 Using stale MySQLD FRM files can cause restored cluster to fail · 37f940ce
      unknown authored
      - invalidate ndb dict cache on cluster disconnect (ClusterMgr.cpp)
      - add check for correct frm on external lock when table cache is found invalid
      
      
      ndb/include/ndbapi/ndb_cluster_connection.hpp:
        Bug #16875 Using stale MySQLD FRM files can cause restored cluster to fail
      ndb/src/ndbapi/ClusterMgr.cpp:
        Bug #16875 Using stale MySQLD FRM files can cause restored cluster to fail
      ndb/src/ndbapi/ClusterMgr.hpp:
        Bug #16875 Using stale MySQLD FRM files can cause restored cluster to fail
      ndb/src/ndbapi/DictCache.cpp:
        Bug #16875 Using stale MySQLD FRM files can cause restored cluster to fail
      ndb/src/ndbapi/DictCache.hpp:
        Bug #16875 Using stale MySQLD FRM files can cause restored cluster to fail
      ndb/src/ndbapi/TransporterFacade.hpp:
        Bug #16875 Using stale MySQLD FRM files can cause restored cluster to fail
      ndb/src/ndbapi/ndb_cluster_connection.cpp:
        Bug #16875 Using stale MySQLD FRM files can cause restored cluster to fail
      ndb/src/ndbapi/ndb_cluster_connection_impl.hpp:
        Bug #16875 Using stale MySQLD FRM files can cause restored cluster to fail
      sql/ha_ndbcluster.cc:
        Bug #16875 Using stale MySQLD FRM files can cause restored cluster to fail
      mysql-test/r/ndb_autodiscover3.result:
        Bug #16875 Using stale MySQLD FRM files can cause restored cluster to fail
      mysql-test/t/ndb_autodiscover3.test:
        Bug #16875 Using stale MySQLD FRM files can cause restored cluster to fail
      37f940ce
    • unknown's avatar
      Applied innodb-5.0-ss547 snapshot. · c55912b0
      unknown authored
       Fix BUG#19542 "InnoDB doesn't increase the Handler_read_prev counter".
      
      
      innobase/os/os0file.c:
        Applied innodb-5.0-ss547 snapshot.
         Check the page trailers also after writing to disk.
         This improves the chances of diagnosing Bug 18886.
         os_file_check_page_trailers(): New function for checking
         that two copies of the LSN stamped on the pages match.
         os_aio_simulated_handle(): Call os_file_check_page_trailers()
         before and after os_file_write().
      sql/ha_innodb.cc:
        Applied innodb-5.0-ss547 snapshot.
         Increment statistic counter in ha_innobase::index_prev().
      c55912b0
    • unknown's avatar
      Applied innodb-4.1-ss29 snapshot. · 8069b05d
      unknown authored
       Fix BUG#19542 "InnoDB doesn't increase the Handler_read_prev counter.
       
      
      
      innobase/os/os0file.c:
        Applied innodb-4.1-ss29 snapshot.
         Check the page trailers also after writing to disk.
         This improves the chances of diagnosing Bug 18886.
         os_file_check_page_trailers(): New function for checking
         that two copies of the LSN stamped on the pages match.
         os_aio_simulated_handle(): Call os_file_check_page_trailers()
         before and after os_file_write().
      sql/ha_innodb.cc:
        Applied innodb-4.1-ss29 snapshot.
         Increment statistic counter in ha_innobase::index_prev().
      8069b05d
    • unknown's avatar
      BUG#18037: Fix stack corruption in THD::rollback_item_tree_changes(). · dccd333e
      unknown authored
        
      Stored procedure execution sometimes placed the address of auto variables
      in the list of Item changes to undo in THD::rollback_item_tree_changes().
      This could cause stack corruption.
      
      
      sql/sp_head.cc:
        Avoid storing address of auto variables in global rollback list, to
        prevent stack memory corruption.
      sql/sp_head.h:
        Avoid storing address of auto variables in global rollback list, to
        prevent stack memory corruption.
      sql/sp_rcontext.cc:
        Avoid storing address of auto variables in global rollback list, to
        prevent stack memory corruption.
      sql/sp_rcontext.h:
        Avoid storing address of auto variables in global rollback list, to
        prevent stack memory corruption.
      sql/sql_class.cc:
        Avoid storing address of auto variables in global rollback list, to
        prevent stack memory corruption.
      dccd333e
    • unknown's avatar
      Bug#16445 ndb, removed workaround in test to see if rewrite of dict cache has... · 811fcf86
      unknown authored
      Bug#16445 ndb, removed workaround in test to see if rewrite of dict cache has worked to remove this bug
      
      
      
      811fcf86
  3. 13 May, 2006 5 commits
    • unknown's avatar
      valgrind.supp: · 3ad33d05
      unknown authored
        Added suppressions for Red Hat AS 4
      
      
      mysql-test/valgrind.supp:
        Added suppressions for Red Hat AS 4
      3ad33d05
    • unknown's avatar
      Merge mysql.com:/home/psergey/tmp_merge3 · 44de69cf
      unknown authored
      into  mysql.com:/home/psergey/mysql-5.1-merge2
      
      
      mysql-test/r/select.result:
        Auto merged
      mysql-test/r/subselect.result:
        Auto merged
      sql/sql_select.cc:
        Auto merged
      sql/table.h:
        Auto merged
      sql/opt_range.cc:
        Manual merge
      44de69cf
    • unknown's avatar
      fix binlog results · bd7e4cad
      unknown authored
      bd7e4cad
    • unknown's avatar
      fix partition test · 964e72b6
      unknown authored
      
      mysql-test/r/partition.result:
        fix results - bad automerge
      964e72b6
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.1-new · 3dd7b034
      unknown authored
      into  xiphis.org:/home/acurtis/mysql-5.1-merge
      
      
      sql/sql_table.cc:
        Auto merged
      3dd7b034
  4. 12 May, 2006 5 commits
    • unknown's avatar
      Merge ngrishakin@bk-internal.mysql.com:/home/bk/mysql-5.1-new · 7a56b6e1
      unknown authored
      into  mysql.com:/home/ndbdev/ngrishakin/mysql-5.1-new
      
      
      BitKeeper/deleted/.del-ndb_partition_key.result~68b9a59cff8c9840:
        Auto merged
      BitKeeper/deleted/.del-ndb_partition_key.test~ed7b15c91f66558d:
        Auto merged
      7a56b6e1
    • unknown's avatar
      .del-ndb_partition_range.result~17fc1db754d4153d: · a02faddc
      unknown authored
        Delete: mysql-test/r/ndb_partition_range.result
      .del-ndb_partition_list.result~7af68cd45e74abf:
        Delete: mysql-test/r/ndb_partition_list.result
      .del-ndb_partition_key.result~68b9a59cff8c9840:
        Delete: mysql-test/r/ndb_partition_key.result
      .del-ndb_partition_error.result~944f84894e323e9:
        Delete: mysql-test/r/ndb_partition_error.result
      .del-ndb_blob_partition.result~fda88ddfc5477a7e:
        Delete: mysql-test/r/ndb_blob_partition.result
      .del-ndb_partition_range.test~af8f9016b6648239:
        Delete: mysql-test/t/ndb_partition_range.test
      .del-ndb_partition_list.test~940289b3d58595ca:
        Delete: mysql-test/t/ndb_partition_list.test
      .del-ndb_partition_key.test~ed7b15c91f66558d:
        Delete: mysql-test/t/ndb_partition_key.test
      .del-ndb_partition_error.test~2da477be29be041f:
        Delete: mysql-test/t/ndb_partition_error.test
      .del-ndb_blob_partition.test~ea99ef9759705ce3:
        Delete: mysql-test/t/ndb_blob_partition.test
      
      
      BitKeeper/deleted/.del-ndb_blob_partition.test~ea99ef9759705ce3:
        Delete: mysql-test/t/ndb_blob_partition.test
      BitKeeper/deleted/.del-ndb_partition_error.test~2da477be29be041f:
        Delete: mysql-test/t/ndb_partition_error.test
      BitKeeper/deleted/.del-ndb_partition_key.test~ed7b15c91f66558d:
        Delete: mysql-test/t/ndb_partition_key.test
      BitKeeper/deleted/.del-ndb_partition_list.test~940289b3d58595ca:
        Delete: mysql-test/t/ndb_partition_list.test
      BitKeeper/deleted/.del-ndb_partition_range.test~af8f9016b6648239:
        Delete: mysql-test/t/ndb_partition_range.test
      BitKeeper/deleted/.del-ndb_blob_partition.result~fda88ddfc5477a7e:
        Delete: mysql-test/r/ndb_blob_partition.result
      BitKeeper/deleted/.del-ndb_partition_error.result~944f84894e323e9:
        Delete: mysql-test/r/ndb_partition_error.result
      BitKeeper/deleted/.del-ndb_partition_key.result~68b9a59cff8c9840:
        Delete: mysql-test/r/ndb_partition_key.result
      BitKeeper/deleted/.del-ndb_partition_list.result~7af68cd45e74abf:
        Delete: mysql-test/r/ndb_partition_list.result
      BitKeeper/deleted/.del-ndb_partition_range.result~17fc1db754d4153d:
        Delete: mysql-test/r/ndb_partition_range.result
      a02faddc
    • unknown's avatar
      Merge jamppa@bk-internal.mysql.com:/home/bk/mysql-5.1-new · 37e6bfd7
      unknown authored
      into  a193-229-222-105.elisa-laajakaista.fi:/home/my/bk/mysql-5.1-new-merge_060509
      
      
      sql/sql_parse.cc:
        Auto merged
      sql/sql_show.cc:
        Auto merged
      37e6bfd7
    • unknown's avatar
      Merge c-870ae253.1238-1-64736c10.cust.bredbandsbolaget.se:/home/pappa/clean-mysql-5.1-new · 0490cb5b
      unknown authored
      into  c-870ae253.1238-1-64736c10.cust.bredbandsbolaget.se:/home/pappa/bug19010
      
      
      0490cb5b
    • unknown's avatar
      Merge c-870ae253.1238-1-64736c10.cust.bredbandsbolaget.se:/home/pappa/bug19140 · f7190a3e
      unknown authored
      into  c-870ae253.1238-1-64736c10.cust.bredbandsbolaget.se:/home/pappa/bug19010
      
      
      mysql-test/t/partition.test:
        Auto merged
      sql/sql_partition.cc:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      mysql-test/r/ndb_partition_key.result:
        manual merge
      mysql-test/r/partition.result:
        manual merge
      mysql-test/t/ndb_partition_key.test:
        manual merge
      f7190a3e