Commit Graph

20 Commits

Author SHA1 Message Date
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
xia
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