Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CPP keywords should not be used as function/parameter names #449

Merged
merged 1 commit into from
May 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions src/backend/catalog/storage.c
Original file line number Diff line number Diff line change
Expand Up @@ -630,12 +630,12 @@ RestorePendingSyncs(char *startAddress)
}

void
RegisterPendingDelete(struct PendingRelDelete *delete)
RegisterPendingDelete(struct PendingRelDelete *pending)
{
Assert(delete);
Assert(delete->action);
delete->next = pendingDeletes;
pendingDeletes = delete;
Assert(pending);
Assert(pending->action);
pending->next = pendingDeletes;
pendingDeletes = pending;
}

/*
Expand Down
2 changes: 1 addition & 1 deletion src/include/catalog/storage.h
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ extern void SerializePendingSyncs(Size maxSize, char *startAddress);
extern void RestorePendingSyncs(char *startAddress);

/* register a pending delete item into pending delete list */
void RegisterPendingDelete(struct PendingRelDelete *delete);
void RegisterPendingDelete(struct PendingRelDelete *pending);

/*
* These functions used to be in storage/smgr/smgr.c, which explains the
Expand Down
Loading