summaryrefslogtreecommitdiff
path: root/sql/opt_range.cc
diff options
context:
space:
mode:
authorunknown <konstantin@mysql.com>2005-06-28 22:49:14 +0400
committerunknown <konstantin@mysql.com>2005-06-28 22:49:14 +0400
commitd2f7623d4525adcd7216ad2a0fad04fdc2e8495d (patch)
treeafae82f33cfd2fa40878bb7f89d2a6f8fc930d4c /sql/opt_range.cc
parent79c1be9e442f3ba8f735e14a0454533f5914a817 (diff)
downloadmariadb-git-d2f7623d4525adcd7216ad2a0fad04fdc2e8495d.tar.gz
Fixed comments.
sql/opt_range.cc: comment fixed. sql/sp_head.cc: An obsolete comment removed.
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 86ad1e4aa06..1d32b978180 100644
--- a/sql/opt_range.cc
+++ b/sql/opt_range.cc
@@ -3702,7 +3702,7 @@ get_mm_leaf(PARAM *param, COND *conf_func, Field *field, KEY_PART *key_part,
/*
We need to restore the runtime mem_root of the thread in this
- function becuase it evaluates the value of its argument, while
+ function because it evaluates the value of its argument, while
the argument can be any, e.g. a subselect. The subselect
items, in turn, assume that all the memory allocated during
the evaluation has the same life span as the item itself.