diff --git a/library/think/db/Builder.php b/library/think/db/Builder.php index 6fbb8e46..24d20d49 100644 --- a/library/think/db/Builder.php +++ b/library/think/db/Builder.php @@ -684,7 +684,7 @@ abstract class Builder $this->parseWhere($options['where'], $options), $this->parseOrder($options['order']), $this->parseLimit($options['limit']), - $this->parseLimit($options['lock']), + $this->parseLock($options['lock']), $this->parseComment($options['comment']), ], $this->updateSql); @@ -708,7 +708,7 @@ abstract class Builder $this->parseWhere($options['where'], $options), $this->parseOrder($options['order']), $this->parseLimit($options['limit']), - $this->parseLimit($options['lock']), + $this->parseLock($options['lock']), $this->parseComment($options['comment']), ], $this->deleteSql);