MCPcopy Create free account
hub / github.com/Meituan-Dianping/SQLAdvisor / sql_mode_string_representation

Function sql_mode_string_representation

sql/sys_vars.cc:551–556  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

549 0
550};
551export bool sql_mode_string_representation(THD *thd, sql_mode_t sql_mode,
552 LEX_STRING *ls)
553{
554 set_to_string(thd, ls, sql_mode, sql_mode_names);
555 return ls->str == 0;
556}
557/*
558 sql_mode should *not* be IN_BINLOG: even though it is written to the binlog,
559 the slave ignores the MODE_NO_DIR_IN_CREATE variable, so slave's value

Callers

nothing calls this directly

Calls 1

set_to_stringFunction · 0.85

Tested by

no test coverage detected