mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
few compile-time bugs fixed
This commit is contained in:
@ -229,7 +229,7 @@ typedef struct st_mysql
|
||||
my_bool reconnect; /* set to 1 if automatic reconnect */
|
||||
|
||||
/* session-wide random string */
|
||||
char scramble[max(SCRAMBLE_LENGTH,SCRAMBLE_LENGTH_323)+1];
|
||||
char scramble[SCRAMBLE_LENGTH+1];
|
||||
|
||||
/*
|
||||
Set if this is the original connection, not a master or a slave we have
|
||||
|
@ -139,7 +139,7 @@ THD::THD():user_time(0), is_fatal_error(0),
|
||||
set_query_id=1;
|
||||
db_access=NO_ACCESS;
|
||||
version=refresh_version; // For boot
|
||||
*scramble= *scramble_323= '\0';
|
||||
*scramble= '\0';
|
||||
|
||||
init();
|
||||
/* Initialize sub structures */
|
||||
|
@ -547,7 +547,7 @@ public:
|
||||
DYNAMIC_ARRAY user_var_events;
|
||||
|
||||
/* scramble - random string sent to client on handshake */
|
||||
char scramble[max(SCRAMBLE_LENGTH, SCRAMBLE_LENGTH_323)+1];
|
||||
char scramble[SCRAMBLE_LENGTH+1];
|
||||
|
||||
uint8 query_cache_type; // type of query cache processing
|
||||
bool slave_thread;
|
||||
|
Reference in New Issue
Block a user