1
0
mirror of https://github.com/MariaDB/server.git synced 2025-05-04 06:05:05 +03:00

- fixed a compile error on Windows (incompatible cast)

This commit is contained in:
lenz@mysql.com 2004-06-23 16:57:34 +02:00
parent e5d3fe89b4
commit 79739b30e2

View File

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