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. */
| 7759 | neither quoted nor escaped. |
| 7760 | */ |
| 7761 | static 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 | |
| 7768 | static int can_grant_role_callback(ACL_USER_BASE *grantee, |
| 7769 | ACL_ROLE *role, void *data) |
no test coverage detected