mdbx++: добавление compare_positions() для курсоров.

This commit is contained in:
Леонид Юрьев (Leonid Yuriev)
2023-11-18 02:32:55 +03:00
parent adcbb39379
commit eee3e6eb6b
2 changed files with 49 additions and 0 deletions

View File

@@ -233,6 +233,11 @@ namespace mdbx {
"into an incompatible memory allocation scheme.");
}
[[noreturn]] __cold void throw_incomparable_cursors() {
throw std::logic_error(
"mdbx:: incomparable and/or invalid cursors to compare positions.");
}
[[noreturn]] __cold void throw_bad_value_size() {
throw bad_value_size(MDBX_BAD_VALSIZE);
}