summaryrefslogtreecommitdiff
path: root/mysys/thr_lock.c
diff options
context:
space:
mode:
authorunknown <guilhem@gbichot4.local>2008-02-18 23:35:17 +0100
committerunknown <guilhem@gbichot4.local>2008-02-18 23:35:17 +0100
commit34fff04d033e042ee89f7ffcd326285e59495c6a (patch)
tree02fdc79840b4f1bb2f1ceb90b37a47fc51a5aeed /mysys/thr_lock.c
parentd37d49bc543e933def3e460b1d6c156b3ec309cd (diff)
parent85213f6235aa344f7861cc2f9a151869e041cb9e (diff)
downloadmariadb-git-34fff04d033e042ee89f7ffcd326285e59495c6a.tar.gz
Merge gbichot4.local:/home/mysql_src/mysql-5.1-build-gca
into gbichot4.local:/home/mysql_src/mysql-maria-monty client/mysqldump.c: Auto merged client/mysqltest.c: Auto merged extra/replace.c: Auto merged include/my_sys.h: Auto merged libmysql/libmysql.c: Auto merged mysys/my_getopt.c: Auto merged mysys/thr_lock.c: Auto merged sql/set_var.cc: Auto merged sql/sql_plugin.cc: Auto merged storage/myisam/mi_check.c: Auto merged storage/myisam/mi_dynrec.c: Auto merged storage/myisam/mi_search.c: Auto merged storage/myisam/mi_update.c: Auto merged storage/myisam/mi_write.c: Auto merged storage/myisam/myisamlog.c: Auto merged storage/myisam/myisampack.c: Auto merged tests/mysql_client_test.c: Auto merged include/my_global.h: merge storage/myisam/myisamdef.h: merge
Diffstat (limited to 'mysys/thr_lock.c')
-rw-r--r--mysys/thr_lock.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mysys/thr_lock.c b/mysys/thr_lock.c
index ff70faaefea..6decd6a6a27 100644
--- a/mysys/thr_lock.c
+++ b/mysys/thr_lock.c
@@ -125,7 +125,7 @@ thr_lock_owner_equal(THR_LOCK_OWNER *rhs, THR_LOCK_OWNER *lhs)
static uint found_errors=0;
static int check_lock(struct st_lock_list *list, const char* lock_type,
- const char *where, my_bool same_owner, bool no_cond)
+ const char *where, my_bool same_owner, my_bool no_cond)
{
THR_LOCK_DATA *data,**prev;
uint count=0;
@@ -712,7 +712,7 @@ end:
static inline void free_all_read_locks(THR_LOCK *lock,
- bool using_concurrent_insert)
+ my_bool using_concurrent_insert)
{
THR_LOCK_DATA *data=lock->read_wait.data;
@@ -1056,7 +1056,7 @@ void thr_multi_unlock(THR_LOCK_DATA **data,uint count)
TL_WRITE_ONLY to abort any new accesses to the lock
*/
-void thr_abort_locks(THR_LOCK *lock, bool upgrade_lock)
+void thr_abort_locks(THR_LOCK *lock, my_bool upgrade_lock)
{
THR_LOCK_DATA *data;
DBUG_ENTER("thr_abort_locks");