Commit Graph

1984 Commits

Author SHA1 Message Date
f0303e46c0 *: support "add session binding" (#10247) 2019-04-25 10:59:02 +08:00
732f4307b8 ddl: add table option pre_split_regions for pre-split region when create table with shard_row_id_bits. (#10138) 2019-04-24 21:56:24 +08:00
862df46fe9 executor: support fast sample for fast analyze (#10214) 2019-04-24 17:04:55 +08:00
a28d8779c1 *: support show analyze status (#10172) 2019-04-24 14:32:19 +08:00
b2910d7f04 executor, infoschema: SHOW COLLATIONS shows supported collations only (#10186) 2019-04-24 14:00:24 +08:00
718871646b executor: reduce alloc and lock-hold-time caused by err/warn count (#10223) 2019-04-24 09:51:02 +08:00
58d1bb8cb3 privilege: support authentication with active roles (#10125) 2019-04-23 10:05:53 +08:00
f26edbf15c executor: use EncodeBytes in countOriginDistinct (#10225) 2019-04-22 23:26:24 +08:00
e59539505a plan, executor: pre with labels for metrics in plan/executor package (#10231) 2019-04-22 21:50:59 +08:00
5fcc7e2a61 executor: tiny clean up by removing unnecessary string creation (#10213)
* executor: clean up by remove unnecessary string creation
* check if id is nil
2019-04-22 15:32:15 +08:00
e4aee76587 executor, util: fix wrong behavior of group_concat(distinct) (#10108) 2019-04-22 15:12:16 +08:00
d6396daa77 *: lazy eval explain id and tracker label (#10139) 2019-04-22 14:23:33 +08:00
27a56180bd *: replace gofail with the new failpoint implementation (#10184) 2019-04-22 13:30:14 +08:00
2c192bc7d8 ddl: set column collate from ColumnOptionCollate (#9947) 2019-04-22 10:23:24 +08:00
70c37188ac executor: fix bad null error handling for insert statement when disabling the strict SQL mode (#10161) 2019-04-21 15:53:47 +08:00
7cc7323138 plan, privilege: add role support for SHOW GRANT (#10016) 2019-04-21 12:38:28 +08:00
5b13ff921c *: support "show global bind" (#10200) 2019-04-19 17:23:51 +08:00
ef04594935 *: support "drop global binding" (#10193) 2019-04-19 13:35:21 +08:00
33015e10a9 executor: fix the wrong order by pk desc result and some corner cases for unsigned pk (#10179) 2019-04-19 12:58:25 +08:00
e327f3510f *: Add support "show open tables" (#10166)
TiDB has no concept like mysql's "table cache" and "open table"
For simplicity, we just return an empty result with the same structure
as MySQL's SHOW OPEN TABLES
2019-04-18 21:23:16 -06:00
f834e5d56f executor: show memory consumption in slow query log (#10162) 2019-04-18 15:16:44 +08:00
2a6c8d610a executor: show more information about cop tasks in slow log (#10165) 2019-04-18 13:39:57 +08:00
13290a239a executor/aggfuncs: add test for window functions (#10131) 2019-04-18 12:34:43 +08:00
63d720cbfd *: support create global binding (#9846) 2019-04-17 22:12:50 +08:00
abeddab5ba privilege, executor: support SET DEFAULT ROLE (#9949) 2019-04-17 14:25:49 +08:00
e5f734e54c *: move the Handle of stats to single package. (#10149) 2019-04-17 13:42:34 +08:00
7666f688b3 *: add stats version in slow_query and slow log. (#10082) 2019-04-15 18:04:48 +08:00
0972a6f012 planner: keep unfoldable exprs when pruning columns for ORDER BY items (#10064) 2019-04-15 16:02:27 +08:00
b3761395bc variable: validate setting read_only variable (#10072) 2019-04-12 17:33:31 +08:00
7447f04409 executor: trace and control memory usage in DistSQL layer (#10003) 2019-04-12 16:43:55 +08:00
28e62940da add skip isolation level check variable (#10065) 2019-04-11 16:27:36 +08:00
4f20b5b9f4 executor, plan: add revoke role support (#9771) 2019-04-11 15:34:29 +08:00
6958760b01 add ut in show_test (#10083) 2019-04-11 14:43:52 +08:00
5b469e08b3 planner, executor: support fast analyze in planner and executor's builder. (#10040) 2019-04-10 20:13:18 +08:00
f723f0b143 table, infoschema, executor: fix Charset/Collation shown in column desc (#10007) 2019-04-09 20:00:13 +08:00
278c3e81b4 *: support EXPLAIN FOR CONNECTION (#10030) 2019-04-09 10:45:22 +08:00
1e5f620966 executor: close RecordSet to avoid leak test failure (#10063) 2019-04-08 19:12:25 +08:00
8c118cecc2 *: clean code for restore table (#9090) 2019-04-08 15:21:37 +08:00
62b209cb80 fix desc table not compatibile with mysql (#10022) 2019-04-04 18:24:30 +08:00
f5fb5aa32d util/admin: add unit test and move integration test. (#10013) 2019-04-04 16:19:07 +08:00
51cb84f202 planner: correct estimated row count for inner plan of index join (#10015) 2019-04-04 14:40:14 +08:00
e9653675dd *: remove errors.Trace in main handle path (#10033) 2019-04-04 14:27:15 +08:00
0effd63b99 executor/aggfuncs: add test for aggregation functions (#10002) 2019-04-04 13:20:42 +08:00
76a01da313 remove unnecessary expensive trace call and log from hot path (#10025) 2019-04-03 23:09:51 +08:00
08346b7577 table: handling the boundary value of the timestamp type's default value (#9578) 2019-04-01 21:38:28 +08:00
873d9514bc expression: move FindIndexByName to parser (#9951) 2019-04-01 13:36:49 +08:00
6125f49baf *: fix the read-only check for the prepare/execute statement (#9723) 2019-04-01 13:27:49 +08:00
435a081401 executor: control Chunk size for TableReader&IndexReader&IndexLookup (#9452) 2019-04-01 13:13:39 +08:00
4c91f53e1f planner: do not eliminate group_concat in aggregate elimination (#9967) 2019-04-01 12:21:19 +08:00
833ccf8454 util,executor: use MutableString as key for DecimalSet (#9913) 2019-04-01 10:47:06 +08:00