Commit Graph

8026 Commits

Author SHA1 Message Date
c234f27cdc plan: fix a bug about pushing limit (#2440) 2017-01-11 08:11:03 +08:00
5969e9ecad *: add builtin function TIMESTAMPDIFF (#2386) 2017-01-11 00:12:48 +08:00
261f271584 plan: fix a predicate push down bug. (#2439) 2017-01-10 20:10:14 +08:00
19c87888b4 expression: add new funcs map. (#2433) 2017-01-10 19:21:10 +08:00
07f756b818 plan/statistics: statistics support add index info (#2349) 2017-01-10 15:22:01 +08:00
7c66138042 executor: optimize delete statement. (#2421) 2017-01-10 15:13:00 +08:00
468af824a9 *: Fix the wrong error message and fix missing type (#2431) 2017-01-10 14:43:38 +08:00
0f15c2ec5d kv: limit transaction size, len, and entry length, reduce retry times (#2426) 2017-01-10 12:26:18 +08:00
e6187d8250 privilege/privileges: MySQLPrivilege caches mysql privilege table (#2388) 2017-01-10 12:11:09 +08:00
d4f1a0a28d ddl: Add the index key prefix limit (#2272) (#2380) 2017-01-10 11:32:20 +08:00
52c267959b expression: refactor rest functions. (#2416) 2017-01-09 23:53:46 +08:00
0e599c6c47 store/tikv: handle RaftEntryTooLarge error. (#2425) 2017-01-09 23:37:48 +08:00
b2ce51a06d *: support substr. (#2422) 2017-01-09 23:25:22 +08:00
677a85bbc0 tidb: session retry metrics (#2419) 2017-01-09 23:13:50 +08:00
962cd0c1fb expression: move some funcs out of builtin.go (#2418) 2017-01-09 16:33:00 +08:00
0066ab6418 tidb, domain: schema lease metrics (#2417) 2017-01-09 15:05:43 +08:00
ee9a0fea1c parser: limit error information size (#2415) 2017-01-09 14:31:18 +08:00
15b9956e57 *: add buildin function CONV (#2390)
*: add buildin function CONV
2017-01-09 10:57:19 +08:00
47316499fd plan: add cache for statistics table (#2398) 2017-01-08 01:09:23 +08:00
f42eb05cbb adjust the parameter of cbo (#2412) 2017-01-07 16:24:15 +08:00
b17b83378d expression: add functionClass and builtinFunc for time funcs. (#2410) 2017-01-07 14:20:26 +08:00
2521ab4dec *: extract a builtin function factory for date arithmetic (#2403)
* *: refactor DATE_ARITH according to #2368
2017-01-07 10:52:31 +08:00
1dd0945cf3 *: add unique key info into schema (#2376) 2017-01-06 17:36:39 +08:00
1b72b11ffa util/types: fix truncate float (#2405) 2017-01-06 17:14:04 +08:00
cd98c551b4 util/types: handle ParseDatetime overflow properly (#2401) 2017-01-06 14:36:08 +08:00
2594e4f799 parser: parse use 10 instead 0 (#2404) 2017-01-06 11:29:55 +08:00
ac06325a1d *: add builtin function DATEDIFF (#2374) 2017-01-06 10:01:20 +08:00
9c38f89241 expression: add functionClass and builtinFunc for str funcs. (#2399) 2017-01-05 17:02:12 +08:00
6bc6f7e98b *: Add the field of history information in job structure (#2046) 2017-01-05 16:34:39 +08:00
18fc9aa630 expression: implement functionClass and builtinFunction for op funcs. (#2391) 2017-01-05 16:23:31 +08:00
696bea9f37 *: Support batch load data (#2394) 2017-01-05 16:15:00 +08:00
39a7b90e7f types: optimize floatStrToIntStr (#2396) 2017-01-05 16:06:47 +08:00
ef7eac6104 expression: implement functionClass and builtinFunction for math funcs. (#2389) 2017-01-05 15:25:05 +08:00
36e9570051 *: concurrently begin a transaction and compile (#2393) 2017-01-05 15:00:43 +08:00
a3b5a487d4 domain: fix a data race (#2397) 2017-01-05 14:49:06 +08:00
a44d9c3891 *: add builtin function UNIX_TIMESTAMP (#2369) 2017-01-05 14:09:21 +08:00
27c3a37410 benchdb: support specify a sql query to run. (#2395) 2017-01-05 13:36:45 +08:00
c8cc389fdc ddl: bug in columnDefToCol, Length shouldn't be set for unspecified fields. (#2381) (#2382) 2017-01-05 12:04:21 +08:00
e3e7b624f2 expression,parser: add support for FIND_IN_SET function (#2373) 2017-01-05 10:58:58 +08:00
8e109b7df9 expression,parser: add support for INTERVAL function (#2370) 2017-01-05 10:38:03 +08:00
73f1fa9144 expression: implement functionClass and builtinFunction for some funcs. (#2384) 2017-01-04 21:12:49 +08:00
fc278d3ec0 Update README.md (#2392)
add blog link
2017-01-04 20:27:24 +08:00
6d1df4f552 expression: implement functionClass and builtinFunction for info funcs. (#2385) 2017-01-04 18:52:54 +08:00
65f1a0be12 tikv: Enable if expr pushdown (#2387) 2017-01-04 16:55:05 +08:00
fb3d981d74 tidb: sleep for a while and retry when schema out of date (#2379)
also adjust schema lease duration in ddl test
2017-01-04 13:17:24 +08:00
cc5fcae0a3 ddl: Speed up adding index phase (#2341) 2017-01-04 12:32:58 +08:00
8a03344d05 *: deprecate DateArithInterval (#2368) 2017-01-04 11:42:59 +08:00
27c0c76cb1 sessionctx: add 'time_zone' session variable (#2375) 2017-01-03 20:03:03 +08:00
e38c67e086 executor: implements nested loop join. (#2365) 2017-01-03 19:53:03 +08:00
f35ab30127 *: change the implementation of domain schema lease (#2327)
lease is based on pd timestamp oracle instead of TiDB local time
return retryable error when schema check find schema changed
move schema lease check to 2PC, use commitTS
2017-01-03 19:45:08 +08:00