1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-27 18:02:13 +03:00

small cleanup in sql_acl.cc:

use LEX_STRING, keep similar functions together, remove duplicated code
This commit is contained in:
Sergei Golubchik
2014-03-26 09:41:37 +01:00
parent 88ec8a08f3
commit d0c6a05eb5
2 changed files with 36 additions and 34 deletions

View File

@ -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);
}