airborne12 commented on code in PR #114: URL: https://github.com/apache/doris-thirdparty/pull/114#discussion_r1303917059
########## src/core/CLucene/index/SDocumentWriter.cpp: ########## @@ -536,6 +536,7 @@ void SDocumentsWriter<T>::ThreadState::FieldData::addPosition(Token *token) { const int32_t textLen1 = 1 + tokenTextLen; if (textLen1 + threadState->scharPool->tUpto > CHAR_BLOCK_SIZE) { + assert(textLen1 <= CHAR_BLOCK_SIZE); Review Comment: assert only works in debug -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@doris.apache.org For additional commands, e-mail: dev-h...@doris.apache.org