8bc63973df
executor: move failpoint test case to seq test suite ( #11525 )
2019-07-30 18:32:05 +08:00
ca70d74a28
executor, expression: fix current_timestamp/now not consistent… ( #11342 )
2019-07-23 17:02:24 +08:00
4b928a52c0
executor: update test since DELETE FROM ... AS ... syntax is now supported ( #11184 )
2019-07-19 17:58:58 +08:00
e0fc847c8b
executor: handle missing timestamp value for load data ( #11093 )
2019-07-12 14:56:55 +08:00
84432823b3
refactor the logic of load data batch insert, make batchCheckGet happen once per transaction ( #11132 )
2019-07-12 13:36:58 +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
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
ea6b865c08
executor: fix a logical error which is introduced in a previous refactor ( #11060 )
2019-07-04 11:46:03 +08:00
45ff4f62cc
executor: add a 'load data' into partitioned table test case ( #10762 )
2019-06-11 15:43:00 +08:00
d126b59fb0
executor: add some missing test suite back ( #10602 )
2019-05-27 15:48:08 +08:00
233554a25d
*: refine the error message in latch ( #10566 )
2019-05-22 19:53:57 +08:00
54899f66f6
parser: support LOAD DATA ... IGNORE/REPLACE ( #10336 )
2019-05-22 17:03:29 +08:00
d8589df2f3
*: add a variable to control the back off time and disable txn auto retry by default ( #10266 )
2019-05-08 10:23:49 +08:00
1c4ebee8de
executor: should handle virtual columns when fetching duplicate rows in batchChecker ( #10370 )
2019-05-08 10:18:52 +08:00
f17a1155e7
executor: split unit tests to speedup execution time ( #10364 )
2019-05-06 21:05:47 +08:00
27a56180bd
*: replace gofail with the new failpoint implementation ( #10184 )
2019-04-22 13:30:14 +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
873d9514bc
expression: move FindIndexByName to parser ( #9951 )
2019-04-01 13:36:49 +08:00
18449d777a
*: merge statement buffer when BatchGetValues ( #9374 )
2019-02-22 11:06:58 +08:00
94d21c57aa
* fix timestamp default value bug in multiple time zones. ( #9115 )
2019-02-18 15:35:27 +08:00
4ad4684da1
privilege,planner: handle View's security privilege check ( #9194 )
2019-02-12 10:35:18 +08:00
640aa65113
*: add some tests for writing-data corner cases ( #9199 )
2019-02-11 10:20:17 +08:00
ec833bc4d2
*: fix some lints produced by golangci-lint ( #8999 )
2019-01-16 16:44:49 +08:00
9f346a3add
planner, executor: return err when INSERT/UPDATE/ANALYZE/DELETE a view ( #8848 )
2019-01-14 15:47:48 +08:00
68ddb7f0e6
*: fix the lower bound when converting numbers less than 0 to unsigned integers ( #8544 )
2019-01-10 16:04:07 +08:00
084aa5a030
config: add initChunkSize config item, make chunk start with 32 ( #8480 )
2019-01-07 11:14:47 +08:00
e06c87d3c1
add an option for AddRecord and Create ( #8884 )
2019-01-02 11:30:53 +08:00
98b96cc769
executor: speedup unit tests by spliting them into separate suites ( #8618 )
2018-12-24 21:37:12 +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
7528a059cf
executor/server/session: add extra info message sent to mysql client ( #8285 )
2018-12-19 15:32:49 +08:00
fde9c72af5
expression, executor: castStringAsTime returns null when sql_mode is not strict ( #8516 )
2018-12-06 23:12:55 +08:00
93acd10f53
*: add context.Context to NewTxn(), tiny refactor ( #8530 )
2018-12-06 17:45:16 +08:00
dbf140f835
*: support select, insert for hash partition table. ( #8411 )
2018-12-05 23:47:29 +08:00
c137cada68
*: change golang.org/x/net/context to standard context ( #8579 )
2018-12-05 13:54:00 +08:00
cb4d5bd988
executor: support batch insert for insert values statement ( #8420 )
2018-12-04 17:44:50 +08:00
e2e8d67819
table, executor: set a real enum as the default enum value ( #8469 )
2018-11-27 20:33:12 +08:00
0d005a0b56
executor: fix overflow error message of update ( #8457 )
2018-11-27 09:11:33 +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
736c3130e6
executor: fix update float panic ( #8045 )
2018-10-29 16:38:56 +08:00
5831de291d
*: enable range typed table partition ( #8011 )
2018-10-26 20:04:07 +08:00
89dda9d9a8
*: move parser to a separate repository ( #8036 )
2018-10-25 11:12:10 +08:00
f3148da27f
executor: add an variable to compatible with MySQL insert for OGG ( #7863 )
2018-10-17 10:19:04 +08:00
a8f2909d40
*: remove kv.BypassLatch option and enable latch scheduler by default ( #7882 )
...
kv.BypassLatch was introduced to handle the fake transaction confliction problem
in the old implementation. After redesign of the latch scheduler, it's not
needed any more.
Enable latch scheduler makes CI to run it, we can fix bugs and make this feature
more stable.
There is a small performance penalty, less than 5%, users are free to disable it.
2018-10-15 13:49:38 +08:00
d7a59ec5a3
executor: remove some useless code and avoid some redundancy check ( #7639 )
2018-10-12 12:56:02 +08:00
c19f8fba5c
store/tikv,executor: redesign the latch scheduler ( #7711 )
...
Check maxCommitTS on each key, instead of each slot, so hash collision
will not lead to transaction retry.
2018-10-09 16:31:37 +08:00
af3b782231
planner: fix compatibility issue that update subquery table should be forbidden ( #7783 )
2018-09-26 18:59:55 +08:00
b2bfd8f91a
executor: support load data with ignore lines ( #7576 )
2018-09-06 22:58:06 +08:00
720e8230e2
executor: only rebase auto increment ID when needed ( #7515 )
2018-08-31 14:24:32 +08:00
9070bb6b86
executer: fix the last_insert_id in insert on duplicate key update ( #7534 )
2018-08-30 14:16:30 +08:00