factor code
This commit is contained in:
parent
e6474caddf
commit
0710fc39af
|
@ -13,7 +13,6 @@
|
|||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
// #include "streamStateRocksdb.h"
|
||||
#include "streamBackendRocksdb.h"
|
||||
#include "executor.h"
|
||||
#include "tcommon.h"
|
||||
|
|
|
@ -81,6 +81,7 @@ SStreamMeta* streamMetaOpen(const char* path, void* ahandle, FTaskExpand expandF
|
|||
pMeta->vgId = vgId;
|
||||
pMeta->ahandle = ahandle;
|
||||
pMeta->expandFunc = expandFunc;
|
||||
pMeta->streamBackendId = streamBackendId;
|
||||
|
||||
char* statePath = taosMemoryCalloc(1, len);
|
||||
sprintf(statePath, "%s/%s", pMeta->path, "state");
|
||||
|
|
Loading…
Reference in New Issue