mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
set_var.cc, mysqld.cc, ha_innodb.cc, sql_class.h:
Add a settable session variable innodb_support_xa; setting it to 0 can save up to 10 % of CPU time and 150 bytes of space in each undo log trx0trx.h, trx0undo.c, trx0trx.c, trx0roll.c: Enable XA if innodb_support_xa is not set to 0; make prepare to do log fsync's according to innodb_flush_log_at_trx_commit
This commit is contained in:
@ -578,6 +578,7 @@ struct system_variables
|
||||
#endif /* HAVE_REPLICATION */
|
||||
#ifdef HAVE_INNOBASE_DB
|
||||
my_bool innodb_table_locks;
|
||||
my_bool innodb_support_xa;
|
||||
#endif /* HAVE_INNOBASE_DB */
|
||||
#ifdef HAVE_NDBCLUSTER_DB
|
||||
ulong ndb_autoincrement_prefetch_sz;
|
||||
|
Reference in New Issue
Block a user