5d3bb33afd
util/types: fix decimal conversion. ( #1979 )
...
When datum converts to decimal, we should check the Flen and Decimal of
the given field type, return max value for overflow and round the value
for truncation.
2016-11-09 16:53:30 +08:00
9946941089
plan: add the missing filer conditions ( #1977 )
2016-11-09 10:12:37 +08:00
c12a53fd9e
plan: fix a panic bug when involved join and order by. ( #1963 )
2016-11-08 16:11:10 +08:00
1c6c145f94
*: Set custom verbose flag to true ( #1956 )
...
* *: set custom verbose flag to true
* *: update .gitignore
2016-11-05 18:00:13 +08:00
85c0954dc2
support builtin function from_unixtime ( #1929 )
2016-11-04 13:15:55 +08:00
bfc1ca679a
tidb: load and apply common global variables for the session ( #1942 )
...
Fixes a bug some global variables like 'sql_mode' not applied to session.
2016-11-03 22:01:15 +08:00
035666f231
plan: add cast function for PatternInExpr. ( #1932 )
2016-11-03 15:40:58 +08:00
693eada753
plan: fix cost calculate bug. ( #1933 )
...
* plan: fix cost calculate bug.
2016-11-03 12:34:34 +08:00
3bcb4bedd8
executor: let union_scan executor use its own schema. ( #1925 )
2016-11-02 13:26:11 +08:00
bf9de5ccee
executor: avoid create new domain in test. ( #1910 )
...
A store should has only one domain, and it is already created when create a session.
we should not manually create domain.
2016-10-31 19:56:29 +08:00
3fc9ae6bf5
remove useless check
2016-10-28 19:02:23 +08:00
1481e85129
*: add a flag to restrict cartesian product.
2016-10-28 18:38:27 +08:00
a5c73c155d
plan: fix a topn bug ( #1806 )
2016-10-10 21:58:04 +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
685fb1b0c2
executor: split big test file into smaller files. ( #1757 )
...
One big test file makes it hard to locate a specific test case.
2016-09-22 21:55:24 +08:00
91303f8ddf
fix a bug about upadte stmt. ( #1756 )
2016-09-22 17:08:34 +08:00
b8994bb139
*: Support stream aggregation. ( #1735 )
...
* *: Support stream aggregation.
2016-09-20 17:14:31 +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
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
3e3ae885f4
*: make race with debug level ( #1687 )
...
* *: make race with debug level
* *: fix the problem of compatibility on the Mac
* ddl: pass make race
2016-09-05 15:42:47 +08:00
89f840e6a0
fix the bug of double read with order and limit ( #1681 )
2016-09-02 17:53:14 +08:00
9ca75f13bb
fix a bug about double read index. ( #1680 )
2016-09-02 16:30:59 +08:00
645b939253
*: simple LOAD DATA escape support ( #1658 )
2016-09-02 09:57:42 +08:00
5a3f87d099
support unhex. ( #1675 )
2016-09-01 19:25:04 +08:00
ed4649e85d
*: Support load data local ( #1634 )
2016-08-30 09:38:37 +08:00
2cec538e41
store/tikv: turn-off 'Sum' and 'Avg'. ( #1635 )
...
* store/tikv: turn-off 'Sum' and 'Avg'.
Those functions returns Decimal result and new Decimal has not been supported yet.
* executor: the old test expected result is wrong.
2016-08-25 09:21:48 +08:00
7c389ac756
fix a cob plan bug when executing join distributely ( #1627 )
2016-08-23 22:40:57 +08:00
40dd366203
executor: Use multiple goroutines to do join ( #1591 )
2016-08-22 15:03:11 +08:00
c90d91cba9
*: Support insert ignore ( #1579 )
...
Ignore duplicate key errors for insert ignore stmt, Fix #1570
2016-08-22 14:18:56 +08:00
22c187e9c5
fix a bug
2016-08-15 14:12:38 +08:00
f3645267bd
Remove useless index seek ( #1556 )
2016-08-08 10:27:39 +08:00
e2dfc21c25
resolve having correctly. ( #1552 )
2016-08-04 14:10:15 +08:00
d639c0aa54
support single index read. ( #1538 )
2016-08-02 16:13:50 +08:00
6499d8aea0
store/tikv: mantain lastTS in pd oracle. ( #1530 )
2016-08-02 13:21:52 +08:00
9a53a54fe7
fix a bug when push down conditions. ( #1531 )
2016-08-01 17:18:09 +08:00
9574322317
support join reorder. ( #1522 )
2016-08-01 15:57:47 +08:00
b0e4096f3c
fix bug of limit. ( #1515 )
2016-07-28 17:58:13 +08:00
60d0c97721
Hanfei/newplan ( #1513 )
2016-07-28 14:11:57 +08:00
2b4acb0caf
support cbo ( #1498 )
2016-07-27 11:10:52 +08:00
7282f4283b
add not push down during refining. ( #1478 )
2016-07-21 10:31:08 +08:00
35133ef397
support semijoin without aux column, support semijoin for insubquery. ( #1461 )
2016-07-19 11:36:32 +08:00
5896bb9b64
fix a panic bug for subquery. ( #1468 )
2016-07-18 18:45:18 +08:00
fea1d3e8ff
fix a panic bug about subquery. ( #1465 )
2016-07-18 14:18:58 +08:00
11d642520b
fix a bug that select null from a index table. ( #1464 )
2016-07-18 12:01:31 +08:00
04eccb93f0
plan: fix like empty pattern panic. ( #1449 )
2016-07-14 17:57:38 +08:00
2f697eb987
support index scan. ( #1440 )
2016-07-13 18:16:51 +08:00
e35c7ce6eb
support nested subquery and fix bug of setting variable ( #1412 )
2016-07-09 20:25:51 +08:00
257df744bb
fix bugs of insert and subquery ( #1406 )
2016-07-07 17:12:14 +08:00
db4cdcfaec
parser: reduce memory allocation ( #1408 )
2016-07-07 16:42:30 +08:00