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.2189 06/06/14 01:20:39 tomas@stripped +2 -0
ndb: add missing LOCK_open
sql/ha_ndbcluster_binlog.cc
1.65 06/06/14 01:20:29 tomas@stripped +1 -0
ndb: add missing LOCK_open
sql/ha_ndbcluster.cc
1.320 06/06/14 01:20:29 tomas@stripped +2 -0
ndb: add missing LOCK_open
# 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-ndb
--- 1.319/sql/ha_ndbcluster.cc 2006-06-12 14:13:01 +02:00
+++ 1.320/sql/ha_ndbcluster.cc 2006-06-14 01:20:29 +02:00
@@ -5848,6 +5848,7 @@
while ((tabname=it++))
{
tablename_to_filename(tabname, tmp, FN_REFLEN - (tmp - full_path)-1);
+ VOID(pthread_mutex_lock(&LOCK_open));
if (ha_ndbcluster::delete_table(0, ndb, full_path, dbname, tabname))
{
const NdbError err= dict->getNdbError();
@@ -5857,6 +5858,7 @@
ret= ndb_to_mysql_error(&err);
}
}
+ VOID(pthread_mutex_unlock(&LOCK_open));
}
DBUG_RETURN(ret);
}
--- 1.64/sql/ha_ndbcluster_binlog.cc 2006-06-12 14:15:55 +02:00
+++ 1.65/sql/ha_ndbcluster_binlog.cc 2006-06-14 01:20:29 +02:00
@@ -286,6 +286,7 @@
int error;
DBUG_ENTER("ndbcluster_binlog_open_table");
+ safe_mutex_assert_owner(&LOCK_open);
init_tmp_table_share(table_share, share->db, 0, share->table_name,
share->key);
if ((error= open_table_def(thd, table_share, 0)))
| Thread |
|---|
| • bk commit into 5.1 tree (tomas:1.2189) | tomas | 14 Jun |