summaryrefslogtreecommitdiff
path: root/sql/sql_string.h
diff options
context:
space:
mode:
authorSergei Golubchik <sergii@pisem.net>2014-03-26 09:41:37 +0100
committerSergei Golubchik <sergii@pisem.net>2014-03-26 09:41:37 +0100
commitd0c6a05eb5cc6b856a523725607defb229252885 (patch)
tree56deaf6015a96796ac3b5877b3da16a04ad760ad /sql/sql_string.h
parent88ec8a08f30aa69a48225070ae272ea577f10a2f (diff)
downloadmariadb-git-d0c6a05eb5cc6b856a523725607defb229252885.tar.gz
small cleanup in sql_acl.cc:
use LEX_STRING, keep similar functions together, remove duplicated code
Diffstat (limited to 'sql/sql_string.h')
-rw-r--r--sql/sql_string.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_string.h b/sql/sql_string.h
index 7687490c8aa..65c5961a1d0 100644
--- a/sql/sql_string.h
+++ b/sql/sql_string.h
@@ -359,7 +359,7 @@ public:
}
bool append(const String &s);
bool append(const char *s);
- bool append(LEX_STRING *ls)
+ bool append(const LEX_STRING *ls)
{
return append(ls->str, ls->length);
}