Commit Graph

41 Commits

Author SHA1 Message Date
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
4e1a114e68 *: move package context to sessionctx (#5890) 2018-02-22 18:03:38 +08:00
47cbc0bfce *: remove varsutil package, make Systems a private member of SessionVars (#5544) 2018-01-25 01:43:07 -06:00
dffc8c974d executor, parser: treat tx_isolation, transaction_isolation or tx_read_only, transaction_read_only as synonyms variable (#5700) 2018-01-22 23:15:17 +08:00
f1e89cde19 *: use lower-case of github.com/sirupsen/logrus (#5400)
*: rename github.com/Sirupsen/logrus to github.com/sirupsen/logrus

* vendor: update pd

* vendor: update github.com/pingcap/tipb/go-mysqlx
2017-12-14 16:25:58 +08:00
d209a36aaf executor: support Chunk for SetExecutor (#5397) 2017-12-14 09:28:49 +08:00
fb610e6429 *: change executor Next() interface to Next(goctx.Context) (#5223) 2017-11-26 21:17:33 -06:00
f828016e9f *: move sessionctx/domainctx.go to domain package (#5168) 2017-11-22 13:41:58 +08:00
81652dbeef *: remove returned value isNull in Row methods. (#5131) 2017-11-17 11:12:41 +08:00
cf5a22b5fd *: replace *ast.Row with types.Row (#5124) 2017-11-16 18:36:28 +08:00
03e23ee93a executor: refine the log msg when 'set character_set_results=null' (#5052) 2017-11-09 20:36:30 -06:00
62433663e5 util/types: change types path (#5007)
* util/types: change types path
2017-11-04 10:37:14 -05:00
0306bb0070 tidb: support a plan cache for prepared statements (#3956)
* tidb: support a plan cache for prepared statements
2017-10-24 00:55:51 -05:00
3e1d036336 *: log the caller of "terror.Log()" (#4729) 2017-10-10 11:26:43 +08:00
eb8df3519a *: prepare to enforce errcheck, part1 (#4670) 2017-09-30 16:23:37 +08:00
88e1666ac6 *: change the log package to logrus (#4452) 2017-09-08 00:45:07 -05:00
c7c248eb91 executor: change struct row to []types.Datum (#4072) 2017-08-09 18:37:57 +08:00
d8aaa222c8 *: make SET TRANSACTION ISOLATION LEVEL READ COMMITTED take effect (#3619) 2017-07-17 19:16:23 +08:00
eb2b32ee86 executor: validate snapshot TS (#3416) 2017-06-08 13:33:12 +08:00
ad52a2462c executor: add open inteferce for Executor. (#3221) 2017-05-09 21:13:22 +08:00
8a28721864 executor: fix log format (#2633) 2017-02-14 10:23:45 +08:00
7965666bce executor: ajust some code. (#2574) 2017-01-30 09:45:50 +08:00