This is an automated email from the ASF dual-hosted git repository.

jackietien pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/iotdb-client-go.git


The following commit(s) were added to refs/heads/main by this push:
     new b5e80e0  Change the datatype from int16 to int8 (#11)
b5e80e0 is described below

commit b5e80e0720c83639c77476bf37f3bc318fb5a413
Author: Mark Liu <[email protected]>
AuthorDate: Thu Jan 21 21:54:51 2021 +0800

    Change the datatype from int16 to int8 (#11)
    
    Change the datatype from int16 to int8
---
 client/protocol.go | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/client/protocol.go b/client/protocol.go
index fcae415..4588c1e 100644
--- a/client/protocol.go
+++ b/client/protocol.go
@@ -19,11 +19,11 @@
 
 package client
 
-type TSDataType int16
+type TSDataType int8
 
-type TSEncoding int16
+type TSEncoding uint8
 
-type TSCompressionType int16
+type TSCompressionType uint8
 
 const (
        UNKNOW  TSDataType = -1
@@ -96,7 +96,7 @@ const (
        LogicalOperatorError     int32 = 407
        LogicalOptimizeError     int32 = 408
        UnsupportedFillTypeError int32 = 409
-       PathErroRint32                 = 410
+       PathErroRint32           int32 = 410
        QueryProcessError        int32 = 411
        WriteProcessError        int32 = 412
        WriteProcessReject       int32 = 413

Reply via email to