MXS-1734 Add possibility to instruct when to dump statements

With the configuration entry

dump_last_statements=[never|on_close|on_error]

you can now specify when and if to dump the last statements
of of a session.
This commit is contained in:
Johan Wikman
2018-03-26 10:42:11 +03:00
parent 6d599395d4
commit 3d45d452eb
6 changed files with 68 additions and 5 deletions

View File

@ -3221,7 +3221,7 @@ static void retain_last_statements(const char* arg)
n = 0;
}
session_retain_last_statements(n);
session_set_retain_last_statements(n);
}
static void redirect_output_to_file(const char* arg)