From 61da5b4d25fdaf9dae98a949bb8b8159449ccf77 Mon Sep 17 00:00:00 2001 From: unknown Date: Mon, 7 Feb 2005 13:46:13 +0100 Subject: Small changes after Tomas review sql/ha_ndbcluster.cc: Added a pthread_exit before thread exists sql/ha_ndbcluster.h: Changed storage of commit_count from uint to ulonglong --- sql/ha_ndbcluster.cc | 1 + sql/ha_ndbcluster.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'sql') diff --git a/sql/ha_ndbcluster.cc b/sql/ha_ndbcluster.cc index 5c44479aa12..07d5388f9b5 100644 --- a/sql/ha_ndbcluster.cc +++ b/sql/ha_ndbcluster.cc @@ -5711,6 +5711,7 @@ extern "C" pthread_handler_decl(ndb_util_thread_func, delete thd; DBUG_PRINT("exit", ("ndb_util_thread")); my_thread_end(); + pthread_exit(0); DBUG_RETURN(NULL); } diff --git a/sql/ha_ndbcluster.h b/sql/ha_ndbcluster.h index fb624353491..b27908c20ea 100644 --- a/sql/ha_ndbcluster.h +++ b/sql/ha_ndbcluster.h @@ -60,7 +60,7 @@ typedef struct st_ndbcluster_share { pthread_mutex_t mutex; char *table_name; uint table_name_length,use_count; - uint commit_count; + ulonglong commit_count; } NDB_SHARE; /* -- cgit v1.2.1