ea894e8b77
*: Add a function GenByArgs for Error ( #2033 )
...
*: Add a function GenByArgs for Error
2016-11-27 13:18:43 +08:00
73f2ffad90
varsutil: remove dependency on 'types' for 'variable' package ( #2095 )
...
* varsutil: remove dependency on 'types' for 'variable' package
'variable' package will be used in 'types', remove dependency on 'types' by
moving functions to a new 'varsutil' package.
Also extract 'SetExec' from 'SimpleExec'
2016-11-25 13:44:49 +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
cbf024e8f7
*: clean code. ( #1987 )
2016-11-10 15:38:22 +08:00
1f1a60c02a
*: improve log ( #1944 )
...
Add logging for set system variable.
Add connection ID in log.
Adjust some log level.
Improve readability.
2016-11-04 17:11:10 +08:00
1550e76e6c
executor: add comments in executor package. ( #1876 )
...
* executor: add comments in executor package.
2016-10-31 10:51:17 +08:00
ba4d6bae37
*: support drop user. ( #1854 )
2016-10-24 21:01:02 +08:00
e0e5a5821b
executor: support creating user with no password. ( #1841 )
2016-10-18 20:12:53 +08:00
93e6796d2b
*: support history read with old schema ( #1790 )
...
When user set 'tidb_snapshot' variable, load and use the schema at the snapshot time.
2016-10-08 19:54:48 +08:00
fe3555e77d
*: FLUSH TABLE statement front end ( #1701 )
2016-09-08 13:27:09 +08:00
b33ab24109
*: Support set variable to default value. ( #1481 )
...
To set a SESSION variable to the GLOBAL value or a GLOBAL value to the compiled-in MySQL default value, use the DEFAULT keyword.
See http://dev.mysql.com/doc/refman/5.7/en/set-statement.html
2016-07-22 10:23:03 +08:00
1e6e1ca6f0
*: Support binlog stmt ( #1479 )
...
Parse and ingore it.
2016-07-21 13:39:15 +08:00
815d2fd6b5
*: Add reason log for rollback txn ( #1453 )
2016-07-15 18:05:35 +08:00
cbac6da6ee
*: Remove SetCharsetStmt, use SetStmt instead ( #1422 )
...
"set @@session.sql_mode=1, names utf8, charset utf8;" is a valid sql statement.
2016-07-11 16:22:33 +08:00
c2d4337c44
kv: update goleveldb/memdb repo which remove unnecessary rand.NewSource ( #1410 )
2016-07-07 17:45:00 +08:00
0450ba0b47
*: unify "See url" format ( #1391 )
...
* *: unify "See url" format
2016-07-05 11:21:10 +08:00
b8bf59592f
executor: implement ANALYZE TABLE ( #1327 )
2016-06-20 11:13:16 +08:00
67378982bf
parser: add ANALYSE TABLE syntax ( #1323 )
2016-06-15 16:21:39 +08:00
e3597b6548
Add Datum.IsNull() fucntion ( #1298 )
...
Add IsNull function for Datum to simplify null check.
2016-06-07 23:35:25 +08:00
10359b0052
rewrite executor. ( #1294 )
...
* rewrite executor.
2016-06-07 20:32:15 +08:00
f09574d826
*: support sql mode ( #1263 )
2016-05-30 13:16:41 +08:00
d3cb90559b
*: change Context method FinishTxn to CommitTxn and RollbackTxn. ( #1253 )
...
Makes it easier to read.
2016-05-24 13:17:01 +08:00
c26dfd54e4
executor: Change interface to datum in executor. ( #1103 )
...
Change interface to datum in executor.
2016-04-20 09:52:23 +08:00
4319909e08
*: unify error format in infoschema package
2016-03-29 11:10:56 +08:00
cda31ae7ab
executor: Fix set multiple variables bug
...
Fix: https://github.com/pingcap/tidb/issues/998
Refactor some old code.
2016-03-23 17:42:55 +08:00
043ebd5ec8
*: Refactor package organization
...
1. Move evaluator from optimizer to root dir.
2. Move builtin from expression to evaluator.
3. Remove expression package.
2016-03-02 13:48:22 +08:00
237c4f6be6
executor: support CreateUserStmt, SetPwdStmt.
2016-02-16 16:13:09 +08:00
0b14ae4c3e
executor: support DO, BEGIN, COMMIT, ROLLBACK.
2016-02-16 11:30:18 +08:00
e0fac78a96
executor: support SetStmt and SetCharsetStmt.
2016-02-15 19:30:20 +08:00
3ba53a31b1
executor, optimizer: add simple plan and executor, implement UseStmt.
2016-02-15 17:32:00 +08:00