Support misc CREATE TABLE options
The Gendata part of the Random Query Generator currently supports setting certain CREATE TABLE options in .zz files, as specified at http://
Blueprint information
- Status:
- Not started
- Approver:
- None
- Priority:
- Medium
- Drafter:
- None
- Direction:
- Needs approval
- Assignee:
- None
- Definition:
- New
- Series goal:
- None
- Implementation:
- Unknown
- Milestone target:
- None
- Started by
- Completed by
Related branches
Related bugs
Sprints
Whiteboard
John said 2010-02-03:
Example of current support in .zz files for certain CREATE TABLE options:
$tables = {
rows => [0, 1, 10, 100],
partitions => [ undef , 'KEY (pk) PARTITIONS 2' ],
engines => ['Falcon', 'Innodb', 'Maria' ],
};
In order to work around an InnoDB limitation I currently need to be able to specify ROW_FORMAT=DYNAMIC as in:
CREATE TABLE t1 (
`col_blob` blob,
`
pk integer auto_increment,
key (`col_blob_key` (255)),
primary key (pk)) ROW_FORMAT=DYNAMIC ENGINE=innodb;
So, support for something like
row_format => [ DYNAMIC ]
would be nice.
However, it might be better to have some sort of generic solution for all kinds of other options as well.
Options supported by "MySQL 5.5" are documented here: http://
-------