Add TODO for DBToStackableDB function which doesn't work yet

Summary:

Test Plan:

Reviewers:

CC:

Task ID: #

Blame Rev:
main
Mayank Agarwal 11 years ago
parent af732c7ba8
commit 404d63ac3e
  1. 2
      include/utilities/stackable_db.h

@ -20,6 +20,8 @@ class StackableDB : public DB {
} }
// convert a DB to StackableDB // convert a DB to StackableDB
// TODO: This function does not work yet. Passing nullptr to StackableDB in
// NewStackableDB's constructor will cause segfault on object's usage
static StackableDB* DBToStackableDB(DB* db) { static StackableDB* DBToStackableDB(DB* db) {
class NewStackableDB : public StackableDB { class NewStackableDB : public StackableDB {
public: public:

Loading…
Cancel
Save