small bug fix in max queries per hour
This commit is contained in:
parent
b8592ab67b
commit
59d922a11f
@ -136,12 +136,12 @@ THD::THD():user_time(0),fatal_error(0),last_insert_id_used(0),
|
|||||||
|
|
||||||
/* Initialize sub structures */
|
/* Initialize sub structures */
|
||||||
bzero((char*) &mem_root,sizeof(mem_root));
|
bzero((char*) &mem_root,sizeof(mem_root));
|
||||||
|
user_connect=(UC *)0;
|
||||||
hash_init(&user_vars, USER_VARS_HASH_SIZE, 0, 0,
|
hash_init(&user_vars, USER_VARS_HASH_SIZE, 0, 0,
|
||||||
(hash_get_key) get_var_key,
|
(hash_get_key) get_var_key,
|
||||||
(void (*)(void*)) free_var,0);
|
(void (*)(void*)) free_var,0);
|
||||||
#ifdef USING_TRANSACTIONS
|
#ifdef USING_TRANSACTIONS
|
||||||
bzero((char*) &transaction,sizeof(transaction));
|
bzero((char*) &transaction,sizeof(transaction));
|
||||||
user_connect=(UC *)0;
|
|
||||||
if (opt_using_transactions)
|
if (opt_using_transactions)
|
||||||
{
|
{
|
||||||
if (open_cached_file(&transaction.trans_log,
|
if (open_cached_file(&transaction.trans_log,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user