55fce4539a
executor: don't fill generated columns at the non-public state ( #31850 )
...
close pingcap/tidb#31735
2022-01-24 12:07:47 +08:00
94e30df8e2
parser: fix compiling, add unit tests ( #28700 )
2021-10-11 23:15:25 +08:00
e5bf177cd9
*: Use snapshot interceptor to handle temporary table's insert/update/delete ( #28218 )
2021-09-23 10:00:46 +08:00
7755d25aba
*: Integrate SkyWalking-eyes to check license headers in CI and fix licenses headers ( #27198 )
2021-08-16 18:52:00 +08:00
6a1e5215df
executor: Add insert/replace ignore/on duplicate key support for local temporary table ( #26636 )
2021-08-04 14:19:07 +08:00
ed52601e6e
executor: check ErrRowDoesNotMatchGivenPartitionSet when inserting rows into a partition table ( #25484 )
2021-06-16 20:58:37 +08:00
f34afc4e28
executor: fix linter --enable=deadcode check error in executor( #22979 ) ( #23111 )
2021-03-18 16:17:36 +08:00
b8f6ac0dd3
*: fix wrong replace or insert-on-dup behavior on prefixed clustered index ( #23091 )
2021-03-09 16:54:55 +08:00
24c9df147d
*: refactor table.Table interface, clean up unnecessay methods ( #22430 )
2021-03-02 19:48:54 +08:00
0735a0c924
executor: fix insert ignore into not exists partition ( #21904 )
...
Signed-off-by: lysu <sulifx@gmail.com >
2020-12-23 17:19:29 +08:00
549a34f1e8
executor: fix duplicate error message in warnings ( #20920 )
...
Co-authored-by: wjHuang <huangwenjun1997@gmail.com >
2020-12-02 11:02:38 +08:00
968d0d76ae
executor: cleanup useless code in batch checker ( #19511 )
...
Signed-off-by: Shuaipeng Yu <jackysp@gmail.com >
2020-09-01 12:41:52 +08:00
438945d294
*: enable clustered index by default ( #19582 )
2020-08-31 16:54:51 +08:00
945f7cc4a0
ddl, tables: support the column type change between the integer types ( #19059 )
2020-08-26 21:30:14 +08:00
51dc393088
executor: batch checker skip primary index key for clustered index table ( #18965 )
...
Co-authored-by: crazycs <crazycs520@gmail.com >
2020-08-05 16:49:18 +08:00
127ad504b2
table: optimize add record used in lightning ( #18102 )
2020-06-24 15:18:01 +08:00
7daa4a7f88
*: fix bugs that creating index on clustered index table or table with the virtual generated column ( #18114 )
2020-06-19 19:58:37 +08:00
73c4673f30
*: support update/delete/insert ignore/duplicate update in single cluster index table ( #17721 )
2020-06-08 20:55:31 +08:00
3176b00c02
executor: fix the issue that UNIQUE constraint on boolean column results in an incorrect result in a comparison ( #17245 )
2020-05-20 13:55:18 +08:00
1417ba2288
*: fix a bug that don't handle truncate properly for virtual generated column ( #17217 )
2020-05-14 20:57:55 +08:00
6814f8c94b
*: refactor Handle in table package ( #16807 )
2020-04-27 10:04:50 +08:00
0bab73adf5
*: use new row-format in tidb ( #12634 )
2020-01-02 22:34:39 +08:00
ff6a4f7e8f
kv: add error code for package kv ( #12866 )
2019-11-01 15:13:27 +08:00
20dc99995a
executor: clean up the batch checker code ( #12338 )
2019-09-24 19:02:45 +08:00
213b783dc6
executor: do not use batchChecker in 'insert ignore into ...' ( #12122 )
2019-09-10 19:42:00 +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
d210889a6c
*: trace the execution of the insert operation ( #11667 )
2019-08-09 14:22:03 +08:00
036e7e207d
*: support new 'log' format for trace ( #11681 )
2019-08-09 12:43:33 +08:00
1c4ebee8de
executor: should handle virtual columns when fetching duplicate rows in batchChecker ( #10370 )
2019-05-08 10:18:52 +08:00
e9653675dd
*: remove errors.Trace in main handle path ( #10033 )
2019-04-04 14:27:15 +08:00
18449d777a
*: merge statement buffer when BatchGetValues ( #9374 )
2019-02-22 11:06:58 +08:00
a7907ede7a
*: remove fail field from TxnState ( #8712 )
...
Originally, `fail` is added to simplify error handling, avoiding large changes on
the Txn() interface API. But it turns out that `fail` becomes the root of many bugs.
So this commit remove the `fail` and make an API refactory.
2018-12-20 16:36:12 +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
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
89dda9d9a8
*: move parser to a separate repository ( #8036 )
2018-10-25 11:12:10 +08:00
33a30cc780
executor: Fix a bug in 'INSERT ... ON DUPLICATE KEY UPDATE' ( #7675 )
2018-09-14 22:49:17 +08:00
cb03f2bec1
move from juju/errors to pkg/errors ( #7151 )
2018-09-12 15:42:20 +08:00
bbec68304e
executor,table: support replace operation for table partition ( #7309 )
2018-08-16 13:28:50 +08:00
2fba9931c7
*: remove DatumRow ( #7165 )
2018-07-26 19:42:58 +08:00
50193eb975
executor: speed up replace into statement ( #7027 )
2018-07-18 16:33:59 +08:00
3c0bfc19b2
executor: improve performance for insert ignore on duplicate key update statement ( #6760 )
2018-06-19 20:28:06 +08:00