Merge pull request #7916 from dolthub/daylon/dg-sess-obj

Added new session variable
This commit is contained in:
Daylon Wilkins
2024-05-29 00:12:37 -07:00
committed by GitHub

View File

@@ -50,6 +50,7 @@ var ErrSessionNotPersistable = errors.New("session is not persistable")
// DoltSession is the sql.Session implementation used by dolt. It is accessible through a *sql.Context instance
type DoltSession struct {
sql.Session
DoltgresSessObj any // This is used by Doltgres to persist objects in the session. This is not used by Dolt.
username string
email string
dbStates map[string]*DatabaseSessionState