Commit Graph

34 Commits

Author SHA1 Message Date
fb429408c9 *: make schema as a pointer. (#2533) 2017-01-23 16:23:47 +08:00
235a7979b9 sessionctx/varsutil: refactor system variable (#2359)
Make varsutil package manage all the system variable get and set method.
2017-01-03 11:15:50 +08:00
36f0f307a8 parser: support show events (#2099)
* parser: support show events
2016-11-27 22:49:49 +08:00
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
b19cc75a94 mysql, types: move MyDecimal and Time from 'mysql' to 'types' package. (#2082)
So we don't need to handle sql mode in 'mysql' package, avoid potential dependency cycle.
2016-11-24 10:50:31 +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
6748d3e83e *: add comment for show table status. (#2032) 2016-11-18 19:10:25 +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
e17644716d refactor show clause. (#1940) 2016-11-10 11:14:37 +08:00
b5cd34aea7 executor: fix show create table null timestamp. (#1968)
Without the extra 'NULL', the create table statement would fail to execute.
2016-11-07 21:17:59 +08:00
c74c4f80fd *: Fix bug in show create table (#1924)
Fix https://github.com/pingcap/tidb/issues/1918
2016-11-02 15:25:12 +08:00
2e79d3f305 executor: Make show create database result the same with mysql (#1915) 2016-11-01 13:43:21 +08:00
5ee84a7a9a *: support show create db (#1911) 2016-11-01 13:11:18 +08:00
a6144ad1e1 *: Support Show processlist (#1907) 2016-10-31 18:23:00 +08:00
04b3bc96d0 executor: show original identifier instead of lower case. (#1909)
Fixes issue https://github.com/pingcap/tidb/issues/1904
2016-10-31 17:57: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
9257a4181f *: fix show create table bug (#1689) 2016-09-06 11:30:27 +08:00
afc73a07b6 *: Fix bug in show index for PkIsHandle (#1670) 2016-08-31 23:11:44 +08:00
0450ba0b47 *: unify "See url" format (#1391)
* *: unify "See url" format
2016-07-05 11:21:10 +08:00
dd6bfacdb8 *: refactor index, use TableInfo and IndexInfo to create an Index (#1333) 2016-06-21 15:26:20 +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
622f8fca2a *: refactor, move index and column into table package. (#1251) 2016-05-24 11:08:15 +08:00
e742def024 add foreign key on update and on delete support (#1152)
* add foreign key on update and on delete support
2016-04-27 19:44:00 +08:00
b78d02c110 executor: Fix show status bug (#1128)
* executor: fix show status bug
2016-04-21 11:13:06 +08:00
0537b67d2b *: Add more info into TableInfo and fix bug in show create table (#1072)
Fix: https://github.com/pingcap/tidb/issues/1061
2016-04-09 15:59:51 +08:00
ce96978182 *: Add index option in IndexInfo
1. Add index option in IndexInfo.
2. Show index option content when running show index statement.
2016-03-16 22:09:11 +08:00
d5941446c2 table: replace interface{} with Datum in table. 2016-03-02 21:01:20 +08:00
af131d2127 executor: replace Executor interface{} with Datum. 2016-03-02 16:13:25 +08:00
314fea7954 *:fix build after Table interface change. 2016-02-19 17:27:49 +08:00
58e667fb5f executor: support Show statement. 2016-02-18 15:49:19 +08:00