diff options
author | unknown <bell@desktop.sanja.is.com.ua> | 2008-03-03 23:29:44 +0200 |
---|---|---|
committer | unknown <bell@desktop.sanja.is.com.ua> | 2008-03-03 23:29:44 +0200 |
commit | 77dec6470c22d62ea40e15c71a9decf0841ed7f1 (patch) | |
tree | 074948047310085e3ed50a77b567357a8f778e9a /storage/maria | |
parent | 7184124a2e60fe66d7a0db04039bd72f7b3d32db (diff) | |
download | mariadb-git-77dec6470c22d62ea40e15c71a9decf0841ed7f1.tar.gz |
Incorrect function prefix fixed. (thanks Guilhem for spotting it)
storage/maria/ma_pagecache.c:
Incorrect function prefix fixed.
Diffstat (limited to 'storage/maria')
-rw-r--r-- | storage/maria/ma_pagecache.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/storage/maria/ma_pagecache.c b/storage/maria/ma_pagecache.c index f162e8a82d7..1ad7d610507 100644 --- a/storage/maria/ma_pagecache.c +++ b/storage/maria/ma_pagecache.c @@ -2217,7 +2217,7 @@ static void info_change_lock(PAGECACHE_BLOCK_LINK *block, my_bool wl) @retval 1 Can't lock this block, need retry */ -static my_bool translog_wait_lock(PAGECACHE *pagecache, +static my_bool pagecache_wait_lock(PAGECACHE *pagecache, PAGECACHE_BLOCK_LINK *block, PAGECACHE_FILE file, pgcache_page_no_t pageno, @@ -2226,7 +2226,7 @@ static my_bool translog_wait_lock(PAGECACHE *pagecache, /* Lock failed we will wait */ #ifdef THREAD struct st_my_thread_var *thread= my_thread_var; - DBUG_ENTER("translog_wait_lock"); + DBUG_ENTER("pagecache_wait_lock"); DBUG_PRINT("info", ("fail to lock, waiting... 0x%lx", (ulong)block)); thread->lock_type= lock_type; wqueue_add_to_queue(&block->wqueue[COND_FOR_WRLOCK], thread); @@ -2302,7 +2302,7 @@ static my_bool get_wrlock(PAGECACHE *pagecache, block->rlocks) { /* Lock failed we will wait */ - if (translog_wait_lock(pagecache, block, file, pageno, + if (pagecache_wait_lock(pagecache, block, file, pageno, MY_PTHREAD_LOCK_WRITE)) DBUG_RETURN(1); } @@ -2345,7 +2345,7 @@ static my_bool get_rdlock(PAGECACHE *pagecache, while (block->wlocks && !pthread_equal(block->write_locker, locker)) { /* Lock failed we will wait */ - if (translog_wait_lock(pagecache, block, file, pageno, + if (pagecache_wait_lock(pagecache, block, file, pageno, MY_PTHREAD_LOCK_READ)) DBUG_RETURN(1); } |