summaryrefslogtreecommitdiff
path: root/sql/lex_string.h
diff options
context:
space:
mode:
Diffstat (limited to 'sql/lex_string.h')
-rw-r--r--sql/lex_string.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/lex_string.h b/sql/lex_string.h
index d3d99074450..ff014c6fac3 100644
--- a/sql/lex_string.h
+++ b/sql/lex_string.h
@@ -75,7 +75,7 @@ class Lex_cstring : public LEX_CSTRING, public Sql_alloc
}
return strdup(mem_root, _str, strlen(_str));
}
- bool strdup(MEM_ROOT *mem_root, const Lex_cstring &_str)
+ bool strdup(MEM_ROOT *mem_root, const Lex_cstring _str)
{
if (!_str.str)
{