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

Commit22d6ee5

Browse files
author
Alexander Korotkov
committed
Fix comparison function call.
1 parent4d73380 commit22d6ee5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

‎contrib/pg_pathman/init.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -342,10 +342,9 @@ load_check_constraints(Oid parent_oid, Snapshot snapshot)
342342
{
343343
Datumcur_upper=PATHMAN_GET_DATUM(ranges[i].max,byVal);
344344
Datumnext_lower=PATHMAN_GET_DATUM(ranges[i+1].min,byVal);
345-
booloverlap=FunctionCall2(qsort_type_cmp_func,next_lower,cur_upper)<0;
345+
booloverlap=DatumGetInt32(FunctionCall2(qsort_type_cmp_func,next_lower,cur_upper))<0;
346346

347347
if (overlap)
348-
// if (ranges[i].max > ranges[i+1].min)
349348
{
350349
RelationKeykey;
351350
key.dbid=MyDatabaseId;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp