Skip to content

Commit 3b66506

Browse files
Fenimorkindmpgpro
authored andcommitted
Pointer FIX
1 parent ae86a5e commit 3b66506

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/backend/commands/waitlsn.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ WaitLSNSetLatch(void)
140140
}
141141

142142
void
143-
WaitLSNUtility(const char *lsn, const int *delay)
143+
WaitLSNUtility(const char *lsn, const int delay)
144144
{
145145
XLogRecPtr trg_lsn;
146146
XLogRecPtr cur_lsn;

src/backend/tcop/utility.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -913,7 +913,7 @@ standard_ProcessUtility(Node *parsetree,
913913
"WaitLSN")));
914914
}
915915
else
916-
WaitLSNUtility(stmt->lsn, stmt->delay);
916+
WaitLSNUtility(stmt->lsn, *stmt->delay);
917917
}
918918
break;
919919

src/include/commands/waitlsn.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
#ifndef WAITLSN_H
1414
#define WAITLSN_H
1515

16-
extern void WaitLSNUtility(const char *lsn, const int *delay);
16+
extern void WaitLSNUtility(const char *lsn, const int delay);
1717
extern void WaitLSNShmemInit(void);
1818
extern void WaitLSNSetLatch(void);
1919

0 commit comments

Comments
 (0)