Description:
Trying to create a NDB table space withoud cluster being activated produces only warnings, no errors.
How to repeat:
mysql> CREATE LOGFILE GROUP lg_1
-> ADD UNDOFILE 'undo_1.dat'
-> INITIAL_SIZE 16M
-> UNDO_BUFFER_SIZE 2M
-> ENGINE NDB;
Query OK, 0 rows affected, 2 warnings (0.00 sec)
mysql> show warnings;
+---------+------+------------------------------------------------------------------------------------------------+
| Level | Code | Message |
+---------+------+------------------------------------------------------------------------------------------------+
| Warning | 1286 | Unknown table engine 'NDB' |
| Error | 1466 | Table storage engine 'MyISAM' does not support the create option 'TABLESPACE or LOGFILE GROUP' |
+---------+------+------------------------------------------------------------------------------------------------+
2 rows in set (0.01 sec)
Suggested fix:
Should report an error, either about NDB engine being unknown or about MyISAM not supporting table spaces.