r40497 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r40496‎ | r40497 | r40498 >
Date:15:39, 5 September 2008
Author:simetrical
Status:old
Tags:
Comment:
Fix typo causing fatal error for Postgres in updaters.inc

Reported by kreegee in #mediawiki. I don't usually touch pgsql, but the problem and the fix both seem fairly obvious here. :) Also fixed another instance of the same typo lurking in some docs that I stumbled on.
Modified paths:
  • /trunk/phase3/docs/php-memcached/Documentation (modified) (history)
  • /trunk/phase3/maintenance/updaters.inc (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/updaters.inc
@@ -1483,7 +1483,7 @@
14841484 array("revision", "rev_len", "INTEGER"),
14851485 array("revision", "rev_deleted", "SMALLINT NOT NULL DEFAULT 0"),
14861486 array("user_newtalk", "user_last_timestamp", "TIMESTAMPTZ"),
1487 - array("site_stats", "ss_active_users", "INTERGER DEFAULT '-1'"),
 1487+ array("site_stats", "ss_active_users", "INTEGER DEFAULT '-1'"),
14881488 );
14891489
14901490
Index: trunk/phase3/docs/php-memcached/Documentation
@@ -165,7 +165,7 @@
166166 <?php
167167 require("MemCachedClient.inc.php");
168168
169 -// set the servers, with the last one having an interger weight value of 3
 169+// set the servers, with the last one having an integer weight value of 3
170170 $options["servers"] = array("10.0.0.15:11000","10.0.0.16:11001",array("10.0.0.17:11002", 3));
171171 $options["debug"] = false;
172172