True if changes to the table is persistent (if there are no rollback) This is used to decide: - If the table is stored in the transaction or non transactional binary log - How things are tracked in trx and in add_changed_table(). - If we can combine several statements under one commit in the binary log. */
| 4168 | - If we can combine several statements under one commit in the binary log. |
| 4169 | */ |
| 4170 | bool has_transactions() const |
| 4171 | { |
| 4172 | return ((ha_table_flags() & (HA_NO_TRANSACTIONS | HA_PERSISTENT_TABLE)) |
| 4173 | == 0); |
| 4174 | } |
| 4175 | /* |
| 4176 | True if table has both transactions and rollback. This is used to decide |
| 4177 | if we should write the changes to the binary log. If this is true, |
no outgoing calls
no test coverage detected