mysql: do not allocate in parseOKPacket #15067
57.14% of diff hit (target 47.29%)
View this Pull Request on Codecov
57.14% of diff hit (target 47.29%)
Annotations
Check warning on line 240 in go/cmd/vtctldclient/command/root.go
codecov / codecov/patch
go/cmd/vtctldclient/command/root.go#L240
Added line #L240 was not covered by tests
Check warning on line 125 in go/cmd/vtctldclient/command/schema.go
codecov / codecov/patch
go/cmd/vtctldclient/command/schema.go#L125
Added line #L125 was not covered by tests
Check warning on line 99 in go/mysql/capabilities/capability.go
codecov / codecov/patch
go/mysql/capabilities/capability.go#L98-L99
Added lines #L98 - L99 were not covered by tests
Check warning on line 107 in go/mysql/capabilities/capability.go
codecov / codecov/patch
go/mysql/capabilities/capability.go#L106-L107
Added lines #L106 - L107 were not covered by tests
Check warning on line 113 in go/mysql/capabilities/capability.go
codecov / codecov/patch
go/mysql/capabilities/capability.go#L112-L113
Added lines #L112 - L113 were not covered by tests
Check warning on line 90 in go/mysql/datetime/mydate.go
codecov / codecov/patch
go/mysql/datetime/mydate.go#L87-L90
Added lines #L87 - L90 were not covered by tests
Check warning on line 212 in go/mysql/flavor.go
codecov / codecov/patch
go/mysql/flavor.go#L212
Added line #L212 was not covered by tests
Check warning on line 507 in go/mysql/query.go
codecov / codecov/patch
go/mysql/query.go#L507
Added line #L507 was not covered by tests
Check warning on line 518 in go/mysql/query.go
codecov / codecov/patch
go/mysql/query.go#L518
Added line #L518 was not covered by tests
Check warning on line 522 in go/mysql/query.go
codecov / codecov/patch
go/mysql/query.go#L522
Added line #L522 was not covered by tests
Check warning on line 525 in go/mysql/query.go
codecov / codecov/patch
go/mysql/query.go#L525
Added line #L525 was not covered by tests
Check warning on line 315 in go/vt/mysqlctl/schema.go
codecov / codecov/patch
go/vt/mysqlctl/schema.go#L314-L315
Added lines #L314 - L315 were not covered by tests
Check warning on line 352 in go/vt/mysqlctl/schema.go
codecov / codecov/patch
go/vt/mysqlctl/schema.go#L351-L352
Added lines #L351 - L352 were not covered by tests
Check warning on line 357 in go/vt/mysqlctl/schema.go
codecov / codecov/patch
go/vt/mysqlctl/schema.go#L356-L357
Added lines #L356 - L357 were not covered by tests
Check warning on line 134 in go/vt/schemadiff/column.go
codecov / codecov/patch
go/vt/schemadiff/column.go#L134
Added line #L134 was not covered by tests
Check warning on line 138 in go/vt/schemadiff/column.go
codecov / codecov/patch
go/vt/schemadiff/column.go#L138
Added line #L138 was not covered by tests
Check warning on line 144 in go/vt/schemadiff/column.go
codecov / codecov/patch
go/vt/schemadiff/column.go#L143-L144
Added lines #L143 - L144 were not covered by tests
Check warning on line 161 in go/vt/schemadiff/column.go
codecov / codecov/patch
go/vt/schemadiff/column.go#L161
Added line #L161 was not covered by tests
Check warning on line 165 in go/vt/schemadiff/column.go
codecov / codecov/patch
go/vt/schemadiff/column.go#L165
Added line #L165 was not covered by tests
Check warning on line 121 in go/vt/schemadiff/schema.go
codecov / codecov/patch
go/vt/schemadiff/schema.go#L121
Added line #L121 was not covered by tests
Check warning on line 968 in go/vt/schemadiff/schema.go
codecov / codecov/patch
go/vt/schemadiff/schema.go#L967-L968
Added lines #L967 - L968 were not covered by tests
Check warning on line 357 in go/vt/schemadiff/schema_diff.go
codecov / codecov/patch
go/vt/schemadiff/schema_diff.go#L356-L357
Added lines #L356 - L357 were not covered by tests
Check warning on line 131 in go/vt/schemadiff/table.go
codecov / codecov/patch
go/vt/schemadiff/table.go#L130-L131
Added lines #L130 - L131 were not covered by tests
Check warning on line 352 in go/vt/schemadiff/table.go
codecov / codecov/patch
go/vt/schemadiff/table.go#L351-L352
Added lines #L351 - L352 were not covered by tests
Check warning on line 417 in go/vt/schemadiff/table.go
codecov / codecov/patch
go/vt/schemadiff/table.go#L417
Added line #L417 was not covered by tests