6ccfec6d2e
*: add a variable tidb_query_log_max_len to set the max length of the query string in the log dynamically ( #8183 )
2018-11-06 11:25:11 +08:00
693ff90193
[cherry-pick]*: add a variable to control whether we can write _tidb_rowid ( #8187 )
2018-11-05 22:45:32 +08:00
ec693ce502
*: add a variable tidb_slow_log_threshold to set the slow log threshold dynamically ( #8094 )
2018-11-05 14:54:07 +08:00
32b1dbd8d5
*: rename "github.com/pkg/errors" to "github.com/pingcap/errors" ( #8136 )
...
We import "github.com/pkg/errors" in the code, and actually put
the "github.com/pingcap/errors" there in the vendor path.
That's a dirty hack, and prevent the introduce of Go module.
2018-11-01 16:09:07 +08:00
696ef7bae2
plan: convert in subquery to agg and inner join ( #7531 )
2018-10-30 19:19:32 +08:00
508f5dd626
binlog: use pumps client to write binlog ( #8070 )
2018-10-27 17:52:01 +08:00
5831de291d
*: enable range typed table partition ( #8011 )
2018-10-26 20:04:07 +08:00
89dda9d9a8
*: move parser to a separate repository ( #8036 )
2018-10-25 11:12:10 +08:00
f3148da27f
executor: add an variable to compatible with MySQL insert for OGG ( #7863 )
2018-10-17 10:19:04 +08:00
48704b8420
*: fix Command and Time in show processlist ( #7844 )
2018-10-12 14:06:54 +08:00
dbdd806c0e
*: add session variable "tidb_enable_cascades_planner" ( #7879 )
2018-10-12 13:21:51 +08:00
ee0d4d6c64
executor: print arguments in execute statement in log files ( #7684 )
2018-10-09 15:24:25 +08:00
75d6a3ee9e
executor, sessionctx: calculate radix bit number before building hash table ( #7816 )
2018-10-09 13:48:11 +08:00
e79bd946ed
*: change package name from plan to planner ( #7760 )
2018-09-25 11:16:39 +08:00
334e9254d3
*: add a variable to force statement priority of TiDB server ( #7694 )
2018-09-20 23:48:40 +08:00
29441950a3
*: write system timezone into mysql.tidb in bootstrap stage. ( #7638 )
2018-09-14 22:15:00 +08:00
cb03f2bec1
move from juju/errors to pkg/errors ( #7151 )
2018-09-12 15:42:20 +08:00
87c54b2610
plan, statistics: maintain HistColl in DataSource's StatsInfo ( #7385 )
2018-08-31 01:14:43 +08:00
359df6ecc2
variable, ddl: add session variable 'tidb_ddl_reorg_priority' to set operation priority of ddl reorg ( #7116 )
2018-08-08 17:16:05 +08:00
a5af7a0e1f
*: remove variable 'tidb_import_data' and rename SessionVars.ImportingData to LightningMode ( #7262 )
2018-08-03 10:00:03 +08:00
f4f1692fd1
*: remove FromID from expression.Column ( #7157 )
2018-07-30 11:06:02 +08:00
2fba9931c7
*: remove DatumRow ( #7165 )
2018-07-26 19:42:58 +08:00
437933d449
sessionctx, executor: Add correctness check when set system variables ( #7117 )
2018-07-24 18:49:15 +08:00
7c18d24933
executor, store: fixed daylight saving time issue ( #6823 )
...
Thank you for working on TiDB! Please read TiDB's [CONTRIBUTING](https://github.com/pingcap/tidb/blob/master/CONTRIBUTING.md ) document **BEFORE** filing this PR.
## What have you changed? (mandatory)
During coprocessor dag task, it first uses timezone `name`, if non-empty, to get legitimate timezone variable. To achieve this, we need to push down such data into tikv which leads to change the logic of building pushdown request. The logic I mentioned mainly resides in `executor` package.
I change `timeZoneOffset` to `zone` and add second return parameter `name string`. The intentioned of doing this to adopt the convention of `time` package.
For the same purpose, I change `GetTimeZone` to `Location`. As you can see, in `time` package, timezone was bind to `Location`.
## What are the type of the changes (mandatory)?
- Bug fix (non-breaking change which fixes an issue)
## How has this PR been tested (mandatory)?
unit-test
integration-test will be added shortly
2018-07-16 18:15:19 +08:00
63c4562c27
*: remove non-prepared plan cache ( #7040 )
...
* *: remove non-prepared plan cache
non-prepared plan cache is not usable if we can only do full string match.
And further development doesn't worth the effort.
2018-07-13 18:15:05 +08:00
e837e4b81c
*: add a session variable for table partition, tiny update ( #6913 )
2018-06-28 12:50:01 +07:00
6851878b9b
*: add session var 'tidb_ddl_reorg_worker_cnt' to control ddl reorg workers count ( #6441 )
...
* *: add session var 'tidb_ddl_reorg_worker_cnt' to control ddl reorg workers count
2018-06-27 22:36:18 +08:00
0ab0b50f25
stats: refine the pseudo condition for stats ( #6565 )
2018-06-27 17:05:37 +08:00
0fbb980f9b
stats: refine stats delta update ( #6808 )
2018-06-26 13:51:23 +08:00
8bec188b6a
session: add a global/session variable 'tidb_disable_txn_auto_retry' ( #6872 )
2018-06-21 17:26:14 +08:00
3d7528cbb3
*: add tidb_hashagg_partial/final_concurrency ( #6831 )
2018-06-14 10:17:08 +08:00
0ab1b228c0
config, variable: add memory quota config for a query ( #6788 )
2018-06-12 13:08:28 +08:00
39a8d0eb7a
executor: support parallel projection ( #6323 )
2018-06-07 22:50:54 +08:00
6f655593b5
sessionctx: make tidb_build_stats_concurrency global ( #6558 )
2018-05-18 18:45:47 +08:00
e215e93948
*: provide a configurable tidb_retry_limit session variable ( #6369 )
2018-05-03 19:52:53 +08:00
5da8ac0957
*: make session variables control TiKV layer. ( #6322 )
...
And add a system variable `tidb_backoff_lock_fast` to change the backoff base time on read lock.
2018-04-20 16:06:34 +08:00
60a9ff5f93
variable: group same kind of variables into structs. ( #6297 )
2018-04-17 19:49:12 +08:00
8777db2d98
session: add session variable tidb_optimizer_selectivity_level. ( #6289 )
2018-04-16 21:48:37 +08:00
88a6a0de38
variable: set default hash join concurrency in NewSessionVars ( #6295 )
2018-04-16 20:15:49 +08:00
9fbf8a6637
stats: dynamically update the average column size ( #6170 )
2018-04-13 16:31:43 +08:00
e2b033d1c0
*: add a tidb system variable tidb_hash_join_concurrency ( #6244 )
2018-04-12 20:28:19 +08:00
dd98c7050e
variable: fix NewSessionVars ( #6272 )
...
Set IndexLookupJoinConcurrency to default value.
If this value is init as 0, index lookup join will hang forever.
2018-04-11 21:44:10 +08:00
582e33a0e4
*: use tidb_index_lookup_join_currency to control the number of IndexLookupJoin inner workers ( #6240 )
2018-04-10 10:05:00 +08:00
13a7f1943c
*: fix data race in plan cache ( #6234 )
2018-04-09 08:24:38 +08:00
6287cfb8c2
*: modify 'session transaction isolation level' to take effect once ( #6175 )
2018-04-04 18:39:44 +08:00
83066fc954
executor: track memory usage for nested loop apply ( #6171 )
2018-04-02 13:54:12 +08:00
491f58d7d8
executor: track memory usage for merge join ( #6172 )
2018-03-31 17:17:23 +08:00
564e8896df
executor: track memory usage of index lookup join ( #6169 )
2018-03-30 10:48:11 +08:00
4886dcb1c4
executor: track the memory usage of IndexLookUpExecutor ( #6009 )
2018-03-20 12:55:12 +08:00
a3bf058304
*: 1. remove EnableChunk 2. implement Next in baseExecutor to return nil ( #5988 )
2018-03-09 17:40:11 +08:00