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

Commit75a1cbd

Browse files
committed
hash: Fix write-ahead logging bug.
The size of the data is not the same thing as the size of the size ofthe data.Reported off-list by Tushar Ahuja. Fix by Ashutosh Sharma, reviewedby Amit Kapila.Discussion:http://postgr.es/m/CAE9k0PnmPDXfvf8HDObme7q_Ewc4E26ukHXUBPySoOs0ObqqaQ@mail.gmail.com
1 parent4deb413 commit75a1cbd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -707,7 +707,7 @@ hashbulkdelete(IndexVacuumInfo *info, IndexBulkDeleteResult *stats,
707707
xlrec.ntuples=metap->hashm_ntuples;
708708

709709
XLogBeginInsert();
710-
XLogRegisterData((char*)&xlrec,sizeof(SizeOfHashUpdateMetaPage));
710+
XLogRegisterData((char*)&xlrec,SizeOfHashUpdateMetaPage);
711711

712712
XLogRegisterBuffer(0,metabuf,REGBUF_STANDARD);
713713

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp