summaryrefslogtreecommitdiff
path: root/mysys/waiting_threads.c
diff options
context:
space:
mode:
authorSergei Golubchik <sergii@pisem.net>2013-06-24 20:56:55 +0200
committerSergei Golubchik <sergii@pisem.net>2013-06-24 20:56:55 +0200
commit639baee61bdfefe124414db6b12d40061a086e5b (patch)
tree4ed7af579f6b5e0a05d3f7783382460d384c7e2b /mysys/waiting_threads.c
parent31a1934c9cc0c4781b4a8c30f60252b02a873a2a (diff)
downloadmariadb-git-639baee61bdfefe124414db6b12d40061a086e5b.tar.gz
cleanup: remove LF_REQUIRE_PINS, use compile_time_assert() instead of reimplementing it
Diffstat (limited to 'mysys/waiting_threads.c')
-rw-r--r--mysys/waiting_threads.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/mysys/waiting_threads.c b/mysys/waiting_threads.c
index caeba9cfa12..56125f8951e 100644
--- a/mysys/waiting_threads.c
+++ b/mysys/waiting_threads.c
@@ -604,8 +604,6 @@ static int deadlock_search(struct deadlock_arg *arg, WT_THD *blocker,
DBUG_PRINT("wt", ("enter: thd=%s, blocker=%s, depth=%u",
arg->thd->name, blocker->name, depth));
- LF_REQUIRE_PINS(1);
-
arg->last_locked_rc= 0;
if (depth > arg->max_depth)
@@ -923,8 +921,6 @@ int wt_thd_will_wait_for(WT_THD *thd, WT_THD *blocker,
WT_RESOURCE *rc;
DBUG_ENTER("wt_thd_will_wait_for");
- LF_REQUIRE_PINS(3);
-
DBUG_PRINT("wt", ("enter: thd=%s, blocker=%s, resid=%lu",
thd->name, blocker->name, (ulong)resid->value));