change write opt
This commit is contained in:
parent
1da8565e29
commit
57c4544bf0
|
@ -14,7 +14,6 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "streamState.h"
|
#include "streamState.h"
|
||||||
#include <bits/stdint-uintn.h>
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include "executor.h"
|
#include "executor.h"
|
||||||
#include "osMemory.h"
|
#include "osMemory.h"
|
||||||
|
@ -323,7 +322,7 @@ int32_t streamStateGet(SStreamState* pState, const SWinKey* key, void** pVal, in
|
||||||
}
|
}
|
||||||
|
|
||||||
bool streamStateCheck(SStreamState* pState, const SWinKey* key) {
|
bool streamStateCheck(SStreamState* pState, const SWinKey* key) {
|
||||||
#ifdef USE_ROCKSDB
|
#ifdef USE_ROCKSDB
|
||||||
return hasRowBuff(pState->pFileState, (void*)key, sizeof(SWinKey));
|
return hasRowBuff(pState->pFileState, (void*)key, sizeof(SWinKey));
|
||||||
#else
|
#else
|
||||||
SStateKey sKey = {.key = *key, .opNum = pState->number};
|
SStateKey sKey = {.key = *key, .opNum = pState->number};
|
||||||
|
|
Loading…
Reference in New Issue