summaryrefslogtreecommitdiff
path: root/plugin/semisync
diff options
context:
space:
mode:
authorDavi Arnaut <Davi.Arnaut@Sun.COM>2010-06-05 16:39:03 -0300
committerDavi Arnaut <Davi.Arnaut@Sun.COM>2010-06-05 16:39:03 -0300
commit75dce25ca8276f56c45f747c9a9a1b4046b6efca (patch)
tree1fb25244a6b004ddafb31844314b374fe38adf33 /plugin/semisync
parent5dec0c963713822cafc5f2f65b485e8846938318 (diff)
downloadmariadb-git-75dce25ca8276f56c45f747c9a9a1b4046b6efca.tar.gz
Post-merge fix: header is used by the client API. Obvious in retrospect.
Also, update a few cases missed by the initial patch.
Diffstat (limited to 'plugin/semisync')
-rw-r--r--plugin/semisync/semisync_master.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/semisync/semisync_master.h b/plugin/semisync/semisync_master.h
index e1ad28cd9f6..1a562e8bb77 100644
--- a/plugin/semisync/semisync_master.h
+++ b/plugin/semisync/semisync_master.h
@@ -153,7 +153,7 @@ public:
int free_nodes_before(TranxNode* node)
{
Block *block;
- Block *prev_block;
+ Block *prev_block= NULL;
block= first_block;
while (block != current_block->next)