mirror of
https://github.com/MariaDB/server.git
synced 2025-05-05 16:59:35 +03:00
- fixed a compile error on Windows (incompatible cast)
This commit is contained in:
parent
e5d3fe89b4
commit
79739b30e2
@ -1610,7 +1610,7 @@ int mysql_stmt_prepare(THD *thd, char *packet, uint packet_length,
|
||||
if (name)
|
||||
{
|
||||
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)))
|
||||
{
|
||||
delete stmt;
|
||||
|
Loading…
x
Reference in New Issue
Block a user