Commit 61da5b4d authored by unknown's avatar unknown

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
parent c1d06b3c
...@@ -5711,6 +5711,7 @@ extern "C" pthread_handler_decl(ndb_util_thread_func, ...@@ -5711,6 +5711,7 @@ extern "C" pthread_handler_decl(ndb_util_thread_func,
delete thd; delete thd;
DBUG_PRINT("exit", ("ndb_util_thread")); DBUG_PRINT("exit", ("ndb_util_thread"));
my_thread_end(); my_thread_end();
pthread_exit(0);
DBUG_RETURN(NULL); DBUG_RETURN(NULL);
} }
......
...@@ -60,7 +60,7 @@ typedef struct st_ndbcluster_share { ...@@ -60,7 +60,7 @@ typedef struct st_ndbcluster_share {
pthread_mutex_t mutex; pthread_mutex_t mutex;
char *table_name; char *table_name;
uint table_name_length,use_count; uint table_name_length,use_count;
uint commit_count; ulonglong commit_count;
} NDB_SHARE; } NDB_SHARE;
/* /*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment