Commit Graph

92 Commits

Author SHA1 Message Date
4eec6caf58 *: Fix issue#1435 (#1467)
* *: fix issue 1435
2016-07-23 19:08:15 +08:00
3e7269eec1 *: remove the useless argument in exec (#1475) 2016-07-20 11:04:41 +08:00
ed8bda4035 support select lock. (#1466) 2016-07-18 15:50:44 +08:00
e402fc81ab *: add constraint for the length of the index prefix (#1462) 2016-07-18 13:03:39 +08:00
7654b6b5d5 *: Support sleep function (#1457)
* *: support sleep function

* evaluator: add SQL mode judgement
2016-07-16 13:48:45 +08:00
04eccb93f0 plan: fix like empty pattern panic. (#1449) 2016-07-14 17:57:38 +08:00
db4cdcfaec parser: reduce memory allocation (#1408) 2016-07-07 16:42:30 +08:00
4eca9cc825 *: fix data races detected by go test -race (#1407) 2016-07-07 15:35:40 +08:00
0450ba0b47 *: unify "See url" format (#1391)
* *: unify "See url" format
2016-07-05 11:21:10 +08:00
d04b0b997c *: support index length (#1350)
For string columns, indexes can be created that use only the
leading part of column values, using col_name(length) syntax
to specify an index prefix length
2016-07-02 13:26:40 +08:00
921677399e Hanfei/apply (#1318)
add apply operator.
2016-06-15 15:23:05 +08:00
39dee36f0b tikv: Enable distributed agg function FirstRow (#1319) 2016-06-14 15:10:13 +08:00
58ef9b776d *: Fix select with groupby but without aggregate function bug (#1315)
If there is groupby clause but no aggregate function, we should also return one row for each group.
2016-06-13 14:17:13 +08:00
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