Skip to content

Commit 6c492b4

Browse files
committed
Fix raftable worker initialization
1 parent 939e0ad commit 6c492b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contrib/raftable/worker.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -496,7 +496,7 @@ static void worker_main(Datum arg)
496496

497497
void worker_register(WorkerConfig *cfg)
498498
{
499-
BackgroundWorker worker;
499+
BackgroundWorker worker = {{0}};
500500
strcpy(worker.bgw_name, "raftable worker");
501501
worker.bgw_flags = BGWORKER_SHMEM_ACCESS;
502502
worker.bgw_start_time = BgWorkerStart_ConsistentState;

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy