mirror of https://gitee.com/bigwinds/arangodb
fixed null
This commit is contained in:
parent
315232f2c8
commit
c2dbce8290
|
@ -912,6 +912,8 @@ bool TRI_ExtractShapedJsonVocShaper (TRI_shaper_t* shaper,
|
|||
LOG_TRACE("expecting any object for path %lu, got nothing",
|
||||
(unsigned long) pid);
|
||||
|
||||
*shape = nullptr;
|
||||
|
||||
return sid == TRI_SHAPE_ILLEGAL;
|
||||
}
|
||||
|
||||
|
@ -922,6 +924,8 @@ bool TRI_ExtractShapedJsonVocShaper (TRI_shaper_t* shaper,
|
|||
(unsigned long) pid,
|
||||
(unsigned long) accessor->_resultSid);
|
||||
|
||||
*shape = nullptr;
|
||||
|
||||
return sid == TRI_SHAPE_ILLEGAL;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue