Remove SQL error for embedded DEFINE/REMOVE queries

This commit is contained in:
Tobie Morgan Hitchcock 2017-02-12 10:11:27 +00:00
parent 1cb44cce2f
commit 3f82f83cf1

View file

@ -43,14 +43,6 @@ func (e *BlankError) Error() string {
return fmt.Sprint("You need to specify a namespace and a database to use") return fmt.Sprint("You need to specify a namespace and a database to use")
} }
// TXError represents an error that occured when switching access.
type TXError struct{}
// Error returns the string representation of the error.
func (e *TXError) Error() string {
return fmt.Sprintf("DEFINE and REMOVE statements must be outside of a transaction.")
}
// NSError represents an error that occured when switching access. // NSError represents an error that occured when switching access.
type NSError struct { type NSError struct {
NS string NS string