$ydb_dist copied to gtm_dist during initialization
Final Release Note
When YottaDB is initialized by a non-M process using either call-ins, the Simple API, or by calling ydb_init()
explicitly, the gtm_dist
environment variable is set to $ydb_dist
. Previously, it was possible under these circumstances for $gtm_dist
to be not set, or to point to a directory other than $ydb_dist
. [#470 (closed)]
Description
When the ydb_init() function is called it copies over all gtm* environment variables to their ydb_* equivalents EXCEPT for gtm_dist/ydb_dist. This can cause subtle issues for users that use gtm* environment variables in their setup scripts.
Draft Release Note
When YottaDB is initialized by a non-M process using either call-ins, the Simple API, or by calling ydb_init() directly, if $gtm_dist is is either not set or is not set to the same value as $ydb_dist as happens when YottaDB is invoked by other methods. Previously, when invoking YottaDB with a non-M main and $ydb_dist set, the value of $gtm_dist was not reset and was left in an unsynchronized state.