Commit Graph

892 Commits

Author SHA1 Message Date
fce58065d7 parser,plan,ast: fix #4239, concatenates string literals which placed each other, and use first string as projection name (#4252) 2017-08-21 12:37:27 +08:00
31edc09341 Add a system variable to enable automatic split delete data into batches. (#4256)
* *: Batch delete data
2017-08-21 10:37:24 +08:00
ae512b3e3e plan: reopen join reorder for new planner. (#4242) 2017-08-20 17:26:42 +08:00
5ac8210e6d executor: clean code. (#4244) 2017-08-19 04:27:39 -05:00
3e1728b4b8 plan: let union plan not change the original type. (#4235) 2017-08-18 20:00:01 +08:00
7c273c0f29 *: implement auto analyze (#4141) 2017-08-18 18:42:28 +08:00
43215118af *: support time constant push down in mocktikv (#4176) 2017-08-18 14:15:41 +08:00
f5fd467f46 *: change terror.ErrorEqual to Error.Equal, which is more effetive (#4217) 2017-08-17 20:06:48 +08:00
2750de80bc *: tiny clean. (#4222) 2017-08-17 19:38:37 +08:00
a264f81acc executor: notify fetch goroutines to exit when IndexLookUpExecutor close (#4201) 2017-08-17 13:50:01 +08:00
e5ea06dec8 executor, plan: union scan reuse pk when it's handle. (#4185) 2017-08-17 13:07:51 +08:00
44a7e900cd *: set default length for some types (#4200) 2017-08-16 15:56:34 +08:00
b6c65888ba expression: rewrite builtin function: INET_ATON, INET_NTOA, INET6_ATON, INET6_NTOA (#4130)
* rewrite builtin ip functions
2017-08-15 12:39:01 +08:00
a88ebb1cf6 *: use structure to store user identity (#4078)
*: use structure to store user identity
2017-08-14 03:37:36 -05:00
678c6924be *: support priority for SELECT HIGH_PRIORITY statement (#4119)
*: support priority for SELECT HIGH_PRIORITY statement
2017-08-10 01:09:57 -05:00
3991f38cd0 executor: fix statement label and recover test (#4116) 2017-08-09 23:30:47 +08:00
f0fd27c5b5 expression: rewrite builtin function: SLEEP (#4096) 2017-08-09 19:37:17 +08:00
c7c248eb91 executor: change struct row to []types.Datum (#4072) 2017-08-09 18:37:57 +08:00
973565e29a domain: Fix the correctness issues after using etcd to sync schema version (#4073) 2017-08-09 17:09:52 +08:00
1eebb87156 ddl: remove backgroud worker, use delete-range to speed up something. (#3993) 2017-08-09 16:59:25 +08:00
861c8c9beb plan: fix a bug when prune extra handle column (#4079) 2017-08-08 21:46:56 +08:00
171c47857f executor: fix double desc read. (#4087) 2017-08-08 20:12:10 +08:00
3e1efa634f plan: push property across semijoin. (#4083) 2017-08-08 18:24:26 +08:00
3c11ac5128 *: fix race with atomic global variables. (#4076)
* fix race.
2017-08-08 14:30:04 +08:00
d880419acf plan: use the literal value as column name in SELECT when it is NULL of STRING (#3994) 2017-08-07 21:36:46 +08:00
d0b00665aa domain,executor: ignore restricted sql for statement count metrics (#4064)
To make the statement count metrics more precise, we should ignore
some background job such as update statistics and load privilege.
2017-08-07 17:00:46 +08:00
feecc6ed02 plan: fix bug when access cond is not scalar function (#4044) 2017-08-05 17:28:31 +08:00
059f6dd2f1 executor, expression, plan: remove rowMeta from row (#3758) 2017-08-04 18:37:31 +08:00
96461f92cf plan: let explain show count (#4031) 2017-08-04 18:15:43 +08:00
ab53786d33 *: Define the schema change at the table level (#3999) 2017-08-04 17:53:38 +08:00
96c3ff7c2f *: add variable to control batch size of index join (#4028) 2017-08-04 14:53:05 +08:00
3d8d1d6f45 *: refine tests. (#4016) 2017-08-04 00:15:20 +08:00
520785b149 *: fix possible race in stats update (#3987) 2017-08-03 20:54:15 +08:00
9a40975437 executor, expression: fix floor and ceil when handle int overflow (#3980) (#3981) 2017-08-03 19:01:00 +08:00
722c450ec3 executor: Make union test stable (#4001) 2017-08-03 13:57:39 +08:00
52317946e4 *: fix union scan's bug. (#4000) 2017-08-03 13:30:52 +08:00
0e8bffa44e executor: fix bug when do outer index join (#3998) 2017-08-03 12:08:02 +08:00
bedd8790a9 executor: fix bug in index lookup join (#3992) 2017-08-02 22:24:57 +08:00
3243b46b62 types: handle zero value in RoundFrac (#3989) 2017-08-02 20:59:33 +08:00
4880d920e7 Pass sessionVars for stats() to support session-scoped status vars. [ci skip] (#3974) 2017-08-02 15:29:16 +08:00
8adac8fe6c *: set low priority for expensive SQL and high priority for point get (#3881) 2017-08-02 13:53:36 +08:00
6921161fde types, expression: cast string as time (#3977)
fix issue #3942
TiDB doesn't treat '.' as a special point, '.' is the fractional seconds part delimiter
2017-08-01 23:35:20 +08:00
d0dcb5b0a6 expression, parser: fix issue #3691, cast compatibility (#3894) 2017-08-01 16:47:38 +08:00
01c1d4c5c5 executor: truncate the trailing spaces for "CHAR[(M)]" types (#3878) 2017-08-01 16:15:25 +08:00
289a906861 plan: move explan_test.go to plan package. (#3972) 2017-08-01 14:45:11 +08:00
2745333435 parser,plan: support \N shortcut for null (#3943) 2017-08-01 14:16:43 +08:00
7874e989eb *: support natural join. (#3861) 2017-08-01 13:56:29 +08:00
26f622d1a7 plan, executor: implement ExplainInfo() interface for data source operators (#3953) 2017-08-01 13:08:24 +08:00
3527750130 expression, executor, plan: rewrite builtin function trim. (#3936) 2017-08-01 10:54:31 +08:00
58dca67d6e *: fix close problem for index look up executor. (#3957) 2017-07-31 21:13:42 +08:00