diff --git a/debug/cap.go b/debug/cap.go new file mode 100644 index 0000000..458bb48 --- /dev/null +++ b/debug/cap.go @@ -0,0 +1,5 @@ +package debug + +var ( + DebugCap uint32 +) diff --git a/debug/db_yes.go b/debug/db_yes.go index fa8186e..c323366 100644 --- a/debug/db_yes.go +++ b/debug/db_yes.go @@ -37,6 +37,10 @@ var ( } ) +func init() { + DebugCap |= 1 +} + func typToString(v common.DataTyp) string { return dbTypStr[v] }