MCPcopy Create free account
hub / github.com/MariaDB/server / has_transactions

Method has_transactions

sql/handler.h:4170–4174  ·  view source on GitHub ↗

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. */

Source from the content-addressed store, hash-verified

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,

Callers 15

handler_index_cond_checkFunction · 0.80
releaseMethod · 0.80
get_from_thdMethod · 0.80
acquireMethod · 0.80
mhnsw_read_nextFunction · 0.80
add_changed_tableMethod · 0.80
decide_logging_formatMethod · 0.80
create_table_implFunction · 0.80
copy_data_between_tablesFunction · 0.80
initialize_tablesMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected