Commit Graph

9893 Commits

Author SHA1 Message Date
814015ea25 tikv: check lock timeout again after resolving lock (#14066) 2019-12-16 16:14:13 +08:00
cbf7415873 *: add errcode for structure, tablecodec, admin files (#14054) 2019-12-16 12:07:02 +08:00
b8dad33537 executor: trace the memory usage of Projection executors (#13914) 2019-12-15 21:15:38 -06:00
f07ad16883 expression: fix builtin function ord (#13994) 2019-12-15 18:10:43 +08:00
d666ed4137 *: fix the wrong check for key-need-lock of pessimistic transaction (#14057) 2019-12-15 18:04:37 +08:00
441028887a expression: remove useless true statement (#14059) 2019-12-14 11:37:43 +08:00
3ee6bc8a21 ddl: fix the bug that VIEWs can be dropped by DROP TABLE syntax (#14048) 2019-12-13 17:07:43 +08:00
386ab8d8f6 planner/cascades: add transformation rule PushSelDownIndexScan (#13945) 2019-12-13 16:58:43 +08:00
f35be4a989 executor: support index advisor, complete input preparation part (#13968) 2019-12-13 15:46:44 +08:00
9a50cc3fef planner/cascades: add transformation rule MergeAggregationProjection (#13986) 2019-12-13 15:32:44 +08:00
71a8ef2bb8 infoschema: improve the security vunerability of TABLE_CONSTRAINTS infoschema (#14037) 2019-12-13 14:26:41 +08:00
78b8865034 infoschema: improve the security vunerability of schemata infoschema table (#14003)
* add check for information_schema.schemata

* Update tables_test.go

* update
2019-12-13 14:07:24 +08:00
9009da7378 *: lock unchanged rows for pessimistic transaction (#14045) 2019-12-13 12:00:28 +08:00
5cac105ba1 session: do not print the annoying 'no such host' error log when authorization fails (#13989) 2019-12-12 20:59:44 +08:00
66c7def9ab planner/cascades: add transformation rule PushSelDownUnionAll (#14033) 2019-12-12 19:47:58 +08:00
493c07c439 planner: correct row count estimation for inner child of index join (#13726) 2019-12-12 17:06:05 +08:00
d744bc41d8 expression: implement vectorized evaluation for builtinBitCountSig (#13267) 2019-12-12 16:51:28 +08:00
f6fc7847b1 bindinfo: unify session variables of spm (#14005) 2019-12-12 15:09:28 +08:00
1bcf267655 infoschema: add plan digest to slow log and slow_query (#14000) 2019-12-12 11:49:00 +08:00
b04001b2a5 *: make golint happy #14025 (#14034) 2019-12-12 11:42:58 +08:00
5da10ffecc *: refine some error code (#14002) 2019-12-12 11:09:58 +08:00
43334246cc privilege/privileges: improve authentication performance when there are a lot of privilege records (#13998) 2019-12-12 10:59:28 +08:00
0434e66879 planner: simplify IsAutoCommitNotValidTxn (#14026) 2019-12-12 10:53:28 +08:00
4d90d81240 store/tikv: fix a memory leak in the batchClient for the large transactions. (#14031) 2019-12-11 23:07:00 +08:00
a94cff903c *: refactor LockKeys API (#14020) 2019-12-11 15:05:59 +08:00
af1d216cbe *: fix some golint warnings (#14012) 2019-12-11 14:29:58 +08:00
7c17add7c0 privilege: fix privilege check of CREATE ROLE and DROP ROLE (#13940) 2019-12-11 13:43:58 +08:00
641963e564 expression: implement vectorized evaluation for builtinUnixTimestampDecSig (#13507) 2019-12-11 13:09:28 +08:00
0ae3813df4 config: forbid user to set TxnTotalSizeLimit too large with binlog enabled (#14006) 2019-12-11 11:00:28 +08:00
d43f980df6 mockstore: update pd (#14008) 2019-12-10 17:24:58 +08:00
0fe96bc864 stats: remove the lower bound of auto analyze ratio (#13995) 2019-12-10 16:52:25 +08:00
0255f6a5ad expression: fix a bug in builtinHourSig vec-function (#13949) 2019-12-10 16:38:25 +08:00
72cd3f2032 executor: add back metrics for select_result.go:fetchResp() (#13975) 2019-12-10 16:10:55 +08:00
206cdbedfc types: fix insert error when convert string to float (#13716) 2019-12-10 16:03:25 +08:00
c796205825 planner: fix bug for logical rule outer join elimination (#13947) 2019-12-10 15:56:26 +08:00
a6d976440c executor: refactor the way of retreiving remote component configuration (#13832) 2019-12-10 14:49:56 +08:00
ebec6de11f *: rename IndexColName to IndexPartSpecification (#13941) 2019-12-10 14:22:44 +08:00
18d7d55b9d expression: implement vectorized evaluation for builtinArithmeticIntDivideDecimalSig (#13602) 2019-12-09 21:14:18 -06:00
bb51ebafad expression: rename RandWithSeed to RandWithSeedFirstGen (#14001)
Signed-off-by: andylokandy <andylokandy@hotmail.com>
2019-12-10 11:06:26 +08:00
78269d1bdd expression: rename some string expression functions (#13971) 2019-12-09 23:27:25 +08:00
1c31a6b5e6 infoschema: do not display hidden column for INFORMATION_SCHEMA.COLUMNS (#13954) 2019-12-09 18:31:09 +08:00
573b55eaf3 executor: tiny refactor, add sleep and cleanup for test case (#13991) 2019-12-09 17:25:43 +08:00
d439a57566 infoschema, util: add table events_statements_summary_by_digest_history (#13813) 2019-12-09 16:11:49 +08:00
dd622a9398 planner/cascades: add transformation rule PushTopNDownProjection (#13855) 2019-12-09 15:25:44 +08:00
795c630dbc Makefile: Replace Gometalinter to Golangci-lint (#13405) 2019-12-09 15:08:40 +08:00
b364b89b48 rowcodec: make rowcodec can be used for mocktikv & unistore (#13774) 2019-12-09 14:49:08 +08:00
d7206fb43b expression: use new metadata instead of implicit_args (#13962) 2019-12-09 13:51:40 +08:00
94481e883d session: if txn invalid do not active it and return an error (#13935) 2019-12-09 13:41:09 +08:00
c50355303b executor: add log for commit work (#13965) 2019-12-09 12:46:11 +08:00
41c7d7e943 server: set system_time_zone from systemTZ (#13934) 2019-12-09 12:11:19 +08:00