Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Revert double buffering. #1435

Closed
Closed
@methane

Description

Go 1.21 will fix race between Context cancel and sql.RawBytes.
See golang/go#60304

It will be backported to Go 1.19.

We had implemented double buffering (#943) to workaround it. It increase memory usage and complexity.

After Go 1.19.10 containing this fix is released, let's remove the double buffering in go-mysql-driver v1.8.0.

P.S. We need to drop Go 1.18 support. It would violate our Go version support policy. But Go 1.21 will be released in August, before we release v1.8.0.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /