| Bug #34189 | ALTER TABLE t1 ENGINE=FEDERATED CONNECTION='connectionString' on MyISAM fails | ||
|---|---|---|---|
| Submitted: | 31 Jan 2008 10:23 | Modified: | 31 Jan 2008 11:33 |
| Reporter: | Patrick Savelberg | ||
| Status: | Verified | ||
| Category: | Server: Federated | Severity: | S3 (Non-critical) |
| Version: | 5.0.54, 5.0.51 | OS: | Any |
| Assigned to: | Ramil Kalimullin | Target Version: | |
| Tags: | Connection, federated, engine, ALTER TABLE | ||
| Triage: | Triaged: D3 (Medium) / R3 (Medium) / E3 (Medium) | ||
[31 Jan 2008 10:23]
Patrick Savelberg
[31 Jan 2008 11:33]
Valeriy Kravchuk
Thank you for a bug report. Verified just as described. If it is intended behaviour (as I assume) it should be clearly documented at: http://dev.mysql.com/doc/refman/5.0/en/alter-table.html and http://dev.mysql.com/doc/refman/5.0/en/federated-limitations.html
[4 Feb 2008 21:09]
Omer BarNir
Workaround: Instead of an alter the table can be dropped and recreated
[2 Oct 18:35]
Nathan Zook
I think that the most likely reason to want to do this is if one is attempting to create the federated table programatically. In that case, the solution is to alter the original create statement by appending ENGINE = FEDERATED CONNECT = 'connect_string' to the create statement of the target table. I have added a tip in the 5.0 CREATE TABLE documentation.
