746153cf0d
golint it
2016-01-21 00:27:48 +08:00
465a96270f
fix session auth bug
2016-01-20 23:01:08 +08:00
0b99e0440b
*: Move variable errors to sessionctx/variable
2015-12-24 15:27:41 +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
4909bc682e
tidb: Fix bug in get/set global system variable
2015-12-15 18:04:37 +08:00
53a175f81c
Merge pull request #718 from pingcap/shenli/issue-715
...
*: Support connection_id()
2015-12-14 15:40:45 +08:00
1e1ef8a0bd
*: Support connection_id()
...
Fix: https://github.com/pingcap/tidb/issues/715
2015-12-14 14:40:55 +08:00
043f536c32
Merge pull request #692 from pingcap/zimuxia/inspect-kv
...
*: Support inspect kv
2015-12-14 14:29:35 +08:00
a01fbe35c7
*: Fix bug in GetGlobalSysVar and add test case
2015-12-14 12:31:06 +08:00
91473556aa
*: add error trace
2015-12-14 11:36:03 +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
632810efcf
*: Address comment
2015-12-01 12:17:45 +08:00
281216bfcf
*: Support user with anyhost(%)
2015-12-01 11:54:03 +08:00
2c137e3e02
*: Address comment
2015-11-30 14:48:16 +08:00
64af15bf7c
*: Support backoff and retry limit in RunInNewTxn
2015-11-30 12:20:48 +08:00
731117c8df
tidb: Add full jitter backoff when retry
2015-11-30 11:31:58 +08:00
a54d3ebe62
Merge pull request #642 from pingcap/siddontang/auto-rollback
...
tidb: err should rollback in auto commit or DDL.
2015-11-26 14:59:21 +08:00
ebe1ff97fa
tidb: Refactor GetTxn
2015-11-26 13:58:29 +08:00
d97a175513
tidb: err should rollback in auto commit or DDL.
2015-11-26 12:59:21 +08:00
b97612130a
*: tiny clean
2015-11-26 11:36:57 +08:00
7124752e68
tidb: remove useless code
2015-11-25 23:50:12 +08:00
f492dd665a
*: Fix retry bug
2015-11-25 23:47:37 +08:00
fd54ebb191
*: reset query history when GetTxn
2015-11-25 20:13:58 +08:00
aa92d10bc6
tidb: Make sure TestIssue571 pass
...
Set session maxRetryCnt to unlimited times.
2015-11-24 16:21:41 +08:00
5f3f6b1d97
*: merge master and fix conflict.
2015-11-23 10:44:59 +08:00
85900c3a74
tidb: only change remote schema lease if no bootstrap.
2015-11-20 15:41:09 +08:00
fd7eeded6c
Merge remote-tracking branch 'origin/siddontang/dev-schema-change' into zimuxia/show_status
2015-11-20 13:05:49 +08:00
ab9bcaaa3e
Merge pull request #596 from pingcap/disksing/insert-optimize
...
kv: support delayed check, optimize batch insert
2015-11-20 12:40:36 +08:00
578d263462
*: update SetSchemaLease argument type to time.Duration.
2015-11-19 21:22:03 +08:00
842931a56c
*: merge master and fix conflict.
2015-11-19 16:08:50 +08:00
f1aa215808
tidb: set session variable when load from global variable.
...
When autocommit is not set by session, we use global variable.
Currently it is loaded in every statement, which means we execute a select statement for every statements.
The behaviour not only hurts performance, but also is wrong.
In MySQL, autocommit is determined when session is created, and it will not be affected when global variable updates.
Also added a basic benchmark method to test basic performace test.
2015-11-18 19:30:00 +08:00
200686bd57
*: rename mockStatist to mockStatistics, and
...
do tiny clean
2015-11-18 13:33:38 +08:00
9759dc8549
stmt: optimize batch insert
2015-11-17 16:32:44 +08:00
f4ca52ea36
Merge remote-tracking branch 'origin/siddontang/dev-schema-change' into zimuxia/show_status
...
Conflicts:
ddl/ddl.go
domain/domain.go
2015-11-17 15:56:52 +08:00
051a476b2a
*: update code structure
2015-11-17 14:49:55 +08:00
ae710b55dc
Merge pull request #583 from pingcap/shenli/fix-history
...
Fix retry empty stmt history bug
2015-11-16 15:11:21 +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
2899d09d50
*: Address comment
2015-11-16 12:51:29 +08:00
6ac1d8eb1e
*: Address comment and limit retry times
2015-11-16 12:34:46 +08:00
42cea84752
*: merge master and fix conflict.
2015-11-16 10:30:15 +08:00
dbf676c820
*: update the function call
2015-11-16 09:58:01 +08:00
2d56df234f
*: Fix bug in retry stmt and add some test cases
2015-11-14 18:34:11 +08:00
c484090240
tidb: update SetSchemaLease, only affects not local store.
2015-11-14 14:16:20 +08:00
48c3644d0b
tidb: Clean env when running getExecRet
2015-11-13 14:30:16 +08:00
9370818512
tidb: Fix bug
...
Miss history stmt when autocommit
2015-11-13 11:46:06 +08:00
1ad237a952
Merge branch 'master' into zimuxia/store-status
...
Conflicts:
plan/plans/info.go
2015-11-12 20:48:37 +08:00
2b7064c567
*: store status variables to the db
...
and update info test
2015-11-12 20:36:29 +08:00
62c15881c0
*: Merge branch 'master' into siddontang/dev-schema-change
2015-11-12 15:31:21 +08:00