Add debug label test, capability debug flag
This commit is contained in:
parent
1a782c1db9
commit
35cf3a1cd1
5
debug/cap.go
Normal file
5
debug/cap.go
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
package debug
|
||||||
|
|
||||||
|
var (
|
||||||
|
DebugCap uint32
|
||||||
|
)
|
@ -37,6 +37,10 @@ var (
|
|||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
func init() {
|
||||||
|
DebugCap |= 1
|
||||||
|
}
|
||||||
|
|
||||||
func typToString(v common.DataTyp) string {
|
func typToString(v common.DataTyp) string {
|
||||||
return dbTypStr[v]
|
return dbTypStr[v]
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user