Commit Graph

510 Commits

Author SHA1 Message Date
80bc2bb078 planner: should clone column in injectProjBelowSort (#10452) 2019-05-27 16:46:53 +08:00
d126b59fb0 executor: add some missing test suite back (#10602) 2019-05-27 15:48:08 +08:00
abd013c82f Add tidb_low_resolution_tso session scope variable on master (#10428) 2019-05-22 21:42:57 +08:00
ba7134d4e9 executor: correct range calculation for CHAR column (#10124) 2019-05-14 16:15:31 +08:00
7d7c146786 *: fix bug when unsigned histogram meets signed ranges in feedback (#10415) 2019-05-14 15:49:02 +08:00
b0549b7875 stats: incremental analyze for index with feedback updates (#10355) 2019-05-08 13:50:46 +08:00
f17a1155e7 executor: split unit tests to speedup execution time (#10364) 2019-05-06 21:05:47 +08:00
7ecb3159a6 *: add split index region syntax (#10203) 2019-05-06 17:41:50 +08:00
667124bd91 executor: refine point get failpoint injection logic (#10319) 2019-04-30 17:59:23 +08:00
98dbbffceb executor: fix IsPointGet judgment condition (#10278)
index lookup should not the max ts optimization
2019-04-28 17:47:02 +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
7447f04409 executor: trace and control memory usage in DistSQL layer (#10003) 2019-04-12 16:43:55 +08:00
1e5f620966 executor: close RecordSet to avoid leak test failure (#10063) 2019-04-08 19:12:25 +08:00
f5fb5aa32d util/admin: add unit test and move integration test. (#10013) 2019-04-04 16:19:07 +08:00
833ccf8454 util,executor: use MutableString as key for DecimalSet (#9913) 2019-04-01 10:47:06 +08:00
97f88f70d5 expression: fix issue that results of unix_timestamp()-unix_timestamp(now()) is wrong and not stable (#9884) 2019-03-29 15:20:28 +08:00
7cabaac61d executor: using ToHashKey to check equality of decimal when count(distinct) (#9901) 2019-03-27 18:12:25 +08:00
353b216b7a planner, executor: check col.OrigColName instead of col.ColName in isCoveringIndex (#9637) 2019-03-12 10:19:26 +08:00
ec208f5484 planner: the expression field name disappears when there's window function (#9644) 2019-03-11 19:01:41 +08:00
3910a720df *: add assertion in kvproto to check data consistency (#9180) 2019-03-08 16:49:31 +08:00
e6b1c4cfae planner: fix window func support (#9605) 2019-03-07 23:28:56 +08:00
4ccc4c1bcb executor: add error check (#9563) 2019-03-06 10:07:36 +08:00
560e8cfe57 *: sleep 0 when retry whole transaction (#9454) 2019-03-02 13:16:28 +08:00
7ac4902b8f ddl: disallow generated column referring to auto_increment column (#9234) 2019-03-01 11:50:13 +08:00
fa37762c53 executor: tiny refactor, remove physicalTableID from the three reader (#9511) 2019-03-01 10:36:09 +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
94d21c57aa * fix timestamp default value bug in multiple time zones. (#9115) 2019-02-18 15:35:27 +08:00
6136ab14cf *: start replacing logger with zap logger (#9279) 2019-02-15 16:43:47 +08:00
4ad4684da1 privilege,planner: handle View's security privilege check (#9194) 2019-02-12 10:35:18 +08:00
5c65128632 ddl: make the leak test stable (#9139) 2019-01-23 13:01:55 +08:00
f522de2e8f ddl: support "or replace" option when create view (#8856) 2019-01-16 19:54:22 +08:00
47ea05d017 executor,planner: adjust the result of 'admin show ddl' (#9020) 2019-01-16 18:02:55 +08:00
ec833bc4d2 *: fix some lints produced by golangci-lint (#8999) 2019-01-16 16:44:49 +08:00
3c98f69266 *: support select partition for partition table (#8990) 2019-01-14 20:55:52 +08:00
00c4ff4fa9 *: refactor Executor.Next() to receive RecordBatch (#8994) 2019-01-14 15:04:36 +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
884db0ab3d types: fix the incorrect behavior of "%y"/"%Y" for STR_TO_DATE() (#8517) 2019-01-08 12:37:30 +08:00
084aa5a030 config: add initChunkSize config item, make chunk start with 32 (#8480) 2019-01-07 11:14:47 +08:00
0c75c43010 fix typo (#8943) 2019-01-05 09:05:52 +08:00
e646276f4b planner,executor: basic support for DROP_VIEW (#8758) 2019-01-04 10:53:02 +08:00
386f8e3b7a planner: update generated column inside a transaction should return error (#8909) 2019-01-03 11:01:02 +08:00
e06c87d3c1 add an option for AddRecord and Create (#8884) 2019-01-02 11:30:53 +08:00
ffd9ba6659 gc_worker: Remove timezone name from the times that are saved in mysql.tidb (#8745)
Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com>
2018-12-27 12:16:18 +08:00
93e91b6a37 executor/test: fix data race of executor unit tests (#8807) 2018-12-27 11:28:55 +08:00
123aba282c planner: support building data source from View (#8757) 2018-12-26 14:22:26 +08:00
90b619a452 planner/core: add support for nested virtual generated columns (#8659) 2018-12-25 21:59:04 +08:00
98b96cc769 executor: speedup unit tests by spliting them into separate suites (#8618) 2018-12-24 21:37:12 +08:00
44f2c2c381 Makefile: make 'make check' faster (#8755)
* remove vet check
* make lint check on $(FILES)
2018-12-21 11:12:18 +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
29c17a1eb9 planner/core: correct column name with unary plus sign (#8702) 2018-12-19 23:35:43 +08:00