1
0
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:
kostja@oak.local
2003-07-18 18:57:21 +04:00
parent 09e53b0169
commit 715f8747d4
3 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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 */

View File

@ -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;