80110fbf78
*: refactor slow log format and parse slow query log to SLOW_QUERY table. ( #9290 )
2019-03-11 14:42:29 +08:00
d35d3a5820
variable: change "ddl_slow_threshold" ( #9043 )
2019-03-07 16:36:11 +08:00
4449eb062a
ddl: add ddl job error count limit, exceed the limit should cancel the ddl job ( #9295 )
2019-02-27 15:03:04 +08:00
a8664ef00b
table: add a http api to control whether tidb check inserting 4 bytes in utf8 charset column ( #9024 )
2019-02-18 16:57:03 +08:00
858b200e9a
variable: remove tidb_ddl_reorg_worker_cnt and tidb_ddl_reorg_batch_size session level. ( #8941 )
2019-01-10 15:12:22 +08:00
084aa5a030
config: add initChunkSize config item, make chunk start with 32 ( #8480 )
2019-01-07 11:14:47 +08:00
e3f3ac24f6
session: add a batch commit session variable for the large transaction ( #8293 )
2018-12-10 18:29:39 +08:00
ce622ec6d8
session: move more session vars to stmt context for retrying ( #8034 )
2018-12-10 16:39:43 +08:00
c27705ad75
sessionctx: Error/warning on unsupported isolation levels ( #8625 )
2018-12-10 14:14:59 +08:00
f72769cee4
sessionctx/variable: fix field(History) typo in TransactionContext ( #8600 )
2018-12-07 12:33:03 +08:00
e478be7914
ddl: add ddl_reorg_batch_size variable to control ddl worker batch size and enlarge default batch size. ( #8365 )
2018-12-04 19:07:12 +08:00
103f2ac2a3
*: add a session variable for window function parser ( #8511 )
2018-12-04 11:26:59 +08:00
e7e31fae3f
*: add preparedStmt metric and add limit to max prepareStmt ( #8405 )
2018-11-28 20:37:50 +08:00
1927cd9a30
session: release datum memory after transaction finished ( #8458 )
2018-11-27 15:37:12 +08:00
73a3497d2a
variable: validate setting tx_isolation variable value ( #8299 )
2018-11-14 18:23:44 +08:00
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