7056bb0d32
executor, session: refine insert unsigned bigint autoIncreID ( #8181 )
2018-12-18 23:01:10 +08:00
db2127a0dd
ddl: split tests to speed up tests ( #8612 )
...
* ddl: add the db_partition_test
2018-12-13 15:06:04 +08:00
7af338c338
ranger: some code clean up ( #8663 )
2018-12-13 14:01:43 +08:00
9bd1fb8a8d
kvencoder: accelerate kvencoder test executing time ( #8595 )
2018-12-12 13:04:22 +08:00
d3b92e0288
ddl: fix panic when add index of generated column. ( #8620 )
2018-12-11 18:08:18 +08:00
6e2d6c7aa7
ddl: fix cancel drop index error ( #8504 )
2018-12-07 23:29:23 +08:00
93acd10f53
*: add context.Context to NewTxn(), tiny refactor ( #8530 )
2018-12-06 17:45:16 +08:00
c137cada68
*: change golang.org/x/net/context to standard context ( #8579 )
2018-12-05 13:54:00 +08:00
3128e9b98a
*: Hide "Mem" column from SHOW PROCESSSLIST ( #8543 )
2018-12-05 11:42:58 +08:00
d301c16e0e
ddl: fix a bug that cancel add index ddl job when workers are not run, which cause tidb ddl hang up ( #8171 )
2018-11-28 17:10:55 +08:00
322795439d
*: record cop scan rows in explain analyze ( #8423 )
2018-11-28 15:43:59 +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
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
61ee0da103
planner: cleanup prepare cache when client send deallocate ( #8332 )
2018-11-20 12:33:44 +08:00
87b421265e
util/chunk: preallocate the columns array in MutRow to avoid array resize ( #8348 )
2018-11-19 11:04:44 +08:00
3742a0d602
*: Txn() function signature refactor and remove ActivePendingTxn() ( #8327 )
...
* change Txn() function signature to Txn(active bool)
* ActivePendingTxn() is not used any more because Txn() does the work
* change executor builder getStartTS() uint64 to getStartTS() (uint64, error)
2018-11-16 11:10:39 +08:00
0c3e9c1652
session,executor: run statement without transaction ( #8260 )
...
`set @@autocommit = 0`
`select 1` // This statement should not make the session enter a transaction,
because it never need Txn().
Make txn lazy initialize
2018-11-14 20:10:58 +08:00
f7d8ca624a
plan: use Column.UniqueID in conditionChecker of ranger ( #8236 )
2018-11-12 12:45:25 +08:00
09c6bff91c
*: Make use of the upperBound of ticlient's kv_scan interface to ensure no overbound scan will happen ( #8081 )
2018-11-09 18:49:00 +08:00
d125958380
tikvclient: Add endKey param to Scanner ( #8178 )
2018-11-08 18:21:40 +08:00
5d60849c11
chunk: support column pool ( #7971 )
2018-11-07 22:05:28 +08:00
6ccfec6d2e
*: add a variable tidb_query_log_max_len to set the max length of the query string in the log dynamically ( #8183 )
2018-11-06 11:25:11 +08:00
ec693ce502
*: add a variable tidb_slow_log_threshold to set the slow log threshold dynamically ( #8094 )
2018-11-05 14:54:07 +08:00
b7f431e5c3
*: migrate dependency management to Go1.11 module ( #8054 )
2018-11-01 20:54:22 +08:00
32b1dbd8d5
*: rename "github.com/pkg/errors" to "github.com/pingcap/errors" ( #8136 )
...
We import "github.com/pkg/errors" in the code, and actually put
the "github.com/pingcap/errors" there in the vendor path.
That's a dirty hack, and prevent the introduce of Go module.
2018-11-01 16:09:07 +08:00
9ec7515743
*: Add few error checks in tests, clean error messages and fix a misspell ( #8101 )
2018-10-31 18:50:43 +08:00
89dda9d9a8
*: move parser to a separate repository ( #8036 )
2018-10-25 11:12:10 +08:00
1434fa9b89
admin: refine admin check decoder ( #7862 )
2018-10-23 17:55:58 +08:00
edaec7bdaf
*: move Statement and RecordSet from ast to sqlexec package ( #7970 )
2018-10-21 13:21:26 +08:00
562b917356
util: add PreAlloc4Row and Insert for Chunk and List ( #7916 )
2018-10-18 20:38:48 +08:00
bfc12cd8de
util: move disjoint set to util package ( #7950 )
2018-10-18 20:23:45 +08:00
458c0d1c27
executor: refine explain analyze ( #7888 )
2018-10-16 20:02:43 +08:00
1bb15f14fa
admin: fix admin check table bug of byte compare ( #7887 )
...
* admin: remove reflect deepEqual
2018-10-16 18:24:58 +08:00
660191c5d7
util/timeutil: fix data race caused by forgetting set stats lease to 0 ( #7901 )
2018-10-16 15:45:08 +08:00
19e4e2fa9f
expression: MySQL compatible current_user function ( #7801 )
2018-10-16 13:53:07 +08:00
d21f294393
*: make explain support explain anaylze ( #7827 )
2018-10-12 20:01:19 +08:00
fd71236e41
ddl: fix alter add index on virtual column bug ( #7575 )
2018-10-10 13:50:20 +08:00
7623899b62
util: refine chunk.SwapColumn to rebuild the column reference ( #7841 )
2018-10-09 14:26:55 +08:00
5baedaa21c
expression, types: fix some corner case when parsing string to datetime ( #7701 )
2018-10-08 10:35:52 +08:00
bb8ba440e8
admin: fix admin check table compare bug ( #7818 )
2018-09-30 11:42:06 +08:00
8917a15fe1
util/timeutil: fix get tz at mojave ( #7784 )
2018-09-27 09:43:18 +08:00
05b37de16e
*: use chunk grow for simple executor ( #7540 )
2018-09-27 09:07:51 +08:00
1f84db5cd7
add windows build support ( #7773 )
2018-09-26 17:09:13 +08:00
e79bd946ed
*: change package name from plan to planner ( #7760 )
2018-09-25 11:16:39 +08:00
038ac639ba
expression: ECB/CBC modes with 128/192/256-bit key length for AES ( #7425 )
2018-09-23 22:09:02 +08:00
cc09ecab22
util: add WithRecovery util method ( #7666 )
2018-09-20 20:21:02 +08:00
29441950a3
*: write system timezone into mysql.tidb in bootstrap stage. ( #7638 )
2018-09-14 22:15:00 +08:00
cb03f2bec1
move from juju/errors to pkg/errors ( #7151 )
2018-09-12 15:42:20 +08:00
27047a0e2f
executor: remove *MVMap from agg executor ( #7541 )
2018-09-11 21:31:48 +08:00
8b1feeb9d4
Add two buildin function ( decode and encode) ( #7622 )
2018-09-10 18:48:15 +08:00