Commit Graph

411 Commits

Author SHA1 Message Date
4e1a114e68 *: move package context to sessionctx (#5890) 2018-02-22 18:03:38 +08:00
de9c192cba *: move mocktikv from tikv pkg (#5834) 2018-02-08 23:31:29 +08:00
24333b3b29 *: don't record binlog when statement rollback (#5699) 2018-01-25 06:50:57 -06:00
88b8740724 *: avoid the generation of mysql.TypeNewDate (#5705) 2018-01-23 21:41:02 +08:00
45d916b445 tables: Rename a variable (#5673) 2018-01-18 23:09:31 +08:00
bdf15d5ec7 table: refine utf8 error message. (#5667) 2018-01-17 20:20:28 +08:00
f57b8438bc table: index.addindices reuse temp buffer (#5600) 2018-01-17 05:32:30 -06:00
ca97bfffe0 tables: when importing data, table.AddRecord has no needs to use temp BufferStore. (#5617) 2018-01-15 15:13:23 +08:00
31b606d30d executer: optimization for insert ignore (#5508) 2018-01-12 11:09:25 +08:00
5db9ac2506 types,util/chunk: refactor Time for Chunk. (#5571) 2018-01-09 10:12:27 +08:00
e9b450aa0a table: InsertExec eliminate unnecessary CastValue. (#5581) 2018-01-08 19:21:04 +08:00
ee3c30fa65 table: store writableIndices in Table, avoid unnecessary operations. (#5580) 2018-01-08 16:55:34 +08:00
eddff3429a *: importing data reduce memory allocations. (#5549) 2018-01-07 12:48:07 +08:00
ecbd60c3ff *: add arguement StatementContext to Encode functions. (#5566) 2018-01-06 17:31:08 +08:00
8b149c3323 Prealloc / collides with package name (#5560) 2018-01-05 19:15:54 +08:00
04ef7d7992 *: shard implicit row ID (#5513) 2018-01-04 16:32:41 +08:00
36d9b61365 *: AddIndex skip checking unique constraint when TiDB is importing data. (#5535) 2018-01-02 20:08:49 +08:00
970e5b5684 *: replace JSON with BinaryJSON (#5460) 2017-12-21 15:20:17 +08:00
f1e89cde19 *: use lower-case of github.com/sirupsen/logrus (#5400)
*: rename github.com/Sirupsen/logrus to github.com/sirupsen/logrus

* vendor: update pd

* vendor: update github.com/pingcap/tipb/go-mysqlx
2017-12-14 16:25:58 +08:00
3674523cfb *: replace binary-tree library from petar/GoLLRB to google/btree. (#5335) 2017-12-07 18:12:35 +08:00
5f468489ab util: add kvencoder package, make transfer sql to key-values be possible. (#5236) 2017-11-29 18:01:31 +08:00
ae9d7f5dab *: set session variable MaxChunkSize to 2 for test (#5238) 2017-11-28 13:48:36 +08:00
fb610e6429 *: change executor Next() interface to Next(goctx.Context) (#5223) 2017-11-26 21:17:33 -06:00
ee7b0853bb table: tiny clean up and add logs (#5186)
* table: tiny clean up and add logs
2017-11-22 20:12:17 +08:00
f828016e9f *: move sessionctx/domainctx.go to domain package (#5168) 2017-11-22 13:41:58 +08:00
8b15cb52b7 *: move StatementContext to its own package. (#5177) 2017-11-22 00:11:14 +08:00
c459da6887 *: refactor executor.checkHandleExists to tables.CheckHandleExists to reuse code (#5157) 2017-11-20 16:50:22 +08:00
a220cff85e ddl: Deal with discrete handles (#5102)
* ddl: deal with discrete handles
2017-11-19 21:30:06 -06:00
14ed94132c executor: fix issue #5132, update handle id with some other unique keys report Duplicate keys. (#5138) 2017-11-20 11:06:28 +08:00
81652dbeef *: remove returned value isNull in Row methods. (#5131) 2017-11-17 11:12:41 +08:00
cf5a22b5fd *: replace *ast.Row with types.Row (#5124) 2017-11-16 18:36:28 +08:00
0977fd07e6 *: begin opentracing from dispatch() and change interface to Execute(ctx, sql) (#5027) 2017-11-07 02:52:15 -06:00
62433663e5 util/types: change types path (#5007)
* util/types: change types path
2017-11-04 10:37:14 -05:00
37681cf435 *: opentracing for two phase commit (#4900) 2017-10-26 17:43:45 +08:00
2ddcc2b16b *: don't use localstore for test. (#4728) 2017-10-10 11:11:31 +08:00
c2691114b4 *: check errors part 2 (#4704) 2017-10-09 12:46:45 +08:00
665f62929d *: make "unconvert" happy (#4700) 2017-09-30 15:53:01 +08:00
d782ce103e table: Speed up the add index operation (#4632) 2017-09-28 12:28:35 +08:00
a6756a4eee *: make insert with calculated value behave the same as MySQL. (#4603) 2017-09-27 19:59:31 +08:00
6f84392d40 *: optimize SortExec (#4622)
* *: change key of orderByRow from "key []types.Datum" to "key []*types.Datum"

* address comment
2017-09-25 19:50:26 +08:00
d2d14d8c48 *: 1. remove expression/typeinfer.go entirely (#4611)
2. remove the validator of sql like 'insert into t set a = 1, b = a'
2017-09-22 20:27:03 +08:00
a764561dac *: Speed up the add index operation (#4579) 2017-09-22 18:24:03 +08:00
214558629e table: fix first key (#4572) 2017-09-19 18:31:54 +08:00
339c93e5f9 add real tables for global/session status in performance schema (#4523) 2017-09-18 17:10:34 +08:00
1fc56d3375 perfschema: remove performance schema instrumentation. (#4516)
Since we have prometheus, perfomance scheme instrumentation is not needed.
We only need to keep table definitions for compatibility.
2017-09-13 19:03:12 +08:00
88e1666ac6 *: change the log package to logrus (#4452) 2017-09-08 00:45:07 -05:00
fc209cb1df *: rewrite hex and bit literals (#4415) 2017-09-07 16:28:24 +08:00
ea29a1c30d expression: Support more types when getting default flen and decimal (#4236) 2017-08-28 02:26:07 -05:00
9367fdddd4 show column comment, table auto-increment; change index default collation (#4303)
* - 1. change index default collation from "utf8_bin" to "A".
- 2. show column comment. fix #4224.
- 3. show table auto-increment. fix #3747.
2017-08-26 17:45:03 -05:00
881d76840b plan,executor: calculate generated columns in CRUD. (#3951) 2017-08-23 14:52:43 +08:00