5baedaa21c
expression, types: fix some corner case when parsing string to datetime ( #7701 )
2018-10-08 10:35:52 +08:00
6ef7db512c
sessionctx: Change pfs default to OFF ( #7788 )
2018-09-27 11:15:01 +08:00
e79bd946ed
*: change package name from plan to planner ( #7760 )
2018-09-25 11:16:39 +08:00
038ac639ba
expression: ECB/CBC modes with 128/192/256-bit key length for AES ( #7425 )
2018-09-23 22:09:02 +08:00
334e9254d3
*: add a variable to force statement priority of TiDB server ( #7694 )
2018-09-20 23:48:40 +08:00
8a1847e8ae
Added hostname sysvar, fixes #7740 ( #7750 )
2018-09-20 12:24:34 +08:00
d47e303887
executor,sessionctx:Add correctness for system variable: sync_binlog,… ( #7716 )
2018-09-17 14:58:46 +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
74a6dddfd0
stats: auto analyze on certain period of a day ( #7570 )
2018-09-05 16:37:53 +08:00
87c54b2610
plan, statistics: maintain HistColl in DataSource's StatsInfo ( #7385 )
2018-08-31 01:14:43 +08:00
d5ab70cfdf
executor,sessionctx: Add correctness for more system variables ( #7196 )
2018-08-19 14:55:15 +08:00
30e3e9e0ff
*: set the proper customized timezone ( #7372 )
2018-08-16 23:54:12 +08:00
5fbf5ce613
util/mock: optimize mock.NewContext ( #7411 )
2018-08-16 14:51:52 +08:00
87625923e0
sessionctx: supports set character_set_results = null ( #7353 )
2018-08-12 00:31:01 +08:00
51e86a3f4b
variable: modify default max chunk size to 32 ( #7358 )
2018-08-11 11:16:15 +08:00
3e8815f960
variable: Change the default value of charset/collation to utfbmb4/utf8mb4_bin ( #7198 )
2018-08-10 10:41:56 +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
2fee494295
executor, sessionctx: fix set tidb_general_log=0 error ( #7186 )
2018-07-30 17:44:12 +08:00
f4f1692fd1
*: remove FromID from expression.Column ( #7157 )
2018-07-30 11:06:02 +08:00
e3ba021f5a
*: make system variable 'group_concat_max_len' work ( #7080 )
2018-07-26 20:02:56 +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
43f0c1ee70
ddl: add slow operations log to add indices, make trouble shooting easier. ( #7060 )
2018-07-17 09:42:58 +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
490af37d1e
*: add scope check when get system variables ( #6958 )
2018-07-03 17:12:18 +08:00
2292844f34
*: support session variable 'warning_count' and 'error_count' ( #6945 )
2018-07-02 19:00:24 +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
7314bdc69c
session: support tso when use tidb_snapshot ( #6749 )
2018-06-06 12:47:06 +08:00
2219be27c5
sessionctx: make tidb_max_chunk_size as a global variable ( #6585 )
2018-05-22 16:45:57 +08:00
6f655593b5
sessionctx: make tidb_build_stats_concurrency global ( #6558 )
2018-05-18 18:45:47 +08:00
57c010148a
update default analyze ratio and pseudo estimate ratio ( #6517 )
...
If pseudo estimate ratio is greater or equal to analyze ratio, there would be a gap time the
table use pseudo stats to build plan.
2018-05-09 20:18:51 +08:00
8d345cd09a
*: open auto analyze and stats feedback by default ( #6500 )
2018-05-08 19:18:50 +08:00
702f210473
make tidb_opt_insubquery_unfold global ( #6482 )
2018-05-07 21:15:08 +08:00
23e8c6e12b
*: add a system variable auto_analyze_ratio ( #6455 )
2018-05-04 10:54:30 +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