Commit Graph

1349 Commits

Author SHA1 Message Date
d49573e050 *: refine some logs with incorrect collation (#16275) 2020-04-22 15:23:48 +08:00
0d5a83162b util: build right range when where stmt only have string column. (#16645) 2020-04-21 14:08:26 +08:00
2b03cf28dd util: fix wrong range when building from string column is true. (#16135) 2020-04-17 22:24:05 +08:00
df6035fabf infoschema, util: modify copTask related fields in statement summary (#16503) 2020-04-17 17:52:11 +08:00
1f24b9e03b executor, infoschema, util: add sum_errors and sum_warnings to statement summary tables (#16456) 2020-04-17 10:31:35 +08:00
d901863643 executor: insert negative primary key into auto_random table won't trigger rebase (#15397) 2020-04-15 20:56:37 +08:00
3edfffa84b Util: Fix global tracker mutex contention (#16298) 2020-04-15 20:37:42 +08:00
b1d11a7091 *: rename statement summary tables (#16188) 2020-04-15 15:30:32 +08:00
5f0585415b expression: forbidden illegal mix collate (#16277) 2020-04-15 14:41:27 +08:00
e0ce5bd585 bindinfo: report error for completely invalid hint of bind_sql (#16059) 2020-04-14 15:46:30 +08:00
15e961ad37 rowcodec: forbidden Kind{Null/MinNotNull/MaxValue} encode datum & add test (#16223) 2020-04-13 10:39:09 +08:00
1c73deca59 ddl: add syntax for setting the cache step of auto id explicitly. (#15409) 2020-04-10 15:57:51 +08:00
c561d5aa99 *: remove useless conversions and omit some types (#16262) 2020-04-10 00:23:06 +08:00
d8978cb53e config: support temporary storage usage limitation (#15700) 2020-04-08 22:14:09 +08:00
c2538facc9 ddl: Support the operation of adding multi-columns (#15540) 2020-04-08 13:22:25 +08:00
a69e7da69b util/hint: resolve semantically equivalent bindings into a single one (#15895) 2020-04-03 17:27:57 +08:00
c81e903804 *: use the revertable sandbox to buffer mutations (#15931) 2020-04-03 14:54:27 +08:00
827edde585 executor: implemented exclusive lock for temp storage dir per tidb instance (#15203) 2020-04-02 22:37:39 +08:00
dec9371d8a executor: fix building hash table with TypeNull when join (#15913) 2020-04-01 21:18:58 +08:00
746c88a461 bindinfo, planner: make evolve tasks consider runtime hints instead of ignoring them (#15668) 2020-03-31 20:30:23 +08:00
2619f02ddd *: move hint and block hint processor to util directory (#15897) 2020-03-31 16:37:45 +08:00
5192c26150 executor: optimize count distinct with single column (#15323) 2020-03-31 15:04:12 +08:00
af787a3acf util: consider negative zero float for Hash Join (#15837) 2020-03-30 17:39:12 +08:00
15c3b74ca9 util, executor: use UnionRanges build index kv range for INLJ (#15727) 2020-03-27 10:21:19 +08:00
01db67bbad chunk: make mysql.TypeNull be judged as fixedLen (#15512) 2020-03-26 19:25:38 +08:00
0eaa757bd8 executor: log stack info when panic converting to error (#15627) 2020-03-25 17:35:28 +08:00
6905549bf6 *: support more system variables in statement summary (#15508) 2020-03-25 16:07:10 +08:00
11bfea6f45 bindinfo: set correct default_db for captured bindings (#15367) 2020-03-24 17:35:46 +08:00
a9af29ad58 kv: add unit test for BufferBatchGetter (#15495) 2020-03-24 17:05:01 +08:00
d9770c1421 util:State column in show processlist provide readable information. (#15455) 2020-03-24 16:54:32 +08:00
21ee980e11 *: Refine Explain's format. (#15507) 2020-03-23 17:57:49 +08:00
82829e1fa5 *: consolidate some settings related to the collation (#15553) 2020-03-23 17:38:31 +08:00
5282d089c7 executor: support generated column on point get and batch point get (#15544) 2020-03-23 14:21:35 +08:00
fd0235d030 util/memory: fix misleading log information when spilling to disk (#15467) 2020-03-23 11:08:03 +08:00
41bed7e6be util/infoschema: Privilege check in statement summary tables (#15184) 2020-03-21 19:11:31 +08:00
b0ea766a49 executor: solve bug of copy joined tuples after inline projection (#15411) 2020-03-20 18:03:29 +08:00
df6f378267 stmtsummary: add a switch to decide whether capture internal q… (#15461) 2020-03-20 17:39:11 +08:00
5e8706a1f6 util/collate: remove CollatorOption (#15472)
`CollatorOption` was used to specify the `PadLen` which aims to support
"PADDING" attribute of the collations. But now it is not needed anymore,
since TiDB actually implements "PADDING" by removing trailing spaces.
2020-03-19 15:16:29 +08:00
aec6143179 *: support require-secure-transport startup option (#15341) 2020-03-17 08:46:45 +08:00
86a148bdee rowcodec: fix panic when encode MaxUint16 len data (#15404) 2020-03-16 20:20:53 +08:00
a977875623 *: use https protocol between tidb-pd tidb-tidb when cluster-ssl configured (#15342) 2020-03-16 11:36:24 +08:00
892dcedf34 util/codec: add EncodedBytesLength (#15170) 2020-03-15 11:28:53 +08:00
14d290f511 ranger: fix the range calculation when we meet collation (#15179) 2020-03-13 22:39:24 +08:00
80d577a143 expression: update builtinLike to be collation-aware (#15049) 2020-03-12 16:08:32 +08:00
45d83d1adb infoschema: remove the inspection_schema (#15296)
Signed-off-by: Lonng <heng@lonng.org>
2020-03-12 11:51:18 +08:00
9f0736ee8b errno: move the error code from the parser/mysql to tidb/errno (#15277) 2020-03-11 15:40:21 +08:00
d329fad8c4 store: fix timing of prewrite binlog in slow log (#15273) 2020-03-11 10:32:32 +08:00
183a9d585a *: update explain info of outer hash joins (#15247) 2020-03-10 20:38:02 +08:00
d9406058ac *: update memdb to use new fast random util (#15218) 2020-03-10 14:24:32 +08:00
bd685cae67 test: make rand test stable (#15237) 2020-03-10 11:38:24 +08:00