8b149c3323
Prealloc / collides with package name ( #5560 )
2018-01-05 19:15:54 +08:00
04ef7d7992
*: shard implicit row ID ( #5513 )
2018-01-04 16:32:41 +08:00
36d9b61365
*: AddIndex skip checking unique constraint when TiDB is importing data. ( #5535 )
2018-01-02 20:08:49 +08:00
970e5b5684
*: replace JSON with BinaryJSON ( #5460 )
2017-12-21 15:20:17 +08:00
f1e89cde19
*: use lower-case of github.com/sirupsen/logrus ( #5400 )
...
*: rename github.com/Sirupsen/logrus to github.com/sirupsen/logrus
* vendor: update pd
* vendor: update github.com/pingcap/tipb/go-mysqlx
2017-12-14 16:25:58 +08:00
3674523cfb
*: replace binary-tree library from petar/GoLLRB to google/btree. ( #5335 )
2017-12-07 18:12:35 +08:00
5f468489ab
util: add kvencoder package, make transfer sql to key-values be possible. ( #5236 )
2017-11-29 18:01:31 +08:00
ae9d7f5dab
*: set session variable MaxChunkSize to 2 for test ( #5238 )
2017-11-28 13:48:36 +08:00
fb610e6429
*: change executor Next() interface to Next(goctx.Context) ( #5223 )
2017-11-26 21:17:33 -06:00
ee7b0853bb
table: tiny clean up and add logs ( #5186 )
...
* table: tiny clean up and add logs
2017-11-22 20:12:17 +08:00
f828016e9f
*: move sessionctx/domainctx.go to domain package ( #5168 )
2017-11-22 13:41:58 +08:00
8b15cb52b7
*: move StatementContext to its own package. ( #5177 )
2017-11-22 00:11:14 +08:00
c459da6887
*: refactor executor.checkHandleExists to tables.CheckHandleExists to reuse code ( #5157 )
2017-11-20 16:50:22 +08:00
a220cff85e
ddl: Deal with discrete handles ( #5102 )
...
* ddl: deal with discrete handles
2017-11-19 21:30:06 -06:00
14ed94132c
executor: fix issue #5132 , update handle id with some other unique keys report Duplicate keys. ( #5138 )
2017-11-20 11:06:28 +08:00
81652dbeef
*: remove returned value isNull in Row methods. ( #5131 )
2017-11-17 11:12:41 +08:00
cf5a22b5fd
*: replace *ast.Row with types.Row ( #5124 )
2017-11-16 18:36:28 +08:00
0977fd07e6
*: begin opentracing from dispatch() and change interface to Execute(ctx, sql) ( #5027 )
2017-11-07 02:52:15 -06:00
62433663e5
util/types: change types path ( #5007 )
...
* util/types: change types path
2017-11-04 10:37:14 -05:00
37681cf435
*: opentracing for two phase commit ( #4900 )
2017-10-26 17:43:45 +08:00
2ddcc2b16b
*: don't use localstore for test. ( #4728 )
2017-10-10 11:11:31 +08:00
c2691114b4
*: check errors part 2 ( #4704 )
2017-10-09 12:46:45 +08:00
665f62929d
*: make "unconvert" happy ( #4700 )
2017-09-30 15:53:01 +08:00
d782ce103e
table: Speed up the add index operation ( #4632 )
2017-09-28 12:28:35 +08:00
a6756a4eee
*: make insert with calculated value behave the same as MySQL. ( #4603 )
2017-09-27 19:59:31 +08:00
6f84392d40
*: optimize SortExec ( #4622 )
...
* *: change key of orderByRow from "key []types.Datum" to "key []*types.Datum"
* address comment
2017-09-25 19:50:26 +08:00
d2d14d8c48
*: 1. remove expression/typeinfer.go entirely ( #4611 )
...
2. remove the validator of sql like 'insert into t set a = 1, b = a'
2017-09-22 20:27:03 +08:00
a764561dac
*: Speed up the add index operation ( #4579 )
2017-09-22 18:24:03 +08:00
214558629e
table: fix first key ( #4572 )
2017-09-19 18:31:54 +08:00
339c93e5f9
add real tables for global/session status in performance schema ( #4523 )
2017-09-18 17:10:34 +08:00
1fc56d3375
perfschema: remove performance schema instrumentation. ( #4516 )
...
Since we have prometheus, perfomance scheme instrumentation is not needed.
We only need to keep table definitions for compatibility.
2017-09-13 19:03:12 +08:00
88e1666ac6
*: change the log package to logrus ( #4452 )
2017-09-08 00:45:07 -05:00
fc209cb1df
*: rewrite hex and bit literals ( #4415 )
2017-09-07 16:28:24 +08:00
ea29a1c30d
expression: Support more types when getting default flen and decimal ( #4236 )
2017-08-28 02:26:07 -05:00
9367fdddd4
show column comment, table auto-increment; change index default collation ( #4303 )
...
* - 1. change index default collation from "utf8_bin" to "A".
- 2. show column comment. fix #4224 .
- 3. show table auto-increment. fix #3747 .
2017-08-26 17:45:03 -05:00
881d76840b
plan,executor: calculate generated columns in CRUD. ( #3951 )
2017-08-23 14:52:43 +08:00
f5fd467f46
*: change terror.ErrorEqual to Error.Equal, which is more effetive ( #4217 )
2017-08-17 20:06:48 +08:00
bae8fe46f9
ddl: index name should not be primary ( #3834 ) ( #4030 )
2017-08-06 20:59:14 +08:00
01c1d4c5c5
executor: truncate the trailing spaces for "CHAR[(M)]" types ( #3878 )
2017-08-01 16:15:25 +08:00
dff73cc6e4
*: Modify the Makefile for go vet ( #3900 )
2017-07-30 23:02:52 -05:00
597796e166
*: fix bad column offsets in DML. ( #3754 )
2017-07-28 20:56:25 +08:00
b091e828cf
table(test): add unit tests for coverage of package table ( #3770 )
2017-07-21 21:34:59 +08:00
e2a122bfbb
generation-expression: add name resolve ( #3676 )
2017-07-18 13:29:24 +08:00
1e1d01ad10
executor: fix explicitly insert null value into timestamp column ( #3646 )
...
create table t (ts timestamp);
insert into t values (null);
This should insert a null rather than default value.
2017-07-12 17:13:23 +08:00
a0dfa040ef
table,tablecodec,util/types: make it possible to read empty enum value ( #3664 )
2017-07-12 16:42:28 +08:00
4023bb88b3
plan: Clean up ( #3606 )
2017-07-04 00:13:08 +08:00
379914a5af
*: fix timestamp column data and index inconsistent involving timezone ( #3497 )
2017-06-20 15:22:50 +08:00
a5d14645d0
*: Fix add index after add column with default value ( #3510 )
2017-06-20 13:32:22 +08:00
19b2fb0e4c
table: add GeneratedExpr in table.Column. ( #3487 )
2017-06-16 21:43:44 +08:00
9575deeb10
ddl: add more features about generated column. ( #3431 )
...
DESC table_with_generated_column;
SHOW CREATE TABLE table_with_generated_column;
If generated expression in DDL references bad column, throw error;
If alter table change/drop column dependent by other columns, throw error;
if alter table change/modify generated columns, throw error if needs.
2017-06-13 18:53:58 +08:00