Commit Graph

8026 Commits

Author SHA1 Message Date
322795439d *: record cop scan rows in explain analyze (#8423) 2018-11-28 15:43:59 +08:00
419c881207 domain: stop schema validator to prohibit DML executing when tidb lost session of etcd (#8441) 2018-11-28 14:04:57 +08:00
H
bb7bb14fc3 support system variable wait_timeout. (#8245) (#8346) 2018-11-28 11:53:07 +08:00
e5dc251dd3 ddl: fix concurrent access to do.infoHandle has a data race error (#8287) 2018-11-27 22:14:37 +08:00
e2e8d67819 table, executor: set a real enum as the default enum value (#8469) 2018-11-27 20:33:12 +08:00
73c91738d7 executor: privilege check USE command (#8418) 2018-11-27 19:06:17 +08:00
654964a35b server: close connection when tidb server closed. (#8446) 2018-11-27 17:51:47 +08:00
cadab30b4a domain,session: simplify the session pool of domain (#8456) 2018-11-27 16:09:55 +08:00
1927cd9a30 session: release datum memory after transaction finished (#8458) 2018-11-27 15:37:12 +08:00
487bb50390 planner, executor: fix tp.Flen size when union with castIntAsString (#8442) 2018-11-27 11:35:52 +08:00
0ac0e154d9 planner, executor: fix PREPARE FROM @var_name (#8437) 2018-11-27 11:00:41 +08:00
0d005a0b56 executor: fix overflow error message of update (#8457) 2018-11-27 09:11:33 +08:00
a3e25b2f8f ddl: add some test code to mock genGlobalID fail (#8440) 2018-11-26 23:16:36 +08:00
5035e48bb5 executor, sessionctx: add checks for system variable validate_password_xxxx (#8227) 2018-11-26 23:03:37 +08:00
7a88c33a67 executor,planner: Improve SET PASSWORD (#8426) 2018-11-26 22:19:51 +08:00
cd7e27d6ee sessionctx: Set foreign_key_checks = OFF (#8358) 2018-11-26 21:57:30 +08:00
cb64314131 session: add current DB to CRUCIAL OPERATION log (#8447) 2018-11-26 21:24:44 +08:00
8be09da457 stats: fix panic when dumping stats (#8448) 2018-11-26 21:08:02 +08:00
7ab61d85ce executor: improve SHOW commands compatibility (#8417) 2018-11-26 20:39:56 +08:00
1f46efe156 expression: add builtin function JSON_DEPTH (#8347) 2018-11-26 20:25:59 +08:00
18503e469d server: integrate trace format view tool to the web UI (#8430)
trace output a json format data, now it can be visualized in
http://localhost:10080/web/trace
2018-11-26 19:29:07 +08:00
4149000582 planner/core, expression: don't pushdown filters contains set or get var (#8412) 2018-11-26 16:31:17 +08:00
87838774e6 types: let round take effect in converting float string to int string. (#8279) 2018-11-26 15:55:11 +08:00
4b55ad0374 planner/core: support the optimize function for cascades planner (#8400) 2018-11-26 14:50:26 +08:00
b1f0401554 add vendor folder to .gitignore (#8316) 2018-11-26 13:56:51 +08:00
1e0876fe81 server/http: fix scatter table API and add document (#8424) 2018-11-23 19:47:36 +08:00
84d1299bb2 config, util.kvcache: support the memory guard to prevent OOM for the plan cache (#8339) 2018-11-22 22:05:04 +08:00
bb1f239516 http: add http api for get db and table info that is related to the tableID (#8256)
* http: add http api for get db and table info that is related to the tableID
2018-11-22 21:52:05 +08:00
e69aa2749b server: unix socket should verify user's authentication (#8381) 2018-11-22 13:43:38 +08:00
f085f4fee4 admin: admin check table/index using tidb_snapshot (#8172)
* admin: admin check table/index support snapshot
2018-11-22 12:21:53 +08:00
01ca08b8c2 infoschema: Add missing i_s.files columns (#8387) 2018-11-22 11:35:59 +08:00
01f533a59f store/kv: fix panic for EOF-stream & add recover to copIterateWorker (#8297) 2018-11-22 10:58:56 +08:00
89cd59d217 planner/core,session: fix privilege check for update (#8376)
In the statement: "update t1,t2 set t1.id = t2.id"
TiDB should check update privilege for t1 and select privilege for t2,
Fix a bug that it checks update privilege for both t1 and t2
2018-11-21 18:15:13 +08:00
c16a22ac01 Update dockerfile (#8363) 2018-11-21 17:41:27 +08:00
6bed56db1f expression: support JSON return type in case expression (#8355) 2018-11-21 14:07:05 +08:00
6fb260f8a6 *: redesign trace statement with json output (#8357) 2018-11-21 13:50:18 +08:00
c99b1c821a executor: fix hash join sqllogic test block (#8374) 2018-11-21 13:01:48 +08:00
84cf2195b2 readme: update ETL description (#8369)
Related comment: https://github.com/pingcap/docs/pull/677#issuecomment-430252483
2018-11-21 10:16:08 +08:00
012cb6da94 docs/design: add the table partition proposal (#7969) 2018-11-20 16:20:53 +08:00
e11859e653 *: support creating a hash partitioned table (#8026) 2018-11-20 16:15:09 +08:00
4ff58ea3b2 domain: make TestSchemaValidator stable (#8334) 2018-11-20 15:36:25 +08:00
3e0e7d5a69 plan: support subquery in Do statement (#8343) 2018-11-20 14:10:24 +08:00
61ee0da103 planner: cleanup prepare cache when client send deallocate (#8332) 2018-11-20 12:33:44 +08:00
c5bd5b6b84 executor: make sure hashjoin's goroutine exit before Close return (#8338) 2018-11-20 11:49:42 +08:00
8ddbd7062e session: fix bootstrap error in ANSI sql_mode (#8353) 2018-11-20 11:25:49 +08:00
c84537dc94 ddl: fix drop database bug if the database has partition table (#8319) 2018-11-19 14:21:13 +08:00
87b421265e util/chunk: preallocate the columns array in MutRow to avoid array resize (#8348) 2018-11-19 11:04:44 +08:00
e8d0f210d3 ddl: add check when build enum, set column (#8003) 2018-11-16 21:14:51 +08:00
89db1bab64 planner/core: derive StatsInfo lazily. (#8336) 2018-11-16 17:56:42 +08:00
b4746797fc *: clone AggDesc before modifying its Mode in AggDesc.Split (#8328) 2018-11-16 15:53:22 +08:00