https://bugzilla.wikimedia.org/show_bug.cgi?id=46594

       Web browser: ---
            Bug ID: 46594
           Summary: PostgreSQL syntax error: LOCK IN SHARE MODE when
                    running Category
           Product: MediaWiki
           Version: 1.19.0
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Unprioritized
         Component: Database
          Assignee: wikibugs-l@lists.wikimedia.org
          Reporter: darkcircle.0...@gmail.com
    Classification: Unclassified
   Mobile Platform: ---

Created attachment 11992
  --> https://bugzilla.wikimedia.org/attachment.cgi?id=11992&action=edit
This patch is for getting rid of "LOCK IN SHARE MODE" related warning message.

Warning: pg_query() [function.pg-query]: Query failed: ERROR: syntax error at
or near "LOCK" LINE 1: ... in
${MEDIAWIKI_HOME}/includes/db/DatabasePostgres.php on line 254 when category
page is called.

as below commit message
https://gerrit.wikimedia.org/r/#/c/53554/
"LOCK IN SHARE MODE" is a MySQL extension not supported by another SQL Engine.

so I suggest very simple patch for eliminating this issue.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to