b5bb7fee67
table, executor: fix the data race of the partition table's hashcode ( #13421 )
2019-11-15 00:08:24 +08:00
ff6a4f7e8f
kv: add error code for package kv ( #12866 )
2019-11-01 15:13:27 +08:00
36f0f37b40
expression, planner: remove some fields from `expression.Colum… ( #12573 )
2019-10-29 15:48:26 +08:00
cf6dd376a3
table: avoid write untouched index in auto commit and avoid get untouched index key from tikv ( #12609 )
2019-10-14 11:02:54 +08:00
01cddf63d9
dml : Multiple rows insert in a statement should have consecutive autoID if needed. ( #11876 )
...
* consecutive id
* add AllocN interface func for util/kvencoder/allocator.go
* fix allocN test
* fix allocN tests
* fix allocN test 1
* fix allocN test 2
* fix allocN test 3
* fix allocN test 4
* fix cache
* add auto consecutive increment id in insert executor
* add auto consecutive increment id comment in insert executor
* try fix test case
* fix session_test.TestAutoIncrementID autoid overflow
* fix session_test.TestAutoIncrementID unsighed autoid overflow
* fix autoid usigned computing overflow
* fix conflict with suli's PR
* fix index out of range
* merge similar function
* delete fillRowLazy
* fix commment
* fix bug of rebase
* fix auto.go maxUint64 will be allocated
* fix maxInt64 autoid allocated
* fix batch rowIdx update
* add maxUint64 and maxInt64 limit in allocN
* reconstruct the autoid lazy alloc
* fix format
* remove commnet
* use new kind of logutil.logger(ctx) instead of logutil.BgLogger()
* combine alloc() and allocN together
* remove cache of hasValue
* remove cache of hasValue
* remove cache of hasValue
* remove cache of hasValue
* add test : autoID can find in retryInfo
* add test : autoID can find in retryInfo
* extract retry logic
* extract retry logic
* Update executor/insert_common.go
Co-Authored-By: bb7133 <bb7133@gmail.com >
* Update executor/insert_common.go
Co-Authored-By: bb7133 <bb7133@gmail.com >
* fix comment
* fix comment
* fix comment
* fix comment
* fix comment
* return min and max instead of slice in alloc autoid
* return min and max instead of slice in alloc autoid
* return min and max instead of slice in alloc autoid
* add comment for alloc N
2019-10-10 10:34:44 +08:00
933f4a5c21
ddl: fix incorrect origin default bit value in ColumnInfo ( #12168 )
2019-09-30 10:40:11 +08:00
41ac571d7b
*: remove the LightningMode from TiDB ( #12466 )
2019-09-29 15:12:01 +08:00
e2b1f7eff8
expression: change the String() method of expression.Column ( #12089 )
2019-09-16 14:30:22 +08:00
fb683bef2c
executor: refactor union scan and dirty table ( #11702 )
2019-09-12 10:00:45 +08:00
64298f0278
*: refactoring the code of batchChecker ( #12108 )
...
batchChecker is difficult to maintain, we should get rid of it.
In this commit, I catch the BatchGet result into the snapshot, in this way we can
achieve the same goal as the batchChecker
2019-09-10 16:36:49 +08:00
756e891ca6
table: Encode/Decode handle faster by reducing escaped variables ( #11982 )
2019-09-03 08:08:35 +08:00
727d73670d
kv, store: simpilify lazy condition pair ( #11816 )
2019-08-26 15:48:54 +08:00
adb3071c90
*: refine the attribute definition of types.Time and types.Dur… ( #11672 )
2019-08-14 11:30:40 +08:00
d210889a6c
*: trace the execution of the insert operation ( #11667 )
2019-08-09 14:22:03 +08:00
0dc91069d8
table: avoid redundant encode in insert/update/delete. ( #11532 )
2019-08-07 10:16:48 +08:00
129c0afdc6
executor, infoschema: fix display of on update CURRENT_TIMESTAMP with decimal ( #11480 )
2019-08-02 16:50:10 +08:00
9b824457c1
*: improve column size calculation of statistics ( #11091 )
2019-07-15 13:05:54 +08:00
66f5754c68
*: add trace support for the AllocAutoIncrementValue function ( #11158 )
2019-07-10 15:07:42 +08:00
862a2beba5
- make generated column ref in insert set available ( #11042 )
...
- change generated column calculation later in fillValue, resolve related compatible problems
2019-07-04 17:43:58 +08:00
53a1ce6075
executor, infoschema: fix display of default CURRENT_TIMESTAMP with decimal ( #11070 )
2019-07-04 16:44:12 +08:00
e1f2b3728d
*: make assertion check more reasonable ( #10424 )
...
Make sure there are no "ASSERTION fail" logs in session and executor unit test
2019-07-04 16:20:38 +08:00
755875aacb
ddl: disallow modifying the generated expression of stored or indexed column ( #10932 )
2019-07-03 17:28:21 +08:00
ff82b62b97
*: refactor the optional arguments for table.AddRecord and index.Create ( #11018 )
2019-07-02 15:51:29 +08:00
d244723a5e
executor: remove unused structure RecordBatch ( #10891 )
2019-06-26 15:26:16 +08:00
c8d1ff7ca6
*: replace 'logutil.Logger(context.Background())' with 'logutil.BgLogger()' ( #10866 )
2019-06-21 19:13:31 +08:00
612936bbd4
*: Support LOCK/UNLOCK TABLES feature ( #10343 )
2019-06-18 15:38:04 +08:00
68137ed7fb
table: remove wrong Chinese characters in comments ( #10819 )
2019-06-17 09:37:30 +08:00
7d27fa63d3
ddl, table: allow using SHARD_ROW_ID_BITS with auto_incremental columns ( #10759 )
2019-06-12 20:43:29 +08:00
f75d9c0af5
ddl: cancel add index when can not find partition and fix GetPartition function bug ( #10475 )
2019-05-20 11:13:26 +08:00
1ef1d8ad3e
modify desc is compatible with MySQL ( #10358 )
2019-05-08 09:28:55 +08:00
a5f86a3c69
table/tables: improve package unit test code coverage to 82% ( #10366 )
2019-05-07 17:38:19 +08:00
17c3229b63
table: improve package unit test code coverage to 92% ( #10360 )
2019-05-07 13:58:40 +08:00
70c37188ac
executor: fix bad null error handling for insert statement when disabling the strict SQL mode ( #10161 )
2019-04-21 15:53:47 +08:00
f723f0b143
table, infoschema, executor: fix Charset/Collation shown in column desc ( #10007 )
2019-04-09 20:00:13 +08:00
ed3e265946
ddl: fix alter table share rowid bit problem ( #9868 )
2019-04-09 18:06:34 +08:00
62b209cb80
fix desc table not compatibile with mysql ( #10022 )
2019-04-04 18:24:30 +08:00
e9653675dd
*: remove errors.Trace in main handle path ( #10033 )
2019-04-04 14:27:15 +08:00
76a01da313
remove unnecessary expensive trace call and log from hot path ( #10025 )
2019-04-03 23:09:51 +08:00
08346b7577
table: handling the boundary value of the timestamp type's default value ( #9578 )
2019-04-01 21:38:28 +08:00
c451f00814
*: fix utf8 charset upgrade compatibility ( #9820 )
2019-03-25 18:06:32 +08:00
d3f39759dc
table: replace logger with zap logger ( #9514 )
2019-03-18 11:29:19 +08:00
3910a720df
*: add assertion in kvproto to check data consistency ( #9180 )
2019-03-08 16:49:31 +08:00
76e1e58511
build: add check-static in test ( #9572 )
2019-03-07 15:56:15 +08:00
8b84b94c96
*: fix union scan for partitioned table ( #8871 )
2019-02-28 13:43:45 +08:00
6f5f7c360f
table, executor: handle the column's version when it's greater than ColumnInfoVersion1 ( #9488 )
2019-02-27 16:57:33 +08:00
f46c558a60
ddl,table/tables: handle partition by range column when len(column)=1 ( #9082 )
...
create table ... 'partition by range column', when len(column)=1,
the case can be transformed to 'partiton by range'
2019-02-20 17:02:14 +08:00
94d21c57aa
* fix timestamp default value bug in multiple time zones. ( #9115 )
2019-02-18 15:35:27 +08:00
f73c4e2d58
table: fix error code different from mysql "error 1604 : locate partition failed" ( #9294 )
2019-02-14 16:53:16 +08:00
469fa877d6
util/hack: define a MutableString type for function hack.String ( #9230 )
2019-02-12 12:30:40 +08:00
c83a0ceb95
config: add a config item to control whether TiDB check the mb4 character in utf8 ( #9175 )
2019-01-25 14:39:30 +08:00