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

Commitd7cce47

Browse files
committed
Silence clang checker in build_pathman_relation_info bounds cleanup.
1 parentce72bc7 commitd7cce47

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

‎src/relation_info.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -522,8 +522,11 @@ build_pathman_relation_info(Oid relid, Datum *values)
522522
*/
523523
if (prel->parttype==PT_HASH)
524524
child=prel->children[i];
525-
elseif (prel->parttype==PT_RANGE)
525+
else
526+
{
527+
Assert(prel->parttype==PT_RANGE)
526528
child=prel->ranges[i].child_oid;
529+
}
527530

528531
forget_bounds_of_partition(child);
529532
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp