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

Commit691c9c6

Browse files
committed
Use typedef for RBTNode instead of define
1 parent74769d8 commit691c9c6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

‎src/rum.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -774,7 +774,7 @@ extern bool rumvalidate(Oid opclassoid);
774774

775775
/* rumbulk.c */
776776
#ifPG_VERSION_NUM <=100006
777-
#defineRBTNodeRBNode
777+
typedefRBNodeRBTNode;
778778
#endif
779779

780780
typedefstructRumEntryAccumulator

‎src/rumbtree.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -527,7 +527,7 @@ rumInsertValue(Relation index, RumBtree btree, RumBtreeStack * stack,
527527
else
528528
{
529529
BlockNumberrightrightBlkno=InvalidBlockNumber;
530-
BufferrightrightBuffer;
530+
BufferrightrightBuffer=InvalidBuffer;
531531

532532
/* split non-root page */
533533
if (btree->rumstate->isBuild)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp