示例#1
0
文件: stmt.go 项目: matomesc/rkt
func (s *selectStmt) explain(ctx *execCtx, w strutil.Formatter) {
	p, err := s.plan(ctx)
	if err != nil {
		w.Format("ERROR: %v\n", err)
		return
	}

	p.explain(w)
}
示例#2
0
文件: stmt.go 项目: matomesc/rkt
func (s *insertIntoStmt) explain(ctx *execCtx, w strutil.Formatter) {
	w.Format("%s\n", s)
}
示例#3
0
文件: stmt.go 项目: matomesc/rkt
func (s *dropTableStmt) explain(ctx *execCtx, w strutil.Formatter) {
	w.Format("%s\n", s)
}
示例#4
0
文件: stmt.go 项目: matomesc/rkt
func (s *alterTableAddStmt) explain(ctx *execCtx, w strutil.Formatter) {
	w.Format("%s\n", s)
}
示例#5
0
文件: stmt.go 项目: matomesc/rkt
func (s *updateStmt) explain(ctx *execCtx, w strutil.Formatter) {
	w.Format("%s\n", s)
}
示例#6
0
文件: stmt.go 项目: matomesc/rkt
func (s *createIndexStmt) explain(ctx *execCtx, w strutil.Formatter) {
	w.Format("%s\n", s)
}
示例#7
0
文件: stmt.go 项目: matomesc/rkt
func (s rollbackStmt) explain(ctx *execCtx, w strutil.Formatter) {
	w.Format("%s\n", s)
}
示例#8
0
文件: stmt.go 项目: matomesc/rkt
func (s commitStmt) explain(ctx *execCtx, w strutil.Formatter) {
	w.Format("%s\n", s)
}
示例#9
0
文件: stmt.go 项目: matomesc/rkt
func (s beginTransactionStmt) explain(ctx *execCtx, w strutil.Formatter) {
	w.Format("%s\n", s)
}