1. 29 May, 2006 1 commit
    • unknown's avatar
      Bug#19188: incorrect temporary table name of DROP query in replication · a9a3864f
      unknown authored
      merge with 5.0.
      
      specific test case in inside of #17263 section (grave quoted name).
      
      
      mysql-test/r/rpl_temporary.result:
        results changed
      mysql-test/t/rpl_temporary.test:
        merge with 5.0 also to eliminate a typo with '@'.
      sql/mysql_priv.h:
        merged manually with 5.0 using 5.1 specific table's name "access path".
      sql/sql_base.cc:
        manual merge with 5.0. The 5.0 code was taken verbatim and changed according to
        a. rbr, b. db,tabl_name are LEX_STRIGs, c. close_temporary needs 3 args.
      a9a3864f
  2. 17 May, 2006 5 commits
    • unknown's avatar
      After merge fixes · 42c2c0b6
      unknown authored
      42c2c0b6
    • unknown's avatar
      Merge mysql.com:/users/lthalmann/bkroot/mysql-5.1-new · 22d8165c
      unknown authored
      into  mysql.com:/users/lthalmann/bk/mysql-5.1-new-rpl
      
      
      sql/sql_class.h:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      mysql-test/r/innodb_mysql.result:
        Manual merge
      mysql-test/t/innodb_mysql.test:
        Manual merge
      sql/log.cc:
        Manual merge
      sql/set_var.cc:
        Manual merge
      sql/sql_base.cc:
        Manual merge
      sql/sql_class.cc:
        Manual merge
      sql/sql_parse.cc:
        Manual merge
      22d8165c
    • unknown's avatar
      Merge mysql.com:/home/kgeorge/mysql/5.0/tmp_merge · 59b4ac94
      unknown authored
      into  mysql.com:/home/kgeorge/mysql/5.1/merge
      
      
      mysql-test/r/subselect.result:
        Auto merged
      mysql-test/r/view.result:
        Auto merged
      sql/item_subselect.cc:
        Auto merged
      59b4ac94
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-5.1-new · 584eef34
      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
      584eef34
    • unknown's avatar
      Bug #16875 Using stale MySQLD FRM files can cause restored cluster to fail · 89e894a1
      unknown authored
      
      sql/ha_ndbcluster_binlog.cc:
        Bug #16875 Using stale MySQLD FRM files can cause restored cluster to fail
        - small correction of previous patch
      storage/ndb/src/ndbapi/DictCache.cpp:
        Bug #16875 Using stale MySQLD FRM files can cause restored cluster to fail
        - cache not released properly
      storage/ndb/tools/desc.cpp:
        Bug #16875 Using stale MySQLD FRM files can cause restored cluster to fail
        - added retry option so that ndb_desc can be used to wait for a table to be created
      89e894a1
  3. 16 May, 2006 22 commits
    • unknown's avatar
      Merge zippy.(none):/home/cmiller/work/mysql/merge/tmp_merge · f42a6e7c
      unknown authored
      into  zippy.(none):/home/cmiller/work/mysql/merge/mysql-5.1-new
      
      
      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
      f42a6e7c
    • unknown's avatar
      Merge poseidon.ndb.mysql.com:/home/tomas/mysql-5.0 · 342a3a0a
      unknown authored
      into  poseidon.ndb.mysql.com:/home/tomas/mysql-5.1-new-ndb
      
      
      storage/ndb/src/mgmapi/mgmapi.cpp:
        Auto merged
      storage/ndb/tools/waiter.cpp:
        Auto merged
      342a3a0a
    • unknown's avatar
      Merge poseidon.ndb.mysql.com:/home/tomas/mysql-4.1 · 719f798c
      unknown authored
      into  poseidon.ndb.mysql.com:/home/tomas/mysql-5.0
      
      
      ndb/src/mgmapi/mgmapi.cpp:
        Auto merged
      ndb/tools/waiter.cpp:
        Auto merged
      719f798c
    • unknown's avatar
      ndb: added some missing error codes to mgmapi · 47029e84
      unknown authored
          ndb: ndb_waiter disconnect/reconnect on get status error
      
      
      ndb/src/mgmapi/mgmapi.cpp:
        ndb: added some missing error codes to mgmapi
      ndb/tools/waiter.cpp:
        ndb: ndb_waiter disconnect/reconnect on get status error
      47029e84
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-5.1-new · 0e6bba71
      unknown authored
      into  poseidon.ndb.mysql.com:/home/tomas/mysql-5.1-new-ndb
      
      
      mysql-test/t/disabled.def:
        Auto merged
      0e6bba71
    • unknown's avatar
      Bug #16875 Using stale MySQLD FRM files can cause restored cluster to fail · 9879806a
      unknown authored
      - adoptions to handle binlog
      
      9879806a
    • unknown's avatar
      Merge jmiller@bk-internal.mysql.com:/home/bk/mysql-5.1-new · 0ea9e574
      unknown authored
      into  mysql.com:/home/ndbdev/jmiller/clones/mysql-5.1-new
      
      0ea9e574
    • unknown's avatar
      Updated to fix bug in AIX · 445186eb
      unknown authored
      
      mysql-test/extra/rpl_tests/rpl_log.test:
        Remove disable log per lars
      mysql-test/r/rpl_stm_log.result:
        New results file
      mysql-test/r/rpl_row_log.result:
        New results file
      mysql-test/r/rpl_row_log_innodb.result:
        New results file
      445186eb
    • unknown's avatar
      rpl_log.test: · 6032f687
      unknown authored
        Fix for failure in aix52 failure during push build
      
      
      mysql-test/extra/rpl_tests/rpl_log.test:
        Fix for failure in aix52 failure during push build
      6032f687
    • unknown's avatar
      disable events_logs_tests · 84f4a188
      unknown authored
      84f4a188
    • unknown's avatar
      information_schema.result: · 78bdbbf7
      unknown authored
        corrected merge
      
      
      mysql-test/r/information_schema.result:
        corrected merge
      78bdbbf7
    • unknown's avatar
      Merge poseidon.ndb.mysql.com:/home/tomas/mysql-5.0 · 26896912
      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
      26896912
    • unknown's avatar
      Merge poseidon.ndb.mysql.com:/home/tomas/mysql-4.1 · aa909854
      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
      aa909854
    • unknown's avatar
      Bug #18591 Repeated "show" and "all status" calls to ndb_mgm causes mgmd to crash · 44dca9a1
      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
      44dca9a1
    • unknown's avatar
      corrected merge · be52f8c3
      unknown authored
      be52f8c3
    • unknown's avatar
      Merge jonas@perch:src/mysql-4.1 · 675ecc1d
      unknown authored
      into  poseidon.ndb.mysql.com:/home/tomas/mysql-4.1
      
      
      support-files/mysql.spec.sh:
        Auto merged
      675ecc1d
    • unknown's avatar
      Bug#16837 (Missing #ifdef cause compile problem --without-row-based-replication): · 1a3370fd
      unknown authored
      Added #ifdef's to make code work even when the system is built without
      row-based replication.
      
      
      mysql-test/r/create.result:
        Result change
      mysql-test/r/innodb_mysql.result:
        Result change
      mysql-test/t/create.test:
        Moving InnoDB specific test to innodb_mysql.test
      mysql-test/t/innodb_mysql.test:
        Moving InnoDB-specific test from create.test
      mysql-test/t/rpl_rbr_to_sbr.test:
        Test only sensible if we have row-based replication compiled in.
      mysql-test/t/rpl_row_basic_8partition.test:
        Test only sensible if we have row-based replication compiled in.
      sql/log.cc:
        Adding HAVE_ROW_BASED_REPLICATION guards on code to work without
        row-based replication.
      sql/set_var.cc:
        Adding HAVE_ROW_BASED_REPLICATION guards on code to work without
        row-based replication.
      sql/set_var.h:
        Adding HAVE_ROW_BASED_REPLICATION guards on code to work without
        row-based replication.
      sql/share/errmsg.txt:
        Adding HAVE_ROW_BASED_REPLICATION guards on code to work without
        row-based replication.
      sql/sql_base.cc:
        Adding HAVE_ROW_BASED_REPLICATION guards on code to work without
        row-based replication.
      sql/sql_class.cc:
        Adding HAVE_ROW_BASED_REPLICATION guards on code to work without
        row-based replication.
      sql/sql_class.h:
        Adding HAVE_ROW_BASED_REPLICATION guards on code to work without
        row-based replication.
      sql/sql_insert.cc:
        Adding HAVE_ROW_BASED_REPLICATION guards on code to work without
        row-based replication.
      sql/sql_parse.cc:
        Adding HAVE_ROW_BASED_REPLICATION guards on code to work without
        row-based replication.
      sql/sql_table.cc:
        Not running hooks
      1a3370fd
    • unknown's avatar
      Merge jonas@perch:src/mysql-5.0 · 6ae7954e
      unknown authored
      into  poseidon.ndb.mysql.com:/home/tomas/mysql-5.0
      
      
      support-files/mysql.spec.sh:
        Auto merged
      6ae7954e
    • unknown's avatar
      Merge poseidon.ndb.mysql.com:/home/tomas/mysql-5.0 · bae04d9b
      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
      bae04d9b
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-5.1-new · 853343c2
      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
      853343c2
    • unknown's avatar
      Merge mysql.com:/home/tmp_merge · 79b1dd35
      unknown authored
      into  mysql.com:/home/mysql-5.1-18997e
      
      
      mysql-test/r/variables.result:
        Auto merged
      mysql-test/t/variables.test:
        Auto merged
      79b1dd35
    • unknown's avatar
      Bug#18997: DATE_ADD and DATE_SUB perform year2K autoconversion magic on 4-digit year value · 6792c154
      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.
      6792c154
  4. 15 May, 2006 12 commits
    • unknown's avatar
      Merge mysql.com:/data0/mysqldev/my/tmp_merge · c720b28c
      unknown authored
      into  mysql.com:/data0/mysqldev/my/mysql-5.1-new
      
      c720b28c
    • unknown's avatar
      Merge zippy.(none):/home/cmiller/work/mysql/merge/tmp_merge · 434c44c5
      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
      434c44c5
    • unknown's avatar
      Removed double enum value. · 55217d9c
      unknown authored
      55217d9c
    • unknown's avatar
      Merge jamppa@bk-internal.mysql.com:/home/bk/mysql-5.1-new · 1baf03bb
      unknown authored
      into  a193-229-222-105.elisa-laajakaista.fi:/home/my/bk/mysql-5.1-new
      
      1baf03bb
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-5.1-new · 603740fb
      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
      603740fb
    • unknown's avatar
      Merge jamppa@bk-internal.mysql.com:/home/bk/mysql-5.1-new · e9ef6a71
      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
      e9ef6a71
    • unknown's avatar
      correction of merge · e2359288
      unknown authored
      e2359288
    • unknown's avatar
      ndb: dict cache reference not released as it should · 5a5edd8a
      unknown authored
      
      storage/ndb/src/ndbapi/DictCache.cpp:
        changed dbug printout
      5a5edd8a
    • unknown's avatar
      Merge poseidon.ndb.mysql.com:/home/tomas/mysql-4.1 · ddcc961c
      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
      ddcc961c
    • unknown's avatar
      After-merge fixes. · 4e97de5c
      unknown authored
      4e97de5c
    • unknown's avatar
      Fix, or a workaround for Bug#19386 "Multiple alter causes crashed table" · c9975e8f
      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.
      c9975e8f
    • unknown's avatar
      Merge mysql.com:/usr/local/mysql/mysql-5.0-bug19633 · b8847e03
      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
      b8847e03