@@ -10691,11 +10691,6 @@ struct my_option my_long_early_options[] = {
10691
10691
*/
10692
10692
10693
10693
struct my_option my_long_options[] = {
10694
- {"abort-slave-event-count", OPT_ABORT_SLAVE_EVENT_COUNT,
10695
- "Option used by mysql-test for debugging and testing of replication."
10696
- "This option is deprecated and will be removed in a future version. ",
10697
- &abort_slave_event_count, &abort_slave_event_count, nullptr, GET_INT,
10698
- REQUIRED_ARG, 0, 0, 0, nullptr, 0, nullptr},
10699
10694
{"allow-suspicious-udfs", 0,
10700
10695
"Allows use of UDFs consisting of only one symbol xxx() "
10701
10696
"without corresponding xxx_init() or xxx_deinit(). That also means "
@@ -10762,14 +10757,8 @@ struct my_option my_long_options[] = {
10762
10757
{"default-time-zone", 0, "Set the default time zone.", &default_tz_name,
10763
10758
&default_tz_name, nullptr, GET_STR, REQUIRED_ARG, 0, 0, 0, nullptr, 0,
10764
10759
nullptr},
10765
- {"disconnect-slave-event-count", OPT_DISCONNECT_SLAVE_EVENT_COUNT,
10766
- "Option used by mysql-test for debugging and testing of replication."
10767
- "This option is deprecated and will be removed in a future version.",
10768
- &disconnect_slave_event_count, &disconnect_slave_event_count, nullptr,
10769
- GET_INT, REQUIRED_ARG, 0, 0, 0, nullptr, 0, nullptr},
10770
10760
{"exit-info", 'T', "Used for debugging. Use at your own risk.", nullptr,
10771
10761
nullptr, nullptr, GET_LONG, OPT_ARG, 0, 0, 0, nullptr, 0, nullptr},
10772
-
10773
10762
{"external-locking", 0,
10774
10763
"Use system (external) locking (disabled by "
10775
10764
"default). With this option enabled you can run myisamchk to test "
@@ -12688,13 +12677,6 @@ bool mysqld_get_one_option(int optid,
12688
12677
push_deprecated_warn_no_replacement(nullptr,
12689
12678
"--transaction-write-set-extraction");
12690
12679
break;
12691
- case OPT_DISCONNECT_SLAVE_EVENT_COUNT:
12692
- push_deprecated_warn_no_replacement(nullptr,
12693
- "--disconnect-slave-event-count");
12694
- break;
12695
- case OPT_ABORT_SLAVE_EVENT_COUNT:
12696
- push_deprecated_warn_no_replacement(nullptr, "--abort-slave-event-count");
12697
- break;
12698
12680
case OPT_REPLICA_PARALLEL_TYPE:
12699
12681
push_deprecated_warn_no_replacement(nullptr, "--replica-parallel-type");
12700
12682
break;
@@ -12914,7 +12896,7 @@ static int get_options(int *argc_ptr, char ***argv_ptr) {
12914
12896
turn_bit_on;
12915
12897
12916
12898
// Synchronize @@global.autocommit metadata on --autocommit
12917
- my_option *opt = &my_long_options[3 ];
12899
+ my_option *opt = &my_long_options[2 ];
12918
12900
assert(strcmp(opt->name, "autocommit") == 0);
12919
12901
assert(opt->arg_source != nullptr);
12920
12902
Sys_autocommit_ptr->set_source_name(opt->arg_source->m_path_name);
0 commit comments