Below is the list of changes that have just been committed into a local
5.1 repository of stewart. When stewart does a push these changes will
be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html
ChangeSet
1.1815 05/04/21 00:33:16 stewart@stripped +1 -0
ndb injector thread - minor cleanups
sql/ha_ndbcluster.cc
1.218 05/04/21 00:33:09 stewart@stripped +2 -4
Minor cleanups and clarification
# This is a BitKeeper patch. What follows are the unified diffs for the
# set of deltas contained in the patch. The rest of the patch, the part
# that BitKeeper cares about, is below these diffs.
# User: stewart
# Host: kennedy.(none)
# Root: /home/stewart/Documents/MySQL/5.1/wl2325
--- 1.217/sql/ha_ndbcluster.cc 2005-04-20 08:35:33 +10:00
+++ 1.218/sql/ha_ndbcluster.cc 2005-04-21 00:33:09 +10:00
@@ -8375,7 +8375,6 @@
* Main NDB Injector loop
*/
{
- int ndb_update_binlog_index= 1;
Uint64 latestGCI= ndb->getLatestGCI();
Uint64 waitGCI= latestGCI;
ndb->setWaitGCI(waitGCI);
@@ -8473,8 +8472,7 @@
row.master_log_pos= start.file_pos();
DBUG_PRINT("info",("COMMIT gci %lld",gci));
- if (ndb_update_binlog_index)
- add_binlog_index(thd, &row);
+ add_binlog_index(thd, &row);
last_gci_in_binlog_index= gci;
}
else
@@ -8484,7 +8482,7 @@
waitGCI= ndb_latest_binlog_epoch+1;
ndb->setWaitGCI(waitGCI);
} // for(;;)
- }
+ } // main loop enclosure
err:
thd->db=0; // as not to try to free memory
sql_print_information("Stopping Cluster Binlog");
| Thread |
|---|
| • bk commit into 5.1 tree (stewart:1.1815) | Stewart Smith | 21 Apr |