3c979129fc
executor: mutex snapshot with txn ( #25468 )
2021-06-17 00:26:37 +08:00
dffba21956
*: move executor/set.go special handling to setter functions ( #25008 )
2021-06-03 13:22:26 +08:00
d435129d01
executor: make set transaction as of timestamp supports select statement ( #24984 )
2021-06-01 16:29:38 +08:00
075df515e4
executor, session, variable: Move deprecation, synonyms, scope validation to sysvar struct ( #24280 )
2021-05-07 23:12:41 +08:00
6084a6a5ff
variable: change SetSessionSystemVar to accept string ( #24247 )
2021-04-26 11:47:55 +08:00
2de4a918ac
variable: refactor session/global validation (part 8) ( #24100 )
2021-04-23 12:07:54 +08:00
38792204f9
executor, session, sessionctx: make last_plan_from_cache and last_plan_from_binding read-only ( #21953 )
2020-12-24 16:09:30 +08:00
2c66371d8b
planner, sessionctx : Add 'last_plan_from_binding' to help know whether sql's plan is matched with the hints in the binding ( #18017 )
2020-11-20 20:43:23 +08:00
de75e604ff
*: differentiate types for user variables ( #18973 )
...
Co-authored-by: lzmhhh123 <lzmhhh123@gmail.com >
2020-11-17 17:03:41 +08:00
106b04ddab
*: Fix sysvars to native type in @@ context ( #20394 )
2020-10-19 14:13:43 +08:00
69bfa3bf26
executor, server: reduce connect/disconnect log spam ( #19308 )
...
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com >
Co-authored-by: goroutine <ngaut@users.noreply.github.com >
2020-08-25 19:17:51 +08:00
225c31ab86
executor: log when setting a global variable ( #18457 )
...
Signed-off-by: niedhui <niedhui@gmail.com >
2020-07-13 18:05:49 +08:00
838de2ad26
executor: fix wrong behavior of set charset statement ( #16984 )
2020-05-19 18:09:44 +08:00
ea2e215ff8
*: fix a bug caused by the wrong collation setting which leads to the wrong result of collation function ( #17116 )
2020-05-15 13:30:49 +08:00
6b034d4237
*: fix unexpected error when setting collate for database ( #16283 )
2020-04-17 18:25:33 +08:00
ff7413fedb
planner, sessionctx : Add 'last_plan_from_cache' to help know whether sql's plan is from plan cache ( #16321 )
2020-04-17 17:15:21 +08:00
0fcece7bbc
*: show correct result for system variable tidb_capture_plan_baselines ( #16013 )
2020-04-03 12:18:08 +08:00
17530c4059
expression: Support collate for user session variable ( #15449 )
2020-03-31 11:29:07 +08:00
6905549bf6
*: support more system variables in statement summary ( #15508 )
2020-03-25 16:07:10 +08:00
82829e1fa5
*: consolidate some settings related to the collation ( #15553 )
2020-03-23 17:38:31 +08:00
df6f378267
stmtsummary: add a switch to decide whether capture internal q… ( #15461 )
2020-03-20 17:39:11 +08:00
41142266b2
*: use SetString() for string instead of SetBytes() ( #14989 )
2020-03-02 15:48:10 +08:00
eb12799152
*: Collation should be set accordingly when setting string datum ( #14757 )
2020-02-20 23:01:53 +08:00
4cf5e7dd42
executor: fix error when set names default ( #14511 )
2020-01-17 16:24:20 +08:00
d439a57566
infoschema, util: add table events_statements_summary_by_digest_history ( #13813 )
2019-12-09 16:11:49 +08:00
18fbe2d483
infoschema, util: refresh statement summary table periodically ( #13680 )
2019-11-28 15:39:22 +08:00
2dfaf55410
sysvars: error code package for sysvar.go ( #13366 )
2019-11-12 13:01:29 +08:00
740b7769b0
*: support automatically create sql baselines ( #12434 )
2019-10-17 14:16:48 +08:00
4642b54de4
log: move autocommit varable value into connection info ( #12310 )
2019-10-09 14:01:20 +08:00
9064c49611
session, executor: support setting tidb_enable_stmt_summary in session scope ( #12217 )
2019-09-18 15:19:47 +08:00
d244723a5e
executor: remove unused structure RecordBatch ( #10891 )
2019-06-26 15:26:16 +08:00
c8d1ff7ca6
*: replace 'logutil.Logger(context.Background())' with 'logutil.BgLogger()' ( #10866 )
2019-06-21 19:13:31 +08:00
e9653675dd
*: remove errors.Trace in main handle path ( #10033 )
2019-04-04 14:27:15 +08:00
0313cbbbde
plugin: add audit plugin extension point ( #9136 )
2019-03-25 15:18:34 +08:00
f738ba24ad
executor: replace logger with zap logger ( #9521 )
2019-03-14 15:14:38 +08:00
365264cd21
ddl: add restore deleted table ( #7937 )
2019-01-16 15:37:33 +08:00
00c4ff4fa9
*: refactor Executor.Next() to receive RecordBatch ( #8994 )
2019-01-14 15:04:36 +08:00
ffd9ba6659
gc_worker: Remove timezone name from the times that are saved in mysql.tidb ( #8745 )
...
Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com >
2018-12-27 12:16:18 +08:00
c137cada68
*: change golang.org/x/net/context to standard context ( #8579 )
2018-12-05 13:54:00 +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
89dda9d9a8
*: move parser to a separate repository ( #8036 )
2018-10-25 11:12:10 +08:00
cb03f2bec1
move from juju/errors to pkg/errors ( #7151 )
2018-09-12 15:42:20 +08:00
a7fc9c323e
distsql: disable read committed isolation level ( #7280 )
...
read committed isolation may cause inconsistent read.
Only Analyze request use read committed isolation level.
2018-08-06 13:07:06 +08:00
06021c7cfe
remove types.Row interface ( #7170 )
2018-07-27 13:45:03 +08:00
f9a5686f9b
executor: make set system variable log shorter ( #7029 )
2018-07-11 14:09:22 +08:00
93efc51b96
*: unify the connection ID format in log ( #6670 )
...
Makes tracing the events of a session easier.
2018-05-29 00:31:16 +08:00
6287cfb8c2
*: modify 'session transaction isolation level' to take effect once ( #6175 )
2018-04-04 18:39:44 +08:00
ccf6da1a46
*: rename NextChunk to Next ( #6214 )
2018-04-03 20:00:30 +08:00
4cbdf1e69f
executor: remove Next function for SetExec ( #6005 )
2018-03-16 22:33:27 +08:00
e1121814d2
*: don't import golang.org/x/net/context as goctx alias ( #5895 )
...
Now that there is no conflict with sessionctx.Context, this can be
import directly
2018-02-24 03:40:56 -06:00