Select lock and table lock improvements.

This commit is contained in:
go-jet 2019-06-15 13:58:45 +02:00
parent a4feb66692
commit 8a2c34fbd7
19 changed files with 363 additions and 762 deletions

View file

@ -163,13 +163,13 @@ func newBinaryExpression(lhs, rhs Expression, operator string) binaryOpExpressio
func (c *binaryOpExpression) serialize(statement statementType, out *queryData, options ...serializeOption) error {
if c == nil {
return errors.New("Binary Expression is nil.")
return errors.New("binary Expression is nil")
}
if c.lhs == nil {
return errors.New("nil lhs.")
return errors.New("nil lhs")
}
if c.rhs == nil {
return errors.New("nil rhs.")
return errors.New("nil rhs")
}
wrap := !contains(options, NO_WRAP)