Commit b77dcb19 authored by unknown's avatar unknown

Fixed wrong packed length for packet > 16M.


sql/net_pkg.cc:
  Fixed wrong packed length for packet > 16M.
  (Not used in 3.23)
parent 9efb607e
...@@ -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