Merge pull request #4410 from kostya-sh/4406_delete-String

Fix infinite recursion in DeleteStatement.String()
pull/4391/head
Philip O'Toole 2015-10-12 12:46:36 -07:00
commit 4e920063b8
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.