MCPcopy Create free account
hub / github.com/MariaDB/server / set_host

Method set_host

sql/sql_acl.cc:958–959  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

956 char *get_host(MEM_ROOT *root) const
957 { return ::get_field(root, m_table->field[0]); }
958 int set_host(const char *s, size_t l) const
959 { return m_table->field[0]->store(s, l, system_charset_info); };
960 char *get_user(MEM_ROOT *root) const
961 { return ::get_field(root, m_table->field[1]); }
962 int set_user(const char *s, size_t l) const

Callers 4

acl_set_default_roleFunction · 0.45
replace_user_tableFunction · 0.45
handle_grant_structFunction · 0.45

Calls 1

storeMethod · 0.45

Tested by

no test coverage detected