[MDEV-6085] ALTER TABLE looses the connection string Created: 2014-04-13 Updated: 2014-05-06 Resolved: 2014-05-06 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | 10.0.10 |
| Fix Version/s: | 10.0.11 |
| Type: | Bug | Priority: | Major |
| Reporter: | Olivier Bertrand | Assignee: | Sergei Golubchik |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | plugins | ||
| Description |
|
After creating a table with a connection string, if ALTER TABLE is used, the connection string is lost. For instance:
Now if I do:
This has not been reported before CONNECT was implemented because the only other engine using connection string was FEDERATED(X) that does not support ALTER TABLE. |
| Comments |
| Comment by Olivier Bertrand [ 2014-04-14 ] | ||
|
Note that is is possible to keep, modify or add the connection string in ALTER TABLE by specifying it explicitly:
This works and the connection string is kept. However, this is just a temporary bypass. |