| 1 |
#### Binary log ENABLED #### |
| 2 |
==== Don't set any option ==== |
| 3 |
# restart: --log-error=MYSQLTEST_VARDIR/tmp/binlog_expire_warnings-output.err |
| 4 |
include/assert_grep.inc [There shall be no deprecation warning] |
| 5 |
include/assert_grep.inc [There shall be no combination warning] |
| 6 |
include/assert_grep.inc [There shall be no binlog_off+seconds warning] |
| 7 |
include/assert_grep.inc [There shall be no binlog_off+days warning] |
| 8 |
include/assert.inc [binlog_expire_logs_seconds shall be 60*60*24*30] |
| 9 |
include/assert.inc [expire_logs_days shall be 0] |
| 10 |
==== Set one option to zero ==== |
| 11 |
---- days=0 ---- |
| 12 |
# restart: --log-error=MYSQLTEST_VARDIR/tmp/binlog_expire_warnings-output.err --expire_logs_days=0 |
| 13 |
include/assert_grep.inc [There shall be a deprecation warning] |
| 14 |
include/assert_grep.inc [There shall be no combination warning] |
| 15 |
include/assert_grep.inc [There shall be no binlog_off+seconds warning] |
| 16 |
include/assert_grep.inc [There shall be no binlog_off+days warning] |
| 17 |
include/assert.inc [binlog_expire_logs_seconds shall be 0] |
| 18 |
include/assert.inc [expire_logs_days shall be 0] |
| 19 |
---- seconds=0 ---- |
| 20 |
# restart: --log-error=MYSQLTEST_VARDIR/tmp/binlog_expire_warnings-output.err --binlog-expire-logs-seconds=0 |
| 21 |
include/assert_grep.inc [There shall be no deprecation warning] |
| 22 |
include/assert_grep.inc [There shall be no combination warning] |
| 23 |
include/assert_grep.inc [There shall be no binlog_off+seconds warning] |
| 24 |
include/assert_grep.inc [There shall be no binlog_off+days warning] |
| 25 |
include/assert.inc [binlog_expire_logs_seconds shall be 0] |
| 26 |
include/assert.inc [expire_logs_days shall be 0] |
| 27 |
==== Set one option to non-zero ==== |
| 28 |
---- days=14 ---- |
| 29 |
# restart: --log-error=MYSQLTEST_VARDIR/tmp/binlog_expire_warnings-output.err --expire_logs_days=14 |
| 30 |
include/assert_grep.inc [There shall be a deprecation warning] |
| 31 |
include/assert_grep.inc [There shall be no combination warning] |
| 32 |
include/assert_grep.inc [There shall be no binlog_off+seconds warning] |
| 33 |
include/assert_grep.inc [There shall be no binlog_off+days warning] |
| 34 |
include/assert.inc [binlog_expire_logs_seconds shall be 0] |
| 35 |
include/assert.inc [expire_logs_days shall be 14] |
| 36 |
---- seconds=3600 ---- |
| 37 |
# restart: --log-error=MYSQLTEST_VARDIR/tmp/binlog_expire_warnings-output.err --binlog-expire-logs-seconds=3600 |
| 38 |
include/assert_grep.inc [There shall be no deprecation warning] |
| 39 |
include/assert_grep.inc [There shall be no combination warning] |
| 40 |
include/assert_grep.inc [There shall be no binlog_off+seconds warning] |
| 41 |
include/assert_grep.inc [There shall be no binlog_off+days warning] |
| 42 |
include/assert.inc [binlog_expire_logs_seconds shall be 3600] |
| 43 |
include/assert.inc [expire_logs_days shall be 0] |
| 44 |
==== Set both options to zero ==== |
| 45 |
# restart: --log-error=MYSQLTEST_VARDIR/tmp/binlog_expire_warnings-output.err --expire_logs_days=0 --binlog-expire-logs-seconds=0 |
| 46 |
include/assert_grep.inc [There shall be a deprecation warning] |
| 47 |
include/assert_grep.inc [There shall be no combination warning] |
| 48 |
include/assert_grep.inc [There shall be no binlog_off+seconds warning] |
| 49 |
include/assert_grep.inc [There shall be no binlog_off+days warning] |
| 50 |
include/assert.inc [binlog_expire_logs_seconds shall be 0] |
| 51 |
include/assert.inc [expire_logs_days shall be 0] |
| 52 |
==== Set both options: one to zero and one to non-zero ==== |
| 53 |
---- seconds=0 days=14 ---- |
| 54 |
# restart: --log-error=MYSQLTEST_VARDIR/tmp/binlog_expire_warnings-output.err --expire_logs_days=14 --binlog-expire-logs-seconds=0 |
| 55 |
include/assert_grep.inc [There shall be a deprecation warning] |
| 56 |
include/assert_grep.inc [There shall be no combination warning] |
| 57 |
include/assert_grep.inc [There shall be no binlog_off+seconds warning] |
| 58 |
include/assert_grep.inc [There shall be no binlog_off+days warning] |
| 59 |
include/assert.inc [binlog_expire_logs_seconds shall be 0] |
| 60 |
include/assert.inc [expire_logs_days shall be 14] |
| 61 |
---- seconds=14 days=0 ---- |
| 62 |
# restart: --log-error=MYSQLTEST_VARDIR/tmp/binlog_expire_warnings-output.err --expire_logs_days=0 --binlog-expire-logs-seconds=14 |
| 63 |
include/assert_grep.inc [There shall be a deprecation warning] |
| 64 |
include/assert_grep.inc [There shall be no combination warning] |
| 65 |
include/assert_grep.inc [There shall be no binlog_off+seconds warning] |
| 66 |
include/assert_grep.inc [There shall be no binlog_off+days warning] |
| 67 |
include/assert.inc [binlog_expire_logs_seconds shall be 14] |
| 68 |
include/assert.inc [expire_logs_days shall be 0] |
| 69 |
==== Set both options to non-zero ==== |
| 70 |
# restart: --log-error=MYSQLTEST_VARDIR/tmp/binlog_expire_warnings-output.err --expire_logs_days=14 --binlog-expire-logs-seconds=14 |
| 71 |
include/assert_grep.inc [There shall be a deprecation warning] |
| 72 |
include/assert_grep.inc [There shall be a combination warning] |
| 73 |
include/assert_grep.inc [There shall be no binlog_off+seconds warning] |
| 74 |
include/assert_grep.inc [There shall be no binlog_off+days warning] |
| 75 |
include/assert.inc [binlog_expire_logs_seconds shall be 14] |
| 76 |
include/assert.inc [expire_logs_days shall be 0] |
| 77 |
#### Binary log DISABLED #### |
| 78 |
==== Don't set any option ==== |
| 79 |
# restart: --log-error=MYSQLTEST_VARDIR/tmp/binlog_expire_warnings-output.err --skip-log-bin |
| 80 |
include/assert_grep.inc [There shall be no deprecation warning] |
| 81 |
include/assert_grep.inc [There shall be no combination warning] |
| 82 |
include/assert_grep.inc [There shall be no binlog_off+seconds warning] |
| 83 |
include/assert_grep.inc [There shall be no binlog_off+days warning] |
| 84 |
include/assert.inc [binlog_expire_logs_seconds shall be 60*60*24*30] |
| 85 |
include/assert.inc [expire_logs_days shall be 0] |
| 86 |
==== Set one option to zero ==== |
| 87 |
---- days=0 ---- |
| 88 |
# restart: --log-error=MYSQLTEST_VARDIR/tmp/binlog_expire_warnings-output.err --skip-log-bin --expire_logs_days=0 |
| 89 |
include/assert_grep.inc [There shall be a deprecation warning] |
| 90 |
include/assert_grep.inc [There shall be no combination warning] |
| 91 |
include/assert_grep.inc [There shall be no binlog_off+seconds warning] |
| 92 |
include/assert_grep.inc [There shall be a binlog_off+days warning] |
| 93 |
include/assert.inc [binlog_expire_logs_seconds shall be 0] |
| 94 |
include/assert.inc [expire_logs_days shall be 0] |
| 95 |
---- seconds=0 ---- |
| 96 |
# restart: --log-error=MYSQLTEST_VARDIR/tmp/binlog_expire_warnings-output.err --skip-log-bin --binlog-expire-logs-seconds=0 |
| 97 |
include/assert_grep.inc [There shall be no deprecation warning] |
| 98 |
include/assert_grep.inc [There shall be no combination warning] |
| 99 |
include/assert_grep.inc [There shall be a binlog_off+seconds warning] |
| 100 |
include/assert_grep.inc [There shall be no binlog_off+days warning] |
| 101 |
include/assert.inc [binlog_expire_logs_seconds shall be 0] |
| 102 |
include/assert.inc [expire_logs_days shall be 0] |
| 103 |
==== Set one option to non-zero ==== |
| 104 |
---- days=14 ---- |
| 105 |
# restart: --log-error=MYSQLTEST_VARDIR/tmp/binlog_expire_warnings-output.err --skip-log-bin --expire_logs_days=14 |
| 106 |
include/assert_grep.inc [There shall be a deprecation warning] |
| 107 |
include/assert_grep.inc [There shall be no combination warning] |
| 108 |
include/assert_grep.inc [There shall be no binlog_off+seconds warning] |
| 109 |
include/assert_grep.inc [There shall be a binlog_off+days warning] |
| 110 |
include/assert.inc [binlog_expire_logs_seconds shall be 0] |
| 111 |
include/assert.inc [expire_logs_days shall be 14] |
| 112 |
---- seconds=3600 ---- |
| 113 |
# restart: --log-error=MYSQLTEST_VARDIR/tmp/binlog_expire_warnings-output.err --skip-log-bin --binlog-expire-logs-seconds=3600 |
| 114 |
include/assert_grep.inc [There shall be no deprecation warning] |
| 115 |
include/assert_grep.inc [There shall be no combination warning] |
| 116 |
include/assert_grep.inc [There shall be a binlog_off+seconds warning] |
| 117 |
include/assert_grep.inc [There shall be no binlog_off+days warning] |
| 118 |
include/assert.inc [binlog_expire_logs_seconds shall be 3600] |
| 119 |
include/assert.inc [expire_logs_days shall be 0] |
| 120 |
==== Set both options to zero ==== |
| 121 |
# restart: --log-error=MYSQLTEST_VARDIR/tmp/binlog_expire_warnings-output.err --skip-log-bin --expire_logs_days=0 --binlog-expire-logs-seconds=0 |
| 122 |
include/assert_grep.inc [There shall be a deprecation warning] |
| 123 |
include/assert_grep.inc [There shall be no combination warning] |
| 124 |
include/assert_grep.inc [There shall be a binlog_off+seconds warning] |
| 125 |
include/assert_grep.inc [There shall be a binlog_off+days warning] |
| 126 |
include/assert.inc [binlog_expire_logs_seconds shall be 0] |
| 127 |
include/assert.inc [expire_logs_days shall be 0] |
| 128 |
==== Set both options: one to zero and one to non-zero ==== |
| 129 |
---- seconds=0 days=14 ---- |
| 130 |
# restart: --log-error=MYSQLTEST_VARDIR/tmp/binlog_expire_warnings-output.err --skip-log-bin --expire_logs_days=14 --binlog-expire-logs-seconds=0 |
| 131 |
include/assert_grep.inc [There shall be a deprecation warning] |
| 132 |
include/assert_grep.inc [There shall be no combination warning] |
| 133 |
include/assert_grep.inc [There shall be a binlog_off+seconds warning] |
| 134 |
include/assert_grep.inc [There shall be a binlog_off+days warning] |
| 135 |
include/assert.inc [binlog_expire_logs_seconds shall be 0] |
| 136 |
include/assert.inc [expire_logs_days shall be 14] |
| 137 |
---- seconds=14 days=0 ---- |
| 138 |
# restart: --log-error=MYSQLTEST_VARDIR/tmp/binlog_expire_warnings-output.err --skip-log-bin --expire_logs_days=0 --binlog-expire-logs-seconds=14 |
| 139 |
include/assert_grep.inc [There shall be a deprecation warning] |
| 140 |
include/assert_grep.inc [There shall be no combination warning] |
| 141 |
include/assert_grep.inc [There shall be a binlog_off+seconds warning] |
| 142 |
include/assert_grep.inc [There shall be a binlog_off+days warning] |
| 143 |
include/assert.inc [binlog_expire_logs_seconds shall be 14] |
| 144 |
include/assert.inc [expire_logs_days shall be 0] |
| 145 |
==== Set both options to non-zero ==== |
| 146 |
# restart: --log-error=MYSQLTEST_VARDIR/tmp/binlog_expire_warnings-output.err --skip-log-bin --expire_logs_days=14 --binlog-expire-logs-seconds=14 |
| 147 |
include/assert_grep.inc [There shall be a deprecation warning] |
| 148 |
include/assert_grep.inc [There shall be a combination warning] |
| 149 |
include/assert_grep.inc [There shall be a binlog_off+seconds warning] |
| 150 |
include/assert_grep.inc [There shall be a binlog_off+days warning] |
| 151 |
include/assert.inc [binlog_expire_logs_seconds shall be 14] |
| 152 |
include/assert.inc [expire_logs_days shall be 0] |