Fix infinite recursion in DeleteStatement.String()

Fixes #4406
pull/4410/head
Konstantin Shaposhnikov 2015-10-12 21:38:50 +08:00
parent f1e0c5938f
commit d887e798c3
1 changed files with 1 additions and 1 deletions

View File

@ -1717,7 +1717,7 @@ func (s *DeleteStatement) String() string {
_, _ = buf.WriteString(" WHERE ")
_, _ = buf.WriteString(s.Condition.String())
}
return s.String()
return buf.String()
}
// RequiredPrivileges returns the privilege required to execute a DeleteStatement.