Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit1d3166d

Browse files
committed
compile cleanup
1 parentf1cdcff commit1d3166d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

‎src/backend/access/hash/hashfunc.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/access/hash/hashfunc.c,v 1.15 1999/03/14 16:25:07 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/access/hash/hashfunc.c,v 1.16 1999/03/14 16:27:59 momjian Exp $
1111
*
1212
* NOTES
1313
* These functions are stored in pg_amproc.For each operator class
@@ -19,6 +19,7 @@
1919
#include"postgres.h"
2020

2121
#include"access/hash.h"
22+
#include"utils/int8.h"
2223

2324
uint32
2425
hashint2(int16key)
@@ -35,7 +36,7 @@ hashint4(uint32 key)
3536
uint32
3637
hashint8(int64*key)
3738
{
38-
return ~((uint32)key);
39+
return ~((uint32)*key);
3940
}
4041

4142
/* Hash function from Chris Torek. */

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp