You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by hx...@apache.org on 2020/02/18 13:35:01 UTC
[incubator-iotdb] branch ut_close_socket updated: fix a bug in
TsFileIOWriter that the file field is not initialized
This is an automated email from the ASF dual-hosted git repository.
hxd pushed a commit to branch ut_close_socket
in repository https://gitbox.apache.org/repos/asf/incubator-iotdb.git
The following commit(s) were added to refs/heads/ut_close_socket by this push:
new 9a69d97 fix a bug in TsFileIOWriter that the file field is not initialized
9a69d97 is described below
commit 9a69d9731bed76383b45ab002f54153fcc060b6f
Author: xiangdong huang <sa...@gmail.com>
AuthorDate: Tue Feb 18 21:34:47 2020 +0800
fix a bug in TsFileIOWriter that the file field is not initialized
---
.../main/java/org/apache/iotdb/tsfile/write/writer/TsFileIOWriter.java | 1 +
1 file changed, 1 insertion(+)
diff --git a/tsfile/src/main/java/org/apache/iotdb/tsfile/write/writer/TsFileIOWriter.java b/tsfile/src/main/java/org/apache/iotdb/tsfile/write/writer/TsFileIOWriter.java
index b1e7d54..c38be5e 100644
--- a/tsfile/src/main/java/org/apache/iotdb/tsfile/write/writer/TsFileIOWriter.java
+++ b/tsfile/src/main/java/org/apache/iotdb/tsfile/write/writer/TsFileIOWriter.java
@@ -93,6 +93,7 @@ public class TsFileIOWriter {
*/
public TsFileIOWriter(File file) throws IOException {
this.out = new DefaultTsFileOutput(file);
+ this.file = file;
startFile();
}