mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-02-11 19:20:40 +08:00
Fix inline marking introduced in commit 464824323e
.
Forgot to add inline marking in changes_filename() declaration. In the passing, add inline marking for a similar function subxact_filename(). Reported-By: Nathan Bossart Discussion: https://postgr.es/m/E98FBE8F-B878-480D-A728-A60C6EED3047@amazon.com
This commit is contained in:
parent
e36e936e0e
commit
ac15b499f7
@ -198,8 +198,8 @@ typedef struct ApplySubXactData
|
||||
|
||||
static ApplySubXactData subxact_data = {0, 0, InvalidTransactionId, NULL};
|
||||
|
||||
static void subxact_filename(char *path, Oid subid, TransactionId xid);
|
||||
static void changes_filename(char *path, Oid subid, TransactionId xid);
|
||||
static inline void subxact_filename(char *path, Oid subid, TransactionId xid);
|
||||
static inline void changes_filename(char *path, Oid subid, TransactionId xid);
|
||||
|
||||
/*
|
||||
* Information about subtransactions of a given toplevel transaction.
|
||||
@ -2722,7 +2722,7 @@ subxact_info_add(TransactionId xid)
|
||||
}
|
||||
|
||||
/* format filename for file containing the info about subxacts */
|
||||
static void
|
||||
static inline void
|
||||
subxact_filename(char *path, Oid subid, TransactionId xid)
|
||||
{
|
||||
snprintf(path, MAXPGPATH, "%u-%u.subxacts", subid, xid);
|
||||
|
Loading…
Reference in New Issue
Block a user