You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by qi...@apache.org on 2022/01/20 02:07:32 UTC
[iotdb] branch master updated: entry in mlog for creating template has a comma behind operator type now (#4913)
This is an automated email from the ASF dual-hosted git repository.
qiaojialin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/iotdb.git
The following commit(s) were added to refs/heads/master by this push:
new 5fc4d89 entry in mlog for creating template has a comma behind operator type now (#4913)
5fc4d89 is described below
commit 5fc4d892926f62cf714d1a5480404b7724fe4f50
Author: ZhaoXin <x_...@163.com>
AuthorDate: Thu Jan 20 10:06:41 2022 +0800
entry in mlog for creating template has a comma behind operator type now (#4913)
---
.../main/java/org/apache/iotdb/db/metadata/logfile/MLogTxtWriter.java | 1 +
1 file changed, 1 insertion(+)
diff --git a/server/src/main/java/org/apache/iotdb/db/metadata/logfile/MLogTxtWriter.java b/server/src/main/java/org/apache/iotdb/db/metadata/logfile/MLogTxtWriter.java
index 265f6f3..f4b85f9 100644
--- a/server/src/main/java/org/apache/iotdb/db/metadata/logfile/MLogTxtWriter.java
+++ b/server/src/main/java/org/apache/iotdb/db/metadata/logfile/MLogTxtWriter.java
@@ -371,6 +371,7 @@ public class MLogTxtWriter implements AutoCloseable {
// OperationType,templateName[,measurementPath,isAlign,dataType,encoding,compressor]
StringBuilder buf = new StringBuilder();
buf.append(MetadataOperationType.CREATE_TEMPLATE);
+ buf.append(",");
buf.append(plan.getName());
for (int i = 0; i < plan.getMeasurements().size(); i++) {
for (int j = 0; j < plan.getMeasurements().get(i).size(); j++) {