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

Function add_user_option

sql/sql_acl.cc:9302–9314  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9300/* Help function for mysql_show_grants */
9301
9302static void add_user_option(String *grant, long value, const char *name,
9303 bool is_signed)
9304{
9305 if (value)
9306 {
9307 char buff[22], *p; // just as in int2str
9308 grant->append(' ');
9309 grant->append(name, strlen(name));
9310 grant->append(' ');
9311 p=int10_to_str(value, buff, is_signed ? -10 : 10);
9312 grant->append(buff,p-buff);
9313 }
9314}
9315
9316
9317static void add_user_option(String *grant, double value, const char *name)

Callers 1

add_user_parametersFunction · 0.85

Calls 3

int10_to_strFunction · 0.85
my_fcvtFunction · 0.85
appendMethod · 0.45

Tested by

no test coverage detected