Commit Graph

8026 Commits

Author SHA1 Message Date
b4067786b7 expression: rewrite builtin function: WEEKDAY, FROM_DAYS, QURTER (#4298) 2017-08-24 08:40:29 +08:00
8c6998387a expression, json: fix cast json to other types. (#4265) 2017-08-23 20:16:50 +08:00
f0b061ca7b expression: rewrite builtin function: MONTHNAME (#4300) 2017-08-23 16:37:51 +08:00
31819a8dcb parser, expression: implement builtin function: LAST_DAY (#4290) 2017-08-23 16:34:35 +08:00
72ba0bc04b expression, plan: fix the index selection's bug (#4286) 2017-08-23 15:43:37 +08:00
881d76840b plan,executor: calculate generated columns in CRUD. (#3951) 2017-08-23 14:52:43 +08:00
8f91590a2b fix: avoid 'binary BINARY' for special field type (#4272)
When parsing DML like 'ALTER TABLE t MODIFY COLUMN a binary', there will
be a node parsed as '... binary BINARY...'. That is wrong, the right result should be '... binary ...'
2017-08-23 09:42:43 +08:00
0b63d0c216 coprocessor: support coalesce push down. (#4288) 2017-08-22 22:48:12 +08:00
2a89535b01 vendor: update pd. (#4289) 2017-08-22 22:31:17 +08:00
8db400c77c store/tikv: revert mocktikv engine (#4291) 2017-08-22 21:58:19 +08:00
ea26ad64c9 expression: rewrite builtin function: TIMESTAMPDIFF (#4184) 2017-08-22 21:54:58 +08:00
9fb223e5b3 expression: rewrite builtin function: NOW, UTC_TIMESTAMP, UTC_DATE (#4206) 2017-08-22 21:08:28 +08:00
9288b4e243 expression: correct overflow check for PLUS (#4281) 2017-08-22 20:40:07 +08:00
54eee2caed expression: rewrite builtin function: DAYOFWEEK, DAYOFMONTH, DAYOFYEAR (#4283) 2017-08-22 20:00:22 +08:00
d0beee7aa0 expression: rewrite builtin function: COALESCE (#4157) 2017-08-22 19:34:34 +08:00
9372c6a817 expression: rewrite builtin function: YEAR, MONTH (#4210) 2017-08-22 19:18:24 +08:00
d7df464388 tidb-server: set store default value to goleveldb (#4285) 2017-08-22 17:17:42 +08:00
ff34a46446 store/tikv: implement MVCCStore interface using leveldb backend (#3970) 2017-08-22 03:48:42 -05:00
41f4cfcd28 expression: rewrite builtin function: WEEK, WEEKOFYEAR (#4208) 2017-08-22 16:40:41 +08:00
38908aeb1e protocol: add the framework of x protocol, and cmdline arguments. (#3618) 2017-08-22 14:53:17 +08:00
3e0bfbe91a plan: rewrite index join plan generation. (#4274) 2017-08-22 12:29:02 +08:00
3f8334e188 *: provide SHOW PLUGINS statement with a dummy implementation (#4278) 2017-08-22 10:58:47 +08:00
9049b92371 expression: correct overflow check on function MINUS (#4266) 2017-08-22 10:48:32 +08:00
09929fe4a6 vendor: add mysql x-protocol protobuf files (#4261) 2017-08-22 10:08:38 +08:00
024d4dde20 expression: fix a bug when datum.kind is not consistent with expression.type (#4269) 2017-08-21 20:38:46 +08:00
2df9456310 bug fix: flag of builtin 'IFNULL' 's result is not consistent with mysql (#4158) 2017-08-21 20:13:20 +08:00
97e9dfe92c expression: Fix Flen for DATETIME, TIMESTAMP and TIME (#4264) 2017-08-21 16:10:04 +08:00
33923a5aec support isnull push down. (#4260) 2017-08-21 15:09:09 +08:00
a8f18440fd statistics_test: avoid unnecessary create new store (#4241) 2017-08-21 13:12:30 +08:00
97afa26e1f stats: fix a panic bug. (#4257) 2017-08-21 13:01:19 +08:00
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
acff4b60ec expression: rewrite builtin function: FIND_IN_SET (#4247) 2017-08-21 11:31:22 +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
666953bb92 parser: indent the parse.y (#4253) 2017-08-21 10:18:39 +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
7d6c79d09f util: remove context cancel debugger (#4226) 2017-08-18 18:55:03 +08:00
7c273c0f29 *: implement auto analyze (#4141) 2017-08-18 18:42:28 +08:00
5340b67466 remove all stuff about backgroud DDL worker. (#4227) 2017-08-18 16:34:28 +08:00
ea1de4c2ac mysql: Remove the init function (#4229) 2017-08-18 14:45:57 +08:00
43215118af *: support time constant push down in mocktikv (#4176) 2017-08-18 14:15:41 +08:00
23499743ee expression: clean code. (#4223) 2017-08-18 12:50:35 +08:00
0d27b1f49e vendor: update go-sql-driver (#4214) 2017-08-17 21:49:21 +08:00
2e7db3da83 Add release version info (#4218)
Add version information in tidb-server's log, tidb-server -V output and mysql-client prompt.
So it is easier to get the release information.
2017-08-17 21:19:51 +08:00
7a488163d0 expression: rewrite builtin function: DIV (#4180) 2017-08-17 20:47:17 +08:00
6917e8588e expression: fix type inference of function CASE (#4219) 2017-08-17 20:37:07 +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
dcbfd71f68 ddl: Use the correct error (#4221) 2017-08-17 19:14:29 +08:00