mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
fix for Bug#7386 - IM fails to compile on alpha with Compaq C++ compiler
This commit is contained in:
@@ -191,9 +191,11 @@ void Mysql_connection_thread::run()
|
||||
int Mysql_connection_thread::check_connection()
|
||||
{
|
||||
ulong pkt_len=0; // to hold client reply length
|
||||
/* maximum size of the version string */
|
||||
enum { MAX_VERSION_LENGTH= 80 };
|
||||
|
||||
/* buffer for the first packet */ /* packet contains: */
|
||||
char buff[mysqlmanager_version_length + 1 + // server version, 0-ended
|
||||
char buff[MAX_VERSION_LENGTH + 1 + // server version, 0-ended
|
||||
4 + // connection id
|
||||
SCRAMBLE_LENGTH + 2 + // scramble (in 2 pieces)
|
||||
18]; // server variables: flags,
|
||||
|
Reference in New Issue
Block a user