summaryrefslogtreecommitdiff
path: root/sql/opt_range.cc
diff options
context:
space:
mode:
authorSergei Golubchik <sergii@pisem.net>2014-03-26 08:24:19 +0100
committerSergei Golubchik <sergii@pisem.net>2014-03-26 08:24:19 +0100
commit99316b51b6e78191eca303dc35ae5a204f8b5c4f (patch)
tree1c5b0db10c9e3e024e436606479c08cbcccda489 /sql/opt_range.cc
parent413113dad68736d7411c71f8cb44bf88f0f2f5e1 (diff)
downloadmariadb-git-99316b51b6e78191eca303dc35ae5a204f8b5c4f.tar.gz
compilation failure with BUILD/compile-amd64-valgrind-max
Diffstat (limited to 'sql/opt_range.cc')
-rw-r--r--sql/opt_range.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/opt_range.cc b/sql/opt_range.cc
index 103c79fa0d3..66bd287d86a 100644
--- a/sql/opt_range.cc
+++ b/sql/opt_range.cc
@@ -13636,7 +13636,7 @@ int QUICK_GROUP_MIN_MAX_SELECT::next_min()
}
else if (result == HA_ERR_KEY_NOT_FOUND || result == HA_ERR_END_OF_FILE)
result= 0; /* There is a result in any case. */
- my_afree(key_buf);
+ my_afree(tmp_key_buff);
}
}