summaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorunknown <msvensson@neptunus.homeip.net>2005-02-07 13:46:13 +0100
committerunknown <msvensson@neptunus.homeip.net>2005-02-07 13:46:13 +0100
commit61da5b4d25fdaf9dae98a949bb8b8159449ccf77 (patch)
treeb304e91800c19a8b092ab6efef4b30af614b7ff1 /sql
parentc1d06b3cfaa64036de0de4907bc74a7faa4074f1 (diff)
downloadmariadb-git-61da5b4d25fdaf9dae98a949bb8b8159449ccf77.tar.gz
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
Diffstat (limited to 'sql')
-rw-r--r--sql/ha_ndbcluster.cc1
-rw-r--r--sql/ha_ndbcluster.h2
2 files changed, 2 insertions, 1 deletions
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;
/*