Commit Graph

8026 Commits

Author SHA1 Message Date
0fa27a4619 *: fix tests failed on Go 1.11beta (#7178)
Many of the failed tests are due to misuse of format placeholder.
2018-07-30 11:36:33 +08:00
f4f1692fd1 *: remove FromID from expression.Column (#7157) 2018-07-30 11:06:02 +08:00
4a203fd525 executor: add placeholder count check in prepare stage (#7162) 2018-07-29 13:35:59 +08:00
fa7de823db ddl: support range partition in show table status (#7173) 2018-07-29 13:13:32 +08:00
a629630745 stats: refine the row count estimation for outdated stats (#7175) 2018-07-29 12:49:26 +08:00
6815dec5b3 ddl: implement reorganize for table partition when adding index (#6814)
* Handle DDL reorganization for table partitions one by one
* Reorganize metadata changed from handle to startHandle, endHandle, partitionID
2018-07-27 17:49:21 +08:00
f107feed63 fix a bug that nullable unique index can not find null values using index. (#7163) 2018-07-27 15:04:21 +08:00
06021c7cfe remove types.Row interface (#7170) 2018-07-27 13:45:03 +08:00
6dc3f94393 table: Add a new interface in table.Table (#7167)
In some cases, We need to get the PartitionID instead of the TableID. So
we should call GetID() instead of Meta().ID.
2018-07-27 11:22:52 +08:00
e3ba021f5a *: make system variable 'group_concat_max_len' work (#7080) 2018-07-26 20:02:56 +08:00
2fba9931c7 *: remove DatumRow (#7165) 2018-07-26 19:42:58 +08:00
1562f25787 add sum_decimal method for aggfunc (#7096) 2018-07-26 13:24:57 +08:00
417f58228c types: fix a bug in decimal modulo operation (#7113) 2018-07-26 10:56:51 +08:00
ec8fb0d38c *: refine IntColumn <cmp> NonIntConstant (#7108) 2018-07-26 09:40:47 +08:00
b5f9b35a45 plan: refactor the code of building Insert. (#7068) 2018-07-25 22:41:42 +08:00
85cd2463bc ddl: fix a bug that we miss adding last handle index in some case. (#7142) 2018-07-25 18:52:35 +08:00
9a1a95d95c stats: fix panic caused by outdated feedback (#7128) 2018-07-25 18:30:33 +08:00
3173604871 stats: do not change histogram version when updating coloumn size (#7145) 2018-07-25 16:32:04 +08:00
4ae23a91b3 tablecodec: optimize DecodeRowKey (#7149) 2018-07-25 15:59:35 +08:00
8b913c95ef *: rename "GetDDLJob" to "GetDDLJobByIdx" (#7129) 2018-07-25 14:28:45 +08:00
dd99148767 executor: pass row pointer rather than row to avoid convertT2I (#7143) 2018-07-25 13:37:09 +08:00
da6f0c1edd ddl: initial support for parallel DDL (#6955) 2018-07-25 10:48:38 +08:00
3299f860ff *: use chunk.Row instead of types.DatumRow in test files (#7139) 2018-07-24 21:45:33 +08:00
5f7abc84fe *: fix panic that upgrade from old version TiDB. (#7136) 2018-07-24 18:59:29 +08:00
437933d449 sessionctx, executor: Add correctness check when set system variables (#7117) 2018-07-24 18:49:15 +08:00
cef80b3da3 plan: converting plan to pb should not rely on Column's Position (#7105) 2018-07-24 15:59:00 +08:00
537bed3afa table/tables: fix goroutine leak (#7119) 2018-07-24 15:10:02 +08:00
46e46c1c10 stats: reduce conflict for updating column size (#7124) 2018-07-24 11:49:25 +08:00
ade23a02a3 ddl: fix genGlobalID function repetition RunInNewTxn (#7130) 2018-07-23 20:53:14 +08:00
f59f696d23 ddl: add partion function check when create partion table (#7111)
* ddl: add partion func check when create partion table
2018-07-23 20:40:10 +08:00
3b5e8a2264 stats: use feedback in time (#6859) 2018-07-23 19:27:14 +08:00
b092ff93f4 ddl: retrive range from PD everytime when batch backfilling indices (#6908) 2018-07-23 17:18:20 +08:00
3d04c5ef95 ddl: fix create partition table not suport bit and year column type (#7122) 2018-07-23 16:13:27 +08:00
a7ae09b8e1 metrics,server: add a get_token_duration_seconds metrics (#7110)
* metrics,server: add a get_token_duration_seconds metrics
2018-07-23 14:29:19 +08:00
46e5ff3f41 ddl: support truncate partitioned table and drop partitioned table (#7036) 2018-07-23 13:30:36 +08:00
ebfbe099e2 executor: avoid very slow structure to interface type converation (#7121) 2018-07-23 12:16:12 +08:00
3971357c79 meta/autoid: reduce concurrency in test (#7123)
Makes test more stable.
2018-07-23 11:58:34 +08:00
fc0ad93356 avoid call errors.Trace when error is nil (#7120) 2018-07-23 10:07:57 +08:00
a790c1583d mocktikv: rename NewTestClient to NewTiKVAndPDClient (#7052) 2018-07-22 23:49:36 +08:00
0b5a1251ee expression/aggregation: set PB field type (#7118)
Aggregation expression should set field type in PB.
2018-07-22 12:50:18 +08:00
a5d2fed9bc docs: add design doc about the new aggregate framework (#7097) 2018-07-22 09:08:47 +08:00
dbd7b61404 plan, executor: check b.err after buildSort and buildLimit in builUnion (#7114) 2018-07-21 10:52:44 +08:00
a631821ad9 docs/design: new storage row format proposal (#7095) 2018-07-20 12:24:40 +08:00
48a42fe424 tables: fix prefix index, when the charset is utf8, truncate it from runes (#7109) 2018-07-19 23:44:56 +08:00
387a53a719 executor: move tidb_reader code to its named files. (#7065) 2018-07-19 22:36:07 +08:00
90c721ad72 chunk/codec: adjust decoding offsets in chunk (#7106) 2018-07-19 18:53:16 +08:00
ba5a33f04c add keep alive settings (#7100) 2018-07-19 17:28:41 +08:00
eeb08a9372 less type covert call (#7102) 2018-07-19 16:13:49 +08:00
6663f63534 ddl:check partition count limit when create partitioned table and add partitioned table (#7069)
* check partition count limit when create partitioned table and add partitioned table
2018-07-19 13:53:33 +08:00
ce0843e4f3 binlog: fix bug in load data (#7074) 2018-07-19 12:58:57 +08:00