Commit 1d510c0f authored by unknown's avatar unknown

small bug fix in max queries per hour

parent 0489064e
...@@ -136,12 +136,12 @@ THD::THD():user_time(0),fatal_error(0),last_insert_id_used(0), ...@@ -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,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment