mariadb/storage/innobase/include
Marko Mäkelä 25af2a183b MDEV-15326/MDEV-16136 dead code removal
Revert part of fa2a74e08d.

trx_reference(): Remove, and merge the relevant part to the only caller
trx_rw_is_active(). If the statements trx = NULL; were ever executed,
the function would have dereferenced a NULL pointer and crashed in
trx_mutex_exit(trx). Hence, those statements must have been unreachable,
and they can be replaced with debug assertions.

trx_rw_is_active(): Avoid unnecessary acquisition and release of trx->mutex
when do_ref_count=false.

lock_trx_release_locks(): Do not reset trx->id=0. Had the statement been
necessary, we would have experienced crashes in trx_reference().
2019-08-27 16:38:57 +03:00
..
btr0btr.h
btr0btr.ic
btr0bulk.h
btr0cur.h
btr0cur.ic
btr0defragment.h
btr0pcur.h
btr0pcur.ic
btr0scrub.h
btr0sea.h
btr0sea.ic
btr0types.h
buf0buddy.h
buf0buddy.ic
buf0buf.h
buf0buf.ic
buf0checksum.h
buf0dblwr.h
buf0dump.h
buf0flu.h
buf0flu.ic
buf0lru.h
buf0mtflu.h
buf0rea.h
buf0types.h
data0data.h
data0data.ic
data0type.h
data0type.ic Merge 10.1 into 10.2 2019-08-12 18:25:35 +03:00
data0types.h
db0err.h
dict0boot.h
dict0boot.ic
dict0crea.h
dict0crea.ic
dict0defrag_bg.h
dict0dict.h MDEV-17187: Code cleanup 2019-08-21 11:38:33 +03:00
dict0dict.ic
dict0load.h
dict0mem.h
dict0mem.ic
dict0pagecompress.h
dict0pagecompress.ic
dict0priv.h
dict0priv.ic
dict0stats.h
dict0stats.ic
dict0stats_bg.h
dict0types.h MDEV-17187 table doesn't exist in engine after ALTER of FOREIGN KEY 2019-08-21 11:38:33 +03:00
dyn0buf.h
dyn0types.h
eval0eval.h
eval0eval.ic
eval0proc.h
eval0proc.ic
fil0crypt.h Problem: 2019-08-16 18:11:32 +05:30
fil0crypt.ic
fil0fil.h
fil0fil.ic
fil0pagecompress.h
fsp0file.h
fsp0fsp.h
fsp0fsp.ic
fsp0pagecompress.h
fsp0pagecompress.ic
fsp0space.h
fsp0sysspace.h
fsp0types.h
fts0ast.h
fts0blex.h
fts0fts.h
fts0opt.h
fts0pars.h
fts0plugin.h
fts0priv.h
fts0priv.ic
fts0tlex.h
fts0tokenize.h
fts0types.h
fts0types.ic
fts0vlc.ic
fut0fut.h
fut0fut.ic
fut0lst.h
fut0lst.ic
gis0geo.h
gis0rtree.h
gis0rtree.ic
gis0type.h
ha0ha.h
ha0ha.ic
ha0storage.h
ha0storage.ic
ha_prototypes.h MDEV-17614: After-merge fix 2019-08-12 18:50:54 +03:00
handler0alter.h
hash0hash.h
hash0hash.ic
ib0mutex.h
ibuf0ibuf.h
ibuf0ibuf.ic
ibuf0types.h
lock0iter.h
lock0lock.h
lock0lock.ic
lock0prdt.h
lock0priv.h
lock0priv.ic
lock0types.h
log0crypt.h
log0log.h MDEV-20060: Failing assertion: srv_log_file_size <= 512ULL << 30 while preparing backup 2019-08-07 17:26:44 +03:00
log0log.ic MDEV-20060: Failing assertion: srv_log_file_size <= 512ULL << 30 while preparing backup 2019-08-07 17:26:44 +03:00
log0recv.h
log0types.h
mach0data.h
mach0data.ic
mem0mem.h
mem0mem.ic
mtr0log.h
mtr0log.ic
mtr0mtr.h
mtr0mtr.ic
mtr0types.h
os0api.h
os0event.h
os0file.h
os0file.ic
os0once.h
os0proc.h
os0thread.h
page0cur.h
page0cur.ic
page0page.h
page0page.ic
page0size.h
page0types.h
page0zip.h
page0zip.ic
pars0grm.h
pars0opt.h
pars0pars.h
pars0sym.h
pars0types.h
que0que.h
que0que.ic
que0types.h
read0read.h
read0types.h
rem0cmp.h
rem0cmp.ic
rem0rec.h
rem0rec.ic
rem0types.h
row0ext.h
row0ext.ic
row0ftsort.h
row0import.h
row0ins.h MDEV-17614: After-merge fix 2019-08-12 18:50:54 +03:00
row0log.h
row0log.ic
row0merge.h
row0mysql.h
row0purge.h
row0quiesce.h
row0row.h
row0row.ic
row0sel.h
row0sel.ic
row0trunc.h
row0types.h
row0uins.h
row0umod.h
row0undo.h
row0upd.h
row0upd.ic
row0vers.h
span.h
srv0conc.h
srv0mon.h
srv0mon.ic
srv0srv.h
srv0start.h
sync0arr.h
sync0arr.ic
sync0debug.h
sync0policy.h
sync0policy.ic
sync0rw.h
sync0rw.ic
sync0sync.h
sync0types.h
trx0i_s.h
trx0purge.h
trx0purge.ic
trx0rec.h
trx0rec.ic
trx0roll.h
trx0roll.ic
trx0rseg.h
trx0rseg.ic
trx0sys.h
trx0sys.ic MDEV-15326/MDEV-16136 dead code removal 2019-08-27 16:38:57 +03:00
trx0trx.h MDEV-15326/MDEV-16136 dead code removal 2019-08-27 16:38:57 +03:00
trx0trx.ic
trx0types.h
trx0undo.h
trx0undo.ic
trx0xa.h
univ.i
ut0byte.h
ut0byte.ic
ut0counter.h
ut0crc32.h
ut0dbg.h
ut0list.h
ut0list.ic
ut0lst.h
ut0mem.h
ut0mem.ic
ut0mutex.h
ut0new.h
ut0pool.h
ut0rbt.h
ut0rnd.h
ut0rnd.ic
ut0sort.h
ut0stage.h
ut0ut.h
ut0ut.ic
ut0vec.h
ut0vec.ic
ut0wqueue.h