Commit Graph

66 Commits

Author SHA1 Message Date
efc96a73a6 *: Support set dist sql concurrency by set system variable (#1795) 2016-10-17 15:12:17 +08:00
93e6796d2b *: support history read with old schema (#1790)
When user set 'tidb_snapshot' variable, load and use the schema at the snapshot time.
2016-10-08 19:54:48 +08:00
1dd9e89eb0 *: write binlog to unix socket. (#1660)
support write binlog to a unix socket through grpc.
2016-09-21 13:09:03 +08:00
ade11fe9f4 *: support history read. (#1734)
* *: support history read.

This commit only handles the case when scheme does not change.
Use history schema will be supported in the following PR.
2016-09-19 15:37:30 +08:00
6dec14119a Fix typos (#1714) 2016-09-09 22:58:47 +08:00
0450ba0b47 *: unify "See url" format (#1391)
* *: unify "See url" format
2016-07-05 11:21:10 +08:00
cad94acb54 Store row data in single kv pair (#1347) 2016-06-28 11:15:09 +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
ed33f4c8a2 *: allow system variable 'character_set_results' to be set to NULL. (#1275) 2016-05-31 17:54:46 +08:00
f09574d826 *: support sql mode (#1263) 2016-05-30 13:16:41 +08:00
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
xia
6aacddd44e *: unify error format 2016-03-31 16:20:47 +08:00
xia
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
xia
2a9993eb4a sessionctx: tiny clean 2015-11-26 11:57:34 +08:00
xia
65dc9e9d12 *: remove session variable statuses 2015-11-19 20:00:46 +08:00
xia
06f285ce29 sessionctx: remove statusVars 2015-11-18 15:11:29 +08:00
xia
e804b232b5 sessionctx: remove GetStatusVar 2015-11-18 13:41:59 +08:00
xia
200686bd57 *: rename mockStatist to mockStatistics, and
do tiny clean
2015-11-18 13:33:38 +08:00
xia
ed027d34c8 *: update comments 2015-11-17 17:42:36 +08:00
xia
7b41184fe6 *: rename statist to statistics 2015-11-17 15:12:53 +08:00
xia
051a476b2a *: update code structure 2015-11-17 14:49:55 +08:00
xia
6ba84b78f4 *: fix using stat when ddl is closed 2015-11-16 14:35:54 +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
xia
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
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