提交 4b7b9a79 编写于 作者: R Robert Haas

Fix incorrect use of shm_unlink where unlink should be used.

Per buildfarm.
上级 264aa14a
......@@ -864,7 +864,7 @@ dsm_impl_mmap(dsm_op op, dsm_handle handle, uint64 request_size,
save_errno = errno;
close(fd);
if (op == DSM_OP_CREATE)
shm_unlink(name);
unlink(name);
errno = save_errno;
ereport(elevel,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册