Below is the list of changes that have just been committed into a local
5.1 repository of tomas. When tomas 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.2215 06/03/23 22:50:20 tomas@stripped +1 -0
Merge tulin@stripped:/home/bk/mysql-5.1-new
into poseidon.ndb.mysql.com:/home/tomas/mysql-5.1-new
sql/ha_ndbcluster_binlog.cc
1.39 06/03/23 22:50:12 tomas@stripped +0 -0
Auto merged
# 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: tomas
# Host: poseidon.ndb.mysql.com
# Root: /home/tomas/mysql-5.1-new/RESYNC
--- 1.38/sql/ha_ndbcluster_binlog.cc 2006-03-23 04:21:11 +01:00
+++ 1.39/sql/ha_ndbcluster_binlog.cc 2006-03-23 22:50:12 +01:00
@@ -2227,9 +2227,19 @@
}
/*
+ try retrieving the event, if table version/id matches, we will get
+ a valid event. Otherwise we have a trailing event from before
+ */
+ if (dict->getEvent(event_name))
+ {
+ DBUG_RETURN(0);
+ }
+
+ /*
trailing event from before; an error, but try to correct it
*/
- if (dict->dropEvent(my_event.getName()))
+ if (dict->getNdbError().code == NDB_INVALID_SCHEMA_OBJECT &&
+ dict->dropEvent(my_event.getName()))
{
if (push_warning)
push_warning_printf(current_thd, MYSQL_ERROR::WARN_LEVEL_ERROR,
| Thread |
|---|
| • bk commit into 5.1 tree (tomas:1.2215) | tomas | 23 Mar |