We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3f6d2c4 commit 6c124faCopy full SHA for 6c124fa
1 file changed
integrations/plugin-compatibility/boot.php
@@ -22,7 +22,7 @@ function wp_sqlite_integration_plugin_compat( $query ) {
22
}
23
24
// 1. Heavy cleaning of unsupported MySQL locking clauses.
25
- // SQLite doesn't support FOR UPDATE, SKIP LOCKED, or NOWAIT anywhere.
+ // SQLite doesn't support FOR UPDATE, SKIP LOCKED, or NOWAIT anywhere.
26
// We strip these globally (case-insensitive, multi-line) to prevent syntax errors in subqueries.
27
if ( stripos( $query, 'FOR UPDATE' ) !== false ) {
28
$query = preg_replace( '/\s+FOR\s+UPDATE(?:\s+(?:SKIP\s+LOCKED|NOWAIT))?\b/is', '', $query );
0 commit comments