Commit Graph

7195 Commits

Author SHA1 Message Date
2fb314537a chunk: support capacity grow (#7473) 2018-08-28 20:08:13 +08:00
1255973764 tables: make duplicate error in update clearer (#7495) 2018-08-28 15:34:39 +08:00
364cd97ea3 *: update pd and kvproto vendor (#7513) 2018-08-28 15:01:13 +08:00
5b689e8c5b server: fix insert zero timestamp bug with prepared statement (#7506) 2018-08-28 13:36:36 +08:00
bc97e2d616 plan, util/admin: fix admin check table error when a column of index is virtual generated (#6817) 2018-08-28 12:42:55 +08:00
c97c81e180 tidb-server: enable mutex profiling (#7510) 2018-08-28 12:13:08 +08:00
55565f1c93 expression: fix out of range error for intdiv (#7492) 2018-08-28 11:24:48 +08:00
38c939f4f9 *: add comment and fix lint tool (#7503) 2018-08-27 21:52:04 +08:00
1d0d0a6666 distsql: let analyze use RC level and low priority (#7496) 2018-08-27 18:46:51 +08:00
2d1fae8e56 plan: fix insert onduplicate key update (#7406) 2018-08-27 18:08:08 +08:00
a481f2a41e ddl: make TestTableSplit stable (#7487) 2018-08-27 16:39:43 +08:00
3af92ab208 ddl, metrics: update metrics (#7472) 2018-08-27 15:05:31 +08:00
09fb68ae3b server: fix ComStmtSendLongData when data length is 0 (#7485) 2018-08-27 13:53:28 +08:00
01c6bd820c privilege: execute admin command must have Super_priv. (#7486) 2018-08-24 21:54:31 +08:00
d9f7ffe539 plan: fix a bug when using correlated column as index (#7357) 2018-08-24 16:52:40 +08:00
224ea311fe Vendor include all legal files (#7480) 2018-08-24 14:43:37 +08:00
db873d68f3 infoschema: set right columns in infoschema by differ type (#7463) 2018-08-24 13:15:21 +08:00
1fa5669fb4 ddl: fix partition function check for partitioned table (#7464) 2018-08-23 18:17:43 +08:00
2ac2faf29f parser: support SUBPARTITION grammar for table partition (#7470) 2018-08-23 16:39:04 +08:00
3ff237c211 plan,table: fix select null value for table partition (#7452) 2018-08-23 14:15:48 +08:00
22b2cb6196 infoschema: use the same infoschema (#7459) 2018-08-23 13:32:04 +08:00
ef6590e189 coprocessor: split ranges if the slice is too big (#7454) 2018-08-23 11:25:18 +08:00
f3325e272d store/gc_worker: Add log to record the reason why GC is not running (#7361) 2018-08-22 17:38:16 +08:00
d0302c13ff docs: add MergePartialResult for refactor-aggregate-framework doc (#7453) 2018-08-22 17:30:01 +08:00
43e9c06a59 parser/opcode: fix format function for mod opcode (#7455) 2018-08-22 10:42:43 +08:00
d1d9b369e6 *: make sure parser.y has LF line endings on checkout (#7449) 2018-08-22 09:22:33 +08:00
d9ea38b2ad expression: fix type infer when wrap cast decimal as string (#7451) 2018-08-21 19:40:26 +08:00
d455e6ac5a plan: fix concat in group statement (#7448) 2018-08-21 19:21:13 +08:00
98d2a03136 session:don't use utc to created a customized timezone but empty string (#7424) 2018-08-21 17:31:29 +08:00
fc80029b2a ddl: partition by range value should accept constant expression (#7442)
In partitioned table definition, the range value maybe not an integer,
it could be a constant expression.
For example, the following two cases are the same:
	PARTITION p0 VALUES LESS THAN (TO_SECONDS('2004-01-01'))
	PARTITION p0 VALUES LESS THAN (63340531200)
2018-08-21 17:13:31 +08:00
69b13c59d6 parser: enhance the compatibility for table partition (#7440)
* 'COMMENT = xxx' and 'COMMENT xxx' are both acceptable, '=' is optional
* Add 'TABLESPACE xxx' to partition definition option
* For 'ENGINE = xxx', 'COMMENT = xxx', 'TABLESPACE xxx' options, the order is exchangable
2018-08-21 16:58:05 +08:00
eeb6435865 store/tikv: set ScanDetail to true (#7445) 2018-08-21 16:01:35 +08:00
333ead673f ddl: fix admin check bug (#7359) 2018-08-21 15:34:17 +08:00
4836aa33c3 executor: support new aggregate framework for HashAggExec (#7268) 2018-08-21 15:17:25 +08:00
1dc41d8b79 add logs for replace and insert on dup (#7436) 2018-08-21 12:43:41 +08:00
d4e08853e4 executor,statistics: make query feedback work for partitioned table (#7394) 2018-08-21 11:43:48 +08:00
6d0bcf50ac makefile: add WITH_CHECK os env to make and tidb-server -V print out admin check status. (#7439) 2018-08-20 23:09:00 +08:00
97b60c9757 server: fix enum type flag (#7438) 2018-08-20 19:06:52 +08:00
d567770076 server: fix prepare result for zero timestamp/time/datetime (#7415) 2018-08-20 15:25:51 +08:00
233660af69 Revert "*: add a String method for Datum to make the log more friendly (#7426)" (#7435)
This reverts commit 7773b283907017ccf4835e22091c7a0508cf5383.
2018-08-20 15:17:17 +08:00
b1aef89144 stats: fix the data race in test (#7434) 2018-08-20 14:51:12 +08:00
7773b28390 *: add a String method for Datum to make the log more friendly (#7426) 2018-08-20 14:09:26 +08:00
5754f624c9 expression: fix builtin 'CharLength' for binary string input (#7410) 2018-08-20 12:08:23 +08:00
d5ab70cfdf executor,sessionctx: Add correctness for more system variables (#7196) 2018-08-19 14:55:15 +08:00
H
2fbd5e7a70 expression: handle max_allowed_packet warnings for repeat function. (#7181) 2018-08-17 23:39:47 +08:00
4624785b37 expression: handle max_allowed_packet warnings for from_base64 function. (#7409) 2018-08-17 23:12:37 +08:00
0f7bc02700 docs: remove not worked MVCC api (#7400) 2018-08-17 18:31:32 +08:00
1558a9c096 executor: fix duplicate row check when chunk size is small (#7393) 2018-08-17 16:52:52 +08:00
8f1b494055 expression: fix missing microsecond for timestamp (#7418) 2018-08-17 14:40:49 +08:00
8199f60492 ddl:support drop index for the partitioned table. (#7306) 2018-08-17 14:14:19 +08:00