Commit Graph

8026 Commits

Author SHA1 Message Date
eba15dc3f5 Add length check to prevent index out of range (#4864) 2017-10-23 00:21:34 -05:00
ed7f68ca9b *: Add Row interface (#4859) 2017-10-23 11:36:28 +08:00
befb615245 parser: parse PARTITION BY RANGE COLUMNS (#4852)
Fix issue https://github.com/pingcap/tidb/issues/4844
2017-10-22 22:27:17 -05:00
ed6c704909 gc_woker: start safePointChecker before run worker. (#4845) 2017-10-22 20:39:41 -05:00
4867bcfa3e expression: fix a bug occured in select sum(float col)*0.1 (#4854)
* expression: fix a bug occured in select sum(1.2e2)*0.1
2017-10-20 20:42:28 -05:00
e15238423f executor, plan: add cast for the expr of assignments of updateList (#4850) 2017-10-20 08:58:33 -05:00
620d13719d *: fix glide.lock conflict (#4846) 2017-10-20 20:00:09 +08:00
3d28900fee Update go version in travis.yml (#4843) 2017-10-20 02:05:05 -05:00
7afae3f89c *: support write slow query log into seperate files (#4804) 2017-10-20 14:22:10 +08:00
c089d3e37b makefile: Makefile add buildflag (#4836) 2017-10-19 21:54:05 -05:00
1b87bc1d55 executor: fix a select bug when handle is MaxInt64 (#4835) 2017-10-19 21:38:55 -05:00
c49c2d333d inspectkv: rename package inspectkv to admin (#4815) 2017-10-19 21:33:24 -05:00
2f16fe0578 add unsigned and zerofill to field type year (#4832) 2017-10-19 21:18:32 -05:00
62c7238ee2 vendor: dependency for opentracing related packages (#4834) 2017-10-19 11:16:32 -05:00
b45890ab6e plan: fix distinct bug. (#4828) 2017-10-19 18:38:55 +08:00
5872b0265f travis: update go versions (#4811) 2017-10-19 17:10:21 +08:00
e035f66dcd statistics: change the dnv of default null column to 0 (#4825) 2017-10-19 15:46:21 +08:00
16eb0ae33b executor: fix bug when auto_increment meets unsigned. (#4824) 2017-10-19 15:31:16 +08:00
6a8225787f *: update job state name (#4818) 2017-10-19 14:44:57 +08:00
f1c82ac71f ddl: update reorg wait time (#4808) 2017-10-19 00:18:12 -05:00
d624b69a35 update mysqlx driver (#4806) 2017-10-19 12:30:40 +08:00
1a987dd825 *: Support the operation of cancel DDL jobs (#4753)
* *: support cancel the DDL job
2017-10-18 22:28:04 -05:00
3d6ec2a362 expression: correct the signature building of Values (#4814) 2017-10-18 21:23:07 -05:00
8643b2b428 *: add an shell script to make checkout PR branch easier. (#4794)
When a PR is not trivial, we need to checkout the branch to review the PR, this scripts makes this task easier.
2017-10-17 21:28:24 -05:00
6e63f3890a stats: add metrics for auto analyze (#4793) 2017-10-17 19:10:35 +08:00
e9949b4f2d plan: estimate ndv more precisely. (#4797) 2017-10-17 18:16:05 +08:00
b9bf914312 *: dummy implementation for show profiles statement (#4795)
* *: dummy implementation for show profiles statement

* address comment
2017-10-17 03:27:12 -05:00
d5a26905ef parser: add int1, int2, int3, int4, int8 type support (#4803) 2017-10-17 03:15:33 -05:00
e452dc51aa *: add schema state check (#4801) 2017-10-17 15:52:20 +08:00
0bf3614abe tidb/tikv: return MySQL error code for Unsafe SafePoint (#4786) 2017-10-17 00:40:01 -05:00
21c21973c0 executor: make slow-query log more terminal friendly (#4764) 2017-10-16 06:03:03 -05:00
f4e08c15f4 update badge color to green (#4777) 2017-10-15 23:25:42 -05:00
518a5b81c8 *: update version to 1.0.0 (#4776)
* *: update version to 1.0.0
2017-10-15 22:48:12 -05:00
4bfa5faf63 executor: Add unit test case for ShowExecutor. (#4763) 2017-10-16 10:50:14 +08:00
7f0f43a761 plan: estimate ndv as pseudo when its value is zero (#4769) 2017-10-16 10:46:00 +08:00
c2dc0e9e43 tidb-server: Setup binlog client before create domain (#4775) 2017-10-15 20:41:06 -05:00
a34964a36a *: improve the column info for client (#4770)
Add table/database info in the response message.
2017-10-15 08:27:13 -05:00
ce9888bb52 Update the statements on README (#4774) 2017-10-15 03:22:10 -05:00
64bc8cb6cb expression: remove "self" field in "baseBuiltinFunc" completely (#4766)
* expression: remove "self" field in "baseBuiltinFunc" completely

* address comment
2017-10-13 04:55:25 -05:00
2efa9bacde plan: fix bug about copy function. (#4765) 2017-10-13 16:23:57 +08:00
95a6e1e720 ranger: split detach process from BuildRange. (#4741) 2017-10-12 11:22:18 -05:00
bd8942829a stats: fix bug when convert time to scalar (#4760) 2017-10-12 05:19:33 -05:00
60626912a7 expression, plan: remove "foldable" from "baseBuiltinFunc" (#4759) 2017-10-12 04:03:54 -05:00
e488bcc23d expression: some builtin functions can be folded (#4756)
* expression: unix_timestamp, utc_timestamp can be folded

* add mores exprs

* add non-cacheable functions
2017-10-12 01:18:26 -05:00
a5266d6621 stats: fix bug when build histograms for columns (#4757) 2017-10-12 13:28:12 +08:00
d88344f869 plan, tidb: support plan cache for SELECT statement (#4644) 2017-10-11 22:34:04 -05:00
182476ea0f stats: fix bug when merge sample collectors (#4752) 2017-10-11 22:05:47 -05:00
51a6e6fc48 *: fix ineffectual assignments #4713 (#4746) 2017-10-11 21:26:03 -05:00
83ace4f748 expression: return NULL when error is not nil (#4749) 2017-10-11 03:38:03 -05:00
c0bc20a217 privilege/privileges: use pattern match to check dbRecord in mysql.db (#4733)
grant all privileges on `te%`.* to 'user'@'host';
This will create a record in mysql.db, all databases with name prefix 'te'
(such as 'test', 'temp') will be available to 'user'@'host'
2017-10-11 03:13:42 -05:00