Ewan Chou
af4e73c43a
tidb: always rebuild plan for retry. ( #5218 )
...
Fixes a bug that results in index and record inconsistency.
We build UnionScan based on if transaction is dirty, but this is a runtime property, may change during retry.
To simplify the logic and avoid potential bug, always rebuild the plan for retrying statements.
2017-11-25 09:50:32 +08:00
..
2017-11-25 09:50:32 +08:00
2017-11-13 21:06:31 +08:00
2017-11-22 02:17:38 -06:00
2017-11-22 02:17:38 -06:00
2017-11-22 02:17:38 -06:00
2017-11-25 09:50:32 +08:00
2017-11-22 14:08:57 +08:00
2017-11-22 02:17:38 -06:00
2017-11-22 13:41:58 +08:00
2017-11-22 02:17:38 -06:00
2017-11-04 10:37:14 -05:00
2017-11-22 02:17:38 -06:00
2017-11-22 23:41:36 +08:00
2017-11-13 21:06:31 +08:00
2017-09-12 01:02:41 -05:00
2017-11-22 02:17:38 -06:00
2017-11-22 02:17:38 -06:00
2017-11-20 23:05:57 +08:00
2017-11-20 23:05:57 +08:00
2017-11-22 02:17:38 -06:00
2017-10-25 15:44:03 +08:00
2017-11-22 02:17:38 -06:00
2017-11-10 14:42:10 +08:00
2017-09-08 00:45:07 -05:00
2017-11-22 02:17:38 -06:00
2017-11-16 13:49:55 +08:00
2017-11-25 09:50:32 +08:00
2017-09-12 01:02:41 -05:00
2017-11-22 13:41:58 +08:00
2017-11-22 02:17:38 -06:00
2017-11-22 13:41:58 +08:00
2017-11-08 01:33:38 -06:00
2017-11-22 13:41:58 +08:00
2017-11-20 17:24:12 +08:00
2017-11-04 10:37:14 -05:00
2017-11-22 13:41:58 +08:00
2017-11-22 02:17:38 -06:00
2017-11-22 02:17:38 -06:00
2017-11-04 10:37:14 -05:00
2017-09-12 01:02:41 -05:00
2017-11-21 15:20:24 +08:00
2017-11-22 13:41:58 +08:00
2017-11-22 02:17:38 -06:00