dolthub / go-mysql-server

A MySQL-compatible relational database with a storage agnostic query engine. Implemented in pure Go.
Apache License 2.0
2.32k stars 199 forks source link

Use ctx.Done() as a faster check for ctx.Err() #2624

Closed max-hoffman closed 1 month ago

max-hoffman commented 1 month ago

The err call is noticeable for queries that read a lot of rows.