should have some coffee - one more typo :)
authorDomas Mituzas <midom@users.mediawiki.org>
Sat, 12 Jan 2008 23:52:46 +0000 (23:52 +0000)
committerDomas Mituzas <midom@users.mediawiki.org>
Sat, 12 Jan 2008 23:52:46 +0000 (23:52 +0000)
includes/LoadBalancer.php

index a097ca6..657bb2c 100644 (file)
@@ -558,7 +558,7 @@ class LoadBalancer {
                // Always 0, but who knows.. :)
                $i = $this->getWriterIndex();
                if (array_key_exists($i,$this->mConnections)) {
-                       if ($this->mConnections[$i]->lastQuery != '') {
+                       if ($this->mConnections[$i]->lastQuery() != '') {
                                $this->mConnections[$i]->immediateCommit();
                        }
                }