mirror of
https://github.com/MariaDB/server.git
synced 2026-05-15 03:17:20 +02:00
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
This commit is contained in:
parent
c1d06b3cfa
commit
61da5b4d25
2 changed files with 2 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue