Commit df6f4605 authored by unknown's avatar unknown

Fix yet another place with an obsolete explicit cast to byte *.


sql/set_var.h:
  Fix yet another place with an obsolete explicit cast to byte *
parent f44a3834
...@@ -935,7 +935,7 @@ class NAMED_LIST :public ilink ...@@ -935,7 +935,7 @@ class NAMED_LIST :public ilink
uint name_length_arg, gptr data_arg) uint name_length_arg, gptr data_arg)
:name_length(name_length_arg), data(data_arg) :name_length(name_length_arg), data(data_arg)
{ {
name= my_strdup_with_length((byte*) name_arg, name_length, MYF(MY_WME)); name= my_strdup_with_length(name_arg, name_length, MYF(MY_WME));
links->push_back(this); links->push_back(this);
} }
inline bool cmp(const char *name_cmp, uint length) inline bool cmp(const char *name_cmp, uint length)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment