Commit Graph

8026 Commits

Author SHA1 Message Date
6ef7db512c sessionctx: Change pfs default to OFF (#7788) 2018-09-27 11:15:01 +08:00
8917a15fe1 util/timeutil: fix get tz at mojave (#7784) 2018-09-27 09:43:18 +08:00
9fd4072acb expression: add builtin function json_length (#7739) 2018-09-27 09:23:45 +08:00
05b37de16e *: use chunk grow for simple executor (#7540) 2018-09-27 09:07:51 +08:00
081920da93 planner,executor: support admin show slow command (#7785) 2018-09-26 19:28:53 +08:00
af3b782231 planner: fix compatibility issue that update subquery table should be forbidden (#7783) 2018-09-26 18:59:55 +08:00
cfd4544801 ddl:support show create table with compression (#7782) 2018-09-26 18:13:03 +08:00
1f84db5cd7 add windows build support (#7773) 2018-09-26 17:09:13 +08:00
4b5d83bcc4 domain: add recent slow queries queue and ShowSlowQuery() function (#7692) 2018-09-26 15:09:31 +08:00
b098b47b0b parser,ast: parse admin show slow statement (#7688)
Add the following new syntax:
* admin show slow top [internal | all] N
* admin show slow recent N
2018-09-26 14:04:54 +08:00
f387dfff09 add force priority config (#7777) 2018-09-25 20:28:28 +08:00
c8102f2263 docs/design: add proposal docs for constraint propagation enhancement (#7648) 2018-09-25 18:05:11 +08:00
257d1b4c82 docs: add a proposal for radix hash join (#7761) 2018-09-25 15:21:23 +08:00
0f8ee9df48 metric: add slow log metric (#7759) 2018-09-25 13:26:29 +08:00
869e20138a plan: refine the handle check to use point get plan for prepare statement (#7732) 2018-09-25 11:32:12 +08:00
e79bd946ed *: change package name from plan to planner (#7760) 2018-09-25 11:16:39 +08:00
0001d2a3e0 plan: return table dual when filter is false/null (#7756) 2018-09-25 10:33:58 +08:00
16864f95b4 ddl, metrics: remove DDL version in metrics (#7737) 2018-09-23 22:58:20 +08:00
f457f24e21 ast: fix format bug for some expressions (#7770) 2018-09-23 22:43:08 +08:00
038ac639ba expression: ECB/CBC modes with 128/192/256-bit key length for AES (#7425) 2018-09-23 22:09:02 +08:00
7b4686d8c2 expression, plan: aggressive constant fold for null parameter expression to simplify outer join (#7696) 2018-09-23 19:46:52 +08:00
83a923e796 stats: support dump stats for partition table (#7753) 2018-09-22 09:52:47 +08:00
1c5adf402f fix show processlist (#7765) 2018-09-21 14:59:21 +08:00
77ef4855ff kv: optimize IsPoint (#7722) 2018-09-21 12:41:32 +08:00
334e9254d3 *: add a variable to force statement priority of TiDB server (#7694) 2018-09-20 23:48:40 +08:00
cc09ecab22 util: add WithRecovery util method (#7666) 2018-09-20 20:21:02 +08:00
56713821ff plan: fix a problem caused by union's schema (#7680)
Before this commit. Union use the schema of its `Children[0]`.
The `Columns` information is correct.
But the `unique key information` is not, obviously.
2018-09-20 19:36:14 +08:00
115c345593 expression: fix incorrect uniquote json escapse (#7745) 2018-09-20 16:22:40 +08:00
4a444efa9a ddl: fix add index on timestamp column bug (#7724) 2018-09-20 15:49:10 +08:00
8a1847e8ae Added hostname sysvar, fixes #7740 (#7750) 2018-09-20 12:24:34 +08:00
268ace81a6 Fix is.schemata to show correct charset/collation (#7751) 2018-09-20 10:48:47 +08:00
20027588b3 doc: remove duplicate space (#7746) 2018-09-19 15:31:48 -07:00
b30dbd06ac plan: support limit/group-by/order-by clauses in point get (#7720) 2018-09-17 21:18:44 +08:00
6421a405ee tidb-server: set TiDBMemQuotaQuery to the value in configuration file (#7729) 2018-09-17 17:17:01 +08:00
44e05789c3 plan: prune columns for LogicalTableDual (#7725) 2018-09-17 16:13:50 +08:00
d47e303887 executor,sessionctx:Add correctness for system variable: sync_binlog,… (#7716) 2018-09-17 14:58:46 +08:00
9f25032666 plan: fix predicate push down for UnionScan (#7695) 2018-09-17 14:44:53 +08:00
506dcceea2 plan: enhance predicate pushdown over join (#7645)
Derive superset of DNF predicates and push it to children plan nodes as much as possible.
2018-09-17 14:36:52 +08:00
b3cda9a7dc expression: fix comments mistake (#7713) 2018-09-17 14:28:14 +08:00
7f6babb2b4 plan: fix mistaken conversion from outer join to inner join (#7689)
exclude upper level join conditions from predicates when simplifying
embedded outer join
2018-09-17 13:39:15 +08:00
b6a540a0f0 reuse chunk to reduce memory usage in union scan (#7717) 2018-09-17 11:34:19 +08:00
33a30cc780 executor: Fix a bug in 'INSERT ... ON DUPLICATE KEY UPDATE' (#7675) 2018-09-14 22:49:17 +08:00
08e56cd3ba CHANGELOGS: Add change logs for 2.1.0-rc.2 (#7705) 2018-09-14 22:30:12 +08:00
29441950a3 *: write system timezone into mysql.tidb in bootstrap stage. (#7638) 2018-09-14 22:15:00 +08:00
a7f4687791 store/gc_worker: Use UnsafeDestroyRange instead of DeleteRange in GC (#7560) 2018-09-14 21:33:57 +08:00
580e8573f4 infoschema: fill data length fields for tables (#7657) 2018-09-13 19:16:35 +08:00
a947590b14 stats: update the way of using index feedback (#7488) 2018-09-13 19:02:32 +08:00
7de83a3c8f plan: use the inferred type as the column type in the schema (#7624) 2018-09-12 20:29:50 +08:00
cb03f2bec1 move from juju/errors to pkg/errors (#7151) 2018-09-12 15:42:20 +08:00
a6d3a18aa0 Infoschema: Refactor charsets, collations (#7647) 2018-09-12 13:21:16 +08:00