Details
Description
MariaDB [test]> CREATE TABLE t1 (a INT) ENGINE=FEDERATED CONNECTION='non_existing'; ERROR 1 (HY000): Can't create/write to file 'server name: 'non_existing' doesn't exist!' (Errcode: 16) MariaDB [test]> SHOW WARNINGS; +-------+------+---------------------------------------------------------------------------------------+ | Level | Code | Message | +-------+------+---------------------------------------------------------------------------------------+ | Error | 1 | Can't create/write to file 'server name: 'non_existing' doesn't exist!' (Errcode: 16) | | Error | 1 | Can't create/write to file 'non_existing' (Errcode: 49043072) | | Error | 1005 | Can't create table 'test.t1' (errno: 1) | +-------+------+---------------------------------------------------------------------------------------+
There used to be bug http://bugs.mysql.com/bug.php?id=33702 which is now marked as fixed and closed (and contains a patch), but the fix was apparently lost along with MySQL 6.0. It is still reproducible on MySQL 5.5, 5.6.
On MariaDB, it affects both Federated and FederatedX.
Test case
# If in MTR, run as # perl ./mtr --mysqld=--plugin-load=ha_federatedx.so --mysqld=--federated t1 # or # perl ./mtr --mysqld=--plugin-load=ha_federated.so --mysqld=--federated t1 # Outside MTR, just make sure FEDERATED[X] is installed and active. --disable_abort_on_error CREATE TABLE t1 (a INT) ENGINE=FEDERATED CONNECTION='non_existing'; SHOW WARNINGS;
Gliffy Diagrams
Attachments
Issue Links
Activity
- All
- Comments
- Work Log
- History
- Activity
- Transitions
pushed in 5.5