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

add lock to prevent warnings from being cleared #2605

Closed jycor closed 1 month ago

jycor commented 1 month ago

This PR adds two functions to BaseSession that toggle a boolean, so integrators can prevent warnings from being cleared. This is mostly useful for dolt sql shell.

addresses https://github.com/dolthub/dolt/issues/8016