mirror of
https://github.com/MariaDB/server.git
synced 2025-01-19 13:32:33 +01:00
Merge dev3-221.dev.cn.tlan:/home/ngb/mysql/mysql-5.0/bug30271
into dev3-221.dev.cn.tlan:/home/ngb/mysql/mysql-5.1/mysql-5.1-bug30271
This commit is contained in:
commit
3f3be4f394
2 changed files with 8 additions and 2 deletions
|
@ -553,7 +553,13 @@ extern "C" {
|
|||
/** Log event specific data for for corresponding NDB_LE_ log event */
|
||||
struct {
|
||||
int gth;
|
||||
unsigned page_size_kb;
|
||||
/* union is for compatibility backward.
|
||||
* page_size_kb member variable should be removed in the future
|
||||
*/
|
||||
union {
|
||||
unsigned page_size_kb;
|
||||
unsigned page_size_bytes;
|
||||
};
|
||||
unsigned pages_used;
|
||||
unsigned pages_total;
|
||||
unsigned block;
|
||||
|
|
|
@ -256,7 +256,7 @@ struct Ndb_logevent_body_row ndb_logevent_body[]= {
|
|||
ROW( ReceiveBytesStatistic, "mean_received_bytes", 2, mean_received_bytes),
|
||||
|
||||
ROW( MemoryUsage, "gth", 1, gth),
|
||||
ROW( MemoryUsage, "page_size_kb", 2, page_size_kb),
|
||||
ROW( MemoryUsage, "page_size_bytes", 2, page_size_bytes),
|
||||
ROW( MemoryUsage, "pages_used", 3, pages_used),
|
||||
ROW( MemoryUsage, "pages_total", 4, pages_total),
|
||||
ROW( MemoryUsage, "block", 5, block),
|
||||
|
|
Loading…
Reference in a new issue