Commit Graph

8026 Commits

Author SHA1 Message Date
5230e39dd6 plan: fix a bug about prefix index. (#2445) 2017-02-02 13:58:42 +08:00
9e4a4d360c plan: remove redundant key from key info. (#2575) 2017-01-30 18:11:26 +08:00
006436a14a expression: use isDeterministic interface. (#2570) 2017-01-30 15:42:45 +08:00
950583eaf8 plan, tidb-server: add a flag to control statistic info reading. (#2565)
* plan, tidb-server: add a flag to control statistic info reading.

* pass test.

* address comment
2017-01-30 11:29:43 +08:00
7965666bce executor: ajust some code. (#2574) 2017-01-30 09:45:50 +08:00
67a9bd0eaa sessionctx/varsutil: fix format str in sysvar error msg (#2572) 2017-01-29 14:24:26 +08:00
df6e1b3b66 plan: move test. (#2569) 2017-01-29 14:13:51 +08:00
e68dcf77dc *: remove ctx from function args. (#2566) 2017-01-28 18:44:02 +08:00
92208e24a3 plan: only plans that have apply will add cache. (#2564) 2017-01-26 16:07:06 +08:00
19af8d720f ddl: Add the function of close (#2562)
add the function of close, use Stop instead of close and add log.
2017-01-26 13:23:27 +08:00
687cf0f51c plan: add opt flag. (#2542) 2017-01-26 13:04:00 +08:00
4d9b70f0a6 plan, executor: give special treat for index columns when analyze table (#2436)
* plan/statistics: statistics support add index info
2017-01-26 11:24:53 +08:00
7e92364dd1 expression: refactor time function. (#2560) 2017-01-26 10:33:05 +08:00
b9e62d69ef expression: make and/ or expression faster. (#2561) 2017-01-26 00:02:02 +08:00
26d54c8866 expression,util/stringutil: move LIKE pattern match to stringutil package (#2548) 2017-01-25 22:28:36 +08:00
3c9bb15d29 expression: refactor functions. (#2556) 2017-01-25 20:34:41 +08:00
f6547abc7a expression: refactor function. (#2551) 2017-01-25 20:27:54 +08:00
d2db2b3c15 expression: refactor functions. (#2555) 2017-01-25 20:17:27 +08:00
a534a50ff4 expression: refactor functions. (#2558) 2017-01-25 19:55:02 +08:00
f896757b83 expression: refactor functions. (#2550)
* expression: refactor functions.

* address comment
2017-01-25 15:22:34 +08:00
461fd98bb0 *: rename the plan interface. (#2547) 2017-01-25 15:10:44 +08:00
32173e988f plan: fix a bug of exists sub query (#2549) 2017-01-25 14:41:53 +08:00
1da75c5399 *: load privilege in a goroutine when server initialize (#2489) 2017-01-24 20:13:56 +08:00
c6cc2f77b9 plan: remove IsCorrelated and SetCorrelated. (#2543) 2017-01-24 18:53:20 +08:00
d7ed20cd62 executor: add log. (#2545) 2017-01-24 17:10:07 +08:00
873403ab70 plan: refine the range calculating. (#2534) 2017-01-24 12:49:12 +08:00
21e21c4a3c *: move the code of distinct logic. (#2539) 2017-01-23 20:43:47 +08:00
150574bacf plan: remove aggregation grouped by unique key. (#2424) 2017-01-23 19:08:48 +08:00
e1b78140a3 server: update defaultLoadDataBatchCnt value (#2538) 2017-01-23 17:20:42 +08:00
fb429408c9 *: make schema as a pointer. (#2533) 2017-01-23 16:23:47 +08:00
de9b134c50 kv: increase transaction entry count limit (#2537) 2017-01-23 16:16:09 +08:00
14d0c4e36d ddl: make reorg_test stable (#2531) 2017-01-23 12:54:56 +08:00
b8acb10337 store/tikv: fix a date race in test (#2530) 2017-01-22 04:20:15 -06:00
96ee4446e3 *: refactor function. (#2499) 2017-01-22 18:10:38 +08:00
1a0ccaf9d6 executor: log expensive query. (#2529)
An expensive query may run for a long time, we need to see the log before query is finished.
2017-01-22 14:23:47 +08:00
20f9a90f49 store/tikv: tuning backoff base. (#2508) 2017-01-22 13:02:14 +08:00
ac10a37ee3 *: support alter table rename table (#2503) 2017-01-22 12:39:54 +08:00
0e76e66e03 store/tikv: log big transaction. (#2525) 2017-01-22 11:59:31 +08:00
9d536e34a7 *: run a bootstrap session before store is ready (fix race) (#2491) 2017-01-22 11:39:25 +08:00
5aec72ce81 expression,plan: fix some issues of ROUND func (#2461) 2017-01-22 11:35:26 +08:00
383f203735 *: add builtin function FLOOR (#2484) 2017-01-22 11:18:15 +08:00
f145a32063 *: refactor apply plan and executor. (#2411) 2017-01-22 11:06:17 +08:00
6ae4b77d7f plan, executor: clean code (#2520) 2017-01-22 10:18:10 +08:00
884f77283a tidb,session: fix session retry metrics (#2523) 2017-01-21 14:27:38 +08:00
dc2ec2823a store/tikv: add log for slow coprocessor task (#2524) 2017-01-21 14:12:07 +08:00
0d9744261b *: slow log and metrics includes execute prepared statement. (#2512)
Execute prepared statement was ignored in slow query log and query metrics.
2017-01-21 10:06:55 +08:00
869dfda127 parser: tiny clean up (#2504) 2017-01-20 15:56:11 +08:00
24a970227b session: fix output format (#2514) 2017-01-20 15:49:21 +08:00
2cad815a89 plan: change distinct to aggregation. (#2515) 2017-01-20 15:34:36 +08:00
30f97af07f *: fixed a mistake whileing adding sqrt math func (#2513) 2017-01-19 19:24:05 +08:00