Commit Graph

30 Commits

Author SHA1 Message Date
dbf676c820 *: update the function call 2015-11-16 09:58:01 +08:00
0ddf6eb415 *: add stat interface and corresponding implememtation 2015-11-16 09:55:17 +08:00
xia
45f91fd417 *: support show status 2015-11-13 21:01:13 +08:00
xia
301d96bdb1 sessionctx: remove ErrUnKownStatusVar 2015-11-10 20:22:50 +08:00
xia
809f5055b1 *: adjust the show status results and add test 2015-11-10 19:15:08 +08:00
xia
415085546b Merge branch 'master' into zimuxia/issue525
Conflicts:
	expression/variable.go
	parser/scanner.l
	plan/plans/show.go
	plan/plans/show_test.go
	stmt/stmts/set.go
2015-11-09 20:22:05 +08:00
xia
4d8ae00846 sessionctx: add StatusVars 2015-11-09 19:49:31 +08:00
xia
5cd36d05f1 *: add GetGlobalStatusVar and SetGlobalStatusVar function,
rename GlobalSysVarAccesssor to GlobalVarAccesssor
2015-11-09 19:41:00 +08:00
a54c7a7ab9 variable: Address comment 2015-11-09 16:50:21 +08:00
7d49f39f2e *: Use Bind/Get global sysvar accessor instead of type assertion 2015-11-09 13:02:30 +08:00
7388f402ef *: Address comment 2015-10-26 22:01:51 +08:00
407d99967e *: Refactor some code to support global system variable. 2015-10-26 14:35:06 +08:00
5f2167a5d9 *: Get/Set global sys var from/to kv store. 2015-10-25 22:38:28 +08:00
c44060a766 *: Implement set names statement.
Finish set names and add some test cases.
2015-10-23 14:27:20 +08:00
29369dba8f *: Rename mysqldef to mysql 2015-10-19 16:26:43 +08:00
aebd5889ca variable: Address golint error 2015-10-19 10:10:28 +08:00
1b2bbfea8b sessionctx: tiny clean up. 2015-10-08 23:52:38 +08:00
f9e400d4b3 builtin: Support User() and Current_User() 2015-09-23 11:02:45 +08:00
0d46df9532 expression: rename package and remove import 2015-09-21 18:02:27 +08:00
xia
1bd9a1e740 *: rename SetStatus to SetStatusFlag 2015-09-17 16:47:53 +08:00
xia
85e7c6e1dc tidb: rename SetStatusInTrans to SetStatus 2015-09-17 16:08:46 +08:00
xia
587e5d6250 *: update IsAutocommit and SetStatus 2015-09-17 16:04:08 +08:00
a5aeb9985c sessionctx: add IsAutocommit 2015-09-17 09:42:17 +08:00
xia
127b0fba0e *: clean up and update test 2015-09-16 17:40:47 +08:00
xia
73df308a03 *: remove DisableAutocommit and rename IsAutocommit to ShouldAutocommit 2015-09-16 15:31:29 +08:00
xia
88243211c4 sessionctx: update format 2015-09-15 16:09:10 +08:00
xia
a11fa52306 sessionctx: update comments 2015-09-15 15:19:25 +08:00
2287542d64 sessionctx: add ServerStatusInTrans and comments 2015-09-15 15:19:15 +08:00
3531df91b9 stmt: set ServerStatusInTrans 2015-09-15 15:18:56 +08:00
0d6f270068 Add files 2015-09-06 12:08:47 +08:00