summaryrefslogtreecommitdiff
path: root/sql/sql_class.h
diff options
context:
space:
mode:
Diffstat (limited to 'sql/sql_class.h')
-rw-r--r--sql/sql_class.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/sql/sql_class.h b/sql/sql_class.h
index ed97a3fffde..89be4741e5d 100644
--- a/sql/sql_class.h
+++ b/sql/sql_class.h
@@ -499,7 +499,10 @@ public:
uint check_loops_counter; //last id used to check loops
/* variables.transaction_isolation is reset to this after each commit */
enum_tx_isolation session_tx_isolation;
- char scramble[21]; // extend scramble to handle new auth
+ // extend scramble to handle new auth
+ char scramble[SCRAMBLE41_LENGTH+1];
+ // old scramble is needed to handle old clients
+ char old_scramble[SCRAMBLE_LENGTH+1];
uint8 query_cache_type; // type of query cache processing
bool slave_thread;
bool set_query_id,locked,count_cuted_fields,some_tables_deleted;