Commit Graph

8026 Commits

Author SHA1 Message Date
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
2ae4f7f3d2 parser: add 'IDENTIFIED WITH' option on create user statement (#7402)
* fix issue 7295
2018-08-17 13:52:28 +08:00
57f191408c server: fix column info for resultType/flag for enum&set type. (#7417) 2018-08-17 10:29:34 +08:00
30e3e9e0ff *: set the proper customized timezone (#7372) 2018-08-16 23:54:12 +08:00
6e7d75299d test: refine test (#7414) 2018-08-16 17:05:59 +08:00
3d7d81c868 fix etcd watcher goroutine leak test failure (#7408) 2018-08-16 15:15:01 +08:00
5fbf5ce613 util/mock: optimize mock.NewContext (#7411) 2018-08-16 14:51:52 +08:00
bbec68304e executor,table: support replace operation for table partition (#7309) 2018-08-16 13:28:50 +08:00
1ebf316bd4 domain: handling assignments in server info (#7412) 2018-08-16 11:40:10 +08:00
7f286f5c12 types: add one more space to make json pretty (#7389) 2018-08-16 11:04:39 +08:00
82a6c1085c *: introduce the concept of physical ID, code refactory (#7374) 2018-08-16 10:33:24 +08:00
1f8710762d execute/insert: refine data truncate error msg (#7401) 2018-08-16 00:02:45 +08:00
29addca221 stats: log detailed stats info for query feedback (#7293) 2018-08-15 22:01:44 +08:00
9fc67b9a9f store TiDB server info to PD and add http api handle (#7082) 2018-08-15 12:51:00 +08:00
4684eec521 parser: support to character option to load data statement (#7391) 2018-08-15 11:05:43 +08:00
016006f5c5 expression: handle max_allowed_packet warnings for to_base64 function. (#7266) 2018-08-15 10:49:20 +08:00
f18176f806 util/testkit: make the msg of failed check more readable (#7386) 2018-08-15 09:24:58 +08:00
5404e2eaae ddl: add admin check before drop table using building flag. (#7343) 2018-08-14 21:44:57 +08:00
34b0c6cb6d mocktikv: add the batch put and batch delete for raw client (#7330) 2018-08-14 19:22:28 +08:00
1afd12762d plan: fix admin check index panic when index contains pkIsHandle column. (#7350) 2018-08-14 17:29:56 +08:00