You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit ef8944a
Browse filesBrowse the repository at this point in the historyBrowse files
- Avoid incompatible SQLSRV table hints for lockForUpdate()->skipLocked()
- Add live SQLSRV coverage for skip locked execution
- Document pessimistic lock and wait modifier driver support
- Clarify that existence/count probes do not apply locking modifiers
Signed-off-by: memleakd <121398829+memleakd@users.noreply.github.com>
Copy file name to clipboardExpand all lines: tests/system/Database/Builder/ExistsTest.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -117,7 +117,7 @@ public function testExistsWithSQLSRVDoesNotUseOrderByOrLockForUpdate(): void
117
117
$expectedSQL = 'SELECT 1 FROM "test"."dbo"."jobs" WHERE "id" > :id: ORDER BY (SELECT NULL) OFFSET 0 ROWS FETCH NEXT 1 ROWS ONLY ';
118
118
119
119
$this->assertSameSql($expectedSQL, $answer);
120
-
$this->assertSameSql('SELECT * FROM "test"."dbo"."jobs" WITH (UPDLOCK, ROWLOCK, READCOMMITTEDLOCK, READPAST) WHERE "id" > 3 ORDER BY "id" DESC', $builder->getCompiledSelect(false));
120
+
$this->assertSameSql('SELECT * FROM "test"."dbo"."jobs" WITH (UPDLOCK, READCOMMITTEDLOCK, READPAST) WHERE "id" > 3 ORDER BY "id" DESC', $builder->getCompiledSelect(false));
0 commit comments