You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since MySQL warnings only appear in groups in the wild, we don't need to
export the struct for a single warning.
The details are still accessible:
if mws, ok := err.(mysql.MySQLWarnings); ok {
_ = mws[0].Code
}
0 commit comments