1. 05 Apr, 2007 4 commits
  2. 04 Apr, 2007 3 commits
    • unknown's avatar
      Merge from 5.0 · 36cf3d46
      unknown authored
      
      mysql-test/r/ndb_trigger.result:
        Re-generated
      sql/mysql_priv.h:
        Merge
      sql/sql_insert.cc:
        Merge
      sql/sql_load.cc:
        Merge
      sql/sql_update.cc:
        Merge
      36cf3d46
    • unknown's avatar
      Merge mysql.com:/windows/Linux_space/MySQL/mysql-5.0 · b1a6e2b3
      unknown authored
      into  mysql.com:/windows/Linux_space/MySQL/mysql-5.1
      
      
      sql/ha_ndbcluster.h:
        Auto merged
      sql/sql_trigger.h:
        Auto merged
      mysql-test/r/ndb_trigger.result:
        Using local, will re-generate.
      include/my_base.h:
        Merge
      mysql-test/t/ndb_trigger.test:
        Merge
      sql/ha_ndbcluster.cc:
        Merge
      sql/mysql_priv.h:
        Merge
      sql/sql_delete.cc:
        Merge
      sql/sql_insert.cc:
        Merge
      sql/sql_load.cc:
        Merge
      sql/sql_update.cc:
        Merge
      b1a6e2b3
    • unknown's avatar
      Bug #26242 UPDATE with subquery and triggers failing with cluster tables · 6a351318
      unknown authored
      In certain cases AFTER UPDATE/DELETE triggers on NDB tables that referenced
      subject table didn't see the results of operation which caused invocation
      of those triggers. In other words AFTER trigger invoked as result of update
      (or deletion) of particular row saw version of this row before update (or
      deletion).
      
      The problem occured because NDB handler in those cases postponed actual
      update/delete operations to be able to perform them later as one batch.
      
      This fix solves the problem by disabling this optimization for particular
      operation if subject table has AFTER trigger for this operation defined.
      To achieve this we introduce two new flags for handler::extra() method:
      HA_EXTRA_DELETE_CANNOT_BATCH and HA_EXTRA_UPDATE_CANNOT_BATCH.
      These are called if there exists AFTER DELETE/UPDATE triggers during a
      statement that potentially can generate calls to delete_row()/update_row().
      This includes multi_delete/multi_update statements as well as insert statements
      that do delete/update as part of an ON DUPLICATE statement.
      
      
      include/my_base.h:
        Added HA_EXTRA_DELETE_CANNOT_BATCH and HA_EXTRA_UPDATE_CANNOT_BATCH to inform handler when batching of delete/update is not possible.
      mysql-test/r/ndb_trigger.result:
        Bug #26242  UPDATE with subquery and triggers failing with cluster tables
        ---
        Added new test cases
      mysql-test/t/ndb_trigger.test:
        Bug #26242  UPDATE with subquery and triggers failing with cluster tables
        ---
        Added new test cases
      sql/ha_ndbcluster.cc:
        Bug #26242  UPDATE with subquery and triggers failing with cluster tables: Use HA_EXTRA_DELETE_CANNOT_BATCH and HA_EXTRA_UPDATE_CANNOT_BATCH to inform handler when batching of delete/update is not possible
      sql/ha_ndbcluster.h:
        Bug #26242  UPDATE with subquery and triggers failing with cluster tables: Added member variables for handling of HA_EXTRA_DELETE_CANNOT_BATCH and HA_EXTRA_UPDATE_CANNOT_BATCH to inform handler when batching of delete/update is not possible
      sql/mysql_priv.h:
        Added new method prepare_triggers_for_insert_stmt to check if batching of delete/update must be disallowed.
      sql/sql_delete.cc:
        Use HA_EXTRA_DELETE_CANNOT_BATCH to inform handler when batching of delete is not possible
      sql/sql_insert.cc:
        Added method prepare_triggers_for_insert_stmt to check if batching of delete/update must be dissallowed.
        Use HA_EXTRA_DELETE_CANNOT_BATCH and HA_EXTRA_UPDATE_CANNOT_BATCH to inform handler
         when batching of delete/update is not possible
      sql/sql_load.cc:
        Call prepare_triggers_for_insert_stmt to check if batching of delete/update must be dissallowed and
        mark fields used by triggers for the insert statement.
      sql/sql_trigger.h:
        Added has_triggers to support what particular triggers exist on a table.
      sql/sql_update.cc:
        Use HA_EXTRA_UPDATE_CANNOT_BATCH to inform handler when batching of update is not possible
      6a351318
  3. 12 Feb, 2007 1 commit
  4. 09 Feb, 2007 5 commits
  5. 08 Feb, 2007 1 commit
    • unknown's avatar
      updates caused by 5.1.16 · a72cc9bd
      unknown authored
      
      BitKeeper/etc/ignore:
        Added mysql-test/partitions.log mysql-test/rpl.log to the ignore list
      a72cc9bd
  6. 07 Feb, 2007 11 commits
  7. 06 Feb, 2007 12 commits
    • unknown's avatar
      Merge mysql.com:/windows/Linux_space/MySQL/mysql-5.1 · 3b64cbb6
      unknown authored
      into  mysql.com:/windows/Linux_space/MySQL/mysql-5.1-new-ndb
      
      
      mysql-test/r/ndb_read_multi_range.result:
        Auto merged
      mysql-test/t/ndb_read_multi_range.test:
        Auto merged
      sql/ha_ndbcluster.cc:
        Auto merged
      sql/ha_ndbcluster.h:
        Auto merged
      storage/ndb/src/ndbapi/NdbScanOperation.cpp:
        Auto merged
      3b64cbb6
    • unknown's avatar
      Merge mysql.com:/windows/Linux_space/MySQL/mysql-5.0 · b7b6961f
      unknown authored
      into  mysql.com:/windows/Linux_space/MySQL/mysql-5.1
      
      
      mysql-test/r/ndb_read_multi_range.result:
        Auto merged
      mysql-test/t/ndb_read_multi_range.test:
        Auto merged
      sql/ha_ndbcluster.cc:
        Auto merged
      storage/ndb/include/ndbapi/NdbIndexScanOperation.hpp:
        Auto merged
      storage/ndb/src/ndbapi/NdbScanOperation.cpp:
        Auto merged
      storage/ndb/include/ndbapi/NdbScanOperation.hpp:
        SCCS merged
      b7b6961f
    • unknown's avatar
      Fix for bug#25821 Excessive partition pruning for multi-range index scan in... · 8e60d0b0
      unknown authored
      Fix for bug#25821  Excessive partition pruning for multi-range index scan in NDB API: don't set distribution key if multi_range
      
      
      8e60d0b0
    • unknown's avatar
      Excluded wrongly merged changeset. · df95907a
      unknown authored
      df95907a
    • unknown's avatar
      Bug#26015 valgrind warning PollGuard::unlock_and_signal()/NdbCondition_Destroy · 50594204
      unknown authored
      - Add variable "ndbcluster_binlog_terminating" and use that to signal
      the cluster binlog thread it's time to shutdown. This allows
      exact control of when the thread shutdown, previous implementation 
      would start shutdown of the thread as soon as the mysqld started
      shutdown. Now we will shutdown cluster binlog thread 
      in 'ndbcluster_binlog_end'
      
      
      sql/ha_ndbcluster_binlog.cc:
        Make binlog thread shutdown controllable by using a separet variable
        to communicate the order to shutdown
      50594204
    • unknown's avatar
      copy from test-extra-5.1 to main tree · 929de1ed
      unknown authored
      
      BitKeeper/etc/ignore:
        Added mysql-test/suite/funcs_1/r/innodb_views.warnings mysql-test/suite/funcs_1/r/memory_trig_03e.warnings mysql-test/suite/funcs_1/r/memory_views.warnings mysql-test/suite/funcs_1/r/myisam_trig_03e.warnings mysql-test/suite/funcs_1/r/myisam_views.warnings mysql-test/suite/funcs_1/r/ndb_trig_03e.warnings mysql-test/suite/funcs_1/r/ndb_views.warnings mysql-test/suite/partitions/r/diff mysql-test/suite/partitions/r/partition_bit_ndb.warnings mysql-test/suite/partitions/r/partition_special_innodb.warnings mysql-test/suite/partitions/r/partition_special_myisam.warnings storage/archive/archive_reader mysql-test/suite/funcs_1/r/innodb_trig_03e.warnings to the ignore list
      mysql-test/suite/funcs_2/include/check_charset.inc:
        inserted newline at the end of file.
      mysql-test/suite/objects/include/drop_all.inc:
        inserted newline at the end of file.
      mysql-test/suite/partitions/include/partition_key_32col.inc:
        inserted newline at the end of file.
      mysql-test/suite/rpl/data/rpl_mixed.dat:
        inserted newline at the end of file.
      mysql-test/suite/rpl/include/rpl_mixed_check_event.inc:
        inserted newline at the end of file.
      mysql-test/suite/rpl/include/rpl_mixed_check_select.inc:
        inserted newline at the end of file.
      mysql-test/suite/rpl/include/rpl_mixed_check_user.inc:
        inserted newline at the end of file.
      mysql-test/suite/rpl/include/rpl_mixed_check_view.inc:
        inserted newline at the end of file.
      929de1ed
    • unknown's avatar
      Merge poseidon.mysql.com:/home/tomas/mysql-5.1-telco-cga · a4251002
      unknown authored
      into  poseidon.mysql.com:/home/tomas/mysql-5.1-new-ndb
      
      
      storage/ndb/src/ndbapi/NdbEventOperationImpl.cpp:
        Auto merged
      a4251002
    • unknown's avatar
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-5.1 · 87ca5918
      unknown authored
      into  poseidon.mysql.com:/home/tomas/mysql-5.1-new-ndb
      
      
      sql/ha_ndbcluster.cc:
        Auto merged
      87ca5918
    • unknown's avatar
      Merge poseidon.mysql.com:/home/tomas/mysql-5.1-telco-cga · 4161120f
      unknown authored
      into  poseidon.mysql.com:/home/tomas/mysql-5.1-new-ndb
      
      
      sql/ha_ndbcluster_binlog.cc:
        Auto merged
      storage/ndb/src/ndbapi/TransporterFacade.cpp:
        Auto merged
      sql/ha_ndbcluster.cc:
        manual merge
      4161120f
    • unknown's avatar
      Bug #26021 - ndb: valgrind warning handle_trailing_share/ndbcluster_free_share invalid read · 9e77bdc9
      unknown authored
      
      sql/ha_ndbcluster.cc:
        Bug #26021: make sure ndbcluster_create_event_ops even if no binlogging as flags NSF_NO_BINLOG is set there
        set NSS_DROPPED state in handle_trailing_share if appropriate
        added dbug printout and comments for NDB_SHARE references
      sql/ha_ndbcluster_binlog.cc:
        Bug #26021: set NSF_NO_BINLOG if !ndb_binlog_running
        Bug #26021: only reuse share if share_may_exist
        setup apply_status table to be logged always, even if no binlogging
        added dbug printout and comments for NDB_SHARE references
      9e77bdc9
    • unknown's avatar
      ndb: remove WAITFOR_RESPONSE_TIMEOUT printout · 75df29e0
      unknown authored
      - to get cleaner error log in debug mode
      
      
      storage/ndb/src/ndbapi/TransporterFacade.cpp:
        remove WAITFOR_RESPONSE_TIMEOUT printout
      75df29e0
  8. 05 Feb, 2007 3 commits
    • unknown's avatar
      Merge joreland@bk-internal.mysql.com:/home/bk/mysql-5.1-new-ndb · e0d5a527
      unknown authored
      into  perch.ndb.mysql.com:/home/jonas/src/mysql-5.1-new-ndb
      
      
      storage/ndb/src/kernel/blocks/qmgr/Qmgr.hpp:
        Auto merged
      storage/ndb/src/kernel/blocks/qmgr/QmgrMain.cpp:
        Auto merged
      e0d5a527
    • unknown's avatar
      ndb - some more hugo abort option fix · 208e04c1
      unknown authored
      
      storage/ndb/test/src/HugoTransactions.cpp:
        restore some accidently removed hugo code
      storage/ndb/test/src/UtilTransactions.cpp:
        one more abort option fix
      208e04c1
    • unknown's avatar
      ndb - · 251b3943
      unknown authored
      Add abort option to lots of Hugo code, 
      as it assumes it and default value has changed
      
      
      storage/ndb/test/src/HugoTransactions.cpp:
        Add abort option to lots of Hugo code, 
        as it assumes it and default value has changed
      storage/ndb/test/src/UtilTransactions.cpp:
        Add abort option to lots of Hugo code, 
        as it assumes it and default value has changed
      251b3943