[MDEV-5097] Syntax Error on ALTER TABLE ENGINE=TokuDB COMPRESSION=TOKUDB_LZMA Created: 2013-10-03 Updated: 2013-11-07 Resolved: 2013-11-07 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | 5.5.33a |
| Fix Version/s: | 5.5.34 |
| Type: | Bug | Priority: | Critical |
| Reporter: | VAROQUI Stephane | Assignee: | Sergei Golubchik |
| Resolution: | Cannot Reproduce | Votes: | 0 |
| Labels: | tokudb | ||
| Environment: |
Debian Squeeze |
||
| Description |
|
The doc state
But it looks that alter table does not follow documented rules.
|
| Comments |
| Comment by Sergei Golubchik [ 2013-10-03 ] |
|
I think the problem is that you change the engine and in the same statement set attributes (compression) specific to the new engine. I'd guess that the server looks in the old storage engine to see whether an attribute is supported, not in the new. |
| Comment by Sergei Golubchik [ 2013-11-07 ] |
|
works for me, no syntax error, the table is altered as expected. |