Commit Graph

10069 Commits

Author SHA1 Message Date
dbb6fdf51d planner/cascades: add transformation rule PushTopNDownOuterJoin (#14249) 2020-01-09 17:56:50 +08:00
cdf1430260 bindinfo: do not capture bindings for internal sqls (#14372) 2020-01-09 16:12:52 +08:00
3f7df9702f *: support stream when read cluster memory table. (#14344) 2020-01-09 15:54:58 +08:00
5daff78c2d executor: optimize unit test by unset some serial test suites (#14354) 2020-01-09 15:42:53 +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
5a9f2fa5ab server, tikv: enable unit test run parallel and add parallel f… (#14296) 2020-01-09 15:12:45 +08:00
7988e54304 planner/cascades: add transformation rule MergeAdjacentLimit (#14306) 2020-01-09 14:13:10 +08:00
c48d5635f9 *: replace conf item pprof_sql_cpu with srv var tidb_pprof_sql_cpu (#14385) 2020-01-09 13:23:09 +08:00
667f2d7296 types: fix parse date inconsistent with MySQL (#14405)
Signed-off-by: Lonng <heng@lonng.org>
2020-01-09 11:49:15 +08:00
0a0e388148 types: implement restore function for KindMysqlDuration and KindMysqlTime (#13242) 2020-01-09 11:03:09 +08:00
07e642c923 coprocessor: add ddl schema version in request (#14317) 2020-01-08 16:29:10 +08:00
e29873c0a0 session: add auto_increment_offset to global variables' loading list. (#14388) 2020-01-08 15:39:09 +08:00
9563ec77e4 config, infoschema: enable statement summary by default (#14369) 2020-01-08 14:50:39 +08:00
b9091b0ce2 planner: fix panic when generating index merge path for unique index (#14382) 2020-01-08 11:14:25 +08:00
7881e4a75c information: refactor metric schema and add more metric table. (#14255) 2020-01-08 11:05:11 +08:00
a84a73899b rowcodec: fix encode corrupted data cause by reuse new encoder (#14368) 2020-01-08 10:40:09 +08:00
870d4b19c8 *: support auto_increment_increment & auto_increment_offset. (#14301) 2020-01-08 10:18:39 +08:00
86ff21b076 *: add builtin aggregate function VAR_POP (#14101) 2020-01-07 20:55:29 +08:00
57bb931a27 planner: apply max/min elimination when other aggregations exist (#14376) 2020-01-07 19:36:39 +08:00
69ebdc83cb ddl: add column name to errBlobKeyWithoutLength error (#13453) 2020-01-07 19:30:39 +08:00
11b9beb969 *: resort fields for reducing the memory allocated (#14270) 2020-01-07 19:10:09 +08:00
ae281e1dc7 config: Remove Coprocessor Cache config and disable it by default (#14373) 2020-01-07 18:46:43 +08:00
a486113b57 expression: implement vectorized evaluation for builtinJSONContainsPathSig (#13956) 2020-01-07 17:55:40 +08:00
40a6be1a82 bindinfo: handle statement hints in bindings (#14248) 2020-01-07 14:18:46 +08:00
1f103e6fd7 ddl: check if the dropping index is primary key when doing "drop index primary on...". (#14122) 2020-01-07 13:31:34 +08:00
a6d26ac882 bindinfo: fix create time for duplicate bindings (#14155) 2020-01-07 13:24:38 +08:00
9bf17e6c9e executor: fix wrong behavior when ENUM column meet Aggregati… (#14035) 2020-01-07 11:26:26 +08:00
c2319eca4d privilege: fix DBIsVisible privilege check (#14190) 2020-01-07 11:10:09 +08:00
f036eecc9d ddl: support create/drop expression index (#14117) 2020-01-07 10:29:39 +08:00
b85ae7d766 expression: fix incorrect error handle in builtInTimeFormat (#14275) 2020-01-06 22:14:50 +08:00
b398ef4d2e session: print txn_mode in the general log (#12244) 2020-01-06 21:31:39 +08:00
297e453a61 server: add test for /debug/sub-optimal-plan HTTP API (#14302) 2020-01-06 21:25:39 +08:00
39ed9f326a executor: Speed up unit tests (#14357) 2020-01-06 21:20:09 +08:00
0feafcf11c expression: check ParamMarker in ConstItem when plan cache is enabled (#14200) 2020-01-06 20:54:39 +08:00
8c6234c1a2 planner/cascades: refactor the usage of CostLimit (#14356) 2020-01-06 19:36:09 +08:00
391beea08b expression: implement vectorized evaluation for builtinMakeTimeSig (#13967) 2020-01-06 17:42:09 +08:00
174ff27943 *: fix static check issues (#14286) 2020-01-06 16:07:15 +08:00
4f242fe675 executor: polish the code of IndexMergeReaderExecutor (#14352) 2020-01-06 14:42:44 +08:00
a7e98ac9e5 planner: do not filter access paths by isolation read for mysql.SystemDB (#14309) 2020-01-06 14:20:40 +08:00
0adab37467 expression: open CAST string as real push down switcher (#14323)
Signed-off-by: Lonng <heng@lonng.org>
2020-01-06 11:28:02 +08:00
2b7b657f42 ddl: throw warning when ALTER TABLE ORDER BY on table with primary key (#14324) 2020-01-03 19:41:09 +08:00
d07728468f planner: fix error when select view_name.col_name from view_name (#14314) 2020-01-03 16:16:39 +08:00
324a4686f0 rowcodec: fix use origin default value when decode (#14327) 2020-01-03 13:39:09 +08:00
dd2e7575aa ddl: add support for renaming columns (#14281) 2020-01-03 13:16:09 +08:00
9e57df1c70 executor: fix cluster log retriever panic (#14313) 2020-01-03 10:13:39 +08:00
0bab73adf5 *: use new row-format in tidb (#12634) 2020-01-02 22:34:39 +08:00
4dfbb14c51 *: tidy code && prealloc some slice for performance (#13468) 2020-01-02 17:26:10 +08:00
5d76de903a server: support tag sql in pprof result (#14312) 2020-01-02 15:51:39 +08:00
e755459788 bindinfo: change the way of generate hints from sql (#14095) 2020-01-02 14:31:39 +08:00
e96be4580f plan, partition: add fast access path for hash partition (#13772) 2020-01-02 13:33:09 +08:00