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

Commit563d575

Browse files
committed
Fix creative, but unportable, spelling of "ptr != NULL".
Or at least I suppose that's what was really meant here. But evenaside from the not-per-project-style use of "0" to mean "NULL",I doubt it's safe to assume that all valid pointers are > NULL.Per buildfarm member pademelon.
1 parenta924c32 commit563d575

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/backend/commands/tablecmds.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13167,7 +13167,7 @@ ATExecAttachPartition(List **wqueue, Relation rel, PartitionCmd *cmd)
1316713167
tupleDesc=RelationGetDescr(attachRel);
1316813168
attachRel_constr=tupleDesc->constr;
1316913169
existConstraint=NIL;
13170-
if (attachRel_constr>0)
13170+
if (attachRel_constr!=NULL)
1317113171
{
1317213172
intnum_check=attachRel_constr->num_check;
1317313173
inti;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp