Commit Graph

  • 6f95d18e01 *: remove a useless argument (#2319) Lynn 2016-12-25 16:18:53 +08:00
  • 751a81b77e *: add physical mem table plan (#2296) Han Fei 2016-12-25 16:13:18 +08:00
  • d358fc691d add two builtin functions (#2312) Jason W 2016-12-25 16:07:46 +08:00
  • fb3c6ad609 evaluator: makes values function dynamic. (#2320) Ewan Chou 2016-12-25 15:01:01 +08:00
  • 7414bede41 ddl: Speed up adding index phase (#2309) Lynn 2016-12-23 18:18:30 +08:00
  • e84c442199 evaluator: remove Eval function. (#2313) Han Fei 2016-12-23 17:07:12 +08:00
  • 73a7118d9b store/tikv: adjust log levels. (#2314) disksing 2016-12-23 14:12:44 +08:00
  • 64484a4257 *: refactor context.Context (#2298) Ewan Chou 2016-12-23 13:02:41 +08:00
  • 2acbf242a4 parser: support show keys from table from database syntax. (#2308) Ewan Chou 2016-12-23 12:54:48 +08:00
  • b7a768514a plan: move some initialization out of convert2PhysicalPlan process (#2263) Yiding Cui 2016-12-22 21:40:46 -06:00
  • 26e5c0c867 *: move evaluator's helper to expression package. (#2291) Han Fei 2016-12-23 11:34:52 +08:00
  • d6c45e35bb kv: update logs (#2307) Lynn 2016-12-22 20:41:07 +08:00
  • bd02505875 ast: correct comments (#2305) (#2306) Yu Liu 2016-12-22 12:26:42 +01:00
  • da69877e7a evaluator: change test (#2304) Han Fei 2016-12-22 19:11:02 +08:00
  • dec5ae56d9 evaluator: change string test. (#2302) Han Fei 2016-12-22 17:45:19 +08:00
  • bb66fbe6b0 evaluator: change the test to give up Eval function. (#2301) Han Fei 2016-12-22 16:41:47 +08:00
  • cfb100541a evaluator,util/types: clean up builtinDateFormat (#2292) tiancaiamao 2016-12-22 14:20:37 +08:00
  • a49b661f62 ddl: Fix issue 2293 (#2297) Lynn 2016-12-21 21:32:26 +08:00
  • f32eaedcb3 Skip constraint check for prewrite when loading data (#2288) zhangjinpeng1987 2016-12-21 21:16:53 +08:00
  • d508b6d2da util/types: workaround for time roundFrac (#2289) tiancaiamao 2016-12-21 19:45:27 +08:00
  • c42b03e67c plan: resolve show stmt in plan builder. (#2277) Han Fei 2016-12-21 18:16:03 +08:00
  • 0adabe53a1 *: begin a transaction in PrepareTxnCtx, unify in transaction. (#2290) Ewan Chou 2016-12-21 16:48:19 +08:00
  • e49ca0355e meta/autoid: add TestAsyn (#2286) Lynn 2016-12-21 15:36:07 +08:00
  • 153f216451 plan: resolve table source by infoschema. (#2275) Han Fei 2016-12-21 14:30:45 +08:00
  • c8ffa17c62 util/types: add calcTimeDiff and update compareTime function (#2280) tiancaiamao 2016-12-21 11:10:04 +08:00
  • 15e38d6d82 evaluator, util/types: fix mysql week and yearweek function, support mode (#2284) tiancaiamao 2016-12-20 17:51:01 +08:00
  • a89fa8a8d3 *: refact insert logic (#2252) Han Fei 2016-12-20 17:38:23 +08:00
  • f4e2bcacb2 Makefile: avoid generate parser.go everytime (#2281) tiancaiamao 2016-12-20 14:35:26 +08:00
  • abc19b08d5 util/types: mysql time's week function (#2259) tiancaiamao 2016-12-20 11:14:23 +08:00
  • d0413b1c61 store/tikv: workaround for commit timeout. (#2276) disksing 2016-12-19 17:41:58 +08:00
  • b200cef223 support function rpad (#2270) Jason W 2016-12-19 16:36:41 +08:00
  • cbe49fa24f *: remove evaluate.Eval from ddl (#2264) Han Fei 2016-12-19 14:40:08 +08:00
  • 507201bd12 plan, expression: add test and remove useless code (#2271) Haibin Xie 2016-12-19 14:04:00 +08:00
  • 368b4db48d ddl: Reduce the unnecessary memory allocation and make code clearer (#2268) Lynn 2016-12-19 11:16:38 +08:00
  • 3c7ac58d20 server: defer handshake packet make TiDB crash (#2267) tiancaiamao 2016-12-17 11:24:26 +08:00
  • 5c41bfe549 ddl: Speed up add index phase (#2260) Lynn 2016-12-16 19:56:30 +08:00
  • c24c90b4d3 tidb, variable: refactor retry, add TransactionContext (#2256) Ewan Chou 2016-12-16 11:07:59 +08:00
  • 38a11f2b79 store/tikv: update region error handling. (#2262) disksing 2016-12-16 10:57:07 +08:00
  • b6588b81d4 *: clean up, move strToDate to util/types package (#2261) tiancaiamao 2016-12-16 10:36:38 +08:00
  • 8eb2bbd37d parser, evaluator: support mysql builtin functions ln(), log(), log2(), log10() (#2258) Bai, Yang 2016-12-16 08:52:51 +08:00
  • 893a157301 *: support builtin function timediff (#2249) Shen Li 2016-12-15 19:04:20 +08:00
  • 2f3435237b plan: refine the index cost elimination (#2253) Han Fei 2016-12-15 10:48:35 +08:00
  • d406c77c1f Revert "tidb, variable: refactor retry, add TransactionContext" (#2255) Han Fei 2016-12-15 10:42:04 +08:00
  • ff0ceb1785 tidb, variable: refactor retry, add TransactionContext (#2254) Ewan Chou 2016-12-15 10:35:57 +08:00
  • 4095299e9c *: add comparable varint encoding. (#2236) Ewan Chou 2016-12-14 21:26:59 +08:00
  • b0f65761bc *: clean GetTxn and finishTxn (#2248) Lynn 2016-12-14 18:37:34 +08:00
  • 4741960b44 util/types: re-implement check time related (#2233) tiancaiamao 2016-12-14 10:09:55 +08:00
  • 14b66969cb plan: eliminate tablescan's cost more precisely. (#2243) Han Fei 2016-12-13 22:32:32 +08:00
  • 9c83f3f176 executor: 'INSERT IGNORE' should only ignore KeyExists error. (#2241) disksing 2016-12-13 18:31:13 +08:00
  • 41adfaf3ef plan: Clean up (#2239) Lynn 2016-12-13 17:57:01 +08:00
  • 2b64abf9b7 domain: fix typo (#2237) Lynn 2016-12-13 15:57:31 +08:00
  • f1aaeafade util/segmentmap: Improve the test coverage (#2235) zimuxia 2016-12-13 14:41:01 +08:00
  • abbde2a651 plan: default value can be null when the option is auto-increment (#2230) zimuxia 2016-12-13 10:53:31 +08:00
  • c7e255eb8a store/tikv: add rawkv metrics. (#2228) disksing 2016-12-13 10:34:14 +08:00
  • 2c7ca81c6b vendor: update pd-client (#2231) Huachao Huang 2016-12-13 10:21:50 +08:00
  • c30849acc0 util/types: provide time Format method (#2206) tiancaiamao 2016-12-12 20:31:42 +08:00
  • 43102df978 util/time: ToPackedUint would return error for invalid timestamp (#2190) tiancaiamao 2016-12-12 18:50:16 +08:00
  • 1f6737ef67 *: remove SetLease method in domain (#2149) tiancaiamao 2016-12-12 18:26:38 +08:00
  • 35edefb757 *: rewrite the logic of set. (#2223) Han Fei 2016-12-12 17:54:16 +08:00
  • cd8578c9b8 store/tikv: trim error message. (#2224) disksing 2016-12-12 17:39:29 +08:00
  • 24f27a2622 *: types.TimeInternal GoTime method would return error (#2185) tiancaiamao 2016-12-12 17:22:49 +08:00
  • fbffe2705f distsql, executor: fix select channel bug that may discard error. (#2226) Ewan Chou 2016-12-12 16:59:13 +08:00
  • c3e84ad486 Add prompt text (#2227) goroutine 2016-12-12 16:38:50 +08:00
  • dd4dcfee36 fix primary key's type (#2222) Haibin Xie 2016-12-12 01:35:22 -06:00
  • 654f4f49b3 *: Remove the package of bytes (#2221) zimuxia 2016-12-12 12:09:48 +08:00
  • 1b8051d3c5 *: set and use Flags to properly handle truncate error (#2212) Ewan Chou 2016-12-12 11:45:58 +08:00
  • 9ec16203f0 *: rewrite the logic of execute. (#2217) Han Fei 2016-12-10 02:13:01 +08:00
  • b3efd4c235 util/types: fix bug parseFrac overflow ignored during time Parse (#2197) tiancaiamao 2016-12-09 23:07:32 +08:00
  • 9f48b1b2a5 ddl: fix issue #2176 (#2214) zimuxia 2016-12-09 21:11:17 +08:00
  • d5cf23a838 *: non-unique index doesn't need store value, write a '0' to reduce space (#2218) tiancaiamao 2016-12-09 21:02:03 +08:00
  • aca4151716 parser: fix parse explain union statement error (#2216) Haibin Xie 2016-12-09 06:45:48 -06:00
  • e149b0ce87 *: rewrite the logic of do statement. (#2215) Han Fei 2016-12-09 20:18:12 +08:00
  • b723e72baf ddl: Add a check before building jobs (#2213) zimuxia 2016-12-09 18:48:45 +08:00
  • a14d99ef5d server: defend panic for ill-packet with null connection attribute (#2211) tiancaiamao 2016-12-09 17:38:04 +08:00
  • 99b3465c1e ddl: allocate column ID and index ID in TableInfo. (#2205) Ewan Chou 2016-12-09 12:31:27 +08:00
  • 5917a784be parser: fix .1_t_1_x parsed as .1 _t_1_x (#2210) tiancaiamao 2016-12-09 11:47:46 +08:00
  • 1e8d970b3e store/tikv: cache store. (#2193) disksing 2016-12-09 11:10:42 +08:00
  • 107992f050 executor: remove useless file. (#2208) Han Fei 2016-12-08 23:02:42 +08:00
  • 292e58c2aa *: make union execution parallel and fix a union plan bug. (#2195) Han Fei 2016-12-08 22:45:49 +08:00
  • 8a5a19272e util/types: tiny clean up (#2204) zimuxia 2016-12-08 21:10:42 +08:00
  • 7e61f16bc1 util/types: fix floatStrToIntStr, handle large exponent corner case. (#2199) Ewan Chou 2016-12-08 20:17:29 +08:00
  • b134396b1a ddl: unsupport dropping the column that is pk handle (#2203) zimuxia 2016-12-08 19:45:04 +08:00
  • f15333b8c7 parser: fix bug 0_x should parse to identifier (#2200) tiancaiamao 2016-12-08 17:14:15 +08:00
  • 5f53175169 kv: check iter.Next() errors. (#2198) disksing 2016-12-08 14:08:59 +08:00
  • 450c904666 domain: make test pass stably (#2196) zimuxia 2016-12-08 11:07:29 +08:00
  • 0302c8d061 infoschema: support infoschema.session_variables and infoschema.plugins. (#2194) Han Fei 2016-12-07 21:48:31 +08:00
  • 6ef340fb32 util/types: properly handle truncate error for string to float or int. (#2186) Ewan Chou 2016-12-07 19:42:46 +08:00
  • f5792b5e80 *: the first setp of adding the field of history information in job structure (#2170) zimuxia 2016-12-07 18:29:37 +08:00
  • 90c61f0a2d store/tikv: fix region error handling. (#2192) disksing 2016-12-07 17:46:07 +08:00
  • 379363266e plan: optimize the filter condition push down logic when do index double read (#2166) Haibin Xie 2016-12-07 17:02:16 +08:00
  • 4f742c2b4d store/tikv: increase epsilon for oracle test. (#2191) disksing 2016-12-07 16:47:18 +08:00
  • 8d42cc059e vendor: update tipb, add flags and warnings. (#2189) Ewan Chou 2016-12-07 16:25:21 +08:00
  • b47cb7b6c5 store/tikv: reduce the use of region.Clone(). (#2182) disksing 2016-12-07 16:17:45 +08:00
  • 51a10a6725 *: Fix issue #2175 (#2188) zimuxia 2016-12-07 14:58:22 +08:00
  • 5d68641931 store/tikv: update region error handling. (#2178) disksing 2016-12-07 14:17:29 +08:00
  • 196b6b18fe *: Support for changing column (#2174) zimuxia 2016-12-07 11:19:37 +08:00
  • 4260c3b7f3 vendor: update kvproto and pd-client (#2187) Huachao Huang 2016-12-07 10:22:13 +08:00
  • e396fbecf7 util/charset: Let charset name be insensitive. (#2184) Han Fei 2016-12-06 18:00:50 +08:00
  • f403dcfd4b typeinferer: Fix schema() function type infer bug (#2181) Shen Li 2016-12-06 15:44:33 +08:00
  • 4da8cfd3fa executor: Fix the bug in the statement of "on duplicate..." (#2179) zimuxia 2016-12-06 14:04:32 +08:00