e7e31fae3f
*: add preparedStmt metric and add limit to max prepareStmt ( #8405 )
2018-11-28 20:37:50 +08:00
bb7bb14fc3
support system variable wait_timeout. ( #8245 ) ( #8346 )
2018-11-28 11:53:07 +08:00
1927cd9a30
session: release datum memory after transaction finished ( #8458 )
2018-11-27 15:37:12 +08:00
5035e48bb5
executor, sessionctx: add checks for system variable validate_password_xxxx ( #8227 )
2018-11-26 23:03:37 +08:00
cd7e27d6ee
sessionctx: Set foreign_key_checks = OFF ( #8358 )
2018-11-26 21:57:30 +08:00
e69aa2749b
server: unix socket should verify user's authentication ( #8381 )
2018-11-22 13:43:38 +08:00
e11859e653
*: support creating a hash partitioned table ( #8026 )
2018-11-20 16:15:09 +08:00
73a3497d2a
variable: validate setting tx_isolation variable value ( #8299 )
2018-11-14 18:23:44 +08:00
29f14d4178
*: change default charset and collation from 'utf8 utf8_bin' to 'utf8mb4 utf8mb4_bin' ( #7965 )
2018-11-09 16:32:21 +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
2a3c4da0b7
sessionctx, executor: add max_allowed_packet verification ( #8090 )
2018-10-29 22:44:20 +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
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