Skip to content

Commit 2eb8107

Browse files
committed
some layout changes?
1 parent de66cf7 commit 2eb8107

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

tsl/src/nodes/vector_agg/hashing/hash_strategy_impl.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@
1515
*/
1616
typedef struct FUNCTION_NAME(entry)
1717
{
18+
HASH_TABLE_KEY_TYPE hash_table_key;
19+
1820
/* Key index 0 is invalid. */
1921
uint32 key_index;
20-
21-
HASH_TABLE_KEY_TYPE hash_table_key;
2222
} FUNCTION_NAME(entry);
2323

2424
#define SH_PREFIX KEY_VARIANT

tsl/src/nodes/vector_agg/hashing/umash_fingerprint_key.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@
1414

1515
/*
1616
* The struct is packed so that the hash table entry fits into 16
17-
* bytes with the uint32 key index that goes before.
17+
* bytes with the uint32 key index that goes after.
1818
*/
1919
struct umash_fingerprint_key
2020
{
21-
uint32 hash;
22-
uint64 rest;
21+
uint64 hash;
22+
uint32 rest;
2323
} pg_attribute_packed();
2424

2525
#define HASH_TABLE_KEY_TYPE struct umash_fingerprint_key

0 commit comments

Comments
 (0)