16 #include "my_global.h"
17 #include "my_pthread.h"
18 #include "table_users.h"
30 { C_STRING_WITH_LEN(
"USER") },
31 { C_STRING_WITH_LEN(
"char(16)") },
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_users::m_field_def=
53 { C_STRING_WITH_LEN(
"users") },
57 table_users::delete_all_rows,
72 table_users::delete_all_rows(
void)
88 table_users::table_users()
93 void table_users::make_row(
PFS_user *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)