You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@iotdb.apache.org by GitBox <gi...@apache.org> on 2021/01/22 02:26:09 UTC

[GitHub] [iotdb] wshao08 commented on a change in pull request #2513: [IOTDB-1077] [C++ Client] Add insertRecordsOfOneDevice() interface for C++ client

wshao08 commented on a change in pull request #2513:
URL: https://github.com/apache/iotdb/pull/2513#discussion_r562337359



##########
File path: client-cpp/src/main/Session.cpp
##########
@@ -408,12 +417,52 @@ void Session::sortIndexByTimestamp(int* index, int64_t* timestamps, int length)
     }
 }
 
-vector<string> Session::sortList(vector<string>& valueList, int* index, int indexLength) {
-    vector<string> sortedValues(valueList.size());
-    for (int i = 0; i < indexLength; i++) {
-        sortedValues[i] = valueList[index[i]];
+void Session::putValuesIntoBuffer(vector<TSDataType::TSDataType>& types, vector<char*>& values, string buf) {

Review comment:
       Fixed




----------------------------------------------------------------
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:
users@infra.apache.org