| 1 |
# restart:--log-error=MYSQLD_LOG |
| 2 |
# |
| 3 |
# Trigger problem reported by "Bug#32357856 SIGHUP CAUSES CRASH IN |
| 4 |
# CACHED TABLE DEF CLOSE" by creating and using a NDB table in order |
| 5 |
# to have it be added to open table cache and then closed by SIGHUP |
| 6 |
# |
| 7 |
CREATE TABLE t1 (a int PRIMARY KEY) ENGINE = NDB; |
| 8 |
SELECT * FROM t1; |
| 9 |
a |
| 10 |
# |
| 11 |
# Flush the log by sending SIGHUP from perl script. |
| 12 |
# |
| 13 |
# Check that both files still exists |
| 14 |
DROP TABLE t1; |
| 15 |
call mtr.add_suppression("mysqld startup An incident event has been written"); |
| 16 |
# CLEAN UP |
| 17 |
# Restore default settings |
| 18 |
# restart: |