[email protected] has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/14604


Change subject: [util] Fix comment of faststring
......................................................................

[util] Fix comment of faststring

1. Under any case, capacity() is larger than the data length.
   If the current length is shorter than kInitialCapacity, after call
   shrink_to_fit(), capacity() will go down to kInitialCapacity.
2. The caller must be responsible for releaseing the pointer release() returns.

Change-Id: Ie4bd4f31216fdf5cfbf70526f1358824fbda225a
---
M src/kudu/util/faststring.h
1 file changed, 8 insertions(+), 5 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/04/14604/1
--
To view, visit http://gerrit.cloudera.org:8080/14604
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie4bd4f31216fdf5cfbf70526f1358824fbda225a
Gerrit-Change-Number: 14604
Gerrit-PatchSet: 1
Gerrit-Owner: Anonymous Coward <[email protected]>

Reply via email to