diff options
author | unknown <monty@mysql.com/narttu.mysql.fi> | 2007-12-10 14:21:45 +0200 |
---|---|---|
committer | unknown <monty@mysql.com/narttu.mysql.fi> | 2007-12-10 14:21:45 +0200 |
commit | e8b0bb4769504c04f444c31f99d5a3d565ef9b39 (patch) | |
tree | 7a669fdad51afca1bee84c79b03faf4fa0dc1ae3 /mysys/thr_mutex.c | |
parent | abe1031ea86eab1378f46351ae516fc3952e919e (diff) | |
download | mariadb-git-e8b0bb4769504c04f444c31f99d5a3d565ef9b39.tar.gz |
Fixed bug in allocation of dynamic record buffer in Maria
Unified printing of mutex addresses to make them easier to compare
mysys/thr_mutex.c:
Unified printing of mutex addresses to make them easier to compare
storage/maria/ma_dynrec.c:
Fixed indentation
storage/maria/ma_open.c:
Fixed bug in allocation of dynamic record buffer
Diffstat (limited to 'mysys/thr_mutex.c')
-rw-r--r-- | mysys/thr_mutex.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mysys/thr_mutex.c b/mysys/thr_mutex.c index 839cbc133df..48d61a48c62 100644 --- a/mysys/thr_mutex.c +++ b/mysys/thr_mutex.c @@ -96,7 +96,7 @@ int safe_mutex_lock(safe_mutex_t *mp,const char *file, uint line) int error; #ifndef DBUG_OFF if (my_thread_var_get_dbug((my_bool*) 0)) - DBUG_PRINT("mutex", ("Locking mutex: 0x%lx", (ulong) mp)); + DBUG_PRINT("mutex", ("0x%lx locking", (ulong) mp)); #endif if (!mp->file) { @@ -137,7 +137,7 @@ line %d more than 1 time\n", file,line); pthread_mutex_unlock(&mp->global); #ifndef DBUG_OFF if (my_thread_var_get_dbug((my_bool*) 0)) - DBUG_PRINT("mutex", ("mutex: 0x%lx locked", (ulong) mp)); + DBUG_PRINT("mutex", ("0x%lx locked", (ulong) mp)); #endif return error; } @@ -148,7 +148,7 @@ int safe_mutex_unlock(safe_mutex_t *mp,const char *file, uint line) int error; #ifndef DBUG_OFF if (my_thread_var_get_dbug((my_bool*) 0)) - DBUG_PRINT("mutex", ("Unlocking mutex 0x%lx", (ulong) mp)); + DBUG_PRINT("mutex", ("0x%lx unlocking", (ulong) mp)); #endif pthread_mutex_lock(&mp->global); if (mp->count == 0) |