[Groonga-commit] groonga/grnci at 55f3031 [master] Fix a bug that the data type of DBObjectKey.Type is wrong.

Back to archive index

Susumu Yata null+****@clear*****
Fri Jul 7 14:08:28 JST 2017


Susumu Yata	2017-07-07 14:08:28 +0900 (Fri, 07 Jul 2017)

  New Revision: 55f303193bb942383fde1ac800af17a9e702448f
  https://github.com/groonga/grnci/commit/55f303193bb942383fde1ac800af17a9e702448f

  Message:
    Fix a bug that the data type of DBObjectKey.Type is wrong.

  Modified files:
    v2/db.go

  Modified: v2/db.go (+3 -3)
===================================================================
--- v2/db.go    2017-07-07 13:08:52 +0900 (e369d78)
+++ v2/db.go    2017-07-07 14:08:28 +0900 (dd72603)
@@ -1115,9 +1115,9 @@ type DBObjectColumn struct {
 
 // DBObjectKey is a part of DBObjectTable.
 type DBObjectKey struct {
-	Type         string `json:"type"`
-	TotalSize    int    `json:"total_size"`
-	MaxTotalSize int    `json:"max_total_size"`
+	Type         DBObjectType `json:"type"`
+	TotalSize    int          `json:"total_size"`
+	MaxTotalSize int          `json:"max_total_size"`
 }
 
 // DBObjectValue is a part of DBObjectTable.
-------------- next part --------------
HTML����������������������������...
Télécharger 



More information about the Groonga-commit mailing list
Back to archive index