$ZROUTINES defaults to $ydb_dist/utf8/libyottadbutil.so for UTF-8 mode processes
Final Release Note
If $ZROUTINES is not set, yottadb
defaults it to $ydb_dist/libyottadbutil.so
in M mode and $ydb_dist/utf8/libyottadbutil.so
in UTF-8 mode. Previously it was unconditionally set to $ydb_dist/libyottadbutil.so
which was inappropriate for UTF-8 mode processes. This was discovered in the YottaDB development environment and never reported by a user. [#783 (closed)]
Description
If $ydb_routines
is not set, at process startup the process should initialize $ydb_routines
to include plugins in the plugins subdirectory.
Draft Release Note
Note that the original issue was relegated to be undoable; and instead it was changed to fix an existing issue found during investigation of implementation of the original issue described in description.
YottaDB now sets $ZROUTINES
to $ydb_dist/utf8/libyottadbutil.so
if ydb_chset=UTF-8
and ydb_routines
is not set. Previously, if $ydb_routines
was not set, $ZROUTINES
got set to $ydb_dist/libyottadbutil.so or $ydb_dist if libyottadbutil.so was not installed regardless of whether we are in M mode or UTF-8 mode. This is incorrect in UTF-8 mode, as we need to use the objects compiled in UTF-8 mode; thus $ydb_dist/utf8/libyottadbutil.so or $ydb_dist/utf8/. [#783 (closed)]