Merge pull request #4410 from kostya-sh/4406_delete-String
Fix infinite recursion in DeleteStatement.String()pull/4391/head
commit
4e920063b8
|
@ -1717,7 +1717,7 @@ func (s *DeleteStatement) String() string {
|
||||||
_, _ = buf.WriteString(" WHERE ")
|
_, _ = buf.WriteString(" WHERE ")
|
||||||
_, _ = buf.WriteString(s.Condition.String())
|
_, _ = buf.WriteString(s.Condition.String())
|
||||||
}
|
}
|
||||||
return s.String()
|
return buf.String()
|
||||||
}
|
}
|
||||||
|
|
||||||
// RequiredPrivileges returns the privilege required to execute a DeleteStatement.
|
// RequiredPrivileges returns the privilege required to execute a DeleteStatement.
|
||||||
|
|
Loading…
Reference in New Issue