- 04 Apr, 2007 3 commits
-
-
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
-
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
-
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
-
- 12 Feb, 2007 1 commit
-
-
unknown authored
into mysql.com:/windows/Linux_space/MySQL/mysql-5.1 sql/ha_ndbcluster.cc: Auto merged sql/item_func.cc: Auto merged
-
- 09 Feb, 2007 5 commits
-
-
unknown authored
into mysql.com:/windows/Linux_space/MySQL/mysql-5.1 sql/ha_ndbcluster.cc: Auto merged sql/item_func.cc: Auto merged
-
unknown authored
bug #26225 Engine condition pushdown doesn't work with prepare statements (ps_7ndb): ensure that query plan for prepared statement is analyzed correctly
-
unknown authored
into trift2.:/MySQL/M51/push-5.1 BitKeeper/etc/ignore: auto-union
-
unknown authored
into bk-internal.mysql.com:/data0/bk/mysql-5.1-build BitKeeper/etc/ignore: auto-union
-
unknown authored
into trift2.:/MySQL/M51/push-5.1 BitKeeper/etc/ignore: auto-union
-
- 08 Feb, 2007 1 commit
-
-
unknown authored
BitKeeper/etc/ignore: Added mysql-test/partitions.log mysql-test/rpl.log to the ignore list
-
- 07 Feb, 2007 11 commits
-
-
unknown authored
into mysql.com:/windows/Linux_space/MySQL/mysql-5.1-new-ndb
-
unknown authored
into mysql.com:/windows/Linux_space/MySQL/mysql-5.1-new-ndb sql/ha_ndbcluster.cc: Auto merged sql/ha_ndbcluster.h: Auto merged storage/ndb/src/ndbapi/NdbScanOperation.cpp: Auto merged
-
unknown authored
into mysql.com:/windows/Linux_space/MySQL/mysql-5.1 sql/ha_ndbcluster.cc: Auto merged storage/ndb/include/ndbapi/NdbScanOperation.hpp: Auto merged storage/ndb/src/ndbapi/NdbScanOperation.cpp: Auto merged sql/ha_ndbcluster.h: SCCS merged
-
unknown authored
into poseidon.mysql.com:/home/tomas/mysql-5.1-new-ndb
-
unknown authored
bug#25821 Excessive partition pruning for multi-range index scan in NDB API: added multi_range error checking in end_of_bound ha_ndbcluster.h: Removed stray mthod declaration sql/ha_ndbcluster.h: Removed stray mthod declaration ndb/include/ndbapi/NdbScanOperation.hpp: bug#25821 Excessive partition pruning for multi-range index scan in NDB API: added multi_range error checking in end_of_bound ndb/src/ndbapi/NdbScanOperation.cpp: bug#25821 Excessive partition pruning for multi-range index scan in NDB API: added multi_range error checking in end_of_bound sql/ha_ndbcluster.cc: bug#25821 Excessive partition pruning for multi-range index scan in NDB API: added multi_range error checking in end_of_bound
-
unknown authored
into poseidon.mysql.com:/home/tomas/mysql-5.1-new-ndb
-
unknown authored
into mysql.com:/windows/Linux_space/MySQL/mysql-5.1-new-ndb
-
unknown authored
bug#25821 Excessive partition pruning for multi-range index scan in NDB API: added original test case
-
unknown authored
into mysql.com:/windows/Linux_space/MySQL/mysql-5.1-new-ndb
-
unknown authored
into mysql.com:/windows/Linux_space/MySQL/mysql-5.1 storage/ndb/include/ndbapi/NdbScanOperation.hpp: Auto merged
-
unknown authored
bug#25821 Excessive partition pruning for multi-range index scan in NDB API: post-review fix, added default value
-
- 06 Feb, 2007 12 commits
-
-
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
-
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
-
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
-
unknown authored
-
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
-
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.
-
unknown authored
into poseidon.mysql.com:/home/tomas/mysql-5.1-new-ndb storage/ndb/src/ndbapi/NdbEventOperationImpl.cpp: Auto merged
-
unknown authored
-
unknown authored
into poseidon.mysql.com:/home/tomas/mysql-5.1-new-ndb sql/ha_ndbcluster.cc: Auto merged
-
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
-
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
-
unknown authored
- to get cleaner error log in debug mode storage/ndb/src/ndbapi/TransporterFacade.cpp: remove WAITFOR_RESPONSE_TIMEOUT printout
-
- 05 Feb, 2007 7 commits
-
-
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
-
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
-
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
-
unknown authored
- improve error message if starting wo/ enough REDO - decrease likelyhood of trying to start too early storage/ndb/include/mgmapi/ndbd_exit_codes.h: Add new error code (that maybe should have been there a looong time) storage/ndb/src/kernel/blocks/dbdih/DbdihMain.cpp: Add new check (during SR) for that sufficient REDO is present before continuing SR storage/ndb/src/kernel/blocks/qmgr/Qmgr.hpp: Add list of GCI's of nodes so that we can check for sufficient REDO during a SR storage/ndb/src/kernel/blocks/qmgr/QmgrMain.cpp: Add check for REDO during SR so that 1) cluster is not trying to start too soon 2) a better error message (than internal error) is provided if not enough REDO is present storage/ndb/src/kernel/error/ndbd_exit_codes.c: Add new error code (that maybe should have been there a looong time)
-
unknown authored
into poseidon.mysql.com:/home/tomas/mysql-5.1-new-ndb sql/ha_ndbcluster_binlog.cc: Auto merged
-
unknown authored
- revert bugfix, needs more work
-
unknown authored
into poseidon.mysql.com:/home/tomas/mysql-5.1-new-ndb
-