Alexey Serbin has uploaded a new change for review.

  http://gerrit.cloudera.org:8080/6315

Change subject: [sys_catalog] no copying into intermediate KuduPartialRow
......................................................................

[sys_catalog] no copying into intermediate KuduPartialRow

Use KuduPartialRow::SetStringNoCopy() instead of
KuduPartialRow::SetString() while setting fields for the system catalog
table.  Copying the data into the intermediate KuduPartialRow object is
not necessary: the intermediate object is not used once the data is
encoded into the result WriteRequestPB via RowOperationsPBEncoder.

Change-Id: I0dbcb822d8f85e1101846409e90e2e5af0afc4f3
---
M src/kudu/master/sys_catalog.cc
1 file changed, 7 insertions(+), 8 deletions(-)


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I0dbcb822d8f85e1101846409e90e2e5af0afc4f3
Gerrit-PatchSet: 1
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-Owner: Alexey Serbin <[email protected]>

Reply via email to