]> git.pld-linux.org Git - packages/db4.2.git/blame - patch.4.2.52.5
- unified: more Obsoletes when built as default_db
[packages/db4.2.git] / patch.4.2.52.5
CommitLineData
d3163956
ER
1*** mp/mp_fget.c.orig 2003-09-25 08:29:02.000000000 -0700
2--- mp/mp_fget.c 2006-05-26 14:58:02.246963204 -0700
3***************
4*** 553,560 ****
5 */
6 if (state != SECOND_MISS && bhp->ref == 1) {
7 bhp->priority = UINT32_T_MAX;
8! SH_TAILQ_REMOVE(&hp->hash_bucket, bhp, hq, __bh);
9! SH_TAILQ_INSERT_TAIL(&hp->hash_bucket, bhp, hq);
10 hp->hash_priority =
11 SH_TAILQ_FIRST(&hp->hash_bucket, __bh)->priority;
12 }
13--- 553,563 ----
14 */
15 if (state != SECOND_MISS && bhp->ref == 1) {
16 bhp->priority = UINT32_T_MAX;
17! if (SH_TAILQ_FIRST(&hp->hash_bucket, __bh) !=
18! SH_TAILQ_LAST(&hp->hash_bucket, hq, __bh)) {
19! SH_TAILQ_REMOVE(&hp->hash_bucket, bhp, hq, __bh);
20! SH_TAILQ_INSERT_TAIL(&hp->hash_bucket, bhp, hq);
21! }
22 hp->hash_priority =
23 SH_TAILQ_FIRST(&hp->hash_bucket, __bh)->priority;
24 }
This page took 0.022527 seconds and 4 git commands to generate.