EBernhardson (WMF) has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/65316


Change subject: LIMIT is not a supported DatabaseBase::update option
......................................................................

LIMIT is not a supported DatabaseBase::update option

LIMIT on an UPDATE statement is not standard SQL and is not supported by
DatabaseBase::update.

Change-Id: Ibb3b85548b42457dcc1163968152ee65570da25b
---
M includes/DbEchoBackend.php
1 file changed, 1 insertion(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Echo 
refs/changes/16/65316/1

diff --git a/includes/DbEchoBackend.php b/includes/DbEchoBackend.php
index 00f5773..289111e 100644
--- a/includes/DbEchoBackend.php
+++ b/includes/DbEchoBackend.php
@@ -256,8 +256,7 @@
                                'notification_read_timestamp' => NULL,
                                'notification_bundle_base' => 1,
                        ),
-                       __METHOD__,
-                       array( 'LIMIT' => 500 )
+                       __METHOD__
                );
        }
 

-- 
To view, visit https://gerrit.wikimedia.org/r/65316
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ibb3b85548b42457dcc1163968152ee65570da25b
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Echo
Gerrit-Branch: master
Gerrit-Owner: EBernhardson (WMF) <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to