Skip to content

Commit 8041c0f

Browse files
committed
Merge pull request #314 from avbdr/master
Fix a typo
2 parents 2bfea28 + c5707a6 commit 8041c0f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

MysqliDb.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -428,9 +428,9 @@ public function setQueryOption ($options) {
428428

429429
if ($option == 'MYSQLI_NESTJOIN')
430430
$this->_nestJoin = true;
431-
else if ($option == 'MYSQLI_FOR_UPDATE')
431+
else if ($option == 'FOR UPDATE')
432432
$this->_forUpdate = true;
433-
else if ($option == 'MYSQLI_LOCK_IN_SHARE_MODE')
433+
else if ($option == 'LOCK IN SHARE MODE')
434434
$this->_lockInShareMode = true;
435435
else
436436
$this->_queryOptions[] = $option;

0 commit comments

Comments
 (0)