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
59cf3e0663
util/execdetails: fix data race ( #8324 )
2018-11-15 11:59:46 +08:00
f88db4fb5e
executor: properly escape backquotes in identifiers in SHOW CREATE TABLE ( #8302 )
2018-11-14 23:09:09 +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
d6796b3637
executor, cmd: refine HashJoinExec for specific JoinType if outer/inner is nil ( #8296 )
2018-11-14 18:03:36 +08:00
dcba7eac00
session: add sql types for commit and retry ( #8281 )
2018-11-14 16:40:27 +08:00
3c0d0534f2
server,types: convert zero input correctly for column type year ( #8292 )
2018-11-14 15:25:08 +08:00
aa979705df
planner, executor: eliminate extra columns introduced by OrderBy upon Union ( #8290 )
2018-11-13 17:03:34 +08:00
6a99fa25d7
executor: fix union dual table order by but not sort ( #8251 )
2018-11-13 15:27:18 +08:00
ce94611ef8
update tidb-tools' version in go.mod ( #8265 )
2018-11-13 14:27:59 +08:00
679d2e559c
planner/core: make TIDB_INLJ to specify the inner table ( #8243 )
2018-11-13 11:55:30 +08:00
19c01f40e0
planner: fix error caused by different length between inner and outer OrderByItems ( #8273 )
2018-11-13 11:17:32 +08:00
a28a3a719a
planner: fix expression rewriter wrong compare logic ( #8269 )
2018-11-13 10:49:15 +08:00
64781daadd
expression: make tests work with mysql sql_mode ( #8278 )
2018-11-13 10:24:03 +08:00
87421fe150
add changelog for v2.1.0-rc.5 ( #8272 )
2018-11-12 16:56:49 +08:00
e233ee9601
kv, store: remove Rollback in RunInNewTxn ( #8250 )
2018-11-12 16:39:58 +08:00
2f2b47f511
store/tikv: Make maxTxnTimeUse a configurable value ( #8215 )
2018-11-12 15:13:13 +08:00
ce6a7150b3
executor: Support NO_AUTO_CREATE_USER sql mode ( #8160 )
2018-11-12 13:45:37 +08:00
f7d8ca624a
plan: use Column.UniqueID in conditionChecker of ranger ( #8236 )
2018-11-12 12:45:25 +08:00
b4be2f48e3
cmd/explaintest: clean up tidb-server process ( #8261 )
2018-11-12 11:29:15 +08:00
011cdce950
planner: fix row compare logic for ast.LE and ast.GE ( #8248 )
2018-11-12 10:34:27 +08:00
faff04467b
docs: add proposal process ( #8228 )
2018-11-10 22:50:06 +08:00
0a1df5b7d3
design: add a proposal to support view feature ( #8061 )
2018-11-10 10:59:34 +08:00
f3a9745e2c
executor: support for "admin show next_row_id" ( #8242 )
2018-11-09 22:08:42 +08:00
cd5ffb3b32
planner: support join elimination rule ( #8021 )
2018-11-09 21:31:29 +08:00
877cbd33c7
*: spilt the internal SQLs in the transaction related metrics ( #8255 )
2018-11-09 20:47:36 +08:00
6a999a72f6
tidb: rm parser in make clean ( #8249 )
2018-11-09 19:25:02 +08:00
09c6bff91c
*: Make use of the upperBound of ticlient's kv_scan interface to ensure no overbound scan will happen ( #8081 )
2018-11-09 18:49:00 +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
f547869f49
executor: fix affected rows when inserting data ( #8233 )
2018-11-09 14:22:55 +08:00
6c242ad47d
planner: fix wrong row compare logic in expression_rewriter ( #8241 )
2018-11-08 22:05:24 +08:00
d125958380
tikvclient: Add endKey param to Scanner ( #8178 )
2018-11-08 18:21:40 +08:00
81d2fff83c
store/tikv: refine backoff log ( #8207 )
2018-11-08 15:56:01 +08:00
4a3080a1c1
plan: use original field name when Column is extracted from IfNull ( #8225 )
2018-11-08 15:13:45 +08:00
8672716883
remove an unused variable ( #8229 )
2018-11-08 13:58:56 +08:00
1082d5f1ac
expression: fix wrong compare result of row ( #8222 )
2018-11-08 12:45:03 +08:00
61428bce7a
update contribution guide for go module ( #8212 )
2018-11-08 11:06:59 +08:00
5d60849c11
chunk: support column pool ( #7971 )
2018-11-07 22:05:28 +08:00
74ff2ee455
store/tikv/latch: fix a deadlock in the latch scheduler ( #8186 )
2018-11-07 18:54:46 +08:00
deec48d629
planner: fix union statements order ( #8214 )
2018-11-07 17:50:34 +08:00
9fdc8ebe5d
session: add transaction start timestamp to the log when retrying ( #8091 )
2018-11-07 16:12:39 +08:00
be1933eee8
types: move file const_test.go from the parser repository ( #8211 )
2018-11-07 15:58:04 +08:00
bb6d0a935d
privilege: return error on check for missing user ( #8112 )
2018-11-06 17:27:50 +08:00
4ddf316c83
executor: recovery panic in parallel hashagg and projection ( #8185 )
2018-11-06 16:16:25 +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
379ee5b191
stats: fix converting duration to timestamp ( #8174 )
2018-11-05 18:28:55 +08:00
8e5f4b1244
*: update logrus and parser package, tiny clean up ( #8158 )
2018-11-05 15:39:51 +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