Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Context ¶
type Context interface {
// SetValue saves a value associated with this context for key.
SetValue(key fmt.Stringer, value interface{})
// Value returns the value associated with this context for key.
Value(key fmt.Stringer) interface{}
GetInfoSchema() InfoschemaMetaVersion
GetSessionVars() *variable.SessionVars
}
Context is an interface for transaction and executive args environment.
type InfoschemaMetaVersion ¶
type InfoschemaMetaVersion interface {
SchemaMetaVersion() int64
}
InfoschemaMetaVersion is a workaround. Due to circular dependency, can not return the complete interface. But SchemaMetaVersion is widely used for logging. So we give a convenience for that. FIXME: remove this interface
Click to show internal directories.
Click to hide internal directories.