16 #include "my_global.h"
17 #include "my_pthread.h"
18 #include "table_hosts.h"
30 { C_STRING_WITH_LEN(
"HOST") },
31 { C_STRING_WITH_LEN(
"char(60)") },
35 { C_STRING_WITH_LEN(
"CURRENT_CONNECTIONS") },
36 { C_STRING_WITH_LEN(
"bigint(20)") },
40 { C_STRING_WITH_LEN(
"TOTAL_CONNECTIONS") },
41 { C_STRING_WITH_LEN(
"bigint(20)") },
47 table_hosts::m_field_def=
53 { C_STRING_WITH_LEN(
"hosts") },
57 table_hosts::delete_all_rows,
72 table_hosts::delete_all_rows(
void)
88 table_hosts::table_hosts()
93 void table_hosts::make_row(
PFS_host *pfs)
120 if (unlikely(! m_row_exists))
121 return HA_ERR_RECORD_DELETED;
124 DBUG_ASSERT(table->s->null_bytes == 1);
127 for (; (f= *fields) ; fields++)
129 if (read_all || bitmap_is_set(table->read_set, f->field_index))
131 switch(f->field_index)