| 2213 | } |
| 2214 | |
| 2215 | inline Ha_trx_info* get_binlog_hton(Ha_trx_info *ha_info) |
| 2216 | { |
| 2217 | for (; ha_info; ha_info= ha_info->next()) |
| 2218 | if (ha_info->ht() == &binlog_tp) |
| 2219 | return ha_info; |
| 2220 | |
| 2221 | return ha_info; |
| 2222 | } |
| 2223 | |
| 2224 | static int |
| 2225 | commit_one_phase_2(THD *thd, bool all, THD_TRANS *trans, bool is_real_trans) |
no test coverage detected