When I enable cdr_odbc module asterisk restarts

Version is 11.17.1

I decided to switch from cdr_mysql to cdr_odbc.
When I enable cdr_odbc module, after some time (several seconds) asterisk quietly restarts.
Nothing about restart reason in the logs even if debug log is enabled.

wiki.asterisk.org/wiki/display/ … +Backtrace

Mysql strict mode was the reason