Skip to content

Commit

Permalink
fix compile error
Browse files Browse the repository at this point in the history
  • Loading branch information
yinqiwen committed Jun 3, 2016
1 parent 5409e91 commit 3223182
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions src/db/db.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -340,8 +340,7 @@ OP_NAMESPACE_BEGIN
{ "restorechunk", REDIS_CMD_RESTORECHUNK, &Ardb::RestoreChunk, 1, 1, "wl", 0, 0, 0 },
{ "restoredb", REDIS_CMD_RESTOREDB, &Ardb::RestoreDB, 1, 1, "wl", 0, 0, 0 },
{ "monitor", REDIS_CMD_MONITOR, &Ardb::Monitor, 0, 0, "ars", 0, 0, 0 },
{ "debug", REDIS_CMD_DEBUG, &Ardb::Debug, 2, -1, "ars", 0, 0, 0 },
{ "backup", REDIS_CMD_BACKUP, &Ardb::Backup, 0, 1, "ars", 0, 0, 0 },};
{ "debug", REDIS_CMD_DEBUG, &Ardb::Debug, 2, -1, "ars", 0, 0, 0 },};

CostRanges cmdstat_ranges;
cmdstat_ranges.push_back(CostRange(0, 1000));
Expand Down
2 changes: 1 addition & 1 deletion test/test_main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ int main()
}
LUAInterpreter interpreter;
std::deque<std::string> fs;
std::string command_test_path = "../test/commands/";
std::string command_test_path = "../commands/";
list_subfiles(command_test_path, fs);

for (size_t i = 0; i < fs.size(); i++)
Expand Down

0 comments on commit 3223182

Please sign in to comment.