Commit Graph

8026 Commits

Author SHA1 Message Date
7031e28ab1 Built-in Function: bin (#2924) 2017-03-29 09:07:12 +08:00
9f17a88377 fix some typo in comments (#2943) 2017-03-29 08:55:49 +08:00
62c4685a7c plan: fix sort plan explain (#2937) 2017-03-29 08:51:39 +08:00
b799b182e8 store: Support table scan, index scan and selection with DAG. (#2930) 2017-03-28 22:36:21 +08:00
1789a43db5 *: update pd vendor. (#2944) 2017-03-28 21:07:48 +08:00
a89879d61a executor: skip the unstable test. (#2939)
Multiple package runs on the same process in parallel, we can't make sure the test always pass.
2017-03-28 15:12:50 +08:00
99b7606624 executor: Make admin test stable (#2940) 2017-03-28 14:50:30 +08:00
Van
c83bdda7b0 builtin: add random-bytes function (#2927) 2017-03-28 14:02:45 +08:00
c8c7dde6d7 plan: enforce property for index join. (#2938) 2017-03-28 12:02:37 +08:00
60ba388e0c *: check visibility for show databases and tables (#2934) 2017-03-28 11:28:50 +08:00
0e172acd8e Add a controller in Selection to control the conditions of the below scan plan. (#2834)
Prepare for IndexLookupJoin.
2017-03-28 09:58:49 +08:00
95fb7d0ec3 Revert "fix sort in explain (#2933)" (#2936)
This reverts commit a6bf9231f985c6fe6a7049f9d56026d14a92d07d.
2017-03-28 00:23:33 +08:00
a6bf9231f9 fix sort in explain (#2933) 2017-03-27 23:59:38 +08:00
6c6f23f329 Maxiaoyu/ordered merge join (#2931)
plan: make merge sort keep ordering during planning
2017-03-27 19:27:43 +08:00
1944ba5772 server: add txn check (#2920) 2017-03-27 18:03:04 +08:00
9f23ab74a9 store/tivk: wait task channel in Close (#2925) 2017-03-27 12:28:31 +08:00
6aa45e441c Make index serial scan concurrency configurable and fix golint errors. (#2928) 2017-03-27 00:57:19 +08:00
5bb70abbe5 * built-in: add "Sin(x)" function (#2885) 2017-03-27 00:44:46 +08:00
e95ff609b7 builtin function: add inet_ntoa builtin function (#2887)
* add inet_ntoa builtin function
2017-03-25 23:08:19 -05:00
277893a9a4 builtin: add maketime built-in function (#2889) 2017-03-25 17:33:58 +08:00
d1a8cd4da1 builtin: add insert built-in function (#2855) 2017-03-25 17:00:56 +08:00
146486f44c store: make test stable (#2922) 2017-03-24 07:25:23 -05:00
1513adc986 store/tikv: fix coprocessor iterator goroutine leak. (#2921) 2017-03-24 19:14:46 +08:00
88bfb59db2 mod: add sha2 built-in function (#2914)
* mod: add sha2 built-in function
2017-03-24 05:44:52 -05:00
bd0220c555 builtin: add quarter built-in function (#2919)
Implement the QUARTER built-in function.
2017-03-24 18:24:47 +08:00
ed56d82fa7 sessionctx/variable: refine TiDB specific system variables. (#2915) 2017-03-24 12:57:33 +08:00
a5b1d2c0eb session: Clean up retry log (#2917)
We do not need to print sql text every time.
2017-03-24 10:07:49 +08:00
e40243059d table: log more detail on incorrect utf8 value. (#2916) 2017-03-23 20:49:24 +08:00
7aa024c9a0 *: add UTF8 check global variable. (#2899) 2017-03-23 08:56:21 +08:00
60bcd987d5 plan/statistics: concurrent build columns (#2713) 2017-03-22 22:16:45 +08:00
7739d97697 Sort Merge Join (#2850)
parser/plan/executor: Added Merge Join operator with Hints
2017-03-22 21:42:16 +08:00
2c3e731f81 builtin: add instr built-in function (#2857) 2017-03-22 14:21:25 +08:00
ef7923c2de stats: if the stats in kv store is invalid, we will replace it with peusdo one. (#2910) 2017-03-22 13:56:16 +08:00
d00f14aaa9 store: Update pools's close function (#2906) 2017-03-22 12:43:05 +08:00
ee322f7447 fix DATE_FORMAT func error (#2908) 2017-03-22 11:52:50 +08:00
0783456c78 *: do not use bytespool to allocate coprocessor response. (#2891) 2017-03-22 00:00:00 +08:00
d215257ea9 ddl: set collate if not set.
Should set column collate to default one if charset is set but collation is not set.
2017-03-21 19:52:03 +08:00
13fa294a73 *: provide a command line flag --skip-grant-table (#2897) 2017-03-21 18:16:00 +08:00
a3777f4cac builtin: add uuid built-in function (#2875) 2017-03-21 18:06:11 +08:00
24dd32c52a check_tso:make sure commit_ts > start_ts during commit in transaction (#2901) 2017-03-21 16:51:11 +08:00
b4f985f385 plan: rebuild schema for join after join reordering. (#2905) 2017-03-21 16:41:25 +08:00
6d58b5c6ec parser: parse /*+ */ for optimizer hint (#2904) 2017-03-21 14:47:21 +08:00
4ce80d8ec1 fix bug, move IngoreTruncate to test code (#2898) 2017-03-21 10:09:14 +08:00
586b8718c0 plan: fix bug when apply meet limit. (#2894) 2017-03-21 09:55:47 +08:00
b76e1fb6ad vendor: update dag mode pb. (#2896) 2017-03-20 18:46:49 +08:00
4a3dc464e1 builtin: add any_value built-in function (#2866) 2017-03-20 18:34:07 +08:00
d85a4cb1c8 table/column: disable utf8 check. (#2895)
When old row has invalid utf8 value and the data doesn't change, we should not fail to update.
So temporarily disable utf8 check until we can handle this problem.

* *: change log level

* *: do not truncate
2017-03-20 17:24:59 +08:00
2aab1cf701 plan: fix bug when aggregation push across union. (#2892) 2017-03-20 16:56:50 +08:00
30fc95ef6d Revert "*: upgrade mysql.user table schema (#2849)" (#2893)
This reverts commit d0ddbaa418d86320b21813d8f8bde45539396787.
2017-03-20 15:22:21 +08:00
d0ddbaa418 *: upgrade mysql.user table schema (#2849) 2017-03-20 14:33:43 +08:00