Add log_bin_index, log_bin_basename and relay_log_basename system
variables. Also, convert relay_log_index system variable to
NO_CMD_LINE and implement --relay-log-index as a command line
option.
in the embedded result we don't have 'log_slave_updates OFF' line
as replication is disabled in the embedded server.
As we don't need to check for log_slave_updates variable in this
test, we can not to SHOW it at all
mysql-test/r/flush2.result:
result fixed
mysql-test/t/flush2.test:
here we only need to check for log_bin% variables
Server crashes if a flush commmand is issued and binlog is closed.
- added check to prevent binlog access when binlog file isn't opened.
sql/sql_parse.cc:
- removed deprecated environment consistency check.
- added check to prevent binlog access on closed binlog.
mysql-test/t/flush2-master.opt:
- Added test case (master options)
mysql-test/t/flush2.test:
- Added test case
mysql-test/r/flush2.result:
- Added test case (resultfile)