0dada1ec37
binlog: update binlog enable config && add tidb_log_bin system variable ( #9625 )
2019-03-11 22:18:46 +08:00
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
ae91405e61
sessionctx/variable: fix panic when set variable='' ( #9533 )
2019-03-04 12:28:05 +08:00
8b84b94c96
*: fix union scan for partitioned table ( #8871 )
2019-02-28 13:43:45 +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
e6f4f6c7f9
server, sessionctx: workaround var initialization ( #9383 )
2019-02-21 16:19:30 +08:00
8f3c74c1c5
*: support variable log_bin ( #9343 )
2019-02-20 16:28:15 +08:00
e499da9bb4
sessionctx: show correct TiDB port instead of 3306 ( #9365 )
2019-02-20 15:28:26 +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
6136ab14cf
*: start replacing logger with zap logger ( #9279 )
2019-02-15 16:43:47 +08:00
c8727a97cd
binlog: update pumps client && open log ( #9163 )
2019-01-24 14:33:47 +08:00
f20c849857
types: support sql_mode ALLOW_INVALID_DATES ( #9027 )
2019-01-14 19:34:22 +08:00
4b98ad6f29
*: integrate plugin framework with TiDB ( #9006 )
2019-01-14 16:53:41 +08:00
68ddb7f0e6
*: fix the lower bound when converting numbers less than 0 to unsigned integers ( #8544 )
2019-01-10 16:04:07 +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
164747c76b
session: validate value for global time_zone sys variable ( #8876 )
2018-12-29 15:57:40 +08:00
599b9ebfcd
planner/core,binloginfo: add a projection to fix 'delete from join' schema ( #8805 )
...
'delete from t where a in (select ...) or b in (select ...)'
The correct schema should be the schema of t, rather than the schema of
the join. Add a projection in this case.
2018-12-29 15:41:12 +08:00
7a966426ee
metric: replace QueryDurationHistogram's "general" type to more detail stmt type ( #8819 )
2018-12-29 13:10:30 +08:00
351c4a5568
*: refine commit txn slow log ( #8731 )
2018-12-25 20:49:50 +08:00
bd69b15e79
*: add the error check ( #8770 )
2018-12-24 22:22:00 +08:00
a7907ede7a
*: remove fail field from TxnState ( #8712 )
...
Originally, `fail` is added to simplify error handling, avoiding large changes on
the Txn() interface API. But it turns out that `fail` becomes the root of many bugs.
So this commit remove the `fail` and make an API refactory.
2018-12-20 16:36:12 +08:00
7528a059cf
executor/server/session: add extra info message sent to mysql client ( #8285 )
2018-12-19 15:32:49 +08:00
808eab1911
session: support system variable interactive_timeout ( #8487 ) ( #8573 )
2018-12-14 22:22:25 +08:00
4cbd50101c
ddl: reduce the time to run unit tests ( #8585 )
2018-12-14 16:12:50 +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
93acd10f53
*: add context.Context to NewTxn(), tiny refactor ( #8530 )
2018-12-06 17:45:16 +08:00
c137cada68
*: change golang.org/x/net/context to standard context ( #8579 )
2018-12-05 13:54:00 +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
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
3742a0d602
*: Txn() function signature refactor and remove ActivePendingTxn() ( #8327 )
...
* change Txn() function signature to Txn(active bool)
* ActivePendingTxn() is not used any more because Txn() does the work
* change executor builder getStartTS() uint64 to getStartTS() (uint64, error)
2018-11-16 11:10:39 +08:00
0c3e9c1652
session,executor: run statement without transaction ( #8260 )
...
`set @@autocommit = 0`
`select 1` // This statement should not make the session enter a transaction,
because it never need Txn().
Make txn lazy initialize
2018-11-14 20:10:58 +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
5374ff8935
expression,planner: support non-deterministic functions (e.g., now) in the plan cache ( #8105 )
2018-11-01 23:53:32 +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