func (s *ShowStatus) WithChildren(node ...sql.Node) (sql.Node, error) {
	return NewShowStatus(s.modifier), nil
}
WithChildren implements sql.Node interface.
package plan
import (
	"github.com/dolthub/vitess/go/sqltypes"
	"github.com/dolthub/go-mysql-server/sql"
)
type ShowStatus struct {
	modifier ShowStatusModifier
}
var _ sql.Node = (*ShowStatus)(nil)
type ShowStatusModifier byte
const (
	ShowStatusModifier_Session ShowStatusModifier = iota
	ShowStatusModifier_Global
)
func NewShowStatus(modifier ShowStatusModifier) *ShowStatus {
	return &ShowStatus{modifier: modifier}
}
func (s *ShowStatus) Resolved() bool {
	return true
}
func (s *ShowStatus) String() string {
	return "SHOW STATUS"
}
func (s *ShowStatus) Schema() sql.Schema {
	return sql.Schema{
		{Name: "Variable_name", Type: sql.MustCreateStringWithDefaults(sqltypes.VarChar, 64), Default: nil, Nullable: false},
		{Name: "Value", Type: sql.MustCreateStringWithDefaults(sqltypes.VarChar, 2048), Default: nil, Nullable: false},
	}
}
func (s *ShowStatus) Children() []sql.Node {
	return nil
}
func (s *ShowStatus) RowIter(ctx *sql.Context, row sql.Row) (sql.RowIter, error) {
	return sql.RowsToRowIter(), nil
}