Commit Graph

8026 Commits

Author SHA1 Message Date
18ff4f953e planner/core: refine explain for window function (#9270) 2019-02-13 15:23:00 +08:00
ba68605ce6 *: use less memory when many rows inserted in one transaction (#9272) 2019-02-13 11:39:46 +08:00
9bdba3a5d1 plan: handle DNF expressions in Selectivity (#9282) 2019-02-13 10:53:12 +08:00
2f9ab60995 infoschema: remove pfs setup_timers (#9217) 2019-02-12 18:46:39 +08:00
c8554f826d ddl: fix a bug when adding an index to a generated column with an expression error (#9216) 2019-02-12 17:47:48 +08:00
8431d1112e stats: add metircs for high error rate feedback (#9209) 2019-02-12 17:22:20 +08:00
347c852a78 issue_template: add template for performance issue (#9021) 2019-02-12 16:03:19 +08:00
c3f64b2629 *: tiny update for the whitelist plugin (#9271) 2019-02-12 15:54:45 +08:00
c190de3d04 server: add test for OPTIONALLY keyword (#9200) 2019-02-12 15:37:44 +08:00
469fa877d6 util/hack: define a MutableString type for function hack.String (#9230) 2019-02-12 12:30:40 +08:00
84750e8550 expression: handle ENUM in builtin function Values() (#9225) 2019-02-12 11:48:55 +08:00
935a440a13 docs/design: add proposal for skyline pruning (#9184) 2019-02-12 11:12:15 +08:00
0b363f1712 expression: add builtin function JSON_QUOTE (#7832) 2019-02-12 10:57:09 +08:00
4ad4684da1 privilege,planner: handle View's security privilege check (#9194) 2019-02-12 10:35:18 +08:00
eb2578bc42 expression: fix date_add interval month,year diffs from mysql (#8988) 2019-02-11 19:52:58 +08:00
bcecc91362 ddl: fix default value precision problem for time types (#9249) 2019-02-11 12:15:09 +08:00
e1667966ac planner: fix assertion failure on LogicalJoin.EqualConditions (#9066) 2019-02-11 11:45:15 +08:00
af99a0df5a types: fix processing of "0000" value for year type (#9250) 2019-02-11 11:20:22 +08:00
640aa65113 *: add some tests for writing-data corner cases (#9199) 2019-02-11 10:20:17 +08:00
2ea6e1bff5 session,server: remove error for RollbackTxn (#9202) 2019-02-11 09:53:12 +08:00
2b114f42d2 expression: fix some typos in the comments (#9258) 2019-02-10 10:47:46 +08:00
ee1f79e2fc expression: fix a bug in baseFuncDesc.clone() (#9254) 2019-02-10 10:35:46 +08:00
3d614e0965 planner: enable function any_value in aggregation if ONLY_FULL_GROUP_BY is set (#9255) 2019-02-10 10:03:40 +08:00
4a90503130 util/chunk: correct a typo in the comment (#9256) 2019-02-09 11:34:28 +08:00
fe8e3f9b44 domain: change "reload privilege success" to DEBUG level (#9237) 2019-02-02 18:56:11 +08:00
6398788f6b expression: function format incompatible (#9182) 2019-01-31 16:39:21 +08:00
4c85822da9 infoschema: add table_id to table and add tidb_indexes table. (#9183) 2019-01-31 15:30:38 +08:00
b3bdc5d797 expression: handle Float32 for builtin function Values() (#9215) 2019-01-30 12:13:00 +08:00
09a5c8028e plan: derive col is not null from col op col conditions (#8603)
Check whether the `op` condition is null rejected, if yes, derive
`col is not null` for both sides of inner join, and for inner side
of outer join.

Also, remove duplicate conditions before pushing them down. Check
if the condition is mutable before removing duplicates.

For AntiSemiJoin, AntiLeftOuterSemiJoin and LeftOuterSemiJoin, do
not generate new `is not null` conditions.
2019-01-30 10:53:46 +08:00
20c1b95bc8 ddl: fix ddl test fail by paralle test (#9210) 2019-01-29 15:01:44 +08:00
bf5a0b4e6d expression: fix precision when casting float to string (#9137) 2019-01-29 09:59:16 +08:00
19a00397fc CHANGELOG: add release notes for v2.1.3 (#9174) (#9203) 2019-01-29 09:30:44 +08:00
H
6a06977dd1 plan: rewrite exact like expression to equal condition (#9071) 2019-01-28 19:12:30 +08:00
6dcba1fd90 expression: support JSON for builtin function COALESCE (#9087) 2019-01-28 11:33:57 +08:00
7648317dad store: correct comments mistake. (#9190) 2019-01-28 09:42:33 +08:00
35fce9397a stats: log auto analyze fail reason (#9178) 2019-01-25 19:44:48 +08:00
3984ad65db statistics: log the reason when triggering auto analyze (#9176) 2019-01-25 18:57:59 +08:00
c83a0ceb95 config: add a config item to control whether TiDB check the mb4 character in utf8 (#9175) 2019-01-25 14:39:30 +08:00
46bebb4db1 server: return correct response if pass specified (#9140)
Improves MySQL compatibility
2019-01-24 19:14:23 +08:00
c8727a97cd binlog: update pumps client && open log (#9163) 2019-01-24 14:33:47 +08:00
5c65128632 ddl: make the leak test stable (#9139) 2019-01-23 13:01:55 +08:00
36176be874 *: improve syntax error code & message compatibility (#9103) 2019-01-23 10:46:29 +08:00
6ee643e404 README: Remove infinite (#9144) 2019-01-22 11:48:19 +08:00
cfb63114c2 ddl: restricting altering the utf8 charset to utf8mb4 (#9107) 2019-01-22 11:20:16 +08:00
63936cc1fa ddl: resolve the charset by the order: table->database->server (#9105) 2019-01-21 19:56:40 +08:00
89f4e640fb *: remove unused tidb/terror (#9138) 2019-01-21 19:03:22 +08:00
776c90fa79 planner: check null and empty for != any(subq) and = all(subq) (#9106) 2019-01-21 16:17:48 +08:00
c371e66e3b store/tikv: use new backoffer for async commit batches (#9119)
When we commit a txn, secondary keys are committed asynchronously. If user cancels the context soon after `Commit()` returns, the secondaries batches will be cancelled too.
2019-01-21 14:55:57 +08:00
818ec911c5 admin: fix admin check table err when add column not null, then add index on the column (#9108) 2019-01-20 22:44:10 +08:00
c9b6adbbf5 types: remove not used CoerceDatum (#9122) 2019-01-20 09:50:08 +08:00