| 1 |
--source include/have_binlog_format_row.inc |
| 2 |
|
| 3 |
--echo # |
| 4 |
--echo # Bug #29557747: DEBUG-ASSERT WHILE RESTARTING SERVER POST INSTALL |
| 5 |
--echo # COMPONENT |
| 6 |
--echo # |
| 7 |
|
| 8 |
--let $before=query_get_value('SHOW MASTER STATUS', Position, 1) |
| 9 |
INSTALL COMPONENT "file://component_pfs_example_component_population"; |
| 10 |
--let $after=query_get_value('SHOW MASTER STATUS', Position, 1) |
| 11 |
|
| 12 |
--let $assert_text = Nothing was written to the binlog by adding a PFS table |
| 13 |
--let $assert_cond = $before = $after |
| 14 |
--source include/assert.inc |
| 15 |
|
| 16 |
--echo # Must not crash |
| 17 |
--source include/restart_mysqld.inc |
| 18 |
SELECT "it's alive"; |
| 19 |
|
| 20 |
--let $beforeu=query_get_value('SHOW MASTER STATUS', Position, 1) |
| 21 |
UNINSTALL COMPONENT "file://component_pfs_example_component_population"; |
| 22 |
--let $afteru=query_get_value('SHOW MASTER STATUS', Position, 1) |
| 23 |
|
| 24 |
--let $assert_text = Nothing was written to the binlog by removing a PFS table |
| 25 |
--let $assert_cond = $beforeu = $afteru |
| 26 |
--source include/assert.inc |
| 27 |
|
| 28 |
--echo # End of 8.0 tests |