Документ взят из кэша поисковой машины. Адрес оригинального документа : http://www.sai.msu.su/~megera/postgres/gist/code/7.1.2/patch_mk_core.712
Дата изменения: Thu Jun 28 15:39:36 2001
Дата индексирования: Sat Dec 22 08:02:25 2007
Кодировка:
*** src/backend/access/gist/gistscan.c.orig Thu Jun 28 13:51:03 2001
--- src/backend/access/gist/gistscan.c Thu Jun 28 13:52:22 2001
***************
*** 120,126 ****
s->keyData[i].sk_procedure
= RelationGetGISTStrategy(s->relation, s->keyData[i].sk_attno,
s->keyData[i].sk_procedure);
! s->keyData[i].sk_func = p->giststate->consistentFn[i];
}
}
else
--- 120,126 ----
s->keyData[i].sk_procedure
= RelationGetGISTStrategy(s->relation, s->keyData[i].sk_attno,
s->keyData[i].sk_procedure);
! s->keyData[i].sk_func = p->giststate->consistentFn[s->keyData[i].sk_attno-1];
}
}
else
***************
*** 151,157 ****
s->keyData[i].sk_procedure
= RelationGetGISTStrategy(s->relation, s->keyData[i].sk_attno,
s->keyData[i].sk_procedure);
! s->keyData[i].sk_func = p->giststate->consistentFn[i];
}
}

--- 151,157 ----
s->keyData[i].sk_procedure
= RelationGetGISTStrategy(s->relation, s->keyData[i].sk_attno,
s->keyData[i].sk_procedure);
! s->keyData[i].sk_func = p->giststate->consistentFn[s->keyData[i].sk_attno-1];
}
}