Commit Graph

284 Commits

Author SHA1 Message Date
2ecf66bdf1 Update the version of parser (#16707) 2020-04-22 22:48:48 +08:00
cde8541b6c config, store: enable coprocessor cache by default (#15499) 2020-04-22 16:49:09 +08:00
8b6d53a4a9 expression: split isTrue and isFalse expression sig (#16542) 2020-04-20 20:11:47 +08:00
69dd97d3f8 server: use single flight to load global variables (#16489) 2020-04-17 21:38:40 +08:00
ff7413fedb planner, sessionctx : Add 'last_plan_from_cache' to help know whether sql's plan is from plan cache (#16321) 2020-04-17 17:15:21 +08:00
1c73deca59 ddl: add syntax for setting the cache step of auto id explicitly. (#15409) 2020-04-10 15:57:51 +08:00
af0a49cb7a [store/tikv] support batch coprocessor for TiFlash (#16030) 2020-04-09 13:01:09 +08:00
7b0e990ad9 go.mod: update sysutil pkg (#16204) 2020-04-09 12:40:39 +08:00
d750db3213 *: remove order support in sequenceInfo (#16105) 2020-04-07 17:47:35 +08:00
827edde585 executor: implemented exclusive lock for temp storage dir per tidb instance (#15203) 2020-04-02 22:37:39 +08:00
ff47c8d05f parser: apply feature-ids special comments to auto_random (#15412) 2020-04-02 20:19:39 +08:00
c3238c31d0 store/tikv: pessimistic lock with minCommitTs (#15811) 2020-03-31 14:45:12 +08:00
b60991e29c *: support ADMIN RELOAD BINDINGS to refresh binding cache (#15732) 2020-03-27 12:21:14 +08:00
3ced6bc9ac dml: support default expression cache when insert (#15216) 2020-03-19 10:51:22 +08:00
544e45eb54 planner, executor: fix rename sm_join to merge_join (#15394) 2020-03-17 18:32:13 +08:00
12aabbdc67 ddl: basic support for invisible index (#15366) 2020-03-17 15:31:35 +08:00
af861eeba2 planner: support hint USE_CASCADES(true|false) to use/disuse cascades planner in a single query (#15352) 2020-03-16 19:35:24 +08:00
0f0bdef81b upgrade pd-client to support pd client tls reload (#15071) 2020-03-09 21:22:16 +08:00
f51a7fc6e9 infoschema: fix show information_schema.table default value bug and refine metric table comment. (#15210) 2020-03-09 18:12:00 +08:00
8835f8efca *: set charset and collate for string literals correctly (#15156) 2020-03-06 17:01:46 +08:00
a37a0ff461 store: check constraint for "Delete-Your-Writes" records when txn commit (#14968) 2020-03-06 16:45:48 +08:00
8e10e90e31 *: add config diagnose and fix warning (#15107) 2020-03-04 16:58:46 +08:00
92438644d9 session: add test case for retrying union statement (#15051) 2020-03-04 11:17:13 +08:00
d457dd7e31 test: correct TiDB-style executable comment version for auto_random (#14858) 2020-03-04 10:29:09 +08:00
4af313c2f5 planner: add the implementation for SetCollationExpr (#14959)
Set the collation of the child of this expression to the one specified by it.
2020-03-03 17:58:21 +08:00
568cc224f7 expression: add builtin function WEIGHT_STRING() (#14792)
Add builtin-function WEIGHT_STRING(). MySQL manual described most of its behavior except:

If the input str is of numeric types, WEIGHT_STRING() in MySQL returns NULL, so does this implementation.
If the input str is of other types rather than string or numeric, the result of WEIGHT_STRING() in MySQL is not cleared. I simply evaluated the input as string.
2020-02-28 01:52:19 +08:00
236352e98f *: show build and probe side for join and index lookup related operators in explain result (#14838) 2020-02-26 17:12:09 +08:00
196c954c7f txn: change resolving pessimistic using lock forUpdateTS (#14897) 2020-02-24 10:47:53 +08:00
f05214e710 gc_worker: Implement non-stream physical scan lock (#14812) 2020-02-21 10:41:59 +08:00
1c0974064d planner: adapter the generic hint struct TableOptimizerHint (#14835)
Signed-off-by: Lonng <heng@lonng.org>
2020-02-18 21:08:19 +08:00
a22ab8f297 expression: support sequence function (#14731) 2020-02-17 20:11:18 +08:00
1aa0a7d6b3 session: make unit test TestDeadlock more stable (#14805) 2020-02-15 23:02:53 +08:00
9543a0f4a6 *: re-implement partition pruning for better performance (#14679) 2020-02-14 19:18:49 +08:00
007c0e6656 *: support default expression value for sequence (#14589) 2020-02-13 18:50:33 +08:00
9ffea356b1 *: support partition table in tiflash (#14735) 2020-02-13 09:59:47 +08:00
fa04a3218d *: add privilege check for slow_query and cluster memory table (#14451) 2020-02-12 18:28:44 +08:00
62e48ca046 test: optimize session tikv test (#14709) 2020-02-12 18:07:18 +08:00
b056fd7298 *: add START_TIME and UPTIME columns to system table CLUSTER_INFO (#14718) 2020-02-12 17:22:18 +08:00
989de9ad77 test: bump failpoint (#14715) 2020-02-11 15:16:04 +08:00
56438a04cd executor: implement disk/cpu/memory/load diagnosis rules (#14668)
Signed-off-by: Lonng <heng@lonng.org>
2020-02-10 15:36:20 +08:00
ad1d07f00f config: introduce a config client to support load configs from PD online (#14303) 2020-02-10 14:56:20 +08:00
17da140f15 executor: Improve the performance of WindowExec by using sliding window (#14294) 2020-02-07 18:38:54 +08:00
5c76f58c2e *: remove until timestamp syntax in flashback statement since we not support this (#14604) 2020-02-07 17:58:40 +08:00
465af00b46 *: use new registrable terror (#14606) 2020-02-06 16:40:26 +08:00
ebc6a2d39d *: add builtin aggregate function json_objectagg (#11154) 2020-02-04 21:41:55 +08:00
3a1b5b2819 chunk: add clear in RowContainer (#14499) 2020-01-17 16:52:20 +08:00
c36f83e1b4 expression,table: fix insert partitioned table bug when the time zone change (#14370) 2020-01-14 17:41:21 +08:00
8c3ee37c19 Support Green GC (#13926) 2020-01-10 21:04:13 +08:00
4ed347cff8 planner,session: add Reload and File privilege, check Reload for the flush statement (#14319) 2020-01-09 19:59:12 +08:00
c90e6a2eac go.mod: update parser for revamped special comment parser (#14389)
fix parser related integration test
2020-01-09 15:28:14 +08:00