mirror of
https://github.com/postgres/postgres.git
synced 2025-07-05 07:21:24 +03:00
New HeapTuple structure/interface.
This commit is contained in:
@ -7,7 +7,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/executor/nodeUnique.c,v 1.17 1998/02/26 04:31:34 momjian Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/executor/nodeUnique.c,v 1.18 1998/11/27 19:52:03 vadim Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -76,7 +76,7 @@ ExecIdenticalTuples(TupleTableSlot *t1, TupleTableSlot *t2)
|
||||
* THE t_len FIELDS CAN BE THE SAME IN THIS CASE!!
|
||||
* ----------------
|
||||
*/
|
||||
if (h1->t_hoff != h2->t_hoff)
|
||||
if (h1->t_data->t_hoff != h2->t_data->t_hoff)
|
||||
return false;
|
||||
|
||||
/* ----------------
|
||||
@ -86,7 +86,7 @@ ExecIdenticalTuples(TupleTableSlot *t1, TupleTableSlot *t2)
|
||||
*/
|
||||
d1 = (char *) GETSTRUCT(h1);
|
||||
d2 = (char *) GETSTRUCT(h2);
|
||||
len = (int) h1->t_len - (int) h1->t_hoff;
|
||||
len = (int) h1->t_len - (int) h1->t_data->t_hoff;
|
||||
|
||||
/* ----------------
|
||||
* byte compare the data areas and return the result.
|
||||
|
Reference in New Issue
Block a user