Commit Graph

528 Commits

Author SHA1 Message Date
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
027851fe3b executor: fix two data races in tests (#11062) 2019-07-04 10:41:48 +08:00
5886bb90d1 executor: let flush privileges do nothing when skip-grant-table is configured (#10986)
When skip-grant-table is enabled, privilege handle is not initialized, calling flush privileges
would meet nil pointer panic
2019-07-02 10:44:30 +08:00
1916effb04 *: fix oom action cancel bug (#10993) 2019-07-01 13:40:54 +08:00
f29b36ca1d *: fix malformed SQL statements in test (#10992) 2019-07-01 10:37:35 +08:00
b63a8bfedf meta: make auto increment id can be adjust. (#10978) 2019-06-28 22:26:08 +08:00
0d563f1e2d stats: fix unstable test (#10953) 2019-06-27 13:51:16 +08:00
d244723a5e executor: remove unused structure RecordBatch (#10891) 2019-06-26 15:26:16 +08:00
9dd32e84c6 *: rename and add tidb_wait_split_region_timeout session variable to set wait split region timeout. (#10797) 2019-06-20 14:57:35 +08:00
980f5bbf4f executor: speed up unit tests in executor package (#10769) 2019-06-12 11:26:24 +08:00
f5bdc26e38 executor: fix split table bug (#10761) 2019-06-11 13:45:58 +08:00
71def9c726 executor: improve UT coverage of executor package (#10728) 2019-06-11 10:01:43 +08:00
59b5e1d2bf *: add split table syntax to split table region (#10553) 2019-06-10 14:38:56 +08:00
7bf3d69313 *: split index region with lower upper syntax (#10409) 2019-06-06 10:47:24 +08:00
1fb0e97b72 planner, executor: return TableDual in tryFastPlan for predicate like handlePK=1.1 (#10716) 2019-06-05 15:04:19 +08:00
b6cf05a4b2 planner, executor: return TableDual when tryFastPlan is promised to be false (#10676) 2019-06-04 14:31:10 +08:00
8599fee538 *: implement IterReverse for tikvSnapshot and use desc scan to get latest N ddl history jobs. (#10152) 2019-05-31 23:40:09 +08:00
03bb568611 parser: Support SQL_BIG_RESULT, SQL_SMALL_RESULT, SQL_BUFFER_RESULT (#10658) 2019-05-31 17:33:23 +08:00
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