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

Method is_strict_mode

sql/sql_class.h:2238–2242  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2236 (MODE_NO_ZERO_IN_DATE | MODE_NO_ZERO_DATE | MODE_INVALID_DATES);
2237 }
2238 inline bool is_strict_mode() const
2239 {
2240 return MY_TEST(variables.sql_mode & (MODE_STRICT_TRANS_TABLES |
2241 MODE_STRICT_ALL_TABLES));
2242 }
2243 inline time_t query_start()
2244 {
2245 query_start_used= 1;

Callers 6

thd_is_strict_modeFunction · 0.80
initMethod · 0.80
validate_comment_lengthFunction · 0.80
prepare_blob_fieldFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected