Description:
Try to create a table space with nonexistant log group or wrong log group name and the only error message that comes back is "Failed to create TABLESPACE" without any hint *why* it actually failed.
How to repeat:
on a fresh installation try:
> CREATE TABLESPACE ts_1
ADD DATAFILE 'ts_1.dat'
USE LOGFILE GROUP no_such_log_group
INITIAL_SIZE 256M
EXTENT_SIZE 128M
ENGINE NDB;
ERROR 1525 (HY000): Failed to create TABLESPACE
> show warnings;
+-------+------+-----------------------------+
| Level | Code | Message |
+-------+------+-----------------------------+
| Error | 1525 | Failed to create TABLESPACE |
+-------+------+-----------------------------+
1 row in set (0.00 sec)
Suggested fix:
Add at least a warning about the nonexistant log group
Description: Try to create a table space with nonexistant log group or wrong log group name and the only error message that comes back is "Failed to create TABLESPACE" without any hint *why* it actually failed. How to repeat: on a fresh installation try: > CREATE TABLESPACE ts_1 ADD DATAFILE 'ts_1.dat' USE LOGFILE GROUP no_such_log_group INITIAL_SIZE 256M EXTENT_SIZE 128M ENGINE NDB; ERROR 1525 (HY000): Failed to create TABLESPACE > show warnings; +-------+------+-----------------------------+ | Level | Code | Message | +-------+------+-----------------------------+ | Error | 1525 | Failed to create TABLESPACE | +-------+------+-----------------------------+ 1 row in set (0.00 sec) Suggested fix: Add at least a warning about the nonexistant log group