From 4ddad0e07e79a1c9d5d0239e5aac3c9ccd3dc9d4 Mon Sep 17 00:00:00 2001 From: Domas Mituzas Date: Sat, 12 Jan 2008 23:12:51 +0000 Subject: [PATCH] damn, how did this typo slip in :) --- includes/LoadBalancer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/LoadBalancer.php b/includes/LoadBalancer.php index 6efcbdded7..a097ca6d9f 100644 --- a/includes/LoadBalancer.php +++ b/includes/LoadBalancer.php @@ -556,7 +556,7 @@ class LoadBalancer { /* Issue COMMIT only on master, only if queries were done on connection */ function commitMasterChanges() { // Always 0, but who knows.. :) - $i = $this->getWriterIndex; + $i = $this->getWriterIndex(); if (array_key_exists($i,$this->mConnections)) { if ($this->mConnections[$i]->lastQuery != '') { $this->mConnections[$i]->immediateCommit(); -- 2.20.1