mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 12:02:42 +01:00
Monty explanation for net_store_length(uint) put to the comment
This commit is contained in:
parent
b74332ec6b
commit
ff45893923
1 changed files with 7 additions and 1 deletions
|
@ -371,7 +371,13 @@ bool send_old_password_request(THD *thd)
|
|||
#endif /* EMBEDDED_LIBRARY */
|
||||
|
||||
/*
|
||||
Faster net_store_length when we know length is a 32 bit integer
|
||||
Faster net_store_length when we know that length is less than 65536.
|
||||
We keep a separate version for that range because it's widely used in
|
||||
libmysql.
|
||||
uint is used as agrument type because of MySQL type conventions:
|
||||
uint for 0..65536
|
||||
ulong for 0..4294967296
|
||||
ulonglong for bigger numbers.
|
||||
*/
|
||||
|
||||
char *net_store_length(char *pkg, uint length)
|
||||
|
|
Loading…
Reference in a new issue