1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-07 00:04:31 +03:00

MDEV-30698 Cover missing test cases for mariadb-binlog options --raw [and] --flashback

- Adding test case for --raw without -R
- Adding unsuported combination of --raw and --flashback parameters and
covered with test case
This commit is contained in:
Anel Husakovic
2023-02-20 14:11:13 +01:00
committed by Andrew Hutchings
parent 7300ab32cc
commit 2f6bb9cda5
5 changed files with 31 additions and 0 deletions

View File

@@ -3063,6 +3063,12 @@ int main(int argc, char** argv)
my_set_max_open_files(open_files_limit);
if (opt_flashback && opt_raw_mode)
{
error("The --raw mode is not allowed with --flashback mode");
die(1);
}
if (opt_flashback)
{
my_init_dynamic_array(&binlog_events, sizeof(LEX_STRING), 1024, 1024,