Merge "(bug 39635) PostgreSQL has no LOCK IN SHARE MODE"
authorAaron Schulz <aschulz@wikimedia.org>
Mon, 27 Aug 2012 23:31:48 +0000 (23:31 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Mon, 27 Aug 2012 23:31:48 +0000 (23:31 +0000)
RELEASE-NOTES-1.20
includes/db/DatabasePostgres.php

index e06dc7d..1791d4d 100644 (file)
@@ -260,6 +260,7 @@ upgrade PHP if you have not done so prior to upgrading MediaWiki.
 * (bug 38904) prop=revisions&rvstart=... no longer blows up when continuing.
 * (bug 39032) ApiQuery generates help in constructor.
 * (bug 11142) Improve file extension blacklist error reporting in API upload
+* (bug 39635) PostgreSQL LOCK IN SHARE MODE option is a syntax error
 
 === Languages updated in 1.20 ===
 
index 8f8f5e8..457bf38 100644 (file)
@@ -1406,9 +1406,6 @@ SQL;
                if ( isset( $noKeyOptions['FOR UPDATE'] ) ) {
                        $postLimitTail .= ' FOR UPDATE';
                }
-               if ( isset( $noKeyOptions['LOCK IN SHARE MODE'] ) ) {
-                       $postLimitTail .= ' LOCK IN SHARE MODE';
-               }
                if ( isset( $noKeyOptions['DISTINCT'] ) || isset( $noKeyOptions['DISTINCTROW'] ) ) {
                        $startOpts .= 'DISTINCT';
                }