@nxtedition/rocksdb 12.1.5 → 12.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/binding.cc
CHANGED
|
@@ -1160,7 +1160,7 @@ NAPI_METHOD(db_get_many_sync) {
|
|
|
1160
1160
|
napi_value row;
|
|
1161
1161
|
if (statuses[n].IsNotFound()) {
|
|
1162
1162
|
NAPI_STATUS_THROWS(napi_get_undefined(env, &row));
|
|
1163
|
-
} else if (statuses[n].IsAborted()) {
|
|
1163
|
+
} else if (statuses[n].IsAborted() || statuses[n].IsTimedOut()) {
|
|
1164
1164
|
NAPI_STATUS_THROWS(napi_get_null(env, &row));
|
|
1165
1165
|
} else {
|
|
1166
1166
|
ROCKS_STATUS_THROWS_NAPI(statuses[n]);
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|