#At file:///home/msvensson/mysql/7.0/ based on revid:magnus.blaudd@stripped
4474 magnus.blaudd@stripped 2011-06-22
ndb
- use my_hash_ prefixed version when calling my_hash function,
the non prefixed functions has been removed in the future.
modified:
sql/ha_ndbcluster.cc
=== modified file 'sql/ha_ndbcluster.cc'
--- a/sql/ha_ndbcluster.cc 2011-06-20 12:34:27 +0000
+++ b/sql/ha_ndbcluster.cc 2011-06-22 07:12:01 +0000
@@ -11049,7 +11049,7 @@ static int ndbcluster_init(void *p)
if (pthread_create(&tmp2, &connection_attrib, ndb_index_stat_thread_func, 0))
{
DBUG_PRINT("error", ("Could not create ndb index statistics thread"));
- hash_free(&ndbcluster_open_tables);
+ my_hash_free(&ndbcluster_open_tables);
pthread_mutex_destroy(&ndbcluster_mutex);
pthread_mutex_destroy(&LOCK_ndb_index_stat_thread);
pthread_cond_destroy(&COND_ndb_index_stat_thread);
@@ -11070,7 +11070,7 @@ static int ndbcluster_init(void *p)
if (!ndb_index_stat_thread_running)
{
DBUG_PRINT("error", ("ndb index statistics thread exited prematurely"));
- hash_free(&ndbcluster_open_tables);
+ my_hash_free(&ndbcluster_open_tables);
pthread_mutex_destroy(&ndbcluster_mutex);
pthread_mutex_destroy(&LOCK_ndb_index_stat_thread);
pthread_cond_destroy(&COND_ndb_index_stat_thread);
Attachment: [text/bzr-bundle] bzr/magnus.blaudd@oracle.com-20110622071201-kz22v87bm25melfk.bundle
| Thread |
|---|
| • bzr commit into mysql-5.1-telco-7.0 branch (magnus.blaudd:4474) | magnus.blaudd | 22 Jun |