Commit Graph

15 Commits

Author SHA1 Message Date
2e076142c1 parser: fix 'SET NAMES' syntax (#6404) 2018-04-27 11:36:20 +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
36d9b61365 *: AddIndex skip checking unique constraint when TiDB is importing data. (#5535) 2018-01-02 20:08:49 +08: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
0977fd07e6 *: begin opentracing from dispatch() and change interface to Execute(ctx, sql) (#5027) 2017-11-07 02:52:15 -06:00
29153d7b20 *: opentracing for Execute,ParseSQL,Compile,runStmt (#4929) 2017-10-31 05:13:59 -05:00
6f9457e373 executor: use tearDownTest instead of defer (#4499) 2017-09-12 01:02:41 -05:00
45a95157b4 executor, plan: fix a bug occurred in set @varname = (select a from t limit 1) (#4326)
* fix infoschema not support unsigned

* change the comment of FieldType's InfoSchemaStr for specification

* fix issue #4302

* use mockPlan instend of process subquery directly

* add test case for issue #4302
2017-08-26 17:15:01 +08:00
d8aaa222c8 *: make SET TRANSACTION ISOLATION LEVEL READ COMMITTED take effect (#3619) 2017-07-17 19:16:23 +08:00
ddc104a2a6 parser: support for setting global variable with on and off (#3631) 2017-07-14 11:16:59 +08:00
bb71d83456 ddl: check unsupported charset. (#3086)
We only supports a few charset, when a charset is not supported, we should return error.
Also enforce charset to be lower case.
2017-04-19 20:34:49 +08:00
7965666bce executor: ajust some code. (#2574) 2017-01-30 09:45:50 +08:00