diff options
author | unknown <serg@serg.mylan> | 2005-04-12 23:08:19 +0200 |
---|---|---|
committer | unknown <serg@serg.mylan> | 2005-04-12 23:08:19 +0200 |
commit | 33d268951b48482ef103d9c96e114092657499a9 (patch) | |
tree | a98100ebe04d5a22d1b07834b5754be535ed2e7e /sql/sql_class.cc | |
parent | 069c62a75f045a0d8df82c8a77b19337c901f8c9 (diff) | |
download | mariadb-git-33d268951b48482ef103d9c96e114092657499a9.tar.gz |
mysql-test/r/flush_block_commit.result
correct result after bugfix
sql/sql_class.cc
initialize net.query_cache_query
mysql-test/r/flush_block_commit.result:
correct result after bugfix
sql/sql_class.cc:
initialize net.query_cache_query
sql/sql_yacc.yy:
oops
Diffstat (limited to 'sql/sql_class.cc')
-rw-r--r-- | sql/sql_class.cc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sql/sql_class.cc b/sql/sql_class.cc index c68dc826147..a6a1f4d60ef 100644 --- a/sql/sql_class.cc +++ b/sql/sql_class.cc @@ -202,10 +202,11 @@ THD::THD() #ifndef DBUG_OFF dbug_sentry=THD_SENTRY_MAGIC; #endif -#ifndef EMBEDDED_LIBRARY +#ifndef EMBEDDED_LIBRARY net.vio=0; #endif - net.last_error[0]=0; // If error on boot + net.last_error[0]=0; // If error on boot + net.query_cache_query=0; // If error on boot ull=0; system_thread= cleanup_done= abort_on_warning= no_warnings_for_error= 0; peer_port= 0; // For SHOW PROCESSLIST @@ -214,7 +215,7 @@ THD::THD() #endif #ifdef SIGNAL_WITH_VIO_CLOSE active_vio = 0; -#endif +#endif pthread_mutex_init(&LOCK_delete, MY_MUTEX_INIT_FAST); /* Variables with default values */ |