c3bdfb1fed
stmt/stmts: insert use primary key value as record ID
2015-12-25 21:02:52 +08:00
cce746ee8a
Merge branch 'master' into coocood/prepare
...
Conflicts:
session.go
2015-12-22 13:24:57 +08:00
ebb820dbcd
Merge pull request #769 from pingcap/shenli/convert-substringindex
...
*: Fix bug in convert_expr.go that miss SubstringIndexExpr
2015-12-22 09:32:45 +08:00
25d883da3c
*: Address comment
2015-12-22 00:17:12 +08:00
2015287078
*: Fix bug in convert_expr.go that miss SubstringIndexExpr
2015-12-21 22:37:51 +08:00
abc4701b00
executor: make seek value with the same length of the index columns.
...
For composite index with 2 columns, if we just pass one value in `Seek`, we will get the wrong result.
So this change create the seek value with the length of the composite index.
2015-12-21 13:10:40 +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
d97f091cb7
parser: parse position expression in parser, fix order by position.
...
The position expression, like "1" in "order by 1" was parsed ito `*ast.ValueExpr` in parser, replaced to position expression by resolver,
But flag setter sets flag before resolving process, so position flag is not set.
2015-12-15 14:04:13 +08:00
42d2694f37
Merge pull request #717 from pingcap/disksing/update-codec
...
update codec
2015-12-15 10:07:32 +08:00
a453ceca5f
plans: show database like implementation.
2015-12-14 17:09:06 +08:00
c8d7ed1357
Merge branch 'master' into disksing/update-codec
2015-12-14 14:10:10 +08:00
a01fbe35c7
*: Fix bug in GetGlobalSysVar and add test case
2015-12-14 12:31:06 +08:00
a66bc590bc
util/codec: remove stringFlag
2015-12-11 12:47:20 +08:00
f5ca9e3758
tidb: add checkPlan function to check index plan is used.
2015-12-11 10:11:38 +08:00
d98c7f5fac
executor: handle multi column index
...
Multi column index scan was handled in `IndexScan` plan but not handled in `IndexScanExec` executor.
2015-12-10 17:35:46 +08:00
782f8b2532
Merge branch 'master' into disksing/kv-bufferstore
2015-12-04 13:03:11 +08:00
2371e526bb
session_test: Fix data race
2015-12-03 18:52:25 +08:00
7210f23da3
kv, table: fix #463
2015-12-02 13:12:11 +08:00
281216bfcf
*: Support user with anyhost(%)
2015-12-01 11:54:03 +08:00
c987db1a9f
*: reduce test time.
2015-11-30 13:49:32 +08:00
75352d81a4
Merge branch 'master' into disksing/refactor-lasetinsertid
...
Conflicts:
ddl/ddl_test.go
plan/plans/from_test.go
session_test.go
stmt/stmts/insert.go
stmt/stmts/replace.go
2015-11-27 13:29:51 +08:00
8b75da26a9
*: Add test case for retry prepared statement
2015-11-26 15:54:30 +08:00
d97a175513
tidb: err should rollback in auto commit or DDL.
2015-11-26 12:59:21 +08:00
f492dd665a
*: Fix retry bug
2015-11-25 23:47:37 +08:00
aa92d10bc6
tidb: Make sure TestIssue571 pass
...
Set session maxRetryCnt to unlimited times.
2015-11-24 16:21:41 +08:00
7d9d802af7
*: Merge branch 'master' into siddontang/dev-schema-change
2015-11-24 15:32:10 +08:00
cf5833e6a3
*: add test
2015-11-23 20:54:56 +08:00
01223de938
*: add test case for #456
2015-11-23 16:53:17 +08:00
f3407c5fdf
*: add test case for #454
2015-11-23 16:48:02 +08:00
090131288a
*: add test case, fix #620
2015-11-23 13:32:34 +08:00
5f3f6b1d97
*: merge master and fix conflict.
2015-11-23 10:44:59 +08:00
13c2bda997
tidb: Fix build error
2015-11-19 14:38:04 +08:00
d4b346b1d8
tidb: Move some test from tidb_test.go to session_test.go
...
tidb_test.go is too large now.
2015-11-19 14:31:29 +08:00