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

Function append_str

sql/sql_acl.cc:7761–7766  ·  view source on GitHub ↗

append a string to a buffer that will be later used as an error message @note a string can be either CURRENT_USER or CURRENT_ROLE or NONE, it should be neither quoted nor escaped. */

Source from the content-addressed store, hash-verified

7759 neither quoted nor escaped.
7760*/
7761static void append_str(String *str, const char *s, size_t l)
7762{
7763 if (str->length())
7764 str->append(',');
7765 str->append(s, l);
7766}
7767
7768static int can_grant_role_callback(ACL_USER_BASE *grantee,
7769 ACL_ROLE *role, void *data)

Callers 3

mysql_grant_roleFunction · 0.85
mysql_create_userFunction · 0.85
mysql_drop_userFunction · 0.85

Calls 2

lengthMethod · 0.45
appendMethod · 0.45

Tested by

no test coverage detected