Commit 74eea66b authored by monty@mashka.mysql.fi's avatar monty@mashka.mysql.fi

Fixed wrong packed length for packet > 16M.

parent a41886a0
...@@ -206,7 +206,7 @@ net_store_length(char *pkg, ulonglong length) ...@@ -206,7 +206,7 @@ net_store_length(char *pkg, ulonglong length)
} }
*packet++=254; *packet++=254;
int8store(packet,length); int8store(packet,length);
return (char*) packet+9; return (char*) packet+8;
} }
char * char *
......
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