2
0

Remove useless allocations

This commit is contained in:
Jack Christensen
2022-01-08 13:38:56 -06:00
parent 4aff33603d
commit 313569db56
6 changed files with 16 additions and 16 deletions
+2 -2
View File
@@ -108,9 +108,9 @@ func (BoolCodec) PreferredFormat() int16 {
func (BoolCodec) PlanEncode(ci *ConnInfo, oid uint32, format int16, value interface{}) EncodePlan {
switch format {
case BinaryFormatCode:
return &encodePlanBoolCodecBinary{}
return encodePlanBoolCodecBinary{}
case TextFormatCode:
return &encodePlanBoolCodecText{}
return encodePlanBoolCodecText{}
}
return nil