mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +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 */
|
my_bool reconnect; /* set to 1 if automatic reconnect */
|
||||||
|
|
||||||
/* session-wide random string */
|
/* 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
|
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;
|
set_query_id=1;
|
||||||
db_access=NO_ACCESS;
|
db_access=NO_ACCESS;
|
||||||
version=refresh_version; // For boot
|
version=refresh_version; // For boot
|
||||||
*scramble= *scramble_323= '\0';
|
*scramble= '\0';
|
||||||
|
|
||||||
init();
|
init();
|
||||||
/* Initialize sub structures */
|
/* Initialize sub structures */
|
||||||
|
@ -547,7 +547,7 @@ public:
|
|||||||
DYNAMIC_ARRAY user_var_events;
|
DYNAMIC_ARRAY user_var_events;
|
||||||
|
|
||||||
/* scramble - random string sent to client on handshake */
|
/* 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
|
uint8 query_cache_type; // type of query cache processing
|
||||||
bool slave_thread;
|
bool slave_thread;
|
||||||
|
Reference in New Issue
Block a user