mariadb/storage
Debarun Banerjee bf5be32376 BUG#25032066 PREPARED TRANSACTION SHOULD NOT BE ROLLED BACK BY HIGH PRIORITY TRANSACTION
Problem :
---------
1. delete_all_rows() and rnd_init() are not returning error
after async rollback in 5.7. This results in assert in
innodb in next call.

2. High priority transaction is rolling back prepared transaction.
This is because TRX_FORCE_ROLLBACK_DISABLE is getting set only for
first entry [TrxInInnoDB].

Solution :
----------
1. return DB_FORCED_ABORT error after rollback.
2. check and disable rollback in TrxInInnodb::enter always.

Reviewed-by: Sunny Bains <sunny.bains@oracle.com>

RB: 13777
2017-04-26 23:03:29 +03:00
..
archive MDEV-11645: archive.archive fails in buildbot with valgrind (Use of uninitialised value) 2017-03-15 21:26:39 +05:30
blackhole MDEV-5120 Test suite test maria-no-logging fails 2014-09-30 20:31:14 +03:00
cassandra Merge branch '10.1' into 10.2 2017-03-30 12:48:42 +02:00
connect Merge branch '10.1' into 10.2 2017-03-30 12:48:42 +02:00
csv Merge branch '10.0' into 10.1 2016-03-21 13:02:53 +01:00
example 5.5.40+ merge 2014-10-09 10:30:11 +02:00
federated MDEV-11597 Assertion when doing select from virtual column with impossible value 2017-01-11 09:19:45 +02:00
federatedx MDEV-11597 Assertion when doing select from virtual column with impossible value 2017-01-11 09:19:45 +02:00
heap MDEV-8360 Clean-up CHARSET_INFO: strnncollsp: diff_if_only_endspace_difference 2016-03-31 11:04:48 +04:00
innobase BUG#25032066 PREPARED TRANSACTION SHOULD NOT BE ROLLED BACK BY HIGH PRIORITY TRANSACTION 2017-04-26 23:03:29 +03:00
maria Merge branch '10.1' into 10.2 2017-03-30 12:48:42 +02:00
mroonga Merge branch '10.1' into 10.2 2017-03-30 12:48:42 +02:00
myisam Merge branch '10.1' into 10.2 2017-03-30 12:48:42 +02:00
myisammrg cleanup: remove Item::intro_version 2016-12-12 20:27:25 +01:00
oqgraph Merge branch '10.1' into 10.2 2017-03-30 12:48:42 +02:00
perfschema Fix several compile warnings on Windows 2017-03-10 19:07:07 +00:00
rocksdb MDEV-12469: static_assert cannot be determined on bigendian 2017-04-25 18:46:13 +04:00
sequence Fix several compile warnings on Windows 2017-03-17 08:56:57 +00:00
sphinx mtr: make sphinx skipping a bit less verbose 2017-02-13 18:12:15 +01:00
spider Merge branch '10.1' into 10.2 2017-03-30 12:48:42 +02:00
test_sql_discovery store/show vcols as item->print() 2016-12-12 20:35:41 +01:00
tokudb Merge branch '10.1' into 10.2 2017-03-30 12:48:42 +02:00
xtradb Merge 10.1 into 10.2 2017-04-06 09:52:25 +03:00