d78e4044cc
*: fix misspells ( #1143 )
2016-04-22 11:30:37 +08:00
08034540f0
*: Add leak test
...
* *: add leak test and tiny clean up
* *: unify test format and add leak test
Conflicts:
store/localstore/compactor_test.go
mysql/error_test.go
*: add leak test
2016-04-07 20:53:45 +08:00
6aacddd44e
*: unify error format
2016-03-31 16:20:47 +08:00
6604c81f5a
*: fix issue#996 and handle prepared retry
2016-03-24 12:08:53 +08:00
207c7673b9
*: update error code.
2016-01-16 13:21:06 +08:00
0b99e0440b
*: Move variable errors to sessionctx/variable
2015-12-24 15:27:41 +08:00
2d7a105745
*: address comment
2015-12-23 14:52:45 +08:00
7e41caefe1
session/variable: fix method comment.
2015-12-22 13:46:09 +08:00
bca6bbdafe
executor: address comment.
2015-12-22 13:37:19 +08:00
cce746ee8a
Merge branch 'master' into coocood/prepare
...
Conflicts:
session.go
2015-12-22 13:24:57 +08:00
cfe157f93f
*: Unify session ID and connection ID
...
This is for Github issue #722 .
1. CONNECTION_ID now can get the real id generate at server side (rather than a session id).
2. Keep session id generation untouched to ensure minimal interface change.
2015-12-21 23:03:39 +08:00
dcdb32dbde
plan. executor: support prepared statement.
2015-12-18 16:56:08 +08:00
5e52c60240
*: Fix bug for select @@character_set_database
...
1. Add charset info when create schema
2. Set charset variable when run use statement
Fix: https://github.com/pingcap/tidb/issues/706
2015-12-11 14:29:32 +08:00
2a9993eb4a
sessionctx: tiny clean
2015-11-26 11:57:34 +08:00
65dc9e9d12
*: remove session variable statuses
2015-11-19 20:00:46 +08:00
06f285ce29
sessionctx: remove statusVars
2015-11-18 15:11:29 +08:00
e804b232b5
sessionctx: remove GetStatusVar
2015-11-18 13:41:59 +08:00
200686bd57
*: rename mockStatist to mockStatistics, and
...
do tiny clean
2015-11-18 13:33:38 +08:00
ed027d34c8
*: update comments
2015-11-17 17:42:36 +08:00
7b41184fe6
*: rename statist to statistics
2015-11-17 15:12:53 +08:00
051a476b2a
*: update code structure
2015-11-17 14:49:55 +08:00
6ba84b78f4
*: fix using stat when ddl is closed
2015-11-16 14:35:54 +08:00
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
04c9ea4966
*: update test and pass golint
2015-11-16 12:00:32 +08:00
e667be893b
*: add test
2015-11-16 09:59:14 +08:00
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
45f91fd417
*: support show status
2015-11-13 21:01:13 +08:00
301d96bdb1
sessionctx: remove ErrUnKownStatusVar
2015-11-10 20:22:50 +08:00
809f5055b1
*: adjust the show status results and add test
2015-11-10 19:15:08 +08:00
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
4d8ae00846
sessionctx: add StatusVars
2015-11-09 19:49:31 +08:00
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
1bd9a1e740
*: rename SetStatus to SetStatusFlag
2015-09-17 16:47:53 +08:00
85e7c6e1dc
tidb: rename SetStatusInTrans to SetStatus
2015-09-17 16:08:46 +08:00
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
127b0fba0e
*: clean up and update test
2015-09-16 17:40:47 +08:00
73df308a03
*: remove DisableAutocommit and rename IsAutocommit to ShouldAutocommit
2015-09-16 15:31:29 +08:00