Skip to content

Commit

Permalink
[YottaDB#59] Fix for TODO YottaDB#20 - although ydb_child_init() is n…
Browse files Browse the repository at this point in the history
…ot a simpleAPI routine it still uses the LIBYOTTADB_INIT macro which sets the libyottadb_active_rtn flag with the routine type. It was not clearing this flag when it exited.
  • Loading branch information
estess authored and nars1 committed Mar 6, 2018
1 parent 1990842 commit 5712451
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sr_unix/ydb_child_init.c
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ int ydb_child_init(void *param)
ydb_child_init_sem_incrcnt(reg, RECVPOOL_REG, NULL);
skip_exit_handler = FALSE; /* Now that the child process database state is set up correctly, it is safe to "gds_rundown" */
assert(NULL == ftok_sem_reg);
LIBYOTTADB_DONE;
REVERT;
return YDB_OK;
}
Expand Down

0 comments on commit 5712451

Please sign in to comment.