Commit Graph

64 Commits

Author SHA1 Message Date
88e1666ac6 *: change the log package to logrus (#4452) 2017-09-08 00:45:07 -05:00
5340b67466 remove all stuff about backgroud DDL worker. (#4227) 2017-08-18 16:34:28 +08:00
a88ebb1cf6 *: use structure to store user identity (#4078)
*: use structure to store user identity
2017-08-14 03:37:36 -05:00
1eebb87156 ddl: remove backgroud worker, use delete-range to speed up something. (#3993) 2017-08-09 16:59:25 +08:00
dff73cc6e4 *: Modify the Makefile for go vet (#3900) 2017-07-30 23:02:52 -05:00
c3b1db158f tidb: Return immediately after upgrading (#3755) 2017-07-14 18:33:47 +08:00
77c7e0037a tidb: add some privilege columns to mysql.db (#3532)
* tidb: add some privilege columns to mysql.db

Create_tmp_table_priv
Lock_tables_priv
Create_view_priv
Show_view_priv
Create_routine_priv
Alter_routine_priv
Execute_priv
Event_priv
Trigger_priv
2017-06-27 10:18:11 +08:00
7c9e18621f *: add some privilege columns to mysql.user (#3445)
Create_tmp_table_priv
Lock_tables_priv
Create_view_priv
Show_view_priv
Create_routine_priv
Alter_routine_priv
Event_priv
2017-06-13 21:11:43 +08:00
f453b19341 privileges: Upgrade stored password format to Compatible with MySQL. (#3292)
Password stored in mysql.user of TIDB is the format of SHA1(pwd),
which is not compatible with MySQL.
Different password format will cause user migrate data from MySQL
login failed on TIDB.
2017-06-01 09:37:41 +08:00
9b6fc032fc *: add References_priv to mysql.user (#3343) 2017-05-26 17:58:32 +08:00
0dfc245aad *: change the schema of stats_bucket and stats_hist. (#3295) 2017-05-22 00:44:01 +08:00
b2a7b8735f bootstrap: tiny clean up. (#3261) 2017-05-13 12:52:07 +08:00
3f296ed82d *: add Trigger_priv column to mysql.user (#3143) 2017-05-03 13:49:07 +08:00
1ba5b0b273 tidb: fix version7 bootstrap (#3198) 2017-05-02 21:52:02 +08:00
c79b06ad8d bootstrap: correct comments mistake (#3182) 2017-04-29 23:28:54 +08:00
0595143194 *: add Process_priv column to mysql.user (#2994) 2017-04-28 22:35:46 +08:00
f7cc682eed *: support Super_priv (#2990) 2017-04-05 19:21:07 +08:00
ee7df059e3 statistics: refactor package. (#2913) 2017-03-29 11:32:40 +08:00
ed56d82fa7 sessionctx/variable: refine TiDB specific system variables. (#2915) 2017-03-24 12:57:33 +08:00
30fc95ef6d Revert "*: upgrade mysql.user table schema (#2849)" (#2893)
This reverts commit d0ddbaa418d86320b21813d8f8bde45539396787.
2017-03-20 15:22:21 +08:00
d0ddbaa418 *: upgrade mysql.user table schema (#2849) 2017-03-20 14:33:43 +08:00
66085c3f12 *: add system table mysql.stats_meta (#2766) 2017-03-16 14:46:28 +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
f0fbe16e18 add support for the LEAST function (#2360) 2016-12-31 22:37:43 +08:00
1f6737ef67 *: remove SetLease method in domain (#2149) 2016-12-12 18:26:38 +08:00
727f9e37d2 sessionctx/variable: fix default tx_read_only variable value. (#1892)
MySQL show this variable as "ON"/"OFF" in documentation, but the real value returned is  "1"/“0”.
2016-10-29 10:15:30 +08:00
efc96a73a6 *: Support set dist sql concurrency by set system variable (#1795) 2016-10-17 15:12:17 +08:00
bce821d30e modify systemt to system (#1558) 2016-08-06 23:09:38 -07:00
cca6cb56ef *: add empty help_topic table (#1438)
Make mycli happy.
2016-07-13 11:00:03 +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
31b9cc7339 bootstrap: Add recheck after bootstrap doDMLWork failed. (#1097)
Add recheck after bootstrap doDMLWork failed.
2016-04-18 10:08:01 +08:00
xia
4319909e08 *: unify error format in infoschema package 2016-03-29 11:10:56 +08:00
3a25f68469 *: replace interface with Datum in ast.Row. 2016-03-02 15:32:42 +08:00
ec5ce966c9 *: schema errors
1. Move schema errors from terror to infoschema.
2. Convert those errors to mysql error.
2015-12-23 13:07:02 +08:00
281216bfcf *: Support user with anyhost(%) 2015-12-01 11:54:03 +08:00
xia
b97612130a *: tiny clean 2015-11-26 11:36:57 +08:00
7d9d802af7 *: Merge branch 'master' into siddontang/dev-schema-change 2015-11-24 15:32:10 +08:00
xia
bad75a1693 *: update comments 2015-11-24 10:37:42 +08:00
xia
7f2eaa7a86 *: fix disable the default autocommit mode after the second start 2015-11-23 20:52:26 +08:00
xia
051a476b2a *: update code structure 2015-11-17 14:49:55 +08:00
xia
1b721ab994 Merge remote-tracking branch 'origin/siddontang/dev-schema-change' into zimuxia/show_status
Conflicts:
	ddl/ddl.go
	session.go
2015-11-16 13:27:38 +08:00
42cea84752 *: merge master and fix conflict. 2015-11-16 10:30:15 +08:00
xia
2b7064c567 *: store status variables to the db
and update info test
2015-11-12 20:36:29 +08:00
xia
40f6d99748 *: store status variables to the db and add
the corresponding test
2015-11-11 12:32:40 +08:00
29905679fa Merge remote-tracking branch 'origin/master' into shenli/issue-515.
Use terror to check table not exists error.

Conflicts:
	bootstrap.go
2015-11-06 10:34:00 +08:00
70ce8e8ff3 tidb: Address comment 2015-11-05 22:44:27 +08:00
38726769b4 terror: new implementation. 2015-11-05 19:15:49 +08:00
6cd4392fca *: Address comment 2015-11-05 17:24:43 +08:00
ad94f8ec4e *: Address comment 2015-11-05 17:13:22 +08:00
6eff296608 *: Address comment 2015-11-05 16:03:42 +08:00