Documentation ¶
Index ¶
- func NewDummySessionContext() sessionctx.Context
- type SessCtx
- func (s SessCtx) GetInfoSchema() sessionctx.InfoschemaMetaVersion
- func (s SessCtx) GetSessionVars() *variable.SessionVars
- func (s *SessCtx) SetArgs(args []interface{})
- func (s *SessCtx) SetInfoSchema(infoSchema infoschema.InfoSchema)
- func (s *SessCtx) SetValue(key fmt.Stringer, value interface{})
- func (s SessCtx) Value(key fmt.Stringer) interface{}
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDummySessionContext ¶
func NewDummySessionContext() sessionctx.Context
Types ¶
type SessCtx ¶
type SessCtx struct {
// contains filtered or unexported fields
}
func NewSessionContext ¶
func NewSessionContext(is infoschema.InfoSchema, database string) *SessCtx
func (SessCtx) GetInfoSchema ¶
func (s SessCtx) GetInfoSchema() sessionctx.InfoschemaMetaVersion
func (SessCtx) GetSessionVars ¶
func (s SessCtx) GetSessionVars() *variable.SessionVars
func (*SessCtx) SetInfoSchema ¶
func (s *SessCtx) SetInfoSchema(infoSchema infoschema.InfoSchema)
Click to show internal directories.
Click to hide internal directories.