Tags: radondb/radon
Tags
* : complete create index syntax support #592 [summary] 1. create index syntax. CREATE [UNIQUE | FULLTEXT | SPATIAL] INDEX index_name ON tbl_name (key_part,...) [index_option] [algorithm_option | lock_option] ... key_part: col_name [(length)] index_option: KEY_BLOCK_SIZE [=] value | index_type | WITH PARSER NGRAM | COMMENT 'string' index_type: USING {BTREE | HASH} algorithm_option: ALGORITHM [=] {DEFAULT | INPLACE | COPY} lock_option: LOCK [=] {DEFAULT | NONE | SHARED | EXCLUSIVE} 2. create table index definition syntax. index_definition: PRIMARY KEY (key_part,...) | UNIQUE [index_or_key] index_name (key_part,...) [index_option] | index_or_key index_name (key_part,...) [index_option] | FULLTEXT index_or_key index_name (key_part,...) [index_option] | SPATIAL index_or_key index_name (key_part,...) [index_option] index_or_key: INDEX | KEY [test case] src/planner/ddl_plan_test.go src/vendor/github.com/xelabs/go-mysqlstack/sqlparser/ddl_test.go src/vendor/github.com/xelabs/go-mysqlstack/sqlparser/parse_test.go [patch codecov] src/planner/ddl_plan.go 93.8% src/vendor/github.com/xelabs/go-mysqlstack/sqlparser/ast.go 86.4%
*: add cleanup handle #569 [summary] add cleanup admin to support clean up the old data after shifted. syntax: radon cleanup; [test case] src/ctl/v1/shard_test.go src/proxy/admin_cleanup_test.go src/proxy/proxy_test.go src/proxy/radon_test.go src/vendor/github.com/xelabs/go-mysqlstack/sqlparser/radon_test.go [patch codecov] src/ctl/v1/shard.go 90.9% src/proxy/admin_cleanup.go 100% src/proxy/proxy.go 85.6% src/proxy/radon.go 77.8% src/vendor/github.com/xelabs/go-mysqlstack/sqlparser/ast.go 85.9%
PreviousNext