Addshore has uploaded a new change for review. (
https://gerrit.wikimedia.org/r/373274 )
Change subject: recalculateCognateNormalizedHashes.php fix LIMIT in select
......................................................................
recalculateCognateNormalizedHashes.php fix LIMIT in select
Change-Id: I97b0fc76a02e54d38c400dec775c9347ee5a00a5
---
M maintenance/recalculateCognateNormalizedHashes.php
1 file changed, 4 insertions(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Cognate
refs/changes/74/373274/1
diff --git a/maintenance/recalculateCognateNormalizedHashes.php
b/maintenance/recalculateCognateNormalizedHashes.php
index 74a4962..c4eb51b 100644
--- a/maintenance/recalculateCognateNormalizedHashes.php
+++ b/maintenance/recalculateCognateNormalizedHashes.php
@@ -83,7 +83,10 @@
[ 'cgti_raw', 'cgti_raw_key',
'cgti_normalized_key' ],
[ 'cgti_raw_key > ' . $batchStart ],
__METHOD__,
- [ 'LIMIT ' . $this->mBatchSize, 'ORDER BY
cgti_raw_key ASC' ]
+ [
+ 'LIMIT' => $this->mBatchSize,
+ 'ORDER BY' => 'cgti_raw_key ASC',
+ ]
);
$this->output( "Calculating new hashes..\n" );
--
To view, visit https://gerrit.wikimedia.org/r/373274
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I97b0fc76a02e54d38c400dec775c9347ee5a00a5
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Cognate
Gerrit-Branch: master
Gerrit-Owner: Addshore <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits