lp:~laurynas-biveinis/percona-server/tokudb-multiple-clust-keys
- Get this branch:
- bzr branch lp:~laurynas-biveinis/percona-server/tokudb-multiple-clust-keys
Branch merges
- Alexey Kopytov (community): Approve
- Laurynas Biveinis: Pending requested
-
Diff: 607 lines (+318/-27)14 files modifiedinclude/my_base.h (+3/-1)
include/mysql_com.h (+2/-0)
mysql-test/r/tokudb_clustering_key_grammar.result (+73/-0)
mysql-test/t/tokudb_clustering_key_grammar.test (+99/-0)
sql/handler.h (+5/-0)
sql/lex.h (+1/-0)
sql/sql_class.h (+2/-1)
sql/sql_parse.cc (+12/-5)
sql/sql_show.cc (+3/-0)
sql/sql_table.cc (+25/-6)
sql/sql_yacc.yy (+61/-11)
sql/table.cc (+21/-1)
sql/unireg.cc (+9/-1)
tests/mysql_client_test.c (+2/-1)
Related bugs
Related blueprints
Branch information
- Owner:
- Laurynas Biveinis
- Status:
- Merged
Recent revisions
- 568. By Laurynas Biveinis
-
Add support for CLUSTERING key type that is a clustering secondary
key, that is, the whole of the row can be accessed through a
CLUSTERING key without going through the primary clustered index. This
implements the query parser and index definition persistence bits,
https://blueprints. launchpad. net/percona- server/ +spec/multiple- clustering- keys. - New lexer symbol CLUSTERING, handle it in the parser grammar and
add_field_to_list as a key type modifier in key definitions for
CREATE TABLE, ALTER TABLE ADD INDEX, and CREATE INDEX; and as a
field attribute. Allow it in constraint definitions if it's present
in combination with UNIQUE.
- New handlerton flag HTON_SUPPORTS_CLUSTERED_ KEYS. Use it to return
HA_ILLEGAL_HA_CREATE_ OPTION if CLUSTERING key specified but the
handlerton does not support them.
- New key flag HA_CLUSTERING, new key type Key::Keytype::CLUSTERING,
assign values to all Key::Keytype constants to support OR'ing them,
handle CLUSTERING in SHOW CREATE TABLE, write it out to FRM as a
combination of spatial and fulltext key types, handle this
combination on FRM read. This is to avoid a FRM format
change. Return error if this combination is present for a storage
engine that does not support clustering keys.
- New field flag CLUSTERING_FLAG. Set it up in setup_key_part_field in
table.cc. Return it through INFORMATION_SCHEMA. COLUMNS. COLUMN_ KEY if
it's the only field flag. Handle it in test_field_flags of
mysql_client_ test.c.
- New testcase tokudb_clustering_ key_grammar. - 567. By Jenkins Master <email address hidden>
-
Merge lp:~hrvojem/percona-server/rn-5.5.36-34.2-5.6
http://jenkins. percona. com/job/ merge-PS- 5.6-docs- kickoff/ 42/ - 560. By Jenkins Master <email address hidden>
-
Merge lp:~hrvojem/percona-server/rn-5.5.36-34.1-5.6
http://jenkins. percona. com/job/ merge-PS- 5.6-docs- kickoff/ 41/
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:percona-server/5.6