Commit c2f48ff1 authored by unknown's avatar unknown

Merge siva.hindu.god:/home/tsmith/m/bk/maint/mar05/50

into  siva.hindu.god:/home/tsmith/m/bk/maint/mar05/51


libmysql/libmysql.c:
  Auto merged
sql/sql_class.cc:
  Auto merged
parents 3602e293 5fdfea00
...@@ -1361,7 +1361,7 @@ mysql_stat(MYSQL *mysql) ...@@ -1361,7 +1361,7 @@ mysql_stat(MYSQL *mysql)
{ {
DBUG_ENTER("mysql_stat"); DBUG_ENTER("mysql_stat");
if (simple_command(mysql,COM_STATISTICS,0,0,0)) if (simple_command(mysql,COM_STATISTICS,0,0,0))
return mysql->net.last_error; DBUG_RETURN(mysql->net.last_error);
DBUG_RETURN((*mysql->methods->read_statistics)(mysql)); DBUG_RETURN((*mysql->methods->read_statistics)(mysql));
} }
......
...@@ -261,7 +261,9 @@ THD::THD() ...@@ -261,7 +261,9 @@ THD::THD()
#endif #endif
client_capabilities= 0; // minimalistic client client_capabilities= 0; // minimalistic client
net.last_error[0]=0; // If error on boot net.last_error[0]=0; // If error on boot
#ifdef HAVE_QUERY_CACHE
query_cache_init_query(&net); // If error on boot query_cache_init_query(&net); // If error on boot
#endif
ull=0; ull=0;
system_thread= NON_SYSTEM_THREAD; system_thread= NON_SYSTEM_THREAD;
cleanup_done= abort_on_warning= no_warnings_for_error= 0; cleanup_done= abort_on_warning= no_warnings_for_error= 0;
......
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