Navigation Menu

Skip to content

Commit

Permalink
mysql8 wrapper: add HTON_SUPPORTS_ATOMIC_DDL flag
Browse files Browse the repository at this point in the history
It's for supporting updating dd::Table after handler::create(). But is
it OK to use this flag by Mroonga?
  • Loading branch information
kou committed Aug 10, 2018
1 parent b8fc6c3 commit 693ed25
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ha_mroonga.cpp
Expand Up @@ -2076,6 +2076,11 @@ static int mrn_init(void *p)
hton->flags = HTON_NO_FLAGS;
#ifndef MRN_SUPPORT_PARTITION
hton->flags |= HTON_NO_PARTITION;
#endif
#ifdef HTON_SUPPORTS_ATOMIC_DDL
// For supporting wrapper mode for InnoDB
// Is it OK?
hton->flags |= HTON_SUPPORTS_ATOMIC_DDL;
#endif
hton->drop_database = mrn_drop_database;
hton->close_connection = mrn_close_connection;
Expand Down

0 comments on commit 693ed25

Please sign in to comment.