mirror of https://gitee.com/bigwinds/arangodb
silence warning
This commit is contained in:
parent
77da0794ce
commit
b494d22e22
|
@ -112,7 +112,7 @@ std::pair<uint64_t, uint64_t> RocksDBCounterManager::loadCounter(uint64_t object
|
||||||
/// the sequence number used
|
/// the sequence number used
|
||||||
void RocksDBCounterManager::updateCounter(uint64_t objectId,
|
void RocksDBCounterManager::updateCounter(uint64_t objectId,
|
||||||
rocksdb::Snapshot const* snapshot,
|
rocksdb::Snapshot const* snapshot,
|
||||||
uint64_t delta, uint64_t revisionId) {
|
int64_t delta, uint64_t revisionId) {
|
||||||
bool needsSync = false;
|
bool needsSync = false;
|
||||||
{
|
{
|
||||||
WRITE_LOCKER(guard, _rwLock);
|
WRITE_LOCKER(guard, _rwLock);
|
||||||
|
|
|
@ -73,7 +73,7 @@ class RocksDBCounterManager : Thread {
|
||||||
/// their total counts. Thread-Safe needs the snapshot so we know
|
/// their total counts. Thread-Safe needs the snapshot so we know
|
||||||
/// the sequence number used
|
/// the sequence number used
|
||||||
void updateCounter(uint64_t objectId, rocksdb::Snapshot const* snapshot,
|
void updateCounter(uint64_t objectId, rocksdb::Snapshot const* snapshot,
|
||||||
uint64_t value1, uint64_t value2);
|
int64_t delta, uint64_t revisionId);
|
||||||
|
|
||||||
/// Thread-Safe remove a counter
|
/// Thread-Safe remove a counter
|
||||||
void removeCounter(uint64_t objectId);
|
void removeCounter(uint64_t objectId);
|
||||||
|
|
Loading…
Reference in New Issue