Commit Graph

79 Commits

Author SHA1 Message Date
a71005710f plan: merge 'optimizer/plan' and 'optimizer' into one package. (#1300) 2016-06-07 20:49:05 +08:00
22f3f914e4 *: Fix aggregate bug found in sqllogical test (#1299) 2016-06-07 20:46:32 +08:00
1e7a9b44b3 *: Fix xaggregate with index scan panic (#1297)
* *: Fix xaggregate with index scan panic

* *: Make gofmt happy
2016-06-07 18:29:51 +08:00
2631d50741 *: Add retry attempts into txn (#1284)
* *: Add retry attempts into txn
2016-06-03 17:37:41 +08:00
05043bfb0c *: fix decimal codec bug, see #1265. (#1266) 2016-05-30 10:34:14 +08:00
c9413d622b *: fix auto increment type (#1262) 2016-05-26 17:18:37 +08:00
86fe54dadc *: Fix issue 1118 (#1259)
* *: fix issue 1118
2016-05-26 12:49:43 +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
2e355f3749 *: Fix issue#1114 (#1231)
* *: supprot assignment

* *: fix issue 1114
2016-05-13 11:26:26 +08:00
4eab06df0d *: Fix issue 1135 (#1188)
* *: fix issue 1135

* tidb_server: set the logging level to error
2016-05-03 21:22:28 +08:00
0ecb4da39d *: migrate to vendor (#1175) 2016-04-28 16:57:18 +08:00
444a700677 localstore: remove MultiSeek method and remove scheduler
* localstore: remove MultiSeek method and remove scheduler
2016-04-28 16:55:54 +08:00
9bad0c6927 *: remove unused fields. (#1162) 2016-04-26 04:53:38 -05:00
895e9a0d86 *: fix issue#1089 and add tests (#1106) 2016-04-18 17:31:49 +08:00
31b9cc7339 bootstrap: Add recheck after bootstrap doDMLWork failed. (#1097)
Add recheck after bootstrap doDMLWork failed.
2016-04-18 10:08:01 +08:00
bfa3ed7a2d *: Fix issue #1071 (#1088)
* *: fix issue#1071 and add tests

* util: use RoundFloat in the ToBool and add tests.
2016-04-14 16:56:24 +08:00
e1b2c8bf0d evaluator: fix a bug in bebacf4f3a (#1087) 2016-04-12 20:32:12 +08:00
bebacf4f3a evaluator: just one time eval (#1062)
* evaluator: just one time eval
2016-04-12 12:34:27 +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
c1c3ceac3c tidb: fix typo in test case. 2016-04-01 14:17:14 +08:00
f8696d66c0 optimizer/plan: check join path subquery when attach condition.
https://github.com/pingcap/tidb/issues/1031
2016-04-01 13:30:46 +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
xia
3be74b359b *: add issue#986 test 2016-03-18 12:23:55 +08:00
2e13076c4a *: Ignore foreign key when check index name duplication 2016-03-16 11:33:40 +08:00
xia
8729b45bb6 *: add tests 2016-03-09 16:52:52 +08:00
3a25f68469 *: replace interface with Datum in ast.Row. 2016-03-02 15:32:42 +08:00
784f135938 *: Remove duplicate getRows function 2016-03-01 15:55:21 +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
64912c8597 *: Implement perfschema with MemoryTable 2016-02-29 10:28:30 +08:00
32c6ee2cbf executor: support Explain 2016-02-24 17:46:59 +08:00
58e667fb5f executor: support Show statement. 2016-02-18 15:49:19 +08:00
5461e6256b *: Support InsertStmt in new plan. 2016-02-16 17:50:33 +08:00
e0fac78a96 executor: support SetStmt and SetCharsetStmt. 2016-02-15 19:30:20 +08:00
7dc4196837 *: Support subquery in new plan 2016-02-01 08:47:23 +08:00
46a0d6a671 add Auth testing case. 2016-01-22 03:39:26 +08:00
ff1ad881de Merge pull request #858 from pingcap/iamxy/fix-order-binary
util/types: fix order by binary
2016-01-19 20:35:29 +08:00
69a6b619ce Merge pull request #853 from pingcap/iamxy/fix-phpmyadmin
Fix bugs for running phpmyadmin
2016-01-19 20:33:10 +08:00
31a78b75f2 util/types: fix order by binary operand
In Orderby Clause, as using BINARY operator to cast the  following operand to a binary string, here meet an error. Improved IsOrderedType() to handle it.
2016-01-19 13:46:16 +08:00
f9b6f2767b executor/converter,ast: Fix bugs for running phpmyadmin, add test case
1. Add test cases for builtin locate() and 'show grants' statement
2. Simulate user Auth in newSession() for test
2016-01-18 17:47:43 +08:00
b52bd36000 optimizer: remove filter plan. 2016-01-18 16:22:53 +08:00
a6cd7723b3 optimizer: fix refiner panic where assert like pattern type.
The pattern value may not be string.
2016-01-17 20:18:53 +08:00
aca48efaf5 *: Show key content in DuplicateEntry error message
Fix: https://github.com/pingcap/tidb/issues/822
2016-01-05 13:54:26 +08:00
50d858ff5c plan/plans: fix is null panic. 2016-01-04 16:02:05 +08:00
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