Commit 4603a7b3 authored by unknown's avatar unknown

- fixed a compile error on Windows (incompatible cast)

parent 931e0a14
...@@ -1610,7 +1610,7 @@ int mysql_stmt_prepare(THD *thd, char *packet, uint packet_length, ...@@ -1610,7 +1610,7 @@ int mysql_stmt_prepare(THD *thd, char *packet, uint packet_length,
if (name) if (name)
{ {
stmt->name.length= name->length; stmt->name.length= name->length;
if (!(stmt->name.str= memdup_root(&stmt->mem_root, (byte*)name->str, if (!(stmt->name.str= memdup_root(&stmt->mem_root, (char*)name->str,
name->length))) name->length)))
{ {
delete stmt; delete stmt;
......
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