mirror of
https://github.com/postgres/postgres.git
synced 2025-07-31 22:04:40 +03:00
I missed some references to xlogid/xrecoff in Win32-only code. Fix.
This commit is contained in:
@ -1100,6 +1100,8 @@ BaseBackup(void)
|
|||||||
int r;
|
int r;
|
||||||
#else
|
#else
|
||||||
DWORD status;
|
DWORD status;
|
||||||
|
uint32 hi,
|
||||||
|
lo;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if (verbose)
|
if (verbose)
|
||||||
@ -1147,12 +1149,13 @@ BaseBackup(void)
|
|||||||
* value directly in the variable, and then set the flag that says
|
* value directly in the variable, and then set the flag that says
|
||||||
* it's there.
|
* it's there.
|
||||||
*/
|
*/
|
||||||
if (sscanf(xlogend, "%X/%X", &xlogendptr.xlogid, &xlogendptr.xrecoff) != 2)
|
if (sscanf(xlogend, "%X/%X", &hi, &lo) != 2)
|
||||||
{
|
{
|
||||||
fprintf(stderr, _("%s: could not parse xlog end position \"%s\"\n"),
|
fprintf(stderr, _("%s: could not parse xlog end position \"%s\"\n"),
|
||||||
progname, xlogend);
|
progname, xlogend);
|
||||||
disconnect_and_exit(1);
|
disconnect_and_exit(1);
|
||||||
}
|
}
|
||||||
|
xlogendptr = ((uint64) hi) << 32 | lo;
|
||||||
InterlockedIncrement(&has_xlogendptr);
|
InterlockedIncrement(&has_xlogendptr);
|
||||||
|
|
||||||
/* First wait for the thread to exit */
|
/* First wait for the thread to exit */
|
||||||
|
Reference in New Issue
Block a user