2016-02-10 00:12:00 +01:00
|
|
|
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved.
|
2017-07-16 01:03:42 +02:00
|
|
|
// This source code is licensed under both the GPLv2 (found in the
|
|
|
|
// COPYING file in the root directory) and Apache 2.0 License
|
|
|
|
// (found in the LICENSE.Apache file in the root directory).
|
2015-08-15 01:45:05 +02:00
|
|
|
|
|
|
|
#include "rocksdb/status.h"
|
|
|
|
|
|
|
|
namespace rocksdb {
|
|
|
|
|
|
|
|
const char* Status::msgs[] = {
|
2016-09-07 21:37:45 +02:00
|
|
|
"", // kNone
|
|
|
|
"Timeout Acquiring Mutex", // kMutexTimeout
|
|
|
|
"Timeout waiting to lock key", // kLockTimeout
|
|
|
|
"Failed to acquire lock due to max_num_locks limit", // kLockLimit
|
2017-02-17 19:47:35 +01:00
|
|
|
"No space left on device", // kNoSpace
|
|
|
|
"Deadlock", // kDeadlock
|
2017-04-11 00:38:34 +02:00
|
|
|
"Stale file handle", // kStaleFile
|
|
|
|
"Memory limit reached" // kMemoryLimit
|
2015-08-15 01:45:05 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
} // namespace rocksdb
|