diff options
author | Robert Bindar <robert@mariadb.org> | 2019-04-24 09:00:59 +0300 |
---|---|---|
committer | Sergey Vojtovich <svoj@mariadb.org> | 2019-06-06 22:09:31 +0400 |
commit | bf70430ead122649fd22f0d4c52f49451569d6c3 (patch) | |
tree | f3f901e265ddf04a60c812e1671b8198fbe10239 /storage | |
parent | ab190194cfa5243492c452722463e56c74c49f9b (diff) | |
download | mariadb-git-bf70430ead122649fd22f0d4c52f49451569d6c3.tar.gz |
MDEV-17709 Remove handlerton::state
Diffstat (limited to 'storage')
-rw-r--r-- | storage/archive/ha_archive.cc | 1 | ||||
-rw-r--r-- | storage/blackhole/ha_blackhole.cc | 1 | ||||
-rw-r--r-- | storage/cassandra/ha_cassandra.cc | 1 | ||||
-rw-r--r-- | storage/connect/ha_connect.cc | 1 | ||||
-rw-r--r-- | storage/csv/ha_tina.cc | 1 | ||||
-rw-r--r-- | storage/example/ha_example.cc | 1 | ||||
-rw-r--r-- | storage/federated/ha_federated.cc | 1 | ||||
-rw-r--r-- | storage/federatedx/ha_federatedx.cc | 1 | ||||
-rw-r--r-- | storage/heap/ha_heap.cc | 1 | ||||
-rw-r--r-- | storage/innobase/handler/ha_innodb.cc | 1 | ||||
-rw-r--r-- | storage/maria/ha_maria.cc | 1 | ||||
-rw-r--r-- | storage/mroonga/ha_mroonga.cpp | 1 | ||||
-rw-r--r-- | storage/myisam/ha_myisam.cc | 1 | ||||
-rw-r--r-- | storage/oqgraph/ha_oqgraph.cc | 1 | ||||
-rw-r--r-- | storage/perfschema/ha_perfschema.cc | 1 | ||||
-rw-r--r-- | storage/rocksdb/ha_rocksdb.cc | 1 | ||||
-rw-r--r-- | storage/sphinx/ha_sphinx.cc | 1 | ||||
-rw-r--r-- | storage/spider/spd_table.cc | 1 | ||||
-rw-r--r-- | storage/tokudb/hatoku_hton.cc | 1 |
19 files changed, 0 insertions, 19 deletions
diff --git a/storage/archive/ha_archive.cc b/storage/archive/ha_archive.cc index 0cf9763a0ee..b62f78ad318 100644 --- a/storage/archive/ha_archive.cc +++ b/storage/archive/ha_archive.cc @@ -215,7 +215,6 @@ int archive_db_init(void *p) #endif archive_hton= (handlerton *)p; - archive_hton->state= SHOW_OPTION_YES; archive_hton->db_type= DB_TYPE_ARCHIVE_DB; archive_hton->create= archive_create_handler; archive_hton->flags= HTON_NO_FLAGS; diff --git a/storage/blackhole/ha_blackhole.cc b/storage/blackhole/ha_blackhole.cc index 3180fe4bbfc..c3be2e5f768 100644 --- a/storage/blackhole/ha_blackhole.cc +++ b/storage/blackhole/ha_blackhole.cc @@ -380,7 +380,6 @@ static int blackhole_init(void *p) #endif blackhole_hton= (handlerton *)p; - blackhole_hton->state= SHOW_OPTION_YES; blackhole_hton->db_type= DB_TYPE_BLACKHOLE_DB; blackhole_hton->create= blackhole_create_handler; blackhole_hton->flags= HTON_CAN_RECREATE; diff --git a/storage/cassandra/ha_cassandra.cc b/storage/cassandra/ha_cassandra.cc index 4f9e207235f..fbce6b61f17 100644 --- a/storage/cassandra/ha_cassandra.cc +++ b/storage/cassandra/ha_cassandra.cc @@ -245,7 +245,6 @@ static int cassandra_init_func(void *p) (void) my_hash_init(&cassandra_open_tables,system_charset_info,32,0,0, (my_hash_get_key) cassandra_get_key,0,0); - cassandra_hton->state= SHOW_OPTION_YES; cassandra_hton->create= cassandra_create_handler; /* Don't specify HTON_CAN_RECREATE in flags. re-create is used by TRUNCATE diff --git a/storage/connect/ha_connect.cc b/storage/connect/ha_connect.cc index b746bb3d962..8e0927f3082 100644 --- a/storage/connect/ha_connect.cc +++ b/storage/connect/ha_connect.cc @@ -758,7 +758,6 @@ static int connect_init_func(void *p) init_connect_psi_keys(); connect_hton= (handlerton *)p; - connect_hton->state= SHOW_OPTION_YES; connect_hton->create= connect_create_handler; connect_hton->flags= HTON_TEMPORARY_NOT_SUPPORTED; connect_hton->table_options= connect_table_option_list; diff --git a/storage/csv/ha_tina.cc b/storage/csv/ha_tina.cc index 3ff3b5bd1ba..8a27ea19b3d 100644 --- a/storage/csv/ha_tina.cc +++ b/storage/csv/ha_tina.cc @@ -168,7 +168,6 @@ static int tina_init_func(void *p) mysql_mutex_init(csv_key_mutex_tina, &tina_mutex, MY_MUTEX_INIT_FAST); (void) my_hash_init(&tina_open_tables,system_charset_info,32,0,0, (my_hash_get_key) tina_get_key,0,0); - tina_hton->state= SHOW_OPTION_YES; tina_hton->db_type= DB_TYPE_CSV_DB; tina_hton->create= tina_create_handler; tina_hton->flags= (HTON_CAN_RECREATE | HTON_SUPPORT_LOG_TABLES | diff --git a/storage/example/ha_example.cc b/storage/example/ha_example.cc index 643fa1ae09a..477aacd666e 100644 --- a/storage/example/ha_example.cc +++ b/storage/example/ha_example.cc @@ -257,7 +257,6 @@ static int example_init_func(void *p) #endif example_hton= (handlerton *)p; - example_hton->state= SHOW_OPTION_YES; example_hton->create= example_create_handler; example_hton->flags= HTON_CAN_RECREATE; example_hton->table_options= example_table_option_list; diff --git a/storage/federated/ha_federated.cc b/storage/federated/ha_federated.cc index 79e70ce5123..81367f0a80f 100644 --- a/storage/federated/ha_federated.cc +++ b/storage/federated/ha_federated.cc @@ -480,7 +480,6 @@ int federated_db_init(void *p) #endif /* HAVE_PSI_INTERFACE */ handlerton *federated_hton= (handlerton *)p; - federated_hton->state= SHOW_OPTION_YES; federated_hton->db_type= DB_TYPE_FEDERATED_DB; federated_hton->commit= federated_commit; federated_hton->rollback= federated_rollback; diff --git a/storage/federatedx/ha_federatedx.cc b/storage/federatedx/ha_federatedx.cc index 932791c9d46..7a83440cc19 100644 --- a/storage/federatedx/ha_federatedx.cc +++ b/storage/federatedx/ha_federatedx.cc @@ -426,7 +426,6 @@ int federatedx_db_init(void *p) DBUG_ENTER("federatedx_db_init"); init_federated_psi_keys(); federatedx_hton= (handlerton *)p; - federatedx_hton->state= SHOW_OPTION_YES; /* Needed to work with old .frm files */ federatedx_hton->db_type= DB_TYPE_FEDERATED_DB; federatedx_hton->savepoint_offset= sizeof(ulong); diff --git a/storage/heap/ha_heap.cc b/storage/heap/ha_heap.cc index 73857a14a2f..846c9322090 100644 --- a/storage/heap/ha_heap.cc +++ b/storage/heap/ha_heap.cc @@ -49,7 +49,6 @@ int heap_init(void *p) #endif heap_hton= (handlerton *)p; - heap_hton->state= SHOW_OPTION_YES; heap_hton->db_type= DB_TYPE_HEAP; heap_hton->create= heap_create_handler; heap_hton->panic= heap_panic; diff --git a/storage/innobase/handler/ha_innodb.cc b/storage/innobase/handler/ha_innodb.cc index 0e8fbfac599..e6bddd32438 100644 --- a/storage/innobase/handler/ha_innodb.cc +++ b/storage/innobase/handler/ha_innodb.cc @@ -4015,7 +4015,6 @@ static int innodb_init(void* p) handlerton* innobase_hton= static_cast<handlerton*>(p); innodb_hton_ptr = innobase_hton; - innobase_hton->state = SHOW_OPTION_YES; innobase_hton->db_type = DB_TYPE_INNODB; innobase_hton->savepoint_offset = sizeof(trx_named_savept_t); innobase_hton->close_connection = innobase_close_connection; diff --git a/storage/maria/ha_maria.cc b/storage/maria/ha_maria.cc index 513213a13f5..fb41ce525e2 100644 --- a/storage/maria/ha_maria.cc +++ b/storage/maria/ha_maria.cc @@ -3588,7 +3588,6 @@ static int ha_maria_init(void *p) #endif maria_hton= (handlerton *)p; - maria_hton->state= SHOW_OPTION_YES; maria_hton->db_type= DB_TYPE_ARIA; maria_hton->create= maria_create_handler; maria_hton->panic= maria_hton_panic; diff --git a/storage/mroonga/ha_mroonga.cpp b/storage/mroonga/ha_mroonga.cpp index 81da26dc8ef..f99c3693462 100644 --- a/storage/mroonga/ha_mroonga.cpp +++ b/storage/mroonga/ha_mroonga.cpp @@ -1806,7 +1806,6 @@ static int mrn_init(void *p) // init handlerton grn_ctx *ctx = NULL; handlerton *hton = static_cast<handlerton *>(p); - hton->state = SHOW_OPTION_YES; hton->create = mrn_handler_create; hton->flags = HTON_NO_FLAGS; #ifndef MRN_SUPPORT_PARTITION diff --git a/storage/myisam/ha_myisam.cc b/storage/myisam/ha_myisam.cc index 19382ee4a50..218033edc4f 100644 --- a/storage/myisam/ha_myisam.cc +++ b/storage/myisam/ha_myisam.cc @@ -2493,7 +2493,6 @@ static int myisam_init(void *p) myisam_block_size=(uint) 1 << my_bit_log2(opt_myisam_block_size); hton= (handlerton *)p; - hton->state= SHOW_OPTION_YES; hton->db_type= DB_TYPE_MYISAM; hton->create= myisam_create_handler; hton->panic= myisam_panic; diff --git a/storage/oqgraph/ha_oqgraph.cc b/storage/oqgraph/ha_oqgraph.cc index 4154f89028a..2770fa97777 100644 --- a/storage/oqgraph/ha_oqgraph.cc +++ b/storage/oqgraph/ha_oqgraph.cc @@ -179,7 +179,6 @@ static int oqgraph_init(void *p) handlerton *hton= (handlerton *)p; DBUG_PRINT( "oq-debug", ("oqgraph_init")); - hton->state= SHOW_OPTION_YES; hton->db_type= DB_TYPE_AUTOASSIGN; hton->create= oqgraph_create_handler; hton->flags= HTON_ALTER_NOT_SUPPORTED; diff --git a/storage/perfschema/ha_perfschema.cc b/storage/perfschema/ha_perfschema.cc index cb5805db5da..8f6346fcf15 100644 --- a/storage/perfschema/ha_perfschema.cc +++ b/storage/perfschema/ha_perfschema.cc @@ -83,7 +83,6 @@ static int pfs_init_func(void *p) pfs_hton= reinterpret_cast<handlerton *> (p); - pfs_hton->state= SHOW_OPTION_YES; pfs_hton->create= pfs_create_handler; pfs_hton->show_status= pfs_show_status; pfs_hton->flags= HTON_ALTER_NOT_SUPPORTED | diff --git a/storage/rocksdb/ha_rocksdb.cc b/storage/rocksdb/ha_rocksdb.cc index c80722f22eb..fe517e9d9b5 100644 --- a/storage/rocksdb/ha_rocksdb.cc +++ b/storage/rocksdb/ha_rocksdb.cc @@ -4848,7 +4848,6 @@ static int rocksdb_init_func(void *const p) { &rdb_block_cache_resize_mutex, MY_MUTEX_INIT_FAST); Rdb_transaction::init_mutex(); - rocksdb_hton->state = SHOW_OPTION_YES; rocksdb_hton->create = rocksdb_create_handler; rocksdb_hton->close_connection = rocksdb_close_connection; diff --git a/storage/sphinx/ha_sphinx.cc b/storage/sphinx/ha_sphinx.cc index d7189f3e73c..544b7a80383 100644 --- a/storage/sphinx/ha_sphinx.cc +++ b/storage/sphinx/ha_sphinx.cc @@ -742,7 +742,6 @@ static int sphinx_init_func ( void * p ) #if MYSQL_VERSION_ID > 50100 handlerton * hton = (handlerton*) p; - hton->state = SHOW_OPTION_YES; hton->db_type = DB_TYPE_AUTOASSIGN; hton->create = sphinx_create_handler; hton->close_connection = sphinx_close_connection; diff --git a/storage/spider/spd_table.cc b/storage/spider/spd_table.cc index f5876706b94..fb29dc8dc04 100644 --- a/storage/spider/spd_table.cc +++ b/storage/spider/spd_table.cc @@ -6870,7 +6870,6 @@ int spider_db_init( DBUG_ENTER("spider_db_init"); spider_hton_ptr = spider_hton; - spider_hton->state = SHOW_OPTION_YES; spider_hton->flags = HTON_NO_FLAGS; #ifdef HTON_CAN_READ_CONNECT_STRING_IN_PARTITION spider_hton->flags |= HTON_CAN_READ_CONNECT_STRING_IN_PARTITION; diff --git a/storage/tokudb/hatoku_hton.cc b/storage/tokudb/hatoku_hton.cc index 81355ea20ff..a52f64dc807 100644 --- a/storage/tokudb/hatoku_hton.cc +++ b/storage/tokudb/hatoku_hton.cc @@ -348,7 +348,6 @@ static int tokudb_init_func(void *p) { TOKUDB_SHARE::static_init(); tokudb::background::initialize(); - tokudb_hton->state = SHOW_OPTION_YES; // tokudb_hton->flags= HTON_CAN_RECREATE; // QQQ this came from skeleton tokudb_hton->flags = HTON_CLOSE_CURSORS_AT_COMMIT | HTON_SUPPORTS_EXTENDED_KEYS; |