ydb_exit() reports INVDBEXIT error when called from C code invoked from M code
Final Release Note
ydb_exit() returns with an error YDB_ERR_INVYDBEXIT when called from C code was invoked from M code. Previously this abnormally terminated the process with a SIG-11. [#434 (closed)]
Description
ydb_exit() is supposed to return an error (-YDB_ERR_INVYDBEXIT) in case it is invoked from an external call (i.e. a C program which was invoked by an M program). But it currently terminates the process with a SIG-11, a fatal error and creates a core file. The same issue exists with gtm_exit() in the GT.M code base.
Draft Release Note
ydb_exit() returns with an error -YDB_ERR_INVYDBEXIT
in case it is invoked from an external call. Previously this used to abnormally terminate the process with a SIG-11 fatal error.
Edited by K.S. Bhaskar