4eec6caf58
*: Fix issue#1435 ( #1467 )
...
* *: fix issue 1435
2016-07-23 19:08:15 +08:00
945fd1d371
*: add error trace ( #1477 )
2016-07-20 11:50:33 +08:00
815d2fd6b5
*: Add reason log for rollback txn ( #1453 )
2016-07-15 18:05:35 +08:00
db4cdcfaec
parser: reduce memory allocation ( #1408 )
2016-07-07 16:42:30 +08:00
e3597b6548
Add Datum.IsNull() fucntion ( #1298 )
...
Add IsNull function for Datum to simplify null check.
2016-06-07 23:35:25 +08:00
2631d50741
*: Add retry attempts into txn ( #1284 )
...
* *: Add retry attempts into txn
2016-06-03 17:37:41 +08:00
f09574d826
*: support sql mode ( #1263 )
2016-05-30 13:16:41 +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
965e704412
executor: makes dirty table supports XAPI. ( #1245 )
2016-05-24 10:53:17 +08:00
bb02c4a4ae
domain: Unify lease ( #1239 )
...
* domain: unify lease
* domain: tiny clean up
* *: give mock tikv store a uuid
2016-05-19 11:36:09 +08:00
93577c17d1
*: Fix infoschema/perfschema concurrent bugs ( #1232 )
...
* *: Fix infoschema/perfschema concurrent bugs
Make it safe to create Handle on multiple stores.
2016-05-16 16:32:34 +08:00
9bad0c6927
*: remove unused fields. ( #1162 )
2016-04-26 04:53:38 -05:00
d78e4044cc
*: fix misspells ( #1143 )
2016-04-22 11:30:37 +08:00
b51ab763df
plan: support limit pushdown ( #1105 )
...
* plan: support limit pushdown
2016-04-20 13:32:20 +08:00
49c7b43f24
*: Add tidb-server status rest-api ( #1065 )
...
Report tps, connection count and server version.
2016-04-08 16:34:48 +08:00
6604c81f5a
*: fix issue#996 and handle prepared retry
2016-03-24 12:08:53 +08:00
15356cdd88
tidb: remove RestrictedSQLExecutorKey variable in context.
...
This variable was intended to prevent restricted SQL from being committed.
But it is executed at statement level, will never be committed, so this is not needed.
Also, when begin a new transaction in executing restricted SQL,
If 'autocommit' is 'on'. This variable makes the new transaction into a unwanted `InTrans` state,
so following statements will not be autocommited.
2016-03-17 10:31:56 +08:00
3a25f68469
*: replace interface with Datum in ast.Row.
2016-03-02 15:32:42 +08:00
b5fbabc05e
*: Remove plan.go/stmt.go/rset.go
...
Move interface into ast and remove interfaces.
2016-03-01 13:53:48 +08:00
ed6ea51080
tidb: Fix schema change problem in running multiple statements
...
When deal with multiple statements, we should run nameResolver one by one.
Fix issue893
2016-02-29 17:58:02 +08:00
b16875f250
performance_schema: Add initial support for statement instruments
2016-02-23 20:38:44 +08:00
0b14ae4c3e
executor: support DO, BEGIN, COMMIT, ROLLBACK.
2016-02-16 11:30:18 +08:00
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