00c4ff4fa9
*: refactor Executor.Next() to receive RecordBatch ( #8994 )
2019-01-14 15:04:36 +08:00
c137cada68
*: change golang.org/x/net/context to standard context ( #8579 )
2018-12-05 13:54:00 +08:00
558e02dbce
executor: fix grant operation in ANSI_QUOTES sql mode ( #8561 )
2018-12-04 20:55:24 +08:00
ce6a7150b3
executor: Support NO_AUTO_CREATE_USER sql mode ( #8160 )
2018-11-12 13:45:37 +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
ccf6da1a46
*: rename NextChunk to Next ( #6214 )
2018-04-03 20:00:30 +08:00
4b705bfe15
executor: remove Next for GrantExec ( #5999 )
2018-03-11 12:28:40 +08:00
928582c720
executor,ast: check password format for 'create user identified by password XXX' ( #5948 )
...
'create user xxx identified by yyy', yyy can be any text
'create user xxx identified by password yyy', yyy must be a hash string generated by
password(), it begin with * and has length 41
2018-03-05 21:30:54 -06: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
3533efbb4a
executor: support Chunk for GrantExec ( #5459 )
2017-12-21 13:14:02 +08:00
fb610e6429
*: change executor Next() interface to Next(goctx.Context) ( #5223 )
2017-11-26 21:17:33 -06:00
02f6bb27c7
*: remove goCtx from session struct ( #5174 )
...
1. go context should not be stored
2. change Executor interface to Open(goctx.Context)
3. many other changes forced by this refactor
2017-11-22 02:17:38 -06:00
f828016e9f
*: move sessionctx/domainctx.go to domain package ( #5168 )
2017-11-22 13:41:58 +08:00
628751439a
privileges: grant privilege identified by password should be hash string ( #5129 )
2017-11-20 10:05:46 +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
cd5c665c8c
executor: use baseExecutor for all Executors ( #5087 )
...
Makes it easy to add new method on Executor interface.
2017-11-13 21:06:31 +08:00
0977fd07e6
*: begin opentracing from dispatch() and change interface to Execute(ctx, sql) ( #5027 )
2017-11-07 02:52:15 -06:00
62433663e5
util/types: change types path ( #5007 )
...
* util/types: change types path
2017-11-04 10:37:14 -05:00
b0d20c9d6b
*: parse and ignore REPLICATION CLIENT/SLAVE, USAGE privileges in grant statement ( #4870 )
2017-10-25 00:26:53 -05:00
a88ebb1cf6
*: use structure to store user identity ( #4078 )
...
*: use structure to store user identity
2017-08-14 03:37:36 -05:00
c7c248eb91
executor: change struct row to []types.Datum ( #4072 )
2017-08-09 18:37:57 +08:00
ad52a2462c
executor: add open inteferce for Executor. ( #3221 )
2017-05-09 21:13:22 +08:00
858d76bbe3
executor: fixed comments warning. ( #3187 )
2017-05-01 19:19:32 +08:00
654c10fd80
*: use etcd for privilege update notification ( #3030 )
2017-04-11 19:47:25 +08:00
30fc95ef6d
Revert "*: upgrade mysql.user table schema ( #2849 )" ( #2893 )
...
This reverts commit d0ddbaa418d86320b21813d8f8bde45539396787.
2017-03-20 15:22:21 +08:00
d0ddbaa418
*: upgrade mysql.user table schema ( #2849 )
2017-03-20 14:33:43 +08:00
ef1b2c9ae6
executor: grant statement would create user if not exist ( #2756 )
2017-03-06 15:04:30 +08:00
f7c95f3f42
executor: grant statement allow pattern string in db and table name ( #2688 )
2017-02-22 22:59:18 +08:00
a2f2e3f40a
tidb,store/tikv: use special session to execute ExecRestrictedSQL ( #2687 )
2017-02-22 15:08:17 +08:00
16fa15d890
*: support revoke statement ( #2661 )
2017-02-21 22:05:50 +08:00
dcc7715ec2
*: support with grant option for grant statement ( #2647 )
2017-02-16 12:58:07 +08:00
cb1c2f0ff9
*: update privilege Checker interface and use it ( #2557 )
2017-02-06 11:28:06 +08:00
fb429408c9
*: make schema as a pointer. ( #2533 )
2017-01-23 16:23:47 +08:00
5f96f67cbc
*: change schema from []*Column to struct ( #2321 )
2016-12-27 14:02:19 +08:00
c24c90b4d3
tidb, variable: refactor retry, add TransactionContext ( #2256 )
2016-12-16 11:07:59 +08:00
d406c77c1f
Revert "tidb, variable: refactor retry, add TransactionContext" ( #2255 )
2016-12-15 10:42:04 +08:00
ff0ceb1785
tidb, variable: refactor retry, add TransactionContext ( #2254 )
2016-12-15 10:35:57 +08:00
0af8520a78
sessionctx/variable: remove dependency on context package. ( #2064 )
...
Makes using session variable easier and faster.
Prepare for use session variable to handle data truncated error.
2016-11-23 14:39:48 +08:00
421ceeb8fa
*: make golint happy.
2016-11-15 11:12:24 +08:00
cbf024e8f7
*: clean code. ( #1987 )
2016-11-10 15:38:22 +08:00
1550e76e6c
executor: add comments in executor package. ( #1876 )
...
* executor: add comments in executor package.
2016-10-31 10:51:17 +08:00
0450ba0b47
*: unify "See url" format ( #1391 )
...
* *: unify "See url" format
2016-07-05 11:21:10 +08:00
1a706853ed
Rename err2 to err1 where possible ( #1331 )
2016-06-19 08:33:33 +08:00
10359b0052
rewrite executor. ( #1294 )
...
* rewrite executor.
2016-06-07 20:32:15 +08:00
622f8fca2a
*: refactor, move index and column into table package. ( #1251 )
2016-05-24 11:08:15 +08:00
3a25f68469
*: replace interface with Datum in ast.Row.
2016-03-02 15:32:42 +08:00