Commit Graph

8026 Commits

Author SHA1 Message Date
f2f473d02e executor: little improvement for multi-delete. (#4742) 2017-10-11 01:59:54 -05:00
da2463fcc1 add mysqlx driver (#4748) 2017-10-11 00:28:30 -05:00
7d2804e43c *: check sc.IgnoreZeroInDate when parsing string or number to date/datetime/timestamp (#4732) 2017-10-10 23:38:53 -05:00
2eab78fddc privilege/privileges: fix show grants display empty entries (#4734) 2017-10-10 20:23:08 -05:00
b1a3244e73 plan: use single method to set parent and children. (#4738)
Fix a few places where parents is not set properly.
and reduce the risk to forget to set parents in the future.
Physical plan is not handled since they don't need to set parents.
2017-10-10 06:25:02 -05:00
7767adc9e6 tidb: keep a record of user information in logCrucialStmt (#4736) 2017-10-10 04:40:07 -05:00
a7aaa64c76 parser: parse error compatible (#4238) 2017-10-10 13:00:56 +08:00
3e1d036336 *: log the caller of "terror.Log()" (#4729) 2017-10-10 11:26:43 +08:00
a8db31dc49 plan: set proper parent for newly projection-eliminated child (#4730) 2017-10-10 11:17:48 +08:00
2ddcc2b16b *: don't use localstore for test. (#4728) 2017-10-10 11:11:31 +08:00
e9ffb58a3b status: add new http status API for get meta regions. (#4597) 2017-10-09 22:00:49 -05:00
e11c4fbaad expression, plan: improve fold constant (#4721)
* improve fold constant

* remove useless code

* remove useless argument

* address comment
2017-10-09 17:43:13 +08:00
64b5bc8ccd mysql,ddl: fix #4684, unsigned integer column length is not consistent with MySQL (#4693) 2017-10-09 17:24:37 +08:00
550537a2ce util/systimemon: check system time jump by comparing UnixNano (#4725)
After Go1.9, time.Sub() compare time using monotime, so it can't be
used to check system time jump.
2017-10-09 17:20:32 +08:00
9c2ea17722 *: enforce errcheck in Makefile (#4724)
checks all errors and enable errcheck in Makefile

Fixes https://github.com/pingcap/tidb/issues/4668
2017-10-09 17:16:10 +08:00
55968b2a3e *: open auto analyze (#4722) 2017-10-09 17:01:47 +08:00
af9b092537 session_test: move tests (#4699) 2017-10-09 03:38:09 -05:00
856aa41963 store/tikv/mocktikv: rpc handler should put error in response instead of return it (#4723) 2017-10-09 15:54:40 +08:00
ee353996d4 ddl, store: move the ddl dependency from tikv pkg. (#4720) 2017-10-09 15:35:42 +08:00
f9306debd8 session_test: move tests. (#4719) 2017-10-09 15:31:00 +08:00
0d0685aae4 Refactor parser: Avoid some assertion for StmtNode (#4705) 2017-10-09 15:27:40 +08:00
56ddb408fa executor: remove monotime package dependency (#4715) 2017-10-09 14:43:56 +08:00
e647ad2d61 localstore: Fix make check shadow (#4718) 2017-10-09 14:31:42 +08:00
8ebe541ac8 session_test: move some tests. (#4701) 2017-10-09 13:28:28 +08:00
c2691114b4 *: check errors part 2 (#4704) 2017-10-09 12:46:45 +08:00
17b3a377f0 expression: use ParseTimeFormNum instead of ParseTime (#4706) 2017-10-09 12:10:24 +08:00
9f3e7830fa *: Dockfile upgrade to golang:1.9 (#4717)
See https://github.com/pingcap/tidb/pull/4527 Bumping golang version to 1.9.
2017-10-09 11:34:13 +08:00
ca05619cdf expression: enforce error check (#4716) 2017-10-08 22:29:07 -05:00
2c90dd0ca8 exectuor: fix data race in test (#4714) 2017-10-08 22:07:02 -05:00
a3ce471b0d parser: Avoid type assert for ast.ExprNode (#4710) 2017-10-09 10:24:22 +08:00
1c99d41ca2 expression: Quit builtin function SLEEP when KILLed. (#4708) 2017-10-08 21:12:36 -05:00
ca048c0582 statistics: Correct comments mistakes. (#4711)
* statistics: Correct comments mistakes.
2017-10-05 20:40:01 +06:00
95b0bc868c Improve CONTRIBUTING.md documentation. (#4707) 2017-10-03 22:57:34 +08:00
eb8df3519a *: prepare to enforce errcheck, part1 (#4670) 2017-09-30 16:23:37 +08:00
665f62929d *: make "unconvert" happy (#4700) 2017-09-30 15:53:01 +08:00
8a28b7be4a session_test: move tests. (#4695)
* session_test: move tests.

* address comment
2017-09-30 15:24:24 +08:00
f40b63fcee store/tikv: upgrade pd-client. (#4694) 2017-09-30 02:18:20 -05:00
883b9aea5d *: open analyze push down (#4698) 2017-09-30 13:48:36 +08:00
545ceb7aec *: close agg push down by default and remove cbo switch (#4696) 2017-09-30 13:43:21 +08:00
e6360b1efc *: support SyncLog kv request option (#4689) 2017-09-30 00:15:54 -05:00
3f4bdf6150 expression: rewrite unit test for Minus and Plus (#4691)
* expression: rewrite unit test for Minus and Plus

* move code
2017-09-30 11:47:26 +08:00
28d6602c1c session_test: move test for last insert id. (#4688) 2017-09-30 11:02:38 +08:00
319f9e16f5 session_test: move some tests. (#4692) 2017-09-29 21:30:18 -05:00
c11f246d32 session_test: move tests. (#4685) 2017-09-29 18:34:10 +08:00
407719e79b executor: change to structured slow log for friendly JSON output (#4657) 2017-09-29 18:19:23 +08:00
0a6b91691f ddl: rename table name for test add/drop index. (#4675) 2017-09-29 17:11:21 +08:00
ca7403a814 parser: refactor parser step2 (#4652)
Refactor expression syntax to use MySQL naming and structure.
Partially fix issue #4026
2017-09-29 15:34:03 +08:00
a6b5c666c5 *: support NotFillCache kv request option (#4658)
If TiDB send a request with NotFillCache option, the LRU cache of underlying
storage will not be touched. select statement with SQL_NO_CACHE will use it.
2017-09-29 02:06:38 -05:00
ca35018bf1 session_test: move test (#4679) 2017-09-29 11:38:59 +08:00
b4ad894b0a expression, plan: do come code clean and make golint happy (#4681) 2017-09-29 10:35:47 +08:00