ydb_tp_s() returns negative GBLOFLOW error code
Final Release Note
ydb_tp_s()
returns a negative error code (YDB_ERR_GBLOFLOW) in case of a GBLOFLOW error. Previously it incorrectly returned the positive value of this error code (i.e. -YDB_ERR_GBLOFLOW). [#383 (closed)]
Description
A GBLOFLOW error is possible if database extensions are disabled and new nodes are added to the database file and need more blocks. If ydb_tp_s() encounters this error, it currently returns 150372882 (i.e. -YDB_ERR_GBLOFLOW) whereas it should instead be returning -150372882 (i.e. YDB_ERR_GBLOFLOW) (all error codes returned by ydb_tp_s() should be negative as described in the documentation at https://docs.yottadb.com/MultiLangProgGuide/MultiLangProgGuide.html#ydb-tp-s).
Thanks to Stefan Traby for pointing out this issue.
Draft Release Note
ydb_tp_s() returns a negative error code (YDB_ERR_GBLOFLOW) in case of a GBLOFLOW error. Previously it was incorrectly returning the positive value of this error code (i.e. -YDB_ERR_GBLOFLOW).