aabd330d1e
*: support "show create user" ( #9240 )
2019-02-21 13:58:19 +08:00
b845f2a4da
executor, planner: support show create view ( #9309 )
2019-02-19 10:18:57 +08:00
3d4ad1fb80
executor: make the results of show create table more consistent with MySQL ( #9229 )
...
* Fix #9211 : make more consistent with MySQL
2019-02-15 11:26:11 +08:00
d96ca96941
executor:adjust 'show create table' for mysql compatibility ( #9113 )
...
* executor: adjust 'show create table'
show create table should not print the charset of the column
if it is the same with table charset( same with MySQL)
* update:change the test
* update: add test to improve CodeCov
* style: update the variable
* fix test
* Wait for change parser
* just need to test
* change go.mod
* fix invalid pointer access
* Revert "update:change the test"
This reverts commit 64b381b2e95f151a9756d67ba52b60f694573cf9.
* Revert "fix test"
This reverts commit 98e00954064c9f5a6aa4ae1d4fb529e27cfabf4e.
* Revert "update: add test to improve CodeCov"
This reverts commit a32d6e992ca239e893f0615cea988838f3952dd7.
* passed test(need change test data)
* add judge when show create table
* fix logic wrong
* add test
* change variable name
* revert something because complex
* update go.mod
* update go.mod
2019-02-14 15:49:38 +08:00
4ad4684da1
privilege,planner: handle View's security privilege check ( #9194 )
2019-02-12 10:35:18 +08:00
e6a0eb9246
executor: support "show create table" for View ( #8865 )
2019-01-15 13:31:22 +08:00
78a51a4626
executor: support "show columns from" for view ( #8863 )
2019-01-05 21:32:32 +08:00
e7301865a1
executor: show full tables support view ( #8860 )
2018-12-28 20:04:23 +08:00
a1a4e8197d
Revert "executor/show: show create table return utf8mb4 charset. ( #8604 ) ( #8782 )
2018-12-26 09:54:50 +08:00
98b96cc769
executor: speedup unit tests by spliting them into separate suites ( #8618 )
2018-12-24 21:37:12 +08:00
44f2c2c381
Makefile: make 'make check' faster ( #8755 )
...
* remove vet check
* make lint check on $(FILES)
2018-12-21 11:12:18 +08:00
df55d3815d
executor,planner: fix 'show master status' output ( #8737 )
2018-12-18 22:13:14 +08:00
d69490b77e
executor/show: show create table return utf8mb4 charset. ( #8604 )
2018-12-11 19:14:37 +08:00
68a6291c05
executor: fix show create table for hash partition ( #8477 )
...
* executor: fix show create table for hash partition
* Update show.go
* Update show_test.go
* Update show.go
2018-12-06 10:24:30 +08:00
c137cada68
*: change golang.org/x/net/context to standard context ( #8579 )
2018-12-05 13:54:00 +08:00
7ab61d85ce
executor: improve SHOW commands compatibility ( #8417 )
2018-11-26 20:39:56 +08:00
f88db4fb5e
executor: properly escape backquotes in identifiers in SHOW CREATE TABLE ( #8302 )
2018-11-14 23:09:09 +08:00
29f14d4178
*: change default charset and collation from 'utf8 utf8_bin' to 'utf8mb4 utf8mb4_bin' ( #7965 )
2018-11-09 16:32:21 +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
a37417e72c
executor: fix show columns panic ( #8082 )
2018-10-30 13:29:11 +08:00
a6123eaf62
*: Change privilege to use Auth* identity ( #7954 )
2018-10-29 20:01:31 +08:00
5831de291d
*: enable range typed table partition ( #8011 )
2018-10-26 20:04:07 +08:00
89dda9d9a8
*: move parser to a separate repository ( #8036 )
2018-10-25 11:12:10 +08:00
e81f855549
executor: let information_schema be the first database in ShowDatabases ( #7938 )
2018-10-23 14:28:45 +08:00
48704b8420
*: fix Command and Time in show processlist ( #7844 )
2018-10-12 14:06:54 +08:00
0d979a24e0
ddl: fix 'show create table' result not correct when the table with a compression option ( #7793 )
2018-09-27 18:39:13 +08:00
081920da93
planner,executor: support admin show slow command ( #7785 )
2018-09-26 19:28:53 +08:00
cfd4544801
ddl:support show create table with compression ( #7782 )
2018-09-26 18:13:03 +08:00
e79bd946ed
*: change package name from plan to planner ( #7760 )
2018-09-25 11:16:39 +08:00
cb03f2bec1
move from juju/errors to pkg/errors ( #7151 )
2018-09-12 15:42:20 +08:00
b58a977289
type: make decimal default precision visible in show create table ( #7667 )
2018-09-12 10:29:07 +08:00
1f2841fbd4
ddl: year type should have an unsigned flag ( #7542 )
2018-08-31 16:45:38 +08:00
fa7de823db
ddl: support range partition in show table status ( #7173 )
2018-07-29 13:13:32 +08:00
7682a74d15
*: kill one's own connection doesn't require SUPER privilege ( #6954 )
...
`kill tidb connID`, if the user is the owner of that connection, there
is no need to check the SUPER privilege.
SessionManager interface is slightly modified.
2018-07-05 20:17:17 +08:00
2292844f34
*: support session variable 'warning_count' and 'error_count' ( #6945 )
2018-07-02 19:00:24 +08:00
cef2ebde62
*: support 'SHOW ERRORS' statment and reports errors in 'SHOW WARNINGS' statement ( #6936 )
2018-06-29 19:09:12 +08:00
37c41fd7ea
*: support 'show privileges' ( #6792 )
2018-06-11 15:43:14 +08:00
12d4c5aea5
*: support 'show master status' ( #6785 )
2018-06-08 12:36:12 +08:00
1327ebbf96
ddl: year type should not has unsigned flag ( #6745 )
2018-06-04 18:38:17 +08:00
950268b2aa
executor: don't output foreign keys in show create table statement. ( #6693 )
2018-05-30 16:14:51 +08:00
30fe5262b5
fix show create table display mistake ( #6630 )
2018-05-23 22:31:06 +08:00
b84453e750
parser: only allow int column in range partition ( #6339 )
2018-05-02 14:36:26 +08:00
cd15501cf9
privilege: clean up privilege.Enable variable ( #6427 )
2018-04-28 07:13:23 -05:00
0d0d9880fc
executor: support range column in show create table ( #6332 )
2018-04-25 13:36:15 +08:00
0d7a71cf16
executor: support table partition in show create table stmt ( #6292 )
2018-04-16 22:10:56 +08:00
922ba2464c
*: make explicit timestamp on ( #6238 )
2018-04-11 15:36:26 +08:00
0dd2ee5208
*: Support "show grants for current_user();" ( #5697 )
2018-03-28 00:45:59 +08:00
faeaccc35e
executor:Improve the aesthetics of code review ( #6138 )
2018-03-26 22:19:49 +08:00
f287451eed
tidb: move tidb/*.go to session directory ( #6062 )
...
This change makes our top level directory clean.
2018-03-20 09:06:11 -05:00
c981480094
executor: remove Next function for ShowExec ( #5998 )
2018-03-12 17:43:04 +08:00