| 549 | 0 |
| 550 | }; |
| 551 | export 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 |
nothing calls this directly
no test coverage detected