Define a helper class to allow for saving sql_mode using RAII
On construction the Sql_mode_save class stores the current THD's sql_mode. On destruction, the THD's mode is restored.
Showing
Please register or sign in to comment
On construction the Sql_mode_save class stores the current THD's sql_mode. On destruction, the THD's mode is restored.