Skip to content

Commit 0005daf

Browse files
author
Joao Gramacho
committed
Revert "Bug#22102456 ENABLING GTID AT STARTUP RESULTS IN UNNECESSARY GTID SETS"
This reverts commit 876201b06a1aec718c79cf7f16e8f2c590205478.
1 parent 756b134 commit 0005daf

File tree

3 files changed

+0
-89
lines changed

3 files changed

+0
-89
lines changed

mysql-test/r/initialize_gtid.result

-12
This file was deleted.

mysql-test/t/initialize_gtid.test

-69
This file was deleted.

sql/bootstrap.cc

-8
Original file line numberDiff line numberDiff line change
@@ -101,17 +101,9 @@ static void handle_bootstrap_impl(THD *thd)
101101
thd->init_for_queries();
102102

103103
if (opt_initialize)
104-
{
105104
Command_iterator::current_iterator= &comp_iter;
106-
/* Disable binary logging during compiled statements */
107-
thd->variables.option_bits&= ~OPTION_BIN_LOG;
108-
}
109105
else
110-
{
111106
Command_iterator::current_iterator= &file_iter;
112-
/* Re-enable binary logging during init-file statements */
113-
thd->variables.option_bits|= OPTION_BIN_LOG;
114-
}
115107

116108
Command_iterator::current_iterator->begin();
117109
for ( ; ; )

0 commit comments

Comments
 (0)