Commit Graph

114 Commits

Author SHA1 Message Date
a1a4e8197d Revert "executor/show: show create table return utf8mb4 charset. (#8604) (#8782) 2018-12-26 09:54:50 +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
3128e9b98a *: Hide "Mem" column from SHOW PROCESSSLIST (#8543) 2018-12-05 11:42:58 +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
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
38f2fe0b60 executor,infoschema: check privilege for 'show processlist' (#7858)
"show processlist" requires the PROCESS privilege.
Otherwise, the user can see only his own threads.
2018-10-10 17:50:37 +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
05b37de16e *: use chunk grow for simple executor (#7540) 2018-09-27 09:07:51 +08:00
cfd4544801 ddl:support show create table with compression (#7782) 2018-09-26 18:13:03 +08:00
1c5adf402f fix show processlist (#7765) 2018-09-21 14:59:21 +08:00
cb03f2bec1 move from juju/errors to pkg/errors (#7151) 2018-09-12 15:42:20 +08:00
8d1acc2407 Fix bit default value bug (#7249) 2018-08-31 10:43:02 +08:00
69d5e36ac4 *: bump go version to 1.11 (#7491) 2018-08-29 21:48:50 +08:00
fa7de823db ddl: support range partition in show table status (#7173) 2018-07-29 13:13:32 +08:00
48c0fcdaf5 executor, ddl: get the correct result of "show create table" when running "add index" (#6993) 2018-07-05 14:42:19 +08:00
cef2ebde62 *: support 'SHOW ERRORS' statment and reports errors in 'SHOW WARNINGS' statement (#6936) 2018-06-29 19:09:12 +08:00
99aba76c90 *: Make 'IF NOT EXISTS' great again in 'CREATE TABLE IF NOT EXISTS LIKE' syntax (#6896) 2018-06-26 12:24:57 +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
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
0d0d9880fc executor: support range column in show create table (#6332) 2018-04-25 13:36:15 +08:00
7266631988 parser: trying to fix maxvalue list (#6309) 2018-04-20 15:53:17 +08:00
0d7a71cf16 executor: support table partition in show create table stmt (#6292) 2018-04-16 22:10:56 +08:00
27fa552fa6 *: show memory usage in "show processlist" (#6266) 2018-04-12 11:44:50 +08:00
922ba2464c *: make explicit timestamp on (#6238) 2018-04-11 15:36:26 +08:00
ccf6da1a46 *: rename NextChunk to Next (#6214) 2018-04-03 20:00:30 +08:00
c981480094 executor: remove Next function for ShowExec (#5998) 2018-03-12 17:43:04 +08:00
c4a7242a1d executor: fix two bugs when enable chunk (#5945) 2018-03-06 22:00:45 +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
633d1b81ac ddl, executor: fix show index print none public index when add index ddl operation is not finished. (#5833) 2018-02-08 22:53:24 +08:00
a04b2f9a8d *: support show stats_healthy. (#5769) 2018-02-05 19:30:05 +08:00
b3a514947d executor: set correct collate in show create table (#5744) 2018-01-29 22:16:31 +08:00
47cbc0bfce *: remove varsutil package, make Systems a private member of SessionVars (#5544) 2018-01-25 01:43:07 -06:00
3e298e3390 executor: "fetchShowTableStatus" should append an integer to the third column instead of a string (#5608) 2018-01-10 17:05:23 +08:00
04ef7d7992 *: shard implicit row ID (#5513) 2018-01-04 16:32:41 +08:00
46fd1eb536 executor: support Chunk for ShowExec (#5456) 2017-12-25 21:29:56 +08:00
48aae7b6ef *: support show auto increment ID (#5470) 2017-12-22 20:16:11 +08:00
c37e104a30 fix issue5462 (#5463) 2017-12-21 18:03:54 +08:00
e811561336 fix issue 5384 (#5414) 2017-12-15 15:39:24 +08:00
714b68c568 *: improve performance of show variables (#5297) 2017-12-05 19:23:52 +08:00
fb610e6429 *: change executor Next() interface to Next(goctx.Context) (#5223) 2017-11-26 21:17:33 -06:00
62433663e5 util/types: change types path (#5007)
* util/types: change types path
2017-11-04 10:37:14 -05:00