Commit Graph

787 Commits

Author SHA1 Message Date
12dbd32854 *: rename NewRange to Range. (#6368) 2018-04-25 13:13:04 +08:00
05bbffec0f *: remove IntColumnRange. (#6366) 2018-04-24 19:37:26 +08:00
5da8ac0957 *: make session variables control TiKV layer. (#6322)
And add a system variable `tidb_backoff_lock_fast` to change the backoff base time on read lock.
2018-04-20 16:06:34 +08:00
e97d17d96f util/printer: add race enabled in TiDBInfo (#6311)
Makes it easy to check if the binary is build with race.
2018-04-19 21:53:22 -05:00
5725b43c83 *: remove useless ExprType (#6313) 2018-04-18 18:56:43 +08:00
860e808e07 expression: remove mockKVClient (#6299) 2018-04-17 16:11:58 +08:00
c6258e3aeb kvencoder: fix allocator rebase to a smaller newBase (#6296) 2018-04-17 11:29:17 +08:00
27fa552fa6 *: show memory usage in "show processlist" (#6266) 2018-04-12 11:44:50 +08:00
f994f4f987 *: clean up MvccStore in mocktikv (#6256)
* *: clean up MvccStore in mocktikv
2018-04-11 10:30:27 +08:00
e2269bed01 *: make query feedback compatiable with tikv (#6257) 2018-04-10 21:09:25 +08:00
9382be808f ddl: wait for 2*lease when finishing delete-reorg in a rollback operation (#6226) 2018-04-08 23:57:56 +08:00
67f920a650 executor: Improve the aesthetics of code review (#6137) 2018-03-31 17:06:19 +08:00
c398110154 *: improve performance of DecodeBytes in DecodeOneToChunk (#6135) 2018-03-29 19:11:44 +08:00
4f991afb10 *: session context passed to newBaseBuiltinFuncWithTp should not be nil (#6178) 2018-03-29 16:12:36 +08:00
2264ce4999 util/stringutil: Improve the aesthetics of code review (#6177) 2018-03-29 13:08:37 +08:00
936d7b7d29 executor, memory: detach from parent when executor is closed (#6148) 2018-03-28 15:52:34 +08:00
9ca8689582 types: handle truncate error in BinaryLiteral.ToInt (#6163)
Truncate error make be treated as warning, we should handle it in `BinaryLiteral.ToInt`.

And compare BinaryLiteral directly instead of converting to uint64 because that the compare function doesn't have statement context.
2018-03-28 14:44:53 +08:00
0dd2ee5208 *: Support "show grants for current_user();" (#5697) 2018-03-28 00:45:59 +08:00
defccc1acd executor: fix admin check table bug when the column is nil and has a default value (#6142) 2018-03-27 17:35:21 +08:00
c0697f5cb0 kvencoder: fix data race on plan.PreparedPlanCacheCapacity (#6159) 2018-03-27 16:48:25 +08:00
63a816cc44 util/ranger: Improve the aesthetics of code review (#6144) 2018-03-25 23:55:06 -05:00
e469fab346 kvencoder: add GetSystemVariable and SetSystemVariable to KvEncoder, to get/set system variable (#6136) 2018-03-23 17:44:59 +08:00
501de19821 stats: add average column size for the histogram (#5974) 2018-03-23 13:44:24 +08:00
0a70557cea memory: fix data race on concurrent access of Tracker.children (#6108) 2018-03-22 00:26:49 +08:00
f287451eed tidb: move tidb/*.go to session directory (#6062)
This change makes our top level directory clean.
2018-03-20 09:06:11 -05:00
eec1c524dc util: refine Row.GetDatum when tp is MyDecimal (#6087) 2018-03-19 17:11:07 +08:00
6d133085bc infoschema: fix not null flag does not work (#6048) 2018-03-19 15:10:38 +08:00
c2c85b3102 executor, util: refine row.GetMyDecimal (#6077) 2018-03-16 22:55:16 +08:00
6a826fd0aa *: collect query feedback (#5909) 2018-03-12 15:37:09 +08:00
1cb6f19384 distsql: add unit test for distsql.go (#5928) 2018-03-12 14:10:03 +08:00
a90ee13c9f config: update config template (#5963)
* update config template
2018-03-07 10:56:45 +08:00
50e98f427e config: add validation for configuration (#5864) 2018-03-06 14:56:28 +08:00
ad814b0d6c executor, util: employ memory Tracker to track memory usage during query execution (#5826) 2018-03-06 11:02:09 +08:00
89dd754579 *: Improve code readability and unified aliases (#5958) 2018-03-06 10:25:18 +08:00
9f40ef7c9b ranger: remove invalid interval when building range. (#5939) 2018-03-03 09:14:11 +08:00
11023636aa util: update tikv version (#5930) 2018-03-01 19:30:12 +08:00
bf5cae2074 *: support stream agg on TiKV (#5725)
* *: support stream agg on TiKV
2018-03-01 12:51:01 +08:00
45dc066401 codec: improve the performance of decoding decimal (#5921) 2018-02-28 20:21:31 +08:00
e1121814d2 *: don't import golang.org/x/net/context as goctx alias (#5895)
Now that there is no conflict with sessionctx.Context, this can be
import directly
2018-02-24 03:40:56 -06:00
12c87929b8 *:fix some golint && ineffassign && misspell to improve GoReport Result (#5867) 2018-02-23 19:31:05 +08:00
aeb6c771e1 *: Update go version (#5885)
update go version to 1.10 and re-format with newest gofmt
2018-02-22 04:47:42 -06:00
4e1a114e68 *: move package context to sessionctx (#5890) 2018-02-22 18:03:38 +08:00
d9e16e104f *: Cleanup code (#5852) 2018-02-12 23:17:03 +08:00
f3b8b04b69 util/admin: clean up and add comparing table and index count func (#5869) 2018-02-12 18:27:18 +08:00
353d0adb8a util/systimemon: add keep alive metrics, used to figure out tidb instance is down. (#5847) 2018-02-12 17:34:02 +08:00
de9c192cba *: move mocktikv from tikv pkg (#5834) 2018-02-08 23:31:29 +08:00
c92b3056c0 *: refine code for StmtTxn (#5763) 2018-02-08 07:07:12 -06:00
59720b6313 util: add GoVersion info for tidb_version (#5828) 2018-02-08 18:27:31 +08:00
274a344ad1 server: fix sub query error in prepare statement (#5761) 2018-02-06 06:49:38 -06:00
8cc9e45f41 variable,printer: add a session variable to show configuration. (#5784) 2018-02-05 22:54:41 +08:00