2017-04-05 13:38:17 +02:00
|
|
|
Index: kyotocabinet-1.2.76/kcdbext.h
|
|
|
|
===================================================================
|
|
|
|
--- kyotocabinet-1.2.76.orig/kcdbext.h
|
|
|
|
+++ kyotocabinet-1.2.76/kcdbext.h
|
|
|
|
@@ -1278,7 +1278,7 @@ class IndexDB {
|
2016-05-25 12:45:15 +02:00
|
|
|
if (omode_ == 0) {
|
|
|
|
set_error(_KCCODELINE_, BasicDB::Error::INVALID, "not opened");
|
|
|
|
*sp = 0;
|
|
|
|
- return false;
|
2017-04-05 13:38:17 +02:00
|
|
|
+ return NULL;
|
2016-05-25 12:45:15 +02:00
|
|
|
}
|
|
|
|
if (!cache_) return db_.get(kbuf, ksiz, sp);
|
|
|
|
size_t dvsiz = 0;
|