mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
SHOW TABLE STATUS now shows if an Aria table is transactional or not
This change also affects information_schema.tables The create table option "transactional=0 | 1" is now always shown for storage engines that supports both transactional/crash safe tables and non transactional tables. Before this patch the transactional=... option was only shown if the user specified transactional=... in the CREATE TABLE or ALTER TABLE statement. The reason for the change was to be able to make it easy to know if an Aria table is transactional or not.
This commit is contained in:
@ -340,8 +340,9 @@ enum chf_create_flags {
|
||||
#define HA_CAN_ONLINE_BACKUPS (1ULL << 56)
|
||||
|
||||
/* Support native hash index */
|
||||
#define HA_CAN_HASH_KEYS (1ULL << 58)
|
||||
#define HA_LAST_TABLE_FLAG HA_CAN_HASH_KEYS
|
||||
#define HA_CAN_HASH_KEYS (1ULL << 57)
|
||||
#define HA_CRASH_SAFE (1ULL << 58)
|
||||
#define HA_LAST_TABLE_FLAG HA_CRASH_SAFE
|
||||
|
||||
/* bits in index_flags(index_number) for what you can do with index */
|
||||
#define HA_READ_NEXT 1 /* TODO really use this flag */
|
||||
@ -1773,6 +1774,12 @@ handlerton *ha_default_tmp_handlerton(THD *thd);
|
||||
*/
|
||||
#define HTON_NO_ROLLBACK (1 << 16)
|
||||
|
||||
/*
|
||||
This storage engine can support both transactional and non transactional
|
||||
tables
|
||||
*/
|
||||
#define HTON_TRANSACTIONAL_AND_NON_TRANSACTIONAL (1 << 17)
|
||||
|
||||
class Ha_trx_info;
|
||||
|
||||
struct THD_TRANS
|
||||
|
Reference in New Issue
Block a user