kangpinghuang commented on a change in pull request #1413: Add short key index 
builder, decoder, iterator
URL: https://github.com/apache/incubator-doris/pull/1413#discussion_r299347038
 
 

 ##########
 File path: be/src/olap/olap_index.cpp
 ##########
 @@ -50,41 +53,63 @@ MemIndex::~MemIndex() {
     for (vector<SegmentMetaInfo>::iterator it = _meta.begin(); it != 
_meta.end(); ++it) {
         free(it->buffer.data);
         it->buffer.data = NULL;
-        it->buffer.length = 0;
+        it->buffer.size = 0;
     }
 }
 
 OLAPStatus MemIndex::load_segment(const char* file, size_t 
*current_num_rows_per_row_block) {
 
 Review comment:
   ```suggestion
   OLAPStatus MemIndex::load_segment(const char* file, size_t* 
current_num_rows_per_row_block) {
   ```

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to