Commit Graph

8026 Commits

Author SHA1 Message Date
2123638476 executor: add rows in table scan log. (#2507) 2017-01-19 00:04:07 +08:00
d0a9ab5abe ddl: Fix error format and clean up error trace. (#2500) 2017-01-18 23:58:53 +08:00
19546d119a server: refine time query (#2506)
Log slow query even if there is error.
Reduce slow time from 1s to 300ms.
2017-01-18 23:49:13 +08:00
12ae004603 executor: fix join leak (#2505)
In HashJoin Executor When Close is called after fetched 1000 rows, the result channel is full,
Close is blocked forever.
2017-01-18 23:31:41 +08:00
a3f4cf7beb expression: Fix a null point bug in unix_timestamp() (#2497) 2017-01-18 12:54:18 +08:00
72403f3578 *: added builtin function sqrt (#2493) 2017-01-18 12:43:59 +08:00
bab721c66b plan: fix a bug when aggregation appears in subquery. (#2486) 2017-01-18 10:45:44 +08:00
a680ffcfbb expression: change builtin time test. (#2494) 2017-01-18 02:52:42 +08:00
83e57cc203 plan: ignore the ambiguous error when retrieving schema first. (#2480)
* plan: ignore the ambiguous error when retrieving schema first.

* address comment.
2017-01-17 23:22:30 +08:00
475d7e3842 expression: change test. (#2488) 2017-01-17 20:08:13 +08:00
999517c4f1 Revert "*: run a bootstrap session before store is ready" (#2490) 2017-01-17 15:14:24 +08:00
e1ecc1059e *: run a bootstrap session before store is ready (#2481) 2017-01-17 14:46:35 +08:00
e79a460a28 expression: change test for string_test. (#2458) 2017-01-17 14:27:25 +08:00
1e34270fe6 plan: refine code when retrieving agg columns. (#2466) 2017-01-17 13:47:53 +08:00
f386df1020 ddl: avoid assert in lock (#2482)
assert in lock may cause dead lock
2017-01-17 13:09:49 +08:00
d3f0612263 ddl: avoid assert in hook function. (#2479) 2017-01-16 16:38:29 +08:00
fce6256117 *: Clean up error trace (#2475) 2017-01-16 13:13:49 +08:00
5f6f101c9a executor: optimize begin (#2474) 2017-01-16 12:57:03 +08:00
2828e29a5b executor: refine statement count metrics (#2477) 2017-01-16 12:34:21 +08:00
ba8b6a9c26 fix bug of union type converting (#2471) 2017-01-16 12:09:27 +08:00
5bb751ee4b *: remove useless code (#2476) 2017-01-16 11:44:03 +08:00
527256627b ast: clean some code. (#2465) 2017-01-16 10:17:41 +08:00
244de11287 *: Make column test stable and fix prepare statement issue (#2473) 2017-01-15 22:59:05 +08:00
c5c4f85a62 session: add connection ID in retry log. (#2472) 2017-01-15 19:44:15 +08:00
42f570ab46 *: add 'max_allowed_packet' in common variables. (#2470)
To save a global query to TiKV when a new connection creates.
2017-01-15 15:52:05 +08:00
5940259073 ddl: tiny clean up (#2468) 2017-01-15 14:36:41 +08:00
8d426be68f store/tikv: make test stable. (#2467) 2017-01-15 14:00:33 +08:00
85e6afdfb6 distsql, store/tikv: refine metrics. (#2460) 2017-01-15 13:50:16 +08:00
122195718b executor: fix log format and add transaction start TS. (#2469) 2017-01-15 13:34:37 +08:00
c470a46283 *: remove useless code. (#2457) 2017-01-15 11:37:48 +08:00
67313335fa *: Support builtin function field (#2449) 2017-01-15 11:10:39 +08:00
304445514b plan: remove useless log (#2463) 2017-01-15 10:56:26 +08:00
8a62fc1caf *: clean code. (#2464) 2017-01-15 10:00:03 +08:00
9313558fea util/filesort: sort rows using file sort. (#2377) 2017-01-15 01:16:41 +08:00
3bfac81a4e *: add builtin function FROM_DAYS (#2434) 2017-01-15 01:10:47 +08:00
217c26bd0b *: Support the statement of rename table (#2444) 2017-01-15 00:58:10 +08:00
440b7653d4 *: fix a bug when aggregate function meet subquery. (#2452) 2017-01-14 16:23:56 +08:00
d0813e181f store/tikv: log more info for unexpected errors. (#2459) 2017-01-14 16:19:02 +08:00
5b7ec4c6cf ddl/ddl_db_test: locate errors occurred in goroutine (#2443) 2017-01-14 11:32:10 +08:00
1e9131d2ff store/tikv: fix cancel prewrite bug. (#2454) 2017-01-14 11:24:48 +08:00
afeccd0e32 parser: fix aggregate functions. (#2453) 2017-01-13 17:10:01 +08:00
554293a73e executor: add more information on slow dist sql. (#2451) 2017-01-13 14:41:11 +08:00
d1ef3e5687 *: add builtin function SIGN (#2427) 2017-01-13 10:31:05 +08:00
a3c1d47058 parser: count multiple expression doesn't return error. (#2429) (#2448) 2017-01-13 10:24:22 +08:00
849071221c Wrong behavior when executing alter table t add index c (c(3)); (#2432) (#2441) 2017-01-11 18:25:57 +08:00
5cefcaa688 tidb-server: change flag v to V (#2442) 2017-01-11 14:46:48 +08:00
0eaef417e8 type/util: add functions mixDateAndTime and getDateFromDaynr (#2407) 2017-01-11 11:00:35 +08:00
02dfb04c84 server: add metrics for error counter. (#2435)
Use terror error class and code to generate error label.
2017-01-11 10:33:28 +08:00
02511087c7 parser: handle timestamp default value with fsp specified (#2437) 2017-01-11 10:23:23 +08:00
293988b436 *: Fix a bug when binary literal has a charset prefix (#2438) 2017-01-11 10:16:51 +08:00