cbf024e8f7
*: clean code. ( #1987 )
2016-11-10 15:38:22 +08:00
e17644716d
refactor show clause. ( #1940 )
2016-11-10 11:14:37 +08:00
76f420595b
*:support aggregate function push cross outer join. ( #1899 )
2016-11-01 17:59:12 +08:00
1550e76e6c
executor: add comments in executor package. ( #1876 )
...
* executor: add comments in executor package.
2016-10-31 10:51:17 +08:00
ba4d6bae37
*: support drop user. ( #1854 )
2016-10-24 21:01:02 +08:00
9f615fc5dc
table: change Column type to alias of ColumnInfo ( #1855 )
...
So we can use a ColumnInfo directly, without coping, reduce memory usage.
2016-10-20 21:48:08 +08:00
3d670c47b0
executor,table: remove LockKeys and Truncate method in Table interface. ( #1833 )
...
Those two method should not be defiend in Table, LockKeys should be implemented
In SelectLock executor, Truncate has changed to use DDL operation.
2016-10-18 00:35:45 +08:00
f86a32d261
ddl: write DDL binlog. ( #1752 )
...
Pass query string in context, also disallows prepare DDL, so we can be sure that
DDL query do not contains parameter marker.
change binlog row encoding format.
including columnID in binlog row, so it can be adapted to different schema version.
prepend old row for update binlog when don't have PK.
2016-10-08 11:48:58 +08:00
2456804b25
remove useless code. ( #1745 )
2016-09-20 21:42:57 +08:00
b8994bb139
*: Support stream aggregation. ( #1735 )
...
* *: Support stream aggregation.
2016-09-20 17:14:31 +08:00
648bee53b2
add stream agg executor. ( #1730 )
2016-09-18 12:49:57 +08:00
4d22f97013
support heap sort in sql layer. ( #1697 )
2016-09-08 12:57:03 +08:00
f2d8b3c108
remove New*** from variable name. ( #1644 )
2016-08-29 10:18:45 +08:00
e4ac5301ce
remove useless code. ( #1609 )
2016-08-20 16:00:20 +08:00
6e878144e5
support UPDATE and DELETE in new plan ( #1582 )
2016-08-19 14:35:39 +08:00
2b4acb0caf
support cbo ( #1498 )
2016-07-27 11:10:52 +08:00
432df5458b
*: aggregate related code cleanup ( #1488 )
2016-07-23 14:29:52 +08:00
ed8bda4035
support select lock. ( #1466 )
2016-07-18 15:50:44 +08:00
2f697eb987
support index scan. ( #1440 )
2016-07-13 18:16:51 +08:00
af7f2a2e89
correct "order by", "having", "group by"s' resolving rules. ( #1326 )
...
resolve order by/ having/ group by correctly.
2016-06-22 11:58:06 +08:00
dd6bfacdb8
*: refactor index, use TableInfo and IndexInfo to create an Index ( #1333 )
2016-06-21 15:26:20 +08:00
921677399e
Hanfei/apply ( #1318 )
...
add apply operator.
2016-06-15 15:23:05 +08:00
a71005710f
plan: merge 'optimizer/plan' and 'optimizer' into one package. ( #1300 )
2016-06-07 20:49:05 +08:00
10359b0052
rewrite executor. ( #1294 )
...
* rewrite executor.
2016-06-07 20:32:15 +08:00
622f8fca2a
*: refactor, move index and column into table package. ( #1251 )
2016-05-24 11:08:15 +08:00
965e704412
executor: makes dirty table supports XAPI. ( #1245 )
2016-05-24 10:53:17 +08:00
a9cb8eecb4
store/localstore: fix local region select table in desc order. ( #1222 )
...
* store/localstore: fix local region select table in desc order.
2016-05-16 11:49:44 +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
270ead000e
executor: Fix issue 1154 ( #1159 )
...
* executor: fix issue 1154
2016-04-26 13:07:05 +08:00
c26dfd54e4
executor: Change interface to datum in executor. ( #1103 )
...
Change interface to datum in executor.
2016-04-20 09:52:23 +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
52d78136e5
executor: fix bug when the limit value is less than SortBufferSize. ( #1085 )
2016-04-12 19:37:11 +08:00
3a92f567b9
executor: support limit sort
2016-04-12 12:09:25 +08:00
8d9bf2fd6d
executor: xapi support desc ordered table lookup. ( #1078 )
...
* executor: xapi support desc ordered table lookup.
* *: fix golint comment.
* executor: fix push order for multi-column index.
2016-04-10 18:01:49 +08:00
dc8bd3e337
*: optimization, do not read not referenced columns.
2016-04-06 13:29:21 +08:00
ac12b71714
*: replace interface{} with Datum in convert.
2016-03-07 14:11:17 +08:00
449b34f24b
*: replace interface{} with Datum in codec.
2016-03-04 12:54:34 +08:00
ff94659286
*: replace interface{} with Datum in index range
2016-03-03 22:15:17 +08:00
3d06fb90fe
*: replace interface{} with Datum in kv.Index
2016-03-03 11:41:09 +08:00
d5941446c2
table: replace interface{} with Datum in table.
2016-03-02 21:01:20 +08:00
af131d2127
executor: replace Executor interface{} with Datum.
2016-03-02 16:13:25 +08:00
043ebd5ec8
*: Refactor package organization
...
1. Move evaluator from optimizer to root dir.
2. Move builtin from expression to evaluator.
3. Remove expression package.
2016-03-02 13:48:22 +08:00
77bedd0794
Merge pull request #914 from pingcap/zimuxia/show-ddl
...
*: Support show background DDL info
2016-02-22 11:40:01 +08:00
79eb12187b
*: rename GetDDLBgInfo to GetBgDDLInfo
2016-02-22 11:27:19 +08:00
9df628be49
executor: check error first then check found.
2016-02-20 12:28:09 +08:00
5d92bac8a5
*: support show ddl background info
2016-02-19 18:12:46 +08:00
b47cf737c8
*: add Table.Seek method and use handle for RowKeyEntry.
...
Avoid calling `table/tables` methods in `executor`, makes `Table` interface independent.
2016-02-19 14:31:04 +08:00
ec475aae5f
*: simplify 'table.Table` interface.
...
Makes it easier to implement a in-memory table.
2016-02-18 20:58:53 +08:00
a29743ac9e
executor: replace memkv.Temp with *distinct.Checker in DistinctExec
2016-02-15 13:56:10 +08:00
3b30b67518
optimizer, executor: support Union statement and Select Distinct.
2016-02-15 13:30:08 +08:00