diff options
author | Sergei Golubchik <sergii@pisem.net> | 2013-06-24 20:56:55 +0200 |
---|---|---|
committer | Sergei Golubchik <sergii@pisem.net> | 2013-06-24 20:56:55 +0200 |
commit | 639baee61bdfefe124414db6b12d40061a086e5b (patch) | |
tree | 4ed7af579f6b5e0a05d3f7783382460d384c7e2b /storage | |
parent | 31a1934c9cc0c4781b4a8c30f60252b02a873a2a (diff) | |
download | mariadb-git-639baee61bdfefe124414db6b12d40061a086e5b.tar.gz |
cleanup: remove LF_REQUIRE_PINS, use compile_time_assert() instead of reimplementing it
Diffstat (limited to 'storage')
-rw-r--r-- | storage/maria/lockman.c | 2 | ||||
-rw-r--r-- | storage/maria/trnman.c | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/storage/maria/lockman.c b/storage/maria/lockman.c index ae9e83e982a..aa030b6f57a 100644 --- a/storage/maria/lockman.c +++ b/storage/maria/lockman.c @@ -211,8 +211,6 @@ static enum lockman_getlock_result getlock_result[10][10]= #undef A #undef x -LF_REQUIRE_PINS(4) - typedef struct lockman_lock { uint64 resource; struct lockman_lock *lonext; diff --git a/storage/maria/trnman.c b/storage/maria/trnman.c index 2e27d8a4dc5..ebb59677fc0 100644 --- a/storage/maria/trnman.c +++ b/storage/maria/trnman.c @@ -577,7 +577,6 @@ int trnman_can_read_from(TRN *trn, TrID trid) { TRN **found; my_bool can; - LF_REQUIRE_PINS(3); if (trid < trn->min_read_from) return 1; /* Row is visible by all transactions in the system */ @@ -618,7 +617,6 @@ int trnman_can_read_from(TRN *trn, TrID trid) TRN *trnman_trid_to_trn(TRN *trn, TrID trid) { TRN **found; - LF_REQUIRE_PINS(3); if (trid < trn->min_read_from) return 0; /* it's committed eons ago */ |