Commit Graph

42 Commits

Author SHA1 Message Date
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
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