Commit Graph

31 Commits

Author SHA1 Message Date
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
90f198fee3 tidb: Split bootstrap into two steps.
Fix https://github.com/pingcap/tidb/issues/515
2015-11-05 12:51:45 +08:00
0943aa598e terror: unify util/errors and util/errors2 in terror. 2015-11-05 12:05:16 +08:00
407d99967e *: Refactor some code to support global system variable. 2015-10-26 14:35:06 +08:00
73fe94095b *: Add index to global_variables table. 2015-10-23 17:20:37 +08:00
00f431e39b *: Add global variable table
Create and init global variable table in bootstrap stage.
2015-10-23 16:15:03 +08:00
29369dba8f *: Rename mysqldef to mysql 2015-10-19 16:26:43 +08:00
49a5601f01 tidb: Address comment
SQL statement text alignment.
2015-10-03 23:06:50 +08:00
f1423500d3 *: Finish grant global privilege and add uinttest 2015-09-30 17:08:43 +08:00
198099d378 *: Create privilege tables in bootstrap stage
Prepare for grant statement.
2015-09-27 17:46:36 +08:00
1f2cacedea *: Introduce schema version
To keep DDL change to atomic operation
2015-09-24 17:28:34 +08:00
8451cf8836 *: Fix bug when client use ipv6 address
IPv6 address maybe like this: [::1]:12345
2015-09-22 11:21:01 +08:00
a8b8fdf25a tidb: Address comment 2015-09-21 16:04:09 +08:00
37cf491651 *: Address comments 2015-09-21 15:54:12 +08:00
e7d2bff9f1 *: Move bootstrap to CreateSession
Bootstrap should be done for both tidb-server and embedded mode.
2015-09-21 15:34:52 +08:00