mirror of
https://github.com/MariaDB/server.git
synced 2026-04-28 19:25:32 +02:00
Fixed refresh_status function.
sql/sql_class.cc: Improved documentation on add_to_status(). sql/sql_parse.cc: Changed refresh status to take thd as argument to avoid current_thd. Removed add_to_status away from loop, as it is not necessary for each variable, only required for each thread. In this case only the current thread.
This commit is contained in:
parent
935ad7e8f3
commit
55499cad0d
2 changed files with 13 additions and 10 deletions
|
|
@ -445,7 +445,12 @@ THD::~THD()
|
|||
|
||||
|
||||
/*
|
||||
Add to one status variable another status variable
|
||||
Add all status variables to another status variable array
|
||||
|
||||
SYNOPSIS
|
||||
add_to_status()
|
||||
to_var add to this array
|
||||
from_var from this array
|
||||
|
||||
NOTES
|
||||
This function assumes that all variables are long/ulong.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue