]> granicus.if.org Git - postgresql/commitdiff
Fix silly oversight in patch to remove dsm state file.
authorRobert Haas <rhaas@postgresql.org>
Tue, 8 Apr 2014 20:22:50 +0000 (16:22 -0400)
committerRobert Haas <rhaas@postgresql.org>
Tue, 8 Apr 2014 20:22:50 +0000 (16:22 -0400)
I'm not sure if this is what's causing the Windows buildfarm members
to get unhappy, but I don't think it can be helping anything...

src/backend/port/win32_shmem.c

index 3a0ded4865091fa98d071835b2f4e7e43b89dd53..a537bb35ea5d34da3d11193957b4d588d729ff96 100644 (file)
@@ -253,7 +253,7 @@ PGSharedMemoryCreate(Size size, bool makePrivate, int port,
        UsedShmemSegSize = size;
        UsedShmemSegID = hmap2;
 
-       *shim = NULL;
+       *shim = hdr;
        return hdr;
 }