[Commits] Rev 2935: MWL#74: Make mutex static to avoid conflict with mutex of same name in mysqld.cc (caused link failure on Mac OS X). in http://bazaar.launchpad.net/~maria-captains/maria/5.1

knielsen at knielsen-hq.org knielsen at knielsen-hq.org
Mon Nov 15 21:33:18 EET 2010


At http://bazaar.launchpad.net/~maria-captains/maria/5.1

------------------------------------------------------------
revno: 2935
revision-id: knielsen at knielsen-hq.org-20101115193318-x3ca5023qm0eb1mw
parent: knielsen at knielsen-hq.org-20101115145725-lh3g7hqex5da9v31
committer: knielsen at knielsen-hq.org
branch nick: work-5.1-mwl74
timestamp: Mon 2010-11-15 20:33:18 +0100
message:
  MWL#74: Make mutex static to avoid conflict with mutex of same name in mysqld.cc (caused link failure on Mac OS X).
=== modified file 'mysys/my_uuid.c'
--- a/mysys/my_uuid.c	2010-01-04 18:31:26 +0000
+++ b/mysys/my_uuid.c	2010-11-15 19:33:18 +0000
@@ -50,7 +50,7 @@ static ulonglong uuid_time= 0;
 static uchar uuid_suffix[2+6]; /* clock_seq and node */
 
 #ifdef THREAD
-pthread_mutex_t LOCK_uuid_generator;
+static pthread_mutex_t LOCK_uuid_generator;
 #endif
 
 /*



More information about the commits mailing list