Commit Graph

8026 Commits

Author SHA1 Message Date
660191c5d7 util/timeutil: fix data race caused by forgetting set stats lease to 0 (#7901) 2018-10-16 15:45:08 +08:00
6064d6482f plan: propagate constant over outer join (#7794)
- extract `outerCol = const` from join conditions and filter conditions,
  substitute `outerCol` in join conditions with `const`;
- extract `outerCol = innerCol` from join conditions, derive new join
  conditions based on this column equal condition and `outerCol` related
  expressions in join conditions and filter conditions;
2018-10-16 14:54:09 +08:00
19e4e2fa9f expression: MySQL compatible current_user function (#7801) 2018-10-16 13:53:07 +08:00
1730798019 *: udpate pd client vendor (#7898) 2018-10-15 19:32:59 +08:00
a8f2909d40 *: remove kv.BypassLatch option and enable latch scheduler by default (#7882)
kv.BypassLatch was introduced to handle the fake transaction confliction problem
in the old implementation. After redesign of the latch scheduler, it's not
needed any more.

Enable latch scheduler makes CI to run it, we can fix bugs and make this feature
more stable.
There is a small performance penalty, less than 5%, users are free to disable it.
2018-10-15 13:49:38 +08:00
4de888757d parser: fix bug empty string in "ESCAPED BY" subclause of "FIELDS" cause panic (#7880) 2018-10-14 08:36:24 +08:00
7229b32a25 *: support auto analyze partition table (#7789) 2018-10-12 20:57:59 +08:00
d21f294393 *: make explain support explain anaylze (#7827) 2018-10-12 20:01:19 +08:00
5efcacbff8 plan,executor: support IndexJoin over UnionScan (#7877) 2018-10-12 19:18:42 +08:00
b3ef641f4b types: fix bug which Float type is not effective in AddDate & SubDate function (#7840) 2018-10-12 18:36:35 +08:00
48704b8420 *: fix Command and Time in show processlist (#7844) 2018-10-12 14:06:54 +08:00
dbdd806c0e *: add session variable "tidb_enable_cascades_planner" (#7879) 2018-10-12 13:21:51 +08:00
d7a59ec5a3 executor: remove some useless code and avoid some redundancy check (#7639) 2018-10-12 12:56:02 +08:00
508a83607a Changed FTWRL to produce error (#7712) 2018-10-12 10:04:22 +08:00
e442d9ac46 *: bump grpc to 1.12.2 (#7865) 2018-10-11 21:11:19 +08:00
19883077a8 domain: close slow query channel after closing session pool (#7847) 2018-10-11 17:59:06 +08:00
f6f03db6dd expression: fix warning/error info of group_concat() (#7799) 2018-10-11 17:01:47 +08:00
f3a9390d18 executor: refine the precision for avg (#7860) 2018-10-11 14:51:56 +08:00
db151bb66f domain: fix memory leak for stats (#7864) 2018-10-11 10:58:22 +08:00
3104c87230 Add index page on HTTP Server (#7769) 2018-10-10 19:48:39 +08:00
38f2fe0b60 executor,infoschema: check privilege for 'show processlist' (#7858)
"show processlist" requires the PROCESS privilege.
Otherwise, the user can see only his own threads.
2018-10-10 17:50:37 +08:00
ead685be0c docs/design: update proposal status (#7857) 2018-10-10 16:43:50 +08:00
fd71236e41 ddl: fix alter add index on virtual column bug (#7575) 2018-10-10 13:50:20 +08:00
1a9741d3aa gc: fix log format for gc worker (#7852) 2018-10-10 09:54:49 +08:00
d60a1a227b plan: build anti semi join for NOT EXISTS (#7842) 2018-10-09 16:57:15 +08:00
c19f8fba5c store/tikv,executor: redesign the latch scheduler (#7711)
Check maxCommitTS on each key, instead of each slot, so hash collision
will not lead to transaction retry.
2018-10-09 16:31:37 +08:00
ee0d4d6c64 executor: print arguments in execute statement in log files (#7684) 2018-10-09 15:24:25 +08:00
7623899b62 util: refine chunk.SwapColumn to rebuild the column reference (#7841) 2018-10-09 14:26:55 +08:00
75d6a3ee9e executor, sessionctx: calculate radix bit number before building hash table (#7816) 2018-10-09 13:48:11 +08:00
aec4814ffe expression: fix painc on substring_index (#7806) 2018-10-08 22:07:06 +08:00
78303cbb4d planner/core: separate aggPrune from aggPushDown (#7676) 2018-10-08 19:51:09 +08:00
f33e04f486 expression: make sysdate unfoldable (#7838) 2018-10-08 16:47:45 +08:00
177c155161 plan: exclude IsNull from constant propagation (#7835) 2018-10-08 14:47:13 +08:00
d5d8ba09a3 stats: fix combined index low-bound check (#7814) 2018-10-08 14:30:43 +08:00
05666f5ad3 session: set Sleep state for process info (#7826) 2018-10-08 12:38:55 +08:00
c16a94d136 infoschema: engines table improved (#7831) 2018-10-08 11:07:58 +08:00
5baedaa21c expression, types: fix some corner case when parsing string to datetime (#7701) 2018-10-08 10:35:52 +08:00
f13ae27c0f fix a dead link (#7829) 2018-10-08 09:45:46 +08:00
73cab9252d Fix some misspells (#7830) 2018-10-08 09:40:03 +08:00
99c4a15ce4 parser: add complex query bench (#7815) 2018-09-30 16:38:16 +08:00
f81851f83c ast, plan: return error when the arg of VALUES() function is not a column (#7817) 2018-09-30 16:15:11 +08:00
95ccd01cc3 Change logo to the new design (#7823) 2018-09-30 15:33:01 +08:00
bb8ba440e8 admin: fix admin check table compare bug (#7818) 2018-09-30 11:42:06 +08:00
eb617c5f9f change the backoff base time of BoRegionMiss to 2m (#7775) 2018-09-29 12:02:51 +08:00
6a1e94ffa6 domain: fast new a etcd session when the session is stale in the schemaVersionSyncer (#7774) 2018-09-28 17:36:22 +08:00
0d979a24e0 ddl: fix 'show create table' result not correct when the table with a compression option (#7793) 2018-09-27 18:39:13 +08:00
86416be62f executor: fix point get null values (#7790) 2018-09-27 18:21:15 +08:00
yj
1771d67570 ddl: allow enum to append values (#7767) 2018-09-27 18:02:05 +08:00
bca8c2709f expression: fix cast unsigned integer to decimal (#7792) 2018-09-27 17:18:46 +08:00
eb0c6636cd Add *.fail.go to .gitignore (#7772) 2018-09-27 13:02:56 +08:00